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/7033
`from_generator` does not allow to specify the split name
Thanks for reporting, @pminervini. I agree we should give the option to define the split name. Indeed, there is a PR that addresses precisely this issue: - #7015 I am reviewing it.
### Describe the bug I'm building train, dev, and test using `from_generator`; however, in all three cases, the logger prints `Generating train split:` It's not possible to change the split name since it seems to be hardcoded: https://github.com/huggingface/datasets/blob/main/src/datasets/packaged_modules/generator/generator.py ### Steps to reproduce the bug ``` In [1]: from datasets import Dataset In [2]: def gen(): ...: yield {"pokemon": "bulbasaur", "type": "grass"} ...: In [3]: ds = Dataset.from_generator(gen) Generating train split: 1 examples [00:00, 133.89 examples/s] ``` ### Expected behavior It should be possible to specify any split name ### Environment info - `datasets` version: 2.19.2 - Platform: macOS-10.16-x86_64-i386-64bit - Python version: 3.8.5 - `huggingface_hub` version: 0.23.3 - PyArrow version: 15.0.0 - Pandas version: 2.0.3 - `fsspec` version: 2023.10.0
32
`from_generator` does not allow to specify the split name ### Describe the bug I'm building train, dev, and test using `from_generator`; however, in all three cases, the logger prints `Generating train split:` It's not possible to change the split name since it seems to be hardcoded: https://github.com/huggingface/datasets/blob/main/src/datasets/packaged_modules/generator/generator.py ### Steps to reproduce the bug ``` In [1]: from datasets import Dataset In [2]: def gen(): ...: yield {"pokemon": "bulbasaur", "type": "grass"} ...: In [3]: ds = Dataset.from_generator(gen) Generating train split: 1 examples [00:00, 133.89 examples/s] ``` ### Expected behavior It should be possible to specify any split name ### Environment info - `datasets` version: 2.19.2 - Platform: macOS-10.16-x86_64-i386-64bit - Python version: 3.8.5 - `huggingface_hub` version: 0.23.3 - PyArrow version: 15.0.0 - Pandas version: 2.0.3 - `fsspec` version: 2023.10.0 Thanks for reporting, @pminervini. I agree we should give the option to define the split name. Indeed, there is a PR that addresses precisely this issue: - #7015 I am reviewing it.
[ -0.08032244443893433, -0.18822568655014038, 0.051649514585733414, 0.3789212703704834, 0.34946805238723755, -0.0962342619895935, 0.585552990436554, 0.1975223571062088, -0.230672687292099, 0.3274785876274109, 0.14162872731685638, 0.3702322840690613, -0.09433481842279434, 0.24470113217830658, 0.10003866255283356, -0.50593101978302, 0.22616001963615417, -0.06333015859127045, -0.0542992502450943, 0.0856567919254303, -0.18264730274677277, 0.2803378105163574, -0.051301419734954834, 0.33398640155792236, -0.4956894516944885, 0.14584285020828247, 0.10439357161521912, -0.10102932900190353, -0.08404656499624252, -0.1840292513370514, 0.031946033239364624, 0.20508530735969543, -0.2970091700553894, 0.5460035800933838, -0.00012713503383565694, -0.18033955991268158, 0.28692591190338135, -0.0119156613945961, -0.14403671026229858, -0.49224525690078735, -0.04975622147321701, 0.2998698949813843, 0.04448790103197098, -0.21855270862579346, 0.008840765804052353, -0.08545403182506561, 0.09496957063674927, -0.06187749281525612, 0.4490639567375183, 0.030739039182662964, 0.03317207843065262, 0.02136249840259552, 0.06545157730579376, -0.2368825525045395, 0.014070458710193634, 0.3304879069328308, -0.4263688921928406, -0.16774021089076996, -0.3060597777366638, -0.24824051558971405, 0.06590002775192261, 0.016958121210336685, 0.1443103551864624, -0.055026765912771225, 0.24004578590393066, 0.23237432539463043, -0.26438581943511963, -0.31442931294441223, 0.09016641229391098, 0.570547878742218, -0.012669980525970459, -0.2637300193309784, -0.22202683985233307, -0.39231500029563904, 0.06554453074932098, -0.33750781416893005, 0.39796146750450134, 0.19294318556785583, -0.49288198351860046, 0.27470269799232483, -0.006977013312280178, -0.21949416399002075, -0.12566232681274414, -0.035326868295669556, 0.10946814715862274, 0.016310080885887146, -0.08705761283636093, 0.34526732563972473, 0.18590770661830902, 0.33859962224960327, 0.0816701352596283, -0.0006897635757923126, 0.11601491272449493, -0.02427050843834877, -0.2795881927013397, 0.016588248312473297, -0.10546610504388809, -0.1928098499774933, -0.1191621720790863, 0.0017779991030693054, -0.34561392664909363, -0.27597400546073914, 0.06013328209519386, 0.0651867538690567, 0.07589289546012878, -0.02231183648109436, 0.31519126892089844, 0.3352600932121277, 0.1357165426015854, 0.3335230052471161, -0.16182276606559753, -0.1791079044342041, -0.06724528223276138, -0.39025184512138367, -0.009987231343984604, -0.040867872536182404, -0.00034819357097148895, 0.2590407729148865, -0.05481181666254997, -0.29081422090530396, -0.21950531005859375, -0.23076844215393066, 0.18827836215496063, 0.2104819416999817, 0.07303978502750397, 0.10166103392839432, -0.13581879436969757, 0.17061710357666016, -0.11007505655288696, -0.34320560097694397, -0.2183007299900055, -0.07209968566894531, -0.3023757338523865, 0.3122118413448334, -0.23774155974388123, -0.1375282108783722, 0.02524515800178051, 0.1254526674747467, 0.11527753621339798, -0.3662347197532654, -0.18183164298534393, -0.029089298099279404, 0.09235301613807678, 0.2533378601074219, 0.015614282339811325, 0.19856686890125275, 0.03763215243816376, -0.23599781095981598, -0.14590764045715332, -0.044800981879234314, -0.19349008798599243, -0.41658100485801697, -0.16175007820129395, -0.010787964798510075, -0.20831632614135742, 0.4432237148284912, -0.0955430343747139, 0.10088904201984406, 0.45502138137817383, 0.24913305044174194, 0.14375224709510803, 0.19806793332099915, -0.1908876895904541, -0.1769304871559143, 0.21967993676662445, 0.17826658487319946, -0.06968779861927032, -0.1910119354724884, -0.48488855361938477, -0.14308643341064453, 0.3291427195072174, 0.10461555421352386, -0.05866529420018196, 0.1534310281276703, -0.2076471596956253, 0.04065155237913132, 0.5303833484649658, 0.27886074781417847, 0.00400124303996563, 0.08593858033418655, -0.35310590267181396, -0.07808513194322586, 0.8341800570487976, -0.21957936882972717, -0.12016014754772186, -0.10807020962238312, 0.31151920557022095, 0.05776730552315712, -0.12240710854530334, -0.16032616794109344, -0.061295036226511, -0.34333208203315735, 0.006025407463312149, -0.04639075696468353, 0.21775807440280914, 0.2014567106962204, -0.140042245388031, 0.3110930919647217, 0.48433810472488403, 0.023615527898073196, -0.05034315586090088, 0.014802781865000725, 0.328320175409317, -0.03557116538286209, -0.00003588292747735977, -0.19784533977508545, -0.22232112288475037, 0.11492175608873367, -0.31716999411582947, 0.147910937666893, -0.20357953011989594, -0.1941467970609665, -0.12204637378454208, 0.04188273102045059, -0.07035417854785919, -0.038849491626024246, -0.13995537161827087, 0.0813276469707489, 0.03675572946667671, -0.13329949975013733, -0.36715802550315857, 0.2136945277452469, -0.2491910755634308, 0.37763696908950806, -0.49616754055023193, 0.21422389149665833, 0.11694382131099701, -0.03500974550843239, -0.31263840198516846, 0.24695637822151184, 0.04590384662151337, 0.032389234751462936, -0.08553384989500046, 0.4585726261138916, 0.24786745011806488, 0.4234411120414734, -0.2772086262702942, -0.17683781683444977, -0.07153942435979843, 0.016639720648527145, -0.14880682528018951, -0.16195456683635712, -0.23924627900123596, 0.12385698407888412, 0.140385240316391, 0.09179048985242844, -0.15285362303256989, 0.2920365333557129, -0.04445815831422806, 0.07722540944814682, 0.027199411764740944, -0.21204440295696259, 0.023808585479855537, -0.4312646985054016, 0.1362064629793167, -0.11134622991085052, 0.11988016963005066, 0.026541810482740402, -0.426262766122818, -0.14894747734069824, 0.9546220302581787, 0.09968861937522888, -0.23752892017364502, -0.11530549079179764, 0.023880288004875183, -0.08811011910438538, -0.09671058505773544, 0.4988414943218231, 0.1853248029947281, -0.008888800628483295, 0.0664847195148468, 0.0917978584766388, -0.024772189557552338, -0.2553384602069855, 0.3006904721260071, 0.13121630251407623, 0.13175320625305176, -0.0045614950358867645, -0.2752264738082886, -0.2338276207447052, -0.18707218766212463, 0.054371755570173264, 0.34254753589630127, -0.00795540027320385, -0.29048073291778564, 0.14182515442371368, -0.17624010145664215, 0.002285253256559372, -0.48112940788269043, -0.03846874088048935, -0.4432051181793213, -0.25738248229026794, 0.08611876517534256, 0.23841898143291473, -0.17225699126720428, 0.12006159126758575, 0.34533581137657166, -0.2317965179681778, -0.01595247909426689, 0.017120588570833206, -0.23804163932800293, 0.18893200159072876, -0.06465693563222885, -0.04982903599739075, -0.002860030625015497, -0.18896013498306274, 0.29200637340545654, -0.19412465393543243, -0.4467872381210327, 0.0013516852632164955, -0.03438466787338257, 0.3579808175563812, -0.28253334760665894, 0.4296746253967285, 0.5197920799255371, 0.057683415710926056, 0.05392242223024368, -0.19019486010074615, 0.3008441925048828, -0.15275096893310547, 0.04283672571182251, -0.15924391150474548, 0.11042791604995728, 0.32094165682792664, -0.25825509428977966, -0.13371622562408447, -0.025313058868050575, -0.23098894953727722, 0.5024150013923645, -0.3284734785556793, 0.15727654099464417, 0.2381453663110733, -0.06704560667276382, -0.16529199481010437, -0.21095621585845947, -0.06321458518505096, -0.11873648315668106, -0.404845654964447, 0.20145438611507416, -0.26047950983047485, 0.10305936634540558, 0.11278890073299408, 0.032211095094680786, 0.1050904244184494, -0.10720407217741013, -0.06629494577646255, -0.03240319713950157, 0.009959709830582142, 0.16802211105823517, 0.3165294826030731, 0.1935584396123886, -0.10279583930969238, 0.16084237396717072, 0.042209357023239136, -0.14478763937950134, 0.04917774721980095, 0.4161277413368225, 0.09795065224170685, 0.33064737915992737, 0.34153077006340027, 0.2778926193714142, -0.02075413055717945, 0.7437508702278137, 0.34410327672958374, 0.14069609344005585, 0.07276305556297302, -0.36105290055274963, 0.1117672473192215, -0.08737378567457199, -0.29028889536857605, -0.06347828358411789, 0.18285277485847473, -0.3792511820793152, 0.016207590699195862, -0.12088663130998611, 0.38792693614959717, -0.0558403804898262, 0.2598036229610443, 0.1517065465450287, -0.528230607509613, -0.06082433462142944, 0.06235174462199211, 0.2491377592086792, -0.24237973988056183, 0.24835467338562012, -0.012049306184053421, -0.04375717043876648, 0.022207781672477722, -0.015282116830348969, 0.1579291969537735, -0.13412567973136902, -0.128015398979187, -0.2480309009552002, -0.532069206237793, 0.06756792962551117, 0.11770395934581757, -0.1166795939207077, -0.12473441660404205, -0.09894007444381714, 0.23705895245075226, 0.29150068759918213, 0.8117852807044983, -0.12458855658769608, -0.0034721344709396362, 0.1008123904466629, -0.14074090123176575, 0.2047443687915802, 0.0843370258808136, 0.2276284396648407, -0.10945826768875122, 0.23468773066997528, -0.0732012689113617, -0.5049199461936951, -0.5738019347190857, 0.32707470655441284, 0.351211816072464, -0.18141686916351318, -0.2334979772567749, -0.2447245568037033, 0.10279833525419235, 0.13231217861175537, -0.3143416941165924, 0.2440328747034073, 0.5057803988456726, -0.06674285233020782, 0.11139857769012451, 0.18648849427700043, -0.19943666458129883, 0.3182660639286041, 0.21303938329219818, 0.277875691652298, -0.28446149826049805, 0.021181020885705948, 0.21600909531116486, -0.02618781477212906, 0.10616536438465118, 0.4289197027683258, -0.5235868692398071, -0.39887985587120056, -0.06454360485076904, -0.17532210052013397, 0.4013982117176056, 0.5552745461463928, -0.32270124554634094, 0.35660919547080994, 0.14058241248130798, 0.4697781205177307, -0.009505911730229855, 0.2114233374595642, 0.49041977524757385, -0.1641668975353241, -0.33609774708747864, -0.5469289422035217, 0.4525613486766815, 0.2212667167186737, 0.0887850821018219, 0.5115723609924316, 0.3547225594520569, -0.40341395139694214, 0.057617828249931335, -0.2678452134132385, 0.909895122051239, -0.008226223289966583, -0.028204668313264847, 0.10161619633436203, -0.0265074223279953, 0.5560095310211182, -0.09220729768276215, 0.11504461616277695, -0.4188987612724304, -0.026746269315481186, -0.07291336357593536, -0.03887881338596344, 0.36281201243400574, 0.20614846050739288, 0.20195931196212769, 0.22069598734378815, -0.22451792657375336, 0.35760697722435, -0.22073765099048615, 0.1409720927476883, -0.0958627313375473, -0.19293230772018433, -0.2083570659160614, -0.19938693940639496, 0.10088351368904114, 0.1613130420446396, 0.1996268928050995, -0.3025537133216858, 0.10637830197811127, -0.18330636620521545, -0.4528600573539734, -0.058438632637262344, -0.08727777749300003, -0.2451288253068924, 0.4070594310760498, -0.402451753616333, 0.14957331120967865, 0.24804775416851044, 0.5679311156272888, 0.09163209050893784, 0.0190227460116148, 0.36230766773223877, -0.15506327152252197, 0.09837712347507477, -0.16616685688495636, 0.12672482430934906, 0.45989030599594116, 0.19521504640579224, -0.12759530544281006, 0.14801979064941406, -0.07122354954481125, -0.2667723298072815, -0.16561317443847656, -0.22997485101222992, 0.02973407693207264, -0.2881500720977783, 0.24657507240772247, -0.137624129652977, 0.18079400062561035, -0.26972439885139465, 0.030321046710014343, 0.019964799284934998, -0.23674903810024261, -0.09359433501958847, -0.4905981719493866, -0.18327665328979492, -0.20587237179279327, 0.01880306750535965, 0.057719677686691284, 0.2903057932853699, 0.354595422744751, 0.1299290955066681, 0.0032306499779224396, -0.11384585499763489, 0.04538118839263916, 0.3833131492137909, -0.769315242767334, 0.41692718863487244, 0.2713026702404022, -0.05479257553815842, 0.06316298246383667, 0.24471765756607056, -0.12036748230457306, 0.4807754456996918, -0.13650527596473694, 0.056163936853408813, -0.1968201994895935, 0.08751682937145233, 0.01970357447862625, 0.11548896133899689, 0.11646204441785812, 0.482889860868454, -0.030046746134757996, -0.04515179991722107, -0.11403579264879227, -0.1110948994755745, 0.05313016474246979, 0.092638298869133, -0.11358550190925598, 0.00040558353066444397, 0.3764466643333435, -0.18617601692676544, 0.09602467715740204, 0.008191913366317749, -0.22279299795627594, 0.01724977418780327, -0.4881431460380554, 0.19230933487415314, -0.012717995792627335, 0.11941193044185638, 0.009600977413356304, -0.03203709423542023, -0.10330116748809814, -0.25533682107925415, 0.3742423355579376, 0.29370570182800293, 0.17797912657260895, 0.3217306435108185, 0.11198059469461441, 0.23866328597068787, -0.37941819429397583, -0.2391766607761383, 0.08007574826478958, 0.7265329360961914, -0.012158016674220562, 0.22164615988731384, -0.4003203809261322, -0.025238674134016037, -0.4510364234447479, -0.007976606488227844, -0.2569013237953186, -0.01115228608250618, 0.17061495780944824, -0.09066256880760193, -0.20972886681556702, -0.03525941073894501, 0.366468220949173, 0.33952662348747253, -0.007608784828335047, -0.06074982136487961, 0.3014540672302246, -0.014854168519377708, -0.002410273998975754, 0.19641835987567902, -0.09325006604194641, -0.03447072207927704, 0.018974486738443375, 0.5905448794364929, 0.07749103009700775, 0.05805151164531708, -0.1399703472852707, -0.06340599805116653, 0.12125611305236816, 0.0011295713484287262, 0.49939024448394775, 0.8525895476341248, 0.020271066576242447, 0.5390316843986511, 0.4406685531139374, 0.18255551159381866, -0.00800112634897232, 0.46824073791503906, 0.061326950788497925, 0.17011576890945435, -0.21572458744049072, -0.04998718574643135, 0.5127609372138977, 0.17391785979270935, -0.1948554664850235, 0.18511837720870972, -0.2523278295993805, 0.07266529649496078, -0.2766706049442291, 0.4053306579589844, -0.4342347979545593, 0.2068343162536621, -0.24022796750068665, 0.20483000576496124, 0.11174525320529938, -0.06140472739934921, -0.04758329689502716, -0.06173271685838699, -0.22330743074417114, 0.11534656584262848, 0.1564931720495224, -0.19163353741168976, 0.3087143898010254, 0.07527413219213486, 0.1426888406276703, 0.1548900455236435, -0.00698060542345047, -0.12028806656599045, 0.369098961353302, -0.38841187953948975, -0.05082102119922638, -0.17662431299686432, -0.28501948714256287, 0.08540183305740356, 0.009861161932349205, 0.1566655933856964, -0.07170912623405457, 0.051198359578847885, -0.5212142467498779, 0.05234857276082039, -0.059670962393283844, 0.11776523292064667, 0.01214450504630804, 0.08962171524763107, 0.03237813711166382, 0.21924951672554016, -0.04841548949480057, -0.1329290121793747, -0.25288087129592896, 0.2829098701477051, 0.6713636517524719, -0.28247424960136414, 0.8403072357177734, -0.25847694277763367, -0.07921619713306427, -0.1274077594280243, -0.16203069686889648, -0.3444153368473053, 0.034813184291124344, 0.23460133373737335, 0.007217030972242355, -0.08114758133888245, -0.2663104236125946, -0.03769849240779877, 0.020636962726712227, 0.3044792115688324, -0.2199520319700241, -0.09240970760583878, -0.050418175756931305, -0.28575772047042847, 0.14952991902828217, 0.0679633691906929, -0.027565348893404007, 0.10946843028068542, -0.13990913331508636, -0.15611283481121063, -0.15906041860580444, 0.016691798344254494, 0.10356886684894562, -0.2447880506515503, -0.1577875167131424, 0.7030513286590576, 0.03331929072737694, -0.20212422311306, 0.0013941824436187744, -0.024559510871767998, 0.07849950343370438, -0.11961869150400162, 0.09109774231910706, -0.19516003131866455, -0.2434406876564026, -0.06845177710056305, 0.10676439106464386, 0.4584585428237915, -0.060307830572128296, 0.0011060312390327454, 0.006068620830774307, -0.10455101728439331, 0.0653366968035698, -0.23621194064617157, -0.05517294630408287, -0.22291305661201477, -0.2990022301673889, 0.24526217579841614, -0.14646928012371063, 0.4375426471233368, 0.17993803322315216, -0.024725738912820816, -0.5683186054229736, 0.253816694021225, -0.02355736680328846, 0.05982600897550583, -0.15278248488903046, -0.05807548761367798, -0.021703608334064484, 0.006095463410019875, 0.5759721398353577, 0.2221689224243164, -0.09778144955635071, -0.08935520052909851, -0.20035605132579803, -0.25869831442832947, 0.3476676940917969, -0.35502421855926514, -0.4690376818180084, -0.09614090621471405, 0.01882653683423996, 0.4235972464084625, -0.3018421530723572, -0.4353584349155426, -0.043449562042951584, 0.15911556780338287, -0.13000944256782532, 0.21733926236629486, 0.08231747150421143, 0.05344945564866066, 0.16525210440158844, 0.12320730090141296, 0.22575484216213226, 0.18718752264976501, -0.24218598008155823, 0.22168013453483582, -0.20600250363349915 ]
https://github.com/huggingface/datasets/issues/7005
EmptyDatasetError: The directory at /metadata.jsonl doesn't contain any data files
If you are trying to load your image dataset from a local folder, you should replace "data_dir=path/to/jsonl/metadata.jsonl" with the real folder path in your computer. https://huggingface.co/docs/datasets/en/image_load#imagefolder
### Describe the bug while trying to load custom dataset from jsonl file, I get the error: "metadata.jsonl doesn't contain any data files" ### Steps to reproduce the bug This is my [metadata_v2.jsonl](https://github.com/user-attachments/files/16016011/metadata_v2.json) file. I have this file in the folder with all images mentioned in that json(l) file. Through below mentioned command I am trying to load_dataset so that I can upload it as mentioned here on the [official website](https://huggingface.co/docs/datasets/en/image_dataset#upload-dataset-to-the-hub). ```` from datasets import load_dataset dataset = load_dataset("imagefolder", data_dir="path/to/jsonl/metadata.jsonl") ```` error: ```` EmptyDatasetError Traceback (most recent call last) Cell In[18], line 3 1 from datasets import load_dataset ----> 3 dataset = load_dataset("imagefolder", 4 data_dir="path/to/jsonl/file/metadata.jsonl") 5 dataset[0]["objects"] File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:2594, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs) 2589 verification_mode = VerificationMode( 2590 (verification_mode or VerificationMode.BASIC_CHECKS) if not save_infos else VerificationMode.ALL_CHECKS 2591 ) 2593 # Create a dataset builder -> 2594 builder_instance = load_dataset_builder( 2595 path=path, 2596 name=name, 2597 data_dir=data_dir, 2598 data_files=data_files, 2599 cache_dir=cache_dir, 2600 features=features, 2601 download_config=download_config, 2602 download_mode=download_mode, 2603 revision=revision, 2604 token=token, 2605 storage_options=storage_options, 2606 trust_remote_code=trust_remote_code, 2607 _require_default_config_name=name is None, 2608 **config_kwargs, 2609 ) 2611 # Return iterable dataset in case of streaming 2612 if streaming: File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:2266, in load_dataset_builder(path, name, data_dir, data_files, cache_dir, features, download_config, download_mode, revision, token, use_auth_token, storage_options, trust_remote_code, _require_default_config_name, **config_kwargs) 2264 download_config = download_config.copy() if download_config else DownloadConfig() 2265 download_config.storage_options.update(storage_options) -> 2266 dataset_module = dataset_module_factory( 2267 path, 2268 revision=revision, 2269 download_config=download_config, 2270 download_mode=download_mode, 2271 data_dir=data_dir, 2272 data_files=data_files, 2273 cache_dir=cache_dir, 2274 trust_remote_code=trust_remote_code, 2275 _require_default_config_name=_require_default_config_name, 2276 _require_custom_configs=bool(config_kwargs), 2277 ) 2278 # Get dataset builder class from the processing script 2279 builder_kwargs = dataset_module.builder_kwargs File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:1805, in dataset_module_factory(path, revision, download_config, download_mode, dynamic_modules_path, data_dir, data_files, cache_dir, trust_remote_code, _require_default_config_name, _require_custom_configs, **download_kwargs) 1782 # We have several ways to get a dataset builder: 1783 # 1784 # - if path is the name of a packaged dataset module (...) 1796 1797 # Try packaged 1798 if path in _PACKAGED_DATASETS_MODULES: 1799 return PackagedDatasetModuleFactory( 1800 path, 1801 data_dir=data_dir, 1802 data_files=data_files, 1803 download_config=download_config, 1804 download_mode=download_mode, -> 1805 ).get_module() 1806 # Try locally 1807 elif path.endswith(filename): File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:1140, in PackagedDatasetModuleFactory.get_module(self) 1135 def get_module(self) -> DatasetModule: 1136 base_path = Path(self.data_dir or "").expanduser().resolve().as_posix() 1137 patterns = ( 1138 sanitize_patterns(self.data_files) 1139 if self.data_files is not None -> 1140 else get_data_patterns(base_path, download_config=self.download_config) 1141 ) 1142 data_files = DataFilesDict.from_patterns( 1143 patterns, 1144 download_config=self.download_config, 1145 base_path=base_path, 1146 ) 1147 supports_metadata = self.name in _MODULE_SUPPORTS_METADATA File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/data_files.py:503, in get_data_patterns(base_path, download_config) 501 return _get_data_files_patterns(resolver) 502 except FileNotFoundError: --> 503 raise EmptyDatasetError(f"The directory at {base_path} doesn't contain any data files") from None EmptyDatasetError: The directory at path/to/jsonl/file/metadata.jsonl doesn't contain any data files` ``` ### Expected behavior It should be able load the whole file in a format of "dataset" inside the dataset variable. But it gives error "The directory at "path/to/jsonl/metadata.jsonl" doesn't contain any data files." ### Environment info I am using conda environment.
26
EmptyDatasetError: The directory at /metadata.jsonl doesn't contain any data files ### Describe the bug while trying to load custom dataset from jsonl file, I get the error: "metadata.jsonl doesn't contain any data files" ### Steps to reproduce the bug This is my [metadata_v2.jsonl](https://github.com/user-attachments/files/16016011/metadata_v2.json) file. I have this file in the folder with all images mentioned in that json(l) file. Through below mentioned command I am trying to load_dataset so that I can upload it as mentioned here on the [official website](https://huggingface.co/docs/datasets/en/image_dataset#upload-dataset-to-the-hub). ```` from datasets import load_dataset dataset = load_dataset("imagefolder", data_dir="path/to/jsonl/metadata.jsonl") ```` error: ```` EmptyDatasetError Traceback (most recent call last) Cell In[18], line 3 1 from datasets import load_dataset ----> 3 dataset = load_dataset("imagefolder", 4 data_dir="path/to/jsonl/file/metadata.jsonl") 5 dataset[0]["objects"] File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:2594, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs) 2589 verification_mode = VerificationMode( 2590 (verification_mode or VerificationMode.BASIC_CHECKS) if not save_infos else VerificationMode.ALL_CHECKS 2591 ) 2593 # Create a dataset builder -> 2594 builder_instance = load_dataset_builder( 2595 path=path, 2596 name=name, 2597 data_dir=data_dir, 2598 data_files=data_files, 2599 cache_dir=cache_dir, 2600 features=features, 2601 download_config=download_config, 2602 download_mode=download_mode, 2603 revision=revision, 2604 token=token, 2605 storage_options=storage_options, 2606 trust_remote_code=trust_remote_code, 2607 _require_default_config_name=name is None, 2608 **config_kwargs, 2609 ) 2611 # Return iterable dataset in case of streaming 2612 if streaming: File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:2266, in load_dataset_builder(path, name, data_dir, data_files, cache_dir, features, download_config, download_mode, revision, token, use_auth_token, storage_options, trust_remote_code, _require_default_config_name, **config_kwargs) 2264 download_config = download_config.copy() if download_config else DownloadConfig() 2265 download_config.storage_options.update(storage_options) -> 2266 dataset_module = dataset_module_factory( 2267 path, 2268 revision=revision, 2269 download_config=download_config, 2270 download_mode=download_mode, 2271 data_dir=data_dir, 2272 data_files=data_files, 2273 cache_dir=cache_dir, 2274 trust_remote_code=trust_remote_code, 2275 _require_default_config_name=_require_default_config_name, 2276 _require_custom_configs=bool(config_kwargs), 2277 ) 2278 # Get dataset builder class from the processing script 2279 builder_kwargs = dataset_module.builder_kwargs File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:1805, in dataset_module_factory(path, revision, download_config, download_mode, dynamic_modules_path, data_dir, data_files, cache_dir, trust_remote_code, _require_default_config_name, _require_custom_configs, **download_kwargs) 1782 # We have several ways to get a dataset builder: 1783 # 1784 # - if path is the name of a packaged dataset module (...) 1796 1797 # Try packaged 1798 if path in _PACKAGED_DATASETS_MODULES: 1799 return PackagedDatasetModuleFactory( 1800 path, 1801 data_dir=data_dir, 1802 data_files=data_files, 1803 download_config=download_config, 1804 download_mode=download_mode, -> 1805 ).get_module() 1806 # Try locally 1807 elif path.endswith(filename): File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:1140, in PackagedDatasetModuleFactory.get_module(self) 1135 def get_module(self) -> DatasetModule: 1136 base_path = Path(self.data_dir or "").expanduser().resolve().as_posix() 1137 patterns = ( 1138 sanitize_patterns(self.data_files) 1139 if self.data_files is not None -> 1140 else get_data_patterns(base_path, download_config=self.download_config) 1141 ) 1142 data_files = DataFilesDict.from_patterns( 1143 patterns, 1144 download_config=self.download_config, 1145 base_path=base_path, 1146 ) 1147 supports_metadata = self.name in _MODULE_SUPPORTS_METADATA File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/data_files.py:503, in get_data_patterns(base_path, download_config) 501 return _get_data_files_patterns(resolver) 502 except FileNotFoundError: --> 503 raise EmptyDatasetError(f"The directory at {base_path} doesn't contain any data files") from None EmptyDatasetError: The directory at path/to/jsonl/file/metadata.jsonl doesn't contain any data files` ``` ### Expected behavior It should be able load the whole file in a format of "dataset" inside the dataset variable. But it gives error "The directory at "path/to/jsonl/metadata.jsonl" doesn't contain any data files." ### Environment info I am using conda environment. If you are trying to load your image dataset from a local folder, you should replace "data_dir=path/to/jsonl/metadata.jsonl" with the real folder path in your computer. https://huggingface.co/docs/datasets/en/image_load#imagefolder
[ -0.016234397888183594, 0.07239946722984314, -0.025297634303569794, 0.6795621514320374, 0.007368864491581917, 0.16623660922050476, 0.01661766692996025, 0.3690929114818573, 0.20603157579898834, 0.08262968063354492, -0.02496563084423542, 0.1874658465385437, -0.33143505454063416, -0.03004961647093296, -0.050066642463207245, 0.1790800839662552, -0.12854883074760437, 0.27687036991119385, -0.1441842019557953, -0.13146109879016876, -0.21804922819137573, 0.28306645154953003, -0.18826159834861755, -0.1153782457113266, -0.1103748083114624, 0.24286489188671112, -0.0415293350815773, 0.5461862087249756, -0.02466251514852047, -0.34503212571144104, 0.04616304486989975, -0.20798851549625397, 0.02353879064321518, 0.5558899641036987, -0.00011996620014542714, 0.09448571503162384, 0.4678460955619812, -0.23483037948608398, -0.39365583658218384, -0.4956551790237427, -0.19706284999847412, -0.21441568434238434, 0.12844537198543549, -0.10338030010461807, 0.009622082114219666, -0.20243065059185028, -0.1407628357410431, -0.23766498267650604, 0.4126712679862976, 0.2267274260520935, 0.12392526865005493, 0.13465532660484314, 0.22274638712406158, -0.015200665220618248, 0.08478245884180069, 0.7601121664047241, 0.09807752817869186, 0.2915014922618866, 0.050130512565374374, -0.08558010309934616, 0.3511055111885071, 0.3572181463241577, -0.13747932016849518, 0.049861155450344086, 0.29519104957580566, 0.06945302337408066, -0.2705262303352356, -0.18731215596199036, 0.16267594695091248, 0.1941242516040802, 0.6567094922065735, -0.26317551732063293, -0.42885860800743103, -0.2488403618335724, 0.11275184154510498, -0.14053525030612946, 0.40022262930870056, 0.3142159581184387, -0.22161468863487244, -0.013296723365783691, -0.05545146390795708, -0.15396751463413239, -0.18323007225990295, 0.13876771926879883, 0.10457651317119598, 0.14863301813602448, -0.20630820095539093, -0.0232371985912323, -0.1091635674238205, -0.1777874231338501, -0.1356872022151947, -0.1660413146018982, -0.1705271452665329, 0.29832568764686584, -0.03821996971964836, 0.002876847982406616, 0.11718475073575974, -0.23127228021621704, 0.38621771335601807, 0.11823631078004837, 0.05984044075012207, -0.25032782554626465, -0.34213787317276, 0.031998928636312485, 0.31721845269203186, 0.003756146878004074, 0.254168301820755, 0.04919129237532616, 0.1838231086730957, 0.2025052309036255, 0.21349051594734192, -0.09162836521863937, -0.286661297082901, 0.11232589185237885, -0.2159791737794876, 0.04527270048856735, 0.5138431191444397, -0.17666688561439514, -0.2399628907442093, -0.04217326641082764, -0.3820432126522064, -0.06912580877542496, 0.1108563020825386, 0.21470794081687927, -0.0983583852648735, -0.08599856495857239, 0.09663428366184235, 0.0776025578379631, 0.035253964364528656, -0.13549064099788666, -0.13153736293315887, 0.16419824957847595, 0.031504590064287186, 0.07980119436979294, 0.4030193090438843, -0.17705774307250977, 0.37339168787002563, 0.08414611965417862, -0.09339570999145508, -0.07985760271549225, 0.010034620761871338, -0.1720019429922104, -0.17388460040092468, 0.46413740515708923, 0.17404428124427795, 0.23018477857112885, 0.2298513799905777, -0.22208483517169952, -0.23005181550979614, 0.1922604739665985, -0.38595154881477356, -0.12087706476449966, -0.24275971949100494, 0.07783857733011246, -0.3309178352355957, 0.0487673282623291, -0.7079396843910217, -0.008056413382291794, -0.22983911633491516, -0.18045739829540253, -0.07858457416296005, 0.1909448802471161, -0.02297639474272728, -0.22072561085224152, 0.30470868945121765, 0.9003216028213501, -0.5849183797836304, 0.07848076522350311, -0.13051551580429077, -0.1020067036151886, -0.2284119427204132, 0.03903521969914436, -0.08765287697315216, 0.4293965995311737, -0.4452558755874634, 0.20277313888072968, 0.021547533571720123, -0.7053438425064087, -0.22947141528129578, 0.06475307792425156, 0.008874811232089996, 0.23130260407924652, -0.04283412545919418, -0.15138572454452515, -0.056169360876083374, 0.03647641837596893, 0.02136320248246193, 0.07930497080087662, 0.134787917137146, -0.05808349326252937, 0.06062870845198631, -0.15848322212696075, -0.07488756626844406, 0.27219390869140625, -0.2313845008611679, 0.12674333155155182, -0.0061994194984436035, 0.12054028362035751, 0.1355525255203247, -0.1439918875694275, 0.11398757994174957, 0.47390449047088623, 0.4385104477405548, 0.08749068528413773, 0.04016125947237015, 0.0953172817826271, -0.7285781502723694, 0.1590946912765503, 0.2850550413131714, 0.13417862355709076, -0.4829370975494385, 0.06618372350931168, -0.15408650040626526, 0.036883071064949036, -0.28483712673187256, -0.3231680691242218, 0.06948120892047882, 0.1586846262216568, 0.10359084606170654, 0.18842527270317078, -0.339396208524704, 0.5021705627441406, -0.16325627267360687, 0.1650766134262085, -0.460963636636734, 0.4469996690750122, 0.2097811996936798, -0.16373585164546967, 0.12316977977752686, 0.16000887751579285, -0.02440941333770752, -0.17264920473098755, -0.12371139973402023, 0.20826205611228943, 0.23928450047969818, 0.0418672114610672, 0.15174445509910583, 0.10723142325878143, 0.0855296403169632, -0.3061961829662323, -0.003991486504673958, 0.1689176708459854, 0.35347065329551697, -0.0431121289730072, -0.35062333941459656, 0.12523750960826874, -0.18262475728988647, 0.2990742027759552, 0.0518510639667511, -0.22242526710033417, 0.2544340193271637, -0.04727361351251602, -0.08393420279026031, -0.2863750159740448, 0.03535228222608566, 0.27688243985176086, 0.3322213292121887, -0.06150347739458084, -0.09317667782306671, -0.20420092344284058, 0.19403289258480072, 0.11374275386333466, 0.11699488759040833, 0.25839102268218994, -0.3854879140853882, 0.04128788411617279, 0.09495903551578522, 0.1034727543592453, 0.6426535248756409, 0.11814286559820175, -0.24896490573883057, 0.12905870378017426, 0.1936618983745575, -0.06186331436038017, 0.09365721791982651, -0.17105086147785187, 0.15241152048110962, 0.3120315372943878, 0.12855444848537445, 0.15512628853321075, -0.33534783124923706, -0.43511804938316345, -0.15623386204242706, 0.2796691358089447, -0.26503708958625793, -0.18706084787845612, -0.19310513138771057, -0.1872270703315735, 0.08458518236875534, -0.22905948758125305, -0.40577515959739685, -0.05969320982694626, -0.2639757990837097, 0.15662400424480438, -0.08463042974472046, -0.1750430464744568, 0.11098277568817139, 0.2448551207780838, 0.26042333245277405, -0.44077208638191223, -0.41936466097831726, 0.06394456326961517, -0.18078398704528809, -0.07731205224990845, 0.2677631676197052, 0.057804301381111145, 0.09929293394088745, -0.3333824872970581, 0.12962202727794647, -0.2892036437988281, -0.19855013489723206, 0.1434026062488556, -0.01293577253818512, 0.29660022258758545, 0.21995949745178223, 0.3011680841445923, 0.21777866780757904, 0.1158643513917923, 0.3484784662723541, 0.13670943677425385, -0.3627202808856964, 0.029399722814559937, 0.1459604799747467, 0.3482317626476288, -0.3267204463481903, -0.09990765899419785, -0.24810342490673065, -0.406040221452713, 0.17669209837913513, 0.20296090841293335, 0.20769314467906952, 0.3621741235256195, 0.17898811399936676, 0.3158295452594757, -0.11351269483566284, 0.0233982615172863, -0.03434928506612778, -0.3535672426223755, 0.2809287905693054, -0.3583219349384308, -0.2638997733592987, 0.3455517292022705, 0.04241037368774414, 0.5873355269432068, -0.11121968924999237, -0.6491779088973999, -0.5597068667411804, 0.14242589473724365, 0.0990036129951477, -0.35061249136924744, -0.13213464617729187, 0.1587274670600891, 0.019761735573410988, 0.045712098479270935, -0.09862588346004486, -0.30576446652412415, -0.015008002519607544, -0.0742388442158699, 0.1260850578546524, 0.019702978432178497, 0.42886921763420105, -0.09892256557941437, 0.2986629903316498, 0.18304753303527832, -0.03673475608229637, 0.3860609531402588, -0.1441420465707779, 0.5095799565315247, -0.22293075919151306, -0.31425079703330994, -0.15868164598941803, 0.3462902307510376, 0.1367548704147339, 0.18870627880096436, 0.21740350127220154, 0.22386175394058228, -0.233800008893013, -0.051688943058252335, -0.5921611189842224, -0.06094980239868164, 0.08787252753973007, 0.04542899504303932, 0.057981040328741074, -0.045986149460077286, -0.10043903440237045, -0.19084949791431427, -0.1328551173210144, -0.06532847881317139, 0.5581292510032654, 0.16707223653793335, 0.11864709854125977, -0.18694958090782166, -0.10790657997131348, -0.12662580609321594, 0.26928603649139404, -0.06420113891363144, 0.35302630066871643, -0.12011794745922089, 0.17007610201835632, -0.09527625143527985, 0.01907271146774292, 0.638336181640625, -0.11930028349161148, 0.0000337548553943634, 0.13759130239486694, -0.16115236282348633, -0.4646359086036682, 0.07981711626052856, -0.048533085733652115, 0.14289507269859314, 0.0262705497443676, 0.7791109085083008, -0.28377392888069153, -0.19027474522590637, 0.05183170735836029, 0.22588489949703217, -0.1023712009191513, -0.31554320454597473, -0.21128897368907928, -0.5132689476013184, -0.22149275243282318, -0.26623812317848206, 0.008626749739050865, 0.40702134370803833, 0.3300914168357849, -0.05419324338436127, -0.023909734562039375, -0.2381611466407776, 0.0672643780708313, -0.02496090531349182, 0.39556148648262024, 0.10189557820558548, 0.07481218874454498, 0.2771018147468567, 0.15855419635772705, 0.3504355549812317, 0.6299038529396057, 0.2139226645231247, -0.3754520118236542, -0.04262536019086838, -0.17729134857654572, 0.13518410921096802, 0.12067937850952148, -0.02456522360444069, 0.004592470824718475, -0.2966713607311249, 0.06267815828323364, -0.36243242025375366, 0.18572933971881866, 0.022475427016615868, -0.051816754043102264, -0.06788873672485352, -0.23332013189792633, 0.3865802586078644, 0.09349140524864197, 0.2551097273826599, 0.2827135920524597, 0.16788464784622192, -0.36620721220970154, 0.047215089201927185, 0.03135733678936958, 0.5657368898391724, 0.12013274431228638, 0.09625190496444702, 0.5154724717140198, -0.24990227818489075, 0.6544961929321289, -0.3207877278327942, -0.03584256395697594, -0.2065768986940384, -0.007607332430779934, -0.0965958908200264, 0.04546083137392998, 0.23412927985191345, 0.18202434480190277, 0.07795962691307068, 0.3072367310523987, -0.0832081064581871, 0.1469377875328064, 0.05606463551521301, 0.2207600474357605, -0.040979087352752686, -0.27352625131607056, -0.5265708565711975, 0.08564393222332001, -0.17457255721092224, 0.40790364146232605, -0.07628277689218521, -0.20649045705795288, -0.28636831045150757, -0.23578469455242157, -0.19740955531597137, 0.16486957669258118, -0.12132523953914642, 0.0009590703994035721, 0.2412465363740921, -0.10233912616968155, -0.0061454251408576965, 0.15742211043834686, 0.14820784330368042, 0.12432263791561127, -0.20985299348831177, 0.10980115830898285, -0.5177064538002014, 0.1661631017923355, -0.17966872453689575, 0.17075197398662567, 0.23326367139816284, -0.09191013872623444, -0.007866501808166504, 0.031006112694740295, -0.2163514792919159, -0.11072465032339096, -0.01920071244239807, 0.14340844750404358, -0.22233696281909943, -0.15827198326587677, -0.3760746419429779, -0.03434670716524124, 0.12729746103286743, 0.04162741079926491, 0.039718128740787506, 0.23550310730934143, -0.15402592718601227, -0.10713308304548264, -0.10859070718288422, -0.36839941143989563, -0.04453720524907112, 0.44109243154525757, -0.2038959562778473, -0.22009332478046417, 0.5960922241210938, 0.05908535048365593, 0.1783936768770218, -0.188136488199234, 0.3268987238407135, 0.21989530324935913, -0.4300042688846588, 0.2731512784957886, 0.1506093591451645, 0.11298392713069916, -0.08131738007068634, 0.006681736558675766, 0.17349624633789062, -0.1785109043121338, 0.1211395114660263, -0.6053115129470825, -0.08728819340467453, 0.45549947023391724, -0.11889803409576416, -0.060220133513212204, -0.13390347361564636, 0.10123971104621887, 0.11545933783054352, -0.23275849223136902, -0.20728710293769836, 0.2522680461406708, -0.18128125369548798, 0.03268132731318474, 0.39539045095443726, 0.17371976375579834, 0.2817334830760956, 0.06410923600196838, 0.07326212525367737, -0.006973892450332642, -0.19259972870349884, -0.10373319685459137, -0.16061139106750488, 0.13703708350658417, 0.15145128965377808, 0.06621595472097397, 0.04804835096001625, -0.17438027262687683, -0.228267103433609, -0.10785841196775436, 0.07064799964427948, -0.1433013677597046, -0.15668341517448425, 0.13231301307678223, -0.034417975693941116, 0.2646048367023468, -0.238075852394104, 0.26101619005203247, 0.07152213156223297, 0.23960205912590027, 0.07449091225862503, 0.050471652299165726, -0.045183226466178894, 0.1200275868177414, -0.2554967403411865, 0.041952963918447495, -0.36035478115081787, -0.12345225363969803, 0.28076520562171936, -0.23732425272464752, 0.2833293676376343, 0.11569561064243317, 0.16671042144298553, 0.1091860681772232, -0.3733665943145752, 0.023846780881285667, 0.33992502093315125, 0.10978791117668152, -0.11198294907808304, 0.09955080598592758, 0.2762613892555237, 0.16894160211086273, -0.02389400824904442, 0.1481911540031433, -0.03290218859910965, 0.0005171224474906921, -0.10742254555225372, 0.09364645183086395, 0.517954409122467, 0.03758547455072403, 0.09020461142063141, 0.3356024920940399, -0.4283335506916046, 0.09704306721687317, 0.09947618842124939, 0.2366766631603241, 0.15454204380512238, 0.8223686218261719, -0.10784994810819626, 0.3810026943683624, -0.1443604826927185, 0.0029904842376708984, 0.04406452178955078, -0.5855844020843506, -0.13209472596645355, 0.3086599111557007, 0.3974270820617676, 0.12906710803508759, -0.2806937098503113, 0.17415198683738708, -0.2862776517868042, 0.06337416172027588, -0.009570244699716568, 0.010980671271681786, -0.07700571417808533, 0.022408802062273026, -0.1591116189956665, -0.12651032209396362, -0.032177556306123734, 0.026969242841005325, 0.1470838189125061, -0.34037506580352783, -0.09021466970443726, -0.04236593097448349, -0.3503574728965759, -0.3169069290161133, -0.11333873122930527, 0.41594162583351135, -0.12005447596311569, -0.09566265344619751, 0.36222201585769653, 0.36096882820129395, 0.07697426527738571, 0.08972406387329102, 0.43600165843963623, 0.38899141550064087, 0.48181432485580444, 0.13214460015296936, 0.10672225058078766, -0.16608352959156036, -0.08987648785114288, -0.1430491805076599, 0.3744954764842987, 0.04226343333721161, 0.028685666620731354, 0.07887595891952515, 0.11836448311805725, -0.029805663973093033, 0.05038261413574219, 0.05025680363178253, 0.12799233198165894, -0.2261575162410736, 0.0992879569530487, -0.41786709427833557, -0.01701980084180832, -0.2211018204689026, 0.04568779841065407, -0.4208240807056427, -0.23029613494873047, 0.3191504180431366, 0.3496664762496948, 0.05270154029130936, -0.026678673923015594, 0.017969582229852676, -0.32773488759994507, 0.2512287497520447, 0.553733766078949, 0.015170406550168991, -0.04587094485759735, -0.2444070279598236, -0.7512381672859192, 0.010971248149871826, -0.037638355046510696, -0.19422602653503418, -0.0438351146876812, 0.17576441168785095, -0.10267344862222672, -0.001287803053855896, -0.02515271306037903, -0.02270316518843174, 0.01908862218260765, -0.1633826643228531, -0.4268814027309418, -0.4373069703578949, -0.18798528611660004, 0.16168789565563202, -0.015011126175522804, -0.22612375020980835, 0.013875458389520645, -0.07372847944498062, 0.03139922022819519, -0.14574500918388367, 0.16383562982082367, -0.17745660245418549, 0.3700598180294037, 0.37301120162010193, 0.05283012241125107, 0.29742956161499023, -0.03446478396654129, -0.2887172996997833, -0.3476521670818329, -0.13412036001682281, -0.040637001395225525, 0.40597185492515564, 0.13630636036396027, 0.5701664686203003, -0.3111192584037781, 0.03590492904186249, -0.31020620465278625, 0.1656639277935028, -0.009843725711107254, -0.09077661484479904, -0.3409668803215027, 0.40434879064559937, -0.1440906524658203, 0.05553364381194115, 0.012868435122072697, 0.18416357040405273, -0.11149714887142181, 0.05821675807237625, -0.34868305921554565, -0.0862693265080452, 0.4884176552295685, -0.39428314566612244, -0.19874614477157593, 0.23022933304309845, 0.16542929410934448, -0.08623915165662766, -0.23651191592216492, -0.4514598548412323, 0.16202133893966675, 0.440642386674881, -0.021728988736867905, -0.1878698319196701, 0.14485496282577515, -0.1352129429578781, -0.153634175658226, -0.0326024554669857, -0.030141182243824005, 0.21930643916130066, -0.06184261292219162, 0.3933294117450714, -0.07488410174846649 ]
https://github.com/huggingface/datasets/issues/7005
EmptyDatasetError: The directory at /metadata.jsonl doesn't contain any data files
Ah yes. My bad. I was giving file name. I should have given the folder directory as the path. That solved my issue. Thank you @albertvillanova and @lhoestq.
### Describe the bug while trying to load custom dataset from jsonl file, I get the error: "metadata.jsonl doesn't contain any data files" ### Steps to reproduce the bug This is my [metadata_v2.jsonl](https://github.com/user-attachments/files/16016011/metadata_v2.json) file. I have this file in the folder with all images mentioned in that json(l) file. Through below mentioned command I am trying to load_dataset so that I can upload it as mentioned here on the [official website](https://huggingface.co/docs/datasets/en/image_dataset#upload-dataset-to-the-hub). ```` from datasets import load_dataset dataset = load_dataset("imagefolder", data_dir="path/to/jsonl/metadata.jsonl") ```` error: ```` EmptyDatasetError Traceback (most recent call last) Cell In[18], line 3 1 from datasets import load_dataset ----> 3 dataset = load_dataset("imagefolder", 4 data_dir="path/to/jsonl/file/metadata.jsonl") 5 dataset[0]["objects"] File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:2594, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs) 2589 verification_mode = VerificationMode( 2590 (verification_mode or VerificationMode.BASIC_CHECKS) if not save_infos else VerificationMode.ALL_CHECKS 2591 ) 2593 # Create a dataset builder -> 2594 builder_instance = load_dataset_builder( 2595 path=path, 2596 name=name, 2597 data_dir=data_dir, 2598 data_files=data_files, 2599 cache_dir=cache_dir, 2600 features=features, 2601 download_config=download_config, 2602 download_mode=download_mode, 2603 revision=revision, 2604 token=token, 2605 storage_options=storage_options, 2606 trust_remote_code=trust_remote_code, 2607 _require_default_config_name=name is None, 2608 **config_kwargs, 2609 ) 2611 # Return iterable dataset in case of streaming 2612 if streaming: File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:2266, in load_dataset_builder(path, name, data_dir, data_files, cache_dir, features, download_config, download_mode, revision, token, use_auth_token, storage_options, trust_remote_code, _require_default_config_name, **config_kwargs) 2264 download_config = download_config.copy() if download_config else DownloadConfig() 2265 download_config.storage_options.update(storage_options) -> 2266 dataset_module = dataset_module_factory( 2267 path, 2268 revision=revision, 2269 download_config=download_config, 2270 download_mode=download_mode, 2271 data_dir=data_dir, 2272 data_files=data_files, 2273 cache_dir=cache_dir, 2274 trust_remote_code=trust_remote_code, 2275 _require_default_config_name=_require_default_config_name, 2276 _require_custom_configs=bool(config_kwargs), 2277 ) 2278 # Get dataset builder class from the processing script 2279 builder_kwargs = dataset_module.builder_kwargs File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:1805, in dataset_module_factory(path, revision, download_config, download_mode, dynamic_modules_path, data_dir, data_files, cache_dir, trust_remote_code, _require_default_config_name, _require_custom_configs, **download_kwargs) 1782 # We have several ways to get a dataset builder: 1783 # 1784 # - if path is the name of a packaged dataset module (...) 1796 1797 # Try packaged 1798 if path in _PACKAGED_DATASETS_MODULES: 1799 return PackagedDatasetModuleFactory( 1800 path, 1801 data_dir=data_dir, 1802 data_files=data_files, 1803 download_config=download_config, 1804 download_mode=download_mode, -> 1805 ).get_module() 1806 # Try locally 1807 elif path.endswith(filename): File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:1140, in PackagedDatasetModuleFactory.get_module(self) 1135 def get_module(self) -> DatasetModule: 1136 base_path = Path(self.data_dir or "").expanduser().resolve().as_posix() 1137 patterns = ( 1138 sanitize_patterns(self.data_files) 1139 if self.data_files is not None -> 1140 else get_data_patterns(base_path, download_config=self.download_config) 1141 ) 1142 data_files = DataFilesDict.from_patterns( 1143 patterns, 1144 download_config=self.download_config, 1145 base_path=base_path, 1146 ) 1147 supports_metadata = self.name in _MODULE_SUPPORTS_METADATA File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/data_files.py:503, in get_data_patterns(base_path, download_config) 501 return _get_data_files_patterns(resolver) 502 except FileNotFoundError: --> 503 raise EmptyDatasetError(f"The directory at {base_path} doesn't contain any data files") from None EmptyDatasetError: The directory at path/to/jsonl/file/metadata.jsonl doesn't contain any data files` ``` ### Expected behavior It should be able load the whole file in a format of "dataset" inside the dataset variable. But it gives error "The directory at "path/to/jsonl/metadata.jsonl" doesn't contain any data files." ### Environment info I am using conda environment.
28
EmptyDatasetError: The directory at /metadata.jsonl doesn't contain any data files ### Describe the bug while trying to load custom dataset from jsonl file, I get the error: "metadata.jsonl doesn't contain any data files" ### Steps to reproduce the bug This is my [metadata_v2.jsonl](https://github.com/user-attachments/files/16016011/metadata_v2.json) file. I have this file in the folder with all images mentioned in that json(l) file. Through below mentioned command I am trying to load_dataset so that I can upload it as mentioned here on the [official website](https://huggingface.co/docs/datasets/en/image_dataset#upload-dataset-to-the-hub). ```` from datasets import load_dataset dataset = load_dataset("imagefolder", data_dir="path/to/jsonl/metadata.jsonl") ```` error: ```` EmptyDatasetError Traceback (most recent call last) Cell In[18], line 3 1 from datasets import load_dataset ----> 3 dataset = load_dataset("imagefolder", 4 data_dir="path/to/jsonl/file/metadata.jsonl") 5 dataset[0]["objects"] File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:2594, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs) 2589 verification_mode = VerificationMode( 2590 (verification_mode or VerificationMode.BASIC_CHECKS) if not save_infos else VerificationMode.ALL_CHECKS 2591 ) 2593 # Create a dataset builder -> 2594 builder_instance = load_dataset_builder( 2595 path=path, 2596 name=name, 2597 data_dir=data_dir, 2598 data_files=data_files, 2599 cache_dir=cache_dir, 2600 features=features, 2601 download_config=download_config, 2602 download_mode=download_mode, 2603 revision=revision, 2604 token=token, 2605 storage_options=storage_options, 2606 trust_remote_code=trust_remote_code, 2607 _require_default_config_name=name is None, 2608 **config_kwargs, 2609 ) 2611 # Return iterable dataset in case of streaming 2612 if streaming: File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:2266, in load_dataset_builder(path, name, data_dir, data_files, cache_dir, features, download_config, download_mode, revision, token, use_auth_token, storage_options, trust_remote_code, _require_default_config_name, **config_kwargs) 2264 download_config = download_config.copy() if download_config else DownloadConfig() 2265 download_config.storage_options.update(storage_options) -> 2266 dataset_module = dataset_module_factory( 2267 path, 2268 revision=revision, 2269 download_config=download_config, 2270 download_mode=download_mode, 2271 data_dir=data_dir, 2272 data_files=data_files, 2273 cache_dir=cache_dir, 2274 trust_remote_code=trust_remote_code, 2275 _require_default_config_name=_require_default_config_name, 2276 _require_custom_configs=bool(config_kwargs), 2277 ) 2278 # Get dataset builder class from the processing script 2279 builder_kwargs = dataset_module.builder_kwargs File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:1805, in dataset_module_factory(path, revision, download_config, download_mode, dynamic_modules_path, data_dir, data_files, cache_dir, trust_remote_code, _require_default_config_name, _require_custom_configs, **download_kwargs) 1782 # We have several ways to get a dataset builder: 1783 # 1784 # - if path is the name of a packaged dataset module (...) 1796 1797 # Try packaged 1798 if path in _PACKAGED_DATASETS_MODULES: 1799 return PackagedDatasetModuleFactory( 1800 path, 1801 data_dir=data_dir, 1802 data_files=data_files, 1803 download_config=download_config, 1804 download_mode=download_mode, -> 1805 ).get_module() 1806 # Try locally 1807 elif path.endswith(filename): File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:1140, in PackagedDatasetModuleFactory.get_module(self) 1135 def get_module(self) -> DatasetModule: 1136 base_path = Path(self.data_dir or "").expanduser().resolve().as_posix() 1137 patterns = ( 1138 sanitize_patterns(self.data_files) 1139 if self.data_files is not None -> 1140 else get_data_patterns(base_path, download_config=self.download_config) 1141 ) 1142 data_files = DataFilesDict.from_patterns( 1143 patterns, 1144 download_config=self.download_config, 1145 base_path=base_path, 1146 ) 1147 supports_metadata = self.name in _MODULE_SUPPORTS_METADATA File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/data_files.py:503, in get_data_patterns(base_path, download_config) 501 return _get_data_files_patterns(resolver) 502 except FileNotFoundError: --> 503 raise EmptyDatasetError(f"The directory at {base_path} doesn't contain any data files") from None EmptyDatasetError: The directory at path/to/jsonl/file/metadata.jsonl doesn't contain any data files` ``` ### Expected behavior It should be able load the whole file in a format of "dataset" inside the dataset variable. But it gives error "The directory at "path/to/jsonl/metadata.jsonl" doesn't contain any data files." ### Environment info I am using conda environment. Ah yes. My bad. I was giving file name. I should have given the folder directory as the path. That solved my issue. Thank you @albertvillanova and @lhoestq.
[ -0.016234397888183594, 0.07239946722984314, -0.025297634303569794, 0.6795621514320374, 0.007368864491581917, 0.16623660922050476, 0.01661766692996025, 0.3690929114818573, 0.20603157579898834, 0.08262968063354492, -0.02496563084423542, 0.1874658465385437, -0.33143505454063416, -0.03004961647093296, -0.050066642463207245, 0.1790800839662552, -0.12854883074760437, 0.27687036991119385, -0.1441842019557953, -0.13146109879016876, -0.21804922819137573, 0.28306645154953003, -0.18826159834861755, -0.1153782457113266, -0.1103748083114624, 0.24286489188671112, -0.0415293350815773, 0.5461862087249756, -0.02466251514852047, -0.34503212571144104, 0.04616304486989975, -0.20798851549625397, 0.02353879064321518, 0.5558899641036987, -0.00011996620014542714, 0.09448571503162384, 0.4678460955619812, -0.23483037948608398, -0.39365583658218384, -0.4956551790237427, -0.19706284999847412, -0.21441568434238434, 0.12844537198543549, -0.10338030010461807, 0.009622082114219666, -0.20243065059185028, -0.1407628357410431, -0.23766498267650604, 0.4126712679862976, 0.2267274260520935, 0.12392526865005493, 0.13465532660484314, 0.22274638712406158, -0.015200665220618248, 0.08478245884180069, 0.7601121664047241, 0.09807752817869186, 0.2915014922618866, 0.050130512565374374, -0.08558010309934616, 0.3511055111885071, 0.3572181463241577, -0.13747932016849518, 0.049861155450344086, 0.29519104957580566, 0.06945302337408066, -0.2705262303352356, -0.18731215596199036, 0.16267594695091248, 0.1941242516040802, 0.6567094922065735, -0.26317551732063293, -0.42885860800743103, -0.2488403618335724, 0.11275184154510498, -0.14053525030612946, 0.40022262930870056, 0.3142159581184387, -0.22161468863487244, -0.013296723365783691, -0.05545146390795708, -0.15396751463413239, -0.18323007225990295, 0.13876771926879883, 0.10457651317119598, 0.14863301813602448, -0.20630820095539093, -0.0232371985912323, -0.1091635674238205, -0.1777874231338501, -0.1356872022151947, -0.1660413146018982, -0.1705271452665329, 0.29832568764686584, -0.03821996971964836, 0.002876847982406616, 0.11718475073575974, -0.23127228021621704, 0.38621771335601807, 0.11823631078004837, 0.05984044075012207, -0.25032782554626465, -0.34213787317276, 0.031998928636312485, 0.31721845269203186, 0.003756146878004074, 0.254168301820755, 0.04919129237532616, 0.1838231086730957, 0.2025052309036255, 0.21349051594734192, -0.09162836521863937, -0.286661297082901, 0.11232589185237885, -0.2159791737794876, 0.04527270048856735, 0.5138431191444397, -0.17666688561439514, -0.2399628907442093, -0.04217326641082764, -0.3820432126522064, -0.06912580877542496, 0.1108563020825386, 0.21470794081687927, -0.0983583852648735, -0.08599856495857239, 0.09663428366184235, 0.0776025578379631, 0.035253964364528656, -0.13549064099788666, -0.13153736293315887, 0.16419824957847595, 0.031504590064287186, 0.07980119436979294, 0.4030193090438843, -0.17705774307250977, 0.37339168787002563, 0.08414611965417862, -0.09339570999145508, -0.07985760271549225, 0.010034620761871338, -0.1720019429922104, -0.17388460040092468, 0.46413740515708923, 0.17404428124427795, 0.23018477857112885, 0.2298513799905777, -0.22208483517169952, -0.23005181550979614, 0.1922604739665985, -0.38595154881477356, -0.12087706476449966, -0.24275971949100494, 0.07783857733011246, -0.3309178352355957, 0.0487673282623291, -0.7079396843910217, -0.008056413382291794, -0.22983911633491516, -0.18045739829540253, -0.07858457416296005, 0.1909448802471161, -0.02297639474272728, -0.22072561085224152, 0.30470868945121765, 0.9003216028213501, -0.5849183797836304, 0.07848076522350311, -0.13051551580429077, -0.1020067036151886, -0.2284119427204132, 0.03903521969914436, -0.08765287697315216, 0.4293965995311737, -0.4452558755874634, 0.20277313888072968, 0.021547533571720123, -0.7053438425064087, -0.22947141528129578, 0.06475307792425156, 0.008874811232089996, 0.23130260407924652, -0.04283412545919418, -0.15138572454452515, -0.056169360876083374, 0.03647641837596893, 0.02136320248246193, 0.07930497080087662, 0.134787917137146, -0.05808349326252937, 0.06062870845198631, -0.15848322212696075, -0.07488756626844406, 0.27219390869140625, -0.2313845008611679, 0.12674333155155182, -0.0061994194984436035, 0.12054028362035751, 0.1355525255203247, -0.1439918875694275, 0.11398757994174957, 0.47390449047088623, 0.4385104477405548, 0.08749068528413773, 0.04016125947237015, 0.0953172817826271, -0.7285781502723694, 0.1590946912765503, 0.2850550413131714, 0.13417862355709076, -0.4829370975494385, 0.06618372350931168, -0.15408650040626526, 0.036883071064949036, -0.28483712673187256, -0.3231680691242218, 0.06948120892047882, 0.1586846262216568, 0.10359084606170654, 0.18842527270317078, -0.339396208524704, 0.5021705627441406, -0.16325627267360687, 0.1650766134262085, -0.460963636636734, 0.4469996690750122, 0.2097811996936798, -0.16373585164546967, 0.12316977977752686, 0.16000887751579285, -0.02440941333770752, -0.17264920473098755, -0.12371139973402023, 0.20826205611228943, 0.23928450047969818, 0.0418672114610672, 0.15174445509910583, 0.10723142325878143, 0.0855296403169632, -0.3061961829662323, -0.003991486504673958, 0.1689176708459854, 0.35347065329551697, -0.0431121289730072, -0.35062333941459656, 0.12523750960826874, -0.18262475728988647, 0.2990742027759552, 0.0518510639667511, -0.22242526710033417, 0.2544340193271637, -0.04727361351251602, -0.08393420279026031, -0.2863750159740448, 0.03535228222608566, 0.27688243985176086, 0.3322213292121887, -0.06150347739458084, -0.09317667782306671, -0.20420092344284058, 0.19403289258480072, 0.11374275386333466, 0.11699488759040833, 0.25839102268218994, -0.3854879140853882, 0.04128788411617279, 0.09495903551578522, 0.1034727543592453, 0.6426535248756409, 0.11814286559820175, -0.24896490573883057, 0.12905870378017426, 0.1936618983745575, -0.06186331436038017, 0.09365721791982651, -0.17105086147785187, 0.15241152048110962, 0.3120315372943878, 0.12855444848537445, 0.15512628853321075, -0.33534783124923706, -0.43511804938316345, -0.15623386204242706, 0.2796691358089447, -0.26503708958625793, -0.18706084787845612, -0.19310513138771057, -0.1872270703315735, 0.08458518236875534, -0.22905948758125305, -0.40577515959739685, -0.05969320982694626, -0.2639757990837097, 0.15662400424480438, -0.08463042974472046, -0.1750430464744568, 0.11098277568817139, 0.2448551207780838, 0.26042333245277405, -0.44077208638191223, -0.41936466097831726, 0.06394456326961517, -0.18078398704528809, -0.07731205224990845, 0.2677631676197052, 0.057804301381111145, 0.09929293394088745, -0.3333824872970581, 0.12962202727794647, -0.2892036437988281, -0.19855013489723206, 0.1434026062488556, -0.01293577253818512, 0.29660022258758545, 0.21995949745178223, 0.3011680841445923, 0.21777866780757904, 0.1158643513917923, 0.3484784662723541, 0.13670943677425385, -0.3627202808856964, 0.029399722814559937, 0.1459604799747467, 0.3482317626476288, -0.3267204463481903, -0.09990765899419785, -0.24810342490673065, -0.406040221452713, 0.17669209837913513, 0.20296090841293335, 0.20769314467906952, 0.3621741235256195, 0.17898811399936676, 0.3158295452594757, -0.11351269483566284, 0.0233982615172863, -0.03434928506612778, -0.3535672426223755, 0.2809287905693054, -0.3583219349384308, -0.2638997733592987, 0.3455517292022705, 0.04241037368774414, 0.5873355269432068, -0.11121968924999237, -0.6491779088973999, -0.5597068667411804, 0.14242589473724365, 0.0990036129951477, -0.35061249136924744, -0.13213464617729187, 0.1587274670600891, 0.019761735573410988, 0.045712098479270935, -0.09862588346004486, -0.30576446652412415, -0.015008002519607544, -0.0742388442158699, 0.1260850578546524, 0.019702978432178497, 0.42886921763420105, -0.09892256557941437, 0.2986629903316498, 0.18304753303527832, -0.03673475608229637, 0.3860609531402588, -0.1441420465707779, 0.5095799565315247, -0.22293075919151306, -0.31425079703330994, -0.15868164598941803, 0.3462902307510376, 0.1367548704147339, 0.18870627880096436, 0.21740350127220154, 0.22386175394058228, -0.233800008893013, -0.051688943058252335, -0.5921611189842224, -0.06094980239868164, 0.08787252753973007, 0.04542899504303932, 0.057981040328741074, -0.045986149460077286, -0.10043903440237045, -0.19084949791431427, -0.1328551173210144, -0.06532847881317139, 0.5581292510032654, 0.16707223653793335, 0.11864709854125977, -0.18694958090782166, -0.10790657997131348, -0.12662580609321594, 0.26928603649139404, -0.06420113891363144, 0.35302630066871643, -0.12011794745922089, 0.17007610201835632, -0.09527625143527985, 0.01907271146774292, 0.638336181640625, -0.11930028349161148, 0.0000337548553943634, 0.13759130239486694, -0.16115236282348633, -0.4646359086036682, 0.07981711626052856, -0.048533085733652115, 0.14289507269859314, 0.0262705497443676, 0.7791109085083008, -0.28377392888069153, -0.19027474522590637, 0.05183170735836029, 0.22588489949703217, -0.1023712009191513, -0.31554320454597473, -0.21128897368907928, -0.5132689476013184, -0.22149275243282318, -0.26623812317848206, 0.008626749739050865, 0.40702134370803833, 0.3300914168357849, -0.05419324338436127, -0.023909734562039375, -0.2381611466407776, 0.0672643780708313, -0.02496090531349182, 0.39556148648262024, 0.10189557820558548, 0.07481218874454498, 0.2771018147468567, 0.15855419635772705, 0.3504355549812317, 0.6299038529396057, 0.2139226645231247, -0.3754520118236542, -0.04262536019086838, -0.17729134857654572, 0.13518410921096802, 0.12067937850952148, -0.02456522360444069, 0.004592470824718475, -0.2966713607311249, 0.06267815828323364, -0.36243242025375366, 0.18572933971881866, 0.022475427016615868, -0.051816754043102264, -0.06788873672485352, -0.23332013189792633, 0.3865802586078644, 0.09349140524864197, 0.2551097273826599, 0.2827135920524597, 0.16788464784622192, -0.36620721220970154, 0.047215089201927185, 0.03135733678936958, 0.5657368898391724, 0.12013274431228638, 0.09625190496444702, 0.5154724717140198, -0.24990227818489075, 0.6544961929321289, -0.3207877278327942, -0.03584256395697594, -0.2065768986940384, -0.007607332430779934, -0.0965958908200264, 0.04546083137392998, 0.23412927985191345, 0.18202434480190277, 0.07795962691307068, 0.3072367310523987, -0.0832081064581871, 0.1469377875328064, 0.05606463551521301, 0.2207600474357605, -0.040979087352752686, -0.27352625131607056, -0.5265708565711975, 0.08564393222332001, -0.17457255721092224, 0.40790364146232605, -0.07628277689218521, -0.20649045705795288, -0.28636831045150757, -0.23578469455242157, -0.19740955531597137, 0.16486957669258118, -0.12132523953914642, 0.0009590703994035721, 0.2412465363740921, -0.10233912616968155, -0.0061454251408576965, 0.15742211043834686, 0.14820784330368042, 0.12432263791561127, -0.20985299348831177, 0.10980115830898285, -0.5177064538002014, 0.1661631017923355, -0.17966872453689575, 0.17075197398662567, 0.23326367139816284, -0.09191013872623444, -0.007866501808166504, 0.031006112694740295, -0.2163514792919159, -0.11072465032339096, -0.01920071244239807, 0.14340844750404358, -0.22233696281909943, -0.15827198326587677, -0.3760746419429779, -0.03434670716524124, 0.12729746103286743, 0.04162741079926491, 0.039718128740787506, 0.23550310730934143, -0.15402592718601227, -0.10713308304548264, -0.10859070718288422, -0.36839941143989563, -0.04453720524907112, 0.44109243154525757, -0.2038959562778473, -0.22009332478046417, 0.5960922241210938, 0.05908535048365593, 0.1783936768770218, -0.188136488199234, 0.3268987238407135, 0.21989530324935913, -0.4300042688846588, 0.2731512784957886, 0.1506093591451645, 0.11298392713069916, -0.08131738007068634, 0.006681736558675766, 0.17349624633789062, -0.1785109043121338, 0.1211395114660263, -0.6053115129470825, -0.08728819340467453, 0.45549947023391724, -0.11889803409576416, -0.060220133513212204, -0.13390347361564636, 0.10123971104621887, 0.11545933783054352, -0.23275849223136902, -0.20728710293769836, 0.2522680461406708, -0.18128125369548798, 0.03268132731318474, 0.39539045095443726, 0.17371976375579834, 0.2817334830760956, 0.06410923600196838, 0.07326212525367737, -0.006973892450332642, -0.19259972870349884, -0.10373319685459137, -0.16061139106750488, 0.13703708350658417, 0.15145128965377808, 0.06621595472097397, 0.04804835096001625, -0.17438027262687683, -0.228267103433609, -0.10785841196775436, 0.07064799964427948, -0.1433013677597046, -0.15668341517448425, 0.13231301307678223, -0.034417975693941116, 0.2646048367023468, -0.238075852394104, 0.26101619005203247, 0.07152213156223297, 0.23960205912590027, 0.07449091225862503, 0.050471652299165726, -0.045183226466178894, 0.1200275868177414, -0.2554967403411865, 0.041952963918447495, -0.36035478115081787, -0.12345225363969803, 0.28076520562171936, -0.23732425272464752, 0.2833293676376343, 0.11569561064243317, 0.16671042144298553, 0.1091860681772232, -0.3733665943145752, 0.023846780881285667, 0.33992502093315125, 0.10978791117668152, -0.11198294907808304, 0.09955080598592758, 0.2762613892555237, 0.16894160211086273, -0.02389400824904442, 0.1481911540031433, -0.03290218859910965, 0.0005171224474906921, -0.10742254555225372, 0.09364645183086395, 0.517954409122467, 0.03758547455072403, 0.09020461142063141, 0.3356024920940399, -0.4283335506916046, 0.09704306721687317, 0.09947618842124939, 0.2366766631603241, 0.15454204380512238, 0.8223686218261719, -0.10784994810819626, 0.3810026943683624, -0.1443604826927185, 0.0029904842376708984, 0.04406452178955078, -0.5855844020843506, -0.13209472596645355, 0.3086599111557007, 0.3974270820617676, 0.12906710803508759, -0.2806937098503113, 0.17415198683738708, -0.2862776517868042, 0.06337416172027588, -0.009570244699716568, 0.010980671271681786, -0.07700571417808533, 0.022408802062273026, -0.1591116189956665, -0.12651032209396362, -0.032177556306123734, 0.026969242841005325, 0.1470838189125061, -0.34037506580352783, -0.09021466970443726, -0.04236593097448349, -0.3503574728965759, -0.3169069290161133, -0.11333873122930527, 0.41594162583351135, -0.12005447596311569, -0.09566265344619751, 0.36222201585769653, 0.36096882820129395, 0.07697426527738571, 0.08972406387329102, 0.43600165843963623, 0.38899141550064087, 0.48181432485580444, 0.13214460015296936, 0.10672225058078766, -0.16608352959156036, -0.08987648785114288, -0.1430491805076599, 0.3744954764842987, 0.04226343333721161, 0.028685666620731354, 0.07887595891952515, 0.11836448311805725, -0.029805663973093033, 0.05038261413574219, 0.05025680363178253, 0.12799233198165894, -0.2261575162410736, 0.0992879569530487, -0.41786709427833557, -0.01701980084180832, -0.2211018204689026, 0.04568779841065407, -0.4208240807056427, -0.23029613494873047, 0.3191504180431366, 0.3496664762496948, 0.05270154029130936, -0.026678673923015594, 0.017969582229852676, -0.32773488759994507, 0.2512287497520447, 0.553733766078949, 0.015170406550168991, -0.04587094485759735, -0.2444070279598236, -0.7512381672859192, 0.010971248149871826, -0.037638355046510696, -0.19422602653503418, -0.0438351146876812, 0.17576441168785095, -0.10267344862222672, -0.001287803053855896, -0.02515271306037903, -0.02270316518843174, 0.01908862218260765, -0.1633826643228531, -0.4268814027309418, -0.4373069703578949, -0.18798528611660004, 0.16168789565563202, -0.015011126175522804, -0.22612375020980835, 0.013875458389520645, -0.07372847944498062, 0.03139922022819519, -0.14574500918388367, 0.16383562982082367, -0.17745660245418549, 0.3700598180294037, 0.37301120162010193, 0.05283012241125107, 0.29742956161499023, -0.03446478396654129, -0.2887172996997833, -0.3476521670818329, -0.13412036001682281, -0.040637001395225525, 0.40597185492515564, 0.13630636036396027, 0.5701664686203003, -0.3111192584037781, 0.03590492904186249, -0.31020620465278625, 0.1656639277935028, -0.009843725711107254, -0.09077661484479904, -0.3409668803215027, 0.40434879064559937, -0.1440906524658203, 0.05553364381194115, 0.012868435122072697, 0.18416357040405273, -0.11149714887142181, 0.05821675807237625, -0.34868305921554565, -0.0862693265080452, 0.4884176552295685, -0.39428314566612244, -0.19874614477157593, 0.23022933304309845, 0.16542929410934448, -0.08623915165662766, -0.23651191592216492, -0.4514598548412323, 0.16202133893966675, 0.440642386674881, -0.021728988736867905, -0.1878698319196701, 0.14485496282577515, -0.1352129429578781, -0.153634175658226, -0.0326024554669857, -0.030141182243824005, 0.21930643916130066, -0.06184261292219162, 0.3933294117450714, -0.07488410174846649 ]
https://github.com/huggingface/datasets/issues/7001
Datasetbuilder Local Download FileNotFoundError
Ok it seems the solution is to use the directory string without the trailing "/" which in my case as: `parquet_dir = "~/data/Parquet" ` Still i think this is a weird behavior...
### Describe the bug So I was trying to download a dataset and save it as parquet and I follow the [tutorial](https://huggingface.co/docs/datasets/filesystems#download-and-prepare-a-dataset-into-a-cloud-storage) of Huggingface. However, during the excution I face a FileNotFoundError. I debug the code and it seems there is a bug there: So first it creates a .incomplete folder and before moving its contents the following code deletes the directory [Code](https://github.com/huggingface/datasets/blob/98fdc9e78e6d057ca66e58a37f49d6618aab8130/src/datasets/builder.py#L984) hence as a result I face with: ``` FileNotFoundError: [Errno 2] No such file or directory: '~/data/Parquet/.incomplete '``` ### Steps to reproduce the bug ``` from datasets import load_dataset_builder from pathlib import Path parquet_dir = "~/data/Parquet/" Path(parquet_dir).mkdir(parents=True, exist_ok=True) builder = load_dataset_builder( "rotten_tomatoes", ) builder.download_and_prepare(parquet_dir, file_format="parquet") ``` ### Expected behavior Downloads the files and saves as parquet ### Environment info Ubuntu, Python 3.10 ``` datasets 2.19.1 ```
32
Datasetbuilder Local Download FileNotFoundError ### Describe the bug So I was trying to download a dataset and save it as parquet and I follow the [tutorial](https://huggingface.co/docs/datasets/filesystems#download-and-prepare-a-dataset-into-a-cloud-storage) of Huggingface. However, during the excution I face a FileNotFoundError. I debug the code and it seems there is a bug there: So first it creates a .incomplete folder and before moving its contents the following code deletes the directory [Code](https://github.com/huggingface/datasets/blob/98fdc9e78e6d057ca66e58a37f49d6618aab8130/src/datasets/builder.py#L984) hence as a result I face with: ``` FileNotFoundError: [Errno 2] No such file or directory: '~/data/Parquet/.incomplete '``` ### Steps to reproduce the bug ``` from datasets import load_dataset_builder from pathlib import Path parquet_dir = "~/data/Parquet/" Path(parquet_dir).mkdir(parents=True, exist_ok=True) builder = load_dataset_builder( "rotten_tomatoes", ) builder.download_and_prepare(parquet_dir, file_format="parquet") ``` ### Expected behavior Downloads the files and saves as parquet ### Environment info Ubuntu, Python 3.10 ``` datasets 2.19.1 ``` Ok it seems the solution is to use the directory string without the trailing "/" which in my case as: `parquet_dir = "~/data/Parquet" ` Still i think this is a weird behavior...
[ -0.09115815162658691, 0.007688999176025391, 0.09595905244350433, 0.43190717697143555, 0.4101852774620056, -0.025620467960834503, -0.22146721184253693, -0.05176712945103645, -0.20363929867744446, 0.24639157950878143, 0.09236932545900345, 0.071162648499012, -0.008753609843552113, -0.007490910589694977, -0.03708494082093239, -0.10085330903530121, 0.0740511566400528, 0.13782177865505219, -0.18559694290161133, -0.15672561526298523, -0.2397616058588028, 0.31405678391456604, -0.05942580848932266, 0.1627378761768341, -0.11413378268480301, 0.18670539557933807, -0.3765939474105835, 0.5142728686332703, -0.2186441868543625, -0.08317074924707413, 0.19639360904693604, -0.23904713988304138, -0.1072862446308136, 0.5607523322105408, -0.0001239652483491227, 0.16797542572021484, 0.3173815608024597, -0.02245754934847355, -0.5664638876914978, -0.6238278150558472, -0.11988256126642227, -0.09741710126399994, 0.11633733659982681, -0.11491024494171143, 0.0904921367764473, -0.1200195923447609, 0.26786521077156067, -0.10734453797340393, 0.25477758049964905, 0.2038884311914444, 0.10684898495674133, 0.1077217310667038, 0.055021245032548904, 0.07006619870662689, 0.000284828245639801, 0.6100411415100098, -0.09385187923908234, 0.22979357838630676, -0.042951568961143494, 0.046916402876377106, 0.0735180526971817, 0.08651788532733917, -0.07811493426561356, 0.003603540360927582, 0.377505362033844, 0.4102790057659149, 0.031893812119960785, -0.3079688847064972, 0.07274186611175537, 0.18119938671588898, 0.4306420683860779, -0.38658618927001953, -0.5919078588485718, -0.44040918350219727, 0.03664083778858185, -0.1573806256055832, 0.39798644185066223, 0.29670679569244385, -0.15864452719688416, 0.18653666973114014, -0.17309007048606873, -0.19405212998390198, -0.15478213131427765, 0.10959717631340027, 0.11823584139347076, 0.1264537274837494, -0.263008713722229, 0.006497114896774292, -0.25531765818595886, 0.02202071249485016, -0.3496916592121124, -0.6065689921379089, 0.062372177839279175, 0.3463800847530365, 0.2673289477825165, 0.1741885244846344, -0.006743624806404114, 0.38137322664260864, 0.15496641397476196, 0.07779169082641602, -0.16935968399047852, -0.23155757784843445, -0.17246520519256592, 0.06324131041765213, 0.25071513652801514, -0.023603085428476334, 0.1866423338651657, 0.1480650007724762, 0.056274425238370895, 0.26929399371147156, 0.18420925736427307, -0.1489151120185852, 0.12201819568872452, -0.062470387667417526, -0.2988984286785126, -0.18259084224700928, 0.5888659358024597, -0.11325522512197495, -0.39743730425834656, 0.2225571870803833, 0.018566802144050598, 0.13146980106830597, 0.0978286862373352, 0.3290666341781616, -0.1411731243133545, -0.27678704261779785, 0.03732027858495712, 0.41989564895629883, -0.10731013119220734, 0.13488520681858063, -0.21230760216712952, -0.06903791427612305, -0.08805951476097107, -0.08757858723402023, -0.11231473088264465, -0.3890375792980194, 0.35465848445892334, 0.14575743675231934, 0.19352979958057404, -0.014395851641893387, -0.17374128103256226, -0.0598430335521698, 0.0587044358253479, 0.26708415150642395, -0.20321354269981384, 0.25508826971054077, 0.013208013027906418, -0.4380335807800293, -0.024693261831998825, 0.0454549565911293, -0.2632473409175873, -0.2379762828350067, -0.33236798644065857, 0.05684206262230873, -0.19111716747283936, 0.056992411613464355, -0.3539935052394867, -0.042987462133169174, -0.06789674609899521, -0.11124083399772644, 0.10576467216014862, 0.18375366926193237, -0.4654373526573181, -0.2005586177110672, 0.3597750961780548, 0.8228543400764465, -0.1606784164905548, -0.27921581268310547, -0.16704942286014557, -0.2544231116771698, 0.34397026896476746, 0.24349012970924377, 0.009813855402171612, 0.3291361927986145, -0.6496641039848328, 0.29509276151657104, 0.5359405875205994, -0.2844330966472626, -0.12391866743564606, 0.5942607522010803, -0.34379351139068604, 0.20214058458805084, 0.08755190670490265, -0.19464346766471863, -0.2337125688791275, -0.08777795732021332, -0.07961836457252502, 0.09306663274765015, -0.0718030333518982, 0.033077046275138855, -0.2984153926372528, -0.21118533611297607, 0.1356690526008606, 0.023190811276435852, -0.07212948799133301, 0.13453033566474915, 0.1663694530725479, 0.000305958092212677, 0.38048073649406433, -0.111517533659935, 0.30644601583480835, 0.3387150764465332, 0.22817063331604004, 0.2550210952758789, -0.18322139978408813, -0.25710123777389526, -0.6815962791442871, 0.21202433109283447, -0.1013987734913826, -0.15842607617378235, -0.37498795986175537, -0.09661473333835602, -0.09501923620700836, 0.02288840524852276, -0.34430354833602905, -0.08928266167640686, -0.015606246888637543, 0.19988977909088135, 0.04701590910553932, 0.23636706173419952, -0.2794688045978546, 0.31001296639442444, -0.23022966086864471, 0.30025556683540344, -0.22305281460285187, 0.475553035736084, 0.04801429808139801, -0.22295702993869781, -0.2903301417827606, 0.07668425142765045, 0.13990050554275513, -0.3123336732387543, 0.04875941574573517, 0.6595582962036133, -0.02792481519281864, 0.33988556265830994, 0.01777372881770134, -0.13515760004520416, 0.17391052842140198, 0.21930375695228577, -0.10948651283979416, 0.11001788079738617, 0.26066356897354126, 0.06627770513296127, -0.3655936121940613, 0.20636732876300812, 0.039937958121299744, 0.3214356005191803, 0.10206738114356995, -0.27428215742111206, 0.03519657254219055, 0.0841529369354248, -0.060554198920726776, -0.2759351134300232, 0.521131157875061, 0.062343157827854156, 0.31603285670280457, 0.08689974248409271, -0.4091015160083771, -0.1938931941986084, 0.05117904767394066, -0.14718745648860931, 0.015382643789052963, 0.35146191716194153, -0.008093617856502533, 0.03683377057313919, -0.11679232120513916, 0.17725610733032227, 0.608912467956543, -0.07100488245487213, 0.11748437583446503, 0.3098834753036499, 0.07895249128341675, -0.19435535371303558, 0.2224006950855255, 0.2861905097961426, -0.004191966261714697, 0.49850329756736755, 0.09725414216518402, 0.024844706058502197, -0.33756110072135925, -0.0728072077035904, 0.005035795271396637, 0.02861517295241356, -0.38293495774269104, 0.21552163362503052, -0.3757648468017578, -0.30960720777511597, -0.4420439302921295, 0.07801619917154312, -0.3197331428527832, -0.14533443748950958, -0.11802041530609131, 0.19519388675689697, -0.2514471113681793, -0.1333916336297989, -0.04120514169335365, -0.08788599073886871, -0.24041035771369934, -0.4831034541130066, -0.23747943341732025, 0.2840544581413269, -0.17927926778793335, -0.10958415269851685, 0.36452823877334595, 0.023867106065154076, 0.06114852428436279, -0.34852099418640137, -0.07664766907691956, -0.6157877445220947, -0.17155733704566956, 0.25245052576065063, -0.04471801221370697, 0.42808952927589417, 0.533846378326416, 0.0019460394978523254, -0.03496711328625679, -0.1858195662498474, 0.3561283349990845, -0.018572943285107613, -0.2859123647212982, 0.08182588964700699, 0.1892675757408142, 0.04629376158118248, -0.25666993856430054, -0.08150549978017807, -0.12993380427360535, -0.19091655313968658, 0.41182172298431396, 0.16668899357318878, -0.03491969406604767, 0.06468963623046875, 0.021524373441934586, 0.15829260647296906, -0.37164121866226196, 0.0011317962780594826, 0.04041352495551109, -0.6217806339263916, 0.17060841619968414, -0.05701405182480812, -0.15529538691043854, 0.13307607173919678, -0.08080330491065979, -0.02649451419711113, -0.12136411666870117, -0.31894785165786743, -0.18907755613327026, -0.018594840541481972, 0.1406863033771515, -0.13375313580036163, 0.15012304484844208, 0.3161095976829529, -0.18431083858013153, 0.09144465625286102, -0.19293323159217834, -0.14070124924182892, 0.09201061725616455, 0.3571462333202362, 0.2504633367061615, -0.1869935691356659, 0.43795013427734375, -0.09065458178520203, 0.6119682788848877, 0.05074000731110573, 0.134004607796669, 0.39798837900161743, -0.17032989859580994, 0.5948014259338379, -0.39816439151763916, -0.05857106298208237, 0.21338877081871033, 0.24487125873565674, -0.3804115056991577, 0.3119145631790161, 0.2626894414424896, 0.3711784780025482, -0.07438299059867859, -0.18441323935985565, -0.23904812335968018, -0.16102172434329987, -0.15158866345882416, 0.3045101463794708, -0.07963310927152634, 0.1887778788805008, -0.009088069200515747, 0.1307508945465088, -0.07650786638259888, 0.03083345666527748, 0.578343391418457, 0.35061874985694885, 0.10860998928546906, -0.03357603773474693, -0.04303280636668205, -0.2474079430103302, 0.09806510806083679, 0.30693140625953674, -0.14317435026168823, -0.09206198155879974, 0.025000452995300293, 0.07417396456003189, 0.015978733077645302, 0.6113867163658142, -0.04352816194295883, 0.08567168563604355, -0.23577368259429932, -0.06725409626960754, -0.40635591745376587, -0.0658470094203949, 0.06085534766316414, 0.3370930552482605, 0.01138494536280632, 0.5631027221679688, -0.3556142747402191, -0.1768646091222763, 0.1039222702383995, 0.36121299862861633, -0.08622592687606812, 0.009478424675762653, -0.48686978220939636, -0.3107598125934601, -0.33332690596580505, 0.023594163358211517, 0.10959618538618088, 0.17536304891109467, 0.37730297446250916, 0.24473319947719574, -0.021798746660351753, 0.041469089686870575, -0.2059945911169052, -0.3338126540184021, 0.3550430238246918, -0.18832509219646454, 0.0349285714328289, 0.21081943809986115, 0.22665686905384064, 0.28145793080329895, 0.6061495542526245, 0.03903699293732643, -0.2878914773464203, 0.17388027906417847, -0.24196115136146545, 0.41188812255859375, 0.3198823928833008, -0.056148458272218704, -0.07965228706598282, 0.13760903477668762, 0.2592407464981079, -0.4714629650115967, 0.15447159111499786, 0.46913832426071167, -0.2128981351852417, -0.06706682592630386, -0.0828121230006218, 0.4448527991771698, -0.06100635230541229, -0.0027797818183898926, 0.31512656807899475, 0.6161875128746033, -0.3371362090110779, 0.10991071164608002, 0.013357363641262054, 0.8618897199630737, 0.1686154305934906, 0.33316221833229065, 0.23326000571250916, -0.47665178775787354, 0.5044833421707153, -0.15936583280563354, 0.012030424550175667, -0.2082759588956833, -0.23410029709339142, -0.11355371028184891, -0.008250124752521515, 0.33092665672302246, 0.005937948822975159, -0.011433001607656479, 0.515943169593811, -0.14118874073028564, 0.3748003840446472, -0.03152500092983246, 0.0686919316649437, -0.24458765983581543, -0.11666466295719147, -0.2052614539861679, -0.004666591063141823, 0.1577325463294983, 0.37928715348243713, -0.23450663685798645, 0.039869800209999084, -0.10251347720623016, -0.12635044753551483, -0.09001822769641876, 0.14147517085075378, -0.31260061264038086, -0.13341441750526428, 0.13379861414432526, -0.31126970052719116, -0.04986601695418358, 0.4900061786174774, 0.1890026330947876, 0.04608902707695961, -0.24010509252548218, 0.13260811567306519, -0.34066760540008545, 0.22532907128334045, -0.10161487758159637, -0.1904226392507553, -0.045319072902202606, 0.01260029524564743, 0.20350271463394165, -0.3557398319244385, -0.4267925024032593, 0.07529553025960922, -0.018520206212997437, -0.08954726159572601, 0.055916089564561844, -0.20789064466953278, -0.29421088099479675, -0.23270732164382935, 0.19520443677902222, -0.11710718274116516, -0.02728119120001793, 0.1550443321466446, -0.22363826632499695, -0.42748144268989563, -0.09371007978916168, -0.44636276364326477, -0.2306840568780899, 0.45021912455558777, -0.3618986904621124, 0.04860294610261917, 0.5788860321044922, -0.1319730579853058, -0.12683892250061035, -0.08707909286022186, 0.20653828978538513, 0.12948520481586456, -0.36395663022994995, 0.13425606489181519, 0.06436153501272202, 0.21421854197978973, -0.22625602781772614, 0.24394482374191284, 0.05820118635892868, -0.3639576733112335, -0.14306847751140594, -0.2850806713104248, -0.17736735939979553, -0.02157536894083023, 0.042424920946359634, 0.006834082305431366, 0.025368541479110718, 0.020822882652282715, 0.4678739309310913, -0.4691019058227539, -0.1484299600124359, 0.10551375895738602, -0.09496544301509857, 0.128688246011734, 0.38165774941444397, 0.3955152630805969, 0.3402034640312195, -0.22867675125598907, 0.023866446688771248, 0.047789476811885834, -0.05317285656929016, -0.04910723865032196, -0.11770859360694885, 0.16533061861991882, 0.2227691113948822, 0.084904246032238, 0.07574368268251419, 0.04991752654314041, 0.019787155091762543, -0.1765175461769104, 0.06969253718852997, 0.19578257203102112, 0.03794277831912041, -0.07909918576478958, 0.4477657377719879, 0.15316569805145264, -0.19496746361255646, 0.005006436258554459, -0.11178451776504517, 0.3526456356048584, -0.08883218467235565, -0.06358221173286438, -0.19273145496845245, 0.022118613123893738, 0.1865679919719696, -0.08087139576673508, 0.04496815800666809, 0.2037515640258789, 0.15100687742233276, -0.3754463195800781, -0.03442643582820892, 0.06938549131155014, 0.506632924079895, 0.4153602123260498, -0.11977118998765945, -0.12914162874221802, 0.4459916651248932, 0.06089194118976593, -0.04416957125067711, -0.144599050283432, 0.25258514285087585, 0.05458027124404907, -0.014209970831871033, 0.18700796365737915, -0.221043661236763, 0.049427956342697144, -0.19587890803813934, 0.1502610146999359, 0.37172114849090576, -0.12157261371612549, 0.03832881525158882, 0.332501620054245, -0.05854763463139534, 0.33087795972824097, 0.17776691913604736, 0.0756940022110939, 0.18590626120567322, 0.5538725256919861, -0.009697474539279938, 0.20126086473464966, 0.014149414375424385, 0.16023953258991241, 0.020423710346221924, -0.3437651991844177, 0.03218914195895195, 0.2522481381893158, 0.0973142459988594, -0.05176219344139099, 0.0348641574382782, 0.18250927329063416, -0.09031134843826294, -0.16619665920734406, -0.08636690676212311, 0.19013947248458862, -0.27153483033180237, -0.3248807191848755, -0.027780763804912567, -0.210026353597641, 0.14363621175289154, 0.16914069652557373, -0.14867578446865082, -0.17965514957904816, 0.03126139938831329, -0.0061088502407073975, 0.07870164513587952, -0.20743948221206665, 0.06046304106712341, 0.11717767268419266, 0.05621914938092232, -0.30892616510391235, 0.2528345584869385, 0.18735885620117188, -0.168394535779953, -0.0423649437725544, 0.26590225100517273, 0.38706475496292114, 0.184105783700943, -0.13178740441799164, -0.007629343308508396, -0.04039643704891205, 0.03178650885820389, -0.02844548039138317, 0.3075511157512665, -0.2982214689254761, 0.22211554646492004, 0.42266422510147095, 0.12462738156318665, -0.052611492574214935, 0.20653310418128967, 0.2905019223690033, 0.1558026671409607, -0.3572462499141693, 0.38438910245895386, -0.3182770907878876, 0.06311400979757309, -0.11928896605968475, 0.022702418267726898, -0.35004857182502747, -0.005077752284705639, 0.09387463331222534, 0.05335598438978195, 0.26805350184440613, 0.22936901450157166, 0.01897871494293213, 0.2193530797958374, 0.23503731191158295, 0.568356990814209, -0.12057968229055405, -0.4389587342739105, -0.20276403427124023, -0.6649175882339478, 0.04333285987377167, -0.054714929312467575, 0.060373492538928986, -0.07464491575956345, 0.21743109822273254, -0.22098487615585327, 0.00746527872979641, -0.12432804703712463, 0.3091788589954376, -0.08569451421499252, 0.13662803173065186, 0.08603644371032715, -0.34678056836128235, -0.22497041523456573, -0.0604902058839798, 0.04629546403884888, -0.33924663066864014, 0.1256994754076004, -0.18671521544456482, -0.07173293828964233, 0.11694525182247162, 0.15116269886493683, -0.3010368049144745, -0.2713383436203003, 0.2593976557254791, 0.09062932431697845, -0.14776797592639923, -0.2757449150085449, -0.30881863832473755, -0.1755761355161667, -0.068545401096344, -0.21299393475055695, 0.2992003560066223, -0.2411167323589325, 0.4145250618457794, -0.48127537965774536, 0.03201087564229965, -0.4311949908733368, -0.1606871336698532, 0.323517382144928, 0.23448872566223145, -0.3522128760814667, 0.2979702651500702, -0.2801501154899597, 0.19169040024280548, 0.00700004119426012, 0.0632958859205246, -0.11547349393367767, 0.11278408765792847, -0.11738982796669006, -0.2597217857837677, 0.6109679937362671, -0.12099847197532654, -0.19861818850040436, -0.005410436540842056, 0.15607185661792755, 0.49440622329711914, -0.29102662205696106, -0.486837238073349, 0.13118627667427063, 0.4200669527053833, 0.008887292817234993, -0.21815358102321625, -0.14994673430919647, -0.18491429090499878, -0.1183430552482605, -0.05795273929834366, 0.2893867492675781, 0.1855265200138092, -0.23875181376934052, 0.553507924079895, -0.2690674066543579 ]
https://github.com/huggingface/datasets/issues/6995
ImportError when importing datasets.load_dataset
What is the version of your installed `huggingface-hub`: ```python import huggingface_hub print(huggingface_hub.__version__) ``` It seems you have a very old version of `huggingface-hub`, where `CommitInfo` was not still implemented. You need to update it: ``` pip install -U huggingface-hub ``` Note that `CommitInfo` was implemented in huggingface-hub 0.10.0 and datasets requires "huggingface-hub>=0.21.2"
### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install git+https://github.com/huggingface/datasets 2. from datasets import load_dataset ### Expected behavior ImportError Traceback (most recent call last) Cell In[7], [line 1](vscode-notebook-cell:?execution_count=7&line=1) ----> [1](vscode-notebook-cell:?execution_count=7&line=1) from datasets import load_dataset [3](vscode-notebook-cell:?execution_count=7&line=3) train_set = load_dataset("mispeech/speechocean762", split="train") [4](vscode-notebook-cell:?execution_count=7&line=4) test_set = load_dataset("mispeech/speechocean762", split="test") File d:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\__init__.py:[1](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:1)7 1 # Copyright 2020 The HuggingFace Datasets Authors and the TensorFlow Datasets Authors. [2](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:2) # [3](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:3) # Licensed under the Apache License, Version 2.0 (the "License"); (...) [12](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:12) # See the License for the specific language governing permissions and [13](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:13) # limitations under the License. [15](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:15) __version__ = "2.20.1.dev0" ---> [17](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:17) from .arrow_dataset import Dataset [18](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:18) from .arrow_reader import ReadInstruction [19](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:19) from .builder import ArrowBasedBuilder, BeamBasedBuilder, BuilderConfig, DatasetBuilder, GeneratorBasedBuilder File d:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\arrow_dataset.py:63 [61](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:61) import pyarrow.compute as pc [62](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:62) from fsspec.core import url_to_fs ---> [63](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:63) from huggingface_hub import ( [64](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:64) CommitInfo, [65](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:65) CommitOperationAdd, ... [70](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:70) ) [71](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:71) from huggingface_hub.hf_api import RepoFile [72](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:72) from multiprocess import Pool ImportError: cannot import name 'CommitInfo' from 'huggingface_hub' (d:\Anaconda3\envs\CS224S\Lib\site-packages\huggingface_hub\__init__.py) Output is truncated. View as a [scrollable element](command:cellOutput.enableScrolling?580889ab-0f61-4f37-9214-eaa2b3807f85) or open in a [text editor](command:workbench.action.openLargeOutput?580889ab-0f61-4f37-9214-eaa2b3807f85). Adjust cell output [settings](command:workbench.action.openSettings?%5B%22%40tag%3AnotebookOutputLayout%22%5D)... ### Environment info Leo@DESKTOP-9NHUAMI MSYS /d/Anaconda3/envs/CS224S/Lib/site-packages/huggingface_hub $ datasets-cli env Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "D:\Anaconda3\envs\CS224S\Scripts\datasets-cli.exe\__main__.py", line 4, in <module> File "D:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\__init__.py", line 17, in <module> from .arrow_dataset import Dataset File "D:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\arrow_dataset.py", line 63, in <module> from huggingface_hub import ( ImportError: cannot import name 'CommitInfo' from 'huggingface_hub' (D:\Anaconda3\envs\CS224S\Lib\site-packages\huggingface_hub\__init__.py) (CS224S)
52
ImportError when importing datasets.load_dataset ### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install git+https://github.com/huggingface/datasets 2. from datasets import load_dataset ### Expected behavior ImportError Traceback (most recent call last) Cell In[7], [line 1](vscode-notebook-cell:?execution_count=7&line=1) ----> [1](vscode-notebook-cell:?execution_count=7&line=1) from datasets import load_dataset [3](vscode-notebook-cell:?execution_count=7&line=3) train_set = load_dataset("mispeech/speechocean762", split="train") [4](vscode-notebook-cell:?execution_count=7&line=4) test_set = load_dataset("mispeech/speechocean762", split="test") File d:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\__init__.py:[1](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:1)7 1 # Copyright 2020 The HuggingFace Datasets Authors and the TensorFlow Datasets Authors. [2](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:2) # [3](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:3) # Licensed under the Apache License, Version 2.0 (the "License"); (...) [12](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:12) # See the License for the specific language governing permissions and [13](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:13) # limitations under the License. [15](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:15) __version__ = "2.20.1.dev0" ---> [17](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:17) from .arrow_dataset import Dataset [18](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:18) from .arrow_reader import ReadInstruction [19](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:19) from .builder import ArrowBasedBuilder, BeamBasedBuilder, BuilderConfig, DatasetBuilder, GeneratorBasedBuilder File d:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\arrow_dataset.py:63 [61](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:61) import pyarrow.compute as pc [62](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:62) from fsspec.core import url_to_fs ---> [63](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:63) from huggingface_hub import ( [64](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:64) CommitInfo, [65](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:65) CommitOperationAdd, ... [70](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:70) ) [71](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:71) from huggingface_hub.hf_api import RepoFile [72](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:72) from multiprocess import Pool ImportError: cannot import name 'CommitInfo' from 'huggingface_hub' (d:\Anaconda3\envs\CS224S\Lib\site-packages\huggingface_hub\__init__.py) Output is truncated. View as a [scrollable element](command:cellOutput.enableScrolling?580889ab-0f61-4f37-9214-eaa2b3807f85) or open in a [text editor](command:workbench.action.openLargeOutput?580889ab-0f61-4f37-9214-eaa2b3807f85). Adjust cell output [settings](command:workbench.action.openSettings?%5B%22%40tag%3AnotebookOutputLayout%22%5D)... ### Environment info Leo@DESKTOP-9NHUAMI MSYS /d/Anaconda3/envs/CS224S/Lib/site-packages/huggingface_hub $ datasets-cli env Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "D:\Anaconda3\envs\CS224S\Scripts\datasets-cli.exe\__main__.py", line 4, in <module> File "D:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\__init__.py", line 17, in <module> from .arrow_dataset import Dataset File "D:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\arrow_dataset.py", line 63, in <module> from huggingface_hub import ( ImportError: cannot import name 'CommitInfo' from 'huggingface_hub' (D:\Anaconda3\envs\CS224S\Lib\site-packages\huggingface_hub\__init__.py) (CS224S) What is the version of your installed `huggingface-hub`: ```python import huggingface_hub print(huggingface_hub.__version__) ``` It seems you have a very old version of `huggingface-hub`, where `CommitInfo` was not still implemented. You need to update it: ``` pip install -U huggingface-hub ``` Note that `CommitInfo` was implemented in huggingface-hub 0.10.0 and datasets requires "huggingface-hub>=0.21.2"
[ -0.27894434332847595, -0.16736024618148804, -0.019220074638724327, 0.3342856764793396, 0.27266108989715576, 0.03040923923254013, 0.09082164615392685, 0.2282353639602661, 0.17126117646694183, 0.17551535367965698, -0.1372210830450058, -0.05400799587368965, -0.09396711736917496, 0.360289067029953, 0.12434577941894531, 0.005006603896617889, 0.12808147072792053, 0.10453158617019653, -0.32645416259765625, 0.03226712346076965, 0.027435041964054108, 0.3324785828590393, -0.16254878044128418, -0.02516120672225952, -0.17623841762542725, 0.13178876042366028, 0.07487676292657852, 0.2014921009540558, -0.15261243283748627, -0.37306883931159973, 0.496562123298645, -0.05030979588627815, 0.2624428868293762, 0.8011267781257629, -0.00011643387551885098, 0.20230837166309357, 0.3011913299560547, -0.08441581577062607, -0.28676342964172363, -0.40815216302871704, -0.35243433713912964, -0.2522900402545929, -0.06288490444421768, 0.1175042912364006, 0.15387120842933655, 0.2156471163034439, -0.16368497908115387, -0.4426882565021515, 0.47464239597320557, 0.4239335358142853, 0.18507763743400574, 0.6043593883514404, 0.38722318410873413, -0.18655899167060852, -0.08471106737852097, 0.2893674969673157, -0.10771481692790985, 0.29228124022483826, -0.1921236217021942, -0.16289038956165314, 0.3755631446838379, 0.2741278409957886, 0.04805383086204529, -0.05464545264840126, 0.3861982226371765, -0.05367255210876465, 0.2367270290851593, -0.40914076566696167, -0.21563896536827087, 0.0781802088022232, 0.2472429871559143, -0.32239800691604614, -0.3736785352230072, -0.3851383626461029, 0.11469395458698273, -0.14484310150146484, 0.16136130690574646, -0.010631471872329712, -0.12953968346118927, 0.2503260672092438, -0.08937691897153854, -0.16862335801124573, -0.23523841798305511, -0.07860417664051056, -0.16890397667884827, -0.24771380424499512, -0.19370441138744354, 0.025626223534345627, 0.2870190441608429, -0.11628986895084381, -0.09282860159873962, 0.017308920621871948, -0.06477588415145874, 0.2333678901195526, -0.49477702379226685, 0.10862007737159729, 0.09501191973686218, -0.019812554121017456, 0.20851930975914001, -0.05275052785873413, -0.17305560410022736, -0.15166476368904114, -0.12985490262508392, 0.21739459037780762, 0.18690817058086395, 0.2951136529445648, 0.2797202467918396, 0.08350075036287308, 0.2919372320175171, 0.15547563135623932, 0.13181334733963013, 0.06298337876796722, -0.07978954166173935, -0.12562334537506104, -0.09092165529727936, -0.11865677684545517, 0.49332088232040405, -0.09190911054611206, -0.4621267318725586, 0.2429589182138443, -0.09828197956085205, -0.05409148335456848, -0.011850002221763134, 0.33606061339378357, -0.10436802357435226, 0.12282034754753113, 0.20182116329669952, 0.1638338416814804, -0.08898216485977173, -0.32468879222869873, -0.2845631241798401, 0.03913244605064392, -0.06468532234430313, 0.08087842911481857, 0.019699089229106903, -0.5657477974891663, 0.220217764377594, -0.040382567793130875, 0.409213125705719, -0.19291360676288605, -0.20215512812137604, -0.053438700735569, -0.02422693371772766, 0.30874133110046387, -0.04779095575213432, 0.2389332801103592, 0.3445711135864258, -0.4027344584465027, -0.1097736582159996, -0.09495557099580765, -0.2589908242225647, -0.2564687728881836, -0.21754629909992218, 0.16348864138126373, -0.4365699291229248, -0.06609635800123215, -0.5037850737571716, -0.17224016785621643, -0.021710999310016632, 0.18562248349189758, -0.08797041326761246, -0.26149994134902954, -0.030484527349472046, -0.07946053892374039, 0.35347846150398254, 0.6050916910171509, -0.13984809815883636, -0.38209930062294006, 0.13833650946617126, -0.3178138732910156, -0.15161728858947754, 0.23977074027061462, -0.06591380387544632, 0.38677534461021423, -0.13006660342216492, 0.06636515259742737, 0.07763997465372086, -0.7478536367416382, -0.45561060309410095, 0.06491454690694809, -0.16840410232543945, 0.1972726285457611, -0.0940740630030632, -0.04115737974643707, 0.0498281791806221, 0.10438308119773865, 0.24881114065647125, 0.253650426864624, -0.020633867010474205, 0.011147139593958855, 0.021202247589826584, -0.1575770229101181, 0.04413323476910591, 0.1412234753370285, 0.012813381850719452, -0.005160592496395111, 0.027787499129772186, 0.019376669079065323, 0.1639484316110611, -0.01802893355488777, 0.02947171777486801, 0.43112945556640625, 0.29058021306991577, 0.2442508488893509, -0.01761735789477825, -0.2024267315864563, -0.47045743465423584, 0.265784353017807, 0.10523447394371033, 0.17694319784641266, -0.21026207506656647, -0.11166948825120926, -0.42148131132125854, 0.2953658998012543, -0.16693516075611115, -0.11734534800052643, 0.04519796371459961, 0.031328149139881134, 0.008383888751268387, 0.2719246745109558, -0.2364957183599472, 0.7931470274925232, -0.12844912707805634, 0.3926737904548645, -0.4407171308994293, 0.4372295141220093, -0.07517699897289276, -0.20540519058704376, 0.1911446750164032, 0.2573515772819519, 0.03575386852025986, -0.3256315588951111, 0.014565462246537209, 0.3570038974285126, -0.021771473810076714, 0.3718622326850891, -0.22782862186431885, -0.02643534541130066, 0.20351064205169678, -0.1204412579536438, -0.21338367462158203, -0.24636976420879364, 0.09000460803508759, 0.01690627634525299, 0.08764378726482391, 0.11572591215372086, -0.11835436522960663, 0.23070034384727478, -0.013046786189079285, 0.06128709763288498, 0.20775896310806274, 0.11759528517723083, -0.23821407556533813, -0.28979218006134033, 0.33075764775276184, -0.07606068253517151, 0.07092399895191193, -0.014478372409939766, -0.06921062618494034, -0.17916536331176758, 0.3035053610801697, 0.1225786954164505, -0.030290380120277405, 0.010155878961086273, -0.2701594829559326, 0.26264047622680664, 0.14431077241897583, 0.1022224873304367, 0.44780147075653076, 0.031938351690769196, -0.2849365472793579, 0.22869430482387543, 0.1995144486427307, -0.044965967535972595, 0.11350692063570023, 0.15009130537509918, 0.2193153202533722, 0.12893620133399963, 0.040596142411231995, 0.05344976484775543, -0.16514360904693604, -0.05511188507080078, -0.17349782586097717, 0.31947940587997437, -0.5009877681732178, 0.10856207460165024, -0.2820127010345459, -0.4769996106624603, -0.291625052690506, -0.24593190848827362, -0.34387239813804626, -0.24370808899402618, -0.4593442678451538, 0.22620844841003418, 0.004350196570158005, 0.08559349924325943, 0.07304264605045319, 0.03735269606113434, 0.06830868870019913, -0.08602694422006607, -0.051077861338853836, 0.022998139262199402, 0.007692808285355568, -0.014704828150570393, 0.2626611292362213, -0.07526817172765732, 0.2837904691696167, -0.25557592511177063, 0.19378820061683655, -0.2139953374862671, -0.4072776138782501, 0.18571420013904572, -0.3757055401802063, 0.38909584283828735, 0.19343195855617523, 0.3295252025127411, 0.07939010113477707, -0.23984487354755402, 0.17797677218914032, -0.046001970767974854, -0.24390937387943268, -0.056983787566423416, 0.054076772183179855, -0.09643403440713882, -0.08439309895038605, -0.1056533232331276, -0.3698933720588684, -0.40296897292137146, 0.35082191228866577, 0.1456616371870041, -0.05688121169805527, 0.40604889392852783, 0.0603158064186573, 0.29366371035575867, -0.15757128596305847, 0.05077202618122101, 0.02605021931231022, -0.3271077871322632, 0.24321822822093964, -0.19061289727687836, -0.384245902299881, 0.12265026569366455, 0.128795325756073, 0.24776588380336761, -0.2162082940340042, -0.44478172063827515, -0.2132387012243271, -0.17148487269878387, 0.30524125695228577, 0.015009557828307152, 0.07801003009080887, 0.11396858096122742, -0.12846486270427704, 0.09501193463802338, -0.09827807545661926, -0.23566322028636932, 0.10246268659830093, 0.18739116191864014, -0.03761311620473862, -0.061455823481082916, 0.40123263001441956, -0.06389272212982178, 0.2624044418334961, 0.37623995542526245, 0.0034667961299419403, 0.2737247049808502, -0.020019007846713066, 0.545191764831543, -0.09979140013456345, -0.41477495431900024, -0.08395504951477051, 0.037743471562862396, 0.14447176456451416, 0.002209499478340149, -0.09056016057729721, 0.27255484461784363, -0.1865721493959427, -0.24698014557361603, 0.019121095538139343, -0.26954415440559387, -0.06730414927005768, -0.0033272430300712585, 0.1701071709394455, -0.03566557914018631, -0.2312830090522766, -0.0952989012002945, 0.06222961097955704, 0.14142553508281708, 0.35010647773742676, 0.06097717210650444, 0.10145184397697449, -0.3265358805656433, -0.09254733473062515, -0.5708662867546082, 0.09620225429534912, 0.06497976183891296, 0.2830594778060913, 0.010720405727624893, -0.12616172432899475, -0.11487686634063721, 0.16562867164611816, 0.49437129497528076, 0.16002504527568817, -0.18461106717586517, -0.03230001777410507, -0.2147470861673355, -0.5691664218902588, -0.13325929641723633, -0.0536818727850914, 0.1978607177734375, 0.266618549823761, 0.4695710241794586, -0.28890374302864075, -0.10574118047952652, 0.2743356227874756, 0.29051390290260315, -0.09195373207330704, -0.12351510673761368, -0.36083996295928955, -0.2848183214664459, -0.4945104420185089, -0.06053449958562851, 0.181472048163414, 0.28099068999290466, 0.2577614188194275, 0.16511639952659607, -0.07168379426002502, -0.24877595901489258, 0.27333301305770874, 0.09868162870407104, 0.08066683262586594, 0.12183624505996704, 0.2797902822494507, 0.43786633014678955, -0.106019988656044, 0.34491804242134094, 0.6368710398674011, -0.06929711997509003, -0.7161204218864441, -0.13763290643692017, 0.07451853156089783, 0.26395943760871887, 0.15451543033123016, -0.10350008308887482, 0.19991832971572876, 0.016235610470175743, 0.05794426053762436, -0.3656899929046631, 0.25156307220458984, 0.15472443401813507, 0.2917303442955017, -0.24253830313682556, -0.3759859800338745, 0.2776978015899658, -0.014850378036499023, 0.07777301967144012, 0.3027245104312897, 0.5008262991905212, -0.15401747822761536, 0.003732161596417427, -0.16100379824638367, 0.747112512588501, 0.22008398175239563, -0.09011854231357574, 0.49241459369659424, 0.058054156601428986, 0.41542109847068787, 0.0318513885140419, -0.09553874284029007, -0.3520078659057617, -0.32163476943969727, -0.05848215892910957, -0.23288238048553467, 0.39857491850852966, -0.5671111345291138, -0.11684927344322205, 0.040152646601200104, -0.09624546021223068, 0.25252488255500793, 0.055685244500637054, 0.13940437138080597, -0.10468173027038574, -0.28869733214378357, -0.31488507986068726, 0.1030312329530716, 0.03332856670022011, 0.4931873381137848, -0.13402633368968964, -0.1426599621772766, -0.32096919417381287, -0.09321971237659454, -0.20782852172851562, -0.021515777334570885, -0.2473122477531433, 0.1495046764612198, 0.2146262526512146, -0.009644076228141785, 0.1505635380744934, 0.49356895685195923, 0.5557733178138733, -0.05659380927681923, -0.2397596836090088, -0.038644324988126755, -0.33688461780548096, -0.03184761106967926, 0.17243868112564087, -0.13353882730007172, 0.2590067982673645, -0.13947422802448273, -0.16707563400268555, 0.13957080245018005, 0.07155942171812057, -0.18916107714176178, 0.00938647985458374, 0.1055372804403305, -0.049211643636226654, -0.2002391517162323, -0.1053299605846405, 0.06688056886196136, 0.2769036293029785, -0.08149732649326324, 0.08148349821567535, 0.2383250892162323, -0.1827184110879898, 0.020071804523468018, 0.08910246193408966, -0.35420334339141846, -0.0828046053647995, 0.5305526852607727, -0.019564732909202576, -0.10703589022159576, 0.515172004699707, 0.13192877173423767, -0.10232927650213242, -0.06637369096279144, 0.16763830184936523, 0.22603684663772583, -0.4552140235900879, 0.14733722805976868, -0.08973848074674606, 0.018547147512435913, -0.11579931527376175, 0.22574323415756226, 0.17719098925590515, -0.41256752610206604, -0.04710600897669792, -0.30070507526397705, -0.2916954457759857, 0.24445122480392456, -0.04111852869391441, 0.040655069053173065, 0.1563921570777893, 0.1704418659210205, -0.187473326921463, 0.05996238440275192, -0.2469242811203003, 0.022555675357580185, -0.23358191549777985, 0.013023743405938148, 0.40761542320251465, 0.0227719284594059, 0.25111818313598633, -0.38495194911956787, 0.024535520002245903, 0.20835034549236298, -0.19091331958770752, -0.16345101594924927, -0.3159583806991577, 0.1267699897289276, -0.022908497601747513, 0.045527420938014984, 0.245714008808136, 0.07998616993427277, 0.012989860959351063, -0.1195111870765686, 0.16212201118469238, 0.20597690343856812, -0.11711668968200684, 0.09261813014745712, 0.1574007123708725, 0.18975907564163208, -0.0807778611779213, 0.24764856696128845, 0.11669608950614929, 0.1802671253681183, -0.10897260159254074, 0.19480237364768982, -0.2637600600719452, 0.009629219770431519, -0.20209313929080963, 0.11166881769895554, 0.05450846999883652, 0.05562417209148407, 0.34530705213546753, -0.3586975932121277, 0.014040205627679825, 0.18462398648262024, 0.21559862792491913, 0.18625085055828094, -0.4746741056442261, 0.19278092682361603, 0.13622832298278809, 0.13484588265419006, -0.09768899530172348, -0.12461858242750168, 0.27929040789604187, -0.20481300354003906, -0.0012340620160102844, 0.25625014305114746, 0.16673389077186584, 0.12639975547790527, 0.07439935207366943, 0.17130103707313538, 0.5603048801422119, 0.22111819684505463, 0.38346728682518005, 0.2631576359272003, -0.21025177836418152, 0.03234236687421799, 0.28433218598365784, 0.21370424330234528, 0.35067278146743774, 0.27179354429244995, -0.36455944180488586, 0.08409450203180313, -0.17576053738594055, -0.07677274942398071, 0.27983859181404114, -0.1770695149898529, 0.0009266771376132965, 0.0707482099533081, -0.06503351032733917, -0.15711578726768494, 0.011964276432991028, 0.4286253750324249, -0.22042648494243622, -0.1394309401512146, -0.07531136274337769, 0.24349161982536316, -0.11326969414949417, 0.08405983448028564, 0.018629994243383408, -0.057775646448135376, -0.2250698208808899, -0.0890258252620697, 0.027624351903796196, -0.40750569105148315, 0.09488937258720398, 0.1100761890411377, -0.1999967247247696, -0.27367955446243286, -0.19478538632392883, 0.18700483441352844, 0.050589267164468765, -0.27323558926582336, 0.04058243706822395, 0.11073662340641022, -0.08272267878055573, 0.008400769904255867, 0.44111648201942444, 0.558387279510498, 0.2686038017272949, 0.38699260354042053, 0.1934402883052826, 0.09135659039020538, -0.016420742496848106, -0.02738822065293789, 0.18532375991344452, -0.3572705388069153, 0.3719262182712555, 0.24762921035289764, 0.1661514937877655, -0.16119492053985596, -0.35555538535118103, 0.02248556539416313, 0.2529156506061554, -0.5081102848052979, 0.28391554951667786, -0.48413756489753723, -0.02768627554178238, -0.2907468378543854, 0.10662409663200378, -0.30258285999298096, 0.27542662620544434, 0.35596445202827454, -0.10762917995452881, 0.042174048721790314, -0.19482940435409546, 0.0692664161324501, -0.06899285316467285, 0.6009387969970703, 0.3120483160018921, 0.13884583115577698, -0.10551726073026657, -0.20421317219734192, -0.7697235345840454, 0.11394818127155304, 0.173649400472641, 0.12079663574695587, 0.1565258800983429, 0.01669955812394619, -0.05460657924413681, 0.2917526960372925, 0.11998701840639114, -0.14093777537345886, -0.25101205706596375, -0.2922225892543793, -0.19056330621242523, -0.32909277081489563, -0.008080922067165375, -0.13246308267116547, 0.08932889997959137, -0.07740235328674316, 0.366934210062027, -0.0808602124452591, 0.002955060452222824, -0.18465866148471832, 0.018904469907283783, -0.058991484344005585, -0.3697926104068756, 0.4889814853668213, 0.11550364643335342, 0.27397745847702026, 0.02109091356396675, -0.27241894602775574, -0.0853775292634964, -0.36440977454185486, -0.24611152708530426, 0.2770612835884094, -0.15902499854564667, 0.4655582904815674, -0.26344239711761475, -0.4329889118671417, -0.31831127405166626, 0.34046533703804016, 0.21635739505290985, -0.01677078753709793, -0.3919256627559662, 0.0725490003824234, -0.1571180820465088, 0.14060714840888977, 0.11154235899448395, 0.05932721123099327, -0.07147863507270813, 0.2744242548942566, -0.12112916260957718, -0.21860338747501373, 0.48528221249580383, -0.294021338224411, -0.12644734978675842, -0.04833250865340233, 0.14443829655647278, 0.279218852519989, -0.3428760766983032, -0.6455613374710083, 0.17734754085540771, 0.2988750636577606, -0.10919622331857681, -0.28357917070388794, 0.47448158264160156, -0.10047085583209991, 0.07787278294563293, -0.01206178031861782, 0.35924479365348816, 0.00027078576385974884, -0.17740362882614136, 0.5471984148025513, -0.11174112558364868 ]
https://github.com/huggingface/datasets/issues/6995
ImportError when importing datasets.load_dataset
The error message says there is no CommitInfo in your installed huggingface-hub library: ``` ImportError: cannot import name 'CommitInfo' from 'huggingface_hub' (D:\Anaconda3\envs\CS224S\Lib\site-packages\huggingface_hub_init_.py) ``` And this is implemented since version 0.10.0: - https://github.com/huggingface/huggingface_hub/pull/1066
### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install git+https://github.com/huggingface/datasets 2. from datasets import load_dataset ### Expected behavior ImportError Traceback (most recent call last) Cell In[7], [line 1](vscode-notebook-cell:?execution_count=7&line=1) ----> [1](vscode-notebook-cell:?execution_count=7&line=1) from datasets import load_dataset [3](vscode-notebook-cell:?execution_count=7&line=3) train_set = load_dataset("mispeech/speechocean762", split="train") [4](vscode-notebook-cell:?execution_count=7&line=4) test_set = load_dataset("mispeech/speechocean762", split="test") File d:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\__init__.py:[1](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:1)7 1 # Copyright 2020 The HuggingFace Datasets Authors and the TensorFlow Datasets Authors. [2](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:2) # [3](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:3) # Licensed under the Apache License, Version 2.0 (the "License"); (...) [12](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:12) # See the License for the specific language governing permissions and [13](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:13) # limitations under the License. [15](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:15) __version__ = "2.20.1.dev0" ---> [17](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:17) from .arrow_dataset import Dataset [18](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:18) from .arrow_reader import ReadInstruction [19](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:19) from .builder import ArrowBasedBuilder, BeamBasedBuilder, BuilderConfig, DatasetBuilder, GeneratorBasedBuilder File d:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\arrow_dataset.py:63 [61](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:61) import pyarrow.compute as pc [62](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:62) from fsspec.core import url_to_fs ---> [63](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:63) from huggingface_hub import ( [64](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:64) CommitInfo, [65](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:65) CommitOperationAdd, ... [70](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:70) ) [71](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:71) from huggingface_hub.hf_api import RepoFile [72](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:72) from multiprocess import Pool ImportError: cannot import name 'CommitInfo' from 'huggingface_hub' (d:\Anaconda3\envs\CS224S\Lib\site-packages\huggingface_hub\__init__.py) Output is truncated. View as a [scrollable element](command:cellOutput.enableScrolling?580889ab-0f61-4f37-9214-eaa2b3807f85) or open in a [text editor](command:workbench.action.openLargeOutput?580889ab-0f61-4f37-9214-eaa2b3807f85). Adjust cell output [settings](command:workbench.action.openSettings?%5B%22%40tag%3AnotebookOutputLayout%22%5D)... ### Environment info Leo@DESKTOP-9NHUAMI MSYS /d/Anaconda3/envs/CS224S/Lib/site-packages/huggingface_hub $ datasets-cli env Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "D:\Anaconda3\envs\CS224S\Scripts\datasets-cli.exe\__main__.py", line 4, in <module> File "D:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\__init__.py", line 17, in <module> from .arrow_dataset import Dataset File "D:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\arrow_dataset.py", line 63, in <module> from huggingface_hub import ( ImportError: cannot import name 'CommitInfo' from 'huggingface_hub' (D:\Anaconda3\envs\CS224S\Lib\site-packages\huggingface_hub\__init__.py) (CS224S)
32
ImportError when importing datasets.load_dataset ### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install git+https://github.com/huggingface/datasets 2. from datasets import load_dataset ### Expected behavior ImportError Traceback (most recent call last) Cell In[7], [line 1](vscode-notebook-cell:?execution_count=7&line=1) ----> [1](vscode-notebook-cell:?execution_count=7&line=1) from datasets import load_dataset [3](vscode-notebook-cell:?execution_count=7&line=3) train_set = load_dataset("mispeech/speechocean762", split="train") [4](vscode-notebook-cell:?execution_count=7&line=4) test_set = load_dataset("mispeech/speechocean762", split="test") File d:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\__init__.py:[1](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:1)7 1 # Copyright 2020 The HuggingFace Datasets Authors and the TensorFlow Datasets Authors. [2](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:2) # [3](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:3) # Licensed under the Apache License, Version 2.0 (the "License"); (...) [12](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:12) # See the License for the specific language governing permissions and [13](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:13) # limitations under the License. [15](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:15) __version__ = "2.20.1.dev0" ---> [17](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:17) from .arrow_dataset import Dataset [18](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:18) from .arrow_reader import ReadInstruction [19](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:19) from .builder import ArrowBasedBuilder, BeamBasedBuilder, BuilderConfig, DatasetBuilder, GeneratorBasedBuilder File d:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\arrow_dataset.py:63 [61](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:61) import pyarrow.compute as pc [62](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:62) from fsspec.core import url_to_fs ---> [63](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:63) from huggingface_hub import ( [64](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:64) CommitInfo, [65](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:65) CommitOperationAdd, ... [70](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:70) ) [71](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:71) from huggingface_hub.hf_api import RepoFile [72](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:72) from multiprocess import Pool ImportError: cannot import name 'CommitInfo' from 'huggingface_hub' (d:\Anaconda3\envs\CS224S\Lib\site-packages\huggingface_hub\__init__.py) Output is truncated. View as a [scrollable element](command:cellOutput.enableScrolling?580889ab-0f61-4f37-9214-eaa2b3807f85) or open in a [text editor](command:workbench.action.openLargeOutput?580889ab-0f61-4f37-9214-eaa2b3807f85). Adjust cell output [settings](command:workbench.action.openSettings?%5B%22%40tag%3AnotebookOutputLayout%22%5D)... ### Environment info Leo@DESKTOP-9NHUAMI MSYS /d/Anaconda3/envs/CS224S/Lib/site-packages/huggingface_hub $ datasets-cli env Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "D:\Anaconda3\envs\CS224S\Scripts\datasets-cli.exe\__main__.py", line 4, in <module> File "D:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\__init__.py", line 17, in <module> from .arrow_dataset import Dataset File "D:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\arrow_dataset.py", line 63, in <module> from huggingface_hub import ( ImportError: cannot import name 'CommitInfo' from 'huggingface_hub' (D:\Anaconda3\envs\CS224S\Lib\site-packages\huggingface_hub\__init__.py) (CS224S) The error message says there is no CommitInfo in your installed huggingface-hub library: ``` ImportError: cannot import name 'CommitInfo' from 'huggingface_hub' (D:\Anaconda3\envs\CS224S\Lib\site-packages\huggingface_hub_init_.py) ``` And this is implemented since version 0.10.0: - https://github.com/huggingface/huggingface_hub/pull/1066
[ -0.27894434332847595, -0.16736024618148804, -0.019220074638724327, 0.3342856764793396, 0.27266108989715576, 0.03040923923254013, 0.09082164615392685, 0.2282353639602661, 0.17126117646694183, 0.17551535367965698, -0.1372210830450058, -0.05400799587368965, -0.09396711736917496, 0.360289067029953, 0.12434577941894531, 0.005006603896617889, 0.12808147072792053, 0.10453158617019653, -0.32645416259765625, 0.03226712346076965, 0.027435041964054108, 0.3324785828590393, -0.16254878044128418, -0.02516120672225952, -0.17623841762542725, 0.13178876042366028, 0.07487676292657852, 0.2014921009540558, -0.15261243283748627, -0.37306883931159973, 0.496562123298645, -0.05030979588627815, 0.2624428868293762, 0.8011267781257629, -0.00011643387551885098, 0.20230837166309357, 0.3011913299560547, -0.08441581577062607, -0.28676342964172363, -0.40815216302871704, -0.35243433713912964, -0.2522900402545929, -0.06288490444421768, 0.1175042912364006, 0.15387120842933655, 0.2156471163034439, -0.16368497908115387, -0.4426882565021515, 0.47464239597320557, 0.4239335358142853, 0.18507763743400574, 0.6043593883514404, 0.38722318410873413, -0.18655899167060852, -0.08471106737852097, 0.2893674969673157, -0.10771481692790985, 0.29228124022483826, -0.1921236217021942, -0.16289038956165314, 0.3755631446838379, 0.2741278409957886, 0.04805383086204529, -0.05464545264840126, 0.3861982226371765, -0.05367255210876465, 0.2367270290851593, -0.40914076566696167, -0.21563896536827087, 0.0781802088022232, 0.2472429871559143, -0.32239800691604614, -0.3736785352230072, -0.3851383626461029, 0.11469395458698273, -0.14484310150146484, 0.16136130690574646, -0.010631471872329712, -0.12953968346118927, 0.2503260672092438, -0.08937691897153854, -0.16862335801124573, -0.23523841798305511, -0.07860417664051056, -0.16890397667884827, -0.24771380424499512, -0.19370441138744354, 0.025626223534345627, 0.2870190441608429, -0.11628986895084381, -0.09282860159873962, 0.017308920621871948, -0.06477588415145874, 0.2333678901195526, -0.49477702379226685, 0.10862007737159729, 0.09501191973686218, -0.019812554121017456, 0.20851930975914001, -0.05275052785873413, -0.17305560410022736, -0.15166476368904114, -0.12985490262508392, 0.21739459037780762, 0.18690817058086395, 0.2951136529445648, 0.2797202467918396, 0.08350075036287308, 0.2919372320175171, 0.15547563135623932, 0.13181334733963013, 0.06298337876796722, -0.07978954166173935, -0.12562334537506104, -0.09092165529727936, -0.11865677684545517, 0.49332088232040405, -0.09190911054611206, -0.4621267318725586, 0.2429589182138443, -0.09828197956085205, -0.05409148335456848, -0.011850002221763134, 0.33606061339378357, -0.10436802357435226, 0.12282034754753113, 0.20182116329669952, 0.1638338416814804, -0.08898216485977173, -0.32468879222869873, -0.2845631241798401, 0.03913244605064392, -0.06468532234430313, 0.08087842911481857, 0.019699089229106903, -0.5657477974891663, 0.220217764377594, -0.040382567793130875, 0.409213125705719, -0.19291360676288605, -0.20215512812137604, -0.053438700735569, -0.02422693371772766, 0.30874133110046387, -0.04779095575213432, 0.2389332801103592, 0.3445711135864258, -0.4027344584465027, -0.1097736582159996, -0.09495557099580765, -0.2589908242225647, -0.2564687728881836, -0.21754629909992218, 0.16348864138126373, -0.4365699291229248, -0.06609635800123215, -0.5037850737571716, -0.17224016785621643, -0.021710999310016632, 0.18562248349189758, -0.08797041326761246, -0.26149994134902954, -0.030484527349472046, -0.07946053892374039, 0.35347846150398254, 0.6050916910171509, -0.13984809815883636, -0.38209930062294006, 0.13833650946617126, -0.3178138732910156, -0.15161728858947754, 0.23977074027061462, -0.06591380387544632, 0.38677534461021423, -0.13006660342216492, 0.06636515259742737, 0.07763997465372086, -0.7478536367416382, -0.45561060309410095, 0.06491454690694809, -0.16840410232543945, 0.1972726285457611, -0.0940740630030632, -0.04115737974643707, 0.0498281791806221, 0.10438308119773865, 0.24881114065647125, 0.253650426864624, -0.020633867010474205, 0.011147139593958855, 0.021202247589826584, -0.1575770229101181, 0.04413323476910591, 0.1412234753370285, 0.012813381850719452, -0.005160592496395111, 0.027787499129772186, 0.019376669079065323, 0.1639484316110611, -0.01802893355488777, 0.02947171777486801, 0.43112945556640625, 0.29058021306991577, 0.2442508488893509, -0.01761735789477825, -0.2024267315864563, -0.47045743465423584, 0.265784353017807, 0.10523447394371033, 0.17694319784641266, -0.21026207506656647, -0.11166948825120926, -0.42148131132125854, 0.2953658998012543, -0.16693516075611115, -0.11734534800052643, 0.04519796371459961, 0.031328149139881134, 0.008383888751268387, 0.2719246745109558, -0.2364957183599472, 0.7931470274925232, -0.12844912707805634, 0.3926737904548645, -0.4407171308994293, 0.4372295141220093, -0.07517699897289276, -0.20540519058704376, 0.1911446750164032, 0.2573515772819519, 0.03575386852025986, -0.3256315588951111, 0.014565462246537209, 0.3570038974285126, -0.021771473810076714, 0.3718622326850891, -0.22782862186431885, -0.02643534541130066, 0.20351064205169678, -0.1204412579536438, -0.21338367462158203, -0.24636976420879364, 0.09000460803508759, 0.01690627634525299, 0.08764378726482391, 0.11572591215372086, -0.11835436522960663, 0.23070034384727478, -0.013046786189079285, 0.06128709763288498, 0.20775896310806274, 0.11759528517723083, -0.23821407556533813, -0.28979218006134033, 0.33075764775276184, -0.07606068253517151, 0.07092399895191193, -0.014478372409939766, -0.06921062618494034, -0.17916536331176758, 0.3035053610801697, 0.1225786954164505, -0.030290380120277405, 0.010155878961086273, -0.2701594829559326, 0.26264047622680664, 0.14431077241897583, 0.1022224873304367, 0.44780147075653076, 0.031938351690769196, -0.2849365472793579, 0.22869430482387543, 0.1995144486427307, -0.044965967535972595, 0.11350692063570023, 0.15009130537509918, 0.2193153202533722, 0.12893620133399963, 0.040596142411231995, 0.05344976484775543, -0.16514360904693604, -0.05511188507080078, -0.17349782586097717, 0.31947940587997437, -0.5009877681732178, 0.10856207460165024, -0.2820127010345459, -0.4769996106624603, -0.291625052690506, -0.24593190848827362, -0.34387239813804626, -0.24370808899402618, -0.4593442678451538, 0.22620844841003418, 0.004350196570158005, 0.08559349924325943, 0.07304264605045319, 0.03735269606113434, 0.06830868870019913, -0.08602694422006607, -0.051077861338853836, 0.022998139262199402, 0.007692808285355568, -0.014704828150570393, 0.2626611292362213, -0.07526817172765732, 0.2837904691696167, -0.25557592511177063, 0.19378820061683655, -0.2139953374862671, -0.4072776138782501, 0.18571420013904572, -0.3757055401802063, 0.38909584283828735, 0.19343195855617523, 0.3295252025127411, 0.07939010113477707, -0.23984487354755402, 0.17797677218914032, -0.046001970767974854, -0.24390937387943268, -0.056983787566423416, 0.054076772183179855, -0.09643403440713882, -0.08439309895038605, -0.1056533232331276, -0.3698933720588684, -0.40296897292137146, 0.35082191228866577, 0.1456616371870041, -0.05688121169805527, 0.40604889392852783, 0.0603158064186573, 0.29366371035575867, -0.15757128596305847, 0.05077202618122101, 0.02605021931231022, -0.3271077871322632, 0.24321822822093964, -0.19061289727687836, -0.384245902299881, 0.12265026569366455, 0.128795325756073, 0.24776588380336761, -0.2162082940340042, -0.44478172063827515, -0.2132387012243271, -0.17148487269878387, 0.30524125695228577, 0.015009557828307152, 0.07801003009080887, 0.11396858096122742, -0.12846486270427704, 0.09501193463802338, -0.09827807545661926, -0.23566322028636932, 0.10246268659830093, 0.18739116191864014, -0.03761311620473862, -0.061455823481082916, 0.40123263001441956, -0.06389272212982178, 0.2624044418334961, 0.37623995542526245, 0.0034667961299419403, 0.2737247049808502, -0.020019007846713066, 0.545191764831543, -0.09979140013456345, -0.41477495431900024, -0.08395504951477051, 0.037743471562862396, 0.14447176456451416, 0.002209499478340149, -0.09056016057729721, 0.27255484461784363, -0.1865721493959427, -0.24698014557361603, 0.019121095538139343, -0.26954415440559387, -0.06730414927005768, -0.0033272430300712585, 0.1701071709394455, -0.03566557914018631, -0.2312830090522766, -0.0952989012002945, 0.06222961097955704, 0.14142553508281708, 0.35010647773742676, 0.06097717210650444, 0.10145184397697449, -0.3265358805656433, -0.09254733473062515, -0.5708662867546082, 0.09620225429534912, 0.06497976183891296, 0.2830594778060913, 0.010720405727624893, -0.12616172432899475, -0.11487686634063721, 0.16562867164611816, 0.49437129497528076, 0.16002504527568817, -0.18461106717586517, -0.03230001777410507, -0.2147470861673355, -0.5691664218902588, -0.13325929641723633, -0.0536818727850914, 0.1978607177734375, 0.266618549823761, 0.4695710241794586, -0.28890374302864075, -0.10574118047952652, 0.2743356227874756, 0.29051390290260315, -0.09195373207330704, -0.12351510673761368, -0.36083996295928955, -0.2848183214664459, -0.4945104420185089, -0.06053449958562851, 0.181472048163414, 0.28099068999290466, 0.2577614188194275, 0.16511639952659607, -0.07168379426002502, -0.24877595901489258, 0.27333301305770874, 0.09868162870407104, 0.08066683262586594, 0.12183624505996704, 0.2797902822494507, 0.43786633014678955, -0.106019988656044, 0.34491804242134094, 0.6368710398674011, -0.06929711997509003, -0.7161204218864441, -0.13763290643692017, 0.07451853156089783, 0.26395943760871887, 0.15451543033123016, -0.10350008308887482, 0.19991832971572876, 0.016235610470175743, 0.05794426053762436, -0.3656899929046631, 0.25156307220458984, 0.15472443401813507, 0.2917303442955017, -0.24253830313682556, -0.3759859800338745, 0.2776978015899658, -0.014850378036499023, 0.07777301967144012, 0.3027245104312897, 0.5008262991905212, -0.15401747822761536, 0.003732161596417427, -0.16100379824638367, 0.747112512588501, 0.22008398175239563, -0.09011854231357574, 0.49241459369659424, 0.058054156601428986, 0.41542109847068787, 0.0318513885140419, -0.09553874284029007, -0.3520078659057617, -0.32163476943969727, -0.05848215892910957, -0.23288238048553467, 0.39857491850852966, -0.5671111345291138, -0.11684927344322205, 0.040152646601200104, -0.09624546021223068, 0.25252488255500793, 0.055685244500637054, 0.13940437138080597, -0.10468173027038574, -0.28869733214378357, -0.31488507986068726, 0.1030312329530716, 0.03332856670022011, 0.4931873381137848, -0.13402633368968964, -0.1426599621772766, -0.32096919417381287, -0.09321971237659454, -0.20782852172851562, -0.021515777334570885, -0.2473122477531433, 0.1495046764612198, 0.2146262526512146, -0.009644076228141785, 0.1505635380744934, 0.49356895685195923, 0.5557733178138733, -0.05659380927681923, -0.2397596836090088, -0.038644324988126755, -0.33688461780548096, -0.03184761106967926, 0.17243868112564087, -0.13353882730007172, 0.2590067982673645, -0.13947422802448273, -0.16707563400268555, 0.13957080245018005, 0.07155942171812057, -0.18916107714176178, 0.00938647985458374, 0.1055372804403305, -0.049211643636226654, -0.2002391517162323, -0.1053299605846405, 0.06688056886196136, 0.2769036293029785, -0.08149732649326324, 0.08148349821567535, 0.2383250892162323, -0.1827184110879898, 0.020071804523468018, 0.08910246193408966, -0.35420334339141846, -0.0828046053647995, 0.5305526852607727, -0.019564732909202576, -0.10703589022159576, 0.515172004699707, 0.13192877173423767, -0.10232927650213242, -0.06637369096279144, 0.16763830184936523, 0.22603684663772583, -0.4552140235900879, 0.14733722805976868, -0.08973848074674606, 0.018547147512435913, -0.11579931527376175, 0.22574323415756226, 0.17719098925590515, -0.41256752610206604, -0.04710600897669792, -0.30070507526397705, -0.2916954457759857, 0.24445122480392456, -0.04111852869391441, 0.040655069053173065, 0.1563921570777893, 0.1704418659210205, -0.187473326921463, 0.05996238440275192, -0.2469242811203003, 0.022555675357580185, -0.23358191549777985, 0.013023743405938148, 0.40761542320251465, 0.0227719284594059, 0.25111818313598633, -0.38495194911956787, 0.024535520002245903, 0.20835034549236298, -0.19091331958770752, -0.16345101594924927, -0.3159583806991577, 0.1267699897289276, -0.022908497601747513, 0.045527420938014984, 0.245714008808136, 0.07998616993427277, 0.012989860959351063, -0.1195111870765686, 0.16212201118469238, 0.20597690343856812, -0.11711668968200684, 0.09261813014745712, 0.1574007123708725, 0.18975907564163208, -0.0807778611779213, 0.24764856696128845, 0.11669608950614929, 0.1802671253681183, -0.10897260159254074, 0.19480237364768982, -0.2637600600719452, 0.009629219770431519, -0.20209313929080963, 0.11166881769895554, 0.05450846999883652, 0.05562417209148407, 0.34530705213546753, -0.3586975932121277, 0.014040205627679825, 0.18462398648262024, 0.21559862792491913, 0.18625085055828094, -0.4746741056442261, 0.19278092682361603, 0.13622832298278809, 0.13484588265419006, -0.09768899530172348, -0.12461858242750168, 0.27929040789604187, -0.20481300354003906, -0.0012340620160102844, 0.25625014305114746, 0.16673389077186584, 0.12639975547790527, 0.07439935207366943, 0.17130103707313538, 0.5603048801422119, 0.22111819684505463, 0.38346728682518005, 0.2631576359272003, -0.21025177836418152, 0.03234236687421799, 0.28433218598365784, 0.21370424330234528, 0.35067278146743774, 0.27179354429244995, -0.36455944180488586, 0.08409450203180313, -0.17576053738594055, -0.07677274942398071, 0.27983859181404114, -0.1770695149898529, 0.0009266771376132965, 0.0707482099533081, -0.06503351032733917, -0.15711578726768494, 0.011964276432991028, 0.4286253750324249, -0.22042648494243622, -0.1394309401512146, -0.07531136274337769, 0.24349161982536316, -0.11326969414949417, 0.08405983448028564, 0.018629994243383408, -0.057775646448135376, -0.2250698208808899, -0.0890258252620697, 0.027624351903796196, -0.40750569105148315, 0.09488937258720398, 0.1100761890411377, -0.1999967247247696, -0.27367955446243286, -0.19478538632392883, 0.18700483441352844, 0.050589267164468765, -0.27323558926582336, 0.04058243706822395, 0.11073662340641022, -0.08272267878055573, 0.008400769904255867, 0.44111648201942444, 0.558387279510498, 0.2686038017272949, 0.38699260354042053, 0.1934402883052826, 0.09135659039020538, -0.016420742496848106, -0.02738822065293789, 0.18532375991344452, -0.3572705388069153, 0.3719262182712555, 0.24762921035289764, 0.1661514937877655, -0.16119492053985596, -0.35555538535118103, 0.02248556539416313, 0.2529156506061554, -0.5081102848052979, 0.28391554951667786, -0.48413756489753723, -0.02768627554178238, -0.2907468378543854, 0.10662409663200378, -0.30258285999298096, 0.27542662620544434, 0.35596445202827454, -0.10762917995452881, 0.042174048721790314, -0.19482940435409546, 0.0692664161324501, -0.06899285316467285, 0.6009387969970703, 0.3120483160018921, 0.13884583115577698, -0.10551726073026657, -0.20421317219734192, -0.7697235345840454, 0.11394818127155304, 0.173649400472641, 0.12079663574695587, 0.1565258800983429, 0.01669955812394619, -0.05460657924413681, 0.2917526960372925, 0.11998701840639114, -0.14093777537345886, -0.25101205706596375, -0.2922225892543793, -0.19056330621242523, -0.32909277081489563, -0.008080922067165375, -0.13246308267116547, 0.08932889997959137, -0.07740235328674316, 0.366934210062027, -0.0808602124452591, 0.002955060452222824, -0.18465866148471832, 0.018904469907283783, -0.058991484344005585, -0.3697926104068756, 0.4889814853668213, 0.11550364643335342, 0.27397745847702026, 0.02109091356396675, -0.27241894602775574, -0.0853775292634964, -0.36440977454185486, -0.24611152708530426, 0.2770612835884094, -0.15902499854564667, 0.4655582904815674, -0.26344239711761475, -0.4329889118671417, -0.31831127405166626, 0.34046533703804016, 0.21635739505290985, -0.01677078753709793, -0.3919256627559662, 0.0725490003824234, -0.1571180820465088, 0.14060714840888977, 0.11154235899448395, 0.05932721123099327, -0.07147863507270813, 0.2744242548942566, -0.12112916260957718, -0.21860338747501373, 0.48528221249580383, -0.294021338224411, -0.12644734978675842, -0.04833250865340233, 0.14443829655647278, 0.279218852519989, -0.3428760766983032, -0.6455613374710083, 0.17734754085540771, 0.2988750636577606, -0.10919622331857681, -0.28357917070388794, 0.47448158264160156, -0.10047085583209991, 0.07787278294563293, -0.01206178031861782, 0.35924479365348816, 0.00027078576385974884, -0.17740362882614136, 0.5471984148025513, -0.11174112558364868 ]
https://github.com/huggingface/datasets/issues/6992
Dataset with streaming doesn't work with proxy
Hi ! can you try updating `datasets` and `huggingface_hub` ? ``` pip install -U datasets huggingface_hub ```
### Describe the bug I'm currently trying to stream data using dataset since the dataset is too big but it hangs indefinitely without loading the first batch. I use AIMOS which is a supercomputer that uses proxy to connect to the internet. I assume it has to do with the network configurations. I've already set up both HTTP_PROXY and HTTPS_PROXY. streaming = False works fine. ### Steps to reproduce the bug use load_dataset with streaming = True in AIMOS ### Expected behavior does not hang indefinitely and loads batches to start training run ### Environment info _libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 2_gnu conda-forge _pytorch_select 2.0 cuda_2 https://ftp.osuosl.org/pub/open-ce/1.10.0 abseil-cpp 20220623.0 h9888cd1_6 conda-forge absl-py 1.0.0 py311h399429b_0 https://ftp.osuosl.org/pub/open-ce/1.10.0 aiofiles 23.2.1 pyhd8ed1ab_0 conda-forge aiohttp 3.8.6 py311hf118e41_0 aiosignal 1.2.0 pyhd3eb1b0_0 archspec 0.2.3 pyhd8ed1ab_0 conda-forge arrow-cpp 11.0.0 ha3edaa6_5_cpu conda-forge async-timeout 4.0.2 py311h6ffa863_0 attrs 23.1.0 py311h6ffa863_0 av 10.0.0 py311he6153ed_2 https://ftp.osuosl.org/pub/open-ce/1.10.0 aws-c-auth 0.6.24 hb81f6d7_5 conda-forge aws-c-cal 0.5.20 h3c2b4d9_6 conda-forge aws-c-common 0.8.11 h4194056_0 conda-forge aws-c-compression 0.2.16 ha19333d_3 conda-forge aws-c-event-stream 0.2.18 h12a9399_6 conda-forge aws-c-http 0.7.4 ha2cde00_2 conda-forge aws-c-io 0.13.17 h9189062_2 conda-forge aws-c-mqtt 0.8.6 h40d1a04_6 conda-forge aws-c-s3 0.2.4 hbdbe4f0_3 conda-forge aws-c-sdkutils 0.1.7 ha19333d_3 conda-forge aws-checksums 0.1.14 ha19333d_3 conda-forge aws-crt-cpp 0.19.7 hd018011_7 conda-forge aws-sdk-cpp 1.10.57 hb9575ba_4 conda-forge blas 1.0 openblas blinker 1.8.2 pyhd8ed1ab_0 conda-forge boltons 23.0.0 py311h6ffa863_0 boost-cpp 1.82.0 h25e6d66_2 bottleneck 1.3.5 py311h34f6284_0 brotli 1.0.9 hf118e41_7 brotli-bin 1.0.9 hf118e41_7 brotli-python 1.0.9 py311h4a02239_7 bzip2 1.0.8 h7b6447c_0 c-ares 1.19.1 hf118e41_0 ca-certificates 2024.6.2 h0f6029e_0 conda-forge cachetools 5.3.3 pyhd8ed1ab_0 conda-forge certifi 2024.6.2 pyhd8ed1ab_0 conda-forge cffi 1.15.1 py311hf118e41_3 charset-normalizer 2.0.4 pyhd3eb1b0_0 click 8.1.7 unix_pyh707e725_0 conda-forge conda 24.5.0 py311h1af927a_0 conda-forge conda-content-trust 0.2.0 py311h6ffa863_0 conda-libmamba-solver 23.11.1 py311h6ffa863_0 conda-package-handling 2.2.0 py311h6ffa863_0 conda-package-streaming 0.9.0 py311h6ffa863_0 contourpy 1.0.5 py311h25e6d66_0 cryptography 41.0.3 py311hb0e80e7_0 cudatoolkit 11.8.0 hedcfb66_13 conda-forge cudnn 8.9.2_11.8 h9ceb136_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 cycler 0.11.0 pyhd3eb1b0_0 datasets 2.12.0 py311h6ffa863_0 dill 0.3.6 py311h6ffa863_0 distro 1.9.0 pyhd8ed1ab_0 conda-forge ffmpeg 4.2.2 opence_0 https://ftp.osuosl.org/pub/open-ce/1.10.0 filelock 3.9.0 py311h6ffa863_0 fmt 9.1.0 h25e6d66_0 fonttools 4.25.0 pyhd3eb1b0_0 freetype 2.12.1 hd23a775_0 frozendict 2.4.4 py311hb02d432_0 conda-forge frozenlist 1.4.0 py311hf118e41_0 fsspec 2023.9.2 py311h6ffa863_0 gflags 2.2.2 he6710b0_0 giflib 5.2.1 hf118e41_3 glog 0.6.0 hbe088e0_0 conda-forge gmp 6.3.0 h46f38da_0 conda-forge gmpy2 2.1.5 py311h2758da7_1 conda-forge google-auth 2.30.0 pyhff2d567_0 conda-forge google-auth-oauthlib 0.5.3 pyhd8ed1ab_0 conda-forge grpc-cpp 1.51.1 h8ba971d_1 conda-forge grpcio 1.54.3 py311h414e0d3_0 https://ftp.osuosl.org/pub/open-ce/1.10.0 huggingface_hub 0.17.3 py311h6ffa863_0 icu 73.1 h4a02239_0 idna 3.4 py311h6ffa863_0 importlib-metadata 6.0.0 py311h6ffa863_0 jinja2 3.1.4 pyhd8ed1ab_0 conda-forge jpeg 9e hf118e41_1 jsonpatch 1.32 pyhd3eb1b0_0 jsonpointer 2.1 pyhd3eb1b0_0 kiwisolver 1.4.4 py311h4a02239_0 krb5 1.20.1 hc019ccd_1 lame 3.100 hb283c62_1003 conda-forge lcms2 2.12 h2045e0b_0 ld_impl_linux-ppc64le 2.38 hec883e6_1 lerc 3.0 h29c3540_0 leveldb 1.23 h24532b4_1 conda-forge libabseil 20220623.0 cxx17_h9235812_6 conda-forge libarchive 3.6.2 hd8ab008_2 libarrow 11.0.0 h837770b_5_cpu conda-forge libboost 1.82.0 haf51a6a_2 libbrotlicommon 1.0.9 hf118e41_7 libbrotlidec 1.0.9 hf118e41_7 libbrotlienc 1.0.9 hf118e41_7 libcrc32c 1.1.2 h3b9df90_0 conda-forge libcurl 8.4.0 h4d62439_0 libdeflate 1.17 hf118e41_1 libedit 3.1.20221030 hf118e41_0 libev 4.33 h140841e_1 libevent 2.1.10 h19c23f1_4 conda-forge libexpat 2.6.2 h46f38da_0 conda-forge libffi 3.4.4 h4a02239_0 libgcc-ng 13.2.0 h31e42bb_10 conda-forge libgfortran-ng 11.2.0 hb3889a9_1 libgfortran5 11.2.0 h1234567_1 libgomp 13.2.0 h31e42bb_10 conda-forge libgoogle-cloud 2.7.0 h11140b6_1 conda-forge libgrpc 1.51.1 h4d29a31_1 conda-forge libmamba 1.5.3 h7c6fafd_0 libmambapy 1.5.3 py311h828bf7b_0 libnghttp2 1.57.0 h44e5816_0 libnsl 2.0.1 ha17a0cc_0 conda-forge libopenblas 0.3.23 hc5a31fb_2 https://ftp.osuosl.org/pub/open-ce/1.10.0 libopus 1.3.1 h4e0d66e_1 conda-forge libpng 1.6.39 hf118e41_0 libprotobuf 3.21.12 h1776448_0 https://ftp.osuosl.org/pub/open-ce/1.10.0 libsolv 0.7.24 h0f529ac_0 libsqlite 3.45.3 hd4bbf49_0 conda-forge libssh2 1.10.0 h50fa78f_2 libstdcxx-ng 13.2.0 h262982c_10 conda-forge libthrift 0.18.0 h82f1162_0 conda-forge libtiff 4.5.1 h4a02239_0 libutf8proc 2.8.0 hb283c62_0 conda-forge libuuid 2.38.1 h4194056_0 conda-forge libvpx 1.13.1 h46f38da_0 conda-forge libwebp 1.3.2 h0f96ee2_0 libwebp-base 1.3.2 hf118e41_0 libxcrypt 4.4.36 ha17a0cc_1 conda-forge libxml2 2.10.4 h18e3229_1 libzlib 1.2.13 h1f2b957_6 conda-forge llvm-openmp 14.0.6 hc028133_0 https://ftp.osuosl.org/pub/open-ce/1.10.0 lmdb 0.9.31 ha17a0cc_1 conda-forge lz4-c 1.9.4 h4a02239_0 markdown 3.4.4 pyhd8ed1ab_0 conda-forge markupsafe 2.1.5 py311h32d8acf_0 conda-forge matplotlib 3.8.0 py311h6ffa863_0 matplotlib-base 3.8.0 py311h52e1fcc_0 menuinst 2.1.1 py311h1af927a_0 conda-forge mpc 1.3.1 heaf1863_0 conda-forge mpfr 4.2.1 haad2271_1 conda-forge mpmath 1.3.0 pyhd8ed1ab_0 conda-forge multidict 6.0.2 py311hf118e41_0 multiprocess 0.70.14 py311h6ffa863_0 munkres 1.1.4 py_0 mypy_extensions 1.0.0 pyha770c72_0 conda-forge nccl 2.18.3 cuda11.8_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 ncurses 6.4 h4a02239_0 nest-asyncio 1.6.0 pyhd8ed1ab_0 conda-forge networkx 2.8.8 pyhd8ed1ab_0 conda-forge nomkl 3.0 0 https://ftp.osuosl.org/pub/open-ce/1.10.0 numactl 2.0.16 hba61f60_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 numexpr 2.8.7 py311hc46fc55_0 numpy 1.24.3 py311h148a09e_0 numpy-base 1.24.3 py311h06b82f6_0 oauthlib 3.2.2 pyhd8ed1ab_0 conda-forge openjpeg 2.4.0 hfe35807_0 openssl 3.3.1 h1f2b957_0 conda-forge orc 1.8.2 h341c9a4_2 conda-forge packaging 23.1 py311h6ffa863_0 pandas 2.1.1 py311h52e1fcc_0 pcre2 10.42 h280155c_0 pillow 10.0.1 py311he33076b_0 pip 23.3 py311h6ffa863_0 platformdirs 4.2.2 pyhd8ed1ab_0 conda-forge pluggy 1.0.0 py311h6ffa863_1 pooch 1.8.2 pyhd8ed1ab_0 conda-forge protobuf 4.21.12 py311ha7baec7_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 psutil 5.9.8 py311hd26027c_0 conda-forge pyarrow 11.0.0 py311h04a18d5_1 pyasn1 0.6.0 pyhd8ed1ab_0 conda-forge pyasn1-modules 0.4.0 pyhd8ed1ab_0 conda-forge pybind11-abi 4 hd3eb1b0_1 pycosat 0.6.6 py311hf118e41_0 pycparser 2.21 pyhd3eb1b0_0 pyjwt 2.8.0 pyhd8ed1ab_1 conda-forge pyopenssl 23.2.0 py311h6ffa863_0 pyparsing 3.0.9 py311h6ffa863_0 pyre-extensions 0.0.30 pyhd8ed1ab_0 conda-forge pysocks 1.7.1 py311h6ffa863_0 python 3.11.8 h3332dee_0_cpython conda-forge python-dateutil 2.8.2 pyhd3eb1b0_0 python-tzdata 2023.3 pyhd3eb1b0_0 python-xxhash 2.0.2 py311hf118e41_1 python_abi 3.11 4_cp311 conda-forge pytorch 2.0.1 cuda11.8_py311_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 pytorch-base 2.0.1 cuda11.8_py311_pb4.21.12_4 https://ftp.osuosl.org/pub/open-ce/1.10.0 pytz 2023.3.post1 py311h6ffa863_0 pyu2f 0.1.5 pyhd8ed1ab_0 conda-forge pyyaml 6.0.1 py311hf118e41_0 re2 2023.02.01 h883269e_0 conda-forge readline 8.2 hf118e41_0 regex 2023.10.3 py311hf118e41_0 reproc 14.2.4 h29c3540_1 reproc-cpp 14.2.4 h29c3540_1 requests 2.31.0 py311h6ffa863_0 requests-oauthlib 2.0.0 pyhd8ed1ab_0 conda-forge responses 0.13.3 pyhd3eb1b0_0 rsa 4.9 pyhd8ed1ab_0 conda-forge ruamel.yaml 0.17.21 py311hf118e41_0 s2n 1.3.37 h5e47323_0 conda-forge safetensors 0.4.0 py311hda16d9e_0 scipy 1.11.1 py311hd69e9bb_0 https://ftp.osuosl.org/pub/open-ce/1.10.0 sentencepiece 0.1.97 h1e74c73_py311_pb4.21.12_2 https://ftp.osuosl.org/pub/open-ce/1.10.0 setuptools 68.0.0 py311h6ffa863_0 six 1.16.0 pyhd3eb1b0_1 snappy 1.1.9 h29c3540_0 sqlite 3.41.2 hf118e41_0 sympy 1.12.1 pypyh2585a3b_103 conda-forge tabulate 0.8.10 pyhd8ed1ab_0 conda-forge tensorboard 2.13.0 pyhab0730d_pb4.21.12_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 tensorboard-data-server 0.7.0 pyh6f84499_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 tensorboard-plugin-wit 1.6.0 pyh9f0ad1d_0 conda-forge tk 8.6.13 hd4bbf49_0 conda-forge tokenizers 0.13.3 py311h3d4f45a_0 torchdata 0.6.0 py311_2 https://ftp.osuosl.org/pub/open-ce/1.10.0 torchsnapshot 0.1.0 pyhd8ed1ab_0 conda-forge torchtext-base 0.15.2 cuda11.8_py311_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 torchtnt 0.2.4 pyhd8ed1ab_0 conda-forge torchvision-base 0.15.2 cuda11.8_py311_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 tornado 6.3.3 py311hf118e41_0 tqdm 4.65.0 py311h7837921_0 transformers 4.32.1 py311h6ffa863_0 truststore 0.8.0 py311h6ffa863_0 typing-extensions 4.7.1 py311h6ffa863_0 typing_extensions 4.7.1 py311h6ffa863_0 typing_inspect 0.9.0 pyhd8ed1ab_0 conda-forge tzdata 2023c h04d1e81_0 urllib3 1.26.18 py311h6ffa863_0 utf8proc 2.6.1 h140841e_0 werkzeug 2.3.8 pyhd8ed1ab_0 conda-forge wheel 0.41.2 py311h6ffa863_0 xxhash 0.8.0 h140841e_3 xz 5.4.2 hf118e41_0 yaml 0.2.5 h7b6447c_0 yaml-cpp 0.8.0 h4a02239_0 yarl 1.8.1 py311hf118e41_0 zipp 3.11.0 py311h6ffa863_0 zlib 1.2.13 h1f2b957_6 conda-forge zstandard 0.19.0 py311hf118e41_0 zstd 1.5.5 h57e4825_0
17
Dataset with streaming doesn't work with proxy ### Describe the bug I'm currently trying to stream data using dataset since the dataset is too big but it hangs indefinitely without loading the first batch. I use AIMOS which is a supercomputer that uses proxy to connect to the internet. I assume it has to do with the network configurations. I've already set up both HTTP_PROXY and HTTPS_PROXY. streaming = False works fine. ### Steps to reproduce the bug use load_dataset with streaming = True in AIMOS ### Expected behavior does not hang indefinitely and loads batches to start training run ### Environment info _libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 2_gnu conda-forge _pytorch_select 2.0 cuda_2 https://ftp.osuosl.org/pub/open-ce/1.10.0 abseil-cpp 20220623.0 h9888cd1_6 conda-forge absl-py 1.0.0 py311h399429b_0 https://ftp.osuosl.org/pub/open-ce/1.10.0 aiofiles 23.2.1 pyhd8ed1ab_0 conda-forge aiohttp 3.8.6 py311hf118e41_0 aiosignal 1.2.0 pyhd3eb1b0_0 archspec 0.2.3 pyhd8ed1ab_0 conda-forge arrow-cpp 11.0.0 ha3edaa6_5_cpu conda-forge async-timeout 4.0.2 py311h6ffa863_0 attrs 23.1.0 py311h6ffa863_0 av 10.0.0 py311he6153ed_2 https://ftp.osuosl.org/pub/open-ce/1.10.0 aws-c-auth 0.6.24 hb81f6d7_5 conda-forge aws-c-cal 0.5.20 h3c2b4d9_6 conda-forge aws-c-common 0.8.11 h4194056_0 conda-forge aws-c-compression 0.2.16 ha19333d_3 conda-forge aws-c-event-stream 0.2.18 h12a9399_6 conda-forge aws-c-http 0.7.4 ha2cde00_2 conda-forge aws-c-io 0.13.17 h9189062_2 conda-forge aws-c-mqtt 0.8.6 h40d1a04_6 conda-forge aws-c-s3 0.2.4 hbdbe4f0_3 conda-forge aws-c-sdkutils 0.1.7 ha19333d_3 conda-forge aws-checksums 0.1.14 ha19333d_3 conda-forge aws-crt-cpp 0.19.7 hd018011_7 conda-forge aws-sdk-cpp 1.10.57 hb9575ba_4 conda-forge blas 1.0 openblas blinker 1.8.2 pyhd8ed1ab_0 conda-forge boltons 23.0.0 py311h6ffa863_0 boost-cpp 1.82.0 h25e6d66_2 bottleneck 1.3.5 py311h34f6284_0 brotli 1.0.9 hf118e41_7 brotli-bin 1.0.9 hf118e41_7 brotli-python 1.0.9 py311h4a02239_7 bzip2 1.0.8 h7b6447c_0 c-ares 1.19.1 hf118e41_0 ca-certificates 2024.6.2 h0f6029e_0 conda-forge cachetools 5.3.3 pyhd8ed1ab_0 conda-forge certifi 2024.6.2 pyhd8ed1ab_0 conda-forge cffi 1.15.1 py311hf118e41_3 charset-normalizer 2.0.4 pyhd3eb1b0_0 click 8.1.7 unix_pyh707e725_0 conda-forge conda 24.5.0 py311h1af927a_0 conda-forge conda-content-trust 0.2.0 py311h6ffa863_0 conda-libmamba-solver 23.11.1 py311h6ffa863_0 conda-package-handling 2.2.0 py311h6ffa863_0 conda-package-streaming 0.9.0 py311h6ffa863_0 contourpy 1.0.5 py311h25e6d66_0 cryptography 41.0.3 py311hb0e80e7_0 cudatoolkit 11.8.0 hedcfb66_13 conda-forge cudnn 8.9.2_11.8 h9ceb136_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 cycler 0.11.0 pyhd3eb1b0_0 datasets 2.12.0 py311h6ffa863_0 dill 0.3.6 py311h6ffa863_0 distro 1.9.0 pyhd8ed1ab_0 conda-forge ffmpeg 4.2.2 opence_0 https://ftp.osuosl.org/pub/open-ce/1.10.0 filelock 3.9.0 py311h6ffa863_0 fmt 9.1.0 h25e6d66_0 fonttools 4.25.0 pyhd3eb1b0_0 freetype 2.12.1 hd23a775_0 frozendict 2.4.4 py311hb02d432_0 conda-forge frozenlist 1.4.0 py311hf118e41_0 fsspec 2023.9.2 py311h6ffa863_0 gflags 2.2.2 he6710b0_0 giflib 5.2.1 hf118e41_3 glog 0.6.0 hbe088e0_0 conda-forge gmp 6.3.0 h46f38da_0 conda-forge gmpy2 2.1.5 py311h2758da7_1 conda-forge google-auth 2.30.0 pyhff2d567_0 conda-forge google-auth-oauthlib 0.5.3 pyhd8ed1ab_0 conda-forge grpc-cpp 1.51.1 h8ba971d_1 conda-forge grpcio 1.54.3 py311h414e0d3_0 https://ftp.osuosl.org/pub/open-ce/1.10.0 huggingface_hub 0.17.3 py311h6ffa863_0 icu 73.1 h4a02239_0 idna 3.4 py311h6ffa863_0 importlib-metadata 6.0.0 py311h6ffa863_0 jinja2 3.1.4 pyhd8ed1ab_0 conda-forge jpeg 9e hf118e41_1 jsonpatch 1.32 pyhd3eb1b0_0 jsonpointer 2.1 pyhd3eb1b0_0 kiwisolver 1.4.4 py311h4a02239_0 krb5 1.20.1 hc019ccd_1 lame 3.100 hb283c62_1003 conda-forge lcms2 2.12 h2045e0b_0 ld_impl_linux-ppc64le 2.38 hec883e6_1 lerc 3.0 h29c3540_0 leveldb 1.23 h24532b4_1 conda-forge libabseil 20220623.0 cxx17_h9235812_6 conda-forge libarchive 3.6.2 hd8ab008_2 libarrow 11.0.0 h837770b_5_cpu conda-forge libboost 1.82.0 haf51a6a_2 libbrotlicommon 1.0.9 hf118e41_7 libbrotlidec 1.0.9 hf118e41_7 libbrotlienc 1.0.9 hf118e41_7 libcrc32c 1.1.2 h3b9df90_0 conda-forge libcurl 8.4.0 h4d62439_0 libdeflate 1.17 hf118e41_1 libedit 3.1.20221030 hf118e41_0 libev 4.33 h140841e_1 libevent 2.1.10 h19c23f1_4 conda-forge libexpat 2.6.2 h46f38da_0 conda-forge libffi 3.4.4 h4a02239_0 libgcc-ng 13.2.0 h31e42bb_10 conda-forge libgfortran-ng 11.2.0 hb3889a9_1 libgfortran5 11.2.0 h1234567_1 libgomp 13.2.0 h31e42bb_10 conda-forge libgoogle-cloud 2.7.0 h11140b6_1 conda-forge libgrpc 1.51.1 h4d29a31_1 conda-forge libmamba 1.5.3 h7c6fafd_0 libmambapy 1.5.3 py311h828bf7b_0 libnghttp2 1.57.0 h44e5816_0 libnsl 2.0.1 ha17a0cc_0 conda-forge libopenblas 0.3.23 hc5a31fb_2 https://ftp.osuosl.org/pub/open-ce/1.10.0 libopus 1.3.1 h4e0d66e_1 conda-forge libpng 1.6.39 hf118e41_0 libprotobuf 3.21.12 h1776448_0 https://ftp.osuosl.org/pub/open-ce/1.10.0 libsolv 0.7.24 h0f529ac_0 libsqlite 3.45.3 hd4bbf49_0 conda-forge libssh2 1.10.0 h50fa78f_2 libstdcxx-ng 13.2.0 h262982c_10 conda-forge libthrift 0.18.0 h82f1162_0 conda-forge libtiff 4.5.1 h4a02239_0 libutf8proc 2.8.0 hb283c62_0 conda-forge libuuid 2.38.1 h4194056_0 conda-forge libvpx 1.13.1 h46f38da_0 conda-forge libwebp 1.3.2 h0f96ee2_0 libwebp-base 1.3.2 hf118e41_0 libxcrypt 4.4.36 ha17a0cc_1 conda-forge libxml2 2.10.4 h18e3229_1 libzlib 1.2.13 h1f2b957_6 conda-forge llvm-openmp 14.0.6 hc028133_0 https://ftp.osuosl.org/pub/open-ce/1.10.0 lmdb 0.9.31 ha17a0cc_1 conda-forge lz4-c 1.9.4 h4a02239_0 markdown 3.4.4 pyhd8ed1ab_0 conda-forge markupsafe 2.1.5 py311h32d8acf_0 conda-forge matplotlib 3.8.0 py311h6ffa863_0 matplotlib-base 3.8.0 py311h52e1fcc_0 menuinst 2.1.1 py311h1af927a_0 conda-forge mpc 1.3.1 heaf1863_0 conda-forge mpfr 4.2.1 haad2271_1 conda-forge mpmath 1.3.0 pyhd8ed1ab_0 conda-forge multidict 6.0.2 py311hf118e41_0 multiprocess 0.70.14 py311h6ffa863_0 munkres 1.1.4 py_0 mypy_extensions 1.0.0 pyha770c72_0 conda-forge nccl 2.18.3 cuda11.8_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 ncurses 6.4 h4a02239_0 nest-asyncio 1.6.0 pyhd8ed1ab_0 conda-forge networkx 2.8.8 pyhd8ed1ab_0 conda-forge nomkl 3.0 0 https://ftp.osuosl.org/pub/open-ce/1.10.0 numactl 2.0.16 hba61f60_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 numexpr 2.8.7 py311hc46fc55_0 numpy 1.24.3 py311h148a09e_0 numpy-base 1.24.3 py311h06b82f6_0 oauthlib 3.2.2 pyhd8ed1ab_0 conda-forge openjpeg 2.4.0 hfe35807_0 openssl 3.3.1 h1f2b957_0 conda-forge orc 1.8.2 h341c9a4_2 conda-forge packaging 23.1 py311h6ffa863_0 pandas 2.1.1 py311h52e1fcc_0 pcre2 10.42 h280155c_0 pillow 10.0.1 py311he33076b_0 pip 23.3 py311h6ffa863_0 platformdirs 4.2.2 pyhd8ed1ab_0 conda-forge pluggy 1.0.0 py311h6ffa863_1 pooch 1.8.2 pyhd8ed1ab_0 conda-forge protobuf 4.21.12 py311ha7baec7_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 psutil 5.9.8 py311hd26027c_0 conda-forge pyarrow 11.0.0 py311h04a18d5_1 pyasn1 0.6.0 pyhd8ed1ab_0 conda-forge pyasn1-modules 0.4.0 pyhd8ed1ab_0 conda-forge pybind11-abi 4 hd3eb1b0_1 pycosat 0.6.6 py311hf118e41_0 pycparser 2.21 pyhd3eb1b0_0 pyjwt 2.8.0 pyhd8ed1ab_1 conda-forge pyopenssl 23.2.0 py311h6ffa863_0 pyparsing 3.0.9 py311h6ffa863_0 pyre-extensions 0.0.30 pyhd8ed1ab_0 conda-forge pysocks 1.7.1 py311h6ffa863_0 python 3.11.8 h3332dee_0_cpython conda-forge python-dateutil 2.8.2 pyhd3eb1b0_0 python-tzdata 2023.3 pyhd3eb1b0_0 python-xxhash 2.0.2 py311hf118e41_1 python_abi 3.11 4_cp311 conda-forge pytorch 2.0.1 cuda11.8_py311_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 pytorch-base 2.0.1 cuda11.8_py311_pb4.21.12_4 https://ftp.osuosl.org/pub/open-ce/1.10.0 pytz 2023.3.post1 py311h6ffa863_0 pyu2f 0.1.5 pyhd8ed1ab_0 conda-forge pyyaml 6.0.1 py311hf118e41_0 re2 2023.02.01 h883269e_0 conda-forge readline 8.2 hf118e41_0 regex 2023.10.3 py311hf118e41_0 reproc 14.2.4 h29c3540_1 reproc-cpp 14.2.4 h29c3540_1 requests 2.31.0 py311h6ffa863_0 requests-oauthlib 2.0.0 pyhd8ed1ab_0 conda-forge responses 0.13.3 pyhd3eb1b0_0 rsa 4.9 pyhd8ed1ab_0 conda-forge ruamel.yaml 0.17.21 py311hf118e41_0 s2n 1.3.37 h5e47323_0 conda-forge safetensors 0.4.0 py311hda16d9e_0 scipy 1.11.1 py311hd69e9bb_0 https://ftp.osuosl.org/pub/open-ce/1.10.0 sentencepiece 0.1.97 h1e74c73_py311_pb4.21.12_2 https://ftp.osuosl.org/pub/open-ce/1.10.0 setuptools 68.0.0 py311h6ffa863_0 six 1.16.0 pyhd3eb1b0_1 snappy 1.1.9 h29c3540_0 sqlite 3.41.2 hf118e41_0 sympy 1.12.1 pypyh2585a3b_103 conda-forge tabulate 0.8.10 pyhd8ed1ab_0 conda-forge tensorboard 2.13.0 pyhab0730d_pb4.21.12_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 tensorboard-data-server 0.7.0 pyh6f84499_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 tensorboard-plugin-wit 1.6.0 pyh9f0ad1d_0 conda-forge tk 8.6.13 hd4bbf49_0 conda-forge tokenizers 0.13.3 py311h3d4f45a_0 torchdata 0.6.0 py311_2 https://ftp.osuosl.org/pub/open-ce/1.10.0 torchsnapshot 0.1.0 pyhd8ed1ab_0 conda-forge torchtext-base 0.15.2 cuda11.8_py311_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 torchtnt 0.2.4 pyhd8ed1ab_0 conda-forge torchvision-base 0.15.2 cuda11.8_py311_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 tornado 6.3.3 py311hf118e41_0 tqdm 4.65.0 py311h7837921_0 transformers 4.32.1 py311h6ffa863_0 truststore 0.8.0 py311h6ffa863_0 typing-extensions 4.7.1 py311h6ffa863_0 typing_extensions 4.7.1 py311h6ffa863_0 typing_inspect 0.9.0 pyhd8ed1ab_0 conda-forge tzdata 2023c h04d1e81_0 urllib3 1.26.18 py311h6ffa863_0 utf8proc 2.6.1 h140841e_0 werkzeug 2.3.8 pyhd8ed1ab_0 conda-forge wheel 0.41.2 py311h6ffa863_0 xxhash 0.8.0 h140841e_3 xz 5.4.2 hf118e41_0 yaml 0.2.5 h7b6447c_0 yaml-cpp 0.8.0 h4a02239_0 yarl 1.8.1 py311hf118e41_0 zipp 3.11.0 py311h6ffa863_0 zlib 1.2.13 h1f2b957_6 conda-forge zstandard 0.19.0 py311hf118e41_0 zstd 1.5.5 h57e4825_0 Hi ! can you try updating `datasets` and `huggingface_hub` ? ``` pip install -U datasets huggingface_hub ```
[ -0.7595154047012329, -0.10635515302419662, -0.07152166217565536, 0.05183333158493042, 0.46253055334091187, -0.08935867249965668, 0.3620522618293762, -0.005497589707374573, 0.16050976514816284, -0.06045207381248474, 0.04542510211467743, -0.0038897281046956778, 0.20361945033073425, 0.13516943156719208, -0.029219288378953934, 0.028596168383955956, 0.2144806683063507, -0.07478302717208862, -0.1068173199892044, 0.12954625487327576, 0.11880733072757721, -0.10902826488018036, -0.12604056298732758, -0.16975493729114532, -0.19280971586704254, -0.045335449278354645, 0.140940859913826, 0.006293591111898422, -0.2547963559627533, -0.051651954650878906, 0.3921253979206085, 0.2629866600036621, 0.2529289126396179, 0.7920704483985901, -0.00012145160144427791, 0.10263822972774506, 0.4270503520965576, 0.08372794091701508, -0.4780218303203583, -0.19018886983394623, -0.5394231081008911, -0.036314018070697784, 0.028280988335609436, 0.08474712818861008, -0.1569247543811798, 0.1519012302160263, 0.016682319343090057, -0.7493622899055481, 0.3549972176551819, 0.35086363554000854, 0.12986835837364197, 0.07852201908826828, -0.20197808742523193, -0.04141334071755409, 0.0077331289649009705, -0.1105836033821106, -0.2921881079673767, 0.259321391582489, 0.5993690490722656, 0.3667238652706146, 0.11317029595375061, 0.16706110537052155, -0.24970898032188416, -0.017146166414022446, -0.003664214164018631, -0.38071656227111816, 0.1281236708164215, -0.21534296870231628, 0.2602282762527466, 0.31354328989982605, 0.7191064357757568, -0.06752461940050125, -0.17677117884159088, -0.11303825676441193, 0.09695658832788467, -0.19373655319213867, 0.21663808822631836, 0.11168285459280014, -0.18503086268901825, 0.18617677688598633, -0.18840479850769043, -0.18487189710140228, -0.263516902923584, 0.2713082432746887, 0.1145651787519455, 0.039268527179956436, -0.07825878262519836, 0.1432131826877594, -0.15780438482761383, -0.017653483897447586, 0.3824993371963501, -0.4627845287322998, -0.12553003430366516, -0.14770403504371643, -0.6279200911521912, 0.33340218663215637, -0.17418432235717773, 0.10954056680202484, -0.013287870213389397, 0.20675574243068695, 0.22798682749271393, 0.3088350296020508, 0.13198639452457428, 0.07295519858598709, 0.17575876414775848, 0.1213393360376358, -0.029129333794116974, 0.20687121152877808, 0.11946311593055725, 0.22146306931972504, -0.2442113310098648, -0.03462854027748108, 0.015123679302632809, 0.16573278605937958, -0.25464940071105957, -0.27412161231040955, 0.2419324666261673, -0.21543627977371216, -0.12130244076251984, 0.010232687927782536, -0.16781145334243774, -0.0005756770260632038, 0.2735375165939331, 0.3715152144432068, -0.2960520088672638, 0.3650735318660736, 0.13941730558872223, 0.16015221178531647, -0.17784078419208527, -0.25167226791381836, -0.21210035681724548, -0.37013983726501465, -0.11855946481227875, 0.12859001755714417, 0.1228722482919693, -0.15707801282405853, 0.18406113982200623, -0.16681240499019623, 0.07544641941785812, -0.15618696808815002, 0.2758691608905792, -0.3935984671115875, 0.1028987318277359, 0.24619938433170319, 0.0871928334236145, 0.12667106091976166, -0.03797287866473198, -0.011730078607797623, 0.21686595678329468, 0.1875639259815216, -0.09014704078435898, -0.19144335389137268, 0.16401080787181854, 0.06517283618450165, -0.07385257631540298, -0.050446875393390656, -0.47746291756629944, 0.23461495339870453, -0.027336709201335907, -0.016932779923081398, -0.056676946580410004, -0.11757832765579224, -0.09803464263677597, 0.03551572188735008, 0.3498726785182953, 0.2535476088523865, -0.12358513474464417, 0.015190467238426208, 0.0011682910844683647, 0.02726549096405506, 0.1939631700515747, 0.09397551417350769, -0.012562843039631844, -0.2212182879447937, -0.140112966299057, -0.16002067923545837, 0.4900985360145569, -0.17412813007831573, -0.5785810351371765, 0.5089832544326782, -0.07919877767562866, 0.12152481824159622, 0.10081134736537933, 0.16958849132061005, 0.37969741225242615, 0.053426459431648254, -0.08318531513214111, 0.5257651209831238, -0.2303904891014099, -0.0024623796343803406, -0.15307681262493134, -0.23914210498332977, -0.205551877617836, 0.29508909583091736, -0.09058742225170135, 0.2296046018600464, 0.00037673860788345337, -0.13212443888187408, 0.309406042098999, 0.12973125278949738, 0.09600237011909485, 0.159376323223114, 0.11884370446205139, 0.18143686652183533, 0.02870940789580345, -0.11205552518367767, -0.3537273705005646, 0.126674622297287, 0.39066949486732483, -0.2563362717628479, -0.08127474784851074, 0.04092775285243988, -0.1604241132736206, -0.012615344487130642, -0.23291201889514923, 0.03354877606034279, -0.07489628344774246, 0.21193715929985046, -0.018846353515982628, 0.10607567429542542, 0.07778683304786682, 0.5425311923027039, -0.2386029064655304, -0.08153138309717178, -0.42770323157310486, 0.32034018635749817, 0.030176939442753792, -0.2017774134874344, -0.04812032729387283, -0.003229670226573944, -0.004787750542163849, -0.027942754328250885, -0.3568651080131531, 0.3067035377025604, -0.21191221475601196, 0.021588295698165894, -0.0212075337767601, 0.07883071899414062, 0.14337749779224396, -0.41046828031539917, 0.17752699553966522, 0.23017588257789612, 0.20177893340587616, -0.19765165448188782, -0.2384185492992401, 0.0036211758852005005, -0.03175909444689751, 0.38599997758865356, 0.11648932099342346, -0.12269796431064606, 0.4574165642261505, -0.04448233172297478, -0.2136184722185135, 0.1688832938671112, 0.39829394221305847, -0.17850826680660248, 0.34813570976257324, -0.07783614844083786, -0.38943833112716675, 0.07588713616132736, 0.032535262405872345, 0.08483968675136566, -0.08704971522092819, 0.04025889188051224, -0.09428279846906662, 0.054589323699474335, 0.1699705272912979, 0.042581792920827866, 0.3950011730194092, 0.14958198368549347, 0.1536966860294342, -0.11670368164777756, 0.2357087880373001, -0.3062599301338196, 0.08695143461227417, 0.024205200374126434, 0.07032940536737442, 0.029380418360233307, 0.1881931871175766, -0.04952698573470116, -0.10911421477794647, -0.1604704111814499, 0.0006146011874079704, -0.0025386549532413483, -0.18235479295253754, 0.19428420066833496, -0.20209528505802155, -0.2980157136917114, 0.07638721168041229, 0.05866393819451332, 0.008423762395977974, -0.07368718087673187, -0.3126866817474365, 0.515082597732544, 0.11526541411876678, 0.3356688618659973, -0.47976431250572205, 0.23633569478988647, 0.38139161467552185, -0.11174025386571884, -0.28099092841148376, 0.04501993581652641, -0.13535717129707336, -0.03200633451342583, 0.3177957534790039, 0.09010756015777588, 0.2215333729982376, 0.17876112461090088, -0.3515915870666504, -0.2582330107688904, 0.03804317116737366, -0.06287205964326859, 0.26076096296310425, 0.46790629625320435, -0.2531253397464752, 0.3888970613479614, -0.10866181552410126, 0.031464528292417526, 0.3533463776111603, -0.2751341760158539, 0.09842316806316376, 0.07011158019304276, 0.004168841056525707, 0.018623655661940575, 0.060516972094774246, -0.11603184789419174, -0.2502277195453644, -0.49313390254974365, -0.1467476338148117, -0.4189130663871765, -0.12653151154518127, 0.05981358140707016, 0.29398778080940247, -0.023113582283258438, -0.003999457228928804, -0.048345230519771576, -0.21154677867889404, -0.7109973430633545, 0.299363911151886, 0.05452857166528702, -0.4006044268608093, 0.004578888416290283, -0.00884125754237175, 0.01783650740981102, 0.5221659541130066, -0.5296130180358887, 0.3074628412723541, -0.1670302301645279, 0.23094233870506287, -0.004946373403072357, -0.20995499193668365, 0.08227990567684174, -0.45183390378952026, 0.07668990641832352, -0.190373033285141, -0.04913031682372093, -0.13278689980506897, -0.110389344394207, 0.3840969502925873, 0.20679351687431335, 0.6171578168869019, -0.012996310368180275, 0.5825139880180359, 0.30511391162872314, -0.04246221110224724, 0.3170378804206848, 0.10683746635913849, 0.31680816411972046, -0.05705965310335159, -0.34059539437294006, 0.23348212242126465, -0.10644227266311646, 0.011867620050907135, 0.04261172562837601, 0.15373948216438293, -0.09644939750432968, -0.3516904413700104, 0.24991071224212646, -0.003773927688598633, -0.1278829425573349, 0.10972484946250916, -0.6759452223777771, 0.15571683645248413, 0.22243037819862366, 0.08356305211782455, 0.09855775535106659, -0.15683695673942566, -0.18963171541690826, 0.3053949177265167, 0.028532609343528748, -0.017424456775188446, -0.21517334878444672, 0.13732820749282837, -0.6444417238235474, 0.1940515637397766, -0.01549700926989317, 0.7402154207229614, -0.2554468810558319, 0.07710332423448563, 0.13800254464149475, -0.07121536880731583, 0.5299293994903564, -0.3621428310871124, 0.13130982220172882, 0.21333949267864227, 0.1382281631231308, -0.4404885768890381, -0.0168706476688385, 0.04829027131199837, 0.2254064679145813, 0.5713040232658386, -0.16099177300930023, -0.3346794545650482, -0.15135711431503296, -0.1325179785490036, -0.09767749160528183, 0.09408827126026154, -0.3678950369358063, -0.2864481806755066, -0.06641894578933716, -0.11700871586799622, 0.060858260840177536, -0.04013001173734665, -0.003498686943203211, -0.2552492320537567, -0.4420599937438965, -0.2622419595718384, 0.16401353478431702, -0.07990187406539917, -0.1450296938419342, -0.0265272818505764, 0.14586150646209717, 0.5247458815574646, 0.04336051642894745, 0.4100865423679352, 0.13657838106155396, 0.5353084802627563, 0.14001795649528503, -0.42727458477020264, 0.13104939460754395, 0.10126315802335739, 0.009976096451282501, 0.31670689582824707, -0.09892258048057556, 0.14720463752746582, 0.33893895149230957, 0.19561195373535156, 0.10388641059398651, 0.1840609908103943, 0.09833764284849167, 0.2438129484653473, -0.39534756541252136, -0.6204916834831238, 0.35757943987846375, 0.12313385307788849, 0.03920547664165497, 0.6839979290962219, -0.44566333293914795, -0.03998942673206329, 0.013001041486859322, -0.3372155427932739, 0.6656674146652222, 0.015380807220935822, -0.05583655461668968, 0.31849339604377747, 0.16076317429542542, 0.2120661437511444, -0.06336826086044312, 0.11123178899288177, 0.07817478477954865, -0.3764602541923523, 0.050261884927749634, -0.14915931224822998, 0.43091291189193726, -0.02172355353832245, -0.2614634037017822, -0.005080429371446371, 0.0641612559556961, 0.24486735463142395, 0.18371930718421936, 0.19383592903614044, -0.28719353675842285, -0.08112543821334839, -0.3322613835334778, 0.12406526505947113, -0.238007590174675, -0.10716082155704498, -0.011109041050076485, 0.06805495172739029, -0.11475002765655518, -0.03496137261390686, -0.26162368059158325, 0.3087763488292694, -0.384550005197525, -0.11679603159427643, -0.1410222053527832, -0.2321835607290268, 0.3544604480266571, -0.2145538628101349, -0.09100799262523651, -0.021344613283872604, -0.1723632514476776, 0.4966017007827759, -0.04207772761583328, 0.15442241728305817, 0.16839094460010529, -0.4319705367088318, 0.08565355837345123, -0.01057075522840023, -0.15693849325180054, 0.1989835798740387, 0.0046056220307946205, -0.2674112915992737, 0.19249257445335388, -0.061435118317604065, 0.5974522829055786, -0.1377827674150467, -0.11933787167072296, -0.055130407214164734, -0.10188905894756317, -0.03064367175102234, 0.06894860416650772, 0.13513922691345215, -0.1847049444913864, 0.34761080145835876, -0.019709471613168716, -0.09353270381689072, -0.2222997397184372, 0.5026031136512756, -0.04538322985172272, 0.02336367592215538, 0.3446972966194153, 0.3118059039115906, -0.08918722718954086, -0.11017048358917236, 0.01852608472108841, -0.09988422691822052, -0.02809872105717659, 0.08666892349720001, -0.14769242703914642, -0.09685277938842773, 0.13423189520835876, -0.19700103998184204, -0.26346635818481445, -0.13174468278884888, 0.09685148298740387, -0.3862946331501007, -0.283146470785141, -0.2394113391637802, -0.1334720253944397, -0.008777786046266556, -0.10894405841827393, -0.015664394944906235, 0.12112016975879669, 0.2343483716249466, -0.18112871050834656, -0.06242109090089798, -0.1146613135933876, 0.17710663378238678, 0.26085519790649414, 0.03216588497161865, 0.16380324959754944, -0.27571290731430054, -0.0615106001496315, -0.007584281265735626, -0.1535593718290329, -0.13510116934776306, -0.05703815817832947, 0.19283972680568695, 0.1533486545085907, -0.24101622402668, -0.26155886054039, -0.46636152267456055, -0.13608360290527344, -0.011120714247226715, 0.1127186119556427, 0.08781652897596359, -0.22338266670703888, -0.5811986327171326, 0.02477135881781578, 0.18524032831192017, -0.2504097819328308, 0.26634836196899414, -0.2039322555065155, 0.10803578048944473, 0.06419778615236282, 0.08325287699699402, 0.3282574415206909, -0.0546802282333374, -0.4045715630054474, -0.13407137989997864, 0.18514235317707062, 0.15667986869812012, 0.6007956862449646, -0.40786242485046387, 0.07821707427501678, 0.30609363317489624, 0.06522918492555618, 0.3574889898300171, -0.02617025002837181, -0.2322344183921814, 0.10636934638023376, 0.15922924876213074, -0.12645083665847778, 0.06984324753284454, 0.252034455537796, 0.11210501194000244, 0.04798802360892296, -0.07777503877878189, -0.06241554766893387, -0.2591673731803894, -0.07797396183013916, 0.40231090784072876, 0.39470481872558594, 0.06946942210197449, 0.3417606055736542, -0.09545104205608368, 0.38672059774398804, 0.050503820180892944, -0.017832370474934578, 0.1560831069946289, -0.1324024200439453, 0.5169326066970825, 0.08752964437007904, 0.3972853720188141, 0.11182915419340134, 0.3861958980560303, -0.2736493647098541, -0.36392301321029663, -0.252145379781723, 0.07872970402240753, -0.6171146631240845, 0.20990785956382751, -0.011726699769496918, -0.10397303849458694, -0.11172802746295929, -0.17005883157253265, -0.09782572835683823, -0.06947556138038635, 0.024212181568145752, 0.0511593297123909, -0.2747366726398468, 0.07297002524137497, 0.09249404072761536, -0.21288780868053436, 0.07541541755199432, 0.11169774830341339, 0.21974381804466248, 0.2577816843986511, -0.06833219528198242, -0.5187199115753174, -0.11264397948980331, 0.21068847179412842, 0.08173704147338867, -0.0878596231341362, 0.47445148229599, 0.040755048394203186, -0.063654825091362, 0.1544479876756668, 0.17794430255889893, 0.3001146912574768, 0.37381303310394287, 0.11380848288536072, 0.2365974485874176, 0.15653587877750397, -0.18408134579658508, -0.15283052623271942, 0.32807013392448425, 0.24444851279258728, -0.3394481837749481, 0.11647757887840271, 0.08642473816871643, -0.08154206722974777, 0.16020812094211578, -0.033596012741327286, 0.25593096017837524, -0.4202652871608734, 0.16240358352661133, -0.1141236424446106, 0.02101665735244751, -0.28338751196861267, -0.03877446800470352, -0.32081055641174316, 0.48569145798683167, 0.5324878692626953, -0.5167497396469116, 0.1391024887561798, -0.2826901376247406, 0.004923216998577118, -0.23538672924041748, 0.491323322057724, 0.22835183143615723, 0.19167670607566833, -0.3157305121421814, -0.19141408801078796, -0.3625487983226776, 0.022881299257278442, -0.1932579129934311, 0.00020923279225826263, -0.02886638417840004, 0.37075385451316833, 0.0029085054993629456, -0.022510133683681488, -0.05018872022628784, 0.3924606144428253, 0.2046591341495514, 0.28086817264556885, -0.3454863429069519, -0.22860850393772125, -0.17606812715530396, 0.37556755542755127, -0.11489010602235794, -0.3758653402328491, 0.2808232009410858, 0.08766908198595047, -0.0633193626999855, 0.22519271075725555, -0.3139374256134033, -0.029629694297909737, -0.10634621977806091, 0.26665300130844116, 0.09538141638040543, 0.27592384815216064, -0.0014209076762199402, 0.0940442681312561, -0.3889633119106293, -0.24600811302661896, -0.09465203434228897, 0.028001826256513596, 0.1564691960811615, 0.2551751136779785, -0.3391405940055847, 0.06737346947193146, -0.10913659632205963, 0.062324777245521545, -0.11318018287420273, -0.39078056812286377, 0.015418412163853645, -0.07689300924539566, -0.07716838270425797, 0.59033203125, -0.20323657989501953, 0.1393173336982727, -0.054239749908447266, 0.04626709967851639, -0.2994954586029053, -0.12897250056266785, 0.5594402551651001, -0.1284497082233429, -0.2336277961730957, -0.4892158806324005, 0.23862159252166748, 0.15081846714019775, 0.21915805339813232, -0.02230498194694519, 0.08133199065923691, 0.2500671446323395, -0.038526616990566254, 0.08547689020633698, 0.18895037472248077, 0.18937094509601593, 0.41535887122154236, -0.11592334508895874, 0.16767239570617676, 0.039780329912900925, -0.26155728101730347, 0.10650663077831268, -0.09126396477222443 ]
https://github.com/huggingface/datasets/issues/6985
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType'
Please note that the error is raised just at import: ```python import pyarrow.parquet as pq ``` Therefore it must be caused by some problem with your pyarrow installation. I would recommend you uninstall and install pyarrow again. I also see that it seems you use conda to install pyarrow. Please note that pyarrow offers 3 different packages in conda-forge: https://arrow.apache.org/docs/python/install.html#using-conda ``` conda install -c conda-forge pyarrow ``` > While the pyarrow [conda-forge](https://conda-forge.org/) package is the right choice for most users, both a minimal and maximal variant of the package exist, either of which may be better for your use case. See [Differences between conda-forge packages](https://arrow.apache.org/docs/python/install.html#python-conda-differences). Please, make sure you install the right one: I guess it is either `pyarrow` (or `pyarrow-all`).
### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hugging Face Hub login(token=access_token_read) # Load the models from the Hugging Face Hub trainer_relv = SetFitModel.from_pretrained("snowdere/trainer_relevance") trainer_trust = SetFitModel.from_pretrained("snowdere/trainer_trust") trainer_sent = SetFitModel.from_pretrained("snowdere/trainer_sent") trainer_topic = SetFitModel.from_pretrained("snowdere/trainer_topic") ``` ``` --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Cell In[6], line 1 ----> 1 from setfit import SetFitModel 2 from huggingface_hub import login 4 access_token_read = "ccsddsds" File /opt/conda/lib/python3.10/site-packages/setfit/__init__.py:7 4 import os 5 import warnings ----> 7 from .data import get_templated_dataset, sample_dataset 8 from .model_card import SetFitModelCardData 9 from .modeling import SetFitHead, SetFitModel File /opt/conda/lib/python3.10/site-packages/setfit/data.py:5 3 import pandas as pd 4 import torch ----> 5 from datasets import Dataset, DatasetDict, load_dataset 6 from torch.utils.data import Dataset as TorchDataset 8 from . import logging File /opt/conda/lib/python3.10/site-packages/datasets/__init__.py:18 1 # ruff: noqa 2 # Copyright 2020 The HuggingFace Datasets Authors and the TensorFlow Datasets Authors. 3 # (...) 13 # See the License for the specific language governing permissions and 14 # limitations under the License. 16 __version__ = "2.19.0" ---> 18 from .arrow_dataset import Dataset 19 from .arrow_reader import ReadInstruction 20 from .builder import ArrowBasedBuilder, BeamBasedBuilder, BuilderConfig, DatasetBuilder, GeneratorBasedBuilder File /opt/conda/lib/python3.10/site-packages/datasets/arrow_dataset.py:76 73 from tqdm.contrib.concurrent import thread_map 75 from . import config ---> 76 from .arrow_reader import ArrowReader 77 from .arrow_writer import ArrowWriter, OptimizedTypedSequence 78 from .data_files import sanitize_patterns File /opt/conda/lib/python3.10/site-packages/datasets/arrow_reader.py:29 26 from typing import TYPE_CHECKING, List, Optional, Union 28 import pyarrow as pa ---> 29 import pyarrow.parquet as pq 30 from tqdm.contrib.concurrent import thread_map 32 from .download.download_config import DownloadConfig File /opt/conda/lib/python3.10/site-packages/pyarrow/parquet/__init__.py:20 1 # Licensed to the Apache Software Foundation (ASF) under one 2 # or more contributor license agreements. See the NOTICE file 3 # distributed with this work for additional information (...) 17 18 # flake8: noqa ---> 20 from .core import * File /opt/conda/lib/python3.10/site-packages/pyarrow/parquet/core.py:33 30 import pyarrow as pa 32 try: ---> 33 import pyarrow._parquet as _parquet 34 except ImportError as exc: 35 raise ImportError( 36 "The pyarrow installation is not built with support " 37 f"for the Parquet file format ({str(exc)})" 38 ) from None File /opt/conda/lib/python3.10/site-packages/pyarrow/_parquet.pyx:1, in init pyarrow._parquet() AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ``` setfit: 1.0.3 transformers: 4.41.2 lingua-language-detector: 2.0.2 polars: 0.20.31 lightning: None google-cloud-bigquery: 3.24.0 shapely: 2.0.4 pyarrow: 16.0.0 ### Steps to reproduce the bug I have tried all version combinations for Dataset and Pyarrow, the all have the same error since a few days ago. This is accross multiple scripts I have. ### Expected behavior Just ron normally. ### Environment info 3.10
121
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hugging Face Hub login(token=access_token_read) # Load the models from the Hugging Face Hub trainer_relv = SetFitModel.from_pretrained("snowdere/trainer_relevance") trainer_trust = SetFitModel.from_pretrained("snowdere/trainer_trust") trainer_sent = SetFitModel.from_pretrained("snowdere/trainer_sent") trainer_topic = SetFitModel.from_pretrained("snowdere/trainer_topic") ``` ``` --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Cell In[6], line 1 ----> 1 from setfit import SetFitModel 2 from huggingface_hub import login 4 access_token_read = "ccsddsds" File /opt/conda/lib/python3.10/site-packages/setfit/__init__.py:7 4 import os 5 import warnings ----> 7 from .data import get_templated_dataset, sample_dataset 8 from .model_card import SetFitModelCardData 9 from .modeling import SetFitHead, SetFitModel File /opt/conda/lib/python3.10/site-packages/setfit/data.py:5 3 import pandas as pd 4 import torch ----> 5 from datasets import Dataset, DatasetDict, load_dataset 6 from torch.utils.data import Dataset as TorchDataset 8 from . import logging File /opt/conda/lib/python3.10/site-packages/datasets/__init__.py:18 1 # ruff: noqa 2 # Copyright 2020 The HuggingFace Datasets Authors and the TensorFlow Datasets Authors. 3 # (...) 13 # See the License for the specific language governing permissions and 14 # limitations under the License. 16 __version__ = "2.19.0" ---> 18 from .arrow_dataset import Dataset 19 from .arrow_reader import ReadInstruction 20 from .builder import ArrowBasedBuilder, BeamBasedBuilder, BuilderConfig, DatasetBuilder, GeneratorBasedBuilder File /opt/conda/lib/python3.10/site-packages/datasets/arrow_dataset.py:76 73 from tqdm.contrib.concurrent import thread_map 75 from . import config ---> 76 from .arrow_reader import ArrowReader 77 from .arrow_writer import ArrowWriter, OptimizedTypedSequence 78 from .data_files import sanitize_patterns File /opt/conda/lib/python3.10/site-packages/datasets/arrow_reader.py:29 26 from typing import TYPE_CHECKING, List, Optional, Union 28 import pyarrow as pa ---> 29 import pyarrow.parquet as pq 30 from tqdm.contrib.concurrent import thread_map 32 from .download.download_config import DownloadConfig File /opt/conda/lib/python3.10/site-packages/pyarrow/parquet/__init__.py:20 1 # Licensed to the Apache Software Foundation (ASF) under one 2 # or more contributor license agreements. See the NOTICE file 3 # distributed with this work for additional information (...) 17 18 # flake8: noqa ---> 20 from .core import * File /opt/conda/lib/python3.10/site-packages/pyarrow/parquet/core.py:33 30 import pyarrow as pa 32 try: ---> 33 import pyarrow._parquet as _parquet 34 except ImportError as exc: 35 raise ImportError( 36 "The pyarrow installation is not built with support " 37 f"for the Parquet file format ({str(exc)})" 38 ) from None File /opt/conda/lib/python3.10/site-packages/pyarrow/_parquet.pyx:1, in init pyarrow._parquet() AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ``` setfit: 1.0.3 transformers: 4.41.2 lingua-language-detector: 2.0.2 polars: 0.20.31 lightning: None google-cloud-bigquery: 3.24.0 shapely: 2.0.4 pyarrow: 16.0.0 ### Steps to reproduce the bug I have tried all version combinations for Dataset and Pyarrow, the all have the same error since a few days ago. This is accross multiple scripts I have. ### Expected behavior Just ron normally. ### Environment info 3.10 Please note that the error is raised just at import: ```python import pyarrow.parquet as pq ``` Therefore it must be caused by some problem with your pyarrow installation. I would recommend you uninstall and install pyarrow again. I also see that it seems you use conda to install pyarrow. Please note that pyarrow offers 3 different packages in conda-forge: https://arrow.apache.org/docs/python/install.html#using-conda ``` conda install -c conda-forge pyarrow ``` > While the pyarrow [conda-forge](https://conda-forge.org/) package is the right choice for most users, both a minimal and maximal variant of the package exist, either of which may be better for your use case. See [Differences between conda-forge packages](https://arrow.apache.org/docs/python/install.html#python-conda-differences). Please, make sure you install the right one: I guess it is either `pyarrow` (or `pyarrow-all`).
[ -0.18593543767929077, -0.4933111071586609, -0.03907205909490585, 0.42739152908325195, 0.48480039834976196, 0.12958857417106628, 0.46900448203086853, 0.3612813651561737, 0.045902069658041, -0.004905007779598236, -0.27652013301849365, 0.3779095709323883, -0.13031448423862457, 0.1008085384964943, 0.22991633415222168, -0.3694237768650055, 0.14201891422271729, 0.20572829246520996, 0.1454867422580719, 0.00552733987569809, -0.13429009914398193, 0.3038622736930847, -0.13790951669216156, 0.1053081750869751, -0.2556031048297882, -0.1766509711742401, 0.05080202966928482, -0.016987256705760956, 0.0685439184308052, -0.5381540656089783, 0.14598125219345093, -0.4480394124984741, 0.16979502141475677, 0.22525793313980103, -0.00011976278619840741, 0.1310238540172577, 0.25934702157974243, 0.09086629748344421, -0.1558234542608261, -0.1642223745584488, 0.30608636140823364, -0.014555691741406918, 0.5709422826766968, -0.023566387593746185, -0.15650027990341187, 0.040916044265031815, -0.25660425424575806, 0.2508653700351715, 0.13301301002502441, 0.48697924613952637, 0.22775980830192566, 0.41947367787361145, 0.4804005026817322, -0.10038162767887115, 0.4150947034358978, 0.024901602417230606, -0.21129386126995087, 0.6043617129325867, 0.22672846913337708, -0.06560827791690826, 0.24011871218681335, 0.073117196559906, -0.06960882991552353, -0.0775410532951355, 0.49774518609046936, 0.20473165810108185, 0.13980965316295624, -0.34812167286872864, -0.21109798550605774, 0.08429909497499466, 0.07904471457004547, -0.36546358466148376, -0.32244834303855896, -0.22978097200393677, 0.08383054286241531, -0.3193266987800598, 0.19310174882411957, 0.2605893313884735, -0.09514172375202179, 0.14413638412952423, 0.03040546551346779, -0.07082299888134003, -0.10910576581954956, 0.11084935069084167, -0.14559417963027954, 0.21563957631587982, -0.010776822455227375, 0.047155123203992844, 0.1893131285905838, 0.1381586194038391, 0.22555221617221832, 0.14061114192008972, -0.08234792947769165, 0.0070398347452282906, -0.32776105403900146, -0.11473838984966278, 0.11757464706897736, 0.3725142180919647, -0.17197874188423157, 0.26018792390823364, 0.008833799511194229, -0.2713141143321991, 0.35980209708213806, 0.07633980363607407, -0.009128410369157791, 0.2783544063568115, 0.008374921977519989, 0.17959092557430267, 0.012157060205936432, 0.27799171209335327, 0.18823279440402985, -0.01770199090242386, -0.07970140129327774, -0.17719629406929016, 0.037039536982774734, 0.028808720409870148, 0.41985201835632324, -0.04122867062687874, -0.4527256190776825, -0.04305830970406532, -0.2310166358947754, -0.01266094297170639, 0.17254513502120972, 0.5352041721343994, -0.24566073715686798, -0.03331722319126129, 0.2198297530412674, 0.1580563485622406, -0.232145756483078, -0.13168714940547943, -0.08509280532598495, 0.39525139331817627, -0.14651083946228027, -0.24199657142162323, -0.04900892823934555, -0.5767093896865845, 0.23764260113239288, -0.04001148045063019, 0.2821897268295288, 0.010750550776720047, -0.318406343460083, -0.1516164243221283, -0.19960284233093262, 0.2890460193157196, -0.12581856548786163, -0.0469546802341938, 0.3919256329536438, -0.3167918920516968, -0.19859035313129425, 0.09279613196849823, -0.15158766508102417, -0.18545366823673248, -0.21354569494724274, 0.11867210268974304, 0.043137870728969574, -0.21017414331436157, -0.04144897311925888, -0.1099705696105957, 0.14011144638061523, 0.013760216534137726, 0.040468715131282806, -0.18429553508758545, 0.24602088332176208, -0.21088536083698273, 0.20458771288394928, 0.15834008157253265, -0.3530522286891937, -0.09371881932020187, 0.1554718315601349, -0.0910763293504715, -0.1897864043712616, 0.13517989218235016, -0.09200622886419296, 0.3345072269439697, -0.20219311118125916, 0.06830193102359772, 0.09936998784542084, -0.3198910057544708, -0.35259637236595154, -0.1932152658700943, -0.07071461528539658, -0.03333060070872307, -0.021914370357990265, 0.034893132746219635, -0.07146012783050537, -0.05451169237494469, 0.11035312712192535, 0.11602876335382462, -0.07573378086090088, 0.05433465540409088, -0.2435227334499359, -0.1610458642244339, 0.28764986991882324, 0.059365998953580856, 0.06173726171255112, 0.12363225221633911, 0.2132064253091812, 0.062080658972263336, 0.3512308597564697, -0.1772826910018921, -0.13987554609775543, 0.019728470593690872, 0.3919980227947235, 0.16153007745742798, -0.15964803099632263, -0.25675129890441895, -0.3295706808567047, 0.0720910131931305, -0.28603455424308777, 0.16131627559661865, -0.2384425550699234, -0.12131553888320923, -0.33156266808509827, 0.20484203100204468, -0.21054033935070038, -0.35311979055404663, 0.06265518814325333, 0.08003339916467667, -0.06326590478420258, 0.18652568757534027, -0.23154252767562866, 0.06117334961891174, -0.1969548761844635, 0.25412771105766296, -0.2765985429286957, 0.6522399187088013, -0.2714981734752655, -0.4708445370197296, -0.22675801813602448, 0.08011489361524582, 0.11413313448429108, 0.030567480251193047, -0.11175726354122162, 0.12279148399829865, -0.03775748237967491, -0.10317027568817139, -0.20695087313652039, -0.04529504477977753, 0.12622471153736115, -0.42444854974746704, -0.25407835841178894, 0.06880678236484528, 0.16870567202568054, 0.046853579580783844, 0.3344566822052002, 0.3171567916870117, 0.1327396035194397, 0.05717269703745842, -0.0796990618109703, 0.21443310379981995, -0.12396212667226791, 0.10233643651008606, 0.25920650362968445, 0.058304011821746826, 0.2840663194656372, 0.24368739128112793, 0.2579272985458374, -0.21727031469345093, -0.33292070031166077, -0.09323696047067642, 0.3704065978527069, 0.13100747764110565, 0.2054148018360138, -0.002136167138814926, -0.2186914086341858, 0.14992815256118774, 0.2519659996032715, -0.40328702330589294, 0.13967925310134888, 0.06446107476949692, -0.44871607422828674, 0.2689257860183716, -0.06892669200897217, 0.07717298716306686, 0.3341960310935974, 0.02574252337217331, 0.33456096053123474, -0.12901413440704346, 0.06417927891016006, 0.008264822885394096, -0.09393870830535889, -0.4410448670387268, -0.18496695160865784, 0.3032413423061371, -0.4812757670879364, 0.12460388988256454, 0.06660710275173187, 0.22790777683258057, 0.02963791787624359, -0.654408872127533, -0.4133542478084564, -0.08182989060878754, -0.19092516601085663, 0.34261515736579895, 0.15086966753005981, 0.15834738314151764, 0.051865700632333755, 0.03447459638118744, 0.33520713448524475, -0.12507332861423492, -0.175371915102005, -0.1299683004617691, -0.25164738297462463, 0.046645697206258774, 0.22026222944259644, -0.2929621636867523, 0.061680868268013, -0.31704777479171753, -0.012524082325398922, -0.10090471059083939, -0.2738267779350281, 0.17236024141311646, -0.350671648979187, 0.41078826785087585, 0.25675123929977417, 0.1447107344865799, -0.29386836290359497, -0.22267642617225647, 0.379276841878891, -0.1335625946521759, -0.19705860316753387, 0.17249587178230286, 0.020267808809876442, -0.009807840920984745, 0.11796779930591583, -0.19248899817466736, -0.30393630266189575, -0.31709665060043335, 0.29507553577423096, 0.09723925590515137, 0.2670924663543701, 0.4502977132797241, 0.26684731245040894, 0.3761703670024872, -0.4430045783519745, 0.2547447383403778, 0.1232462227344513, -0.11604592949151993, 0.1971365362405777, -0.20182538032531738, -0.558158814907074, 0.022024739533662796, -0.0006927512586116791, 0.13897842168807983, -0.23227734863758087, -0.482332706451416, -0.501940131187439, -0.1646394431591034, 0.38711491227149963, -0.1625654697418213, 0.026650207117199898, 0.2953866124153137, -0.049935124814510345, 0.024278530851006508, 0.07294436544179916, -0.16342225670814514, 0.029299907386302948, -0.035277582705020905, 0.08180953562259674, 0.01394631527364254, 0.05052298307418823, -0.16413237154483795, 0.4805254340171814, 0.2547893226146698, -0.12173432111740112, 0.3357129395008087, -0.2749577760696411, 0.17475639283657074, -0.14564305543899536, -0.615887463092804, -0.021059149876236916, -0.05737358331680298, 0.01387283205986023, 0.24638786911964417, -0.22259807586669922, -0.10375335812568665, -0.25275376439094543, -0.22570011019706726, -0.21140745282173157, -0.20912982523441315, -0.04149612784385681, -0.021437019109725952, 0.0921819880604744, -0.292843222618103, 0.15734761953353882, -0.1431150585412979, -0.1124042272567749, 0.3605489730834961, 0.2628623843193054, -0.21873673796653748, -0.06394349783658981, -0.023059038445353508, -0.6087771058082581, -0.20778396725654602, 0.11756904423236847, 0.21025989949703217, 0.1944471299648285, 0.031881485134363174, -0.021178921684622765, 0.15458115935325623, 0.09703793376684189, 0.640483021736145, 0.2463044375181198, 0.0935666635632515, 0.02996564283967018, -0.33316394686698914, -0.23276296257972717, -0.08458034694194794, -0.27000945806503296, -0.21415984630584717, 0.025218406692147255, 0.09510650485754013, -0.11858749389648438, 0.0014996037352830172, 0.032659079879522324, -0.03235030546784401, -0.08226537704467773, 0.11420423537492752, -0.2151528149843216, -0.18424755334854126, -0.2980537414550781, 0.23855361342430115, 0.24000541865825653, 0.45508262515068054, 0.30100274085998535, 0.22973467409610748, -0.1819743514060974, -0.224544495344162, 0.04463005065917969, 0.059155549854040146, 0.2935316562652588, -0.05587176978588104, 0.010926652699708939, -0.15986928343772888, 0.3595300316810608, 0.1015714704990387, 0.565601110458374, -0.007334709167480469, -0.4631310701370239, -0.11811777204275131, 0.022570420056581497, 0.2200862020254135, 0.23455452919006348, -0.15957880020141602, 0.1505115032196045, -0.13104306161403656, 0.18532396852970123, 0.11647239327430725, -0.11253761500120163, 0.3531762361526489, 0.1587279587984085, 0.026345763355493546, -0.12225523591041565, 0.3638002574443817, -0.2797895073890686, 0.21134649217128754, 0.05202976241707802, 0.5015304088592529, -0.11480765789747238, 0.1358342319726944, 0.2087160348892212, 1.008398175239563, 0.29219135642051697, 0.2547611594200134, 0.6589364409446716, -0.1784878522157669, 0.3059101700782776, 0.17125728726387024, 0.14742673933506012, -0.5177796483039856, -0.2812885344028473, -0.065568707883358, -0.170429989695549, 0.28106969594955444, -0.4136565327644348, -0.1303538829088211, -0.12812085449695587, -0.19717907905578613, 0.32488876581192017, 0.06083463132381439, -0.09771354496479034, -0.004596667364239693, 0.018026545643806458, -0.6178739070892334, 0.03595616668462753, -0.09422953426837921, 0.11787237226963043, -0.18648624420166016, -0.049627553671598434, -0.30797719955444336, -0.08589223772287369, -0.1716962456703186, 0.1456713080406189, -0.2237081676721573, 0.038441404700279236, 0.3035896122455597, -0.4953520894050598, 0.10300597548484802, 0.2886504828929901, 0.0017650127410888672, -0.12873929738998413, -0.33058157563209534, 0.08375237137079239, -0.08814739435911179, 0.0015170122496783733, -0.11048834025859833, -0.02268451824784279, 0.5846396088600159, -0.21965476870536804, -0.28660279512405396, 0.3038046061992645, -0.07037565112113953, -0.038560304790735245, -0.009819939732551575, 0.13531115651130676, 0.15397629141807556, -0.4332524538040161, 0.003985734656453133, -0.3614366054534912, 0.12320373952388763, -0.2593863010406494, 0.06583103537559509, 0.1868327558040619, -0.28641682863235474, -0.07094231992959976, 0.24008889496326447, -0.17420606315135956, -0.1733710914850235, 0.21200692653656006, -0.10192041844129562, 0.07230957597494125, 0.37860962748527527, 0.39178532361984253, -0.34062784910202026, -0.16377675533294678, -0.025508161634206772, 0.2754251956939697, -0.8959247469902039, 0.26288896799087524, -0.07350502908229828, -0.030501514673233032, -0.10088378936052322, 0.42741498351097107, 0.3180299997329712, 0.1363433301448822, -0.0015053078532218933, -0.33491551876068115, -0.35275450348854065, 0.11528502404689789, 0.11737407743930817, 0.08933129906654358, 0.08204469084739685, 0.3844384253025055, 0.18389630317687988, -0.10251140594482422, -0.2651558518409729, -0.09603044390678406, -0.09429308027029037, 0.11752337217330933, -0.3482823371887207, -0.20855143666267395, 0.3608168959617615, 0.11086644232273102, 0.13248485326766968, 0.0485498309135437, -0.16000163555145264, -0.19740936160087585, -0.13144820928573608, 0.1260492205619812, 0.09292573481798172, -0.17974413931369781, 0.10659845918416977, 0.11867077648639679, 0.05017504096031189, -0.1563897281885147, 0.04397086426615715, 0.023803018033504486, 0.0012754574418067932, 0.17618541419506073, 0.4706731140613556, -0.03112112730741501, -0.0884612500667572, -0.08556418120861053, -0.2759772837162018, 0.0480709932744503, 0.05777783319354057, -0.09529614448547363, -0.2256050556898117, 0.08675092458724976, -0.10206147283315659, 0.15304596722126007, -0.0184805765748024, -0.02693275362253189, 0.30902954936027527, -0.3074929118156433, -0.08382505178451538, -0.17442686855793, 0.41687482595443726, 0.035295307636260986, -0.1772899478673935, 0.0643225759267807, 0.4713669419288635, 0.12143638730049133, -0.3661593496799469, 0.1638212949037552, 0.16516095399856567, -0.05909238010644913, 0.09422414004802704, 0.2930832505226135, -0.058924660086631775, -0.0016166344285011292, -0.17325614392757416, 0.18802201747894287, 0.4586375057697296, 0.12621912360191345, 0.0875268429517746, 0.6352688670158386, -0.07534046471118927, 0.2441379576921463, 0.606556236743927, 0.2026829570531845, 0.11014331132173538, 0.3207458257675171, -0.42951667308807373, 0.12417686730623245, -0.41291409730911255, -0.07937450706958771, 0.3187809884548187, -0.010354256257414818, 0.2537107765674591, 0.010482534766197205, 0.21988216042518616, -0.24649572372436523, -0.12507838010787964, 0.47337204217910767, 0.10333774238824844, -0.11548183113336563, 0.09929601103067398, 0.4657297134399414, -0.24434101581573486, 0.20218977332115173, 0.15538768470287323, -0.06941423565149307, -0.04029868170619011, -0.17435550689697266, 0.01715509220957756, -0.43056154251098633, 0.4198819696903229, 0.19123145937919617, -0.18638058006763458, -0.375014990568161, -0.018168088048696518, 0.32070621848106384, 0.1491924673318863, -0.19210335612297058, 0.19235734641551971, 0.15615952014923096, -0.045579276978969574, -0.08756685256958008, 0.4817992150783539, 0.43245401978492737, 0.30643072724342346, 0.0024281498044729233, -0.12366627901792526, 0.017552796751260757, -0.1538119614124298, 0.08644876629114151, -0.1054997593164444, 0.09260008484125137, 0.7431031465530396, 0.11440153419971466, 0.13760246336460114, -0.17885085940361023, 0.23209373652935028, -0.2609955966472626, 0.024274028837680817, -0.21620091795921326, 0.5417286157608032, -0.16911856830120087, -0.3078765869140625, -0.3769722282886505, -0.0827910527586937, -0.4724220037460327, 0.1353415995836258, 0.24198487401008606, 0.0600166954100132, 0.037674110382795334, -0.13692620396614075, 0.04301304370164871, 0.2041957527399063, 0.14250525832176208, 0.2898508906364441, 0.3564850687980652, -0.2036573439836502, 0.04244256019592285, -0.11419424414634705, 0.48416879773139954, 0.08676090836524963, -0.21298176050186157, 0.2691430151462555, -0.08970063924789429, -0.3256036341190338, 0.06755905598402023, 0.3970867991447449, 0.16760943830013275, 0.014497780241072178, 0.19740363955497742, -0.3340132236480713, -0.07099512219429016, -0.18038079142570496, 0.09839479625225067, 0.10290920734405518, 0.15566563606262207, 0.16936516761779785, -0.10340258479118347, 0.027700044214725494, -0.3394557237625122, -0.15517103672027588, 0.06514231860637665, -0.035881735384464264, 0.3595832884311676, -0.007624920457601547, 0.5715811848640442, -0.06134067475795746, -0.15522260963916779, -0.05275171622633934, -0.23736941814422607, -0.25959154963493347, 0.24890121817588806, -0.021805644035339355, 0.3597824275493622, -0.14120128750801086, -0.553604245185852, -0.35548725724220276, 0.5980476140975952, 0.08657419681549072, 0.030864059925079346, -0.20811836421489716, 0.2353295236825943, -0.07230351865291595, 0.01557655818760395, 0.22197559475898743, 0.02411460131406784, -0.017342180013656616, 0.09581504762172699, -0.5126609802246094, -0.5381101369857788, 0.623616099357605, -0.5518125891685486, -0.22341181337833405, 0.10017646104097366, 0.14880144596099854, -0.08911613374948502, -0.31532925367355347, -0.5557795166969299, -0.1459902822971344, 0.24682055413722992, -0.020304996520280838, -0.11411778628826141, 0.19192200899124146, -0.12287391722202301, 0.1966356635093689, 0.025036606937646866, 0.2204495221376419, 0.0510995052754879, 0.007743695750832558, 0.0695074051618576, -0.25551939010620117 ]
https://github.com/huggingface/datasets/issues/6985
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType'
It is not a problem with the `datasets` library: we support latest version of `pyarrow` and our Continuous Integration tests are using pyarrow 16.1.0 without any problem. The error reported here is raised when importing pyarrow.parquet: ``` ---> 29 import pyarrow.parquet as pq ``` ``` File /opt/conda/lib/python3.10/site-packages/pyarrow/parquet/__init__.py:20 1 # Licensed to the Apache Software Foundation (ASF) under one 2 # or more contributor license agreements. See the NOTICE file 3 # distributed with this work for additional information (...) 17 18 # flake8: noqa ---> 20 from .core import * File /opt/conda/lib/python3.10/site-packages/pyarrow/parquet/core.py:33 30 import pyarrow as pa 32 try: ---> 33 import pyarrow._parquet as _parquet 34 except ImportError as exc: 35 raise ImportError( 36 "The pyarrow installation is not built with support " 37 f"for the Parquet file format ({str(exc)})" 38 ) from None File /opt/conda/lib/python3.10/site-packages/pyarrow/_parquet.pyx:1, in init pyarrow._parquet() AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ``` This can only be explained if pyarrow was not properly installed. If the user just installed `pyarrow-core` from conda-forge, then its parquet subpackage is not installed and cannot be imported. You can check pyarrow docs: - Differences between conda-forge packages: https://arrow.apache.org/docs/python/install.html#python-conda-differences > The `pyarrow-core` package includes the following functionality: > ... > The `pyarrow` package adds the following: > ... > Parquet (i.e., `pyarrow.parquet`)
### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hugging Face Hub login(token=access_token_read) # Load the models from the Hugging Face Hub trainer_relv = SetFitModel.from_pretrained("snowdere/trainer_relevance") trainer_trust = SetFitModel.from_pretrained("snowdere/trainer_trust") trainer_sent = SetFitModel.from_pretrained("snowdere/trainer_sent") trainer_topic = SetFitModel.from_pretrained("snowdere/trainer_topic") ``` ``` --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Cell In[6], line 1 ----> 1 from setfit import SetFitModel 2 from huggingface_hub import login 4 access_token_read = "ccsddsds" File /opt/conda/lib/python3.10/site-packages/setfit/__init__.py:7 4 import os 5 import warnings ----> 7 from .data import get_templated_dataset, sample_dataset 8 from .model_card import SetFitModelCardData 9 from .modeling import SetFitHead, SetFitModel File /opt/conda/lib/python3.10/site-packages/setfit/data.py:5 3 import pandas as pd 4 import torch ----> 5 from datasets import Dataset, DatasetDict, load_dataset 6 from torch.utils.data import Dataset as TorchDataset 8 from . import logging File /opt/conda/lib/python3.10/site-packages/datasets/__init__.py:18 1 # ruff: noqa 2 # Copyright 2020 The HuggingFace Datasets Authors and the TensorFlow Datasets Authors. 3 # (...) 13 # See the License for the specific language governing permissions and 14 # limitations under the License. 16 __version__ = "2.19.0" ---> 18 from .arrow_dataset import Dataset 19 from .arrow_reader import ReadInstruction 20 from .builder import ArrowBasedBuilder, BeamBasedBuilder, BuilderConfig, DatasetBuilder, GeneratorBasedBuilder File /opt/conda/lib/python3.10/site-packages/datasets/arrow_dataset.py:76 73 from tqdm.contrib.concurrent import thread_map 75 from . import config ---> 76 from .arrow_reader import ArrowReader 77 from .arrow_writer import ArrowWriter, OptimizedTypedSequence 78 from .data_files import sanitize_patterns File /opt/conda/lib/python3.10/site-packages/datasets/arrow_reader.py:29 26 from typing import TYPE_CHECKING, List, Optional, Union 28 import pyarrow as pa ---> 29 import pyarrow.parquet as pq 30 from tqdm.contrib.concurrent import thread_map 32 from .download.download_config import DownloadConfig File /opt/conda/lib/python3.10/site-packages/pyarrow/parquet/__init__.py:20 1 # Licensed to the Apache Software Foundation (ASF) under one 2 # or more contributor license agreements. See the NOTICE file 3 # distributed with this work for additional information (...) 17 18 # flake8: noqa ---> 20 from .core import * File /opt/conda/lib/python3.10/site-packages/pyarrow/parquet/core.py:33 30 import pyarrow as pa 32 try: ---> 33 import pyarrow._parquet as _parquet 34 except ImportError as exc: 35 raise ImportError( 36 "The pyarrow installation is not built with support " 37 f"for the Parquet file format ({str(exc)})" 38 ) from None File /opt/conda/lib/python3.10/site-packages/pyarrow/_parquet.pyx:1, in init pyarrow._parquet() AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ``` setfit: 1.0.3 transformers: 4.41.2 lingua-language-detector: 2.0.2 polars: 0.20.31 lightning: None google-cloud-bigquery: 3.24.0 shapely: 2.0.4 pyarrow: 16.0.0 ### Steps to reproduce the bug I have tried all version combinations for Dataset and Pyarrow, the all have the same error since a few days ago. This is accross multiple scripts I have. ### Expected behavior Just ron normally. ### Environment info 3.10
211
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hugging Face Hub login(token=access_token_read) # Load the models from the Hugging Face Hub trainer_relv = SetFitModel.from_pretrained("snowdere/trainer_relevance") trainer_trust = SetFitModel.from_pretrained("snowdere/trainer_trust") trainer_sent = SetFitModel.from_pretrained("snowdere/trainer_sent") trainer_topic = SetFitModel.from_pretrained("snowdere/trainer_topic") ``` ``` --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Cell In[6], line 1 ----> 1 from setfit import SetFitModel 2 from huggingface_hub import login 4 access_token_read = "ccsddsds" File /opt/conda/lib/python3.10/site-packages/setfit/__init__.py:7 4 import os 5 import warnings ----> 7 from .data import get_templated_dataset, sample_dataset 8 from .model_card import SetFitModelCardData 9 from .modeling import SetFitHead, SetFitModel File /opt/conda/lib/python3.10/site-packages/setfit/data.py:5 3 import pandas as pd 4 import torch ----> 5 from datasets import Dataset, DatasetDict, load_dataset 6 from torch.utils.data import Dataset as TorchDataset 8 from . import logging File /opt/conda/lib/python3.10/site-packages/datasets/__init__.py:18 1 # ruff: noqa 2 # Copyright 2020 The HuggingFace Datasets Authors and the TensorFlow Datasets Authors. 3 # (...) 13 # See the License for the specific language governing permissions and 14 # limitations under the License. 16 __version__ = "2.19.0" ---> 18 from .arrow_dataset import Dataset 19 from .arrow_reader import ReadInstruction 20 from .builder import ArrowBasedBuilder, BeamBasedBuilder, BuilderConfig, DatasetBuilder, GeneratorBasedBuilder File /opt/conda/lib/python3.10/site-packages/datasets/arrow_dataset.py:76 73 from tqdm.contrib.concurrent import thread_map 75 from . import config ---> 76 from .arrow_reader import ArrowReader 77 from .arrow_writer import ArrowWriter, OptimizedTypedSequence 78 from .data_files import sanitize_patterns File /opt/conda/lib/python3.10/site-packages/datasets/arrow_reader.py:29 26 from typing import TYPE_CHECKING, List, Optional, Union 28 import pyarrow as pa ---> 29 import pyarrow.parquet as pq 30 from tqdm.contrib.concurrent import thread_map 32 from .download.download_config import DownloadConfig File /opt/conda/lib/python3.10/site-packages/pyarrow/parquet/__init__.py:20 1 # Licensed to the Apache Software Foundation (ASF) under one 2 # or more contributor license agreements. See the NOTICE file 3 # distributed with this work for additional information (...) 17 18 # flake8: noqa ---> 20 from .core import * File /opt/conda/lib/python3.10/site-packages/pyarrow/parquet/core.py:33 30 import pyarrow as pa 32 try: ---> 33 import pyarrow._parquet as _parquet 34 except ImportError as exc: 35 raise ImportError( 36 "The pyarrow installation is not built with support " 37 f"for the Parquet file format ({str(exc)})" 38 ) from None File /opt/conda/lib/python3.10/site-packages/pyarrow/_parquet.pyx:1, in init pyarrow._parquet() AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ``` setfit: 1.0.3 transformers: 4.41.2 lingua-language-detector: 2.0.2 polars: 0.20.31 lightning: None google-cloud-bigquery: 3.24.0 shapely: 2.0.4 pyarrow: 16.0.0 ### Steps to reproduce the bug I have tried all version combinations for Dataset and Pyarrow, the all have the same error since a few days ago. This is accross multiple scripts I have. ### Expected behavior Just ron normally. ### Environment info 3.10 It is not a problem with the `datasets` library: we support latest version of `pyarrow` and our Continuous Integration tests are using pyarrow 16.1.0 without any problem. The error reported here is raised when importing pyarrow.parquet: ``` ---> 29 import pyarrow.parquet as pq ``` ``` File /opt/conda/lib/python3.10/site-packages/pyarrow/parquet/__init__.py:20 1 # Licensed to the Apache Software Foundation (ASF) under one 2 # or more contributor license agreements. See the NOTICE file 3 # distributed with this work for additional information (...) 17 18 # flake8: noqa ---> 20 from .core import * File /opt/conda/lib/python3.10/site-packages/pyarrow/parquet/core.py:33 30 import pyarrow as pa 32 try: ---> 33 import pyarrow._parquet as _parquet 34 except ImportError as exc: 35 raise ImportError( 36 "The pyarrow installation is not built with support " 37 f"for the Parquet file format ({str(exc)})" 38 ) from None File /opt/conda/lib/python3.10/site-packages/pyarrow/_parquet.pyx:1, in init pyarrow._parquet() AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ``` This can only be explained if pyarrow was not properly installed. If the user just installed `pyarrow-core` from conda-forge, then its parquet subpackage is not installed and cannot be imported. You can check pyarrow docs: - Differences between conda-forge packages: https://arrow.apache.org/docs/python/install.html#python-conda-differences > The `pyarrow-core` package includes the following functionality: > ... > The `pyarrow` package adds the following: > ... > Parquet (i.e., `pyarrow.parquet`)
[ -0.18593543767929077, -0.4933111071586609, -0.03907205909490585, 0.42739152908325195, 0.48480039834976196, 0.12958857417106628, 0.46900448203086853, 0.3612813651561737, 0.045902069658041, -0.004905007779598236, -0.27652013301849365, 0.3779095709323883, -0.13031448423862457, 0.1008085384964943, 0.22991633415222168, -0.3694237768650055, 0.14201891422271729, 0.20572829246520996, 0.1454867422580719, 0.00552733987569809, -0.13429009914398193, 0.3038622736930847, -0.13790951669216156, 0.1053081750869751, -0.2556031048297882, -0.1766509711742401, 0.05080202966928482, -0.016987256705760956, 0.0685439184308052, -0.5381540656089783, 0.14598125219345093, -0.4480394124984741, 0.16979502141475677, 0.22525793313980103, -0.00011976278619840741, 0.1310238540172577, 0.25934702157974243, 0.09086629748344421, -0.1558234542608261, -0.1642223745584488, 0.30608636140823364, -0.014555691741406918, 0.5709422826766968, -0.023566387593746185, -0.15650027990341187, 0.040916044265031815, -0.25660425424575806, 0.2508653700351715, 0.13301301002502441, 0.48697924613952637, 0.22775980830192566, 0.41947367787361145, 0.4804005026817322, -0.10038162767887115, 0.4150947034358978, 0.024901602417230606, -0.21129386126995087, 0.6043617129325867, 0.22672846913337708, -0.06560827791690826, 0.24011871218681335, 0.073117196559906, -0.06960882991552353, -0.0775410532951355, 0.49774518609046936, 0.20473165810108185, 0.13980965316295624, -0.34812167286872864, -0.21109798550605774, 0.08429909497499466, 0.07904471457004547, -0.36546358466148376, -0.32244834303855896, -0.22978097200393677, 0.08383054286241531, -0.3193266987800598, 0.19310174882411957, 0.2605893313884735, -0.09514172375202179, 0.14413638412952423, 0.03040546551346779, -0.07082299888134003, -0.10910576581954956, 0.11084935069084167, -0.14559417963027954, 0.21563957631587982, -0.010776822455227375, 0.047155123203992844, 0.1893131285905838, 0.1381586194038391, 0.22555221617221832, 0.14061114192008972, -0.08234792947769165, 0.0070398347452282906, -0.32776105403900146, -0.11473838984966278, 0.11757464706897736, 0.3725142180919647, -0.17197874188423157, 0.26018792390823364, 0.008833799511194229, -0.2713141143321991, 0.35980209708213806, 0.07633980363607407, -0.009128410369157791, 0.2783544063568115, 0.008374921977519989, 0.17959092557430267, 0.012157060205936432, 0.27799171209335327, 0.18823279440402985, -0.01770199090242386, -0.07970140129327774, -0.17719629406929016, 0.037039536982774734, 0.028808720409870148, 0.41985201835632324, -0.04122867062687874, -0.4527256190776825, -0.04305830970406532, -0.2310166358947754, -0.01266094297170639, 0.17254513502120972, 0.5352041721343994, -0.24566073715686798, -0.03331722319126129, 0.2198297530412674, 0.1580563485622406, -0.232145756483078, -0.13168714940547943, -0.08509280532598495, 0.39525139331817627, -0.14651083946228027, -0.24199657142162323, -0.04900892823934555, -0.5767093896865845, 0.23764260113239288, -0.04001148045063019, 0.2821897268295288, 0.010750550776720047, -0.318406343460083, -0.1516164243221283, -0.19960284233093262, 0.2890460193157196, -0.12581856548786163, -0.0469546802341938, 0.3919256329536438, -0.3167918920516968, -0.19859035313129425, 0.09279613196849823, -0.15158766508102417, -0.18545366823673248, -0.21354569494724274, 0.11867210268974304, 0.043137870728969574, -0.21017414331436157, -0.04144897311925888, -0.1099705696105957, 0.14011144638061523, 0.013760216534137726, 0.040468715131282806, -0.18429553508758545, 0.24602088332176208, -0.21088536083698273, 0.20458771288394928, 0.15834008157253265, -0.3530522286891937, -0.09371881932020187, 0.1554718315601349, -0.0910763293504715, -0.1897864043712616, 0.13517989218235016, -0.09200622886419296, 0.3345072269439697, -0.20219311118125916, 0.06830193102359772, 0.09936998784542084, -0.3198910057544708, -0.35259637236595154, -0.1932152658700943, -0.07071461528539658, -0.03333060070872307, -0.021914370357990265, 0.034893132746219635, -0.07146012783050537, -0.05451169237494469, 0.11035312712192535, 0.11602876335382462, -0.07573378086090088, 0.05433465540409088, -0.2435227334499359, -0.1610458642244339, 0.28764986991882324, 0.059365998953580856, 0.06173726171255112, 0.12363225221633911, 0.2132064253091812, 0.062080658972263336, 0.3512308597564697, -0.1772826910018921, -0.13987554609775543, 0.019728470593690872, 0.3919980227947235, 0.16153007745742798, -0.15964803099632263, -0.25675129890441895, -0.3295706808567047, 0.0720910131931305, -0.28603455424308777, 0.16131627559661865, -0.2384425550699234, -0.12131553888320923, -0.33156266808509827, 0.20484203100204468, -0.21054033935070038, -0.35311979055404663, 0.06265518814325333, 0.08003339916467667, -0.06326590478420258, 0.18652568757534027, -0.23154252767562866, 0.06117334961891174, -0.1969548761844635, 0.25412771105766296, -0.2765985429286957, 0.6522399187088013, -0.2714981734752655, -0.4708445370197296, -0.22675801813602448, 0.08011489361524582, 0.11413313448429108, 0.030567480251193047, -0.11175726354122162, 0.12279148399829865, -0.03775748237967491, -0.10317027568817139, -0.20695087313652039, -0.04529504477977753, 0.12622471153736115, -0.42444854974746704, -0.25407835841178894, 0.06880678236484528, 0.16870567202568054, 0.046853579580783844, 0.3344566822052002, 0.3171567916870117, 0.1327396035194397, 0.05717269703745842, -0.0796990618109703, 0.21443310379981995, -0.12396212667226791, 0.10233643651008606, 0.25920650362968445, 0.058304011821746826, 0.2840663194656372, 0.24368739128112793, 0.2579272985458374, -0.21727031469345093, -0.33292070031166077, -0.09323696047067642, 0.3704065978527069, 0.13100747764110565, 0.2054148018360138, -0.002136167138814926, -0.2186914086341858, 0.14992815256118774, 0.2519659996032715, -0.40328702330589294, 0.13967925310134888, 0.06446107476949692, -0.44871607422828674, 0.2689257860183716, -0.06892669200897217, 0.07717298716306686, 0.3341960310935974, 0.02574252337217331, 0.33456096053123474, -0.12901413440704346, 0.06417927891016006, 0.008264822885394096, -0.09393870830535889, -0.4410448670387268, -0.18496695160865784, 0.3032413423061371, -0.4812757670879364, 0.12460388988256454, 0.06660710275173187, 0.22790777683258057, 0.02963791787624359, -0.654408872127533, -0.4133542478084564, -0.08182989060878754, -0.19092516601085663, 0.34261515736579895, 0.15086966753005981, 0.15834738314151764, 0.051865700632333755, 0.03447459638118744, 0.33520713448524475, -0.12507332861423492, -0.175371915102005, -0.1299683004617691, -0.25164738297462463, 0.046645697206258774, 0.22026222944259644, -0.2929621636867523, 0.061680868268013, -0.31704777479171753, -0.012524082325398922, -0.10090471059083939, -0.2738267779350281, 0.17236024141311646, -0.350671648979187, 0.41078826785087585, 0.25675123929977417, 0.1447107344865799, -0.29386836290359497, -0.22267642617225647, 0.379276841878891, -0.1335625946521759, -0.19705860316753387, 0.17249587178230286, 0.020267808809876442, -0.009807840920984745, 0.11796779930591583, -0.19248899817466736, -0.30393630266189575, -0.31709665060043335, 0.29507553577423096, 0.09723925590515137, 0.2670924663543701, 0.4502977132797241, 0.26684731245040894, 0.3761703670024872, -0.4430045783519745, 0.2547447383403778, 0.1232462227344513, -0.11604592949151993, 0.1971365362405777, -0.20182538032531738, -0.558158814907074, 0.022024739533662796, -0.0006927512586116791, 0.13897842168807983, -0.23227734863758087, -0.482332706451416, -0.501940131187439, -0.1646394431591034, 0.38711491227149963, -0.1625654697418213, 0.026650207117199898, 0.2953866124153137, -0.049935124814510345, 0.024278530851006508, 0.07294436544179916, -0.16342225670814514, 0.029299907386302948, -0.035277582705020905, 0.08180953562259674, 0.01394631527364254, 0.05052298307418823, -0.16413237154483795, 0.4805254340171814, 0.2547893226146698, -0.12173432111740112, 0.3357129395008087, -0.2749577760696411, 0.17475639283657074, -0.14564305543899536, -0.615887463092804, -0.021059149876236916, -0.05737358331680298, 0.01387283205986023, 0.24638786911964417, -0.22259807586669922, -0.10375335812568665, -0.25275376439094543, -0.22570011019706726, -0.21140745282173157, -0.20912982523441315, -0.04149612784385681, -0.021437019109725952, 0.0921819880604744, -0.292843222618103, 0.15734761953353882, -0.1431150585412979, -0.1124042272567749, 0.3605489730834961, 0.2628623843193054, -0.21873673796653748, -0.06394349783658981, -0.023059038445353508, -0.6087771058082581, -0.20778396725654602, 0.11756904423236847, 0.21025989949703217, 0.1944471299648285, 0.031881485134363174, -0.021178921684622765, 0.15458115935325623, 0.09703793376684189, 0.640483021736145, 0.2463044375181198, 0.0935666635632515, 0.02996564283967018, -0.33316394686698914, -0.23276296257972717, -0.08458034694194794, -0.27000945806503296, -0.21415984630584717, 0.025218406692147255, 0.09510650485754013, -0.11858749389648438, 0.0014996037352830172, 0.032659079879522324, -0.03235030546784401, -0.08226537704467773, 0.11420423537492752, -0.2151528149843216, -0.18424755334854126, -0.2980537414550781, 0.23855361342430115, 0.24000541865825653, 0.45508262515068054, 0.30100274085998535, 0.22973467409610748, -0.1819743514060974, -0.224544495344162, 0.04463005065917969, 0.059155549854040146, 0.2935316562652588, -0.05587176978588104, 0.010926652699708939, -0.15986928343772888, 0.3595300316810608, 0.1015714704990387, 0.565601110458374, -0.007334709167480469, -0.4631310701370239, -0.11811777204275131, 0.022570420056581497, 0.2200862020254135, 0.23455452919006348, -0.15957880020141602, 0.1505115032196045, -0.13104306161403656, 0.18532396852970123, 0.11647239327430725, -0.11253761500120163, 0.3531762361526489, 0.1587279587984085, 0.026345763355493546, -0.12225523591041565, 0.3638002574443817, -0.2797895073890686, 0.21134649217128754, 0.05202976241707802, 0.5015304088592529, -0.11480765789747238, 0.1358342319726944, 0.2087160348892212, 1.008398175239563, 0.29219135642051697, 0.2547611594200134, 0.6589364409446716, -0.1784878522157669, 0.3059101700782776, 0.17125728726387024, 0.14742673933506012, -0.5177796483039856, -0.2812885344028473, -0.065568707883358, -0.170429989695549, 0.28106969594955444, -0.4136565327644348, -0.1303538829088211, -0.12812085449695587, -0.19717907905578613, 0.32488876581192017, 0.06083463132381439, -0.09771354496479034, -0.004596667364239693, 0.018026545643806458, -0.6178739070892334, 0.03595616668462753, -0.09422953426837921, 0.11787237226963043, -0.18648624420166016, -0.049627553671598434, -0.30797719955444336, -0.08589223772287369, -0.1716962456703186, 0.1456713080406189, -0.2237081676721573, 0.038441404700279236, 0.3035896122455597, -0.4953520894050598, 0.10300597548484802, 0.2886504828929901, 0.0017650127410888672, -0.12873929738998413, -0.33058157563209534, 0.08375237137079239, -0.08814739435911179, 0.0015170122496783733, -0.11048834025859833, -0.02268451824784279, 0.5846396088600159, -0.21965476870536804, -0.28660279512405396, 0.3038046061992645, -0.07037565112113953, -0.038560304790735245, -0.009819939732551575, 0.13531115651130676, 0.15397629141807556, -0.4332524538040161, 0.003985734656453133, -0.3614366054534912, 0.12320373952388763, -0.2593863010406494, 0.06583103537559509, 0.1868327558040619, -0.28641682863235474, -0.07094231992959976, 0.24008889496326447, -0.17420606315135956, -0.1733710914850235, 0.21200692653656006, -0.10192041844129562, 0.07230957597494125, 0.37860962748527527, 0.39178532361984253, -0.34062784910202026, -0.16377675533294678, -0.025508161634206772, 0.2754251956939697, -0.8959247469902039, 0.26288896799087524, -0.07350502908229828, -0.030501514673233032, -0.10088378936052322, 0.42741498351097107, 0.3180299997329712, 0.1363433301448822, -0.0015053078532218933, -0.33491551876068115, -0.35275450348854065, 0.11528502404689789, 0.11737407743930817, 0.08933129906654358, 0.08204469084739685, 0.3844384253025055, 0.18389630317687988, -0.10251140594482422, -0.2651558518409729, -0.09603044390678406, -0.09429308027029037, 0.11752337217330933, -0.3482823371887207, -0.20855143666267395, 0.3608168959617615, 0.11086644232273102, 0.13248485326766968, 0.0485498309135437, -0.16000163555145264, -0.19740936160087585, -0.13144820928573608, 0.1260492205619812, 0.09292573481798172, -0.17974413931369781, 0.10659845918416977, 0.11867077648639679, 0.05017504096031189, -0.1563897281885147, 0.04397086426615715, 0.023803018033504486, 0.0012754574418067932, 0.17618541419506073, 0.4706731140613556, -0.03112112730741501, -0.0884612500667572, -0.08556418120861053, -0.2759772837162018, 0.0480709932744503, 0.05777783319354057, -0.09529614448547363, -0.2256050556898117, 0.08675092458724976, -0.10206147283315659, 0.15304596722126007, -0.0184805765748024, -0.02693275362253189, 0.30902954936027527, -0.3074929118156433, -0.08382505178451538, -0.17442686855793, 0.41687482595443726, 0.035295307636260986, -0.1772899478673935, 0.0643225759267807, 0.4713669419288635, 0.12143638730049133, -0.3661593496799469, 0.1638212949037552, 0.16516095399856567, -0.05909238010644913, 0.09422414004802704, 0.2930832505226135, -0.058924660086631775, -0.0016166344285011292, -0.17325614392757416, 0.18802201747894287, 0.4586375057697296, 0.12621912360191345, 0.0875268429517746, 0.6352688670158386, -0.07534046471118927, 0.2441379576921463, 0.606556236743927, 0.2026829570531845, 0.11014331132173538, 0.3207458257675171, -0.42951667308807373, 0.12417686730623245, -0.41291409730911255, -0.07937450706958771, 0.3187809884548187, -0.010354256257414818, 0.2537107765674591, 0.010482534766197205, 0.21988216042518616, -0.24649572372436523, -0.12507838010787964, 0.47337204217910767, 0.10333774238824844, -0.11548183113336563, 0.09929601103067398, 0.4657297134399414, -0.24434101581573486, 0.20218977332115173, 0.15538768470287323, -0.06941423565149307, -0.04029868170619011, -0.17435550689697266, 0.01715509220957756, -0.43056154251098633, 0.4198819696903229, 0.19123145937919617, -0.18638058006763458, -0.375014990568161, -0.018168088048696518, 0.32070621848106384, 0.1491924673318863, -0.19210335612297058, 0.19235734641551971, 0.15615952014923096, -0.045579276978969574, -0.08756685256958008, 0.4817992150783539, 0.43245401978492737, 0.30643072724342346, 0.0024281498044729233, -0.12366627901792526, 0.017552796751260757, -0.1538119614124298, 0.08644876629114151, -0.1054997593164444, 0.09260008484125137, 0.7431031465530396, 0.11440153419971466, 0.13760246336460114, -0.17885085940361023, 0.23209373652935028, -0.2609955966472626, 0.024274028837680817, -0.21620091795921326, 0.5417286157608032, -0.16911856830120087, -0.3078765869140625, -0.3769722282886505, -0.0827910527586937, -0.4724220037460327, 0.1353415995836258, 0.24198487401008606, 0.0600166954100132, 0.037674110382795334, -0.13692620396614075, 0.04301304370164871, 0.2041957527399063, 0.14250525832176208, 0.2898508906364441, 0.3564850687980652, -0.2036573439836502, 0.04244256019592285, -0.11419424414634705, 0.48416879773139954, 0.08676090836524963, -0.21298176050186157, 0.2691430151462555, -0.08970063924789429, -0.3256036341190338, 0.06755905598402023, 0.3970867991447449, 0.16760943830013275, 0.014497780241072178, 0.19740363955497742, -0.3340132236480713, -0.07099512219429016, -0.18038079142570496, 0.09839479625225067, 0.10290920734405518, 0.15566563606262207, 0.16936516761779785, -0.10340258479118347, 0.027700044214725494, -0.3394557237625122, -0.15517103672027588, 0.06514231860637665, -0.035881735384464264, 0.3595832884311676, -0.007624920457601547, 0.5715811848640442, -0.06134067475795746, -0.15522260963916779, -0.05275171622633934, -0.23736941814422607, -0.25959154963493347, 0.24890121817588806, -0.021805644035339355, 0.3597824275493622, -0.14120128750801086, -0.553604245185852, -0.35548725724220276, 0.5980476140975952, 0.08657419681549072, 0.030864059925079346, -0.20811836421489716, 0.2353295236825943, -0.07230351865291595, 0.01557655818760395, 0.22197559475898743, 0.02411460131406784, -0.017342180013656616, 0.09581504762172699, -0.5126609802246094, -0.5381101369857788, 0.623616099357605, -0.5518125891685486, -0.22341181337833405, 0.10017646104097366, 0.14880144596099854, -0.08911613374948502, -0.31532925367355347, -0.5557795166969299, -0.1459902822971344, 0.24682055413722992, -0.020304996520280838, -0.11411778628826141, 0.19192200899124146, -0.12287391722202301, 0.1966356635093689, 0.025036606937646866, 0.2204495221376419, 0.0510995052754879, 0.007743695750832558, 0.0695074051618576, -0.25551939010620117 ]
https://github.com/huggingface/datasets/issues/6984
Convert polars DataFrame back to datasets
Hi ! Thanks for reporting :) We don't support `large_list` yet, though it should be added to `Sequence` IMO (maybe with a parameter `large=True` ?)
### Feature request This returns error. ```python from datasets import Dataset dsdf = Dataset.from_dict({"x": [[1, 2], [3, 4, 5]], "y": ["a", "b"]}) Dataset.from_polars(dsdf.to_polars()) ``` ValueError: Arrow type large_list<item: int64> does not have a datasets dtype equivalent. ### Motivation When datasets contain Sequence data type, it will be converted to Arrow type large_list. However, the reverse (from large_list to Sequence) does not work. ### Your contribution No
25
Convert polars DataFrame back to datasets ### Feature request This returns error. ```python from datasets import Dataset dsdf = Dataset.from_dict({"x": [[1, 2], [3, 4, 5]], "y": ["a", "b"]}) Dataset.from_polars(dsdf.to_polars()) ``` ValueError: Arrow type large_list<item: int64> does not have a datasets dtype equivalent. ### Motivation When datasets contain Sequence data type, it will be converted to Arrow type large_list. However, the reverse (from large_list to Sequence) does not work. ### Your contribution No Hi ! Thanks for reporting :) We don't support `large_list` yet, though it should be added to `Sequence` IMO (maybe with a parameter `large=True` ?)
[ -0.29300931096076965, -0.4047183096408844, -0.11217483878135681, 0.10133212804794312, 0.46061795949935913, 0.1476120948791504, 0.19641652703285217, 0.4279765784740448, 0.31204667687416077, 0.029494598507881165, -0.13853108882904053, 0.4632543921470642, -0.23320941627025604, 0.2984396517276764, -0.3621416389942169, -0.5358220338821411, 0.13918131589889526, 0.14600598812103271, -0.35153117775917053, -0.0004136115312576294, -0.3936667740345001, -0.017251836135983467, -0.13424918055534363, -0.058435022830963135, 0.2230740487575531, -0.1317310482263565, -0.08492947369813919, -0.1758643388748169, -0.2483058124780655, -0.2994324862957001, 0.3334680199623108, -0.16559286415576935, 0.5345011949539185, 0.3039991855621338, -0.00011315116717014462, -0.18880429863929749, 0.410946786403656, 0.08490509539842606, -0.09292346239089966, -0.14139439165592194, -0.15573781728744507, -0.2734692692756653, 0.3666970729827881, -0.18198776245117188, -0.08093668520450592, -0.7546200156211853, -0.25494882464408875, -0.2919239401817322, 0.47257715463638306, 0.4188995659351349, 0.26194900274276733, 0.14684467017650604, 0.2717796862125397, -0.16618002951145172, 0.17017218470573425, 0.3418239951133728, -0.13666066527366638, -0.013943757861852646, 0.07204072922468185, 0.03265994042158127, 0.20699036121368408, 0.2372923493385315, -0.12000009417533875, 0.09231486916542053, 0.05292292684316635, -0.11159317195415497, 0.17685246467590332, -0.30668842792510986, -0.07788509130477905, 0.22410711646080017, 0.5552046298980713, -0.11315987259149551, -0.32236137986183167, 0.020670078694820404, -0.10019132494926453, -0.3119595944881439, -0.29972043633461, -0.015330318361520767, 0.07194976508617401, 0.05662377178668976, 0.014137783087790012, -0.08691775798797607, -0.23200838267803192, 0.25423598289489746, -0.46208468079566956, 0.1494661122560501, -0.15053482353687286, 0.10940130800008774, 0.19485826790332794, -0.4236753582954407, 0.4429735541343689, 0.17827901244163513, 0.07404373586177826, 0.15354478359222412, -0.5357086062431335, -0.36966052651405334, -0.004622757434844971, -0.08134471625089645, 0.07039868831634521, 0.2732459008693695, -0.10416869819164276, -0.047114476561546326, -0.2588851749897003, -0.059095509350299835, 0.24842163920402527, 0.16478265821933746, -0.2087433934211731, 0.43321919441223145, -0.019912265241146088, 0.07188015431165695, 0.21676111221313477, -0.07603894919157028, -0.05038375034928322, -0.2134934812784195, -0.036712005734443665, 0.14478440582752228, 0.26178276538848877, -0.35629788041114807, -0.3724648058414459, 0.10258225351572037, -0.15858246386051178, 0.20141133666038513, 0.08988549560308456, 0.20497789978981018, 0.06268035620450974, 0.5665947794914246, 0.11536243557929993, -0.04224429279565811, 0.1285073161125183, 0.34659743309020996, -0.021156517788767815, 0.11125893890857697, -0.16382184624671936, -0.33660057187080383, -0.0004453025758266449, 0.03575887903571129, 0.13171754777431488, 0.12795929610729218, 0.033130478113889694, -0.015587281435728073, -0.08198311924934387, -0.24429748952388763, 0.4251921474933624, 0.13927800953388214, -0.27507996559143066, 0.12315023690462112, 0.28774988651275635, -0.02951832488179207, -0.2502759099006653, 0.2057761549949646, -0.20205777883529663, 0.0021836943924427032, -0.2893258035182953, 0.16296477615833282, 0.015843994915485382, -0.14981712400913239, -0.14195194840431213, 0.10346934199333191, -0.06578557938337326, 0.006860412657260895, 0.1331969052553177, -0.41768211126327515, 0.023738738149404526, -0.10093314945697784, -0.03655131161212921, 0.24658022820949554, -0.7084115743637085, -0.02201170101761818, -0.2635853886604309, -0.016309134662151337, 0.3141782879829407, 0.5286157727241516, -0.08676902204751968, -0.24699300527572632, -0.22453968226909637, -0.4344984292984009, 0.2135082483291626, -0.12656326591968536, -0.28493788838386536, 0.2581816017627716, -0.10200704634189606, -0.16492989659309387, -0.23133039474487305, 0.2922610938549042, 0.19563740491867065, -0.1758986860513687, 0.17454472184181213, 0.25189751386642456, -0.18359927833080292, 0.1485971063375473, -0.0026514604687690735, -0.40762242674827576, 0.3128718137741089, -0.059864841401576996, 0.18300551176071167, 0.33165502548217773, 0.16487377882003784, -0.09141750633716583, 0.09292228519916534, -0.1355617195367813, -0.10108931362628937, 0.20532886683940887, 0.30179300904273987, 0.00035005807876586914, 0.03978496417403221, -0.2989327907562256, -0.2657584249973297, -0.11061561852693558, -0.126711905002594, -0.10828714072704315, -0.08008533716201782, -0.04404604434967041, -0.48545581102371216, -0.013255984522402287, 0.06886599212884903, 0.37428581714630127, 0.12727616727352142, -0.14038871228694916, 0.053402382880449295, 0.07864300906658173, -0.1659102886915207, 0.0739525705575943, -0.35503682494163513, 0.06670204550027847, -0.028441917151212692, 0.276773601770401, 0.07665304839611053, 0.05689920112490654, 0.2350679337978363, 0.19111889600753784, 0.25825855135917664, 0.02694094553589821, 0.010344376787543297, -0.0628599300980568, -0.11736154556274414, -0.15416811406612396, 0.12007874995470047, 0.04775695502758026, 0.127268448472023, -0.5430282354354858, 0.013764960691332817, 0.40662628412246704, 0.22697067260742188, 0.05651643127202988, -0.19839322566986084, 0.355842262506485, -0.22249586880207062, 0.38348284363746643, -0.11783842742443085, 0.40881583094596863, 0.25189846754074097, 0.06850060820579529, -0.18563419580459595, -0.17451289296150208, 0.048482343554496765, 0.24138911068439484, -0.3186068534851074, -0.10055811703205109, -0.3820413649082184, -0.061647795140743256, 0.42284253239631653, -0.048670634627342224, 0.22169673442840576, 0.2856329083442688, -0.24240908026695251, 0.07994019985198975, 0.25788572430610657, 0.5328731536865234, 0.3514721989631653, 0.2634378969669342, -0.06188882514834404, -0.16090954840183258, -0.018037673085927963, 0.0866394191980362, 0.2752331495285034, 0.2290760576725006, 0.17790457606315613, -0.14594826102256775, 0.35170531272888184, 0.00995771586894989, -0.11563131958246231, -0.17171527445316315, -0.028954949229955673, 0.33589959144592285, -0.14240555465221405, 0.14981718361377716, -0.4113559126853943, -0.3459460735321045, -0.12059085071086884, -0.33959895372390747, 0.07121571898460388, -0.45196735858917236, -0.2578028440475464, -0.03248530998826027, -0.04814936965703964, 0.37283143401145935, 0.07964730262756348, 0.2202194184064865, 0.3272242248058319, -0.32831117510795593, -0.20483936369419098, -0.25415071845054626, 0.08564560115337372, 0.12317639589309692, 0.07732151448726654, -0.05925853177905083, 0.4060356318950653, -0.0670022964477539, 0.22285878658294678, -0.6647231578826904, -0.33700746297836304, 0.035574495792388916, -0.11358839273452759, 0.14430208504199982, 0.25369691848754883, 0.36400318145751953, -0.10910646617412567, 0.1160581111907959, -0.09578732401132584, 0.009417230263352394, 0.03197558969259262, 0.008936358615756035, -0.3327290117740631, 0.25675898790359497, 0.004141427576541901, -0.149740070104599, -0.16377785801887512, -0.34392252564430237, 0.369023859500885, 0.3168591558933258, 0.10390002280473709, -0.0034473715350031853, 0.33952799439430237, 0.19117584824562073, -0.033429104834795, -0.0872928574681282, -0.20563748478889465, 0.25879713892936707, 0.4147653579711914, -0.1104334369301796, -0.3462238609790802, 0.12803536653518677, 0.0914493277668953, 0.11110526323318481, 0.13049831986427307, -0.22118666768074036, 0.028933271765708923, -0.5599650144577026, -0.00039133429527282715, -0.08876124024391174, 0.24238960444927216, 0.21621863543987274, 0.1830764263868332, -0.06398070603609085, 0.10028476268053055, 0.10153307020664215, -0.13568687438964844, -0.1824536919593811, 0.2202313095331192, 0.20069578289985657, 0.35926714539527893, -0.02817949652671814, 0.39444857835769653, 0.1480809599161148, -0.38219112157821655, 0.051758185029029846, -0.09228936582803726, 0.38181936740875244, -0.31314581632614136, -0.4581705927848816, -0.1757643073797226, -0.15596601366996765, 0.23904384672641754, -0.156760111451149, -0.13421183824539185, -0.23798011243343353, 0.01946396380662918, 0.1332094818353653, 0.07251099497079849, -0.11875076591968536, -0.10117986053228378, -0.06306586414575577, 0.13756301999092102, -0.08069992810487747, -0.1576390117406845, -0.2640015184879303, -0.11993306875228882, 0.0409376323223114, 0.20590242743492126, 0.0955648347735405, -0.02020203322172165, -0.15783074498176575, -0.1372608244419098, -0.33443886041641235, 0.3068215250968933, -0.06539859622716904, 0.43792083859443665, 0.10405288636684418, -0.018485259264707565, -0.21881668269634247, 0.08950731158256531, 0.1479816436767578, 0.34038448333740234, -0.40535199642181396, -0.0287729874253273, -0.021053751930594444, -0.45240819454193115, 0.10687114298343658, -0.2862851619720459, 0.2648921608924866, -0.357178658246994, 0.31548619270324707, -0.1897158920764923, -0.057486556470394135, 0.3569055497646332, 0.32219916582107544, -0.07677978277206421, -0.06976526230573654, -0.04179688170552254, -0.1453341841697693, -0.2676979601383209, 0.14266857504844666, 0.4454014003276825, 0.012163549661636353, -0.3277226388454437, -0.2329874038696289, -0.4395214915275574, -0.243003249168396, 0.2610112428665161, -0.1623329371213913, 0.2724691331386566, -0.03110671415925026, -0.12940388917922974, -0.06883833557367325, -0.031235598027706146, 0.21220362186431885, 0.23908288776874542, 0.12285076081752777, -0.21311086416244507, 0.05367635190486908, 0.16357652842998505, 0.15875977277755737, 0.11931607872247696, -0.24039921164512634, 0.2714207172393799, -0.13257594406604767, 0.15552198886871338, -0.07996267080307007, -0.1427927315235138, 0.103043332695961, 0.18760405480861664, -0.27326592803001404, -0.46178969740867615, 0.4591906666755676, 0.27915918827056885, 0.01000935584306717, 0.3086174428462982, 0.5162045359611511, -0.06711921095848083, 0.34035724401474, 0.13345301151275635, 0.9810235500335693, -0.23305661976337433, 0.10748855769634247, 0.14166730642318726, 0.02666798233985901, 1.0149948596954346, 0.5280365347862244, -0.043847013264894485, -0.33078277111053467, 0.07798092067241669, -0.07935161888599396, -0.17365708947181702, 0.14153477549552917, -0.27564096450805664, -0.27051791548728943, 0.3082975745201111, -0.1435665786266327, -0.04990470036864281, 0.1834845095872879, 0.018650956451892853, 0.004966440610587597, -0.22837406396865845, -0.4210083782672882, 0.16207553446292877, -0.21653960645198822, 0.006065137684345245, -0.09796061366796494, -0.036122292280197144, -0.1903855800628662, 0.028581105172634125, -0.23419634997844696, -0.03377079218626022, -0.12175657600164413, 0.3219273090362549, -0.013569947332143784, -0.317905068397522, 0.4256231188774109, 0.2726430594921112, 0.3483671545982361, 0.18794290721416473, -0.27528664469718933, -0.1358666568994522, 0.025816399604082108, -0.029338669031858444, 0.012136059813201427, -0.17796576023101807, 0.16946138441562653, 0.1479056477546692, -0.0874081701040268, 0.1689157485961914, 0.10143287479877472, 0.11484882235527039, -0.31663456559181213, 0.13741174340248108, 0.20214010775089264, -0.35560518503189087, -0.3080887198448181, -0.17046907544136047, -0.1534024327993393, -0.16762228310108185, 0.14283867180347443, -0.0377730131149292, 0.09632521867752075, 0.1207047626376152, 0.2308017760515213, 0.06345982849597931, -0.04941553249955177, 0.06123039871454239, 0.000159531831741333, -0.045411862432956696, 0.32936254143714905, 0.4859362244606018, -0.2171294391155243, -0.21616297960281372, 0.22691473364830017, 0.051636118441820145, -0.61911541223526, 0.5235111117362976, -0.28477999567985535, -0.10865449905395508, -0.006002923473715782, 0.11358888447284698, 0.07700136303901672, 0.1691930890083313, -0.0832221731543541, -0.20288605988025665, -0.5966265797615051, 0.16456559300422668, -0.4715704023838043, 0.2191391885280609, -0.18828138709068298, -0.21024784445762634, -0.22593562304973602, -0.6102009415626526, -0.32687482237815857, 0.2635483741760254, -0.18336769938468933, 0.1561795175075531, -0.06503517180681229, -0.21507415175437927, -0.04127205163240433, -0.06287627667188644, 0.14351961016654968, 0.2988489270210266, 0.21372750401496887, -0.23409822583198547, -0.15651041269302368, 0.08810709416866302, 0.07611584663391113, -0.10832928121089935, 0.09491658955812454, -0.1953294277191162, -0.29053330421447754, -0.10483221709728241, 0.0006373301148414612, 0.31547266244888306, 0.06965350359678268, 0.22408927977085114, 0.1474027931690216, -0.35744935274124146, -0.06162609905004501, 0.13889455795288086, -0.00011831521987915039, 0.14999015629291534, -0.14300262928009033, 0.33761703968048096, 0.07380706071853638, -0.10249488055706024, -0.3898962438106537, 0.23049533367156982, 0.2808804214000702, 0.07416427135467529, 0.3911369740962982, -0.03124331682920456, -0.14721225202083588, 0.0641857236623764, 0.39393141865730286, 0.12550847232341766, -0.19292961061000824, 0.049167320132255554, 0.2943152189254761, 0.16176578402519226, -0.3726102411746979, -0.04716428369283676, 0.03273194283246994, 0.029284819960594177, 0.17128151655197144, 0.2967831492424011, -0.20632094144821167, 0.024600066244602203, 0.08570800721645355, -0.006053264252841473, 0.13425327837467194, -0.3491974472999573, 0.21633723378181458, 0.40298494696617126, 0.2686019241809845, -0.1622163951396942, 0.35021984577178955, 0.11044643819332123, 0.17048563063144684, 0.5307261943817139, -0.19737151265144348, 0.08673761785030365, 0.07040838897228241, 0.04317103326320648, 0.43394607305526733, -0.1784077137708664, 0.05773086100816727, 0.1216222494840622, -0.025621160864830017, 0.26688438653945923, 0.20550426840782166, 0.18577708303928375, 0.0038517192006111145, 0.0972534716129303, -0.12432192265987396, 0.25753316283226013, -0.21589964628219604, -0.17823219299316406, -0.0070648882538080215, -0.03803059086203575, -0.09348994493484497, -0.18781983852386475, -0.07570821046829224, -0.18298473954200745, 0.16730137169361115, 0.12524160742759705, 0.15119312703609467, -0.2613508999347687, 0.14492687582969666, 0.38619714975357056, 0.19210946559906006, -0.16438007354736328, -0.28887441754341125, 0.3053020238876343, -0.0583379864692688, -0.07328245043754578, 0.2603154480457306, 0.30227604508399963, 0.166642963886261, -0.04739133641123772, 0.12440725415945053, 0.08479499816894531, -0.43048909306526184, 0.21848556399345398, 0.10424614697694778, 0.02875746786594391, 0.13068024814128876, 0.18819662928581238, 0.21044033765792847, -0.1847226470708847, 0.19903703033924103, -0.1548127979040146, 0.18755213916301727, -0.27164164185523987, 0.37629175186157227, -0.08743106573820114, -0.16823872923851013, -0.337092787027359, 0.1910061240196228, -0.4124942719936371, -0.1056850478053093, 0.4286532700061798, -0.008550304919481277, 0.07878300547599792, 0.1450202763080597, 0.07997871935367584, -0.21603001654148102, 0.23475049436092377, 0.38291090726852417, 0.31171664595603943, -0.28052619099617004, 0.08321347832679749, -0.26373302936553955, -0.22717228531837463, 0.1446852684020996, 0.08064527809619904, 0.21161718666553497, 0.16851766407489777, -0.01009862869977951, 0.3243698477745056, 0.26815900206565857, -0.09518644213676453, 0.19327951967716217, 0.03265701234340668, -0.09273923933506012, -0.39163124561309814, 0.13980023562908173, 0.0029883161187171936, 0.06495152413845062, -0.2838321626186371, 0.06231272220611572, 0.08678557723760605, 0.05262339860200882, -0.3053513169288635, 0.10171781480312347, -0.21737445890903473, 0.043850868940353394, 0.053824957460165024, 0.4163922965526581, 0.1548735350370407, -0.08858641237020493, -0.12263255566358566, -0.017484020441770554, -0.2991969585418701, -0.09626816213130951, 0.3617197275161743, -0.03633483126759529, 0.5453939437866211, -0.22765398025512695, -0.2859661877155304, -0.26130297780036926, -0.369378924369812, -0.1348506212234497, -0.20434316992759705, -0.7552492022514343, 0.3915458917617798, -0.20243299007415771, 0.057406749576330185, -0.08197648078203201, 0.23889794945716858, 0.04878155142068863, 0.2959763705730438, -0.029329903423786163, -0.3433210253715515, 0.5708235502243042, -0.22964482009410858, -0.3751281797885895, 0.29103535413742065, -0.037927836179733276, 0.3817436695098877, -0.1185789480805397, -0.34607166051864624, 0.14883628487586975, 0.19100570678710938, 0.06465533375740051, -0.01422283798456192, 0.02243499644100666, -0.1439518928527832, 0.27189522981643677, -0.21703462302684784, 0.33291637897491455, 0.1630781888961792, 0.024702345952391624, -0.03148319572210312, -0.1589890420436859 ]
https://github.com/huggingface/datasets/issues/6982
cannot split dataset when using load_dataset
it seems the bug will happened in all windows system, I tried it in windows8.1, 10, 11 and all of them failed. But it won't happened in the Linux(Ubuntu and Centos7) and Mac (both my virtual and physical machine). I still don't know what the problem is. May be related to the path? I cannot run the split file in my windows server which created in Linux (even I replace the path in the arrow document)....work for it for a week but still cannot fix it .....upset
### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't happen in the google colab. I work for it for days, even I load the datasets from local path, it can Generating train split and validation split but bug happen again in test split. ### Steps to reproduce the bug from datasets import load_dataset, load_metric, Audio common_voice_train = load_dataset("mozilla-foundation/common_voice_7_0", "ja", split="train", token=selftoken, trust_remote_code=True) ### Expected behavior ``` { "name": "ValueError", "message": "Instruction \"train\" corresponds to no data!", "stack": "--------------------------------------------------------------------------- ValueError Traceback (most recent call last) Cell In[2], line 3 1 from datasets import load_dataset, load_metric, Audio ----> 3 common_voice_train = load_dataset(\"mozilla-foundation/common_voice_7_0\", \"ja\", split=\"train\",token='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')#,trust_remote_code=True)#,streaming=True) 4 common_voice_test = load_dataset(\"mozilla-foundation/common_voice_7_0\", \"ja\", split=\"test\",token='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')#,trust_remote_code=True)#,streaming=True) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\load.py:2626, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs) 2622 # Build dataset for splits 2623 keep_in_memory = ( 2624 keep_in_memory if keep_in_memory is not None else is_small_dataset(builder_instance.info.dataset_size) 2625 ) -> 2626 ds = builder_instance.as_dataset(split=split, verification_mode=verification_mode, in_memory=keep_in_memory) 2627 # Rename and cast features to match task schema 2628 if task is not None: 2629 # To avoid issuing the same warning twice File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1266, in DatasetBuilder.as_dataset(self, split, run_post_process, verification_mode, ignore_verifications, in_memory) 1263 verification_mode = VerificationMode(verification_mode or VerificationMode.BASIC_CHECKS) 1265 # Create a dataset for each of the given splits -> 1266 datasets = map_nested( 1267 partial( 1268 self._build_single_dataset, 1269 run_post_process=run_post_process, 1270 verification_mode=verification_mode, 1271 in_memory=in_memory, 1272 ), 1273 split, 1274 map_tuple=True, 1275 disable_tqdm=True, 1276 ) 1277 if isinstance(datasets, dict): 1278 datasets = DatasetDict(datasets) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\utils\\py_utils.py:484, in map_nested(function, data_struct, dict_only, map_list, map_tuple, map_numpy, num_proc, parallel_min_length, batched, batch_size, types, disable_tqdm, desc) 482 if batched: 483 data_struct = [data_struct] --> 484 mapped = function(data_struct) 485 if batched: 486 mapped = mapped[0] File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1296, in DatasetBuilder._build_single_dataset(self, split, run_post_process, verification_mode, in_memory) 1293 split = Split(split) 1295 # Build base dataset -> 1296 ds = self._as_dataset( 1297 split=split, 1298 in_memory=in_memory, 1299 ) 1300 if run_post_process: 1301 for resource_file_name in self._post_processing_resources(split).values(): File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1370, in DatasetBuilder._as_dataset(self, split, in_memory) 1368 if self._check_legacy_cache(): 1369 dataset_name = self.name -> 1370 dataset_kwargs = ArrowReader(cache_dir, self.info).read( 1371 name=dataset_name, 1372 instructions=split, 1373 split_infos=self.info.splits.values(), 1374 in_memory=in_memory, 1375 ) 1376 fingerprint = self._get_dataset_fingerprint(split) 1377 return Dataset(fingerprint=fingerprint, **dataset_kwargs) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\arrow_reader.py:256, in BaseReader.read(self, name, instructions, split_infos, in_memory) 254 msg = f'Instruction \"{instructions}\" corresponds to no data!' 255 #msg = f'Instruction \"{self._path}\",\"{name}\",\"{instructions}\",\"{split_infos}\" corresponds to no data!' --> 256 raise ValueError(msg) 257 return self.read_files(files=files, original_instructions=instructions, in_memory=in_memory) ValueError: Instruction \"train\" corresponds to no data!" } ``` ### Environment info Environment: python 3.9 windows 11 pro VScode+jupyter
87
cannot split dataset when using load_dataset ### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't happen in the google colab. I work for it for days, even I load the datasets from local path, it can Generating train split and validation split but bug happen again in test split. ### Steps to reproduce the bug from datasets import load_dataset, load_metric, Audio common_voice_train = load_dataset("mozilla-foundation/common_voice_7_0", "ja", split="train", token=selftoken, trust_remote_code=True) ### Expected behavior ``` { "name": "ValueError", "message": "Instruction \"train\" corresponds to no data!", "stack": "--------------------------------------------------------------------------- ValueError Traceback (most recent call last) Cell In[2], line 3 1 from datasets import load_dataset, load_metric, Audio ----> 3 common_voice_train = load_dataset(\"mozilla-foundation/common_voice_7_0\", \"ja\", split=\"train\",token='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')#,trust_remote_code=True)#,streaming=True) 4 common_voice_test = load_dataset(\"mozilla-foundation/common_voice_7_0\", \"ja\", split=\"test\",token='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')#,trust_remote_code=True)#,streaming=True) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\load.py:2626, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs) 2622 # Build dataset for splits 2623 keep_in_memory = ( 2624 keep_in_memory if keep_in_memory is not None else is_small_dataset(builder_instance.info.dataset_size) 2625 ) -> 2626 ds = builder_instance.as_dataset(split=split, verification_mode=verification_mode, in_memory=keep_in_memory) 2627 # Rename and cast features to match task schema 2628 if task is not None: 2629 # To avoid issuing the same warning twice File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1266, in DatasetBuilder.as_dataset(self, split, run_post_process, verification_mode, ignore_verifications, in_memory) 1263 verification_mode = VerificationMode(verification_mode or VerificationMode.BASIC_CHECKS) 1265 # Create a dataset for each of the given splits -> 1266 datasets = map_nested( 1267 partial( 1268 self._build_single_dataset, 1269 run_post_process=run_post_process, 1270 verification_mode=verification_mode, 1271 in_memory=in_memory, 1272 ), 1273 split, 1274 map_tuple=True, 1275 disable_tqdm=True, 1276 ) 1277 if isinstance(datasets, dict): 1278 datasets = DatasetDict(datasets) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\utils\\py_utils.py:484, in map_nested(function, data_struct, dict_only, map_list, map_tuple, map_numpy, num_proc, parallel_min_length, batched, batch_size, types, disable_tqdm, desc) 482 if batched: 483 data_struct = [data_struct] --> 484 mapped = function(data_struct) 485 if batched: 486 mapped = mapped[0] File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1296, in DatasetBuilder._build_single_dataset(self, split, run_post_process, verification_mode, in_memory) 1293 split = Split(split) 1295 # Build base dataset -> 1296 ds = self._as_dataset( 1297 split=split, 1298 in_memory=in_memory, 1299 ) 1300 if run_post_process: 1301 for resource_file_name in self._post_processing_resources(split).values(): File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1370, in DatasetBuilder._as_dataset(self, split, in_memory) 1368 if self._check_legacy_cache(): 1369 dataset_name = self.name -> 1370 dataset_kwargs = ArrowReader(cache_dir, self.info).read( 1371 name=dataset_name, 1372 instructions=split, 1373 split_infos=self.info.splits.values(), 1374 in_memory=in_memory, 1375 ) 1376 fingerprint = self._get_dataset_fingerprint(split) 1377 return Dataset(fingerprint=fingerprint, **dataset_kwargs) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\arrow_reader.py:256, in BaseReader.read(self, name, instructions, split_infos, in_memory) 254 msg = f'Instruction \"{instructions}\" corresponds to no data!' 255 #msg = f'Instruction \"{self._path}\",\"{name}\",\"{instructions}\",\"{split_infos}\" corresponds to no data!' --> 256 raise ValueError(msg) 257 return self.read_files(files=files, original_instructions=instructions, in_memory=in_memory) ValueError: Instruction \"train\" corresponds to no data!" } ``` ### Environment info Environment: python 3.9 windows 11 pro VScode+jupyter it seems the bug will happened in all windows system, I tried it in windows8.1, 10, 11 and all of them failed. But it won't happened in the Linux(Ubuntu and Centos7) and Mac (both my virtual and physical machine). I still don't know what the problem is. May be related to the path? I cannot run the split file in my windows server which created in Linux (even I replace the path in the arrow document)....work for it for a week but still cannot fix it .....upset
[ -0.43590301275253296, -0.11846726387739182, 0.06690298020839691, 0.4242967963218689, 0.07286401838064194, -0.01437617838382721, 0.6111493706703186, 0.19691066443920135, 0.07344469428062439, 0.2537232041358948, -0.27349305152893066, 0.6136087775230408, 0.008373841643333435, -0.0278751440346241, -0.1914452463388443, -0.2696540057659149, -0.13180774450302124, 0.17994624376296997, -0.01070372760295868, -0.018533091992139816, -0.18366701900959015, 0.2854247987270355, -0.5143164396286011, -0.10639633238315582, -0.29520946741104126, -0.2847023904323578, 0.004779903218150139, 0.13622325658798218, -0.2191835194826126, -0.049498092383146286, 0.13795801997184753, -0.1104913204908371, -0.10277078300714493, 0.7210308313369751, -0.00012965980567969382, 0.04588878154754639, 0.38306725025177, -0.0038295872509479523, -0.304402619600296, -0.4024980664253235, -0.5093466639518738, 0.2546108663082123, 0.015130402520298958, -0.0027488023042678833, -0.0708468109369278, 0.09754342585802078, -0.219209223985672, -0.3776494860649109, 0.6760836839675903, 0.6832084655761719, 0.028857430443167686, -0.14821794629096985, -0.058521371334791183, -0.054836805909872055, 0.3954404294490814, 0.1589849889278412, -0.28421589732170105, 0.30708077549934387, 0.08073114603757858, 0.07288660109043121, -0.025565676391124725, 0.14513249695301056, 0.08818225562572479, 0.08465009182691574, -0.3058137595653534, 0.13589023053646088, -0.4941823482513428, -0.5299445390701294, 0.33105215430259705, 0.3330565392971039, 0.7214500308036804, -0.12015532702207565, -0.27153003215789795, -0.030455198138952255, 0.08844753354787827, -0.1302475929260254, 0.23796457052230835, 0.4855503737926483, -0.09643097221851349, 0.2231670618057251, -0.07015655934810638, -0.05721789970993996, -0.14116300642490387, 0.01577756553888321, -0.15244928002357483, 0.25421106815338135, -0.10074597597122192, 0.04909761995077133, 0.2804798483848572, 0.20700867474079132, 0.3283432126045227, -0.058770619332790375, -0.26585036516189575, 0.11575581133365631, -0.20322169363498688, 0.05014480650424957, -0.3882293105125427, -0.25065335631370544, 0.242118239402771, 0.049213625490665436, 0.2495783120393753, 0.005040477961301804, 0.02538267895579338, 0.06328663229942322, 0.23290607333183289, 0.16228316724300385, 0.1904352456331253, 0.3241488039493561, 0.3970840573310852, 0.29094961285591125, -0.2490062564611435, -0.031228363513946533, -0.08652599155902863, -0.22199229896068573, 0.04645474627614021, 0.2380029559135437, 0.1218326985836029, -0.2687464654445648, -0.31511470675468445, -0.1485118418931961, -0.45096954703330994, -0.12343189865350723, 0.09502808004617691, 0.3928453326225281, 0.03595216944813728, 0.060438357293605804, -0.12464701384305954, 0.4028199315071106, -0.1796194314956665, -0.43365123867988586, 0.0141396913677454, 0.04015793651342392, -0.41091853380203247, 0.22707638144493103, 0.20484602451324463, -0.0770547091960907, 0.13374675810337067, 0.09708085656166077, -0.04261709749698639, -0.39392325282096863, 0.0826335921883583, -0.48131275177001953, 0.062135472893714905, 0.1291811466217041, 0.34344157576560974, 0.04384712874889374, -0.1330513209104538, 0.0661938339471817, -0.049932099878787994, 0.1869848668575287, -0.32497426867485046, -0.22989203035831451, 0.03392273187637329, 0.033479806035757065, -0.04372794181108475, 0.2095014601945877, -0.5597481727600098, 0.12249524891376495, 0.2614443898200989, -0.06267981231212616, 0.044995177537202835, -0.12681281566619873, -0.5780050158500671, -0.10998889803886414, 0.3356653153896332, 0.45774394273757935, -0.37300723791122437, 0.0031678974628448486, -0.35618355870246887, 0.09219154715538025, 0.3136148154735565, 0.2614591419696808, -0.17323677241802216, 0.34376800060272217, -0.3178371787071228, 0.4055582880973816, 0.6252219676971436, -0.16307857632637024, -0.5944353342056274, 0.3220120966434479, 0.019524745643138885, 0.03611709922552109, 0.12129878997802734, -0.4048471450805664, 0.09000828117132187, 0.196326345205307, 0.20601993799209595, 0.44425350427627563, -0.1511477530002594, 0.0560431033372879, -0.21254821121692657, -0.22447848320007324, 0.20252378284931183, 0.03777579590678215, 0.2641766369342804, 0.22101792693138123, 0.30433088541030884, -0.13971389830112457, 0.39092788100242615, -0.1531798541545868, 0.1132006049156189, 0.14511436223983765, 0.417178213596344, -0.34799402952194214, 0.15565533936023712, -0.21211707592010498, -0.5156019330024719, 0.15979385375976562, 0.013798374682664871, -0.03805643320083618, -0.12910214066505432, -0.1478208601474762, -0.4488116502761841, -0.141920804977417, -0.2975391745567322, -0.1824549287557602, -0.12267975509166718, 0.026052314788103104, 0.09880882501602173, 0.048077043145895004, 0.01373979076743126, 0.5023484826087952, -0.01049824059009552, 0.24459248781204224, -0.19125744700431824, 0.6313557028770447, -0.02432882972061634, -0.20853309333324432, 0.051796019077301025, 0.04688001796603203, 0.1624354124069214, -0.09553442150354385, -0.34351491928100586, 0.2683955729007721, 0.5038136839866638, 0.20670175552368164, -0.11663231998682022, -0.3209340572357178, 0.37861672043800354, -0.6249166131019592, 0.015848025679588318, -0.017489321529865265, 0.18704445660114288, -0.010025206953287125, -0.030026324093341827, 0.26488208770751953, -0.029672224074602127, 0.2617883086204529, -0.008886806666851044, 0.11403655260801315, 0.07180313766002655, -0.12525898218154907, 0.14373250305652618, -0.09108000248670578, -0.03183498606085777, -0.13885988295078278, 0.3551005423069, -0.05936962366104126, -0.2782735228538513, 0.21288727223873138, 0.6779116988182068, 0.09623044729232788, 0.18053145706653595, 0.05602683499455452, -0.07575827091932297, -0.19296833872795105, 0.11956483125686646, 0.25537678599357605, 0.5258784890174866, -0.001183238229714334, 0.1051613837480545, 0.09363267570734024, 0.26782310009002686, -0.1532365381717682, 0.20736899971961975, 0.013259023427963257, 0.5068830847740173, 0.5786464214324951, -0.04274939373135567, 0.04929589852690697, -0.13672149181365967, -0.09529419243335724, 0.2406860888004303, 0.1863725632429123, -0.31073853373527527, 0.08906098455190659, -0.30776524543762207, -0.0027245059609413147, -0.27036598324775696, 0.10643654316663742, -0.046076636761426926, -0.15882736444473267, -0.11586673557758331, 0.34341955184936523, 0.017645645886659622, -0.024769818410277367, -0.17479120194911957, 0.13964207470417023, 0.07995275408029556, 0.08477022498846054, -0.23839561641216278, -0.14227262139320374, -0.055948495864868164, -0.05815157666802406, 0.2963061034679413, 0.20919112861156464, -0.13544325530529022, -0.13227126002311707, -0.18669936060905457, -0.17998391389846802, 0.03781810402870178, 0.3818575441837311, 0.030940627679228783, 0.22100242972373962, 0.05332781374454498, -0.12089404463768005, 0.0482994019985199, -0.08126126974821091, 0.020984606817364693, -0.1482088267803192, -0.3249466121196747, 0.08695058524608612, -0.10312584042549133, 0.10575290024280548, -0.1629997342824936, -0.6487616300582886, -0.2168450653553009, -0.41866180300712585, 0.03963354974985123, -0.4388681948184967, 0.12117864191532135, 0.22505800426006317, 0.0629829540848732, 0.05850483849644661, 0.27164146304130554, -0.02835223264992237, -0.21665608882904053, 0.06495948135852814, 0.21965761482715607, -0.43212321400642395, -0.33795633912086487, -0.02744125947356224, -0.21124890446662903, 0.2289745807647705, 0.31651198863983154, -0.16667509078979492, 0.1623549908399582, -0.1919819712638855, 0.1345013678073883, -0.2208051085472107, -0.16386711597442627, 0.1068262830376625, -0.06722649186849594, 0.1582884043455124, -0.24656426906585693, -0.0783916637301445, 0.0894869938492775, 0.22845062613487244, 0.22369055449962616, 0.12219730764627457, 0.3835521638393402, -0.10176023840904236, 0.9449623227119446, 0.11890320479869843, 0.0725879892706871, 0.20309166610240936, -0.3179164230823517, -0.09851740300655365, -0.31215590238571167, -0.28631311655044556, 0.13145212829113007, 0.005903378129005432, -0.06315338611602783, 0.361647367477417, -0.049691177904605865, -0.14050211012363434, -0.18413867056369781, -0.13037346303462982, -0.3715832531452179, -0.4522322416305542, 0.21734635531902313, -0.19529291987419128, 0.012484081089496613, 0.0002987310290336609, 0.23892471194267273, 0.23188599944114685, -0.02060580998659134, -0.05313309282064438, 0.055763985961675644, 0.00449787825345993, -0.020337458699941635, 0.2890336215496063, 0.05726665258407593, -0.23642486333847046, 0.2143559604883194, 0.3185354471206665, 0.3282011151313782, -0.3593090772628784, 0.03126317262649536, 0.05883195251226425, 0.11739762127399445, 0.484328031539917, -0.40234965085983276, 0.09975330531597137, 0.04373269900679588, -0.023227885365486145, -0.10514971613883972, 0.023309577256441116, -0.21989649534225464, 0.1928936392068863, 0.17297150194644928, 0.15402856469154358, -0.06360425800085068, -0.1550544798374176, 0.06915423274040222, 0.24622154235839844, -0.03836304694414139, 0.04419702664017677, -0.18135614693164825, -0.22931984066963196, -0.04024812579154968, 0.20551756024360657, 0.2241627424955368, 0.23740780353546143, -0.29617083072662354, -0.24593231081962585, 0.023244496434926987, -0.4333518147468567, 0.11641641706228256, 0.11466600000858307, 0.2786257565021515, -0.16127288341522217, 0.33789563179016113, 0.21407924592494965, 0.19496998190879822, 0.44152817130088806, 0.6388198137283325, 0.011199474334716797, -0.25520026683807373, 0.18079227209091187, -0.46240830421447754, 0.23466303944587708, 0.2161591351032257, -0.23844198882579803, -0.12258058041334152, -0.10851995646953583, 0.05479372292757034, 0.2186233401298523, 0.10145864635705948, 0.17034092545509338, -0.12297322601079941, -0.5341936349868774, -0.20466072857379913, 0.059478309005498886, 0.09197352826595306, -0.15915445983409882, 0.6235204339027405, -0.14872920513153076, -0.47009924054145813, 0.1944872885942459, -0.09939206391572952, 0.8705652952194214, 0.15388800203800201, -0.15893279016017914, 0.24078741669654846, -0.021997708827257156, 0.040511392056941986, -0.20311202108860016, 0.17288033664226532, -0.22794416546821594, -0.3036109209060669, -0.17201395332813263, -0.2734322249889374, 0.06293661147356033, 0.21403327584266663, -0.43334245681762695, 0.27828410267829895, -0.35301846265792847, 0.10503692924976349, 0.05752294510602951, 0.19319386780261993, -0.15111997723579407, -0.11906729638576508, -0.029048506170511246, -0.0680815801024437, -0.14479979872703552, 0.3115079998970032, 0.059796325862407684, -0.17922313511371613, -0.34114399552345276, -0.17961829900741577, -0.24430562555789948, 0.5667403936386108, -0.4164481461048126, 0.11561494320631027, -0.058285925537347794, -0.39340269565582275, 0.5699027180671692, 0.16689015924930573, 0.1365584135055542, -0.04798031225800514, -0.12408064305782318, 0.27377086877822876, 0.07253780215978622, 0.11143438518047333, -0.27039384841918945, -0.1337144523859024, 0.34164947271347046, -0.02082364447414875, -0.2336478978395462, -0.18949559330940247, -0.16904008388519287, -0.13410642743110657, 0.3469104468822479, 0.031123928725719452, 0.23290331661701202, -0.3190172016620636, 0.09568293392658234, 0.06770522892475128, 0.057775575667619705, -0.20204542577266693, -0.0027489829808473587, 0.07176743447780609, -0.23069080710411072, 0.1526011824607849, 0.03383590281009674, -0.2979061007499695, -0.039039719849824905, 0.16188502311706543, 0.09564656019210815, 0.21161511540412903, 0.4129621088504791, 0.11252854764461517, 0.02711624652147293, -0.3922553062438965, -0.021467044949531555, 0.31643176078796387, -0.5181783437728882, 0.3202507197856903, -0.3282621204853058, 0.009367868304252625, -0.01879105344414711, 0.311271071434021, -0.19870668649673462, 0.19638118147850037, -0.18069609999656677, -0.5298678874969482, -0.03799742832779884, 0.0818607434630394, -0.10264474153518677, 0.02572687901556492, -0.1481635868549347, 0.01101107057183981, 0.03668517619371414, 0.013151518069207668, -0.09689931571483612, 0.26336076855659485, 0.048003047704696655, 0.022561032325029373, 0.09089495986700058, -0.08334725350141525, 0.44903191924095154, -0.11889354884624481, -0.06650983542203903, 0.1974065601825714, 0.1631087213754654, -0.07125653326511383, -0.33507081866264343, 0.18625430762767792, 0.03179033100605011, 0.10310528427362442, -0.1226646676659584, 0.04228803515434265, -0.3281293213367462, -0.046742554754018784, 0.3064427375793457, 0.12110216170549393, 0.0514141283929348, 0.15497536957263947, 0.2280934751033783, 0.05022120475769043, -0.5468911528587341, 0.3285960853099823, -0.16078802943229675, 0.3766472339630127, 0.06789331138134003, 0.39710745215415955, 0.10191144794225693, -0.04368823021650314, -0.2693968415260315, -0.12322834879159927, 0.06692982465028763, -0.1552238166332245, 0.13165616989135742, -0.1802821159362793, 0.11342079937458038, -0.28887563943862915, 0.270178884267807, 0.44123536348342896, 0.017055638134479523, -0.011727861128747463, 0.09737519919872284, 0.04662671685218811, -0.054871268570423126, 0.07893635332584381, 0.2849772274494171, -0.14375516772270203, 0.06741245090961456, 0.3903338313102722, 0.16028934717178345, 0.25740864872932434, -0.3931364417076111, -0.17208504676818848, 0.14642716944217682, 0.449346661567688, 0.40749940276145935, 0.32174891233444214, -0.14572325348854065, 0.3612251877784729, 0.08562908321619034, -0.21753467619419098, 0.13557253777980804, 0.1313772201538086, -0.296709269285202, 0.4023228883743286, 0.08734747767448425, 0.03192252665758133, 0.5215135216712952, -0.4135454297065735, 0.015388499945402145, 0.11117662489414215, -0.29827889800071716, -0.12241268903017044, -0.033526383340358734, 0.7208528518676758, -0.2679859399795532, -0.32697632908821106, -0.2590174078941345, 0.1734103113412857, -0.05860726535320282, 0.18549011647701263, -0.28981244564056396, -0.18737168610095978, -0.48070037364959717, 0.13532492518424988, 0.15411680936813354, 0.10985299944877625, 0.2737627923488617, 0.23670783638954163, -0.06875433027744293, -0.016003457829356194, 0.05388347804546356, 0.3345741629600525, 0.057825490832328796, -0.3171502649784088, 0.3268473446369171, -0.3899351954460144, -0.16274262964725494, 0.13586455583572388, 0.18300502002239227, 0.2511546313762665, 0.15423789620399475, -0.18644453585147858, -0.35647961497306824, 0.3993430435657501, -0.05824877321720123, 0.10746394097805023, 0.39223599433898926, 0.1277575045824051, 0.005185877904295921, 0.3786652982234955, 0.01571355201303959, -0.06196709722280502, -0.01694295182824135, 0.1961226910352707, 0.28729671239852905, -0.12060797214508057, 0.15217509865760803, -0.31180718541145325, -0.05712944269180298, -0.20053434371948242, -0.12690961360931396, -0.17029128968715668, 0.11967393010854721, 0.2951110899448395, -0.21516573429107666, 0.06958466023206711, -0.08060283213853836, -0.0271039679646492, 0.0425942987203598, 0.40792110562324524, 0.1431339532136917, 0.3454079329967499, -0.190281942486763, -0.23950769007205963, -0.2844799757003784, 0.13579978048801422, 0.005577810108661652, 0.07092314958572388, -0.17329515516757965, 0.10482084006071091, -0.15411311388015747, 0.297760009765625, 0.2586343288421631, 0.16808539628982544, 0.2503209114074707, 0.3897094428539276, -0.3675331771373749, -0.17821235954761505, 0.07602544873952866, 0.014551317319273949, -0.11060896515846252, -0.6791918873786926, 0.0019196420907974243, -0.05596494302153587, -0.20343515276908875, 0.07006720453500748, -0.35807669162750244, -0.0012203846126794815, -0.28047844767570496, 0.42276960611343384, 0.07962623983621597, 0.6066838502883911, 0.004680376499891281, 0.05044081062078476, 0.03711867332458496, -0.3336459994316101, -0.06653222441673279, 0.10076636075973511, 0.2222793996334076, 0.32762831449508667, 0.0668194442987442, 0.26965808868408203, -0.4006648659706116, 0.24399185180664062, 0.0781509205698967, 0.07310368865728378, -0.28359195590019226, 0.12177146226167679, -0.23077240586280823, 0.019159242510795593, 0.2420767992734909, 0.1706838607788086, -0.32965192198753357, -0.12715792655944824, -0.3445206880569458, -0.31215691566467285, 0.2182535082101822, -0.40151119232177734, -0.26417335867881775, -0.23185352981090546, 0.3347509503364563, 0.404564768075943, -0.29766178131103516, -0.41287320852279663, -0.12271851301193237, 0.21468394994735718, -0.38947179913520813, -0.016693633049726486, -0.0788128674030304, 0.24135100841522217, 0.0843241959810257, -0.06821665912866592, 0.3322105407714844, 0.21188664436340332, -0.24117809534072876, 0.15601857006549835, -0.13311198353767395 ]
https://github.com/huggingface/datasets/issues/6982
cannot split dataset when using load_dataset
Have you properly logged in? Are you using the a valid token? Note that this dataset is gated and you must follow the right procedure to be able to access it. You can find more info in the docs: https://huggingface.co/docs/hub/datasets-gated#access-gated-datasets-as-a-user
### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't happen in the google colab. I work for it for days, even I load the datasets from local path, it can Generating train split and validation split but bug happen again in test split. ### Steps to reproduce the bug from datasets import load_dataset, load_metric, Audio common_voice_train = load_dataset("mozilla-foundation/common_voice_7_0", "ja", split="train", token=selftoken, trust_remote_code=True) ### Expected behavior ``` { "name": "ValueError", "message": "Instruction \"train\" corresponds to no data!", "stack": "--------------------------------------------------------------------------- ValueError Traceback (most recent call last) Cell In[2], line 3 1 from datasets import load_dataset, load_metric, Audio ----> 3 common_voice_train = load_dataset(\"mozilla-foundation/common_voice_7_0\", \"ja\", split=\"train\",token='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')#,trust_remote_code=True)#,streaming=True) 4 common_voice_test = load_dataset(\"mozilla-foundation/common_voice_7_0\", \"ja\", split=\"test\",token='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')#,trust_remote_code=True)#,streaming=True) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\load.py:2626, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs) 2622 # Build dataset for splits 2623 keep_in_memory = ( 2624 keep_in_memory if keep_in_memory is not None else is_small_dataset(builder_instance.info.dataset_size) 2625 ) -> 2626 ds = builder_instance.as_dataset(split=split, verification_mode=verification_mode, in_memory=keep_in_memory) 2627 # Rename and cast features to match task schema 2628 if task is not None: 2629 # To avoid issuing the same warning twice File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1266, in DatasetBuilder.as_dataset(self, split, run_post_process, verification_mode, ignore_verifications, in_memory) 1263 verification_mode = VerificationMode(verification_mode or VerificationMode.BASIC_CHECKS) 1265 # Create a dataset for each of the given splits -> 1266 datasets = map_nested( 1267 partial( 1268 self._build_single_dataset, 1269 run_post_process=run_post_process, 1270 verification_mode=verification_mode, 1271 in_memory=in_memory, 1272 ), 1273 split, 1274 map_tuple=True, 1275 disable_tqdm=True, 1276 ) 1277 if isinstance(datasets, dict): 1278 datasets = DatasetDict(datasets) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\utils\\py_utils.py:484, in map_nested(function, data_struct, dict_only, map_list, map_tuple, map_numpy, num_proc, parallel_min_length, batched, batch_size, types, disable_tqdm, desc) 482 if batched: 483 data_struct = [data_struct] --> 484 mapped = function(data_struct) 485 if batched: 486 mapped = mapped[0] File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1296, in DatasetBuilder._build_single_dataset(self, split, run_post_process, verification_mode, in_memory) 1293 split = Split(split) 1295 # Build base dataset -> 1296 ds = self._as_dataset( 1297 split=split, 1298 in_memory=in_memory, 1299 ) 1300 if run_post_process: 1301 for resource_file_name in self._post_processing_resources(split).values(): File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1370, in DatasetBuilder._as_dataset(self, split, in_memory) 1368 if self._check_legacy_cache(): 1369 dataset_name = self.name -> 1370 dataset_kwargs = ArrowReader(cache_dir, self.info).read( 1371 name=dataset_name, 1372 instructions=split, 1373 split_infos=self.info.splits.values(), 1374 in_memory=in_memory, 1375 ) 1376 fingerprint = self._get_dataset_fingerprint(split) 1377 return Dataset(fingerprint=fingerprint, **dataset_kwargs) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\arrow_reader.py:256, in BaseReader.read(self, name, instructions, split_infos, in_memory) 254 msg = f'Instruction \"{instructions}\" corresponds to no data!' 255 #msg = f'Instruction \"{self._path}\",\"{name}\",\"{instructions}\",\"{split_infos}\" corresponds to no data!' --> 256 raise ValueError(msg) 257 return self.read_files(files=files, original_instructions=instructions, in_memory=in_memory) ValueError: Instruction \"train\" corresponds to no data!" } ``` ### Environment info Environment: python 3.9 windows 11 pro VScode+jupyter
40
cannot split dataset when using load_dataset ### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't happen in the google colab. I work for it for days, even I load the datasets from local path, it can Generating train split and validation split but bug happen again in test split. ### Steps to reproduce the bug from datasets import load_dataset, load_metric, Audio common_voice_train = load_dataset("mozilla-foundation/common_voice_7_0", "ja", split="train", token=selftoken, trust_remote_code=True) ### Expected behavior ``` { "name": "ValueError", "message": "Instruction \"train\" corresponds to no data!", "stack": "--------------------------------------------------------------------------- ValueError Traceback (most recent call last) Cell In[2], line 3 1 from datasets import load_dataset, load_metric, Audio ----> 3 common_voice_train = load_dataset(\"mozilla-foundation/common_voice_7_0\", \"ja\", split=\"train\",token='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')#,trust_remote_code=True)#,streaming=True) 4 common_voice_test = load_dataset(\"mozilla-foundation/common_voice_7_0\", \"ja\", split=\"test\",token='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')#,trust_remote_code=True)#,streaming=True) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\load.py:2626, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs) 2622 # Build dataset for splits 2623 keep_in_memory = ( 2624 keep_in_memory if keep_in_memory is not None else is_small_dataset(builder_instance.info.dataset_size) 2625 ) -> 2626 ds = builder_instance.as_dataset(split=split, verification_mode=verification_mode, in_memory=keep_in_memory) 2627 # Rename and cast features to match task schema 2628 if task is not None: 2629 # To avoid issuing the same warning twice File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1266, in DatasetBuilder.as_dataset(self, split, run_post_process, verification_mode, ignore_verifications, in_memory) 1263 verification_mode = VerificationMode(verification_mode or VerificationMode.BASIC_CHECKS) 1265 # Create a dataset for each of the given splits -> 1266 datasets = map_nested( 1267 partial( 1268 self._build_single_dataset, 1269 run_post_process=run_post_process, 1270 verification_mode=verification_mode, 1271 in_memory=in_memory, 1272 ), 1273 split, 1274 map_tuple=True, 1275 disable_tqdm=True, 1276 ) 1277 if isinstance(datasets, dict): 1278 datasets = DatasetDict(datasets) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\utils\\py_utils.py:484, in map_nested(function, data_struct, dict_only, map_list, map_tuple, map_numpy, num_proc, parallel_min_length, batched, batch_size, types, disable_tqdm, desc) 482 if batched: 483 data_struct = [data_struct] --> 484 mapped = function(data_struct) 485 if batched: 486 mapped = mapped[0] File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1296, in DatasetBuilder._build_single_dataset(self, split, run_post_process, verification_mode, in_memory) 1293 split = Split(split) 1295 # Build base dataset -> 1296 ds = self._as_dataset( 1297 split=split, 1298 in_memory=in_memory, 1299 ) 1300 if run_post_process: 1301 for resource_file_name in self._post_processing_resources(split).values(): File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1370, in DatasetBuilder._as_dataset(self, split, in_memory) 1368 if self._check_legacy_cache(): 1369 dataset_name = self.name -> 1370 dataset_kwargs = ArrowReader(cache_dir, self.info).read( 1371 name=dataset_name, 1372 instructions=split, 1373 split_infos=self.info.splits.values(), 1374 in_memory=in_memory, 1375 ) 1376 fingerprint = self._get_dataset_fingerprint(split) 1377 return Dataset(fingerprint=fingerprint, **dataset_kwargs) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\arrow_reader.py:256, in BaseReader.read(self, name, instructions, split_infos, in_memory) 254 msg = f'Instruction \"{instructions}\" corresponds to no data!' 255 #msg = f'Instruction \"{self._path}\",\"{name}\",\"{instructions}\",\"{split_infos}\" corresponds to no data!' --> 256 raise ValueError(msg) 257 return self.read_files(files=files, original_instructions=instructions, in_memory=in_memory) ValueError: Instruction \"train\" corresponds to no data!" } ``` ### Environment info Environment: python 3.9 windows 11 pro VScode+jupyter Have you properly logged in? Are you using the a valid token? Note that this dataset is gated and you must follow the right procedure to be able to access it. You can find more info in the docs: https://huggingface.co/docs/hub/datasets-gated#access-gated-datasets-as-a-user
[ -0.43590301275253296, -0.11846726387739182, 0.06690298020839691, 0.4242967963218689, 0.07286401838064194, -0.01437617838382721, 0.6111493706703186, 0.19691066443920135, 0.07344469428062439, 0.2537232041358948, -0.27349305152893066, 0.6136087775230408, 0.008373841643333435, -0.0278751440346241, -0.1914452463388443, -0.2696540057659149, -0.13180774450302124, 0.17994624376296997, -0.01070372760295868, -0.018533091992139816, -0.18366701900959015, 0.2854247987270355, -0.5143164396286011, -0.10639633238315582, -0.29520946741104126, -0.2847023904323578, 0.004779903218150139, 0.13622325658798218, -0.2191835194826126, -0.049498092383146286, 0.13795801997184753, -0.1104913204908371, -0.10277078300714493, 0.7210308313369751, -0.00012965980567969382, 0.04588878154754639, 0.38306725025177, -0.0038295872509479523, -0.304402619600296, -0.4024980664253235, -0.5093466639518738, 0.2546108663082123, 0.015130402520298958, -0.0027488023042678833, -0.0708468109369278, 0.09754342585802078, -0.219209223985672, -0.3776494860649109, 0.6760836839675903, 0.6832084655761719, 0.028857430443167686, -0.14821794629096985, -0.058521371334791183, -0.054836805909872055, 0.3954404294490814, 0.1589849889278412, -0.28421589732170105, 0.30708077549934387, 0.08073114603757858, 0.07288660109043121, -0.025565676391124725, 0.14513249695301056, 0.08818225562572479, 0.08465009182691574, -0.3058137595653534, 0.13589023053646088, -0.4941823482513428, -0.5299445390701294, 0.33105215430259705, 0.3330565392971039, 0.7214500308036804, -0.12015532702207565, -0.27153003215789795, -0.030455198138952255, 0.08844753354787827, -0.1302475929260254, 0.23796457052230835, 0.4855503737926483, -0.09643097221851349, 0.2231670618057251, -0.07015655934810638, -0.05721789970993996, -0.14116300642490387, 0.01577756553888321, -0.15244928002357483, 0.25421106815338135, -0.10074597597122192, 0.04909761995077133, 0.2804798483848572, 0.20700867474079132, 0.3283432126045227, -0.058770619332790375, -0.26585036516189575, 0.11575581133365631, -0.20322169363498688, 0.05014480650424957, -0.3882293105125427, -0.25065335631370544, 0.242118239402771, 0.049213625490665436, 0.2495783120393753, 0.005040477961301804, 0.02538267895579338, 0.06328663229942322, 0.23290607333183289, 0.16228316724300385, 0.1904352456331253, 0.3241488039493561, 0.3970840573310852, 0.29094961285591125, -0.2490062564611435, -0.031228363513946533, -0.08652599155902863, -0.22199229896068573, 0.04645474627614021, 0.2380029559135437, 0.1218326985836029, -0.2687464654445648, -0.31511470675468445, -0.1485118418931961, -0.45096954703330994, -0.12343189865350723, 0.09502808004617691, 0.3928453326225281, 0.03595216944813728, 0.060438357293605804, -0.12464701384305954, 0.4028199315071106, -0.1796194314956665, -0.43365123867988586, 0.0141396913677454, 0.04015793651342392, -0.41091853380203247, 0.22707638144493103, 0.20484602451324463, -0.0770547091960907, 0.13374675810337067, 0.09708085656166077, -0.04261709749698639, -0.39392325282096863, 0.0826335921883583, -0.48131275177001953, 0.062135472893714905, 0.1291811466217041, 0.34344157576560974, 0.04384712874889374, -0.1330513209104538, 0.0661938339471817, -0.049932099878787994, 0.1869848668575287, -0.32497426867485046, -0.22989203035831451, 0.03392273187637329, 0.033479806035757065, -0.04372794181108475, 0.2095014601945877, -0.5597481727600098, 0.12249524891376495, 0.2614443898200989, -0.06267981231212616, 0.044995177537202835, -0.12681281566619873, -0.5780050158500671, -0.10998889803886414, 0.3356653153896332, 0.45774394273757935, -0.37300723791122437, 0.0031678974628448486, -0.35618355870246887, 0.09219154715538025, 0.3136148154735565, 0.2614591419696808, -0.17323677241802216, 0.34376800060272217, -0.3178371787071228, 0.4055582880973816, 0.6252219676971436, -0.16307857632637024, -0.5944353342056274, 0.3220120966434479, 0.019524745643138885, 0.03611709922552109, 0.12129878997802734, -0.4048471450805664, 0.09000828117132187, 0.196326345205307, 0.20601993799209595, 0.44425350427627563, -0.1511477530002594, 0.0560431033372879, -0.21254821121692657, -0.22447848320007324, 0.20252378284931183, 0.03777579590678215, 0.2641766369342804, 0.22101792693138123, 0.30433088541030884, -0.13971389830112457, 0.39092788100242615, -0.1531798541545868, 0.1132006049156189, 0.14511436223983765, 0.417178213596344, -0.34799402952194214, 0.15565533936023712, -0.21211707592010498, -0.5156019330024719, 0.15979385375976562, 0.013798374682664871, -0.03805643320083618, -0.12910214066505432, -0.1478208601474762, -0.4488116502761841, -0.141920804977417, -0.2975391745567322, -0.1824549287557602, -0.12267975509166718, 0.026052314788103104, 0.09880882501602173, 0.048077043145895004, 0.01373979076743126, 0.5023484826087952, -0.01049824059009552, 0.24459248781204224, -0.19125744700431824, 0.6313557028770447, -0.02432882972061634, -0.20853309333324432, 0.051796019077301025, 0.04688001796603203, 0.1624354124069214, -0.09553442150354385, -0.34351491928100586, 0.2683955729007721, 0.5038136839866638, 0.20670175552368164, -0.11663231998682022, -0.3209340572357178, 0.37861672043800354, -0.6249166131019592, 0.015848025679588318, -0.017489321529865265, 0.18704445660114288, -0.010025206953287125, -0.030026324093341827, 0.26488208770751953, -0.029672224074602127, 0.2617883086204529, -0.008886806666851044, 0.11403655260801315, 0.07180313766002655, -0.12525898218154907, 0.14373250305652618, -0.09108000248670578, -0.03183498606085777, -0.13885988295078278, 0.3551005423069, -0.05936962366104126, -0.2782735228538513, 0.21288727223873138, 0.6779116988182068, 0.09623044729232788, 0.18053145706653595, 0.05602683499455452, -0.07575827091932297, -0.19296833872795105, 0.11956483125686646, 0.25537678599357605, 0.5258784890174866, -0.001183238229714334, 0.1051613837480545, 0.09363267570734024, 0.26782310009002686, -0.1532365381717682, 0.20736899971961975, 0.013259023427963257, 0.5068830847740173, 0.5786464214324951, -0.04274939373135567, 0.04929589852690697, -0.13672149181365967, -0.09529419243335724, 0.2406860888004303, 0.1863725632429123, -0.31073853373527527, 0.08906098455190659, -0.30776524543762207, -0.0027245059609413147, -0.27036598324775696, 0.10643654316663742, -0.046076636761426926, -0.15882736444473267, -0.11586673557758331, 0.34341955184936523, 0.017645645886659622, -0.024769818410277367, -0.17479120194911957, 0.13964207470417023, 0.07995275408029556, 0.08477022498846054, -0.23839561641216278, -0.14227262139320374, -0.055948495864868164, -0.05815157666802406, 0.2963061034679413, 0.20919112861156464, -0.13544325530529022, -0.13227126002311707, -0.18669936060905457, -0.17998391389846802, 0.03781810402870178, 0.3818575441837311, 0.030940627679228783, 0.22100242972373962, 0.05332781374454498, -0.12089404463768005, 0.0482994019985199, -0.08126126974821091, 0.020984606817364693, -0.1482088267803192, -0.3249466121196747, 0.08695058524608612, -0.10312584042549133, 0.10575290024280548, -0.1629997342824936, -0.6487616300582886, -0.2168450653553009, -0.41866180300712585, 0.03963354974985123, -0.4388681948184967, 0.12117864191532135, 0.22505800426006317, 0.0629829540848732, 0.05850483849644661, 0.27164146304130554, -0.02835223264992237, -0.21665608882904053, 0.06495948135852814, 0.21965761482715607, -0.43212321400642395, -0.33795633912086487, -0.02744125947356224, -0.21124890446662903, 0.2289745807647705, 0.31651198863983154, -0.16667509078979492, 0.1623549908399582, -0.1919819712638855, 0.1345013678073883, -0.2208051085472107, -0.16386711597442627, 0.1068262830376625, -0.06722649186849594, 0.1582884043455124, -0.24656426906585693, -0.0783916637301445, 0.0894869938492775, 0.22845062613487244, 0.22369055449962616, 0.12219730764627457, 0.3835521638393402, -0.10176023840904236, 0.9449623227119446, 0.11890320479869843, 0.0725879892706871, 0.20309166610240936, -0.3179164230823517, -0.09851740300655365, -0.31215590238571167, -0.28631311655044556, 0.13145212829113007, 0.005903378129005432, -0.06315338611602783, 0.361647367477417, -0.049691177904605865, -0.14050211012363434, -0.18413867056369781, -0.13037346303462982, -0.3715832531452179, -0.4522322416305542, 0.21734635531902313, -0.19529291987419128, 0.012484081089496613, 0.0002987310290336609, 0.23892471194267273, 0.23188599944114685, -0.02060580998659134, -0.05313309282064438, 0.055763985961675644, 0.00449787825345993, -0.020337458699941635, 0.2890336215496063, 0.05726665258407593, -0.23642486333847046, 0.2143559604883194, 0.3185354471206665, 0.3282011151313782, -0.3593090772628784, 0.03126317262649536, 0.05883195251226425, 0.11739762127399445, 0.484328031539917, -0.40234965085983276, 0.09975330531597137, 0.04373269900679588, -0.023227885365486145, -0.10514971613883972, 0.023309577256441116, -0.21989649534225464, 0.1928936392068863, 0.17297150194644928, 0.15402856469154358, -0.06360425800085068, -0.1550544798374176, 0.06915423274040222, 0.24622154235839844, -0.03836304694414139, 0.04419702664017677, -0.18135614693164825, -0.22931984066963196, -0.04024812579154968, 0.20551756024360657, 0.2241627424955368, 0.23740780353546143, -0.29617083072662354, -0.24593231081962585, 0.023244496434926987, -0.4333518147468567, 0.11641641706228256, 0.11466600000858307, 0.2786257565021515, -0.16127288341522217, 0.33789563179016113, 0.21407924592494965, 0.19496998190879822, 0.44152817130088806, 0.6388198137283325, 0.011199474334716797, -0.25520026683807373, 0.18079227209091187, -0.46240830421447754, 0.23466303944587708, 0.2161591351032257, -0.23844198882579803, -0.12258058041334152, -0.10851995646953583, 0.05479372292757034, 0.2186233401298523, 0.10145864635705948, 0.17034092545509338, -0.12297322601079941, -0.5341936349868774, -0.20466072857379913, 0.059478309005498886, 0.09197352826595306, -0.15915445983409882, 0.6235204339027405, -0.14872920513153076, -0.47009924054145813, 0.1944872885942459, -0.09939206391572952, 0.8705652952194214, 0.15388800203800201, -0.15893279016017914, 0.24078741669654846, -0.021997708827257156, 0.040511392056941986, -0.20311202108860016, 0.17288033664226532, -0.22794416546821594, -0.3036109209060669, -0.17201395332813263, -0.2734322249889374, 0.06293661147356033, 0.21403327584266663, -0.43334245681762695, 0.27828410267829895, -0.35301846265792847, 0.10503692924976349, 0.05752294510602951, 0.19319386780261993, -0.15111997723579407, -0.11906729638576508, -0.029048506170511246, -0.0680815801024437, -0.14479979872703552, 0.3115079998970032, 0.059796325862407684, -0.17922313511371613, -0.34114399552345276, -0.17961829900741577, -0.24430562555789948, 0.5667403936386108, -0.4164481461048126, 0.11561494320631027, -0.058285925537347794, -0.39340269565582275, 0.5699027180671692, 0.16689015924930573, 0.1365584135055542, -0.04798031225800514, -0.12408064305782318, 0.27377086877822876, 0.07253780215978622, 0.11143438518047333, -0.27039384841918945, -0.1337144523859024, 0.34164947271347046, -0.02082364447414875, -0.2336478978395462, -0.18949559330940247, -0.16904008388519287, -0.13410642743110657, 0.3469104468822479, 0.031123928725719452, 0.23290331661701202, -0.3190172016620636, 0.09568293392658234, 0.06770522892475128, 0.057775575667619705, -0.20204542577266693, -0.0027489829808473587, 0.07176743447780609, -0.23069080710411072, 0.1526011824607849, 0.03383590281009674, -0.2979061007499695, -0.039039719849824905, 0.16188502311706543, 0.09564656019210815, 0.21161511540412903, 0.4129621088504791, 0.11252854764461517, 0.02711624652147293, -0.3922553062438965, -0.021467044949531555, 0.31643176078796387, -0.5181783437728882, 0.3202507197856903, -0.3282621204853058, 0.009367868304252625, -0.01879105344414711, 0.311271071434021, -0.19870668649673462, 0.19638118147850037, -0.18069609999656677, -0.5298678874969482, -0.03799742832779884, 0.0818607434630394, -0.10264474153518677, 0.02572687901556492, -0.1481635868549347, 0.01101107057183981, 0.03668517619371414, 0.013151518069207668, -0.09689931571483612, 0.26336076855659485, 0.048003047704696655, 0.022561032325029373, 0.09089495986700058, -0.08334725350141525, 0.44903191924095154, -0.11889354884624481, -0.06650983542203903, 0.1974065601825714, 0.1631087213754654, -0.07125653326511383, -0.33507081866264343, 0.18625430762767792, 0.03179033100605011, 0.10310528427362442, -0.1226646676659584, 0.04228803515434265, -0.3281293213367462, -0.046742554754018784, 0.3064427375793457, 0.12110216170549393, 0.0514141283929348, 0.15497536957263947, 0.2280934751033783, 0.05022120475769043, -0.5468911528587341, 0.3285960853099823, -0.16078802943229675, 0.3766472339630127, 0.06789331138134003, 0.39710745215415955, 0.10191144794225693, -0.04368823021650314, -0.2693968415260315, -0.12322834879159927, 0.06692982465028763, -0.1552238166332245, 0.13165616989135742, -0.1802821159362793, 0.11342079937458038, -0.28887563943862915, 0.270178884267807, 0.44123536348342896, 0.017055638134479523, -0.011727861128747463, 0.09737519919872284, 0.04662671685218811, -0.054871268570423126, 0.07893635332584381, 0.2849772274494171, -0.14375516772270203, 0.06741245090961456, 0.3903338313102722, 0.16028934717178345, 0.25740864872932434, -0.3931364417076111, -0.17208504676818848, 0.14642716944217682, 0.449346661567688, 0.40749940276145935, 0.32174891233444214, -0.14572325348854065, 0.3612251877784729, 0.08562908321619034, -0.21753467619419098, 0.13557253777980804, 0.1313772201538086, -0.296709269285202, 0.4023228883743286, 0.08734747767448425, 0.03192252665758133, 0.5215135216712952, -0.4135454297065735, 0.015388499945402145, 0.11117662489414215, -0.29827889800071716, -0.12241268903017044, -0.033526383340358734, 0.7208528518676758, -0.2679859399795532, -0.32697632908821106, -0.2590174078941345, 0.1734103113412857, -0.05860726535320282, 0.18549011647701263, -0.28981244564056396, -0.18737168610095978, -0.48070037364959717, 0.13532492518424988, 0.15411680936813354, 0.10985299944877625, 0.2737627923488617, 0.23670783638954163, -0.06875433027744293, -0.016003457829356194, 0.05388347804546356, 0.3345741629600525, 0.057825490832328796, -0.3171502649784088, 0.3268473446369171, -0.3899351954460144, -0.16274262964725494, 0.13586455583572388, 0.18300502002239227, 0.2511546313762665, 0.15423789620399475, -0.18644453585147858, -0.35647961497306824, 0.3993430435657501, -0.05824877321720123, 0.10746394097805023, 0.39223599433898926, 0.1277575045824051, 0.005185877904295921, 0.3786652982234955, 0.01571355201303959, -0.06196709722280502, -0.01694295182824135, 0.1961226910352707, 0.28729671239852905, -0.12060797214508057, 0.15217509865760803, -0.31180718541145325, -0.05712944269180298, -0.20053434371948242, -0.12690961360931396, -0.17029128968715668, 0.11967393010854721, 0.2951110899448395, -0.21516573429107666, 0.06958466023206711, -0.08060283213853836, -0.0271039679646492, 0.0425942987203598, 0.40792110562324524, 0.1431339532136917, 0.3454079329967499, -0.190281942486763, -0.23950769007205963, -0.2844799757003784, 0.13579978048801422, 0.005577810108661652, 0.07092314958572388, -0.17329515516757965, 0.10482084006071091, -0.15411311388015747, 0.297760009765625, 0.2586343288421631, 0.16808539628982544, 0.2503209114074707, 0.3897094428539276, -0.3675331771373749, -0.17821235954761505, 0.07602544873952866, 0.014551317319273949, -0.11060896515846252, -0.6791918873786926, 0.0019196420907974243, -0.05596494302153587, -0.20343515276908875, 0.07006720453500748, -0.35807669162750244, -0.0012203846126794815, -0.28047844767570496, 0.42276960611343384, 0.07962623983621597, 0.6066838502883911, 0.004680376499891281, 0.05044081062078476, 0.03711867332458496, -0.3336459994316101, -0.06653222441673279, 0.10076636075973511, 0.2222793996334076, 0.32762831449508667, 0.0668194442987442, 0.26965808868408203, -0.4006648659706116, 0.24399185180664062, 0.0781509205698967, 0.07310368865728378, -0.28359195590019226, 0.12177146226167679, -0.23077240586280823, 0.019159242510795593, 0.2420767992734909, 0.1706838607788086, -0.32965192198753357, -0.12715792655944824, -0.3445206880569458, -0.31215691566467285, 0.2182535082101822, -0.40151119232177734, -0.26417335867881775, -0.23185352981090546, 0.3347509503364563, 0.404564768075943, -0.29766178131103516, -0.41287320852279663, -0.12271851301193237, 0.21468394994735718, -0.38947179913520813, -0.016693633049726486, -0.0788128674030304, 0.24135100841522217, 0.0843241959810257, -0.06821665912866592, 0.3322105407714844, 0.21188664436340332, -0.24117809534072876, 0.15601857006549835, -0.13311198353767395 ]
https://github.com/huggingface/datasets/issues/6982
cannot split dataset when using load_dataset
> Have you properly logged in? Are you using the a valid token? > > Note that this dataset is gated and you must follow the right procedure to be able to access it. You can find more info in the docs: https://huggingface.co/docs/hub/datasets-gated#access-gated-datasets-as-a-user I finally found it what happened. It is not about the logging. When I copy the dataset from its original path (C:/Users/cybes/.cache/huggingface/datasets/downloads/extracted/XXX/cv-corpus-7.0-2021-07-21) to the desktop and load each tsv in it one by one , when I load the test spilt, the following warning occurs: "ArrowInvalid: Failed to parse string: 'Benchmark' as a scalar of type double" Then I manually deleted them in the "segment", the error won't happen anymore, even I replace the original path with these revised tsv and use the previous loading method (common_voice_train = load_dataset("mozilla-foundation/common_voice_7_0", "ja", split="train", trust_remote_code=True)). It can work properly.
### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't happen in the google colab. I work for it for days, even I load the datasets from local path, it can Generating train split and validation split but bug happen again in test split. ### Steps to reproduce the bug from datasets import load_dataset, load_metric, Audio common_voice_train = load_dataset("mozilla-foundation/common_voice_7_0", "ja", split="train", token=selftoken, trust_remote_code=True) ### Expected behavior ``` { "name": "ValueError", "message": "Instruction \"train\" corresponds to no data!", "stack": "--------------------------------------------------------------------------- ValueError Traceback (most recent call last) Cell In[2], line 3 1 from datasets import load_dataset, load_metric, Audio ----> 3 common_voice_train = load_dataset(\"mozilla-foundation/common_voice_7_0\", \"ja\", split=\"train\",token='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')#,trust_remote_code=True)#,streaming=True) 4 common_voice_test = load_dataset(\"mozilla-foundation/common_voice_7_0\", \"ja\", split=\"test\",token='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')#,trust_remote_code=True)#,streaming=True) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\load.py:2626, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs) 2622 # Build dataset for splits 2623 keep_in_memory = ( 2624 keep_in_memory if keep_in_memory is not None else is_small_dataset(builder_instance.info.dataset_size) 2625 ) -> 2626 ds = builder_instance.as_dataset(split=split, verification_mode=verification_mode, in_memory=keep_in_memory) 2627 # Rename and cast features to match task schema 2628 if task is not None: 2629 # To avoid issuing the same warning twice File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1266, in DatasetBuilder.as_dataset(self, split, run_post_process, verification_mode, ignore_verifications, in_memory) 1263 verification_mode = VerificationMode(verification_mode or VerificationMode.BASIC_CHECKS) 1265 # Create a dataset for each of the given splits -> 1266 datasets = map_nested( 1267 partial( 1268 self._build_single_dataset, 1269 run_post_process=run_post_process, 1270 verification_mode=verification_mode, 1271 in_memory=in_memory, 1272 ), 1273 split, 1274 map_tuple=True, 1275 disable_tqdm=True, 1276 ) 1277 if isinstance(datasets, dict): 1278 datasets = DatasetDict(datasets) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\utils\\py_utils.py:484, in map_nested(function, data_struct, dict_only, map_list, map_tuple, map_numpy, num_proc, parallel_min_length, batched, batch_size, types, disable_tqdm, desc) 482 if batched: 483 data_struct = [data_struct] --> 484 mapped = function(data_struct) 485 if batched: 486 mapped = mapped[0] File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1296, in DatasetBuilder._build_single_dataset(self, split, run_post_process, verification_mode, in_memory) 1293 split = Split(split) 1295 # Build base dataset -> 1296 ds = self._as_dataset( 1297 split=split, 1298 in_memory=in_memory, 1299 ) 1300 if run_post_process: 1301 for resource_file_name in self._post_processing_resources(split).values(): File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1370, in DatasetBuilder._as_dataset(self, split, in_memory) 1368 if self._check_legacy_cache(): 1369 dataset_name = self.name -> 1370 dataset_kwargs = ArrowReader(cache_dir, self.info).read( 1371 name=dataset_name, 1372 instructions=split, 1373 split_infos=self.info.splits.values(), 1374 in_memory=in_memory, 1375 ) 1376 fingerprint = self._get_dataset_fingerprint(split) 1377 return Dataset(fingerprint=fingerprint, **dataset_kwargs) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\arrow_reader.py:256, in BaseReader.read(self, name, instructions, split_infos, in_memory) 254 msg = f'Instruction \"{instructions}\" corresponds to no data!' 255 #msg = f'Instruction \"{self._path}\",\"{name}\",\"{instructions}\",\"{split_infos}\" corresponds to no data!' --> 256 raise ValueError(msg) 257 return self.read_files(files=files, original_instructions=instructions, in_memory=in_memory) ValueError: Instruction \"train\" corresponds to no data!" } ``` ### Environment info Environment: python 3.9 windows 11 pro VScode+jupyter
139
cannot split dataset when using load_dataset ### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't happen in the google colab. I work for it for days, even I load the datasets from local path, it can Generating train split and validation split but bug happen again in test split. ### Steps to reproduce the bug from datasets import load_dataset, load_metric, Audio common_voice_train = load_dataset("mozilla-foundation/common_voice_7_0", "ja", split="train", token=selftoken, trust_remote_code=True) ### Expected behavior ``` { "name": "ValueError", "message": "Instruction \"train\" corresponds to no data!", "stack": "--------------------------------------------------------------------------- ValueError Traceback (most recent call last) Cell In[2], line 3 1 from datasets import load_dataset, load_metric, Audio ----> 3 common_voice_train = load_dataset(\"mozilla-foundation/common_voice_7_0\", \"ja\", split=\"train\",token='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')#,trust_remote_code=True)#,streaming=True) 4 common_voice_test = load_dataset(\"mozilla-foundation/common_voice_7_0\", \"ja\", split=\"test\",token='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')#,trust_remote_code=True)#,streaming=True) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\load.py:2626, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs) 2622 # Build dataset for splits 2623 keep_in_memory = ( 2624 keep_in_memory if keep_in_memory is not None else is_small_dataset(builder_instance.info.dataset_size) 2625 ) -> 2626 ds = builder_instance.as_dataset(split=split, verification_mode=verification_mode, in_memory=keep_in_memory) 2627 # Rename and cast features to match task schema 2628 if task is not None: 2629 # To avoid issuing the same warning twice File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1266, in DatasetBuilder.as_dataset(self, split, run_post_process, verification_mode, ignore_verifications, in_memory) 1263 verification_mode = VerificationMode(verification_mode or VerificationMode.BASIC_CHECKS) 1265 # Create a dataset for each of the given splits -> 1266 datasets = map_nested( 1267 partial( 1268 self._build_single_dataset, 1269 run_post_process=run_post_process, 1270 verification_mode=verification_mode, 1271 in_memory=in_memory, 1272 ), 1273 split, 1274 map_tuple=True, 1275 disable_tqdm=True, 1276 ) 1277 if isinstance(datasets, dict): 1278 datasets = DatasetDict(datasets) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\utils\\py_utils.py:484, in map_nested(function, data_struct, dict_only, map_list, map_tuple, map_numpy, num_proc, parallel_min_length, batched, batch_size, types, disable_tqdm, desc) 482 if batched: 483 data_struct = [data_struct] --> 484 mapped = function(data_struct) 485 if batched: 486 mapped = mapped[0] File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1296, in DatasetBuilder._build_single_dataset(self, split, run_post_process, verification_mode, in_memory) 1293 split = Split(split) 1295 # Build base dataset -> 1296 ds = self._as_dataset( 1297 split=split, 1298 in_memory=in_memory, 1299 ) 1300 if run_post_process: 1301 for resource_file_name in self._post_processing_resources(split).values(): File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1370, in DatasetBuilder._as_dataset(self, split, in_memory) 1368 if self._check_legacy_cache(): 1369 dataset_name = self.name -> 1370 dataset_kwargs = ArrowReader(cache_dir, self.info).read( 1371 name=dataset_name, 1372 instructions=split, 1373 split_infos=self.info.splits.values(), 1374 in_memory=in_memory, 1375 ) 1376 fingerprint = self._get_dataset_fingerprint(split) 1377 return Dataset(fingerprint=fingerprint, **dataset_kwargs) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\arrow_reader.py:256, in BaseReader.read(self, name, instructions, split_infos, in_memory) 254 msg = f'Instruction \"{instructions}\" corresponds to no data!' 255 #msg = f'Instruction \"{self._path}\",\"{name}\",\"{instructions}\",\"{split_infos}\" corresponds to no data!' --> 256 raise ValueError(msg) 257 return self.read_files(files=files, original_instructions=instructions, in_memory=in_memory) ValueError: Instruction \"train\" corresponds to no data!" } ``` ### Environment info Environment: python 3.9 windows 11 pro VScode+jupyter > Have you properly logged in? Are you using the a valid token? > > Note that this dataset is gated and you must follow the right procedure to be able to access it. You can find more info in the docs: https://huggingface.co/docs/hub/datasets-gated#access-gated-datasets-as-a-user I finally found it what happened. It is not about the logging. When I copy the dataset from its original path (C:/Users/cybes/.cache/huggingface/datasets/downloads/extracted/XXX/cv-corpus-7.0-2021-07-21) to the desktop and load each tsv in it one by one , when I load the test spilt, the following warning occurs: "ArrowInvalid: Failed to parse string: 'Benchmark' as a scalar of type double" Then I manually deleted them in the "segment", the error won't happen anymore, even I replace the original path with these revised tsv and use the previous loading method (common_voice_train = load_dataset("mozilla-foundation/common_voice_7_0", "ja", split="train", trust_remote_code=True)). It can work properly.
[ -0.43590301275253296, -0.11846726387739182, 0.06690298020839691, 0.4242967963218689, 0.07286401838064194, -0.01437617838382721, 0.6111493706703186, 0.19691066443920135, 0.07344469428062439, 0.2537232041358948, -0.27349305152893066, 0.6136087775230408, 0.008373841643333435, -0.0278751440346241, -0.1914452463388443, -0.2696540057659149, -0.13180774450302124, 0.17994624376296997, -0.01070372760295868, -0.018533091992139816, -0.18366701900959015, 0.2854247987270355, -0.5143164396286011, -0.10639633238315582, -0.29520946741104126, -0.2847023904323578, 0.004779903218150139, 0.13622325658798218, -0.2191835194826126, -0.049498092383146286, 0.13795801997184753, -0.1104913204908371, -0.10277078300714493, 0.7210308313369751, -0.00012965980567969382, 0.04588878154754639, 0.38306725025177, -0.0038295872509479523, -0.304402619600296, -0.4024980664253235, -0.5093466639518738, 0.2546108663082123, 0.015130402520298958, -0.0027488023042678833, -0.0708468109369278, 0.09754342585802078, -0.219209223985672, -0.3776494860649109, 0.6760836839675903, 0.6832084655761719, 0.028857430443167686, -0.14821794629096985, -0.058521371334791183, -0.054836805909872055, 0.3954404294490814, 0.1589849889278412, -0.28421589732170105, 0.30708077549934387, 0.08073114603757858, 0.07288660109043121, -0.025565676391124725, 0.14513249695301056, 0.08818225562572479, 0.08465009182691574, -0.3058137595653534, 0.13589023053646088, -0.4941823482513428, -0.5299445390701294, 0.33105215430259705, 0.3330565392971039, 0.7214500308036804, -0.12015532702207565, -0.27153003215789795, -0.030455198138952255, 0.08844753354787827, -0.1302475929260254, 0.23796457052230835, 0.4855503737926483, -0.09643097221851349, 0.2231670618057251, -0.07015655934810638, -0.05721789970993996, -0.14116300642490387, 0.01577756553888321, -0.15244928002357483, 0.25421106815338135, -0.10074597597122192, 0.04909761995077133, 0.2804798483848572, 0.20700867474079132, 0.3283432126045227, -0.058770619332790375, -0.26585036516189575, 0.11575581133365631, -0.20322169363498688, 0.05014480650424957, -0.3882293105125427, -0.25065335631370544, 0.242118239402771, 0.049213625490665436, 0.2495783120393753, 0.005040477961301804, 0.02538267895579338, 0.06328663229942322, 0.23290607333183289, 0.16228316724300385, 0.1904352456331253, 0.3241488039493561, 0.3970840573310852, 0.29094961285591125, -0.2490062564611435, -0.031228363513946533, -0.08652599155902863, -0.22199229896068573, 0.04645474627614021, 0.2380029559135437, 0.1218326985836029, -0.2687464654445648, -0.31511470675468445, -0.1485118418931961, -0.45096954703330994, -0.12343189865350723, 0.09502808004617691, 0.3928453326225281, 0.03595216944813728, 0.060438357293605804, -0.12464701384305954, 0.4028199315071106, -0.1796194314956665, -0.43365123867988586, 0.0141396913677454, 0.04015793651342392, -0.41091853380203247, 0.22707638144493103, 0.20484602451324463, -0.0770547091960907, 0.13374675810337067, 0.09708085656166077, -0.04261709749698639, -0.39392325282096863, 0.0826335921883583, -0.48131275177001953, 0.062135472893714905, 0.1291811466217041, 0.34344157576560974, 0.04384712874889374, -0.1330513209104538, 0.0661938339471817, -0.049932099878787994, 0.1869848668575287, -0.32497426867485046, -0.22989203035831451, 0.03392273187637329, 0.033479806035757065, -0.04372794181108475, 0.2095014601945877, -0.5597481727600098, 0.12249524891376495, 0.2614443898200989, -0.06267981231212616, 0.044995177537202835, -0.12681281566619873, -0.5780050158500671, -0.10998889803886414, 0.3356653153896332, 0.45774394273757935, -0.37300723791122437, 0.0031678974628448486, -0.35618355870246887, 0.09219154715538025, 0.3136148154735565, 0.2614591419696808, -0.17323677241802216, 0.34376800060272217, -0.3178371787071228, 0.4055582880973816, 0.6252219676971436, -0.16307857632637024, -0.5944353342056274, 0.3220120966434479, 0.019524745643138885, 0.03611709922552109, 0.12129878997802734, -0.4048471450805664, 0.09000828117132187, 0.196326345205307, 0.20601993799209595, 0.44425350427627563, -0.1511477530002594, 0.0560431033372879, -0.21254821121692657, -0.22447848320007324, 0.20252378284931183, 0.03777579590678215, 0.2641766369342804, 0.22101792693138123, 0.30433088541030884, -0.13971389830112457, 0.39092788100242615, -0.1531798541545868, 0.1132006049156189, 0.14511436223983765, 0.417178213596344, -0.34799402952194214, 0.15565533936023712, -0.21211707592010498, -0.5156019330024719, 0.15979385375976562, 0.013798374682664871, -0.03805643320083618, -0.12910214066505432, -0.1478208601474762, -0.4488116502761841, -0.141920804977417, -0.2975391745567322, -0.1824549287557602, -0.12267975509166718, 0.026052314788103104, 0.09880882501602173, 0.048077043145895004, 0.01373979076743126, 0.5023484826087952, -0.01049824059009552, 0.24459248781204224, -0.19125744700431824, 0.6313557028770447, -0.02432882972061634, -0.20853309333324432, 0.051796019077301025, 0.04688001796603203, 0.1624354124069214, -0.09553442150354385, -0.34351491928100586, 0.2683955729007721, 0.5038136839866638, 0.20670175552368164, -0.11663231998682022, -0.3209340572357178, 0.37861672043800354, -0.6249166131019592, 0.015848025679588318, -0.017489321529865265, 0.18704445660114288, -0.010025206953287125, -0.030026324093341827, 0.26488208770751953, -0.029672224074602127, 0.2617883086204529, -0.008886806666851044, 0.11403655260801315, 0.07180313766002655, -0.12525898218154907, 0.14373250305652618, -0.09108000248670578, -0.03183498606085777, -0.13885988295078278, 0.3551005423069, -0.05936962366104126, -0.2782735228538513, 0.21288727223873138, 0.6779116988182068, 0.09623044729232788, 0.18053145706653595, 0.05602683499455452, -0.07575827091932297, -0.19296833872795105, 0.11956483125686646, 0.25537678599357605, 0.5258784890174866, -0.001183238229714334, 0.1051613837480545, 0.09363267570734024, 0.26782310009002686, -0.1532365381717682, 0.20736899971961975, 0.013259023427963257, 0.5068830847740173, 0.5786464214324951, -0.04274939373135567, 0.04929589852690697, -0.13672149181365967, -0.09529419243335724, 0.2406860888004303, 0.1863725632429123, -0.31073853373527527, 0.08906098455190659, -0.30776524543762207, -0.0027245059609413147, -0.27036598324775696, 0.10643654316663742, -0.046076636761426926, -0.15882736444473267, -0.11586673557758331, 0.34341955184936523, 0.017645645886659622, -0.024769818410277367, -0.17479120194911957, 0.13964207470417023, 0.07995275408029556, 0.08477022498846054, -0.23839561641216278, -0.14227262139320374, -0.055948495864868164, -0.05815157666802406, 0.2963061034679413, 0.20919112861156464, -0.13544325530529022, -0.13227126002311707, -0.18669936060905457, -0.17998391389846802, 0.03781810402870178, 0.3818575441837311, 0.030940627679228783, 0.22100242972373962, 0.05332781374454498, -0.12089404463768005, 0.0482994019985199, -0.08126126974821091, 0.020984606817364693, -0.1482088267803192, -0.3249466121196747, 0.08695058524608612, -0.10312584042549133, 0.10575290024280548, -0.1629997342824936, -0.6487616300582886, -0.2168450653553009, -0.41866180300712585, 0.03963354974985123, -0.4388681948184967, 0.12117864191532135, 0.22505800426006317, 0.0629829540848732, 0.05850483849644661, 0.27164146304130554, -0.02835223264992237, -0.21665608882904053, 0.06495948135852814, 0.21965761482715607, -0.43212321400642395, -0.33795633912086487, -0.02744125947356224, -0.21124890446662903, 0.2289745807647705, 0.31651198863983154, -0.16667509078979492, 0.1623549908399582, -0.1919819712638855, 0.1345013678073883, -0.2208051085472107, -0.16386711597442627, 0.1068262830376625, -0.06722649186849594, 0.1582884043455124, -0.24656426906585693, -0.0783916637301445, 0.0894869938492775, 0.22845062613487244, 0.22369055449962616, 0.12219730764627457, 0.3835521638393402, -0.10176023840904236, 0.9449623227119446, 0.11890320479869843, 0.0725879892706871, 0.20309166610240936, -0.3179164230823517, -0.09851740300655365, -0.31215590238571167, -0.28631311655044556, 0.13145212829113007, 0.005903378129005432, -0.06315338611602783, 0.361647367477417, -0.049691177904605865, -0.14050211012363434, -0.18413867056369781, -0.13037346303462982, -0.3715832531452179, -0.4522322416305542, 0.21734635531902313, -0.19529291987419128, 0.012484081089496613, 0.0002987310290336609, 0.23892471194267273, 0.23188599944114685, -0.02060580998659134, -0.05313309282064438, 0.055763985961675644, 0.00449787825345993, -0.020337458699941635, 0.2890336215496063, 0.05726665258407593, -0.23642486333847046, 0.2143559604883194, 0.3185354471206665, 0.3282011151313782, -0.3593090772628784, 0.03126317262649536, 0.05883195251226425, 0.11739762127399445, 0.484328031539917, -0.40234965085983276, 0.09975330531597137, 0.04373269900679588, -0.023227885365486145, -0.10514971613883972, 0.023309577256441116, -0.21989649534225464, 0.1928936392068863, 0.17297150194644928, 0.15402856469154358, -0.06360425800085068, -0.1550544798374176, 0.06915423274040222, 0.24622154235839844, -0.03836304694414139, 0.04419702664017677, -0.18135614693164825, -0.22931984066963196, -0.04024812579154968, 0.20551756024360657, 0.2241627424955368, 0.23740780353546143, -0.29617083072662354, -0.24593231081962585, 0.023244496434926987, -0.4333518147468567, 0.11641641706228256, 0.11466600000858307, 0.2786257565021515, -0.16127288341522217, 0.33789563179016113, 0.21407924592494965, 0.19496998190879822, 0.44152817130088806, 0.6388198137283325, 0.011199474334716797, -0.25520026683807373, 0.18079227209091187, -0.46240830421447754, 0.23466303944587708, 0.2161591351032257, -0.23844198882579803, -0.12258058041334152, -0.10851995646953583, 0.05479372292757034, 0.2186233401298523, 0.10145864635705948, 0.17034092545509338, -0.12297322601079941, -0.5341936349868774, -0.20466072857379913, 0.059478309005498886, 0.09197352826595306, -0.15915445983409882, 0.6235204339027405, -0.14872920513153076, -0.47009924054145813, 0.1944872885942459, -0.09939206391572952, 0.8705652952194214, 0.15388800203800201, -0.15893279016017914, 0.24078741669654846, -0.021997708827257156, 0.040511392056941986, -0.20311202108860016, 0.17288033664226532, -0.22794416546821594, -0.3036109209060669, -0.17201395332813263, -0.2734322249889374, 0.06293661147356033, 0.21403327584266663, -0.43334245681762695, 0.27828410267829895, -0.35301846265792847, 0.10503692924976349, 0.05752294510602951, 0.19319386780261993, -0.15111997723579407, -0.11906729638576508, -0.029048506170511246, -0.0680815801024437, -0.14479979872703552, 0.3115079998970032, 0.059796325862407684, -0.17922313511371613, -0.34114399552345276, -0.17961829900741577, -0.24430562555789948, 0.5667403936386108, -0.4164481461048126, 0.11561494320631027, -0.058285925537347794, -0.39340269565582275, 0.5699027180671692, 0.16689015924930573, 0.1365584135055542, -0.04798031225800514, -0.12408064305782318, 0.27377086877822876, 0.07253780215978622, 0.11143438518047333, -0.27039384841918945, -0.1337144523859024, 0.34164947271347046, -0.02082364447414875, -0.2336478978395462, -0.18949559330940247, -0.16904008388519287, -0.13410642743110657, 0.3469104468822479, 0.031123928725719452, 0.23290331661701202, -0.3190172016620636, 0.09568293392658234, 0.06770522892475128, 0.057775575667619705, -0.20204542577266693, -0.0027489829808473587, 0.07176743447780609, -0.23069080710411072, 0.1526011824607849, 0.03383590281009674, -0.2979061007499695, -0.039039719849824905, 0.16188502311706543, 0.09564656019210815, 0.21161511540412903, 0.4129621088504791, 0.11252854764461517, 0.02711624652147293, -0.3922553062438965, -0.021467044949531555, 0.31643176078796387, -0.5181783437728882, 0.3202507197856903, -0.3282621204853058, 0.009367868304252625, -0.01879105344414711, 0.311271071434021, -0.19870668649673462, 0.19638118147850037, -0.18069609999656677, -0.5298678874969482, -0.03799742832779884, 0.0818607434630394, -0.10264474153518677, 0.02572687901556492, -0.1481635868549347, 0.01101107057183981, 0.03668517619371414, 0.013151518069207668, -0.09689931571483612, 0.26336076855659485, 0.048003047704696655, 0.022561032325029373, 0.09089495986700058, -0.08334725350141525, 0.44903191924095154, -0.11889354884624481, -0.06650983542203903, 0.1974065601825714, 0.1631087213754654, -0.07125653326511383, -0.33507081866264343, 0.18625430762767792, 0.03179033100605011, 0.10310528427362442, -0.1226646676659584, 0.04228803515434265, -0.3281293213367462, -0.046742554754018784, 0.3064427375793457, 0.12110216170549393, 0.0514141283929348, 0.15497536957263947, 0.2280934751033783, 0.05022120475769043, -0.5468911528587341, 0.3285960853099823, -0.16078802943229675, 0.3766472339630127, 0.06789331138134003, 0.39710745215415955, 0.10191144794225693, -0.04368823021650314, -0.2693968415260315, -0.12322834879159927, 0.06692982465028763, -0.1552238166332245, 0.13165616989135742, -0.1802821159362793, 0.11342079937458038, -0.28887563943862915, 0.270178884267807, 0.44123536348342896, 0.017055638134479523, -0.011727861128747463, 0.09737519919872284, 0.04662671685218811, -0.054871268570423126, 0.07893635332584381, 0.2849772274494171, -0.14375516772270203, 0.06741245090961456, 0.3903338313102722, 0.16028934717178345, 0.25740864872932434, -0.3931364417076111, -0.17208504676818848, 0.14642716944217682, 0.449346661567688, 0.40749940276145935, 0.32174891233444214, -0.14572325348854065, 0.3612251877784729, 0.08562908321619034, -0.21753467619419098, 0.13557253777980804, 0.1313772201538086, -0.296709269285202, 0.4023228883743286, 0.08734747767448425, 0.03192252665758133, 0.5215135216712952, -0.4135454297065735, 0.015388499945402145, 0.11117662489414215, -0.29827889800071716, -0.12241268903017044, -0.033526383340358734, 0.7208528518676758, -0.2679859399795532, -0.32697632908821106, -0.2590174078941345, 0.1734103113412857, -0.05860726535320282, 0.18549011647701263, -0.28981244564056396, -0.18737168610095978, -0.48070037364959717, 0.13532492518424988, 0.15411680936813354, 0.10985299944877625, 0.2737627923488617, 0.23670783638954163, -0.06875433027744293, -0.016003457829356194, 0.05388347804546356, 0.3345741629600525, 0.057825490832328796, -0.3171502649784088, 0.3268473446369171, -0.3899351954460144, -0.16274262964725494, 0.13586455583572388, 0.18300502002239227, 0.2511546313762665, 0.15423789620399475, -0.18644453585147858, -0.35647961497306824, 0.3993430435657501, -0.05824877321720123, 0.10746394097805023, 0.39223599433898926, 0.1277575045824051, 0.005185877904295921, 0.3786652982234955, 0.01571355201303959, -0.06196709722280502, -0.01694295182824135, 0.1961226910352707, 0.28729671239852905, -0.12060797214508057, 0.15217509865760803, -0.31180718541145325, -0.05712944269180298, -0.20053434371948242, -0.12690961360931396, -0.17029128968715668, 0.11967393010854721, 0.2951110899448395, -0.21516573429107666, 0.06958466023206711, -0.08060283213853836, -0.0271039679646492, 0.0425942987203598, 0.40792110562324524, 0.1431339532136917, 0.3454079329967499, -0.190281942486763, -0.23950769007205963, -0.2844799757003784, 0.13579978048801422, 0.005577810108661652, 0.07092314958572388, -0.17329515516757965, 0.10482084006071091, -0.15411311388015747, 0.297760009765625, 0.2586343288421631, 0.16808539628982544, 0.2503209114074707, 0.3897094428539276, -0.3675331771373749, -0.17821235954761505, 0.07602544873952866, 0.014551317319273949, -0.11060896515846252, -0.6791918873786926, 0.0019196420907974243, -0.05596494302153587, -0.20343515276908875, 0.07006720453500748, -0.35807669162750244, -0.0012203846126794815, -0.28047844767570496, 0.42276960611343384, 0.07962623983621597, 0.6066838502883911, 0.004680376499891281, 0.05044081062078476, 0.03711867332458496, -0.3336459994316101, -0.06653222441673279, 0.10076636075973511, 0.2222793996334076, 0.32762831449508667, 0.0668194442987442, 0.26965808868408203, -0.4006648659706116, 0.24399185180664062, 0.0781509205698967, 0.07310368865728378, -0.28359195590019226, 0.12177146226167679, -0.23077240586280823, 0.019159242510795593, 0.2420767992734909, 0.1706838607788086, -0.32965192198753357, -0.12715792655944824, -0.3445206880569458, -0.31215691566467285, 0.2182535082101822, -0.40151119232177734, -0.26417335867881775, -0.23185352981090546, 0.3347509503364563, 0.404564768075943, -0.29766178131103516, -0.41287320852279663, -0.12271851301193237, 0.21468394994735718, -0.38947179913520813, -0.016693633049726486, -0.0788128674030304, 0.24135100841522217, 0.0843241959810257, -0.06821665912866592, 0.3322105407714844, 0.21188664436340332, -0.24117809534072876, 0.15601857006549835, -0.13311198353767395 ]
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
Hello, Have you tried loading the dataset in streaming mode? [Documentation](https://huggingface.co/docs/datasets/v2.20.0/stream) This way you wouldn't have to load it all. Also, let's be nice to Parquet, it's a really nice technology and we don't need to be mean :)
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more**
39
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more** Hello, Have you tried loading the dataset in streaming mode? [Documentation](https://huggingface.co/docs/datasets/v2.20.0/stream) This way you wouldn't have to load it all. Also, let's be nice to Parquet, it's a really nice technology and we don't need to be mean :)
[ -0.21402132511138916, -0.472859263420105, 0.011498488485813141, 0.5070446133613586, 0.25603771209716797, -0.018356725573539734, -0.16817572712898254, 0.45917877554893494, 0.14100977778434753, 0.13229027390480042, -0.07497289776802063, -0.04636634886264801, 0.05198558047413826, 0.5133880972862244, 0.15504054725170135, -0.046936459839344025, -0.010425299406051636, 0.3441508412361145, 0.14627403020858765, -0.09531570225954056, -0.1858803778886795, 0.015397123992443085, -0.04899166524410248, 0.05928295850753784, 0.04894596338272095, 0.24811698496341705, 0.003924397751688957, 0.07476760447025299, -0.2991967797279358, -0.06639306247234344, 0.2313237339258194, -0.3479750454425812, 0.1680126190185547, -0.058624766767024994, -0.0001265359460376203, -0.07552209496498108, 0.41758161783218384, -0.263912171125412, -0.21782469749450684, 0.016554266214370728, -0.003900047391653061, -0.23610825836658478, 0.18604257702827454, -0.3585013151168823, -0.21422603726387024, -0.2225155085325241, 0.044445864856243134, -0.07651563733816147, 0.4190373420715332, 0.22360536456108093, 0.03853261470794678, -0.07711194455623627, 0.1894296109676361, 0.23933155834674835, 0.33377352356910706, -0.17996610701084137, 0.17530591785907745, 0.13116943836212158, 0.6445881128311157, 0.030850259587168694, 0.15601924061775208, -0.010710797272622585, 0.0828094482421875, 0.21630841493606567, -0.009664371609687805, 0.045257143676280975, 0.18287450075149536, -0.4950989782810211, 0.43290722370147705, 0.5473484396934509, 0.38194483518600464, 0.16188493371009827, -0.05520184338092804, -0.3921193778514862, -0.06730173528194427, -0.32466813921928406, 0.01445525512099266, 0.564355194568634, -0.13395798206329346, 0.16703487932682037, -0.35177376866340637, -0.3087179958820343, -0.15854308009147644, 0.2637125253677368, -0.245767742395401, 0.030225001275539398, -0.09485418349504471, 0.08743586391210556, 0.22785548865795135, -0.14955253899097443, -0.23050634562969208, -0.07164813578128815, -0.08244843780994415, 0.29501357674598694, -0.2014189213514328, -0.1781473159790039, -0.36394202709198, 0.24185386300086975, 0.41597849130630493, 0.12572985887527466, -0.09829625487327576, 0.2633304297924042, 0.12872782349586487, 0.13547952473163605, 0.4657441973686218, -0.18793851137161255, -0.16929760575294495, -0.06879273802042007, 0.10098244249820709, 0.15411506593227386, 0.07392735779285431, -0.13750502467155457, -0.18961261212825775, 0.04965709522366524, -0.6045865416526794, -0.30777838826179504, -0.06312759965658188, -0.3945121169090271, 0.01182464323937893, -0.1693909913301468, 0.18160110712051392, -0.003942612558603287, 0.14872844517230988, 0.029093287885189056, -0.020174402743577957, 0.33856114745140076, -0.28068336844444275, 0.22294801473617554, -0.09409519284963608, -0.6873088479042053, -0.0941726565361023, -0.04112088307738304, -0.07016703486442566, -0.0384141281247139, 0.1308785080909729, -0.3285714387893677, 0.22389516234397888, 0.14677636325359344, 0.16189496219158173, -0.07910531759262085, 0.1396051049232483, -0.41881218552589417, -0.18280646204948425, 0.06959289312362671, 0.03489255532622337, 0.21304070949554443, 0.30757999420166016, 0.06413832306861877, -0.20679213106632233, 0.06665411591529846, -0.3589974045753479, -0.25584083795547485, 0.003938883543014526, -0.0008100112900137901, -0.1414070427417755, 0.1626821607351303, -0.7256121635437012, 0.40889397263526917, -0.1386057436466217, 0.03604542091488838, -0.2558274567127228, 0.08131670951843262, -0.2958471477031708, -0.06242553889751434, 0.5515410900115967, 0.24798162281513214, -0.22380989789962769, -0.13806785643100739, 0.1717911660671234, -0.07860097289085388, 0.5657765865325928, 0.3916875422000885, -0.4267411530017853, -0.24244698882102966, -0.16004842519760132, -0.09244370460510254, 0.49534082412719727, 0.2143992781639099, -0.06979546695947647, 0.5250875949859619, -0.008243683725595474, -0.17316733300685883, 0.1336938738822937, -0.11955076456069946, 0.3549673855304718, 0.0056259906850755215, 0.10508589446544647, 0.48174339532852173, 0.00404626689851284, -0.017963644117116928, -0.25454723834991455, -0.3862343728542328, 0.2265387326478958, 0.36723998188972473, 0.12526939809322357, 0.26663950085639954, 0.18609362840652466, -0.18710704147815704, 0.23366960883140564, -0.1735769510269165, 0.24872860312461853, 0.22764241695404053, 0.08133749663829803, 0.48976999521255493, -0.12950344383716583, -0.302618145942688, -0.3331025540828705, 0.2636597156524658, 0.11485324800014496, -0.605019211769104, 0.30305591225624084, 0.07392887026071548, -0.0555838979780674, -0.26447761058807373, 0.2184317708015442, -0.017655164003372192, -0.08777882903814316, 0.016190357506275177, 0.01850701868534088, -0.19956885278224945, -0.3851526379585266, 0.1636407971382141, -0.02188066765666008, 0.15085959434509277, -0.33676737546920776, 0.26363348960876465, 0.22631019353866577, -0.016144368797540665, 0.2677273452281952, -0.34820789098739624, 0.3271280825138092, -0.25725027918815613, 0.1243152841925621, 0.2288968563079834, 0.08214659243822098, 0.050794877111911774, 0.17767268419265747, 0.18083889782428741, 0.17132972180843353, -0.10130506753921509, -0.10110283643007278, 0.012617272324860096, 0.050717178732156754, 0.01927047222852707, -0.2202591598033905, 0.2021217942237854, 0.04183347895741463, 0.2824207842350006, -0.012673351913690567, -0.07675671577453613, 0.19002199172973633, -0.10331448912620544, 0.06875605881214142, 0.14321404695510864, 0.4016188085079193, 0.07369501888751984, -0.13000933825969696, 0.10888395458459854, -0.5135042667388916, -0.2565743029117584, 0.1734572947025299, -0.05535461753606796, -0.24881404638290405, 0.33562588691711426, -0.19945889711380005, -0.1421070396900177, -0.1353175789117813, -0.1816326379776001, -0.1567191332578659, 0.2143406867980957, 0.1739572435617447, -0.031887367367744446, 0.559137225151062, 0.07242393493652344, 0.11247197538614273, 0.21346056461334229, -0.1757645308971405, 0.02824656292796135, -0.049025945365428925, -0.16178356111049652, -0.08394849300384521, 0.28831639885902405, 0.2308429628610611, 0.036061808466911316, -0.1926981657743454, -0.06320982426404953, -0.2615174949169159, -0.04398685693740845, -0.14002543687820435, 0.3402181565761566, -0.12887834012508392, 0.10125109553337097, -0.0530240461230278, 0.25307953357696533, 0.15086346864700317, -0.17193587124347687, -0.3968079686164856, 0.35175180435180664, -0.22468414902687073, -0.27145349979400635, -0.29935139417648315, -0.1275833696126938, -0.23532411456108093, 0.008920449763536453, 0.1976678967475891, 0.28419190645217896, 0.0030517708510160446, -0.2150479108095169, -0.1559777706861496, -0.3880736827850342, -0.09207278490066528, -0.04138989746570587, 0.04589328542351723, 0.07537214457988739, 0.03925130143761635, 0.5240447521209717, -0.08869808912277222, 0.026168636977672577, 0.07545787841081619, -0.08299648016691208, -0.043005235493183136, 0.04025018960237503, 0.09843149036169052, 0.4854053854942322, 0.001758035272359848, -0.016486987471580505, -0.13826745748519897, -0.23092809319496155, 0.4564296007156372, 0.442079097032547, 0.04846276715397835, -0.4236820340156555, -0.18490587174892426, -0.3053552806377411, -0.11925621330738068, 0.08031567186117172, 0.04794510453939438, -0.5029272437095642, 0.3427584767341614, 0.26334959268569946, -0.3007183074951172, 0.0982244610786438, 0.022334761917591095, -0.34546372294425964, 0.29908227920532227, -0.42383772134780884, -0.053759824484586716, -0.18617871403694153, -0.3102196156978607, -0.4237314462661743, 0.12816354632377625, 0.013518251478672028, -0.5879889726638794, 0.03658299148082733, 0.10175817459821701, -0.19490253925323486, -0.14914831519126892, 0.20707347989082336, 0.14078408479690552, 0.10943491756916046, 0.458088219165802, 0.024764250963926315, 0.5987370610237122, -0.008382500149309635, 0.10221889615058899, 0.2900197207927704, -0.07960260659456253, 0.19742698967456818, -0.17540770769119263, 0.11230681836605072, 0.36917319893836975, 0.017431184649467468, 0.12871797382831573, 0.4386541247367859, -0.0029614754021167755, -0.1890687346458435, -0.39291664958000183, -0.29671987891197205, -0.34539535641670227, -0.037833571434020996, 0.0130577078089118, 0.14214661717414856, 0.09492258727550507, -0.015804365277290344, -0.1753925085067749, 0.08348304033279419, -0.12300821393728256, 0.1307017058134079, 0.07059158384799957, 0.20925121009349823, 0.19397059082984924, -0.2652653157711029, 0.3170475363731384, 0.08727812767028809, 0.1494562178850174, -0.2650217115879059, 0.0703202411532402, -0.024884816259145737, -0.03252217918634415, 0.24101215600967407, -0.04010813683271408, 0.9343174695968628, 0.26973897218704224, 0.4286828637123108, -0.12331902980804443, -0.37787187099456787, -0.4616057276725769, 0.021748479455709457, -0.05544353649020195, -0.17865169048309326, 0.4152742028236389, 0.5566636323928833, -0.6393477916717529, -0.012399958446621895, -0.0931829884648323, 0.4141564965248108, -0.1369025856256485, 0.22356978058815002, -0.26222747564315796, 0.07862050086259842, -0.1807710826396942, 0.29113659262657166, 0.07754526287317276, 0.22916541993618011, 0.2623547613620758, 0.16030913591384888, -0.27998173236846924, -0.10760612785816193, -0.1688288003206253, 0.02132348343729973, 0.25092294812202454, 0.11057119071483612, 0.1574726104736328, 0.32110002636909485, 0.3289852440357208, 0.24939769506454468, 0.3733428418636322, 0.11199261248111725, -0.31740373373031616, 0.231816828250885, 0.10662484914064407, 0.2565641701221466, -0.019876629114151, 0.04189617186784744, -0.163309246301651, 0.11067193001508713, 0.24004745483398438, -0.13977673649787903, 0.39089810848236084, -0.04335680603981018, -0.29812243580818176, -0.36594516038894653, -0.4497120976448059, 0.368071585893631, 0.03564001992344856, 0.021636590361595154, -0.02538605034351349, 0.46531373262405396, -0.1517617255449295, 0.0211428664624691, 0.08348743617534637, 0.9126431345939636, -0.3043007254600525, 0.12901785969734192, -0.5407171249389648, -0.46445679664611816, 0.6284408569335938, -0.5240755677223206, -0.12091244757175446, -0.15331023931503296, -0.37763166427612305, -0.08341361582279205, -0.16770623624324799, -0.13788217306137085, 0.33141452074050903, 0.25172561407089233, 0.6145390272140503, -0.08487965911626816, 0.26778456568717957, 0.206214040517807, 0.21793296933174133, 0.09087138622999191, -0.016533654183149338, -0.2408025860786438, -0.02649706043303013, -0.10496866703033447, -0.09128202497959137, 0.09325700253248215, -0.1686449497938156, 0.0722193568944931, -0.1644282341003418, 0.07604275643825531, 0.2684575617313385, -0.48058488965034485, -0.20695847272872925, 0.004638276994228363, -0.41148054599761963, 0.06848268210887909, 0.2475673407316208, 0.02889316901564598, 0.04697490483522415, -0.3660339117050171, 0.04257362335920334, 0.013276096433401108, -0.14917248487472534, -0.3609202802181244, 0.2062820941209793, -0.3296091556549072, -0.11255490034818649, 0.09826626628637314, 0.06734462827444077, -0.16125957667827606, -0.05264132469892502, 0.000172346830368042, 0.29690414667129517, 0.20888422429561615, -0.024890650063753128, -0.293172687292099, -0.2206246554851532, 0.2473067045211792, -0.1466793566942215, -0.03702601417899132, 0.1520715355873108, -0.37936463952064514, -0.11129184812307358, 0.1388847976922989, -0.24404598772525787, -0.06718568503856659, 0.31485989689826965, -0.12193047255277634, -0.04243665188550949, 0.3044262230396271, -0.06758452951908112, -0.2545420527458191, -0.0004958584904670715, -0.11252152919769287, 0.26913440227508545, -0.11662617325782776, -0.18780918419361115, 0.042101919651031494, 0.2684718370437622, -0.060702767223119736, 0.0016482658684253693, 0.0979280173778534, -0.16569218039512634, 0.1392429769039154, -0.6579762697219849, -0.3161586821079254, 0.22343240678310394, -0.12588045001029968, 0.016600199043750763, 0.3432253301143646, -0.15515342354774475, 0.07032614201307297, -0.011606255546212196, -0.0864868313074112, 0.548835813999176, -0.08244485408067703, 0.4624269902706146, 0.419412761926651, 0.07317642867565155, -0.010310780256986618, 0.09420043230056763, -0.03113779053092003, 0.047268860042095184, -0.04873751103878021, -0.045065987855196, 0.03860519081354141, 0.20654821395874023, 0.10856213420629501, -0.06985253095626831, -0.2788420021533966, -0.1918025016784668, -0.15873032808303833, 0.01648542657494545, 0.083742156624794, -0.034865230321884155, 0.3003510534763336, -0.2260223925113678, 0.654747486114502, 0.030377235263586044, -0.769010066986084, 0.144443541765213, -0.14574748277664185, 0.03858602046966553, 0.05435195192694664, 0.11887452751398087, 0.10443314909934998, -0.09163951128721237, -0.275899201631546, -0.055837519466876984, 0.4833337664604187, -0.0951404795050621, 0.08355632424354553, -0.017781883478164673, 0.15038004517555237, 0.39686083793640137, 0.26326504349708557, 0.7100979089736938, -0.11128359287977219, 0.09698393940925598, 0.48906540870666504, 0.04768933355808258, -0.13241040706634521, -0.14853541553020477, 0.27844488620758057, -0.09585437178611755, -0.021964240819215775, 0.14172668755054474, 0.04872065410017967, -0.18194153904914856, -0.2881452441215515, -0.1980152428150177, 0.27342697978019714, 0.2650171220302582, 0.004269117023795843, 0.3094784617424011, -0.03274547681212425, -0.3358869254589081, -0.14120706915855408, 0.5303751826286316, 0.11465886980295181, 0.3716502785682678, -0.0711415633559227, 0.009830319322645664, 0.16342419385910034, -0.09382034838199615, -0.29793745279312134, -0.43526414036750793, -0.18630127608776093, 0.6501920223236084, 0.2530153691768646, -0.10711794346570969, -0.3816063404083252, 0.13573947548866272, 0.5934768319129944, -0.3179808259010315, -0.03172365203499794, 0.18307337164878845, 0.28980937600135803, 0.06287811696529388, 0.0442882776260376, -0.28576070070266724, -0.2597512900829315, 0.4010150730609894, -0.0326554961502552, -0.19196046888828278, -0.04594160616397858, 0.33542031049728394, 0.10344533622264862, -0.20574811100959778, -0.22755804657936096, 0.38114133477211, 0.0854874774813652, -0.34035739302635193, 0.33792638778686523, -0.021052122116088867, -0.1429051160812378, 0.38748762011528015, -0.17583629488945007, -0.07605569064617157, -0.015293002128601074, 0.07088807970285416, 0.01468534767627716, 0.2777542471885681, 0.08432396501302719, -0.1628284603357315, -0.03019224852323532, 0.3048197627067566, 0.28740015625953674, 0.3202283978462219, -0.019943412393331528, -0.027211403474211693, 0.023687694221735, -0.2974475920200348, -0.21018332242965698, -0.573567271232605, -0.11368217319250107, 0.39643293619155884, -0.1237613707780838, -0.13427972793579102, -0.27550145983695984, -0.17246541380882263, -0.19327425956726074, -0.3066524267196655, 0.09494276344776154, 0.15614932775497437, 0.454755574464798, -0.035221926867961884, -0.03608030825853348, 0.28143635392189026, 0.142903670668602, -0.08985152095556259, -0.36357879638671875, -0.45320242643356323, -0.2746904492378235, 0.10886538773775101, -0.1916152536869049, 0.06351209431886673, 0.4068901538848877, 0.062323302030563354, 0.26804831624031067, 0.22369657456874847, -0.23285336792469025, 0.34366700053215027, -0.007615512236952782, 0.24162442982196808, 0.04362260922789574, -0.0975804477930069, 0.04623415321111679, 0.3989221155643463, -0.05803975090384483, -0.13644787669181824, 0.3278529644012451, -0.13321001827716827, -0.07709746062755585, 0.25664904713630676, -0.1531682014465332, -0.18593913316726685, -0.08607131242752075, 0.026630017906427383, 0.00833835918456316, 0.2792740762233734, -0.10203050076961517, 0.16330020129680634, 0.05252610892057419, -0.1164306029677391, -0.19425956904888153, 0.2694724500179291, -0.05478527769446373, -0.17477306723594666, -0.27708327770233154, 0.0777590349316597, -0.2689833641052246, -0.01731223613023758, -0.18304136395454407, 0.06517478823661804, -0.11248868703842163, -0.3733571767807007, 0.3226238191127777, -0.09662514179944992, 0.1644197553396225, 0.15324516594409943, -0.25321149826049805, -0.40031737089157104, -0.10372207313776016, -0.11320274323225021, 0.603592038154602, -0.45513206720352173, -0.2616878151893616, -0.13714896142482758, 0.37112119793891907, 0.4583735167980194, 0.17869767546653748, -0.11395100504159927, 0.24264442920684814, 0.5147708058357239, -0.11433417350053787, -0.18041422963142395, 0.061789657920598984, 0.011249626986682415, -0.23018677532672882, -0.032060135155916214, -0.03521081060171127, 0.4799264669418335, -0.16723085939884186, -0.23622186481952667, -0.3322684168815613 ]
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
I have downloaded part of it, just want to know how to load part of it, stream mode is not work for me since my network (in china) not stable, I don't want do it all again and again. Just curious, doesn't there a way to load part of it?
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more**
50
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more** I have downloaded part of it, just want to know how to load part of it, stream mode is not work for me since my network (in china) not stable, I don't want do it all again and again. Just curious, doesn't there a way to load part of it?
[ -0.2755742371082306, -0.3541701138019562, -0.028508063405752182, 0.4808918237686157, 0.19115124642848969, 0.05765650421380997, -0.20927058160305023, 0.4417593479156494, 0.09506696462631226, 0.10304372012615204, -0.08347377926111221, -0.013184500858187675, 0.04859839379787445, 0.39017435908317566, 0.17909620702266693, 0.013156615197658539, -0.020128898322582245, 0.380926251411438, 0.1915917694568634, -0.10081727802753448, -0.12557627260684967, -0.06908175349235535, -0.05591219663619995, 0.028884634375572205, 0.1592368632555008, 0.23136849701404572, 0.02375190146267414, -0.017156235873699188, -0.26461276412010193, -0.07726596295833588, 0.23165689408779144, -0.3530426025390625, 0.2360265552997589, -0.00356195867061615, -0.0001239300036104396, -0.06334035843610764, 0.4417678117752075, -0.2875755727291107, -0.19285421073436737, 0.05551527440547943, -0.08805999159812927, -0.22538989782333374, 0.1402386873960495, -0.4113953411579132, -0.1901124119758606, -0.2350424975156784, 0.0835571214556694, -0.0779452994465828, 0.45235222578048706, 0.32088086009025574, 0.06266266107559204, -0.2119324654340744, 0.13851696252822876, 0.18457965552806854, 0.363787978887558, -0.29764455556869507, 0.18237826228141785, 0.15528897941112518, 0.6354148387908936, 0.10171287506818771, 0.14937618374824524, -0.09315161406993866, 0.1021282970905304, 0.17171254754066467, -0.16314861178398132, 0.006322476547211409, 0.25887835025787354, -0.501575231552124, 0.4905613660812378, 0.5023176074028015, 0.4426962733268738, 0.22060814499855042, 0.00932241789996624, -0.23260366916656494, -0.028248079121112823, -0.3238022029399872, -0.08675219863653183, 0.5725359916687012, -0.13629789650440216, 0.208938330411911, -0.26094937324523926, -0.31797149777412415, -0.2052355706691742, 0.2486351877450943, -0.33161577582359314, 0.11481308937072754, -0.057842858135700226, 0.07179788500070572, 0.17089173197746277, -0.10413806140422821, -0.09073866158723831, -0.08777536451816559, -0.11430530250072479, 0.2588738799095154, -0.12710332870483398, -0.1240713894367218, -0.46323782205581665, 0.12203933298587799, 0.3488585650920868, 0.04885628819465637, -0.0438438281416893, 0.2978401780128479, 0.23448492586612701, 0.15478619933128357, 0.37694063782691956, -0.25112438201904297, -0.2088906168937683, -0.04524737223982811, 0.08469361811876297, 0.002171166008338332, 0.016018882393836975, -0.1656467318534851, -0.28811728954315186, 0.0983637124300003, -0.5017396807670593, -0.19452109932899475, -0.20747463405132294, -0.3788032829761505, 0.07871711254119873, -0.21438825130462646, 0.21274971961975098, -0.021331127732992172, 0.11387836188077927, 0.08509943634271622, -0.029661215841770172, 0.4177495837211609, -0.3565937876701355, 0.11300092935562134, 0.013318544253706932, -0.6487374305725098, -0.10425697267055511, 0.016928650438785553, -0.061869531869888306, -0.0465007945895195, 0.09679022431373596, -0.30740541219711304, 0.21310260891914368, 0.07685902714729309, 0.17614540457725525, -0.07758305221796036, 0.15247103571891785, -0.4406287670135498, -0.14243349432945251, 0.07408244162797928, 0.04587860777974129, 0.1902097761631012, 0.22100768983364105, 0.06148942559957504, -0.17239443957805634, 0.09934655576944351, -0.3346276581287384, -0.2484266608953476, 0.07292536646127701, 0.039015933871269226, -0.12985077500343323, 0.19283020496368408, -0.6494025588035583, 0.3562577962875366, -0.10751288384199142, -0.04961191862821579, -0.31098705530166626, 0.03285043314099312, -0.18964575231075287, -0.18512526154518127, 0.5238256454467773, 0.1510525643825531, -0.281272828578949, -0.07373103499412537, 0.06586827337741852, -0.10400831699371338, 0.6598303914070129, 0.28855541348457336, -0.42243632674217224, -0.2495739459991455, -0.12049612402915955, -0.12569208443164825, 0.6061636805534363, 0.19557221233844757, -0.1293303221464157, 0.6019050478935242, 0.02914196252822876, -0.2365044504404068, 0.15804815292358398, -0.05477484315633774, 0.332683265209198, 0.024808011949062347, 0.11845634877681732, 0.43564820289611816, -0.03375592827796936, -0.04449903964996338, -0.22477298974990845, -0.3371540606021881, 0.18998213112354279, 0.3544080853462219, 0.1332216113805771, 0.31816908717155457, 0.24871426820755005, -0.16812121868133545, 0.2711767554283142, -0.1374943107366562, 0.23213915526866913, 0.20372575521469116, 0.047899700701236725, 0.37316614389419556, -0.14074276387691498, -0.27722132205963135, -0.28294336795806885, 0.18747428059577942, 0.09362473338842392, -0.7008901834487915, 0.35621464252471924, 0.12864550948143005, -0.06946065276861191, -0.28389742970466614, 0.24729937314987183, 0.03606026619672775, -0.053784266114234924, 0.054102230817079544, 0.010939180850982666, -0.2968214452266693, -0.33416828513145447, 0.09034793078899384, 0.011170824989676476, 0.02999499812722206, -0.2677697241306305, 0.2153913974761963, 0.18385140597820282, 0.018804864957928658, 0.3017067611217499, -0.4051159620285034, 0.30629226565361023, -0.23488351702690125, 0.09835325926542282, 0.19398972392082214, 0.08945850282907486, 0.06588628888130188, 0.16398762166500092, 0.14307977259159088, 0.132224440574646, -0.1500498354434967, -0.08794482797384262, 0.07707633078098297, 0.09363632649183273, 0.01751183718442917, -0.17555448412895203, 0.146400585770607, 0.06483978778123856, 0.2405255138874054, 0.06992042809724808, -0.1122526079416275, 0.31461426615715027, -0.11299918591976166, 0.07975556701421738, 0.15388846397399902, 0.29018184542655945, 0.14882588386535645, -0.14066223800182343, 0.0983710065484047, -0.44798940420150757, -0.27965396642684937, 0.14667268097400665, -0.09720692038536072, -0.18319851160049438, 0.2944924235343933, -0.20759254693984985, -0.15002813935279846, -0.2007744461297989, -0.14629362523555756, -0.13263003528118134, 0.22320538759231567, 0.23919619619846344, -0.058060094714164734, 0.59615159034729, 0.019948922097682953, 0.10099814087152481, 0.2383243441581726, -0.12131933867931366, 0.07760003209114075, -0.04229578375816345, -0.14922761917114258, 0.02226048707962036, 0.2311438024044037, 0.2911493182182312, 0.021088194102048874, -0.08078529685735703, -0.06781961768865585, -0.2540811598300934, -0.015506992116570473, -0.15237516164779663, 0.35432544350624084, -0.029312238097190857, 0.10982003808021545, -0.06430055946111679, 0.14316511154174805, 0.1523461639881134, -0.12778711318969727, -0.43070024251937866, 0.30874744057655334, -0.18886657059192657, -0.24920888245105743, -0.2755645513534546, -0.1899920403957367, -0.2633417546749115, 0.04236121103167534, 0.15245406329631805, 0.27676984667778015, -0.035126619040966034, -0.1377669870853424, -0.12196037918329239, -0.2786129117012024, -0.04529591649770737, -0.025690756738185883, 0.17788073420524597, 0.04755108803510666, 0.002184741199016571, 0.5134387016296387, -0.06584101915359497, 0.0169798843562603, 0.013269185088574886, -0.06744969636201859, -0.0073570432141423225, 0.05151306837797165, 0.09305154532194138, 0.4632793664932251, 0.034006427973508835, -0.11179142445325851, -0.23933853209018707, -0.26887246966362, 0.3567120432853699, 0.44894713163375854, 0.08988548070192337, -0.4236651360988617, -0.2038259357213974, -0.26730504631996155, 0.016625171527266502, 0.07070603966712952, 0.06582672894001007, -0.4375031888484955, 0.3955785036087036, 0.16824135184288025, -0.36390578746795654, 0.08993731439113617, 0.025122877210378647, -0.2674989402294159, 0.34672755002975464, -0.4024467468261719, 0.07333136349916458, -0.16610296070575714, -0.42143118381500244, -0.4583597779273987, 0.021127624437212944, -0.07714448869228363, -0.612312912940979, 0.004635171964764595, 0.09462522715330124, -0.03886660560965538, -0.11985578387975693, 0.15739642083644867, 0.1831744909286499, 0.10905145853757858, 0.42454245686531067, 0.03850681707262993, 0.48523038625717163, -0.031320393085479736, 0.11604225635528564, 0.26612210273742676, -0.07733111828565598, 0.0809544026851654, -0.11691362410783768, 0.18416278064250946, 0.34790971875190735, 0.05803512781858444, 0.013039086014032364, 0.4460088610649109, -0.09715767949819565, -0.3077230751514435, -0.41779521107673645, -0.2942601144313812, -0.33908611536026, 0.03843619301915169, 0.07688972353935242, 0.13872624933719635, 0.14260876178741455, -0.11175242066383362, -0.1955072283744812, 0.10393480956554413, -0.13484570384025574, 0.13239607214927673, 0.0413973405957222, 0.20556767284870148, 0.1373997926712036, -0.23928143084049225, 0.2109328806400299, 0.12744146585464478, 0.12974674999713898, -0.2711886465549469, 0.12222445756196976, 0.008342195302248001, -0.028055205941200256, 0.11812890321016312, -0.09118092805147171, 0.8402321934700012, 0.21041759848594666, 0.47314101457595825, -0.05709540471434593, -0.26410800218582153, -0.45127299427986145, 0.01332809031009674, -0.09335406124591827, -0.12992671132087708, 0.4371878206729889, 0.5070154070854187, -0.6098041534423828, 0.13770803809165955, -0.13004450500011444, 0.39963290095329285, -0.1982957422733307, 0.18628408014774323, -0.25910863280296326, 0.0629313588142395, -0.08729491382837296, 0.27745485305786133, 0.08461284637451172, 0.16928793489933014, 0.2534021735191345, 0.07303602993488312, -0.24073155224323273, -0.13934919238090515, -0.15816767513751984, 0.09939250349998474, 0.25228583812713623, 0.1081441268324852, 0.10603967308998108, 0.19210578501224518, 0.32364150881767273, 0.28389284014701843, 0.29864177107810974, 0.1670447438955307, -0.18907049298286438, 0.36255407333374023, 0.040994442999362946, 0.3161177933216095, -0.09713247418403625, 0.009025096893310547, -0.19007882475852966, 0.09680493175983429, 0.18289491534233093, -0.08505021780729294, 0.34335216879844666, -0.15445135533809662, -0.38804522156715393, -0.4007014334201813, -0.48434191942214966, 0.40504178404808044, 0.05486462637782097, 0.001243196427822113, -0.05324786156415939, 0.2228466123342514, -0.16410976648330688, 0.07673859596252441, 0.10023564100265503, 0.8877403140068054, -0.29445236921310425, 0.02149984799325466, -0.610353946685791, -0.4240298271179199, 0.578862190246582, -0.5374845862388611, -0.13856211304664612, -0.11322414875030518, -0.3799065351486206, -0.09016510844230652, -0.18604014813899994, -0.1353902816772461, 0.4047468304634094, 0.18484461307525635, 0.5856125354766846, -0.12372754514217377, 0.24226681888103485, 0.25330448150634766, 0.21966248750686646, 0.1388571709394455, 0.04988011345267296, -0.19760605692863464, -0.01331377774477005, -0.07573777437210083, -0.22148588299751282, 0.0527079775929451, -0.1405661255121231, 0.0037574172019958496, -0.06137143447995186, 0.10939785838127136, 0.3479929566383362, -0.40269172191619873, -0.1125262975692749, -0.14394734799861908, -0.43125176429748535, 0.007568515837192535, 0.2175801694393158, -0.09045679867267609, 0.05114418640732765, -0.30853134393692017, 0.11032257974147797, 0.06801559031009674, -0.12777957320213318, -0.2926073372364044, 0.27321404218673706, -0.3645171523094177, -0.15502560138702393, 0.0939476415514946, 0.20628008246421814, -0.20956869423389435, -0.06009170040488243, 0.056561797857284546, 0.24080412089824677, 0.23913224041461945, 0.06252649426460266, -0.3111773431301117, -0.19755494594573975, 0.15535058081150055, -0.12178017199039459, -0.004818864166736603, 0.07575862109661102, -0.43163803219795227, -0.048541925847530365, 0.17833317816257477, -0.2803342342376709, -0.037935566157102585, 0.29836854338645935, -0.016759704798460007, -0.014499343931674957, 0.3024149239063263, -0.09803269803524017, -0.2479838877916336, -0.024766001850366592, -0.1298336684703827, 0.20692169666290283, -0.012978699058294296, -0.25860777497291565, -0.05027678981423378, 0.2469635158777237, 0.020717648789286613, -0.11136491596698761, 0.06376751512289047, -0.10562988370656967, 0.022179219871759415, -0.6756651401519775, -0.30523356795310974, 0.16030451655387878, -0.08821067214012146, 0.04554394632577896, 0.3048497140407562, -0.18468120694160461, 0.036774642765522, 0.05555366724729538, -0.10199373960494995, 0.5147714018821716, -0.0936647355556488, 0.5474329590797424, 0.27830740809440613, 0.13647761940956116, -0.05608274042606354, 0.12895528972148895, 0.015203965827822685, 0.14199522137641907, 0.026992838829755783, -0.050331637263298035, 0.11412332952022552, 0.20542843639850616, 0.0769171267747879, -0.0032282108440995216, -0.319431334733963, -0.21188686788082123, -0.20494897663593292, 0.10479266196489334, 0.04529184475541115, -0.11604931950569153, 0.31265854835510254, -0.19365109503269196, 0.6944267749786377, 0.004446156322956085, -0.8093796968460083, 0.19703149795532227, -0.1645192801952362, 0.07743160426616669, 0.05024825409054756, 0.1951615810394287, 0.12141461670398712, -0.11760841310024261, -0.3391892910003662, -0.17333313822746277, 0.4685831665992737, -0.09314044564962387, 0.062689408659935, 0.05838848650455475, 0.20416954159736633, 0.42845359444618225, 0.1469186395406723, 0.7256221771240234, -0.08779885619878769, 0.12843182682991028, 0.4869404137134552, 0.07764959335327148, -0.15040074288845062, -0.11540049314498901, 0.20535439252853394, -0.1825922429561615, -0.044896967709064484, 0.1376735270023346, 0.015915658324956894, -0.23578886687755585, -0.3188614249229431, -0.20685142278671265, 0.27172479033470154, 0.31775784492492676, -0.036581993103027344, 0.38079968094825745, 0.043643105775117874, -0.2799608111381531, -0.2406582534313202, 0.49275848269462585, 0.1526627093553543, 0.48006540536880493, -0.03960034251213074, 0.014907128177583218, 0.27811679244041443, -0.129283145070076, -0.33531859517097473, -0.44397419691085815, -0.22521407902240753, 0.6988320350646973, 0.19783028960227966, -0.028757207095623016, -0.28432944416999817, -0.06387162953615189, 0.6721174120903015, -0.257872611284256, -0.02311732806265354, 0.12602677941322327, 0.31491345167160034, 0.0878300815820694, -0.017872491851449013, -0.28838637471199036, -0.24886126816272736, 0.36486536264419556, 0.021287521347403526, -0.13775046169757843, -0.11102904379367828, 0.42242348194122314, 0.10901383310556412, -0.04061365872621536, -0.16843858361244202, 0.29849377274513245, 0.048935819417238235, -0.3856165409088135, 0.32502424716949463, -0.0069895461201667786, -0.11089687049388885, 0.418349027633667, -0.2807909846305847, -0.1778774857521057, -0.021753214299678802, 0.09193676710128784, 0.01263764314353466, 0.3471139967441559, 0.036228008568286896, -0.21462273597717285, -0.05370918661355972, 0.4228771924972534, 0.3694913983345032, 0.29895636439323425, 0.02686380408704281, -0.04126371443271637, 0.05568758398294449, -0.24477823078632355, -0.28777173161506653, -0.5563707947731018, -0.09377504140138626, 0.4458892047405243, -0.21156004071235657, -0.09207043051719666, -0.24564823508262634, -0.2559892237186432, -0.20130959153175354, -0.314298152923584, -0.010370361618697643, 0.1693824827671051, 0.4867626130580902, -0.024926941841840744, -0.05903147533535957, 0.352992445230484, 0.05214313417673111, -0.07786216586828232, -0.2802187502384186, -0.5074623227119446, -0.3132997155189514, 0.17664489150047302, -0.17897990345954895, 0.09458183497190475, 0.40352240204811096, 0.11284863948822021, 0.27488306164741516, 0.22785502672195435, -0.21824337542057037, 0.3823595941066742, -0.024549948051571846, 0.2753915786743164, 0.03533023223280907, -0.14918485283851624, 0.08514571189880371, 0.48454299569129944, -0.10570739209651947, -0.1938931941986084, 0.3327973783016205, -0.06744812428951263, -0.01990039087831974, 0.2923770546913147, -0.337039589881897, -0.0803864449262619, -0.006004117429256439, 0.15081503987312317, -0.029918210580945015, 0.32786864042282104, -0.1537172496318817, 0.18008887767791748, 0.11171246320009232, -0.06970326602458954, -0.09476137906312943, 0.30739831924438477, 0.016264384612441063, -0.24136720597743988, -0.23795261979103088, 0.18580631911754608, -0.21367709338665009, -0.13858109712600708, -0.30012327432632446, 0.033328618854284286, -0.07805249094963074, -0.456566721200943, 0.3282931447029114, -0.05773865059018135, 0.11898158490657806, 0.10736992955207825, -0.2578585147857666, -0.4283212721347809, -0.05276496708393097, -0.08054279536008835, 0.542439341545105, -0.46429768204689026, -0.24495622515678406, -0.10165820270776749, 0.32834354043006897, 0.37695327401161194, 0.3684658110141754, -0.03328382596373558, 0.2568696141242981, 0.5592976808547974, -0.1509348452091217, -0.1824968308210373, -0.06482388079166412, 0.04572424665093422, -0.1988636702299118, -0.05585234984755516, -0.05313335359096527, 0.419668972492218, -0.22552785277366638, -0.3539493978023529, -0.3285970091819763 ]
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
Could you convert the IterableDataset to a Dataset after taking the first 100 rows with `.take`? This way, you would have a local copy of the first 100 rows on your system and thus won't need to download. Would that work? Here is a [SO question](https://stackoverflow.com/questions/76227219/can-i-convert-an-iterabledataset-to-dataset) detailing how to do the conversion.
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more**
52
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more** Could you convert the IterableDataset to a Dataset after taking the first 100 rows with `.take`? This way, you would have a local copy of the first 100 rows on your system and thus won't need to download. Would that work? Here is a [SO question](https://stackoverflow.com/questions/76227219/can-i-convert-an-iterabledataset-to-dataset) detailing how to do the conversion.
[ -0.3464089035987854, -0.17198726534843445, -0.015516072511672974, 0.37606167793273926, 0.17200018465518951, 0.12713468074798584, -0.1642935872077942, 0.5313801169395447, 0.07092872262001038, -0.1027068942785263, -0.08441043645143509, 0.06766224652528763, -0.0369112566113472, 0.3633902668952942, 0.21733328700065613, 0.10096611082553864, -0.0324430838227272, 0.3921677768230438, 0.032088503241539, -0.08750166743993759, -0.23202256858348846, 0.0862957164645195, -0.11040139198303223, -0.06583544611930847, 0.17707546055316925, 0.0830698162317276, -0.1299181878566742, 0.15359513461589813, -0.24622876942157745, -0.2561248242855072, 0.23207415640354156, -0.3764989674091339, 0.3224409818649292, -0.010785669088363647, -0.00012503316975198686, -0.07511242479085922, 0.2823459804058075, -0.27874791622161865, -0.28550398349761963, 0.1333567500114441, -0.08542018383741379, -0.15686117112636566, 0.12137304246425629, -0.4363100230693817, -0.21247029304504395, -0.375274658203125, -0.0035041626542806625, -0.30639487504959106, 0.4007272720336914, 0.32289281487464905, 0.02137630060315132, -0.18123961985111237, 0.12548018991947174, 0.16718077659606934, 0.2995089888572693, -0.166587233543396, 0.0827431008219719, 0.20411841571331024, 0.7395120859146118, 0.08915706723928452, 0.25454556941986084, -0.1524812877178192, 0.02695479430258274, 0.1564645618200302, 0.01206636056303978, 0.01123464573174715, 0.2650325298309326, -0.41865941882133484, 0.40017905831336975, 0.3528696596622467, 0.4875537157058716, 0.01654260978102684, -0.009303580969572067, -0.4632854759693146, -0.029185768216848373, -0.3332238793373108, -0.1221085712313652, 0.5716210007667542, -0.1178654134273529, 0.20545925199985504, -0.23806840181350708, -0.36978915333747864, -0.19697561860084534, 0.23329302668571472, -0.2701740264892578, -0.005887165665626526, -0.13112680613994598, 0.09538789093494415, 0.27953284978866577, -0.07436970621347427, 0.16550886631011963, -0.1434473693370819, 0.0063893720507621765, 0.2583928108215332, -0.08656221628189087, -0.3058036267757416, -0.46066564321517944, 0.177006796002388, 0.3813735544681549, 0.12585142254829407, -0.07473684847354889, 0.1342640519142151, 0.2110784351825714, 0.14923305809497833, 0.5482504367828369, -0.1929747462272644, -0.2566748857498169, 0.01307214517146349, -0.04153071343898773, 0.013511912897229195, 0.06924468278884888, -0.1052413061261177, -0.23067700862884521, 0.06834524869918823, -0.3342610001564026, -0.12845954298973083, 0.009806115180253983, -0.46771204471588135, 0.06494283676147461, -0.14126341044902802, 0.06336508691310883, -0.027640463784337044, 0.09547965973615646, -0.012751936912536621, 0.026293359696865082, 0.22722727060317993, -0.23047269880771637, 0.31268489360809326, -0.00046946853399276733, -0.6170149445533752, -0.0704348161816597, -0.007876163348555565, -0.022656384855508804, 0.014734971337020397, 0.19554325938224792, -0.25895601511001587, 0.17673182487487793, 0.06482886523008347, 0.023160599172115326, -0.019421663135290146, 0.2663247585296631, -0.4720568358898163, 0.054579902440309525, 0.09392555058002472, 0.048644211143255234, 0.05278093367815018, 0.27545109391212463, -0.10780534148216248, -0.2637805640697479, 0.17985251545906067, -0.23953866958618164, -0.2068605124950409, 0.13001711666584015, -0.000013620592653751373, -0.2053571492433548, 0.04061884060502052, -0.7205307483673096, 0.34045830368995667, 0.0026912614703178406, -0.048367273062467575, -0.272288978099823, -0.09511509537696838, -0.1648048460483551, -0.036979153752326965, 0.3702743649482727, 0.3395390510559082, -0.3814693093299866, 0.05990475416183472, -0.01621839590370655, -0.044946637004613876, 0.5843936800956726, 0.285108357667923, -0.3182831406593323, -0.02099185436964035, -0.203862726688385, 0.04730166494846344, 0.4414737820625305, 0.2488831877708435, -0.06257042288780212, 0.6749435663223267, 0.010164961218833923, -0.03474469855427742, -0.06828755885362625, -0.04504324123263359, 0.4328280985355377, -0.07491879165172577, 0.13153375685214996, 0.3936534523963928, -0.1847420483827591, -0.11241127550601959, -0.2885284721851349, -0.3931865394115448, 0.10842210799455643, 0.38307178020477295, 0.16262821853160858, 0.43977487087249756, 0.16303342580795288, -0.07331359386444092, 0.2567799985408783, -0.2218340039253235, 0.2798352539539337, 0.15853403508663177, 0.06398975849151611, 0.2730104625225067, -0.053200703114271164, -0.33163660764694214, -0.3649686872959137, 0.16094103455543518, 0.10370631515979767, -0.6266441941261292, 0.2569328546524048, 0.020833544433116913, -0.20327803492546082, -0.16569550335407257, 0.15032199025154114, 0.10126057267189026, -0.07570862770080566, 0.007746025919914246, 0.0136457160115242, -0.3032921552658081, -0.4794793426990509, 0.12274590879678726, -0.10551903396844864, 0.019391125068068504, -0.3646504580974579, 0.2264135628938675, 0.3216944932937622, -0.025138914585113525, 0.29371383786201477, -0.2473302185535431, 0.25527793169021606, -0.41247180104255676, 0.13358071446418762, 0.20668455958366394, 0.11325189471244812, 0.022530272603034973, 0.22461742162704468, 0.29257744550704956, 0.08313233405351639, -0.12245641648769379, -0.1151365116238594, 0.043479111045598984, 0.11149831861257553, -0.09446191042661667, -0.32015857100486755, 0.21915841102600098, -0.238817498087883, 0.3374847173690796, 0.04077064245939255, -0.04757753759622574, 0.3114668130874634, -0.1979832947254181, -0.03323843330144882, 0.09392072260379791, 0.16709944605827332, 0.023525120690464973, -0.11494097113609314, 0.01792284846305847, -0.3899989128112793, -0.18487820029258728, 0.1391662359237671, -0.12471893429756165, -0.20517593622207642, 0.269897997379303, -0.16693201661109924, -0.09315251559019089, -0.09787581115961075, -0.05931505560874939, 0.03391913324594498, 0.17782993614673615, 0.2766607701778412, 0.05594004690647125, 0.5179712772369385, 0.05754433572292328, 0.11723857372999191, 0.2863576412200928, -0.009259420447051525, 0.093430295586586, -0.08571804314851761, -0.20130875706672668, -0.0919702872633934, 0.1261996477842331, 0.1822691708803177, 0.09045130759477615, -0.12762418389320374, -0.05180886387825012, -0.26192960143089294, -0.029023464769124985, -0.19542288780212402, 0.4329148232936859, 0.03360869735479355, -0.01827336475253105, -0.08340580761432648, 0.3477851450443268, 0.11754496395587921, -0.23583431541919708, -0.47989949584007263, 0.4355211853981018, -0.24860499799251556, -0.42361828684806824, -0.2819631099700928, -0.20131433010101318, -0.2819940149784088, 0.05764768645167351, 0.3525155186653137, 0.0877145454287529, 0.09668375551700592, -0.2201753556728363, -0.1640070378780365, -0.38740426301956177, 0.04443565011024475, 0.01069062203168869, 0.16247093677520752, 0.04224606603384018, 0.01708875596523285, 0.5268120169639587, -0.135003924369812, 0.033383503556251526, -0.04757232591509819, 0.0412512943148613, 0.04782003164291382, -0.011493183672428131, 0.06035004183650017, 0.27205437421798706, 0.16176120936870575, -0.15984219312667847, -0.21086503565311432, -0.21140915155410767, 0.3856526017189026, 0.5705914497375488, 0.030209681019186974, -0.4055901765823364, -0.15607529878616333, -0.1436559408903122, 0.14881204068660736, -0.09106434136629105, 0.033475033938884735, -0.35006752610206604, 0.34688708186149597, 0.16417348384857178, -0.25666943192481995, 0.09965406358242035, -0.04047045111656189, -0.11553305387496948, 0.40452951192855835, -0.49544084072113037, 0.12242629379034042, -0.13531920313835144, -0.3029040992259979, -0.4425355792045593, -0.03866611421108246, 0.05267531797289848, -0.4605252742767334, 0.043543048202991486, 0.08745924383401871, -0.026140056550502777, -0.019578605890274048, 0.22043809294700623, 0.0554543174803257, 0.2641768753528595, 0.44360584020614624, 0.08995963633060455, 0.6876121163368225, 0.10672333836555481, 0.2041996717453003, 0.3150162100791931, -0.07502815872430801, 0.07566919922828674, -0.2721056342124939, 0.07324908673763275, 0.23806314170360565, -0.09173868596553802, -0.07979395985603333, 0.39376431703567505, -0.09436521679162979, -0.39440014958381653, -0.321343332529068, -0.18123939633369446, -0.400596559047699, -0.10359112918376923, 0.10138826817274094, 0.041751179844141006, 0.20718684792518616, 0.021909158676862717, -0.18920034170150757, 0.11909286677837372, -0.12262783199548721, 0.12464328110218048, -0.07305890321731567, 0.2187103033065796, 0.12979812920093536, -0.38292309641838074, 0.20047427713871002, 0.10023903101682663, 0.1337973177433014, -0.3203813433647156, 0.21964120864868164, 0.012292187660932541, -0.1359383761882782, 0.15972551703453064, -0.08750995248556137, 0.9755765795707703, 0.2635776102542877, 0.2514072060585022, 0.022134706377983093, -0.24968013167381287, -0.4052923321723938, 0.01686600223183632, -0.07545319199562073, 0.05532658472657204, 0.31899699568748474, 0.5450007319450378, -0.6038644909858704, 0.1276150643825531, 0.026120558381080627, 0.47044190764427185, -0.14492113888263702, 0.23249103128910065, -0.05403710529208183, -0.06021971255540848, -0.26298457384109497, 0.39289599657058716, 0.19647513329982758, 0.22688239812850952, 0.2382427155971527, 0.08107045292854309, -0.3911435604095459, -0.10539456456899643, -0.15932811796665192, 0.013828650116920471, 0.23031505942344666, 0.09877309948205948, 0.19951441884040833, 0.23197415471076965, 0.25032758712768555, 0.16831272840499878, 0.4753771126270294, 0.1413494497537613, -0.28148287534713745, 0.4028649926185608, -0.006987837143242359, 0.30980172753334045, 0.05002233386039734, -0.01431260909885168, -0.3229737877845764, 0.15884341299533844, 0.11649680882692337, -0.19058211147785187, 0.2699984610080719, -0.14549759030342102, -0.4024633765220642, -0.34046605229377747, -0.47145405411720276, 0.4968072772026062, 0.08257512748241425, 0.04641745984554291, 0.08803857117891312, 0.2891748547554016, -0.09256266802549362, 0.20406308770179749, 0.1634693145751953, 0.9928473234176636, -0.3877231478691101, 0.030703265219926834, -0.5318412184715271, -0.41107070446014404, 0.42668041586875916, -0.4976302981376648, -0.058904148638248444, -0.16341246664524078, -0.3303476870059967, -0.09186708927154541, -0.16065779328346252, -0.14821183681488037, 0.46016591787338257, 0.14540857076644897, 0.4615876376628876, -0.0478387326002121, 0.18931567668914795, 0.22243577241897583, 0.2680473327636719, 0.015962745994329453, -0.06403741240501404, -0.1396157294511795, 0.031335536390542984, -0.023945055902004242, -0.12819217145442963, 0.08615312725305557, -0.11372428387403488, 0.050578366965055466, 0.09218864142894745, 0.0023743435740470886, 0.3034736216068268, -0.3500423729419708, -0.1790039837360382, -0.038884881883859634, -0.37171971797943115, 0.017434444278478622, 0.24411579966545105, 0.11611740291118622, 0.007380932569503784, -0.434480220079422, 0.017013782635331154, 0.12483678013086319, -0.0654817670583725, -0.199443057179451, 0.2016710638999939, -0.2953517436981201, -0.0665615051984787, 0.2715747356414795, 0.1494751125574112, -0.18936371803283691, -0.12229127436876297, -0.033667296171188354, 0.18745949864387512, 0.4009544253349304, -0.15577661991119385, -0.38053417205810547, 0.01960788667201996, 0.20978207886219025, -0.10362376272678375, -0.038174185901880264, 0.056692082434892654, -0.1779356598854065, 0.07136482745409012, -0.007070697844028473, -0.20867927372455597, -0.029645081609487534, 0.36638936400413513, 0.0031320229172706604, -0.07319923490285873, 0.3785024583339691, -0.08024446666240692, -0.2009156197309494, -0.04100736603140831, -0.10984684526920319, 0.14912673830986023, -0.2080075442790985, -0.022587060928344727, -0.09007854759693146, 0.40513455867767334, -0.023525988683104515, -0.0853303074836731, 0.10274335741996765, -0.11226435750722885, 0.02485843375325203, -0.5455489754676819, -0.26965779066085815, 0.17317652702331543, 0.021216347813606262, 0.1793733686208725, 0.4323001503944397, -0.17377962172031403, -0.0209757462143898, -0.10183197259902954, -0.10113653540611267, 0.395732581615448, -0.12556937336921692, 0.4774664044380188, 0.39355745911598206, 0.13088876008987427, -0.11814909428358078, 0.11269930005073547, -0.006264740601181984, 0.17417016625404358, 0.04161839187145233, -0.06738784909248352, 0.08922185003757477, 0.24567532539367676, 0.17322540283203125, -0.06512393057346344, -0.22543619573116302, -0.29231250286102295, -0.3405500054359436, -0.02874753251671791, 0.008717237040400505, -0.1490173041820526, 0.22569264471530914, -0.21455959975719452, 0.767422616481781, -0.05547454208135605, -0.7521674633026123, 0.07521045207977295, -0.12681032717227936, -0.07576848566532135, -0.10347487777471542, 0.2841755747795105, 0.1317954957485199, -0.0971757173538208, -0.2692982256412506, 0.01945284754037857, 0.5622130632400513, -0.1331649124622345, 0.09311285614967346, 0.038637496531009674, 0.2213282287120819, 0.4523600935935974, 0.15801027417182922, 0.8846405148506165, -0.07513445615768433, 0.031127477064728737, 0.5231834053993225, 0.03473743423819542, -0.17047493159770966, -0.17466378211975098, 0.17339308559894562, -0.12025254219770432, -0.12492571771144867, 0.16834796965122223, -0.014029528945684433, -0.23354074358940125, -0.0593990683555603, -0.19875341653823853, 0.39846569299697876, 0.03309723734855652, -0.020205259323120117, 0.44865700602531433, -0.05459389463067055, -0.3017268776893616, -0.22327634692192078, 0.4332766532897949, 0.1188574731349945, 0.5123419165611267, -0.19626685976982117, -0.014271369203925133, 0.32454973459243774, -0.12622469663619995, -0.27465298771858215, -0.4345983862876892, -0.21029411256313324, 0.6203610301017761, 0.3659462630748749, 0.03914409875869751, -0.27046599984169006, -0.10478544980287552, 0.5862622857093811, -0.3551810383796692, -0.014159641228616238, 0.13618868589401245, 0.3508186638355255, 0.1402478963136673, -0.05945201218128204, -0.295120507478714, -0.2755342125892639, 0.3156542181968689, -0.16786015033721924, -0.2363269180059433, -0.14080490171909332, 0.3169991374015808, 0.08440806716680527, -0.22506852447986603, -0.10834728926420212, 0.17026802897453308, -0.0037664026021957397, -0.4357306659221649, 0.23463904857635498, -0.020679131150245667, -0.08366286754608154, 0.2511395514011383, -0.18949677050113678, -0.11507578194141388, 0.1416926085948944, -0.0012399554252624512, 0.037354547530412674, 0.27079570293426514, -0.01909913867712021, -0.12557518482208252, 0.0362686924636364, 0.2023795247077942, 0.33686843514442444, 0.3919956386089325, -0.01164753083139658, 0.02678157389163971, 0.07503575086593628, -0.19804517924785614, -0.27904537320137024, -0.508736789226532, -0.016343727707862854, 0.5438076257705688, -0.22907382249832153, -0.033070214092731476, -0.25225263833999634, -0.06902000308036804, -0.3412880003452301, -0.2994685769081116, -0.14537584781646729, 0.21028786897659302, 0.48531487584114075, -0.021708250045776367, -0.08161914348602295, 0.23663128912448883, 0.1369973123073578, -0.10283667594194412, -0.44928205013275146, -0.39429426193237305, -0.33231425285339355, 0.008975930511951447, -0.16327807307243347, 0.09180505573749542, 0.42439401149749756, 0.25181737542152405, 0.25601691007614136, 0.32097482681274414, -0.37617290019989014, 0.21785782277584076, -0.059946704655885696, 0.4868437349796295, 0.140789195895195, -0.1526881754398346, 0.13727474212646484, 0.36294490098953247, -0.04910072684288025, -0.27113983035087585, 0.3237378001213074, -0.14477743208408356, -0.09401246905326843, 0.30740857124328613, -0.4117651581764221, -0.0037413518875837326, -0.07535113394260406, 0.019795630127191544, -0.028572091832756996, 0.23182998597621918, -0.048854000866413116, 0.26023435592651367, 0.02936578169465065, -0.03801269829273224, -0.1894790083169937, 0.3668730556964874, -0.009100701659917831, -0.24243536591529846, -0.2850472033023834, 0.21748597919940948, -0.16947494447231293, -0.1782074123620987, -0.1168159693479538, 0.20955343544483185, -0.11842729896306992, -0.3265905976295471, 0.1940993070602417, 0.13319776952266693, 0.16464468836784363, 0.0656948834657669, -0.22393938899040222, -0.2076258510351181, -0.1741596907377243, -0.07470540702342987, 0.5708887577056885, -0.36478760838508606, -0.236117884516716, 0.0443415604531765, 0.3130905032157898, 0.38163310289382935, 0.15495236217975616, 0.09109083563089371, 0.11633532494306564, 0.6442992091178894, -0.2820439636707306, -0.010414216667413712, 0.03549785912036896, 0.10847871005535126, -0.21561147272586823, -0.11725674569606781, 0.005909688770771027, 0.3858318626880646, -0.2495945543050766, -0.3489338457584381, -0.4311169385910034 ]
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
I mean, the parquet is like: 00000-0143554 00001-0143554 00002-0143554 ... 00100-0143554 ... 09100-0143554 I just downloaded the first 9900 part of it. I can not load with load_dataset, it throw an error says my file is not same as parquet all amount. How could I load the only I have? ( I really don't want downlaod them all, cause, I don't need all, and pulus, its huge.... ) As I said, I have donwloaded about 9999... It's not about stream... I just wnat to konw how to load offline... part....
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more**
90
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more** I mean, the parquet is like: 00000-0143554 00001-0143554 00002-0143554 ... 00100-0143554 ... 09100-0143554 I just downloaded the first 9900 part of it. I can not load with load_dataset, it throw an error says my file is not same as parquet all amount. How could I load the only I have? ( I really don't want downlaod them all, cause, I don't need all, and pulus, its huge.... ) As I said, I have donwloaded about 9999... It's not about stream... I just wnat to konw how to load offline... part....
[ -0.3257424235343933, -0.32959890365600586, -0.030774660408496857, 0.4810560941696167, 0.2430637925863266, 0.002918832004070282, -0.1105833500623703, 0.35443198680877686, 0.08252911269664764, 0.1265896111726761, -0.07560878992080688, -0.06051463633775711, 0.0817796140909195, 0.46033138036727905, 0.045827846974134445, 0.009520646184682846, -0.057267703115940094, 0.37964916229248047, 0.18075452744960785, -0.12036149203777313, -0.11166755110025406, -0.003267034888267517, -0.14947018027305603, 0.021223530173301697, 0.15509448945522308, 0.1115327849984169, 0.020331794396042824, 0.017690379172563553, -0.3883877396583557, -0.06348586082458496, 0.23697207868099213, -0.3347074091434479, 0.3250105679035187, -0.0006416290998458862, -0.00012242738739587367, -0.11320333927869797, 0.30817896127700806, -0.2833765149116516, -0.24479463696479797, 0.048880159854888916, -0.14679184556007385, -0.22300028800964355, 0.1561422049999237, -0.4474351108074188, -0.18944847583770752, -0.23959240317344666, 0.020961269736289978, -0.11508914083242416, 0.3822307586669922, 0.3094967305660248, 0.0678420215845108, -0.18844959139823914, 0.23582063615322113, 0.12622113525867462, 0.34384769201278687, -0.22807858884334564, 0.15897075831890106, 0.1542457789182663, 0.5002176761627197, -0.038192011415958405, 0.1696893870830536, -0.12825816869735718, 0.028431108221411705, 0.22616203129291534, -0.08077118545770645, -0.016721438616514206, 0.291345477104187, -0.5333547592163086, 0.5168607831001282, 0.4887564182281494, 0.4184470474720001, 0.21669524908065796, 0.04022202640771866, -0.2911470830440521, -0.049658697098493576, -0.39396822452545166, -0.12657368183135986, 0.6433498859405518, -0.16815415024757385, 0.2268393486738205, -0.263729065656662, -0.22738690674304962, -0.20931297540664673, 0.2954578101634979, -0.2471647411584854, 0.03918003290891647, -0.11012227088212967, 0.06244536489248276, 0.19116733968257904, -0.10551416873931885, -0.11574780941009521, -0.13543365895748138, -0.1560656726360321, 0.23191319406032562, -0.16244368255138397, -0.1218118965625763, -0.4839085340499878, 0.12684400379657745, 0.34151384234428406, 0.09963401407003403, 0.01823475956916809, 0.23202717304229736, 0.23136471211910248, 0.10581108927726746, 0.4047575294971466, -0.05548090115189552, -0.15656206011772156, -0.07200562953948975, 0.09258048236370087, 0.11977054178714752, 0.0098133385181427, -0.17209392786026, -0.2669709026813507, 0.08855822682380676, -0.47956427931785583, -0.17877161502838135, -0.15560957789421082, -0.40176641941070557, -0.01588040217757225, -0.22107288241386414, 0.16682472825050354, -0.017552059143781662, 0.09170010685920715, 0.062119532376527786, 0.06596005707979202, 0.45996689796447754, -0.24387666583061218, 0.10122950375080109, -0.06306241452693939, -0.7578185796737671, -0.05276850238442421, -0.003906533122062683, -0.09601083397865295, -0.03680572658777237, 0.08117039501667023, -0.27333933115005493, 0.22169522941112518, 0.04754893109202385, 0.07966306060552597, -0.09450170397758484, 0.24227696657180786, -0.41223853826522827, -0.1462201178073883, 0.07520274817943573, 0.07915849983692169, 0.09789618849754333, 0.18843260407447815, 0.01848577708005905, -0.09277135878801346, 0.1312272548675537, -0.323695570230484, -0.2854238748550415, 0.03701367974281311, 0.07378135621547699, -0.1519753634929657, 0.1749933362007141, -0.7383393049240112, 0.2670440077781677, -0.11850465089082718, -0.06232626363635063, -0.21458151936531067, 0.05916199833154678, -0.18200567364692688, -0.13775506615638733, 0.5329059958457947, 0.20015890896320343, -0.3185778558254242, 0.07565872371196747, 0.03981625661253929, -0.09166382253170013, 0.6043390035629272, 0.23282819986343384, -0.4540769159793854, -0.06164778023958206, -0.17290328443050385, -0.20267057418823242, 0.6633792519569397, 0.24712404608726501, -0.19233468174934387, 0.651504397392273, 0.037413522601127625, -0.2417539656162262, 0.08828270435333252, 0.014207483269274235, 0.4255879819393158, 0.03703441470861435, 0.05737201124429703, 0.42169010639190674, -0.01953740231692791, -0.0012750383466482162, -0.30394047498703003, -0.38639554381370544, 0.11996017396450043, 0.30893436074256897, 0.09139002859592438, 0.3268367648124695, 0.3187069892883301, -0.10483743250370026, 0.2904774844646454, -0.09122361242771149, 0.21285681426525116, 0.1815291792154312, 0.06927262991666794, 0.33827126026153564, -0.049837686121463776, -0.2909861207008362, -0.38582056760787964, 0.1856936514377594, 0.04459109902381897, -0.6014483571052551, 0.24281474947929382, 0.1204601377248764, -0.11951307952404022, -0.33045244216918945, 0.1804458498954773, -0.03460972383618355, -0.03345206379890442, 0.046205855906009674, 0.016299091279506683, -0.35151877999305725, -0.3829432725906372, 0.11090581864118576, 0.0938493013381958, 0.04002493619918823, -0.3057295083999634, 0.25449684262275696, 0.19916851818561554, 0.05154722183942795, 0.24739289283752441, -0.4145636558532715, 0.25438448786735535, -0.2126881629228592, 0.014515215530991554, 0.24545538425445557, 0.11544173210859299, 0.029878489673137665, 0.2950609624385834, 0.14414113759994507, 0.05767130106687546, -0.1936580240726471, -0.028590911999344826, 0.0861106663942337, 0.11975453794002533, -0.009155813604593277, -0.17119106650352478, 0.18072295188903809, 0.07096866518259048, 0.22961503267288208, 0.020695582032203674, -0.15149414539337158, 0.26709458231925964, -0.13359275460243225, 0.093089759349823, 0.11398909986019135, 0.3515612483024597, 0.2226848155260086, -0.05721138417720795, 0.11462308466434479, -0.3873266279697418, -0.24716880917549133, 0.13089771568775177, -0.12393733859062195, -0.16225919127464294, 0.2400723695755005, -0.1791059970855713, -0.11446407437324524, -0.17632408440113068, -0.06807754933834076, -0.010764092206954956, 0.20384569466114044, 0.16998977959156036, 0.08860533684492111, 0.6097251772880554, -0.02796839363873005, 0.08836687356233597, 0.22642989456653595, -0.0636165663599968, 0.03270608186721802, 0.022882726043462753, -0.15421368181705475, -0.012915143743157387, 0.2549058794975281, 0.281808465719223, 0.08153047412633896, -0.14921726286411285, -0.0477718859910965, -0.2115093618631363, 0.019587263464927673, -0.13046032190322876, 0.2848234176635742, -0.16403728723526, 0.11047777533531189, -0.030505388975143433, 0.21069106459617615, 0.14402887225151062, -0.147491917014122, -0.4642500877380371, 0.32230687141418457, -0.1247611790895462, -0.34073206782341003, -0.17940956354141235, -0.23037691414356232, -0.24107253551483154, 0.04739449545741081, 0.24236206710338593, 0.32240161299705505, 0.03264101222157478, -0.07086299359798431, -0.18309490382671356, -0.3207804560661316, -0.08137780427932739, -0.12118104100227356, 0.2021753340959549, 0.059610478579998016, 0.02989257127046585, 0.4958689212799072, -0.04359200969338417, 0.04115082323551178, 0.05955646187067032, -0.06625206768512726, -0.03950434923171997, 0.056106582283973694, 0.06977778673171997, 0.4803583323955536, 0.017749618738889694, -0.21352484822273254, -0.226026713848114, -0.31587228178977966, 0.40721994638442993, 0.42242956161499023, 0.109901562333107, -0.43185457587242126, -0.18827152252197266, -0.28621208667755127, 0.05334288999438286, 0.08236570656299591, 0.02169894240796566, -0.4859285354614258, 0.31508296728134155, 0.18928243219852448, -0.3388781249523163, 0.1909857988357544, 0.011181887239217758, -0.1846567988395691, 0.3774820566177368, -0.4872562885284424, 0.08842653036117554, -0.12369179725646973, -0.38337966799736023, -0.4022606909275055, 0.018144827336072922, 0.0007364153861999512, -0.6231661438941956, 0.026662738993763924, 0.10455315560102463, 0.0342165008187294, -0.10092567652463913, 0.06157614663243294, 0.24543875455856323, 0.08138567209243774, 0.45356395840644836, 0.03508387878537178, 0.47617775201797485, -0.09927722811698914, 0.17180639505386353, 0.27198925614356995, -0.0176843348890543, 0.07887968420982361, -0.24083712697029114, 0.15470804274082184, 0.25673726201057434, 0.09379711747169495, -0.025177573785185814, 0.4539993405342102, -0.015511438250541687, -0.2528185546398163, -0.4901697039604187, -0.31053870916366577, -0.37339574098587036, 0.006183139979839325, 0.018338806927204132, 0.1442621499300003, 0.08330582827329636, -0.10190534591674805, -0.13554391264915466, 0.1339011937379837, -0.16376489400863647, 0.07802714407444, 0.025926664471626282, 0.11442060768604279, 0.14368249475955963, -0.2948724329471588, 0.3209594190120697, 0.20117083191871643, 0.22118377685546875, -0.34972211718559265, 0.14335042238235474, 0.0766763985157013, -0.04335084185004234, 0.1202034056186676, -0.08608873188495636, 0.7678964138031006, 0.2832832634449005, 0.47741949558258057, -0.10548844933509827, -0.23777459561824799, -0.45549941062927246, -0.03227877989411354, -0.10081876814365387, -0.23777896165847778, 0.4472772479057312, 0.4882808029651642, -0.5864805579185486, 0.12716540694236755, -0.1257975995540619, 0.4082018733024597, -0.19838815927505493, 0.037189796566963196, -0.25122806429862976, -0.025720341131091118, -0.21297837793827057, 0.14848142862319946, -0.003338756039738655, 0.1503390669822693, 0.2119978368282318, 0.08093492686748505, -0.22703856229782104, -0.10289490222930908, -0.17528076469898224, -0.015765385702252388, 0.20071861147880554, 0.09317175298929214, 0.10290117561817169, 0.1531362235546112, 0.43332940340042114, 0.35648930072784424, 0.331729531288147, 0.112281933426857, -0.25470051169395447, 0.3563406765460968, 0.020920172333717346, 0.21402820944786072, -0.08945111930370331, 0.01609152927994728, -0.2283860445022583, 0.15448743104934692, 0.23507429659366608, -0.074894480407238, 0.33880454301834106, -0.21340861916542053, -0.362344890832901, -0.3393937349319458, -0.47608205676078796, 0.450879842042923, 0.05347427353262901, 0.009121939539909363, -0.041419751942157745, 0.15912564098834991, -0.2035607099533081, 0.11640115827322006, 0.08454934507608414, 0.9618239998817444, -0.2652602791786194, 0.01822267845273018, -0.5918075442314148, -0.37470942735671997, 0.5635185241699219, -0.5436168313026428, -0.0915873572230339, -0.13198363780975342, -0.3942040503025055, -0.0920615941286087, -0.12954658269882202, -0.11433721333742142, 0.471443772315979, 0.21962562203407288, 0.6402521133422852, -0.11239246279001236, 0.25731831789016724, 0.19805128872394562, 0.20481428503990173, 0.12504352629184723, 0.06305092573165894, -0.30246657133102417, -0.015456799417734146, -0.05262038856744766, -0.10518831014633179, 0.030486151576042175, -0.17925256490707397, 0.045551981776952744, -0.07126656174659729, 0.16894282400608063, 0.35354211926460266, -0.43632516264915466, -0.061696700751781464, -0.20842362940311432, -0.32536590099334717, -0.03252015635371208, 0.22335147857666016, -0.029107674956321716, 0.03227474167943001, -0.33208081126213074, 0.03240089491009712, 0.15511032938957214, -0.1521981656551361, -0.2761957347393036, 0.28553035855293274, -0.30546101927757263, -0.18096593022346497, 0.0812126025557518, 0.15136131644248962, -0.17779408395290375, -0.030150985345244408, 0.049570828676223755, 0.17596569657325745, 0.2240726351737976, -0.03256071358919144, -0.2637649476528168, -0.18945029377937317, 0.1687333881855011, -0.03564735874533653, 0.0017020292580127716, 0.06921739876270294, -0.416023313999176, -0.0698789581656456, 0.16638390719890594, -0.2719171643257141, -0.07994484901428223, 0.3111512064933777, -0.026271536946296692, -0.13499274849891663, 0.29053795337677, -0.016769524663686752, -0.20261603593826294, -0.03527062386274338, -0.047091271728277206, 0.17252928018569946, -0.0212702713906765, -0.21357931196689606, 0.03612885624170303, 0.3290679454803467, 0.14658036828041077, -0.03731655701994896, 0.09650154411792755, -0.051564328372478485, 0.10289156436920166, -0.6643271446228027, -0.4238269031047821, 0.1659451127052307, -0.03767115995287895, 0.051373329013586044, 0.33598336577415466, -0.24690674245357513, 0.10148121416568756, 0.04050068557262421, -0.12882494926452637, 0.5058213472366333, -0.05711369216442108, 0.5351307988166809, 0.31797945499420166, 0.09961198270320892, -0.023556776344776154, 0.11546173691749573, 0.031353868544101715, 0.14655379951000214, -0.06599599868059158, -0.05977996438741684, 0.17733263969421387, 0.22047710418701172, 0.07120303809642792, -0.06108388304710388, -0.33694061636924744, -0.3245115876197815, -0.2320692539215088, 0.021123986691236496, 0.06456613540649414, -0.09982892125844955, 0.3009839653968811, -0.22516649961471558, 0.7396475076675415, 0.04520956799387932, -0.8186911940574646, 0.19639353454113007, -0.17176377773284912, 0.09569454938173294, 0.05203303322196007, 0.12256166338920593, 0.08590427786111832, -0.06872820854187012, -0.3254305422306061, -0.18029791116714478, 0.42674046754837036, -0.019817590713500977, 0.15326392650604248, -0.002579793334007263, 0.17059361934661865, 0.42040786147117615, 0.1801876425743103, 0.5699338912963867, -0.07691455632448196, 0.13071785867214203, 0.4537683129310608, 0.10202523320913315, -0.2188097983598709, -0.017799455672502518, 0.2509882152080536, -0.10310415923595428, -0.0623030848801136, 0.10088139772415161, -0.010352522134780884, -0.2509923577308655, -0.36009013652801514, -0.1256440281867981, 0.31312569975852966, 0.22890743613243103, 0.04037173464894295, 0.35273632407188416, -0.031390801072120667, -0.29910242557525635, -0.278218537569046, 0.4407801032066345, 0.10674256086349487, 0.42161446809768677, -0.15148857235908508, 0.007415942847728729, 0.30589759349823, -0.09894907474517822, -0.3119686543941498, -0.46196988224983215, -0.1867714524269104, 0.7826231718063354, 0.19314062595367432, -0.0788646712899208, -0.29597559571266174, -0.08523962646722794, 0.6286140084266663, -0.20711909234523773, 0.031044932082295418, 0.1706753522157669, 0.29209721088409424, 0.2146199345588684, -0.16334067285060883, -0.2653617262840271, -0.21749980747699738, 0.32570022344589233, 0.03499303758144379, -0.16611842811107635, -0.0717804878950119, 0.4212709069252014, 0.008618459105491638, -0.04421465843915939, -0.21209067106246948, 0.3922661244869232, 0.06717897206544876, -0.3877813518047333, 0.313437819480896, 0.07804214209318161, -0.1082940399646759, 0.4132440388202667, -0.2751525938510895, -0.12133358418941498, 0.0856616199016571, 0.06476959586143494, 0.05314325913786888, 0.3814011514186859, 0.02652079425752163, -0.20837301015853882, -0.11177203059196472, 0.38404029607772827, 0.4507315158843994, 0.26954421401023865, 0.0266378503292799, -0.05723971500992775, 0.06709716469049454, -0.12539584934711456, -0.18535040318965912, -0.5586889982223511, -0.0495961531996727, 0.47415784001350403, -0.23738467693328857, -0.10056352615356445, -0.2338027060031891, -0.2187708020210266, -0.24343188107013702, -0.27237817645072937, 0.024635212495923042, 0.18597853183746338, 0.4591074585914612, -0.021877247840166092, -0.10119247436523438, 0.2993127703666687, 0.13615864515304565, -0.05506117641925812, -0.28979313373565674, -0.471000075340271, -0.3542652726173401, 0.14245787262916565, -0.20283368229866028, 0.08577810227870941, 0.30549556016921997, 0.1307448297739029, 0.3299449682235718, 0.2878236174583435, -0.18219153583049774, 0.41397982835769653, 0.03044004738330841, 0.2554502487182617, 0.01385851576924324, -0.13902580738067627, 0.03289256989955902, 0.4347386360168457, -0.057154372334480286, -0.24174898862838745, 0.2604992687702179, -0.015241006389260292, -0.02732752077281475, 0.3310489058494568, -0.19467657804489136, -0.07447484135627747, -0.0026151947677135468, 0.08329711854457855, -0.05333086848258972, 0.36136746406555176, -0.09517529606819153, 0.16859975457191467, 0.16253145039081573, -0.02559182234108448, -0.0649518370628357, 0.3380484879016876, 0.0755612701177597, -0.23092985153198242, -0.23525512218475342, 0.11310626566410065, -0.2466799020767212, -0.08340425789356232, -0.3244766592979431, -0.007784579880535603, -0.14727544784545898, -0.48321905732154846, 0.3461526334285736, -0.08245155215263367, 0.060625914484262466, 0.004033233970403671, -0.209798663854599, -0.3932857811450958, -0.08086410164833069, -0.12576168775558472, 0.5477099418640137, -0.3479042053222656, -0.16716773808002472, -0.11786991357803345, 0.3841816782951355, 0.35367968678474426, 0.35258057713508606, -0.11534960567951202, 0.2892346680164337, 0.6204427480697632, -0.1594802439212799, -0.10227300226688385, 0.004674825817346573, -0.034138023853302, -0.17746810615062714, -0.023385312408208847, -0.020562902092933655, 0.3803086578845978, -0.2684721052646637, -0.34941619634628296, -0.3359682559967041 ]
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
Hi, @lucasjinreal. I am not sure of understanding your issue. What is the error message and stack trace you get? What version of `datasets` are you using? Could you provide a reproducible example? Without knowing all those details, I would naively say that you can load whatever number of Parquet files by using the "parquet" loader: https://huggingface.co/docs/datasets/loading#parquet ```python ds = load_dataset("parquet", data_files="data/train-001*-of-00314.parquet", split="train") ```
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more**
64
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more** Hi, @lucasjinreal. I am not sure of understanding your issue. What is the error message and stack trace you get? What version of `datasets` are you using? Could you provide a reproducible example? Without knowing all those details, I would naively say that you can load whatever number of Parquet files by using the "parquet" loader: https://huggingface.co/docs/datasets/loading#parquet ```python ds = load_dataset("parquet", data_files="data/train-001*-of-00314.parquet", split="train") ```
[ -0.20429030060768127, -0.4056858420372009, 0.012842480093240738, 0.5306616425514221, 0.3009801506996155, 0.012048207223415375, -0.1548215001821518, 0.49277055263519287, 0.1744457334280014, 0.10451056063175201, -0.11520453542470932, 0.005548469722270966, -0.024647079408168793, 0.37557753920555115, 0.0963752344250679, -0.05941183865070343, -0.08441958576440811, 0.31193965673446655, 0.14806832373142242, -0.11737054586410522, -0.25627630949020386, -0.0282630305737257, -0.0945105105638504, 0.050582170486450195, 0.04376879334449768, 0.21024425327777863, -0.05848448723554611, 0.10969598591327667, -0.2712625563144684, -0.14726471900939941, 0.2839982509613037, -0.35971134901046753, 0.2441907823085785, 0.04483494907617569, -0.00012340159446466714, -0.07225364446640015, 0.45698219537734985, -0.25357547402381897, -0.2476385533809662, -0.05796900391578674, -0.05736805498600006, -0.3680170476436615, 0.22100073099136353, -0.39211276173591614, -0.21512359380722046, -0.3029189109802246, -0.03141115605831146, -0.12610392272472382, 0.4584406018257141, 0.33620354533195496, 0.07280002534389496, -0.06338346004486084, 0.3115469813346863, 0.20727111399173737, 0.3848170340061188, -0.254963755607605, 0.1885729432106018, 0.12028676271438599, 0.6455916166305542, -0.015866052359342575, 0.2620546817779541, -0.06264129281044006, 0.04719384014606476, 0.2643141746520996, -0.05268212407827377, 0.036506909877061844, 0.2245386242866516, -0.618510365486145, 0.47833582758903503, 0.5152281522750854, 0.4227615296840668, 0.11290993541479111, -0.07471424341201782, -0.3401218354701996, -0.07553232461214066, -0.38041549921035767, -0.04955405741930008, 0.6571541428565979, -0.14887896180152893, 0.06911658495664597, -0.2583395838737488, -0.22218161821365356, -0.15007710456848145, 0.2863718569278717, -0.3221803903579712, 0.04610259458422661, -0.09235362708568573, 0.1451570689678192, 0.2278856784105301, -0.15710385143756866, -0.12879174947738647, -0.06757695227861404, -0.0036578625440597534, 0.35658949613571167, -0.3348929286003113, -0.16443295776844025, -0.3493897020816803, 0.19218809902668, 0.377536416053772, 0.15870893001556396, -0.16526341438293457, 0.22567668557167053, 0.15638534724712372, 0.1617041528224945, 0.4234625995159149, -0.18169142305850983, -0.18879443407058716, 0.07047909498214722, 0.09152001887559891, 0.030416550114750862, 0.05135336145758629, -0.10966246575117111, -0.24108923971652985, -0.04771450534462929, -0.5140296220779419, -0.18306735157966614, -0.022351309657096863, -0.3538198471069336, -0.028418757021427155, -0.11706876009702682, 0.1008443608880043, 0.0019358065910637379, 0.06714098155498505, 0.002804376184940338, 0.009326747618615627, 0.3358386158943176, -0.25323688983917236, 0.24568939208984375, -0.18915432691574097, -0.5896635055541992, -0.09002406895160675, 0.02049039863049984, -0.08887799829244614, -0.1733706295490265, 0.16901899874210358, -0.26425987482070923, 0.20577266812324524, 0.20064207911491394, 0.1385771632194519, -0.12377340346574783, 0.1763199418783188, -0.42366084456443787, -0.2276795506477356, 0.14368832111358643, 0.09750860929489136, 0.23950742185115814, 0.3531601130962372, 0.024625346064567566, -0.17092108726501465, 0.07229581475257874, -0.4076717793941498, -0.29123830795288086, 0.0157848559319973, 0.043021705001592636, -0.16297094523906708, 0.1805439442396164, -0.7187352776527405, 0.31069549918174744, -0.08764692395925522, 0.178971067070961, -0.2616431415081024, -0.029102347791194916, -0.26387152075767517, -0.12434664368629456, 0.4488341510295868, 0.3039981722831726, -0.2680072486400604, -0.01783452183008194, 0.1110580638051033, -0.06339076161384583, 0.5500050187110901, 0.34128043055534363, -0.4598222076892853, -0.183517187833786, -0.15021371841430664, -0.1147167980670929, 0.4272635579109192, 0.13616302609443665, -0.04407615214586258, 0.5089724659919739, 0.039367251098155975, -0.18097323179244995, 0.025189392268657684, -0.15513107180595398, 0.3646637499332428, -0.02688472531735897, 0.15384654700756073, 0.43819528818130493, 0.026846129447221756, -0.03574809432029724, -0.26067888736724854, -0.37752294540405273, 0.25517845153808594, 0.38144204020500183, 0.1671757996082306, 0.21700304746627808, 0.15297240018844604, -0.20467017590999603, 0.2571371793746948, -0.18902184069156647, 0.24882066249847412, 0.27507829666137695, 0.09767071902751923, 0.46596550941467285, -0.06165661662817001, -0.2919178307056427, -0.3142636716365814, 0.3122173249721527, 0.06049775332212448, -0.509649395942688, 0.2118104249238968, 0.21934814751148224, -0.07309584319591522, -0.25706401467323303, 0.14367754757404327, 0.029905326664447784, -0.028379375115036964, -0.005001448094844818, 0.06581993401050568, -0.2367365062236786, -0.35828667879104614, 0.1583721935749054, 0.001112503930926323, 0.18301674723625183, -0.2581712305545807, 0.3138309121131897, 0.2229214757680893, -0.04085478559136391, 0.31884610652923584, -0.3183209300041199, 0.3966929316520691, -0.23727257549762726, 0.1318296194076538, 0.22461897134780884, 0.18740591406822205, -0.03821885585784912, 0.1552828848361969, 0.11420159786939621, 0.12819328904151917, -0.08255470544099808, -0.053053006529808044, 0.13096804916858673, 0.13814836740493774, 0.024324551224708557, -0.1317603886127472, 0.23242318630218506, 0.03441285341978073, 0.3453751504421234, -0.009701691567897797, -0.04159429296851158, 0.2072172313928604, -0.16575394570827484, 0.09050653874874115, 0.20562633872032166, 0.40197107195854187, 0.12448601424694061, -0.142607182264328, 0.04808157682418823, -0.4630843698978424, -0.2721436619758606, 0.017304599285125732, -0.11237956583499908, -0.1996968388557434, 0.3243524134159088, -0.18231159448623657, -0.07303562760353088, -0.2047726809978485, -0.07343129068613052, -0.022656723856925964, 0.21311962604522705, 0.12472592294216156, -0.02515103854238987, 0.5300309062004089, 0.10190530866384506, 0.1270626038312912, 0.33273428678512573, -0.22002819180488586, 0.020751595497131348, -0.029477769508957863, -0.1769757717847824, -0.04342801496386528, 0.24484002590179443, 0.21909254789352417, 0.14373528957366943, -0.21380764245986938, -0.05271631479263306, -0.2518530786037445, 0.0019174888730049133, -0.1937229484319687, 0.28741955757141113, -0.1165117472410202, 0.0566970556974411, -0.08025625348091125, 0.12450528144836426, 0.16493076086044312, -0.1626858413219452, -0.4130014479160309, 0.20031285285949707, -0.19298167526721954, -0.24718786776065826, -0.19167140126228333, -0.08706267923116684, -0.2818567454814911, 0.025078143924474716, 0.1977178156375885, 0.2698003947734833, 0.036490727216005325, -0.19850559532642365, -0.15277375280857086, -0.3417147994041443, -0.0889434665441513, -0.08698554337024689, 0.017094101756811142, 0.06725834310054779, 0.05583222582936287, 0.5066498517990112, -0.048451658338308334, -0.020549964159727097, 0.1006825864315033, -0.02799118496477604, 0.024521438404917717, 0.07928428798913956, 0.07608988881111145, 0.4621911644935608, 0.04047395661473274, -0.1063179299235344, -0.2322203367948532, -0.29175275564193726, 0.3922543525695801, 0.5039920210838318, 0.057185787707567215, -0.43009862303733826, -0.14067639410495758, -0.30635184049606323, 0.012031709775328636, 0.04533059149980545, 0.08849358558654785, -0.3537512719631195, 0.35057517886161804, 0.22569511830806732, -0.3089025020599365, 0.18445104360580444, 0.04485595226287842, -0.27500680088996887, 0.29789239168167114, -0.36979401111602783, -0.03312833607196808, -0.2713659405708313, -0.3397148847579956, -0.45241785049438477, 0.2125454694032669, -0.07555481791496277, -0.5569011569023132, 0.03154539316892624, 0.09353131800889969, -0.17161574959754944, -0.1755392849445343, 0.09838853776454926, 0.13916411995887756, 0.1120474711060524, 0.4269079267978668, -0.004495423287153244, 0.5396876931190491, 0.06997552514076233, 0.13024960458278656, 0.2475893795490265, -0.04821380227804184, 0.15268617868423462, -0.1743343472480774, 0.05246108025312424, 0.2876887321472168, -0.00028195977210998535, 0.125595360994339, 0.423308789730072, 0.006517380475997925, -0.2334088683128357, -0.3691842555999756, -0.24683764576911926, -0.33969947695732117, -0.1320754885673523, 0.004277218133211136, 0.12156786024570465, 0.11112125217914581, -0.09235323965549469, -0.18456140160560608, 0.07348830997943878, -0.07515938580036163, 0.07564876973628998, 0.06389452517032623, 0.11177068948745728, 0.16689327359199524, -0.30316606163978577, 0.3100607097148895, 0.07376700639724731, 0.21669526398181915, -0.326614111661911, 0.14776507019996643, 0.052891675382852554, -0.018380774185061455, 0.2525653839111328, 0.01740005426108837, 0.8893339037895203, 0.22355161607265472, 0.42199134826660156, -0.04699862003326416, -0.37714633345603943, -0.5711728930473328, -0.02538204938173294, -0.12759798765182495, -0.028596743941307068, 0.3927529454231262, 0.49501487612724304, -0.6377739310264587, -0.0006214240565896034, -0.12088128924369812, 0.4586032032966614, -0.08924753218889236, 0.14936617016792297, -0.24168728291988373, -0.028445295989513397, -0.24459628760814667, 0.22918549180030823, 0.16524550318717957, 0.24468417465686798, 0.17777052521705627, 0.17688751220703125, -0.30452850461006165, -0.14140698313713074, -0.1096789538860321, -0.11652864515781403, 0.30045899748802185, 0.11946231871843338, 0.18936823308467865, 0.2791992425918579, 0.2419753074645996, 0.3045121133327484, 0.417076051235199, -0.013534296303987503, -0.3952033817768097, 0.23055264353752136, 0.08138056844472885, 0.2168179154396057, -0.010696008801460266, 0.039432547986507416, -0.10799812525510788, -0.036035723984241486, 0.22987951338291168, -0.06494639813899994, 0.36463114619255066, -0.03348714858293533, -0.2971073389053345, -0.3861362040042877, -0.5570151805877686, 0.3796252906322479, 0.07518571615219116, 0.038801804184913635, 0.012887682765722275, 0.33428317308425903, -0.15603531897068024, 0.0646151527762413, 0.04758286103606224, 0.8474516868591309, -0.30382639169692993, 0.04588235169649124, -0.5700826644897461, -0.443884015083313, 0.5811231136322021, -0.5156744718551636, -0.14677757024765015, -0.2171224057674408, -0.3233497440814972, -0.03615192323923111, -0.14062300324440002, -0.1907559633255005, 0.3358542323112488, 0.25413385033607483, 0.6332088708877563, -0.2061702460050583, 0.1459091603755951, 0.2295641154050827, 0.2133515477180481, 0.05767899751663208, 0.01283970382064581, -0.30924805998802185, 0.023295849561691284, -0.11227414011955261, -0.035584840923547745, 0.10808001458644867, -0.20371033251285553, 0.03012484684586525, -0.13116219639778137, 0.04098978638648987, 0.256287157535553, -0.46474719047546387, -0.08069298416376114, 0.030020099133253098, -0.39875882863998413, 0.1307002156972885, 0.22865058481693268, 0.030047990381717682, 0.17116022109985352, -0.35648348927497864, 0.0013744384050369263, 0.04003618657588959, -0.18429860472679138, -0.3166482150554657, 0.21646125614643097, -0.35746386647224426, -0.0885544866323471, 0.10113685578107834, 0.08848194777965546, -0.16263926029205322, -0.039262641221284866, -0.02261483669281006, 0.376173734664917, 0.2275087535381317, -0.009318932890892029, -0.2794540524482727, -0.2375907599925995, 0.2466575801372528, -0.10876265168190002, 0.0008755754679441452, 0.16891959309577942, -0.3530339300632477, -0.0020113810896873474, 0.09430354833602905, -0.2466447353363037, -0.01731591299176216, 0.2533155083656311, -0.006065383553504944, -0.04626395180821419, 0.3131290674209595, 0.042646992951631546, -0.2336714267730713, -0.029281172901391983, -0.124083012342453, 0.20561856031417847, -0.10686616599559784, -0.07554425299167633, 0.06298710405826569, 0.4336293935775757, -0.026787059381604195, -0.03132883831858635, 0.04162582755088806, -0.14691704511642456, 0.15740540623664856, -0.6777955889701843, -0.3270430862903595, 0.17049530148506165, -0.07803475856781006, 0.0799560472369194, 0.30677512288093567, -0.13876092433929443, 0.06686317175626755, -0.04506414383649826, -0.12436071038246155, 0.5837964415550232, -0.13185466825962067, 0.4585321545600891, 0.38704875111579895, 0.047810524702072144, -0.06958570331335068, 0.18184037506580353, 0.0010103210806846619, 0.0793784111738205, -0.050176531076431274, -0.07698284089565277, 0.06651097536087036, 0.18544568121433258, 0.06460513919591904, -0.12112965434789658, -0.2258850485086441, -0.2619982957839966, -0.14470192790031433, 0.05240118131041527, 0.06169033423066139, 0.03184909373521805, 0.198126882314682, -0.15754260122776031, 0.654762864112854, -0.012945950031280518, -0.6983363628387451, 0.21350058913230896, -0.1957613229751587, -0.003586500883102417, 0.10775229334831238, 0.13217395544052124, 0.14344246685504913, -0.0588555708527565, -0.29288771748542786, -0.10485606640577316, 0.3484140634536743, -0.0697382465004921, 0.06927481293678284, -0.05426015704870224, 0.17761585116386414, 0.4120321273803711, 0.24904924631118774, 0.7127720713615417, -0.14779219031333923, 0.15847980976104736, 0.4678761065006256, 0.08557047694921494, -0.1401572972536087, -0.19126205146312714, 0.26372015476226807, -0.04810304939746857, -0.009758781641721725, 0.18866798281669617, 0.06376175582408905, -0.286618173122406, -0.32226234674453735, -0.14522749185562134, 0.31446602940559387, 0.27947723865509033, 0.03518427163362503, 0.4142940938472748, -0.07835270464420319, -0.3986062705516815, -0.1434307098388672, 0.4666474461555481, 0.10035472363233566, 0.4478874206542969, -0.07585155218839645, -0.03374944627285004, 0.1847970187664032, -0.22475939989089966, -0.27117136120796204, -0.48295721411705017, -0.11540612578392029, 0.6297948360443115, 0.2032223492860794, -0.14309489727020264, -0.4064124524593353, 0.1030125766992569, 0.5613696575164795, -0.23653505742549896, 0.0017379466444253922, 0.2034820169210434, 0.2773234248161316, 0.0627899318933487, 0.06757955253124237, -0.2970800995826721, -0.2637757658958435, 0.39095014333724976, -0.02951965108513832, -0.26876944303512573, -0.07876269519329071, 0.32451117038726807, 0.006591275334358215, -0.20830664038658142, -0.16871187090873718, 0.3815697133541107, 0.014270283281803131, -0.37786009907722473, 0.2259223312139511, 0.020884327590465546, -0.16251470148563385, 0.37510135769844055, -0.25768962502479553, 0.09351146221160889, 0.06768667697906494, -0.013556644320487976, -0.02362368255853653, 0.3227240741252899, 0.08056113123893738, -0.14126518368721008, -0.018942661583423615, 0.24015749990940094, 0.3386843800544739, 0.3648178279399872, 0.010747453197836876, -0.07566826045513153, -0.05423359200358391, -0.268139511346817, -0.180457204580307, -0.5832450985908508, -0.027418486773967743, 0.3941175937652588, -0.1321047991514206, -0.20228293538093567, -0.2537042498588562, -0.22891005873680115, -0.2908066511154175, -0.18329060077667236, 0.07095678895711899, 0.16287490725517273, 0.4417991042137146, -0.02027878724038601, -0.1614903211593628, 0.31659644842147827, 0.15131229162216187, -0.06885228306055069, -0.42417803406715393, -0.4026755094528198, -0.26577097177505493, 0.046893276274204254, -0.30544230341911316, 0.045607611536979675, 0.4259525537490845, 0.05901612341403961, 0.21012336015701294, 0.24465452134609222, -0.2550159692764282, 0.3935483396053314, 0.05492866784334183, 0.3503163456916809, -0.03083110600709915, -0.09481346607208252, 0.04320085048675537, 0.37703022360801697, -0.012683949433267117, -0.1697499305009842, 0.2524559199810028, -0.15879330039024353, -0.02384764514863491, 0.16498525440692902, -0.17374996840953827, -0.08605971932411194, -0.07923071086406708, 0.037496984004974365, 0.04171856492757797, 0.39770397543907166, 0.009616777300834656, 0.11918642371892929, -0.0002547614276409149, -0.11693792790174484, -0.20709817111492157, 0.307107537984848, 0.007517216727137566, -0.2033267468214035, -0.23989923298358917, 0.03883437067270279, -0.2367883175611496, -0.02369743399322033, -0.1920815110206604, 0.13098594546318054, -0.05760340392589569, -0.3784558176994324, 0.31375575065612793, -0.07334117591381073, 0.1340041309595108, 0.11828701943159103, -0.20242559909820557, -0.28479713201522827, -0.08999542891979218, -0.19417166709899902, 0.5694968700408936, -0.4715712368488312, -0.3485126793384552, -0.19580966234207153, 0.32474014163017273, 0.313687801361084, 0.22393068671226501, -0.0926133319735527, 0.2721651494503021, 0.551087498664856, -0.11811428517103195, -0.2516963481903076, 0.09178584814071655, -0.013789335265755653, -0.2686619758605957, 0.03455578163266182, -0.06292495131492615, 0.42618826031684875, -0.15508830547332764, -0.2322893887758255, -0.32376551628112793 ]
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
@albertvillanova Not sure you have tested with this or not, but I have tried, the only error I got is it still laodding all parquet with a progress bar maxium to the whole number 014354, and it loads my 0 - 000999 part, then throws an error. Says Numinfo is not same. I am so confused,
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more**
56
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more** @albertvillanova Not sure you have tested with this or not, but I have tried, the only error I got is it still laodding all parquet with a progress bar maxium to the whole number 014354, and it loads my 0 - 000999 part, then throws an error. Says Numinfo is not same. I am so confused,
[ -0.25193583965301514, -0.41740682721138, -0.011996535584330559, 0.5046027898788452, 0.2603335380554199, -0.01766394078731537, -0.13745516538619995, 0.454632043838501, 0.018896576017141342, 0.12454808503389359, -0.1193847507238388, 0.02535063587129116, 0.10294146835803986, 0.39402052760124207, 0.17591577768325806, 0.04316463693976402, 0.02991247922182083, 0.3727268874645233, 0.11740856617689133, -0.1426759511232376, -0.3020463287830353, -0.0009813793003559113, -0.11015406250953674, 0.06595145165920258, 0.03210817649960518, 0.2862819731235504, -0.05218328535556793, 0.03809858858585358, -0.22985732555389404, -0.04899448901414871, 0.21068114042282104, -0.31196585297584534, 0.2564976215362549, 0.014205679297447205, -0.00012857811816502362, -0.12129062414169312, 0.4581194519996643, -0.27273568511009216, -0.18984080851078033, 0.055134378373622894, -0.03457268327474594, -0.2367120385169983, 0.12168747186660767, -0.43146950006484985, -0.2004767656326294, -0.08849596977233887, 0.06552189588546753, -0.13576576113700867, 0.45626944303512573, 0.3228355348110199, 0.0195748433470726, -0.20260527729988098, 0.21643151342868805, 0.13216263055801392, 0.38983380794525146, -0.34312134981155396, 0.17208321392536163, 0.1860295534133911, 0.7019299268722534, -0.018604064360260963, 0.24106580018997192, -0.12136922776699066, 0.11232195794582367, 0.15731783211231232, -0.14731523394584656, 0.004178420174866915, 0.4391184151172638, -0.5201995372772217, 0.46665799617767334, 0.5021325945854187, 0.46033862233161926, 0.18502673506736755, -0.0003685906995087862, -0.19520303606987, -0.11896403133869171, -0.39318886399269104, -0.04646981507539749, 0.5058197975158691, -0.13562674820423126, 0.19006241858005524, -0.2390095442533493, -0.22689858078956604, -0.19480033218860626, 0.2893003821372986, -0.38268402218818665, 0.14199408888816833, -0.06133875995874405, 0.07957504689693451, 0.22481293976306915, -0.12338422238826752, -0.07828663289546967, -0.020201798528432846, -0.05509776249527931, 0.24131521582603455, -0.19524206221103668, -0.2535669803619385, -0.4707067012786865, 0.16491389274597168, 0.42492711544036865, 0.14525358378887177, -0.10568224638700485, 0.3429131805896759, 0.1463976502418518, 0.14276042580604553, 0.41092824935913086, -0.19410347938537598, -0.11674628406763077, -0.08737936615943909, 0.12182457745075226, 0.05332348123192787, 0.05409398302435875, -0.0789608508348465, -0.23319968581199646, -0.05541374161839485, -0.5569798946380615, -0.1354866325855255, -0.1972193717956543, -0.4367927610874176, 0.08305846154689789, -0.1842808872461319, 0.26983925700187683, -0.03286624699831009, 0.08894672244787216, 0.010320499539375305, 0.05678580701351166, 0.3738100826740265, -0.40083742141723633, 0.19555875658988953, -0.08957601338624954, -0.6657777428627014, -0.0578942745923996, -0.054629918187856674, -0.13651175796985626, -0.016516180709004402, 0.15138663351535797, -0.15188078582286835, 0.17048336565494537, 0.12514731287956238, 0.1717049479484558, -0.06808703392744064, 0.2035529613494873, -0.48874741792678833, -0.20590633153915405, 0.016840625554323196, 0.023140467703342438, 0.14517401158809662, 0.24618877470493317, 0.10382869839668274, -0.1569174826145172, 0.1606859266757965, -0.3408522605895996, -0.2520603835582733, -0.013482557609677315, 0.007227463647723198, -0.1701960265636444, 0.1872861683368683, -0.5610165596008301, 0.33081763982772827, -0.08854690939188004, 0.041590962558984756, -0.2547159194946289, 0.005668597295880318, -0.2790835499763489, -0.1317542940378189, 0.45721685886383057, 0.23871909081935883, -0.27903661131858826, -0.011690784245729446, 0.13609355688095093, -0.11682568490505219, 0.6063652634620667, 0.25366121530532837, -0.3805122673511505, -0.31553328037261963, -0.15762633085250854, -0.1487424075603485, 0.5544476509094238, 0.24052119255065918, -0.05171508342027664, 0.5584545731544495, 0.02990517020225525, -0.3472929000854492, 0.11008986830711365, -0.036019664257764816, 0.2919217050075531, -0.09562665224075317, 0.13844120502471924, 0.38150250911712646, 0.038489166647195816, -0.10445127636194229, -0.28276583552360535, -0.3843960165977478, 0.19104664027690887, 0.3534807562828064, 0.12423792481422424, 0.29351532459259033, 0.265588641166687, -0.20267429947853088, 0.28477585315704346, -0.13870981335639954, 0.22864855825901031, 0.20810535550117493, 0.023164749145507812, 0.4230753183364868, -0.05505284294486046, -0.26756346225738525, -0.308191180229187, 0.21266970038414001, -0.0033806581050157547, -0.6035812497138977, 0.3541472554206848, 0.1643926203250885, -0.11350106447935104, -0.34728503227233887, 0.21511130034923553, 0.06775656342506409, -0.11675754934549332, 0.06772250682115555, 0.03938708081841469, -0.3168509900569916, -0.3333999216556549, 0.06515568494796753, 0.05342588573694229, 0.04653361439704895, -0.30524399876594543, 0.2813631594181061, 0.16547073423862457, -0.02020993083715439, 0.24409571290016174, -0.3094465732574463, 0.3699204623699188, -0.28693586587905884, 0.13772472739219666, 0.26412540674209595, 0.18339861929416656, -0.03367607295513153, 0.17578847706317902, 0.1445426195859909, 0.12630179524421692, -0.13727682828903198, -0.04182186722755432, 0.05922086909413338, 0.049225542694330215, -0.002648826688528061, -0.16190028190612793, 0.22335895895957947, 0.008955541998147964, 0.28228431940078735, -0.03102193959057331, -0.1546165645122528, 0.18044447898864746, -0.1760360449552536, 0.12453018873929977, 0.059266358613967896, 0.3198074698448181, 0.28119325637817383, -0.19385622441768646, 0.049390602856874466, -0.4291782081127167, -0.27022263407707214, 0.10154248028993607, -0.13651101291179657, -0.1705613136291504, 0.31090447306632996, -0.17114904522895813, -0.10639139264822006, -0.205539733171463, -0.2453995645046234, -0.08168704807758331, 0.19460472464561462, 0.18722596764564514, 0.0260408204048872, 0.5807671546936035, 0.025790322571992874, 0.13288623094558716, 0.27900540828704834, -0.09000004827976227, 0.07281890511512756, -0.08930566906929016, -0.22109510004520416, 0.024315789341926575, 0.24906736612319946, 0.2022477239370346, 0.06346223503351212, -0.18074357509613037, -0.1328202486038208, -0.21736805140972137, 0.0724044218659401, -0.21964198350906372, 0.3569679856300354, -0.10871626436710358, 0.06683862209320068, -0.08539953827857971, 0.13288715481758118, 0.23407408595085144, -0.12365167587995529, -0.5426267385482788, 0.2727694511413574, -0.22936567664146423, -0.21458877623081207, -0.3122771978378296, -0.18172357976436615, -0.288722425699234, -0.00345660001039505, 0.2008526474237442, 0.28716444969177246, -0.10701684653759003, -0.2036571502685547, -0.10080992430448532, -0.23370561003684998, -0.10484142601490021, -0.037579044699668884, 0.15026208758354187, 0.07086996734142303, -0.01063787192106247, 0.49416518211364746, -0.03326564282178879, 0.15413618087768555, -0.007832210510969162, -0.07498657703399658, -0.017685672268271446, -0.007610632106661797, 0.1211944967508316, 0.5086790919303894, 0.004461079835891724, -0.08805079013109207, -0.1902335286140442, -0.23838110268115997, 0.31277692317962646, 0.5617976784706116, 0.08044712990522385, -0.4931299388408661, -0.19461633265018463, -0.2791779935359955, 0.08458291739225388, 0.03859809413552284, 0.0031851858366280794, -0.36737555265426636, 0.44958627223968506, 0.2244446575641632, -0.29158303141593933, 0.0524170808494091, -0.029677610844373703, -0.3051278293132782, 0.26840704679489136, -0.370352566242218, 0.008620996959507465, -0.16862623393535614, -0.3972945511341095, -0.4962412118911743, 0.07020284980535507, -0.04392571747303009, -0.610601007938385, 0.05851013958454132, 0.09795909374952316, -0.1302034556865692, -0.17674720287322998, 0.12650521099567413, 0.19066698849201202, 0.13041263818740845, 0.42047563195228577, -0.020168766379356384, 0.45502007007598877, -0.016863636672496796, 0.08988020569086075, 0.2896139323711395, -0.1005202904343605, 0.07745885103940964, -0.19577336311340332, 0.23342213034629822, 0.3158641755580902, 0.12068182975053787, 0.0923391729593277, 0.462310791015625, -0.07021921128034592, -0.24241597950458527, -0.4281558096408844, -0.3028746545314789, -0.34033191204071045, 0.007091481238603592, 0.048901136964559555, 0.09168358147144318, 0.06588540226221085, -0.14667625725269318, -0.10426533222198486, 0.11217418313026428, -0.11392060667276382, 0.13997499644756317, 0.035329874604940414, 0.13428916037082672, 0.11961988359689713, -0.2680514454841614, 0.31795233488082886, 0.16260960698127747, 0.27778202295303345, -0.3003184497356415, 0.10756232589483261, 0.05392411723732948, -0.08846646547317505, 0.1758514642715454, -0.09531902521848679, 1.018569827079773, 0.15841500461101532, 0.4747527241706848, -0.018914010375738144, -0.253142774105072, -0.4324851632118225, -0.00035005807876586914, -0.08757787197828293, -0.17537270486354828, 0.4364961087703705, 0.6687847375869751, -0.60288405418396, 0.0754973366856575, -0.07824389636516571, 0.38100215792655945, -0.11685843765735626, 0.09083227068185806, -0.2689061164855957, 0.0471380352973938, -0.14179091155529022, 0.23756158351898193, 0.020903239026665688, 0.18569010496139526, 0.2017957866191864, 0.1244354397058487, -0.22719831764698029, -0.1896655559539795, -0.1240190714597702, 0.03970498591661453, 0.2344444990158081, 0.11372242867946625, 0.10822349786758423, 0.2762260437011719, 0.3288923501968384, 0.29946672916412354, 0.23933470249176025, 0.09892331063747406, -0.17818820476531982, 0.36475130915641785, -0.04598614200949669, 0.2584156095981598, -0.06556814908981323, 0.13626688718795776, -0.2517901659011841, 0.02403564192354679, 0.18414577841758728, 0.025165773928165436, 0.28868019580841064, -0.15159063041210175, -0.3489927053451538, -0.43879568576812744, -0.5011305809020996, 0.44417673349380493, 0.12359590828418732, 0.028578341007232666, -0.07927609980106354, 0.20150011777877808, -0.1535627245903015, 0.04108503833413124, 0.18131376802921295, 1.01944100856781, -0.27337419986724854, 0.05894697085022926, -0.6654288172721863, -0.4931427836418152, 0.5576114058494568, -0.5264782309532166, -0.1129097044467926, -0.247744619846344, -0.3125366270542145, -0.10069315135478973, -0.18748490512371063, -0.17206567525863647, 0.443615198135376, 0.16498972475528717, 0.6420155763626099, -0.24782401323318481, 0.20113058388233185, 0.2230803370475769, 0.1268482357263565, 0.14081497490406036, 0.08636745810508728, -0.11033421754837036, -0.034828491508960724, -0.03537934273481369, -0.11393843591213226, 0.02893795073032379, -0.18311139941215515, -0.019021354615688324, -0.08132001757621765, 0.1920865923166275, 0.3738937973976135, -0.39530909061431885, -0.1280362606048584, -0.050377149134874344, -0.4199947118759155, 0.04696899279952049, 0.1791677474975586, 0.1730060875415802, 0.016837244853377342, -0.33665624260902405, 0.03394046798348427, 0.17481458187103271, -0.1036870926618576, -0.24720978736877441, 0.2207798808813095, -0.2961477041244507, -0.16602453589439392, 0.03783290833234787, 0.13587798178195953, -0.13845279812812805, -0.03582928329706192, -0.050933435559272766, 0.26576709747314453, 0.24397489428520203, 0.004127425607293844, -0.21265621483325958, -0.16508950293064117, 0.17340578138828278, -0.1107257753610611, -0.029969990253448486, 0.058484841138124466, -0.32509422302246094, 0.019923988729715347, 0.05485852062702179, -0.28586459159851074, -0.032090794295072556, 0.288469523191452, 0.006504064425826073, -0.07816995680332184, 0.25234028697013855, -0.07900122553110123, -0.2321714162826538, -0.01825074478983879, -0.1270979344844818, 0.1864871233701706, -0.1023409366607666, -0.14992378652095795, 0.012359014712274075, 0.29328006505966187, 0.07093112915754318, -0.04605570062994957, 0.0326739177107811, -0.07871349900960922, 0.15927281975746155, -0.6432808637619019, -0.3827624022960663, 0.07977741956710815, -0.11555880308151245, 0.0680655688047409, 0.3017623722553253, -0.15527281165122986, 0.06784044206142426, -0.09818394482135773, -0.08401183784008026, 0.4949621260166168, -0.06822429597377777, 0.5133227109909058, 0.33680567145347595, 0.05228111892938614, -0.20342899858951569, 0.1700044870376587, -0.029026389122009277, 0.1981154978275299, -0.05632408708333969, -0.017203444615006447, 0.12026457488536835, 0.22069151699543, 0.05626095086336136, -0.0508323535323143, -0.3494637608528137, -0.18816788494586945, -0.1640968769788742, 0.12153316289186478, 0.005869194865226746, -0.13861995935440063, 0.2784218192100525, -0.18544474244117737, 0.6903858184814453, 0.05049091577529907, -0.7838791608810425, 0.1643109768629074, -0.08258326351642609, 0.1362581104040146, 0.021255167201161385, 0.22323590517044067, 0.07075837254524231, -0.09247592836618423, -0.29032614827156067, -0.10451798886060715, 0.4514184594154358, -0.05771896243095398, 0.005698487162590027, -0.013724200427532196, 0.13324978947639465, 0.4108276665210724, 0.12782248854637146, 0.7556062936782837, -0.1345500499010086, 0.0015513673424720764, 0.4882300794124603, 0.05474008619785309, -0.12454026937484741, -0.048070404678583145, 0.29821130633354187, -0.1290256679058075, -0.049486737698316574, 0.225319504737854, 0.08893534541130066, -0.2527276873588562, -0.22036682069301605, -0.15003350377082825, 0.24690866470336914, 0.22208552062511444, -0.010241981595754623, 0.4399202764034271, -0.0074630603194236755, -0.2803654670715332, -0.11028287559747696, 0.47651535272598267, 0.13272348046302795, 0.5038143992424011, -0.062074460089206696, 0.007184451445937157, 0.23075786232948303, -0.15948407351970673, -0.3153703510761261, -0.4111996293067932, -0.15717370808124542, 0.7405187487602234, 0.17468813061714172, -0.09463977068662643, -0.2044779360294342, 0.03389568626880646, 0.6470221281051636, -0.27107709646224976, -0.06774547696113586, 0.08767682313919067, 0.29910340905189514, 0.10474134981632233, -0.15077045559883118, -0.3354750871658325, -0.2759729325771332, 0.34242305159568787, -0.08652961254119873, -0.1292266696691513, -0.06582498550415039, 0.3742055892944336, 0.036300383508205414, -0.06993789225816727, -0.2104443609714508, 0.3430798649787903, 0.05541528761386871, -0.36866915225982666, 0.3309990167617798, 0.004991486668586731, -0.11688701808452606, 0.43493497371673584, -0.28823620080947876, -0.061363186687231064, 0.06202518194913864, 0.03980345278978348, -0.06413775682449341, 0.36450061202049255, 0.06765148043632507, -0.16261112689971924, -0.03705596178770065, 0.38960230350494385, 0.2879314124584198, 0.3245241343975067, -0.013072926551103592, -0.027127046138048172, 0.08036500960588455, -0.17850877344608307, -0.16725040972232819, -0.5382116436958313, -0.10754748433828354, 0.5101309418678284, -0.2234480381011963, -0.09479086101055145, -0.2740626931190491, -0.18230561912059784, -0.1778239607810974, -0.2945658266544342, 0.022125307470560074, 0.1665218472480774, 0.511996865272522, -0.05953624099493027, -0.02813001349568367, 0.2820424437522888, 0.0856659784913063, -0.14347940683364868, -0.3556656837463379, -0.4704703092575073, -0.3155597746372223, 0.1650385856628418, -0.13219745457172394, 0.1024189442396164, 0.33926063776016235, 0.07781145721673965, 0.2873077988624573, 0.2477789670228958, -0.15641550719738007, 0.389107882976532, 0.10261624306440353, 0.3286800682544708, 0.00043380260467529297, -0.07273858785629272, 0.054114725440740585, 0.4523024559020996, -0.07078695297241211, -0.2242366373538971, 0.34753522276878357, -0.09606686234474182, -0.0507948063313961, 0.23118668794631958, -0.2839266061782837, -0.08051300793886185, 0.040859468281269073, 0.16975072026252747, -0.006677286699414253, 0.3592730164527893, -0.0781143307685852, 0.22006936371326447, 0.10323833674192429, -0.04109469801187515, -0.1307971030473709, 0.2427227795124054, 0.05233928561210632, -0.3628573417663574, -0.229270800948143, 0.20456546545028687, -0.20162564516067505, -0.0941067487001419, -0.2601173520088196, 0.12481074780225754, 0.0030611976981163025, -0.46837499737739563, 0.38096702098846436, -0.16908183693885803, 0.08278407156467438, 0.135406494140625, -0.18060529232025146, -0.3656294345855713, -0.12123673409223557, -0.08722051233053207, 0.5188277959823608, -0.3641636371612549, -0.3575327694416046, -0.2060718536376953, 0.36308151483535767, 0.30473268032073975, 0.25861233472824097, 0.009439267218112946, 0.29255974292755127, 0.5938224792480469, -0.11166646331548691, -0.2256460338830948, 0.05907969921827316, 0.03407905623316765, -0.27509382367134094, -0.04187798500061035, -0.15736539661884308, 0.47918716073036194, -0.15410713851451874, -0.35154321789741516, -0.34452104568481445 ]
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
Yes, my code snippet works. Could you copy-paste your code and the output? Otherwise we are not able to know what the issue is.
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more**
24
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more** Yes, my code snippet works. Could you copy-paste your code and the output? Otherwise we are not able to know what the issue is.
[ -0.22639212012290955, -0.3674989938735962, -0.02464967593550682, 0.4938739538192749, 0.2488434612751007, 0.028043478727340698, -0.2086992710828781, 0.5061648488044739, 0.14250633120536804, 0.07289309799671173, -0.05195736140012741, 0.020781051367521286, 0.04758263751864433, 0.34436139464378357, 0.13329751789569855, 0.001870136708021164, -0.004790067672729492, 0.37909117341041565, 0.1422690451145172, -0.1224280297756195, -0.2600407600402832, -0.014867251738905907, -0.13005775213241577, 0.0279264934360981, 0.1288955807685852, 0.25840672850608826, -0.0004337690770626068, 0.01128552109003067, -0.28385740518569946, -0.09205897152423859, 0.23409871757030487, -0.3981553614139557, 0.22653426229953766, -0.03662308305501938, -0.00012554791464935988, -0.08771904557943344, 0.45753926038742065, -0.23076336085796356, -0.20609751343727112, 0.0017147064208984375, -0.09113023430109024, -0.26120129227638245, 0.1486559361219406, -0.4104556739330292, -0.2285914421081543, -0.20518064498901367, 0.06263530254364014, -0.14939063787460327, 0.44117408990859985, 0.36681461334228516, 0.05997427925467491, -0.17922541499137878, 0.24284867942333221, 0.18546907603740692, 0.4251636266708374, -0.26480424404144287, 0.17264094948768616, 0.10601945221424103, 0.6870118379592896, -0.005637256894260645, 0.21241235733032227, -0.10661299526691437, 0.07766925543546677, 0.16741347312927246, -0.13973724842071533, 0.025729097425937653, 0.24844413995742798, -0.5716923475265503, 0.4841104745864868, 0.4870908260345459, 0.4779942035675049, 0.15762686729431152, 0.020459717139601707, -0.2001265585422516, -0.09796272218227386, -0.304756760597229, -0.04716763645410538, 0.58673095703125, -0.10984960198402405, 0.1567842662334442, -0.26538997888565063, -0.26384809613227844, -0.18419206142425537, 0.27686959505081177, -0.308871328830719, 0.14496231079101562, -0.03483030945062637, 0.08510173857212067, 0.2102692425251007, -0.11996747553348541, -0.10539764910936356, -0.0737401619553566, -0.09666365385055542, 0.2598242461681366, -0.26740965247154236, -0.22098486125469208, -0.45195597410202026, 0.16731007397174835, 0.3771754503250122, 0.08819462358951569, -0.12080907821655273, 0.2527816593647003, 0.25542452931404114, 0.14826205372810364, 0.373216450214386, -0.19210772216320038, -0.14403247833251953, 0.019226837903261185, 0.06332285702228546, 0.006732646841555834, 0.01495843380689621, -0.10583672672510147, -0.23791494965553284, 0.015476160682737827, -0.5471057295799255, -0.19847950339317322, -0.1528836041688919, -0.37492045760154724, 0.04011225700378418, -0.18622846901416779, 0.19844135642051697, -0.058416854590177536, 0.08992276340723038, 0.04555555805563927, 0.03372430056333542, 0.3005426824092865, -0.3196154832839966, 0.21526148915290833, -0.0549396276473999, -0.7017092704772949, -0.09350258857011795, 0.02542658895254135, -0.11040844023227692, -0.10971661657094955, 0.14902812242507935, -0.18663811683654785, 0.1631958931684494, 0.14962922036647797, 0.14648661017417908, -0.11464706808328629, 0.18978410959243774, -0.5054700374603271, -0.17362076044082642, 0.043978501111269, 0.07146880030632019, 0.16941341757774353, 0.2751603126525879, 0.06974995136260986, -0.1444312334060669, 0.11584977805614471, -0.3961803913116455, -0.21757850050926208, -0.0048325564712285995, 0.03625435009598732, -0.11626490205526352, 0.15661665797233582, -0.628281831741333, 0.3181476891040802, -0.09311795979738235, 0.03159349039196968, -0.24654492735862732, -0.00929637998342514, -0.21738648414611816, -0.13159525394439697, 0.4467800557613373, 0.26804882287979126, -0.24763499200344086, 0.001066848635673523, 0.1129932552576065, -0.0633457601070404, 0.642958402633667, 0.2662266194820404, -0.4278371334075928, -0.24196618795394897, -0.12282431125640869, -0.1091807410120964, 0.5375445485115051, 0.22383809089660645, -0.040095098316669464, 0.6122515797615051, 0.015444621443748474, -0.2868799567222595, 0.11753873527050018, -0.09686939418315887, 0.3206581175327301, 0.0064581409096717834, 0.10016738623380661, 0.41001975536346436, 0.029515743255615234, -0.05752190947532654, -0.26135724782943726, -0.3823947608470917, 0.21107396483421326, 0.37338724732398987, 0.18129153549671173, 0.31911349296569824, 0.2694167494773865, -0.18314170837402344, 0.27823346853256226, -0.1411638706922531, 0.25204572081565857, 0.25844717025756836, 0.05991761386394501, 0.36688435077667236, -0.03902972862124443, -0.23286449909210205, -0.29788464307785034, 0.21565651893615723, 0.023219317197799683, -0.5935055613517761, 0.32651668787002563, 0.1805046796798706, -0.09187480062246323, -0.30491209030151367, 0.21062275767326355, 0.02106577157974243, -0.04210573807358742, -0.0056567564606666565, -0.012104935944080353, -0.27256208658218384, -0.30954059958457947, 0.08887791633605957, 0.025365838780999184, 0.07936109602451324, -0.2561485767364502, 0.2843857407569885, 0.2119518518447876, -0.015122703276574612, 0.28475984930992126, -0.36523184180259705, 0.37176764011383057, -0.2513903081417084, 0.08721572160720825, 0.2012653648853302, 0.14610899984836578, -0.02302955836057663, 0.20431774854660034, 0.10847046226263046, 0.09592270106077194, -0.15473005175590515, -0.0590539425611496, 0.07289260625839233, 0.126259908080101, 0.011191800236701965, -0.1644670069217682, 0.1466982662677765, 0.026776563376188278, 0.2808314561843872, -0.006836246699094772, -0.11453074961900711, 0.1776292771100998, -0.21639609336853027, 0.1408984661102295, 0.1651463806629181, 0.36959904432296753, 0.1883503645658493, -0.17439121007919312, 0.0836053192615509, -0.4080207943916321, -0.30707746744155884, 0.08976303040981293, -0.07158510386943817, -0.1482768952846527, 0.3546033203601837, -0.17695826292037964, -0.11382567137479782, -0.22141115367412567, -0.1436922401189804, -0.08593854308128357, 0.21615317463874817, 0.1559486836194992, -0.011543439701199532, 0.6272963285446167, 0.04924099147319794, 0.1684066355228424, 0.2574947476387024, -0.13654278218746185, 0.009736131876707077, -0.03554614633321762, -0.1706850677728653, 0.012126967310905457, 0.22113674879074097, 0.24568939208984375, 0.05070321261882782, -0.15923316776752472, -0.1146584078669548, -0.25459378957748413, 0.01188122108578682, -0.13510972261428833, 0.45592498779296875, -0.09425200521945953, 0.1248401403427124, -0.053238607943058014, 0.10576844215393066, 0.16718745231628418, -0.17452886700630188, -0.4690787196159363, 0.3079169690608978, -0.2154274880886078, -0.34750863909721375, -0.2894056439399719, -0.1269102841615677, -0.3007771670818329, 0.03372518718242645, 0.17324455082416534, 0.24784180521965027, -0.0925493910908699, -0.1629261076450348, -0.11775965243577957, -0.29275545477867126, -0.0540245920419693, -0.047947585582733154, 0.1462453454732895, 0.053050391376018524, -0.004301883280277252, 0.47170376777648926, -0.10569143295288086, 0.0732908621430397, -0.005319809541106224, -0.053151022642850876, 0.0009050983935594559, 0.05485033988952637, 0.1036272794008255, 0.4668484926223755, -0.021310966461896896, -0.1245577409863472, -0.19315092265605927, -0.2654697299003601, 0.3301490545272827, 0.47070083022117615, 0.07974748313426971, -0.4756593406200409, -0.16169387102127075, -0.3552745580673218, -0.0017122416757047176, 0.034786634147167206, 0.08725504577159882, -0.40925824642181396, 0.39943617582321167, 0.230840802192688, -0.32378578186035156, 0.0744914561510086, 0.0010057967156171799, -0.2619335949420929, 0.33334529399871826, -0.40265989303588867, 0.051984753459692, -0.2052680253982544, -0.40401753783226013, -0.5083211064338684, 0.08035026490688324, -0.02911064773797989, -0.5706194043159485, 0.01724882982671261, 0.06796727329492569, -0.10766729712486267, -0.11239732056856155, 0.13204210996627808, 0.13128694891929626, 0.12751799821853638, 0.40622955560684204, 0.017997857183218002, 0.4685640335083008, -0.03212092071771622, 0.122123122215271, 0.31939882040023804, -0.10159633308649063, 0.11149412393569946, -0.13037624955177307, 0.17387785017490387, 0.3094134032726288, 0.1182277724146843, 0.07351186126470566, 0.4438326954841614, -0.07202386856079102, -0.3334435522556305, -0.3995588421821594, -0.3010926842689514, -0.36887675523757935, 0.0042653679847717285, 0.07663898915052414, 0.10660286992788315, 0.11571842432022095, -0.0789455771446228, -0.17653757333755493, 0.12055917084217072, -0.1656779944896698, 0.07293671369552612, 0.01965918391942978, 0.1353309601545334, 0.14873023331165314, -0.22745966911315918, 0.27046746015548706, 0.20708492398262024, 0.19899725914001465, -0.3253823220729828, 0.16044753789901733, -0.0026732608675956726, -0.016063358634710312, 0.18651123344898224, -0.03142550215125084, 0.9364423155784607, 0.22267572581768036, 0.46534639596939087, -0.08798174560070038, -0.2925194799900055, -0.42630869150161743, -0.0015092045068740845, -0.10194219648838043, -0.16758780181407928, 0.3908442258834839, 0.54862380027771, -0.5806795358657837, 0.08955951035022736, -0.13241402804851532, 0.38508182764053345, -0.08620692789554596, 0.13876408338546753, -0.23604637384414673, 0.05827470123767853, -0.11730466037988663, 0.282329261302948, 0.09470061957836151, 0.19214622676372528, 0.1682000309228897, 0.11766958236694336, -0.28073403239250183, -0.1288503110408783, -0.1557958573102951, -0.0021766051650047302, 0.281971275806427, 0.06355142593383789, 0.1297941654920578, 0.20380020141601562, 0.2627541124820709, 0.286922812461853, 0.2859550714492798, 0.11102154850959778, -0.24382570385932922, 0.3249228596687317, 0.012925303541123867, 0.28360870480537415, -0.08333492279052734, 0.016684379428625107, -0.16916808485984802, 0.0052087921649217606, 0.20132502913475037, -0.020650699734687805, 0.3313647210597992, -0.1027485728263855, -0.35969120264053345, -0.3701459467411041, -0.48339641094207764, 0.3604206442832947, 0.059004444628953934, 0.022944770753383636, -0.04242575913667679, 0.2597622275352478, -0.17977958917617798, 0.08043409138917923, 0.11897601932287216, 0.8948262333869934, -0.25214117765426636, 0.02882607840001583, -0.6485199332237244, -0.4502636790275574, 0.6064161658287048, -0.5779557228088379, -0.0850706547498703, -0.19429761171340942, -0.3599768877029419, -0.06964670866727829, -0.18781116604804993, -0.16135510802268982, 0.428164005279541, 0.1709546446800232, 0.6148111820220947, -0.16332784295082092, 0.24944694340229034, 0.2659132182598114, 0.1845478117465973, 0.11610167473554611, 0.10226516425609589, -0.144324392080307, -0.01261826790869236, -0.08334936201572418, -0.14572465419769287, 0.0582817941904068, -0.22168907523155212, -0.0185239315032959, -0.1429590880870819, 0.1369991898536682, 0.39868515729904175, -0.404584139585495, -0.10984304547309875, -0.053803134709596634, -0.3838455080986023, 0.1321326345205307, 0.25168487429618835, -0.011783994734287262, 0.14726705849170685, -0.34635403752326965, 0.05352732166647911, 0.10267725586891174, -0.12054865062236786, -0.2853420674800873, 0.23522499203681946, -0.38321807980537415, -0.15126222372055054, 0.06533058732748032, 0.06175103411078453, -0.1649089753627777, -0.08057326823472977, -0.00910903513431549, 0.32610511779785156, 0.23810383677482605, -0.004760447423905134, -0.2502862513065338, -0.20681658387184143, 0.20246273279190063, -0.11804141104221344, -0.0018223058432340622, 0.11100354790687561, -0.32696983218193054, 0.008401282131671906, 0.14233236014842987, -0.30115169286727905, -0.0690595805644989, 0.26309695839881897, 0.026355504989624023, -0.05666065961122513, 0.31650492548942566, -0.0862095057964325, -0.24360911548137665, -0.046578388661146164, -0.13207963109016418, 0.1845758706331253, -0.09961383789777756, -0.15307185053825378, -0.02929801680147648, 0.34331661462783813, 0.024117285385727882, -0.14432145655155182, 0.016560371965169907, -0.06813741475343704, 0.15970617532730103, -0.6871230006217957, -0.28269416093826294, 0.15526533126831055, -0.1300051361322403, 0.02056642435491085, 0.32256075739860535, -0.17636215686798096, 0.0992802157998085, -0.06124819815158844, -0.10971951484680176, 0.5389384031295776, -0.12293711304664612, 0.5158116817474365, 0.32513102889060974, 0.101280577480793, -0.10240422934293747, 0.14626151323318481, 0.0015877746045589447, 0.12673796713352203, -0.025557130575180054, -0.05573909729719162, 0.1187187135219574, 0.19809778034687042, 0.06069957837462425, -0.020580923184752464, -0.3177546262741089, -0.2739410102367401, -0.1934025138616562, 0.09739662706851959, -0.027985084801912308, -0.13080526888370514, 0.2686517834663391, -0.1759706437587738, 0.6998838782310486, 0.020259186625480652, -0.7776172161102295, 0.19496463239192963, -0.18382981419563293, 0.06690847873687744, 0.05868309363722801, 0.20678503811359406, 0.14736904203891754, -0.0913209542632103, -0.33297914266586304, -0.15554508566856384, 0.42781388759613037, -0.02819245308637619, 0.046230047941207886, 0.003934144973754883, 0.14255554974079132, 0.3661791980266571, 0.12271219491958618, 0.7409993410110474, -0.135344997048378, 0.07053682208061218, 0.49287518858909607, 0.07922501116991043, -0.11222115159034729, -0.1323949247598648, 0.27069804072380066, -0.0844966247677803, -0.03827543184161186, 0.1452081948518753, 0.08844989538192749, -0.2607142925262451, -0.265269935131073, -0.15929463505744934, 0.34137699007987976, 0.30756479501724243, -0.00709071010351181, 0.40736135840415955, -0.017002031207084656, -0.31362786889076233, -0.21311639249324799, 0.48350435495376587, 0.11413239687681198, 0.48137199878692627, -0.04467158764600754, 0.010380259715020657, 0.26369142532348633, -0.14980442821979523, -0.3042275011539459, -0.40086477994918823, -0.1238546222448349, 0.683032751083374, 0.191653311252594, -0.10640154033899307, -0.31810685992240906, -0.04671283811330795, 0.6764411926269531, -0.2417754828929901, -0.019038908183574677, 0.08961966633796692, 0.3032861053943634, 0.14661161601543427, -0.03161889687180519, -0.328206330537796, -0.27403396368026733, 0.34002020955085754, -0.021974224597215652, -0.14462345838546753, -0.09685631096363068, 0.3573550581932068, 0.027553290128707886, -0.04381752759218216, -0.1620771288871765, 0.3892798125743866, 0.008428007364273071, -0.39916765689849854, 0.2707537114620209, -0.006920956075191498, -0.12428759038448334, 0.413260281085968, -0.289082795381546, -0.05591597780585289, 0.07669474929571152, 0.07795125246047974, -0.07137125730514526, 0.344084233045578, 0.03451298922300339, -0.17771556973457336, -0.02241877093911171, 0.4126744568347931, 0.3496851325035095, 0.2898586392402649, 0.013171890750527382, -0.044948697090148926, 0.029251612722873688, -0.21393035352230072, -0.22101768851280212, -0.5399529337882996, -0.11010961979627609, 0.5156817436218262, -0.2350379228591919, -0.12077713012695312, -0.29306864738464355, -0.1993604600429535, -0.22210170328617096, -0.2596856653690338, 0.05247541144490242, 0.1518860161304474, 0.46163231134414673, -0.03303538262844086, -0.04331887885928154, 0.309681236743927, 0.05532055348157883, -0.09286253899335861, -0.4112575650215149, -0.4749339818954468, -0.2167300581932068, 0.1598755121231079, -0.18911314010620117, 0.11029544472694397, 0.41902878880500793, 0.08119342476129532, 0.2601451277732849, 0.18136464059352875, -0.2150741070508957, 0.38559985160827637, 0.002777830697596073, 0.3326832950115204, -0.01431594230234623, -0.10711078345775604, 0.09019076824188232, 0.4545881450176239, -0.05961819738149643, -0.15708836913108826, 0.35849466919898987, -0.1255882978439331, -0.0224312711507082, 0.19928500056266785, -0.2974357604980469, -0.06871259212493896, -0.049942098557949066, 0.12752078473567963, -0.004905283451080322, 0.3810040056705475, -0.11606886237859726, 0.22504447400569916, 0.08899586647748947, -0.11661238223314285, -0.13363613188266754, 0.2838650941848755, 0.07423223555088043, -0.30042269825935364, -0.2437645047903061, 0.10896344482898712, -0.19664131104946136, -0.10049474984407425, -0.27531808614730835, 0.12749451398849487, -0.011710374616086483, -0.4264936149120331, 0.3742682635784149, -0.07877018302679062, 0.11873121559619904, 0.06654642522335052, -0.22051632404327393, -0.397713840007782, -0.11627328395843506, -0.16706471145153046, 0.5335085391998291, -0.43482068181037903, -0.33238303661346436, -0.17396825551986694, 0.3618467450141907, 0.31593942642211914, 0.25630518794059753, 0.01838953047990799, 0.25735658407211304, 0.5805137157440186, -0.13421860337257385, -0.1548265516757965, 0.06291848421096802, 0.05881057679653168, -0.1891966611146927, -0.0009902194142341614, -0.06011618673801422, 0.4271709620952606, -0.19214187562465668, -0.33231547474861145, -0.35761332511901855 ]
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
@albertvillanova Hi, thanks for the tracing of the issue. This is the output: ``` ython get_llava_recap_cc3m.py Generating train split: 3%|███▋ | 101910/3199866 [00:16<08:30, 6065.67 examples/s] Traceback (most recent call last): File "get_llava_recap_cc3m.py", line 31, in <module> dataset = load_dataset("llava-recap-cc3m/", data_files="data/train-0000*-of-00314.parquet") File "/usr/local/lib/python3.8/dist-packages/datasets/load.py", line 2582, in load_dataset builder_instance.download_and_prepare( File "/usr/local/lib/python3.8/dist-packages/datasets/builder.py", line 1005, in download_and_prepare self._download_and_prepare( File "/usr/local/lib/python3.8/dist-packages/datasets/builder.py", line 1118, in _download_and_prepare verify_splits(self.info.splits, split_dict) File "/usr/local/lib/python3.8/dist-packages/datasets/utils/info_utils.py", line 101, in verify_splits raise NonMatchingSplitsSizesError(str(bad_splits)) datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=156885281898.75, num_examples=3199866, shard_lengths=None, dataset_name=None), 'recorded': SplitInfo(name='train', num_bytes=4994080770, num_examples=101910, shard_lengths=[10191, 10291, 10291, 10291, 10291, 10191, 10191, 10291, 10291, 9591], dataset_name='llava-recap-cc3m')}] ``` this is my code: ``` dataset = load_dataset("llava-recap-cc3m/", data_files="data/train-0000*-of-00314.parquet") ``` My situation and requirements: 00314 is all, but I downlaode about 150, half of it, as you can see, i used `0000*-of-00314.` which should be at most 99 file being loaded. But it just fail. Can u understand my issue now? If so, then **do not** suggest me with stream, Just want to know, is there a way to load part if it...... **and please don't say you can not replicate my issue when you have downloaded them all**, my english is not good, but I think all situations and all prerequists I have addressed already.
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more**
199
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more** @albertvillanova Hi, thanks for the tracing of the issue. This is the output: ``` ython get_llava_recap_cc3m.py Generating train split: 3%|███▋ | 101910/3199866 [00:16<08:30, 6065.67 examples/s] Traceback (most recent call last): File "get_llava_recap_cc3m.py", line 31, in <module> dataset = load_dataset("llava-recap-cc3m/", data_files="data/train-0000*-of-00314.parquet") File "/usr/local/lib/python3.8/dist-packages/datasets/load.py", line 2582, in load_dataset builder_instance.download_and_prepare( File "/usr/local/lib/python3.8/dist-packages/datasets/builder.py", line 1005, in download_and_prepare self._download_and_prepare( File "/usr/local/lib/python3.8/dist-packages/datasets/builder.py", line 1118, in _download_and_prepare verify_splits(self.info.splits, split_dict) File "/usr/local/lib/python3.8/dist-packages/datasets/utils/info_utils.py", line 101, in verify_splits raise NonMatchingSplitsSizesError(str(bad_splits)) datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=156885281898.75, num_examples=3199866, shard_lengths=None, dataset_name=None), 'recorded': SplitInfo(name='train', num_bytes=4994080770, num_examples=101910, shard_lengths=[10191, 10291, 10291, 10291, 10291, 10191, 10191, 10291, 10291, 9591], dataset_name='llava-recap-cc3m')}] ``` this is my code: ``` dataset = load_dataset("llava-recap-cc3m/", data_files="data/train-0000*-of-00314.parquet") ``` My situation and requirements: 00314 is all, but I downlaode about 150, half of it, as you can see, i used `0000*-of-00314.` which should be at most 99 file being loaded. But it just fail. Can u understand my issue now? If so, then **do not** suggest me with stream, Just want to know, is there a way to load part if it...... **and please don't say you can not replicate my issue when you have downloaded them all**, my english is not good, but I think all situations and all prerequists I have addressed already.
[ -0.278819739818573, -0.3396080732345581, 0.04910251125693321, 0.5926240682601929, 0.31184840202331543, 0.03803887218236923, -0.11761699616909027, 0.5415985584259033, 0.03217961639165878, 0.06466780602931976, -0.10353775322437286, 0.1132921352982521, -0.006048382259905338, 0.3308176100254059, 0.06338223814964294, -0.03830418735742569, -0.08639334887266159, 0.3852238059043884, 0.16887356340885162, -0.12069588154554367, -0.25452494621276855, -0.0010566581040620804, -0.11483134329319, 0.06150520220398903, 0.028930308297276497, 0.20493833720684052, -0.020267127081751823, 0.09302593022584915, -0.22991330921649933, -0.23011308908462524, 0.24010483920574188, -0.40189310908317566, 0.1743212640285492, -0.03403382748365402, -0.00012581351620610803, 0.008114971220493317, 0.5096150636672974, -0.18981708586215973, -0.26413169503211975, -0.06527367234230042, -0.05115856975317001, -0.28567707538604736, 0.2484484612941742, -0.3992463946342468, -0.19774258136749268, -0.27334824204444885, -0.0996892899274826, -0.08290637284517288, 0.49640846252441406, 0.43029889464378357, 0.05353826656937599, -0.10566812008619308, 0.2353581041097641, 0.22549881041049957, 0.4835703670978546, -0.2629246115684509, 0.1436263471841812, 0.0648675337433815, 0.5847079753875732, -0.025612983852624893, 0.19069144129753113, -0.08954894542694092, 0.1022806316614151, 0.22978812456130981, -0.16973161697387695, 0.05566874518990517, 0.2589809000492096, -0.5241625308990479, 0.4703936278820038, 0.4563673436641693, 0.33535534143447876, 0.0811968445777893, -0.09845870733261108, -0.3536074757575989, -0.08405111730098724, -0.5142092108726501, -0.07308311015367508, 0.6830822229385376, -0.14987382292747498, 0.12234951555728912, -0.2495289295911789, -0.2003362774848938, -0.16126742959022522, 0.2568374574184418, -0.2875017523765564, 0.21022462844848633, -0.03143962472677231, 0.11250311136245728, 0.2192157804965973, -0.06876304745674133, -0.03928748890757561, -0.00351051427423954, -0.07310439646244049, 0.24336865544319153, -0.32439136505126953, -0.20200245082378387, -0.39002591371536255, 0.08858373016119003, 0.31212931871414185, 0.19951491057872772, -0.11174196004867554, 0.26310378313064575, 0.260882705450058, 0.15852859616279602, 0.4398794174194336, -0.18143150210380554, -0.2296123504638672, 0.232501819729805, 0.05745084211230278, 0.09234520047903061, 0.001367766410112381, -0.11675374954938889, -0.2530209422111511, -0.007199963554739952, -0.41360968351364136, -0.11062409728765488, -0.10001116991043091, -0.37608686089515686, -0.04035554826259613, -0.13828222453594208, 0.09058962017297745, 0.006582129281014204, 0.08215681463479996, 0.11086340248584747, -0.09875001013278961, 0.3960891366004944, -0.3315922021865845, 0.26736345887184143, -0.15324509143829346, -0.5192835330963135, -0.07597265392541885, 0.05977845937013626, -0.10468101501464844, -0.16174200177192688, 0.10872846841812134, -0.18118277192115784, 0.2356257140636444, 0.12939761579036713, 0.10817225277423859, -0.1847708821296692, 0.24163421988487244, -0.5090628266334534, -0.16038233041763306, 0.12471993267536163, 0.037068065255880356, 0.24482642114162445, 0.3042594790458679, 0.04447587579488754, -0.1666528284549713, 0.06899680942296982, -0.40899190306663513, -0.32681387662887573, -0.009042108431458473, 0.07615398615598679, -0.1308305859565735, 0.1935012936592102, -0.596752405166626, 0.22376440465450287, 0.034619130194187164, 0.1238332986831665, -0.2630789577960968, -0.0803576409816742, -0.1932629495859146, -0.15245844423770905, 0.48132023215293884, 0.2832098603248596, -0.23106200993061066, -0.014814823865890503, 0.04931200295686722, -0.0007729567587375641, 0.6719995737075806, 0.3149615228176117, -0.46299105882644653, -0.27489331364631653, -0.14693130552768707, -0.1259303241968155, 0.5048506855964661, 0.12835417687892914, -0.10641469061374664, 0.5753991603851318, 0.03792722523212433, -0.1970127671957016, 0.13771285116672516, -0.1617710143327713, 0.3551330268383026, -0.0026267515495419502, 0.1265595406293869, 0.4327050447463989, -0.032572127878665924, -0.023709889501333237, -0.34754478931427, -0.3660772740840912, 0.20258237421512604, 0.37548866868019104, 0.20806245505809784, 0.17604254186153412, 0.18943148851394653, -0.11626929044723511, 0.2834065556526184, -0.15296898782253265, 0.26872310042381287, 0.29351675510406494, 0.10818425565958023, 0.4129442572593689, -0.0819055363535881, -0.2361350953578949, -0.29315581917762756, 0.32922080159187317, 0.021904651075601578, -0.5722238421440125, 0.16966325044631958, 0.10986299812793732, -0.08414632827043533, -0.2738071382045746, 0.10529831051826477, -0.07627880573272705, -0.024805903434753418, 0.020443610846996307, 0.0649554431438446, -0.22054371237754822, -0.30396538972854614, 0.1593036651611328, -0.008087636902928352, 0.14615143835544586, -0.2059212625026703, 0.3443298041820526, 0.18090862035751343, -0.08778496831655502, 0.34104248881340027, -0.28596189618110657, 0.3780464828014374, -0.23918606340885162, 0.08044174313545227, 0.2550947666168213, 0.23388616740703583, 0.09576725959777832, 0.04792767018079758, -0.009564056992530823, 0.18571309745311737, -0.12217298150062561, -0.08640483021736145, 0.024394815787672997, 0.0599118247628212, 0.019629493355751038, -0.13082993030548096, 0.23141853511333466, 0.15341991186141968, 0.3643243908882141, 0.09844692051410675, -0.0407855361700058, 0.19769130647182465, -0.20135843753814697, 0.11911319941282272, 0.07330344617366791, 0.2710363268852234, 0.19414496421813965, -0.08146637678146362, 0.1064305528998375, -0.4256266951560974, -0.2663930654525757, 0.21129749715328217, -0.015409070998430252, -0.1483033001422882, 0.2989651560783386, -0.20729941129684448, -0.10978047549724579, -0.21953876316547394, 0.03048812225461006, -0.04523564875125885, 0.20354704558849335, 0.16634054481983185, -0.0017515718936920166, 0.4997716248035431, 0.039906684309244156, 0.15724022686481476, 0.37966954708099365, -0.07343175262212753, 0.10059966892004013, 0.020528240129351616, -0.17854516208171844, -0.06237851828336716, 0.16889721155166626, 0.3255442976951599, 0.19228269159793854, -0.20115593075752258, -0.05117453634738922, -0.33732473850250244, 0.05132652074098587, -0.2441258728504181, 0.3549041748046875, -0.021152649074792862, -0.02973845601081848, -0.09062346816062927, 0.0756181851029396, 0.14947660267353058, -0.0871758908033371, -0.41897284984588623, 0.07348757982254028, -0.18501965701580048, -0.2901478111743927, -0.2053672820329666, -0.19624964892864227, -0.3305438458919525, 0.01626572012901306, 0.19587980210781097, 0.21230360865592957, -0.0026137325912714005, -0.20447057485580444, -0.27592527866363525, -0.24631080031394958, -0.03980428725481033, -0.007789772003889084, 0.082828588783741, 0.040834691375494, 0.08708851784467697, 0.3974496126174927, -0.06026129052042961, -0.04683290049433708, 0.09040249139070511, -0.004617396742105484, -0.006340608932077885, 0.15916365385055542, 0.042894940823316574, 0.45594173669815063, -0.0019179731607437134, -0.22134912014007568, -0.22595332562923431, -0.325069785118103, 0.34194380044937134, 0.5548948645591736, 0.0950993150472641, -0.36010292172431946, -0.15021000802516937, -0.3222157657146454, -0.008650192990899086, 0.0649067759513855, 0.08859258145093918, -0.34124520421028137, 0.38300952315330505, 0.2133266180753708, -0.2681218087673187, 0.046888869255781174, -0.060263197869062424, -0.20237956941127777, 0.38896918296813965, -0.3851730227470398, 0.007224441505968571, -0.29736483097076416, -0.33739933371543884, -0.4741095304489136, 0.12770193815231323, -0.053725168108940125, -0.48549768328666687, 0.028556348755955696, 0.14504390954971313, -0.0764227882027626, -0.13510552048683167, 0.16613471508026123, 0.0956740528345108, 0.09836021810770035, 0.47574809193611145, 0.08987678587436676, 0.649617075920105, 0.09597918391227722, 0.09209373593330383, 0.294138103723526, -0.13476285338401794, 0.09239722788333893, -0.12207978218793869, 0.09346132725477219, 0.26963555812835693, -0.005864843726158142, 0.11792901158332825, 0.3743893504142761, -0.08765409886837006, -0.27088138461112976, -0.36123746633529663, -0.2118176519870758, -0.369716078042984, -0.0655040368437767, 0.020777329802513123, 0.04732696712017059, 0.1790527105331421, -0.10590201616287231, -0.06612619012594223, 0.1132468581199646, -0.11247815936803818, 0.09331171214580536, 0.01224670559167862, 0.11231386661529541, 0.16065815091133118, -0.22367306053638458, 0.22676022350788116, 0.07469318807125092, 0.15064242482185364, -0.262580007314682, 0.21349622309207916, 0.07896243035793304, -0.05219675600528717, 0.21252062916755676, -0.07709860801696777, 0.8604611158370972, 0.15627683699131012, 0.40576618909835815, -0.004724274389445782, -0.3888847827911377, -0.4624471068382263, -0.04438148811459541, -0.17186950147151947, -0.13263188302516937, 0.3700011372566223, 0.5624523162841797, -0.6671713590621948, 0.008044612593948841, -0.055703215301036835, 0.42518389225006104, -0.16305208206176758, 0.23144151270389557, -0.25104427337646484, -0.008630231022834778, -0.24521423876285553, 0.24926304817199707, 0.14990264177322388, 0.2355266511440277, 0.18351484835147858, 0.07797937095165253, -0.25840458273887634, -0.1688099503517151, -0.15452440083026886, -0.032138947397470474, 0.3687662184238434, 0.01904922164976597, 0.2341667115688324, 0.14706020057201385, 0.2604341506958008, 0.316236674785614, 0.3924289643764496, 0.07942099869251251, -0.3245394825935364, 0.21000078320503235, 0.03884265199303627, 0.2573172152042389, -0.03158482909202576, -0.06758886575698853, -0.07653837651014328, -0.0724082663655281, 0.2677759826183319, -0.008653693832457066, 0.34093108773231506, -0.003360235132277012, -0.3936661183834076, -0.401915043592453, -0.5447619557380676, 0.32913073897361755, 0.09897837042808533, 0.04940815269947052, -0.08864238858222961, 0.15153086185455322, -0.20426034927368164, 0.1067950502038002, 0.13586407899856567, 0.8347004055976868, -0.2785412073135376, 0.04022958129644394, -0.5070895552635193, -0.4949473738670349, 0.625176727771759, -0.4981454014778137, -0.06937512010335922, -0.27566367387771606, -0.2974134683609009, -0.014863239601254463, -0.18773280084133148, -0.17761963605880737, 0.3293575048446655, 0.1519274264574051, 0.6179929971694946, -0.2171240597963333, 0.16076794266700745, 0.23476263880729675, 0.26203271746635437, 0.03472403436899185, 0.010019229725003242, -0.2590162456035614, -0.024566566571593285, -0.11912298202514648, -0.12134324014186859, 0.11485784500837326, -0.1832609325647354, 0.024593960493803024, -0.1454087346792221, 0.051445454359054565, 0.3463241159915924, -0.49854862689971924, -0.056125327944755554, -0.04303595796227455, -0.46283525228500366, 0.15723596513271332, 0.1968984156847, -0.029080554842948914, 0.15916971862316132, -0.2938574552536011, 0.10125360637903214, 0.13045638799667358, -0.14941070973873138, -0.2204560786485672, 0.25432130694389343, -0.24275651574134827, -0.13104116916656494, 0.12038706988096237, 0.12186673283576965, -0.22364751994609833, -0.03258572146296501, 0.011727362871170044, 0.23952460289001465, 0.3668614625930786, 0.017272649332880974, -0.21915899217128754, -0.24521318078041077, 0.08904577791690826, -0.20337478816509247, -0.0024722274392843246, 0.07004028558731079, -0.37538594007492065, 0.011533617973327637, 0.060271039605140686, -0.3048132658004761, -0.07932725548744202, 0.24509921669960022, 0.09817031025886536, 0.10009065270423889, 0.4187294840812683, 0.03285149857401848, -0.21800385415554047, -0.0699675977230072, -0.19682323932647705, 0.2002682387828827, -0.17304416000843048, -0.04700005054473877, -0.021089382469654083, 0.34322667121887207, 0.06538799405097961, -0.09658753871917725, 0.030488673597574234, -0.06479992717504501, 0.05335775390267372, -0.7273651361465454, -0.3135342597961426, 0.1196231096982956, -0.11397473514080048, 0.06881261616945267, 0.2819362282752991, -0.00606902502477169, -0.038426533341407776, -0.0026533491909503937, -0.11269119381904602, 0.5299540758132935, -0.16896219551563263, 0.4988076388835907, 0.24168424308300018, -0.00881434977054596, -0.07100339233875275, 0.20883628726005554, 0.04353587329387665, 0.12104778736829758, 0.013403328135609627, -0.062082644551992416, 0.05251830443739891, 0.18627780675888062, 0.06026187539100647, -0.03343365341424942, -0.2946634590625763, -0.2181759625673294, -0.18162457644939423, 0.08912014961242676, 0.05597516521811485, -0.042769044637680054, 0.21074503660202026, -0.09683474898338318, 0.6558966636657715, -0.07005193084478378, -0.7439848184585571, 0.1684017926454544, -0.299439936876297, -0.04413886368274689, 0.07439378648996353, 0.234502375125885, 0.20295876264572144, -0.0645153820514679, -0.31448179483413696, -0.18764916062355042, 0.28551316261291504, -0.07969871908426285, 0.16977478563785553, -0.0635460615158081, 0.1266072541475296, 0.3572651445865631, 0.22039362788200378, 0.8312153220176697, -0.03994043916463852, 0.0796089917421341, 0.5137097835540771, 0.08101256191730499, -0.1870327889919281, -0.13823047280311584, 0.1788264960050583, -0.15226221084594727, 0.02082398161292076, 0.22854703664779663, 0.037071872502565384, -0.2661884129047394, -0.3474123477935791, -0.05350107327103615, 0.3546713888645172, 0.2829413414001465, 0.038044024258852005, 0.4930744767189026, -0.03016773797571659, -0.31619325280189514, -0.19182652235031128, 0.3865600526332855, 0.10697900503873825, 0.41052186489105225, -0.055358536541461945, 0.036106109619140625, 0.1478949785232544, -0.20886695384979248, -0.26580771803855896, -0.4379187524318695, -0.10069502890110016, 0.6672475934028625, 0.16049350798130035, -0.09732808917760849, -0.35742855072021484, 0.161452054977417, 0.6136133670806885, -0.22218620777130127, -0.06768372654914856, 0.17720696330070496, 0.22180050611495972, 0.08872458338737488, 0.034594498574733734, -0.31311097741127014, -0.3230627775192261, 0.38856229186058044, -0.033304546028375626, -0.1504707932472229, -0.07229816913604736, 0.3474913239479065, 0.030219007283449173, -0.18695835769176483, -0.10453031212091446, 0.3285732865333557, 0.09033000469207764, -0.46784043312072754, 0.27208462357521057, -0.005938410758972168, -0.1587495356798172, 0.2837883234024048, -0.3143928349018097, 0.04919220134615898, 0.08972277492284775, -0.0557103268802166, -0.14613786339759827, 0.4324227273464203, 0.03526557236909866, -0.13771605491638184, -0.024454306811094284, 0.2689080238342285, 0.39436835050582886, 0.3464372158050537, 0.007880628108978271, -0.07303038984537125, -0.058397237211465836, -0.2381976991891861, -0.26169347763061523, -0.5649850964546204, 0.05390823259949684, 0.48675239086151123, -0.2251177728176117, -0.08250131458044052, -0.14305782318115234, -0.24219971895217896, -0.34552082419395447, -0.20377272367477417, 0.056314125657081604, 0.17916861176490784, 0.3677259385585785, -0.02904064580798149, -0.10621120035648346, 0.3574153482913971, 0.13043689727783203, -0.18763425946235657, -0.4556451141834259, -0.4057936668395996, -0.3004933297634125, 0.11511430889368057, -0.2821090817451477, -0.01040838472545147, 0.4287043511867523, 0.10872818529605865, 0.1706421673297882, 0.21967299282550812, -0.19691409170627594, 0.5193307399749756, -0.007585217710584402, 0.29928216338157654, -0.07300066947937012, -0.11738689243793488, 0.018347151577472687, 0.32600703835487366, -0.059697188436985016, -0.22554999589920044, 0.30060747265815735, -0.09302904456853867, -0.03412238135933876, 0.1839747428894043, -0.23074698448181152, -0.010186141356825829, -0.07951152324676514, 0.09601270407438278, 0.07575002312660217, 0.3890710175037384, -0.07460647821426392, 0.1699102371931076, 0.0517076700925827, -0.16084200143814087, -0.13464616239070892, 0.31922420859336853, -0.00009809061884880066, -0.15461809933185577, -0.16944165527820587, 0.10187128186225891, -0.32960715889930725, -0.0880669355392456, -0.11564094573259354, 0.05316241458058357, 0.029384983703494072, -0.3278975486755371, 0.37192174792289734, -0.027464190497994423, 0.2016904056072235, 0.12822161614894867, -0.19086772203445435, -0.38945481181144714, -0.1250407099723816, -0.3419468104839325, 0.4836384356021881, -0.42564699053764343, -0.35245373845100403, -0.19720204174518585, 0.3549257516860962, 0.3245878219604492, 0.2537391185760498, -0.04440023750066757, 0.2507402002811432, 0.5800773501396179, -0.17654559016227722, -0.26644471287727356, 0.04320855811238289, 0.02983887307345867, -0.19160108268260956, 0.022441718727350235, -0.12417641282081604, 0.3666037619113922, -0.2013765424489975, -0.24680136144161224, -0.268964946269989 ]
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
I see you did not use the "parquet" loader as I suggested in my code snippet above: https://github.com/huggingface/datasets/issues/6979#issuecomment-2182031415 Please try passing "parquet" instead of "llava-recap-cc3m/" to `load_dataset`, and the complete path to data files in `data_files`: ```python load_dataset("parquet", data_files="llava-recap-cc3m/data/train-001*-of-00314.parquet") ```
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more**
40
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more** I see you did not use the "parquet" loader as I suggested in my code snippet above: https://github.com/huggingface/datasets/issues/6979#issuecomment-2182031415 Please try passing "parquet" instead of "llava-recap-cc3m/" to `load_dataset`, and the complete path to data files in `data_files`: ```python load_dataset("parquet", data_files="llava-recap-cc3m/data/train-001*-of-00314.parquet") ```
[ -0.2230970561504364, -0.4434782862663269, 0.018715057522058487, 0.5514918565750122, 0.2665776312351227, 0.020668871700763702, -0.22446309030056, 0.4753492474555969, 0.1895524263381958, 0.06845717877149582, -0.11812357604503632, 0.06310565769672394, 0.04462011903524399, 0.4138282239437103, 0.09835943579673767, -0.028449222445487976, -0.06806155294179916, 0.34507840871810913, 0.17654991149902344, -0.13520553708076477, -0.2640729546546936, 0.018401429057121277, -0.12612977623939514, 0.015309125185012817, 0.1151556745171547, 0.28534191846847534, -0.00487339124083519, 0.050018612295389175, -0.3050478398799896, -0.16508366167545319, 0.2828153967857361, -0.38880306482315063, 0.2667037844657898, -0.03287728875875473, -0.00012440270802471787, -0.09464196115732193, 0.44109851121902466, -0.2877272665500641, -0.21481545269489288, -0.03669305145740509, -0.048042044043540955, -0.3233560621738434, 0.2413395196199417, -0.38916757702827454, -0.23535946011543274, -0.27926474809646606, -0.07675869762897491, -0.08328531682491302, 0.41922253370285034, 0.3154962658882141, 0.06867177784442902, -0.13376949727535248, 0.307766318321228, 0.23897680640220642, 0.3844469487667084, -0.29094576835632324, 0.13485069572925568, 0.07879451662302017, 0.6426105499267578, -0.0008290624246001244, 0.27243098616600037, -0.06851905584335327, 0.03154708445072174, 0.2593545913696289, -0.09085109084844589, 0.049711424857378006, 0.20982283353805542, -0.5454123020172119, 0.5248483419418335, 0.4565024673938751, 0.3803383708000183, 0.04304484650492668, -0.07214690744876862, -0.31368789076805115, -0.06501419097185135, -0.49703148007392883, -0.026267118752002716, 0.629547119140625, -0.12160059809684753, 0.13371673226356506, -0.21994203329086304, -0.26213157176971436, -0.14491935074329376, 0.2748774290084839, -0.28848183155059814, 0.1486385464668274, -0.12743714451789856, 0.09252583980560303, 0.1914854496717453, -0.0921783298254013, -0.14528138935565948, -0.04290701448917389, -0.04196419194340706, 0.34317100048065186, -0.3337074816226959, -0.21113966405391693, -0.36723965406417847, 0.2186451256275177, 0.36905398964881897, 0.1677866280078888, -0.11160323023796082, 0.22632303833961487, 0.17044603824615479, 0.1320406198501587, 0.37715235352516174, -0.19196484982967377, -0.2028214931488037, 0.06105193495750427, 0.10866306722164154, 0.04759878292679787, 0.06746119260787964, -0.13550516963005066, -0.18916521966457367, 0.03376106545329094, -0.4681245684623718, -0.16106846928596497, -0.05136852711439133, -0.3965893089771271, -0.01936911977827549, -0.13374784588813782, 0.10650717467069626, -0.05317404121160507, 0.058709099888801575, 0.0186062790453434, -0.08811844140291214, 0.365906685590744, -0.27787572145462036, 0.25248321890830994, -0.15303684771060944, -0.5841293334960938, -0.08645126968622208, 0.010535984300076962, -0.0667298287153244, -0.11980023235082626, 0.13912275433540344, -0.2891882061958313, 0.21891722083091736, 0.18102559447288513, 0.11688125133514404, -0.09510651230812073, 0.15931501984596252, -0.4440055191516876, -0.18159443140029907, 0.12680582702159882, 0.06425619125366211, 0.21678996086120605, 0.3200920522212982, 0.06978309154510498, -0.2057466208934784, 0.08227697014808655, -0.42751991748809814, -0.22518059611320496, 0.04129191115498543, 0.06057576462626457, -0.17549103498458862, 0.15093162655830383, -0.733317494392395, 0.26131507754325867, -0.04778655618429184, 0.18819382786750793, -0.23698469996452332, 0.002900950610637665, -0.2542957067489624, -0.14316426217556, 0.47362276911735535, 0.22517287731170654, -0.24137236177921295, -0.0289907269179821, 0.1073172390460968, -0.02273864671587944, 0.603446900844574, 0.3211228549480438, -0.41014963388442993, -0.24350443482398987, -0.18709607422351837, -0.10631373524665833, 0.4703516364097595, 0.12880145013332367, -0.10993210226297379, 0.5194516777992249, 0.05136055499315262, -0.26304158568382263, 0.12918800115585327, -0.1357668936252594, 0.3790092468261719, -0.06917505711317062, 0.09987043589353561, 0.4760187268257141, 0.03718262538313866, -0.02673945017158985, -0.29561570286750793, -0.4069959819316864, 0.19026009738445282, 0.35256725549697876, 0.153312087059021, 0.23481273651123047, 0.15729594230651855, -0.2498774528503418, 0.26895689964294434, -0.160084530711174, 0.27027103304862976, 0.26814740896224976, 0.12702862918376923, 0.4490302801132202, -0.046981170773506165, -0.24940001964569092, -0.27419236302375793, 0.2937333583831787, 0.06938958913087845, -0.5398697257041931, 0.20036756992340088, 0.18331854045391083, -0.08703415840864182, -0.24451614916324615, 0.09721183776855469, -0.027795985341072083, -0.030839726328849792, 0.028111640363931656, 0.10766594111919403, -0.21197405457496643, -0.3617096245288849, 0.19878749549388885, 0.018809320405125618, 0.1358184814453125, -0.2648550868034363, 0.3123501241207123, 0.21570533514022827, -0.052522726356983185, 0.3309609591960907, -0.2957918643951416, 0.41620340943336487, -0.24809414148330688, 0.09404453635215759, 0.1519787311553955, 0.1986401230096817, 0.0026509761810302734, 0.15024882555007935, 0.069195955991745, 0.12603311240673065, -0.12688769400119781, -0.03240446001291275, 0.074117012321949, 0.11690251529216766, 0.009002484381198883, -0.07253176718950272, 0.25830549001693726, 0.12528455257415771, 0.343595951795578, 0.020967043936252594, -0.08390017598867416, 0.22026631236076355, -0.1861889660358429, 0.13991527259349823, 0.13863107562065125, 0.3469867706298828, 0.19494567811489105, -0.051848404109478, 0.059887394309043884, -0.4150831699371338, -0.28208911418914795, 0.11287382245063782, -0.05778621882200241, -0.19234320521354675, 0.3542470335960388, -0.223929762840271, -0.09083054214715958, -0.24891260266304016, -0.1056772768497467, -0.048408687114715576, 0.23877377808094025, 0.12607567012310028, -0.035786278545856476, 0.5617445111274719, 0.06278721243143082, 0.1569126546382904, 0.2969028353691101, -0.1975514441728592, 0.05426882952451706, -0.022548770532011986, -0.1502627730369568, -0.0417281799018383, 0.24503275752067566, 0.21418960392475128, 0.14313383400440216, -0.21453963220119476, -0.07787102460861206, -0.23036955296993256, 0.03543110191822052, -0.17033366858959198, 0.27949798107147217, -0.08840347826480865, 0.02378080226480961, -0.10220587253570557, 0.1616964191198349, 0.21224984526634216, -0.1759858876466751, -0.404489129781723, 0.14120225608348846, -0.19918058812618256, -0.3245809078216553, -0.26262152194976807, -0.12643757462501526, -0.24146926403045654, 0.026355981826782227, 0.15868434309959412, 0.20341743528842926, 0.014827804639935493, -0.1905042976140976, -0.18197883665561676, -0.3182007670402527, -0.0724407285451889, -0.06752070039510727, 0.030711859464645386, 0.03911459445953369, 0.06771787256002426, 0.471957266330719, -0.03646989166736603, 0.05409320443868637, 0.08040861785411835, -0.00772235170006752, -0.048715926706790924, 0.08981727063655853, 0.04617127776145935, 0.49404892325401306, 0.0273471437394619, -0.1308213770389557, -0.23881863057613373, -0.28309765458106995, 0.3508160710334778, 0.563936710357666, 0.06513049453496933, -0.4249206483364105, -0.17429803311824799, -0.3772365152835846, -0.004554706159979105, 0.09298352897167206, 0.037580456584692, -0.3459942936897278, 0.40920111536979675, 0.22903992235660553, -0.3044188916683197, 0.11084295809268951, -0.0389995314180851, -0.15237316489219666, 0.2796357274055481, -0.4136964678764343, -0.07983679324388504, -0.2699321210384369, -0.31400805711746216, -0.463093101978302, 0.20760609209537506, -0.08740226924419403, -0.5381176471710205, 0.04009813070297241, 0.12174975126981735, -0.10571964085102081, -0.20969441533088684, 0.14051516354084015, 0.14886856079101562, 0.11440644413232803, 0.4259668290615082, -0.004995632916688919, 0.5454953908920288, 0.038874272257089615, 0.16702868044376373, 0.3534042537212372, -0.014099543914198875, 0.103522390127182, -0.15565991401672363, 0.07404757291078568, 0.2777780592441559, 0.029205888509750366, 0.16973328590393066, 0.41595351696014404, -0.02454754337668419, -0.22504009306430817, -0.37924546003341675, -0.32272058725357056, -0.3669450581073761, -0.048417866230010986, -0.02059588022530079, 0.16754895448684692, 0.08856455236673355, -0.14566168189048767, -0.15296269953250885, 0.09278859198093414, -0.11554278433322906, 0.07412919402122498, 0.07429824024438858, 0.1470479667186737, 0.17655892670154572, -0.23405538499355316, 0.2713194787502289, 0.06541356444358826, 0.17933225631713867, -0.3823775053024292, 0.14042919874191284, 0.1061682254076004, -0.025544781237840652, 0.22163532674312592, -0.027579400688409805, 0.8449508547782898, 0.23330895602703094, 0.450306236743927, -0.03301895409822464, -0.3875986635684967, -0.5152567625045776, -0.004669666290283203, -0.14282675087451935, -0.07937747985124588, 0.3584430515766144, 0.5312884449958801, -0.6565876603126526, 0.006151665933430195, -0.11288775503635406, 0.4439307749271393, -0.1127203106880188, 0.12827913463115692, -0.2717278301715851, -0.053327709436416626, -0.2614549994468689, 0.24121835827827454, 0.15494059026241302, 0.2518242299556732, 0.21417385339736938, 0.16522857546806335, -0.28440919518470764, -0.211607426404953, -0.15176589787006378, -0.0664626806974411, 0.2848413586616516, 0.08079352229833603, 0.22278103232383728, 0.18614037334918976, 0.25343891978263855, 0.2562500834465027, 0.3954044580459595, 0.037955496460199356, -0.4122151732444763, 0.22149187326431274, 0.09448055922985077, 0.27560773491859436, -0.13239037990570068, -0.015195740386843681, -0.03573078662157059, -0.07247259467840195, 0.2372656613588333, -0.11730469018220901, 0.3051554262638092, -0.1015780121088028, -0.2995184361934662, -0.3793317973613739, -0.55535888671875, 0.4005611538887024, 0.0929512083530426, 0.04249046742916107, -0.03203754127025604, 0.27096453309059143, -0.19857650995254517, 0.09933385998010635, 0.10676120221614838, 0.7933569550514221, -0.2547752261161804, 0.0534200556576252, -0.5098494291305542, -0.4656004309654236, 0.5428738594055176, -0.43749356269836426, -0.12451957166194916, -0.2808072865009308, -0.2975142300128937, -0.041894856840372086, -0.16946940124034882, -0.14915528893470764, 0.29918044805526733, 0.18731223046779633, 0.6362072825431824, -0.1773611605167389, 0.06020618602633476, 0.24185875058174133, 0.2537115216255188, 0.06394490599632263, -0.011401180177927017, -0.32554516196250916, 0.01010088250041008, -0.11851467192173004, -0.03177730366587639, 0.1538088619709015, -0.19054067134857178, 0.015350494533777237, -0.14112824201583862, 0.09919586777687073, 0.2726871073246002, -0.46449288725852966, -0.1390373259782791, -0.008228853344917297, -0.4404888153076172, 0.1469734162092209, 0.25017932057380676, 0.04721386730670929, 0.14586926996707916, -0.30963611602783203, 0.018501458689570427, 0.043189793825149536, -0.15782824158668518, -0.27151572704315186, 0.2348322719335556, -0.34431108832359314, -0.11105059832334518, 0.09373196214437485, 0.07879768311977386, -0.1279800683259964, -0.03308180719614029, 0.03833143413066864, 0.3648297190666199, 0.2719404697418213, -0.015059251338243484, -0.2890089750289917, -0.2544965445995331, 0.18406279385089874, -0.13403183221817017, 0.0003228820860385895, 0.2218693047761917, -0.3843289017677307, -0.007473893463611603, 0.10598000884056091, -0.291698694229126, -0.07324327528476715, 0.277087926864624, 0.06699246913194656, -0.00345442071557045, 0.32175499200820923, 0.011626660823822021, -0.24238961935043335, -0.04704402759671211, -0.19557365775108337, 0.19360336661338806, -0.09563380479812622, -0.1268177479505539, 0.07093147933483124, 0.3476462960243225, 0.002540920628234744, -0.03236911818385124, 0.012937415391206741, -0.16735833883285522, 0.09940429031848907, -0.7345637083053589, -0.3501059412956238, 0.13622261583805084, -0.09520633518695831, 0.011740133166313171, 0.3552563488483429, -0.11594142019748688, 0.0017457101494073868, -0.000616852194070816, -0.11255553364753723, 0.558434784412384, -0.08513789623975754, 0.48082107305526733, 0.3508152663707733, 0.013860311359167099, -0.04831371828913689, 0.20990705490112305, 0.016684068366885185, 0.08699855208396912, -0.05972074717283249, -0.07739520072937012, 0.05811933055520058, 0.17433354258537292, 0.05499497056007385, -0.07789348810911179, -0.2888558804988861, -0.22595392167568207, -0.174187570810318, 0.050184402614831924, 0.0586724691092968, -0.017667733132839203, 0.2326146513223648, -0.09708936512470245, 0.6804551482200623, -0.07668132334947586, -0.7291564345359802, 0.18699531257152557, -0.2199769914150238, 0.0007481500506401062, 0.11668799072504044, 0.17030781507492065, 0.17000283300876617, -0.02799113467335701, -0.28456738591194153, -0.1670999825000763, 0.3434315621852875, -0.07252804189920425, 0.1283711940050125, -0.03305847942829132, 0.16547603905200958, 0.4253586530685425, 0.19948935508728027, 0.6951038241386414, -0.11015038192272186, 0.12047286331653595, 0.4970320463180542, 0.08499912917613983, -0.2009405940771103, -0.16913223266601562, 0.27573856711387634, -0.07458066195249557, -0.0020333044230937958, 0.21768689155578613, 0.04982355609536171, -0.24877269566059113, -0.35459470748901367, -0.13648951053619385, 0.40996915102005005, 0.312187135219574, -0.007631270214915276, 0.37820568680763245, -0.0136246457695961, -0.3336692750453949, -0.10011724382638931, 0.48480039834976196, 0.07077302038669586, 0.457932710647583, -0.0654233917593956, 0.018124721944332123, 0.17497554421424866, -0.18103735148906708, -0.2803199887275696, -0.47338899970054626, -0.020492475479841232, 0.6736664175987244, 0.19503623247146606, -0.11479151993989944, -0.34666404128074646, 0.08792999386787415, 0.6334002017974854, -0.20379716157913208, 0.016466571018099785, 0.17100544273853302, 0.2596108913421631, 0.097629114985466, 0.07671736925840378, -0.2665857970714569, -0.21502399444580078, 0.3779333829879761, -0.035238493233919144, -0.20000387728214264, -0.0960630476474762, 0.32899415493011475, 0.0026651471853256226, -0.15072943270206451, -0.17884543538093567, 0.39385199546813965, 0.06766672432422638, -0.39516180753707886, 0.2790940999984741, -0.010720238089561462, -0.12189693748950958, 0.29215943813323975, -0.27297160029411316, 0.0031579062342643738, 0.04924077168107033, 0.0264337956905365, -0.08011780679225922, 0.33343732357025146, 0.043158434331417084, -0.18450136482715607, -0.021930191665887833, 0.22139590978622437, 0.42837652564048767, 0.3212755024433136, 0.02317477948963642, -0.05283677205443382, -0.050617609173059464, -0.23066671192646027, -0.24149483442306519, -0.5579895973205566, -0.04312334209680557, 0.4455273747444153, -0.20491710305213928, -0.15322157740592957, -0.2309185266494751, -0.2155803143978119, -0.2432597130537033, -0.19896942377090454, 0.11440679430961609, 0.16799911856651306, 0.4045499861240387, -0.02442649006843567, -0.07201029360294342, 0.2883927822113037, 0.19000479578971863, -0.0986534133553505, -0.4574061632156372, -0.3906773328781128, -0.26260459423065186, 0.12491268664598465, -0.26682916283607483, 0.02606983669102192, 0.4184035062789917, 0.07046360522508621, 0.2622072994709015, 0.28104478120803833, -0.23132063448429108, 0.4791721999645233, 0.05675581097602844, 0.28306078910827637, -0.00832885131239891, -0.15006257593631744, 0.07806597650051117, 0.4054459035396576, -0.040984660387039185, -0.17607229948043823, 0.2790496051311493, -0.104380302131176, -0.006735265254974365, 0.11279048770666122, -0.16932637989521027, -0.07317042350769043, -0.050914131104946136, 0.05894976854324341, 0.0511932447552681, 0.3581223785877228, -0.10131922364234924, 0.12409207969903946, 0.10970662534236908, -0.04934104532003403, -0.18883921205997467, 0.31040140986442566, -0.0369727648794651, -0.21823002398014069, -0.22223269939422607, 0.027454480528831482, -0.2970321476459503, -0.022123150527477264, -0.19893500208854675, 0.0539260134100914, -0.045777685940265656, -0.32861393690109253, 0.37470507621765137, -0.10832829028367996, 0.07990121096372604, 0.12867103517055511, -0.23460832238197327, -0.35187092423439026, -0.11485572904348373, -0.19859714806079865, 0.4835730493068695, -0.4363250136375427, -0.285015732049942, -0.18628938496112823, 0.35225722193717957, 0.2408987283706665, 0.23250436782836914, -0.10762837529182434, 0.3230036497116089, 0.5717781782150269, -0.10190597921609879, -0.23803827166557312, 0.1008257120847702, 0.053215812891721725, -0.24334381520748138, 0.016385499387979507, -0.05517587065696716, 0.4621210992336273, -0.16205091774463654, -0.22889886796474457, -0.30506443977355957 ]
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
Let me explain that you get the error because of this content within the `dataset_info` YAML tag in the `llava-recap-cc3m/README.md`: ``` - name: train num_bytes: 156885281898.75 num_examples: 3199866 ``` By default, if there is that content in the README file, `load_dataset` performs a basic check to verify it the generated number of examples matches the expected one and raises a `NonMatchingSplitsSizesError` if that is not the case. You can avoid this basic check by passing `verification_mode="no_checks"`: ```python load_dataset("llava-recap-cc3m/", data_files="data/train-0000*-of-00314.parquet", verification_mode="no_checks") ```
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more**
81
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more** Let me explain that you get the error because of this content within the `dataset_info` YAML tag in the `llava-recap-cc3m/README.md`: ``` - name: train num_bytes: 156885281898.75 num_examples: 3199866 ``` By default, if there is that content in the README file, `load_dataset` performs a basic check to verify it the generated number of examples matches the expected one and raises a `NonMatchingSplitsSizesError` if that is not the case. You can avoid this basic check by passing `verification_mode="no_checks"`: ```python load_dataset("llava-recap-cc3m/", data_files="data/train-0000*-of-00314.parquet", verification_mode="no_checks") ```
[ -0.2922307550907135, -0.48077696561813354, 0.06674700975418091, 0.5589855313301086, 0.2602847218513489, 0.1175428107380867, -0.2198028415441513, 0.49307647347450256, 0.09347422420978546, 0.07749490439891815, 0.004213159903883934, 0.0609835684299469, -0.039214424788951874, 0.27872705459594727, 0.08498001098632812, 0.10966465622186661, -0.10372943431138992, 0.3475571870803833, 0.1717487871646881, -0.05412500351667404, -0.3007211983203888, 0.036003172397613525, -0.160793274641037, 0.0004666745662689209, 0.01988823339343071, 0.2751666009426117, 0.021397849544882774, 0.10315442085266113, -0.18530049920082092, -0.31352630257606506, 0.33136099576950073, -0.4856381118297577, 0.20294813811779022, -0.13391411304473877, -0.00012900786532554775, -0.07158096879720688, 0.5212306976318359, -0.3263551890850067, -0.2238709032535553, -0.13117675483226776, -0.19978177547454834, -0.3460672199726105, 0.20416776835918427, -0.3439037501811981, -0.1982797086238861, -0.12839998304843903, -0.011106392368674278, -0.17719632387161255, 0.4931067228317261, 0.39013776183128357, 0.019707713276147842, -0.14922772347927094, 0.1727212518453598, 0.21368297934532166, 0.5036868453025818, -0.32433629035949707, 0.11281339079141617, -0.014508699998259544, 0.5979182720184326, -0.1192847490310669, 0.2863399386405945, 0.03993111476302147, -0.06872518360614777, 0.23677027225494385, 0.006357632577419281, 0.033332500606775284, 0.43011537194252014, -0.4573768973350525, 0.5054356455802917, 0.5195143818855286, 0.5507011413574219, -0.03272067755460739, -0.05688188225030899, -0.4107120931148529, -0.12324453145265579, -0.4943560063838959, 0.0007489994168281555, 0.6781089901924133, -0.1318473368883133, 0.10964138805866241, -0.21696586906909943, -0.20617224276065826, -0.16272667050361633, 0.15593622624874115, -0.16799268126487732, 0.21048080921173096, 0.016752833500504494, 0.11374370753765106, 0.19810926914215088, -0.05990941822528839, 0.14310164749622345, 0.0555381216108799, -0.08038643002510071, 0.38147926330566406, -0.31635811924934387, -0.16417334973812103, -0.3408454954624176, 0.14196297526359558, 0.4086974859237671, 0.13715651631355286, 0.013899030163884163, 0.21428757905960083, 0.3291518986225128, 0.20251190662384033, 0.3858993649482727, -0.1859211027622223, -0.10905274003744125, 0.16163988411426544, -0.045993730425834656, 0.09308522939682007, 0.12855398654937744, -0.11562525480985641, -0.11704719066619873, -0.02086835354566574, -0.37990161776542664, -0.04341473430395126, -0.020176086574792862, -0.4794655442237854, -0.19319263100624084, -0.0702371820807457, -0.11645001918077469, -0.11693927645683289, -0.03569784387946129, 0.056970663368701935, -0.14047665894031525, 0.3117921054363251, -0.2762368619441986, 0.23283244669437408, -0.21333527565002441, -0.4986228346824646, -0.07844988256692886, 0.08277669548988342, -0.11227470636367798, -0.08483131974935532, 0.09745378792285919, -0.18634696304798126, 0.2687382996082306, 0.0904575064778328, 0.08856301009654999, -0.09112004935741425, 0.29050159454345703, -0.410935640335083, -0.2761628329753876, 0.09823401272296906, 0.0008901841938495636, 0.18094807863235474, 0.342987060546875, -0.07740182429552078, -0.2586415112018585, 0.12125687301158905, -0.37301257252693176, -0.33033064007759094, 0.2115100622177124, 0.06227149814367294, -0.2249058037996292, 0.16302308440208435, -0.44024065136909485, 0.23168984055519104, 0.09182558208703995, 0.032579582184553146, -0.2933855652809143, 0.015311621129512787, -0.19228370487689972, -0.15214063227176666, 0.38060879707336426, 0.38548123836517334, -0.20971623063087463, -0.09959545731544495, 0.13518217206001282, 0.05527111142873764, 0.6427027583122253, 0.2985670566558838, -0.38098302483558655, -0.30719631910324097, -0.18367521464824677, 0.03315821290016174, 0.41175559163093567, -0.017509883269667625, -0.19629912078380585, 0.5437328815460205, 0.1015763133764267, -0.09058908373117447, 0.19616839289665222, -0.08327604830265045, 0.3511716425418854, -0.10660754144191742, 0.10980542749166489, 0.3897821307182312, -0.020236527547240257, -0.14898884296417236, -0.4358062148094177, -0.41986337304115295, 0.28786590695381165, 0.25701600313186646, 0.1384611576795578, 0.13759556412696838, 0.1782839596271515, -0.00631949957460165, 0.22451359033584595, -0.14444051682949066, 0.2291346788406372, 0.30898070335388184, 0.13289105892181396, 0.4121866822242737, -0.06254015117883682, -0.2366156280040741, -0.3195594251155853, 0.2873592972755432, -0.038801588118076324, -0.433441162109375, 0.15613703429698944, 0.0613994225859642, -0.15189161896705627, -0.2543911933898926, 0.09441187232732773, -0.16277919709682465, -0.07895320653915405, 0.042681075632572174, 0.08808436989784241, -0.19467012584209442, -0.28525057435035706, 0.3967602252960205, 0.07353340089321136, 0.08265065401792526, -0.3246150314807892, 0.3129170536994934, 0.19384481012821198, -0.09688900411128998, 0.3590455949306488, -0.19669878482818604, 0.5043174624443054, -0.21406520903110504, 0.09735701233148575, 0.2579980492591858, 0.21842648088932037, 0.05918607860803604, 0.060626015067100525, 0.0894978791475296, 0.20446600019931793, -0.22849231958389282, -0.02627362497150898, 0.07498522847890854, 0.07781269401311874, 0.019788451492786407, -0.10814587026834488, 0.22782030701637268, 0.1262698620557785, 0.36278635263442993, 0.04846269637346268, -0.040014855563640594, 0.22901606559753418, -0.22976620495319366, 0.018573658540844917, 0.0036125853657722473, 0.4367513358592987, 0.1974632292985916, -0.1658015251159668, 0.038087598979473114, -0.4084687829017639, -0.32493457198143005, 0.18326318264007568, -0.050435829907655716, -0.1376609206199646, 0.2906348705291748, -0.2116929292678833, -0.07626187801361084, -0.18581056594848633, 0.049743372946977615, -0.04197235405445099, 0.21436646580696106, 0.05395616218447685, 0.0604282021522522, 0.32698750495910645, 0.05294310301542282, 0.09757617115974426, 0.26033252477645874, -0.025840481743216515, 0.14741787314414978, -0.07500356435775757, -0.07053402811288834, -0.06297029554843903, 0.18246443569660187, 0.2391912341117859, 0.22290851175785065, -0.2933861315250397, -0.0623529776930809, -0.32934755086898804, -0.000688694417476654, -0.24565058946609497, 0.38694846630096436, -0.1445852369070053, -0.03869955986738205, -0.05974423140287399, 0.11721569299697876, 0.17004802823066711, -0.06945616006851196, -0.32861578464508057, 0.10704070329666138, -0.24401113390922546, -0.27492839097976685, -0.23239026963710785, -0.27860501408576965, -0.2547304928302765, -0.03126143291592598, 0.21866028010845184, 0.15476056933403015, 0.0680982694029808, -0.37081822752952576, -0.2344142496585846, -0.3025941252708435, -0.11897613108158112, -0.015970900654792786, 0.06717809289693832, 0.10218333452939987, 0.17355306446552277, 0.3593701720237732, -0.043818846344947815, 0.058292925357818604, 0.09127658605575562, 0.05174262821674347, -0.051233746111392975, 0.15019290149211884, 0.10533001273870468, 0.47242993116378784, 0.047026585787534714, -0.17842450737953186, -0.25329288840293884, -0.2725795805454254, 0.1814243048429489, 0.5874625444412231, 0.1531718373298645, -0.3495446443557739, -0.1409359574317932, -0.3690572679042816, -0.057222407311201096, 0.08737511932849884, 0.005531361326575279, -0.18561606109142303, 0.3933201730251312, 0.24774926900863647, -0.2843632698059082, 0.17829841375350952, -0.06789982318878174, -0.0643976479768753, 0.4043760299682617, -0.48956483602523804, -0.06573579460382462, -0.20636579394340515, -0.4127574861049652, -0.48757922649383545, 0.12968756258487701, 0.0737353265285492, -0.33011162281036377, 0.07907223701477051, 0.08535230904817581, -0.16629883646965027, -0.1796162724494934, 0.20873388648033142, 0.25830450654029846, 0.13552166521549225, 0.5397135019302368, 0.0841832309961319, 0.667097270488739, 0.12308226525783539, 0.19917213916778564, 0.31870272755622864, -0.060329414904117584, 0.009665437042713165, -0.10008891671895981, 0.11665064096450806, 0.24022094905376434, 0.0004788041114807129, 0.11673814058303833, 0.320882111787796, -0.09327682852745056, -0.21988125145435333, -0.3857198655605316, -0.2304697185754776, -0.4314464330673218, 0.015392672270536423, 0.04565875977277756, 0.06657924503087997, 0.18337327241897583, -0.002022126689553261, -0.05168944224715233, 0.0921131819486618, -0.15004542469978333, 0.04678632318973541, 0.09554677456617355, 0.1739201545715332, 0.18616126477718353, -0.07799191027879715, 0.321571946144104, 0.005934007465839386, 0.3070873022079468, -0.295305073261261, 0.1593017578125, 0.07387515902519226, -0.08463005721569061, 0.19618725776672363, -0.16444003582000732, 0.7689140439033508, 0.0500468872487545, 0.37779921293258667, 0.027700070291757584, -0.3316662013530731, -0.5563303828239441, -0.08004393428564072, -0.18543793261051178, -0.07626271992921829, 0.27445775270462036, 0.491422563791275, -0.7580282092094421, 0.025197070091962814, -0.21722109615802765, 0.401033490896225, -0.12363670766353607, 0.26442044973373413, -0.285713255405426, -0.12130884826183319, -0.38229691982269287, 0.2178616225719452, 0.12983737885951996, 0.29265815019607544, 0.2811819612979889, 0.1713588535785675, -0.2869790494441986, -0.17580580711364746, -0.06322796642780304, -0.056819215416908264, 0.38525307178497314, 0.012579924426972866, 0.2525170147418976, 0.12684956192970276, 0.4165205657482147, 0.2814887762069702, 0.4040277302265167, 0.08868040144443512, -0.34500762820243835, 0.1350051462650299, 0.09609679877758026, 0.21988478302955627, 0.00621524453163147, 0.026539400219917297, -0.06609240919351578, -0.02992888167500496, 0.1428331434726715, -0.10807357728481293, 0.2774125039577484, -0.0804397463798523, -0.25306597352027893, -0.4588623046875, -0.5908795595169067, 0.38937291502952576, 0.14020250737667084, 0.009689033031463623, -0.09348475933074951, 0.10343972593545914, -0.22846806049346924, 0.05321763455867767, 0.3064514696598053, 0.9859201908111572, -0.24382050335407257, 0.0415077842772007, -0.4992554485797882, -0.5033328533172607, 0.5906312465667725, -0.5578240752220154, 0.052986469119787216, -0.2908412218093872, -0.26746243238449097, -0.06596983224153519, -0.20533894002437592, 0.00047231465578079224, 0.25852084159851074, 0.07770366966724396, 0.6086809635162354, -0.153830885887146, 0.01616726629436016, 0.229526549577713, 0.230560302734375, -0.03331941366195679, 0.04058056324720383, -0.2600691318511963, -0.06040645390748978, -0.18664854764938354, 0.01599033549427986, 0.06793595850467682, -0.17736805975437164, -0.012846536934375763, -0.23622187972068787, -0.025582946836948395, 0.31291908025741577, -0.47974422574043274, -0.18696288764476776, -0.0609823502600193, -0.4225168824195862, 0.18100431561470032, 0.2163013368844986, -0.015706703066825867, 0.09679807722568512, -0.35096535086631775, 0.15415263175964355, 0.030075110495090485, -0.1866355836391449, -0.1724695861339569, 0.2869214117527008, -0.2897716760635376, -0.1697121560573578, 0.09880726784467697, 0.1549997180700302, -0.17360293865203857, -0.08448982983827591, 0.03358778357505798, 0.19122260808944702, 0.337174654006958, -0.044767946004867554, -0.305708110332489, -0.124555304646492, 0.11373721063137054, -0.17074643075466156, -0.028913181275129318, 0.1642594337463379, -0.41075608134269714, 0.0240195132791996, -0.0009190142154693604, -0.292695015668869, -0.0937664806842804, 0.28064027428627014, 0.12560780346393585, -0.004182677716016769, 0.32657018303871155, -0.02537914365530014, -0.2610146403312683, -0.08048909902572632, -0.23572295904159546, 0.16714273393154144, -0.11568716168403625, -0.06823396682739258, -0.04059413820505142, 0.2490004152059555, 0.061954647302627563, 0.043424442410469055, 0.1727771908044815, -0.037735775113105774, 0.09974324703216553, -0.7747119069099426, -0.29138314723968506, 0.20000115036964417, -0.053262125700712204, 0.0344017818570137, 0.1803775429725647, -0.06254756450653076, -0.06233319640159607, 0.08027496188879013, -0.10079312324523926, 0.473455548286438, -0.15900564193725586, 0.5250614881515503, 0.3432772159576416, 0.040640078485012054, -0.02909475564956665, 0.20646686851978302, -0.006346048787236214, 0.17301905155181885, -0.09660376608371735, -0.037690669298172, 0.05663495883345604, 0.21250686049461365, 0.018476814031600952, -0.16138331592082977, -0.29420965909957886, -0.23462745547294617, -0.14053840935230255, 0.05374593660235405, -0.015797384083271027, -0.02838883176445961, 0.11286720633506775, -0.0187830850481987, 0.6180177330970764, -0.05268426239490509, -0.7297670245170593, 0.12025521695613861, -0.2634401321411133, 0.03427862003445625, 0.03144451230764389, 0.16489537060260773, 0.22456690669059753, 0.0017653405666351318, -0.20898844301700592, -0.142194926738739, 0.29355859756469727, -0.07445206493139267, 0.15915395319461823, -0.10232199728488922, 0.18031372129917145, 0.4497445225715637, 0.15480849146842957, 0.7649433612823486, -0.11167100816965103, 0.043606989085674286, 0.5666058659553528, 0.050128236413002014, -0.29737740755081177, -0.1930018961429596, 0.25440892577171326, -0.16038888692855835, -0.034926801919937134, 0.234706848859787, 0.08889925479888916, -0.21150623261928558, -0.35543859004974365, -0.026980416849255562, 0.4994260370731354, 0.20592623949050903, 0.0391106978058815, 0.5460518598556519, -0.02974548004567623, -0.2604399621486664, -0.21437911689281464, 0.34041541814804077, 0.1420065462589264, 0.41424548625946045, -0.2237427830696106, 0.04772315174341202, 0.12258508056402206, -0.0838482528924942, -0.3767574727535248, -0.4787191152572632, 0.03242350369691849, 0.7858203649520874, 0.29985976219177246, 0.023684069514274597, -0.2650318741798401, 0.12102852761745453, 0.6478959918022156, -0.1765899807214737, -0.03673684597015381, 0.13552017509937286, 0.21417564153671265, 0.06881801784038544, 0.06611929833889008, -0.30839887261390686, -0.2710152864456177, 0.35973790287971497, -0.008842714130878448, -0.14177905023097992, 0.009000763297080994, 0.2328566163778305, 0.010657034814357758, -0.11001920700073242, -0.11303137987852097, 0.315874308347702, 0.05604977533221245, -0.4955095052719116, 0.23331794142723083, -0.07805070281028748, -0.1842401623725891, 0.2914969027042389, -0.1962052285671234, 0.045614875853061676, 0.10352317988872528, -0.16853652894496918, -0.020235922187566757, 0.3547345697879791, 0.08247704058885574, -0.050650399178266525, 0.07729049026966095, 0.2705862522125244, 0.2984122037887573, 0.2677861452102661, -0.05695706605911255, -0.017312271520495415, 0.031916700303554535, -0.2366640716791153, -0.3004469573497772, -0.4790791869163513, -0.10710305720567703, 0.40287286043167114, -0.07966051995754242, -0.038227953016757965, -0.042049698531627655, -0.22158074378967285, -0.2711227536201477, -0.11321309208869934, 0.12924431264400482, 0.19886335730552673, 0.43535465002059937, -0.04164963588118553, -0.16067932546138763, 0.27375516295433044, 0.17892859876155853, -0.17958661913871765, -0.48694831132888794, -0.3275562524795532, -0.45403701066970825, 0.14508730173110962, -0.4280647933483124, -0.140229731798172, 0.4483366012573242, 0.09734812378883362, 0.19969476759433746, 0.27419325709342957, -0.1706705242395401, 0.6265144348144531, 0.062398843467235565, 0.29809021949768066, -0.08284745365381241, -0.19814032316207886, 0.10107900202274323, 0.30669966340065, 0.008773226290941238, -0.20118355751037598, 0.29470130801200867, -0.014964718371629715, -0.030311057344079018, 0.08143678307533264, -0.16067668795585632, -0.010032614693045616, 0.06934040784835815, 0.10885462909936905, 0.11181679368019104, 0.3981364667415619, -0.11760225892066956, 0.08861235529184341, 0.12006863951683044, -0.08465483039617538, -0.14000765979290009, 0.33382654190063477, 0.02826327458024025, -0.2010514885187149, -0.28971296548843384, 0.17799904942512512, -0.36642009019851685, 0.021598704159259796, -0.10308411717414856, 0.028405936434864998, -0.05487216264009476, -0.33738234639167786, 0.36183926463127136, -0.045532308518886566, 0.013428314588963985, 0.11977697163820267, -0.16042497754096985, -0.3220037519931793, -0.16730284690856934, -0.26021018624305725, 0.5655325651168823, -0.38589420914649963, -0.26800453662872314, -0.15371590852737427, 0.3552924394607544, 0.24755045771598816, 0.22399760782718658, -0.15309423208236694, 0.19877973198890686, 0.5523184537887573, -0.06609687209129333, -0.26982346177101135, 0.011518209241330624, 0.05827176943421364, -0.33392533659935, -0.019229698926210403, -0.18244510889053345, 0.4041004180908203, -0.18353326618671417, -0.18371988832950592, -0.3026798367500305 ]
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
And please, next time you have an issue, please fill the Bug template issue with all the necessary information: https://github.com/huggingface/datasets/issues/new?assignees=&labels=&projects=&template=bug-report.yml Otherwise it is very difficult for us to understand the underlying problem and to propose a pertinent solution.
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more**
38
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more** And please, next time you have an issue, please fill the Bug template issue with all the necessary information: https://github.com/huggingface/datasets/issues/new?assignees=&labels=&projects=&template=bug-report.yml Otherwise it is very difficult for us to understand the underlying problem and to propose a pertinent solution.
[ -0.20022131502628326, -0.5131793022155762, 0.005359511822462082, 0.5359086990356445, 0.25890177488327026, 0.019373200833797455, -0.16990987956523895, 0.4545104503631592, 0.18223203718662262, 0.09800265729427338, -0.12148509174585342, -0.04475770145654678, 0.054107774049043655, 0.503585159778595, 0.13419514894485474, -0.08617354929447174, 0.0024694427847862244, 0.3300929069519043, 0.12580324709415436, -0.10048337280750275, -0.24380362033843994, 0.057968854904174805, -0.09370460361242294, 0.06059171259403229, 0.050678834319114685, 0.22630389034748077, -0.01756409928202629, 0.07998885214328766, -0.2928953766822815, -0.08249547332525253, 0.26885712146759033, -0.3628823459148407, 0.16622117161750793, -0.045549921691417694, -0.00012769123713951558, -0.04830942302942276, 0.4083491563796997, -0.23309104144573212, -0.17576736211776733, -0.007135272026062012, -0.023570261895656586, -0.2561975121498108, 0.16860082745552063, -0.34138548374176025, -0.22566840052604675, -0.2191888689994812, 0.0375194288790226, -0.07354222238063812, 0.47962862253189087, 0.24443328380584717, 0.03673538565635681, -0.06452815234661102, 0.23245735466480255, 0.17624640464782715, 0.39081844687461853, -0.17478585243225098, 0.17070165276527405, 0.14307045936584473, 0.6102957725524902, 0.005160534754395485, 0.17875584959983826, -0.06464141607284546, 0.12484051287174225, 0.1731135994195938, -0.05821787565946579, 0.024728156626224518, 0.13783472776412964, -0.5395594835281372, 0.4544401466846466, 0.5491936802864075, 0.4051021635532379, 0.10191550850868225, -0.08260912448167801, -0.3493647873401642, -0.1041366457939148, -0.314100980758667, 0.02050904929637909, 0.570000171661377, -0.14938463270664215, 0.18078798055648804, -0.289863646030426, -0.29123854637145996, -0.16943217813968658, 0.24512551724910736, -0.24032455682754517, 0.05142107233405113, -0.11290634423494339, 0.07318998873233795, 0.27152180671691895, -0.1311071366071701, -0.28446829319000244, 0.023286443203687668, -0.0629178136587143, 0.30574795603752136, -0.24153055250644684, -0.21970094740390778, -0.3673391342163086, 0.20466488599777222, 0.46846386790275574, 0.11747211217880249, -0.15383894741535187, 0.27304425835609436, 0.1655285805463791, 0.1408064365386963, 0.44966763257980347, -0.16858991980552673, -0.1536026895046234, -0.06696514785289764, 0.1526269018650055, 0.09777866303920746, 0.09942665696144104, -0.12402959913015366, -0.19255928695201874, -0.03441354259848595, -0.6197502017021179, -0.26812487840652466, -0.07851877808570862, -0.4193418323993683, 0.03464759886264801, -0.15760305523872375, 0.2640681564807892, -0.03235739842057228, 0.12782680988311768, 0.07395771145820618, -0.0005023761186748743, 0.27856600284576416, -0.2626640200614929, 0.24086599051952362, -0.08834508061408997, -0.6422985792160034, -0.081699438393116, -0.0021839141845703125, -0.13077349960803986, -0.08387503772974014, 0.15458530187606812, -0.32814735174179077, 0.23414848744869232, 0.18735092878341675, 0.16744020581245422, -0.08958975970745087, 0.15334056317806244, -0.4592207670211792, -0.23915880918502808, 0.0966397374868393, 0.033152613788843155, 0.18327733874320984, 0.29955893754959106, 0.09891560673713684, -0.18574243783950806, 0.04327775910496712, -0.39694350957870483, -0.2400686889886856, 0.010498501360416412, -0.00912249181419611, -0.15545150637626648, 0.18578894436359406, -0.7515168190002441, 0.3839617669582367, -0.10542299598455429, 0.05607489123940468, -0.24921056628227234, 0.09209214150905609, -0.27827292680740356, -0.09398198872804642, 0.4961794912815094, 0.31467312574386597, -0.16718201339244843, -0.14584171772003174, 0.22274568676948547, -0.1396196335554123, 0.5457685589790344, 0.4028402268886566, -0.40040603280067444, -0.23736914992332458, -0.18807542324066162, -0.07270628958940506, 0.4731231927871704, 0.19397364556789398, -0.01023382879793644, 0.5575999021530151, 0.011905275285243988, -0.20663274824619293, 0.15513953566551208, -0.13658101856708527, 0.3138139247894287, 0.0023941791150718927, 0.09866642206907272, 0.4517782926559448, 0.02635076642036438, -0.008080650120973587, -0.24310405552387238, -0.4041987955570221, 0.17116133868694305, 0.3635552227497101, 0.1791100949048996, 0.26936107873916626, 0.2381783127784729, -0.16193515062332153, 0.22612535953521729, -0.1784769892692566, 0.2585390508174896, 0.28211328387260437, 0.05702652782201767, 0.4367038607597351, -0.059736695140600204, -0.28631705045700073, -0.3881950080394745, 0.2644316554069519, 0.012842059135437012, -0.5844795107841492, 0.34364014863967896, 0.06154546141624451, -0.09366334229707718, -0.2916063070297241, 0.22941577434539795, -0.022961534559726715, -0.10213987529277802, -0.004305191338062286, 0.05941261723637581, -0.1991296410560608, -0.4078238308429718, 0.11837907880544662, -0.00904923491179943, 0.1709461510181427, -0.363616019487381, 0.2630700469017029, 0.25836271047592163, -0.010063179768621922, 0.2842159867286682, -0.2969619631767273, 0.3308626413345337, -0.2903314232826233, 0.13997802138328552, 0.2225782573223114, 0.11538709700107574, 0.07907525449991226, 0.19951125979423523, 0.12410780787467957, 0.15012502670288086, -0.11516804993152618, -0.11464246362447739, 0.016760462895035744, 0.05255231633782387, 0.026218250393867493, -0.2346598207950592, 0.2483440339565277, 0.049261584877967834, 0.23173034191131592, 0.00005725771188735962, -0.10448643565177917, 0.20648178458213806, -0.21930928528308868, 0.09595265239477158, 0.12096057832241058, 0.4169463515281677, 0.0721340924501419, -0.052768345922231674, 0.1136670634150505, -0.5205211639404297, -0.3116680681705475, 0.15047487616539001, -0.03774092346429825, -0.16922613978385925, 0.3590725362300873, -0.17143428325653076, -0.10456955432891846, -0.1866883784532547, -0.18017540872097015, -0.10327151417732239, 0.19593971967697144, 0.1833854764699936, 0.014918861910700798, 0.538200318813324, 0.05301222950220108, 0.13108354806900024, 0.20458893477916718, -0.2084338366985321, 0.06606971472501755, -0.008695665746927261, -0.14041681587696075, -0.11113451421260834, 0.2538551688194275, 0.22415049374103546, 0.0647411048412323, -0.22319729626178741, -0.11700571328401566, -0.2671263515949249, -0.004264809191226959, -0.17643263936042786, 0.3687822222709656, -0.17598193883895874, 0.13830338418483734, -0.03382200002670288, 0.19086666405200958, 0.13927124440670013, -0.17132730782032013, -0.3629721999168396, 0.3756692111492157, -0.24432823061943054, -0.2574756145477295, -0.3348221480846405, -0.09065970778465271, -0.22062039375305176, -0.002449510619044304, 0.2189638763666153, 0.23696845769882202, 0.0034226439893245697, -0.2539975345134735, -0.19972407817840576, -0.3554519712924957, -0.13193580508232117, 0.0008491575717926025, 0.08081977069377899, 0.10665546357631683, 0.06374414265155792, 0.49182814359664917, -0.033571016043424606, 0.07143346220254898, 0.06680980324745178, -0.049268096685409546, -0.06620077788829803, 0.05474796146154404, 0.09120882302522659, 0.46609094738960266, -0.03291734308004379, -0.07587052136659622, -0.16747421026229858, -0.2791159749031067, 0.48847758769989014, 0.40406277775764465, 0.07185282558202744, -0.3967638313770294, -0.18513160943984985, -0.28894299268722534, -0.15246054530143738, 0.09939856082201004, 0.05497797951102257, -0.5027731657028198, 0.36093148589134216, 0.2130565196275711, -0.3175007700920105, 0.07695946097373962, 0.0097217857837677, -0.26281437277793884, 0.2889242172241211, -0.4398474097251892, -0.07802815735340118, -0.18282170593738556, -0.32758283615112305, -0.3982067108154297, 0.1696832925081253, -0.008022971451282501, -0.5902150869369507, 0.04287559539079666, 0.08142290264368057, -0.1575857549905777, -0.1421756148338318, 0.12115589529275894, 0.1406472623348236, 0.1621534526348114, 0.4461289048194885, 0.013171818107366562, 0.6248340010643005, 0.0472402460873127, 0.12272369861602783, 0.34646376967430115, -0.12033148854970932, 0.1934272050857544, -0.1568850874900818, 0.1109619289636612, 0.29872965812683105, 0.049275971949100494, 0.1208101361989975, 0.4458059072494507, 0.031806349754333496, -0.20274683833122253, -0.3938886821269989, -0.3460771441459656, -0.32595983147621155, -0.030097026377916336, 0.06248817592859268, 0.2376403659582138, 0.13881486654281616, -0.07391087710857391, -0.20130157470703125, 0.09762035310268402, -0.10556173324584961, 0.11501675844192505, 0.14962221682071686, 0.18316617608070374, 0.18023161590099335, -0.27702784538269043, 0.288536936044693, 0.0794086903333664, 0.1922886073589325, -0.2800542414188385, 0.08188772201538086, -0.04955840855836868, -0.0035184212028980255, 0.22025996446609497, -0.02066732384264469, 0.9689526557922363, 0.2783525288105011, 0.4670711159706116, -0.12682516872882843, -0.4172459542751312, -0.41153237223625183, 0.04849408194422722, -0.10291703790426254, -0.18832582235336304, 0.4529830515384674, 0.6823011636734009, -0.6681355834007263, -0.03438699245452881, -0.10949429869651794, 0.3861408233642578, -0.13473819196224213, 0.1776195466518402, -0.26903200149536133, 0.04465677589178085, -0.18423396348953247, 0.3341061770915985, 0.11686789244413376, 0.1709309071302414, 0.2536722421646118, 0.13234485685825348, -0.3065207302570343, -0.11982230097055435, -0.14224974811077118, 0.026141077280044556, 0.2716268301010132, 0.10112889111042023, 0.16969697177410126, 0.2716315984725952, 0.29869627952575684, 0.3036089539527893, 0.41717633605003357, 0.06499844789505005, -0.3692310154438019, 0.25613167881965637, 0.07916074246168137, 0.26556628942489624, 0.023434966802597046, -0.01794588938355446, -0.14222615957260132, 0.054118454456329346, 0.26480332016944885, -0.0969712883234024, 0.33712849020957947, -0.07312388718128204, -0.2675062119960785, -0.36898139119148254, -0.43830159306526184, 0.3662596642971039, 0.04645064100623131, 0.017020568251609802, -0.031869322061538696, 0.39866942167282104, -0.15481317043304443, 0.03220663592219353, 0.0769149661064148, 0.9406271576881409, -0.24525637924671173, 0.08872765302658081, -0.562727153301239, -0.46417540311813354, 0.5954856872558594, -0.4867382049560547, -0.1170303225517273, -0.21184535324573517, -0.35702943801879883, -0.05985715612769127, -0.19209183752536774, -0.10580607503652573, 0.3326396942138672, 0.22736182808876038, 0.5943282246589661, -0.07190092653036118, 0.19608426094055176, 0.19383658468723297, 0.20890817046165466, 0.08539094775915146, -0.01353631541132927, -0.25360235571861267, -0.045101817697286606, -0.08595442771911621, -0.06836341321468353, 0.059478759765625, -0.2030869722366333, 0.09002174437046051, -0.17858067154884338, 0.055574819445610046, 0.28195953369140625, -0.45139336585998535, -0.19678911566734314, 0.10126090049743652, -0.40076714754104614, 0.11264292895793915, 0.25513145327568054, 0.06503497809171677, 0.11891607940196991, -0.3699738681316376, 0.02319803275167942, -0.011696338653564453, -0.13070468604564667, -0.34603485465049744, 0.2505660951137543, -0.2939160168170929, -0.1403266340494156, 0.09206926077604294, 0.008675135672092438, -0.18670958280563354, -0.06427877396345139, -0.03583358973264694, 0.2753743529319763, 0.14775638282299042, -0.047242697328329086, -0.2688755691051483, -0.22150498628616333, 0.25525641441345215, -0.13845691084861755, -0.034221161156892776, 0.1700877696275711, -0.3285164535045624, -0.06355103105306625, 0.131271630525589, -0.3002932667732239, -0.06976063549518585, 0.3121991753578186, -0.0753520280122757, -0.09301013499498367, 0.2556413412094116, -0.04852968081831932, -0.25760239362716675, -0.014903705567121506, -0.1106945276260376, 0.2389499545097351, -0.19234612584114075, -0.11034137010574341, 0.06622523814439774, 0.24904222786426544, -0.0683959499001503, -0.011230375617742538, 0.10385943949222565, -0.15482458472251892, 0.17936348915100098, -0.6856829524040222, -0.311351478099823, 0.2374320924282074, -0.09985290467739105, 0.03133837878704071, 0.3364059329032898, -0.16547483205795288, 0.08374407142400742, 0.00019237399101257324, -0.08923868834972382, 0.5584145188331604, -0.09287907183170319, 0.4370395541191101, 0.4158037602901459, 0.08242125809192657, -0.001187942922115326, 0.1340676248073578, -0.04201073199510574, 0.08080871403217316, -0.08181298524141312, -0.030515380203723907, 0.019769977778196335, 0.21699552237987518, 0.03715768828988075, -0.018215663731098175, -0.24094276130199432, -0.21530038118362427, -0.170858234167099, 0.032210495322942734, 0.11338838934898376, -0.030973104760050774, 0.2836708128452301, -0.19198203086853027, 0.642857551574707, 0.01717681810259819, -0.7419871091842651, 0.17979204654693604, -0.12286053597927094, -0.018633678555488586, 0.05966966971755028, 0.1380016803741455, 0.03326409310102463, -0.08063875883817673, -0.2614041268825531, -0.10569822043180466, 0.5058580040931702, -0.0830555334687233, 0.04495162144303322, 0.01290334016084671, 0.12608975172042847, 0.41203078627586365, 0.2054188847541809, 0.6691112518310547, -0.1174265444278717, 0.16401544213294983, 0.4940238296985626, 0.02817961387336254, -0.18040429055690765, -0.15241308510303497, 0.2978387773036957, -0.058237552642822266, -0.03294797241687775, 0.1691855937242508, 0.10599756240844727, -0.1909564733505249, -0.20390458405017853, -0.19301742315292358, 0.352636456489563, 0.29028260707855225, -0.04800872877240181, 0.33144092559814453, -0.06375908851623535, -0.3110279440879822, -0.10983862727880478, 0.544106125831604, 0.14753645658493042, 0.3756014108657837, -0.07875262945890427, 0.007316134870052338, 0.13551822304725647, -0.10948401689529419, -0.3020069897174835, -0.48031508922576904, -0.14108192920684814, 0.6709779500961304, 0.2599466145038605, -0.11916352063417435, -0.36403167247772217, 0.1907719075679779, 0.6290022134780884, -0.27523428201675415, -0.04001908376812935, 0.17817415297031403, 0.26061171293258667, 0.03809638321399689, 0.018958356231451035, -0.3382823169231415, -0.28668344020843506, 0.4172488749027252, -0.049228567630052567, -0.20281068980693817, -0.007680870592594147, 0.3197705149650574, 0.05867013707756996, -0.15221120417118073, -0.21684351563453674, 0.4092903733253479, 0.04439837485551834, -0.33793702721595764, 0.3464684784412384, -0.03835447132587433, -0.11078605055809021, 0.3932206332683563, -0.13561032712459564, -0.04152147099375725, 0.006604742258787155, 0.11876694858074188, -0.05487346276640892, 0.27624231576919556, 0.08682336658239365, -0.18833932280540466, 0.008248729631304741, 0.30945518612861633, 0.34535926580429077, 0.29760873317718506, -0.019624263048171997, -0.029217839241027832, 0.027351027354598045, -0.32127219438552856, -0.24382701516151428, -0.5879227519035339, -0.08079691976308823, 0.36921775341033936, -0.1658809334039688, -0.10917237401008606, -0.2907892167568207, -0.203209787607193, -0.24969853460788727, -0.2511681616306305, 0.10797427594661713, 0.15424180030822754, 0.44530901312828064, -0.04375860095024109, -0.013051297515630722, 0.2598375380039215, 0.15782268345355988, -0.08760321885347366, -0.363196462392807, -0.45004338026046753, -0.2988673150539398, 0.17178179323673248, -0.14508222043514252, 0.09792204201221466, 0.40754935145378113, 0.017121991142630577, 0.26934579014778137, 0.20113682746887207, -0.1925113946199417, 0.2927875220775604, 0.039489950984716415, 0.2530388832092285, 0.010163411498069763, -0.042095039039850235, 0.05585407465696335, 0.3837563991546631, -0.01589047722518444, -0.14894121885299683, 0.33990478515625, -0.0769515261054039, -0.09278856217861176, 0.20346160233020782, -0.15880858898162842, -0.15952815115451813, -0.13071271777153015, 0.09185315668582916, 0.02593848668038845, 0.32883745431900024, -0.14053285121917725, 0.17478778958320618, 0.05819585919380188, -0.13583339750766754, -0.1939866691827774, 0.2826555669307709, -0.019161738455295563, -0.2207263857126236, -0.27738839387893677, 0.0113749410957098, -0.24576595425605774, -0.048079267144203186, -0.16945946216583252, 0.09116198867559433, -0.11080465465784073, -0.35039666295051575, 0.3145734667778015, -0.12477541714906693, 0.1625189334154129, 0.19045326113700867, -0.2584761083126068, -0.3983674943447113, -0.10775436460971832, -0.15763001143932343, 0.5627015829086304, -0.45847561955451965, -0.2706747055053711, -0.15768934786319733, 0.35533541440963745, 0.3920994997024536, 0.12612713873386383, -0.12174014747142792, 0.2519714832305908, 0.47764456272125244, -0.09450654685497284, -0.1744113564491272, 0.08414563536643982, -0.019289610907435417, -0.23141837120056152, -0.026910968124866486, -0.04334511607885361, 0.4813506007194519, -0.19917528331279755, -0.20043466985225677, -0.33029550313949585 ]
https://github.com/huggingface/datasets/issues/6977
load json file error with v2.20.0
Thanks for reporting, @xiaoyaolangzhi. Indeed, we are currently requiring `pandas` >= 2.0.0. You will need to update pandas in your local environment: ``` pip install -U pandas ```
### Describe the bug ``` load_dataset(path="json", data_files="./test.json") ``` ``` Generating train split: 0 examples [00:00, ? examples/s] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/datasets/packaged_modules/json/json.py", line 132, in _generate_tables pa_table = paj.read_json( File "pyarrow/_json.pyx", line 308, in pyarrow._json.read_json File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status pyarrow.lib.ArrowInvalid: JSON parse error: Column() changed from object to array in row 0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1997, in _prepare_split_single for _, table in generator: File "/usr/local/lib/python3.10/dist-packages/datasets/packaged_modules/json/json.py", line 155, in _generate_tables df = pd.read_json(f, dtype_backend="pyarrow") File "/usr/local/lib/python3.10/dist-packages/pandas/util/_decorators.py", line 211, in wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/pandas/util/_decorators.py", line 331, in wrapper return func(*args, **kwargs) TypeError: read_json() got an unexpected keyword argument 'dtype_backend' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/app/t1.py", line 11, in <module> load_dataset(path=data_path, data_files="./t2.json") File "/usr/local/lib/python3.10/dist-packages/datasets/load.py", line 2616, in load_dataset builder_instance.download_and_prepare( File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1029, in download_and_prepare self._download_and_prepare( File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1124, in _download_and_prepare self._prepare_split(split_generator, **prepare_split_kwargs) File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1884, in _prepare_split for job_id, done, content in self._prepare_split_single( File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 2040, in _prepare_split_single raise DatasetGenerationError("An error occurred while generating the dataset") from e datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset ``` ``` import pandas as pd with open("./test.json", "r") as f: df = pd.read_json(f, dtype_backend="pyarrow") ``` ``` Traceback (most recent call last): File "/app/t3.py", line 3, in <module> df = pd.read_json(f, dtype_backend="pyarrow") File "/usr/local/lib/python3.10/dist-packages/pandas/util/_decorators.py", line 211, in wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/pandas/util/_decorators.py", line 331, in wrapper return func(*args, **kwargs) TypeError: read_json() got an unexpected keyword argument 'dtype_backend' ``` ### Steps to reproduce the bug . ### Expected behavior . ### Environment info ``` datasets 2.20.0 pandas 1.5.3 ```
28
load json file error with v2.20.0 ### Describe the bug ``` load_dataset(path="json", data_files="./test.json") ``` ``` Generating train split: 0 examples [00:00, ? examples/s] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/datasets/packaged_modules/json/json.py", line 132, in _generate_tables pa_table = paj.read_json( File "pyarrow/_json.pyx", line 308, in pyarrow._json.read_json File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status pyarrow.lib.ArrowInvalid: JSON parse error: Column() changed from object to array in row 0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1997, in _prepare_split_single for _, table in generator: File "/usr/local/lib/python3.10/dist-packages/datasets/packaged_modules/json/json.py", line 155, in _generate_tables df = pd.read_json(f, dtype_backend="pyarrow") File "/usr/local/lib/python3.10/dist-packages/pandas/util/_decorators.py", line 211, in wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/pandas/util/_decorators.py", line 331, in wrapper return func(*args, **kwargs) TypeError: read_json() got an unexpected keyword argument 'dtype_backend' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/app/t1.py", line 11, in <module> load_dataset(path=data_path, data_files="./t2.json") File "/usr/local/lib/python3.10/dist-packages/datasets/load.py", line 2616, in load_dataset builder_instance.download_and_prepare( File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1029, in download_and_prepare self._download_and_prepare( File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1124, in _download_and_prepare self._prepare_split(split_generator, **prepare_split_kwargs) File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1884, in _prepare_split for job_id, done, content in self._prepare_split_single( File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 2040, in _prepare_split_single raise DatasetGenerationError("An error occurred while generating the dataset") from e datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset ``` ``` import pandas as pd with open("./test.json", "r") as f: df = pd.read_json(f, dtype_backend="pyarrow") ``` ``` Traceback (most recent call last): File "/app/t3.py", line 3, in <module> df = pd.read_json(f, dtype_backend="pyarrow") File "/usr/local/lib/python3.10/dist-packages/pandas/util/_decorators.py", line 211, in wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/pandas/util/_decorators.py", line 331, in wrapper return func(*args, **kwargs) TypeError: read_json() got an unexpected keyword argument 'dtype_backend' ``` ### Steps to reproduce the bug . ### Expected behavior . ### Environment info ``` datasets 2.20.0 pandas 1.5.3 ``` Thanks for reporting, @xiaoyaolangzhi. Indeed, we are currently requiring `pandas` >= 2.0.0. You will need to update pandas in your local environment: ``` pip install -U pandas ```
[ -0.06933755427598953, 0.45719021558761597, -0.03216099739074707, 0.2189229279756546, 0.4231175184249878, -0.0032409876585006714, 0.5813358426094055, 0.7122802138328552, -0.22067081928253174, 0.11693383753299713, 0.0030927418265491724, 0.5666237473487854, -0.04973059892654419, 0.17136064171791077, -0.050248049199581146, -0.4724688231945038, 0.13418719172477722, 0.2932443618774414, 0.1312941312789917, 0.13058526813983917, -0.3339763879776001, 0.18472780287265778, -0.1595311164855957, 0.24578611552715302, -0.4432363510131836, -0.07054752111434937, -0.039399489760398865, 0.13165292143821716, -0.1327940672636032, -0.6169224977493286, 0.1252439320087433, -0.23104730248451233, 0.07393641024827957, 0.26341015100479126, -0.00011016869393642992, 0.317815899848938, 0.2630716562271118, -0.03227854520082474, -0.23448066413402557, -0.4149077534675598, 0.26777803897857666, -0.2611120343208313, 0.3877127468585968, -0.3158099949359894, 0.07526424527168274, -0.6875633597373962, -0.11031559109687805, 0.2459867000579834, 0.6089894771575928, 0.26301151514053345, 0.2048444151878357, -0.006321737542748451, 0.303335577249527, 0.0666128545999527, 0.4706580638885498, -0.07720372080802917, -0.04425612837076187, 0.3274807929992676, 0.018310241401195526, 0.04246092587709427, -0.3280583918094635, -0.047157250344753265, -0.034091703593730927, 0.06408122926950455, -0.036001212894916534, 0.14411857724189758, 0.2639503479003906, -0.10232502222061157, -0.11662106961011887, 0.1349470466375351, 0.5165297389030457, -0.2521229684352875, -0.3008471429347992, -0.14168715476989746, 0.015250492841005325, -0.2229408621788025, 0.322733074426651, 0.27626538276672363, -0.11787049472332001, 0.20627017319202423, 0.13463270664215088, 0.20112203061580658, -0.3323720693588257, 0.07171246409416199, -0.11744364351034164, -0.0922626256942749, 0.05698235332965851, 0.016178764402866364, -0.04079357162117958, -0.10471902787685394, 0.15511642396450043, 0.1245296522974968, -0.18496863543987274, 0.16665562987327576, -0.1866886019706726, -0.006280548870563507, 0.009794268757104874, -0.7636132836341858, 0.10170965641736984, 0.1777336299419403, 0.1135019063949585, -0.04360295832157135, 0.05754828825592995, 0.2623618543148041, 0.3828296959400177, 0.04133905470371246, -0.19817408919334412, -0.08940604329109192, 0.19955654442310333, 0.020944155752658844, -0.10888727009296417, -0.09211424738168716, -0.05281064286828041, -0.2918495237827301, 0.09211823344230652, 0.033359404653310776, 0.36115026473999023, -0.0751190185546875, -0.2719965875148773, 0.03349249064922333, -0.7840105295181274, -0.054523926228284836, -0.004259544424712658, 0.3708195686340332, 0.06961094588041306, 0.41994184255599976, 0.22698913514614105, 0.21766920387744904, -0.04706225171685219, -0.08913832902908325, -0.13300034403800964, 0.08945953845977783, 0.012846898287534714, -0.17331963777542114, 0.3204227089881897, 0.20232801139354706, 0.29411619901657104, 0.2858556807041168, -0.20631663501262665, -0.25948238372802734, 0.09595751017332077, -0.13940243422985077, -0.12609168887138367, 0.31626081466674805, 0.1685541868209839, -0.12565551698207855, -0.056216176599264145, -0.19550850987434387, -0.12016844749450684, 0.3699350357055664, -0.3202682137489319, -0.3225352168083191, -0.15079110860824585, 0.20025013387203217, 0.15922614932060242, 0.15314416587352753, -0.032096438109874725, 0.026357177644968033, -0.003453470766544342, -0.288664847612381, -0.11850839108228683, -0.016328372061252594, 0.10370336472988129, -0.40248942375183105, 0.0952630341053009, 0.008632838726043701, -0.6126621961593628, 0.005229093134403229, 0.35519999265670776, -0.09533916413784027, 0.04945322126150131, 0.07763028144836426, -0.33447539806365967, 0.3914923667907715, -0.18536092340946198, 0.25302815437316895, 0.25228968262672424, -0.032420430332422256, -0.18963073194026947, 0.20600107312202454, -0.19355420768260956, 0.05864793062210083, 0.25020864605903625, -0.18435995280742645, -0.02235541306436062, 0.1627291440963745, 0.28280872106552124, 0.06251311302185059, 0.07331741601228714, 0.2990730404853821, -0.19406796991825104, -0.2137203812599182, 0.1696023941040039, 0.15715602040290833, -0.011213161051273346, 0.0060725137591362, -0.006778813898563385, 0.04544169083237648, 0.27829709649086, -0.2739797830581665, -0.14790824055671692, 0.23831012845039368, 0.2624674141407013, -0.2021799236536026, 0.18333497643470764, 0.026430927217006683, -0.4343467354774475, 0.0005363114178180695, -0.37004876136779785, -0.04162456840276718, -0.3342740535736084, -0.08683925867080688, -0.17027750611305237, 0.02978554181754589, -0.1320382058620453, 0.05525635555386543, 0.21562154591083527, -0.20514485239982605, 0.03691943362355232, 0.2981928288936615, -0.2536100149154663, 0.06929630041122437, -0.24667714536190033, 0.16508013010025024, -0.09317955374717712, 0.474340558052063, -0.12653537094593048, -0.3728748857975006, 0.1329096108675003, 0.039936259388923645, 0.014685090631246567, -0.24613012373447418, -0.2970230281352997, 0.34063711762428284, 0.18990735709667206, 0.049351584166288376, -0.4219512939453125, 0.004073500633239746, 0.05427996814250946, 0.1746491938829422, -0.06292159110307693, 0.011625023558735847, 0.07559539377689362, -0.05060407146811485, -0.06356681883335114, 0.6246894001960754, -0.08974094688892365, -0.023339055478572845, 0.10625611245632172, -0.1655200719833374, 0.4269833564758301, -0.11404776573181152, 0.1742558628320694, 0.03623231500387192, -0.0007781945168972015, 0.3011021018028259, 0.17439284920692444, 0.08233869820833206, -0.2763133645057678, -0.0922061875462532, 0.6859885454177856, -0.052097953855991364, -0.08349331468343735, -0.00029838457703590393, -0.03955961763858795, -0.18168410658836365, 0.005982063710689545, 0.13334202766418457, 0.3296390175819397, 0.15696150064468384, -0.2778894901275635, 0.10104934126138687, -0.052913181483745575, -0.15688444674015045, 0.2870385944843292, 0.02866092324256897, 0.46628639101982117, 0.4062650203704834, 0.1906193494796753, -0.054154153913259506, -0.42836329340934753, -0.09968870878219604, 0.28209027647972107, 0.49462559819221497, -0.4209236204624176, 0.004212738946080208, -0.22314000129699707, 0.12596380710601807, -0.08746560662984848, -0.04291456937789917, 0.01455753669142723, -0.18648912012577057, 0.08017152547836304, 0.3682713508605957, -0.21057528257369995, 0.19013148546218872, 0.03899456188082695, 0.07780075073242188, 0.2149733006954193, 0.02461783029139042, -0.34875014424324036, -0.08256025612354279, -0.251097172498703, 0.09439155459403992, 0.33420121669769287, 0.05727962404489517, -0.02085188589990139, -0.15543565154075623, -0.12433742731809616, 0.14773018658161163, -0.06899534165859222, 0.09417718648910522, -0.03391037881374359, 0.02308584749698639, 0.1888207644224167, 0.22764302790164948, -0.13732391595840454, -0.3372063636779785, 0.30793267488479614, -0.09564872831106186, -0.4183369278907776, 0.3608866333961487, -0.14172613620758057, 0.036303434520959854, -0.08221381157636642, -0.5925597548484802, -0.029516926035284996, -0.3082600235939026, 0.4419431686401367, 0.03049863502383232, 0.25831738114356995, -0.014750893227756023, 0.3837509751319885, 0.24069789052009583, 0.18631750345230103, 0.012113162316381931, 0.0606507733464241, -0.22505143284797668, 0.07357819378376007, -0.2080441266298294, -0.26021286845207214, 0.2201387882232666, -0.023031646385788918, 0.009584881365299225, -0.13019709289073944, -0.15780626237392426, -0.137002632021904, 0.12120364606380463, 0.27257829904556274, -0.09532882273197174, -0.30053213238716125, 0.19039207696914673, 0.21549692749977112, -0.12728886306285858, 0.019504636526107788, 0.0213848277926445, 0.27900585532188416, 0.13667942583560944, -0.1130022183060646, -0.008136693388223648, 0.5408166646957397, 0.08490791916847229, 0.4649413228034973, -0.0025295745581388474, -0.11977854371070862, 0.37844017148017883, -0.14608824253082275, -0.07081972062587738, -0.19154459238052368, -0.10574198514223099, -0.19539062678813934, -0.17644134163856506, -0.016602985560894012, 0.06119776517152786, -0.1800607144832611, -0.3391444683074951, -0.06217343360185623, -0.09486779570579529, -0.5241336822509766, -0.12670211493968964, 0.16266648471355438, -0.15119494497776031, 0.10321914404630661, -0.1479320079088211, -0.00015043094754219055, -0.055873624980449677, 0.1482301652431488, -0.008407732471823692, -0.019578851759433746, 0.24288129806518555, -0.2772916853427887, -0.4385230541229248, -0.2810775339603424, -0.24697938561439514, 0.20633938908576965, 0.20466673374176025, 0.23397883772850037, 0.12883360683918, -0.048755280673503876, 0.20941466093063354, -0.42625439167022705, 0.8367850184440613, 0.01721864566206932, -0.09829944372177124, 0.30141884088516235, 0.21244198083877563, -0.24209430813789368, -0.15220509469509125, -0.09222596883773804, 0.2049282193183899, 0.3241342306137085, 0.26170891523361206, -0.20308247208595276, -0.44014981389045715, 0.36978062987327576, -0.04005935415625572, -0.23610559105873108, -0.1394577920436859, -0.17989490926265717, -0.2583544850349426, -0.27545610070228577, -0.013456419110298157, -0.0832972452044487, 0.46903008222579956, -0.2239966094493866, -0.3642490804195404, 0.01720958575606346, -0.20341399312019348, -0.20166979730129242, 0.19831570982933044, 0.34715989232063293, -0.2575644850730896, 0.11554737389087677, 0.020940937101840973, 0.4442431926727295, 0.6086245775222778, 0.22874927520751953, 0.02319386601448059, -0.16867595911026, 0.0621754452586174, -0.0640547052025795, 0.22631680965423584, 0.1810116320848465, -0.26236599683761597, 0.07423911243677139, -0.31848761439323425, -0.0005815103650093079, 0.16182366013526917, -0.35007646679878235, 0.5952115058898926, -0.17050473392009735, -0.09141191840171814, -0.2834344804286957, 0.4282934367656708, -0.0192440003156662, 0.10838179290294647, -0.04999580234289169, -0.22543810307979584, -0.13920193910598755, 0.6448756456375122, -0.0922192856669426, 0.5407503843307495, 0.03184179216623306, 0.045974381268024445, 0.7440213561058044, -0.1705997884273529, 0.27869337797164917, -0.701352596282959, 0.23739467561244965, -0.6507986783981323, 0.1302802562713623, -0.07934225350618362, -0.17746417224407196, 0.18756651878356934, 0.399621844291687, -0.10095734894275665, -0.05410878732800484, -0.11334571242332458, 0.11081746220588684, -0.0890403762459755, 0.23827016353607178, -0.10853222757577896, -0.0025069955736398697, -0.5223978757858276, 0.07083304971456528, 0.0014930255711078644, -0.24613991379737854, -0.046316660940647125, -0.27023178339004517, -0.20414626598358154, -0.21531334519386292, -0.039173729717731476, 0.20807144045829773, -0.09798755496740341, 0.27613383531570435, 0.2806739807128906, -0.1747545599937439, -0.10667531192302704, 0.10743459314107895, -0.21033059060573578, -0.20837755501270294, 0.03638998791575432, 0.19859904050827026, -0.13130691647529602, -0.06522470712661743, -0.02363455668091774, 0.12236401438713074, 0.38767048716545105, -0.1464308351278305, -0.3205539584159851, 0.23293644189834595, -0.3923010230064392, -0.4056355357170105, 0.11179763078689575, 0.01641528680920601, -0.00011952221393585205, -0.3682527542114258, -0.23435167968273163, -0.14557145535945892, -0.02939305640757084, -0.27328354120254517, 0.17975027859210968, -0.06744517385959625, -0.138773113489151, 0.07288885861635208, -0.20308269560337067, -0.1912471055984497, -0.015644166618585587, 0.33668696880340576, 0.17018428444862366, 0.3029676079750061, 0.6436678171157837, 0.11861445009708405, 0.021939218044281006, -0.19676941633224487, 0.26204347610473633, 0.3599945902824402, -0.562606692314148, 0.2995283603668213, 0.10394574701786041, 0.3181082010269165, 0.0833849161863327, 0.111443430185318, 0.013440482318401337, 0.27216437458992004, 0.015109766274690628, -0.38498756289482117, -0.3231164515018463, 0.28685110807418823, 0.1720626801252365, 0.1843937635421753, 0.2708438038825989, 0.38081929087638855, -0.08954223990440369, -0.10018718987703323, -0.29643088579177856, 0.26934587955474854, -0.21746022999286652, 0.042453862726688385, -0.25081244111061096, -0.1252155303955078, 0.026404501870274544, -0.058587513864040375, 0.2461472749710083, 0.20760011672973633, -0.0027354294434189796, -0.2445334494113922, -0.17288640141487122, 0.0838516429066658, 0.07214822620153427, 0.06101478636264801, -0.19242089986801147, 0.018667329102754593, -0.3567963242530823, 0.16446442902088165, 0.11484891176223755, 0.0955423042178154, -0.0004753395915031433, 0.24523009359836578, 0.22709986567497253, 0.05216401442885399, -0.113681860268116, -0.025401882827281952, -0.3059254586696625, 0.2297157198190689, 0.06828922033309937, 0.2751988172531128, -0.24287442862987518, 0.03805365413427353, -0.3669193685054779, 0.08286067843437195, -0.3589339256286621, 0.0532146692276001, 0.34608450531959534, -0.42348402738571167, -0.14088775217533112, -0.23416142165660858, 0.15543650090694427, 0.4103541672229767, -0.34531304240226746, 0.16729238629341125, 0.14022761583328247, 0.21852029860019684, -0.263963907957077, -0.05793453007936478, 0.27189967036247253, -0.09002065658569336, -0.09970860183238983, -0.10200763493776321, 0.19351205229759216, -0.11285366117954254, -0.0062345415353775024, 0.18542185425758362, 0.1271195113658905, 0.218637153506279, 0.08939558267593384, 0.6210962533950806, -0.02970988117158413, 0.12700104713439941, 0.06999673694372177, 0.1495893895626068, 0.34996676445007324, 0.3063369393348694, -0.023674584925174713, -0.12670093774795532, -0.1397947371006012, 0.18242396414279938, -0.20786136388778687, -0.3236747980117798, -0.24904800951480865, 0.4089242219924927, -0.17609792947769165, -0.01732766628265381, 0.09013081341981888, 0.36652907729148865, 0.19615113735198975, -0.176541268825531, -0.30075913667678833, 0.3581906259059906, -0.255372554063797, -0.09287767112255096, -0.3002030849456787, -0.34758761525154114, -0.17591492831707, 0.07071799039840698, -0.04659933224320412, 0.01840081810951233, -0.14086361229419708, 0.21769258379936218, -0.14225053787231445, -0.3342730402946472, 0.2981785833835602, 0.05354691669344902, 0.17745015025138855, -0.16015267372131348, 0.11253912001848221, 0.1104181781411171, -0.04893380403518677, -0.011220790445804596, 0.13800251483917236, 0.4195915162563324, 0.38618165254592896, -0.12232857942581177, -0.25847166776657104, -0.11803218722343445, -0.1436077207326889, 0.15753109753131866, 0.06060776486992836, 0.2546371519565582, -0.0882837176322937, 0.21732616424560547, 0.13697955012321472, -0.15725357830524445, -0.0026077628135681152, 0.3452911972999573, 0.3074333965778351, -0.1354968249797821, 0.3506060242652893, -0.11603790521621704, -0.2715190351009369, -0.06223638355731964, -0.1358049511909485, -0.20812684297561646, -0.3178025782108307, -0.0026840511709451675, 0.17732024192810059, 0.1189991757273674, 0.001229503657668829, 0.09410977363586426, -0.14381812512874603, 0.18437369167804718, 0.056491851806640625, 0.025087662041187286, -0.2435879111289978, -0.19278430938720703, -0.17920073866844177, 0.12285608053207397, -0.23323684930801392, 0.39196279644966125, 0.15180720388889313, 0.2063141018152237, -0.08492621034383774, 0.010396778583526611, 0.0238015279173851, 0.2677987217903137, -0.07372640073299408, 0.4905336797237396, -0.4642122983932495, 0.10802777111530304, 0.11545349657535553, -0.008815282955765724, -0.28059741854667664, -0.2469860315322876, 0.16059809923171997, 0.032249752432107925, 0.08745329827070236, -0.179213285446167, 0.031813398003578186, 0.2270904779434204, 0.10259293019771576, 0.4385962188243866, -0.00444597564637661, 0.1200634092092514, -0.04157964885234833, -0.10646551847457886, -0.042570244520902634, -0.38533857464790344, -0.13651682436466217, 0.34080132842063904, 0.039877865463495255, 0.508205771446228, 0.0758204311132431, 0.0935760885477066, -0.09891156852245331, 0.07161613553762436, -0.30539602041244507, -0.18207871913909912, -0.24547608196735382, 0.09149038046598434, -0.009731799364089966, 0.148167222738266, 0.04249447211623192, 0.0013171583414077759, 0.015296842902898788, 0.1507713794708252, -0.4358066916465759, -0.07966441661119461, 0.15099331736564636, -0.31355762481689453, -0.11732475459575653, 0.3185364603996277, 0.04489055275917053, -0.1080891415476799, 0.08117105811834335, -0.17852744460105896, -0.08227697014808655, 0.4540034532546997, -0.012674849480390549, -0.17993874847888947, 0.10545076429843903, 0.141914963722229, 0.01892026886343956, -0.1056409627199173, -0.06843613088130951, 0.0890079215168953, -0.2357664853334427, -0.248030424118042, -0.32967084646224976 ]
https://github.com/huggingface/datasets/issues/6961
Manual downloads should count as downloads
We're unlikely to add more features/support for datasets with python loading scripts, which include datasets with manual download. Sorry for the inconvenience
### Feature request I would like to request that manual downloads of data files from Hugging Face dataset repositories count as downloads of a dataset. According to the documentation for the Hugging Face Hub, that is currently not the case: https://huggingface.co/docs/hub/en/datasets-download-stats ### Motivation This would ensure that downloads are accurately reported to end users. ### Your contribution N/A
22
Manual downloads should count as downloads ### Feature request I would like to request that manual downloads of data files from Hugging Face dataset repositories count as downloads of a dataset. According to the documentation for the Hugging Face Hub, that is currently not the case: https://huggingface.co/docs/hub/en/datasets-download-stats ### Motivation This would ensure that downloads are accurately reported to end users. ### Your contribution N/A We're unlikely to add more features/support for datasets with python loading scripts, which include datasets with manual download. Sorry for the inconvenience
[ -0.1038682609796524, -0.36855047941207886, -0.10727691650390625, 0.16287986934185028, 0.17361174523830414, 0.11568938940763474, 0.17577767372131348, -0.14422112703323364, 0.1477762758731842, -0.08603067696094513, -0.19188061356544495, -0.10899198800325394, -0.2685455083847046, 0.6268167495727539, 0.4274466037750244, 0.0721413716673851, 0.07237519323825836, -0.19925695657730103, 0.04680950939655304, 0.06342745572328568, -0.0451141856610775, 0.31793826818466187, 0.06374967098236084, -0.1513204574584961, -0.12421442568302155, 0.08852986246347427, 0.08300227671861649, 0.0015411339700222015, -0.2844415307044983, -0.3035355806350708, 0.28123316168785095, 0.16533717513084412, 0.2108837366104126, 0.3196163773536682, -0.00011753833678085357, -0.16986322402954102, 0.05800184980034828, -0.14272336661815643, -0.4469320476055145, 0.0226052924990654, -0.19925141334533691, -0.104617178440094, 0.18233391642570496, 0.02297075092792511, 0.1756211817264557, 0.23543088138103485, 0.0392097570002079, -0.018517643213272095, -0.0006803721189498901, 0.22577151656150818, 0.13054345548152924, 0.6167213916778564, 0.14787018299102783, -0.03993500769138336, 0.1999337077140808, 0.8300646543502808, -0.1310306340456009, 0.5648449063301086, -0.0023327097296714783, 0.11966894567012787, 0.07934541255235672, 0.21682217717170715, 0.2547552287578583, -0.0009106174111366272, 0.5769565105438232, 0.28941547870635986, 0.04065842926502228, -0.39458563923835754, -0.1863330900669098, 0.2048499584197998, 0.46544525027275085, -0.41411569714546204, -0.443294495344162, -0.8061124086380005, -0.007707549259066582, 0.08329753577709198, -0.16832545399665833, 0.3364569842815399, -0.14985604584217072, 0.13163498044013977, -0.47485649585723877, -0.03670202195644379, 0.09511388838291168, 0.07272768765687943, 0.0021953657269477844, -0.18568190932273865, -0.16786660254001617, -0.03514721989631653, 0.10125129669904709, 0.08906898647546768, -0.138559490442276, -0.16465282440185547, 0.022855553776025772, 0.10539759695529938, 0.1017620861530304, -0.15434488654136658, 0.06847796589136124, 0.4719281792640686, 0.5509814023971558, 0.3944443464279175, 0.07739140093326569, -0.1576414704322815, -0.4661591947078705, 0.06435821950435638, 0.2695356607437134, -0.01424594596028328, 0.37871602177619934, -0.0633784681558609, 0.13666456937789917, 0.45167937874794006, 0.37710198760032654, -0.16493827104568481, 0.10516997426748276, 0.15565085411071777, -0.09419018030166626, -0.17554569244384766, 0.03555040434002876, -0.2245028018951416, -0.11649388819932938, -0.2554889917373657, 0.2296156883239746, -0.034249451011419296, 0.16762007772922516, 0.1194482147693634, 0.12430121004581451, 0.0485832579433918, -0.1177670881152153, 0.24594570696353912, 0.17687442898750305, -0.12751245498657227, -0.11885562539100647, -0.04720023646950722, 0.05775267258286476, 0.19871413707733154, 0.12592102587223053, -0.44424131512641907, 0.45887401700019836, -0.12906412780284882, 0.4196155071258545, -0.11978181451559067, -0.16788101196289062, 0.09113039076328278, 0.08169421553611755, 0.2602439224720001, -0.09623914957046509, -0.12751300632953644, 0.02503574639558792, -0.06408456712961197, -0.25285544991493225, -0.02444395422935486, -0.08046763390302658, -0.21929654479026794, 0.16887417435646057, 0.08810508251190186, -0.17215314507484436, -0.338122695684433, -0.4565414488315582, 0.2736251652240753, -0.01732778549194336, -0.07394865155220032, 0.2650585472583771, 0.2649673819541931, 0.04424269124865532, -0.07078630477190018, 0.06148011237382889, 0.5790672302246094, -0.1216149628162384, -0.3876810371875763, -0.01375315710902214, -0.41301387548446655, 0.09270304441452026, 0.013093672692775726, -0.3780873119831085, 0.1452409327030182, -0.41167521476745605, 0.1730235069990158, 0.04503340274095535, -0.5014548301696777, -0.28591910004615784, 0.12273864448070526, 0.03173808008432388, 0.17908518016338348, -0.026980482041835785, 0.1788586676120758, -0.004774769768118858, -0.18158577382564545, 0.04353581368923187, 0.11035613715648651, -0.17480699717998505, 0.06012880802154541, -0.11905260384082794, -0.47831490635871887, 0.03276442736387253, 0.1346939206123352, 0.2441754788160324, 0.05407552048563957, 0.20402953028678894, -0.1450958549976349, 0.4569143056869507, -0.06447824835777283, -0.10333327203989029, 0.01599813625216484, 0.14828482270240784, 0.014858901500701904, -0.08081118762493134, -0.1679651141166687, -0.4243764281272888, 0.1702185869216919, -0.2182963490486145, -0.05015385150909424, -0.03445109724998474, -0.47904330492019653, -0.4923730790615082, 0.025491124019026756, -0.004962991923093796, -0.20546424388885498, 0.01658705249428749, 0.1043013483285904, 0.024558447301387787, 0.21398544311523438, -0.2738862931728363, 0.5738869905471802, -0.15044425427913666, 0.34324514865875244, -0.23252885043621063, 0.24965249001979828, 0.24949496984481812, 0.09849444776773453, 0.11004109680652618, 0.2070959210395813, 0.0807037279009819, 0.04618558660149574, 0.23653480410575867, 0.1936277151107788, 0.019854191690683365, 0.3652051091194153, 0.4635203182697296, 0.07522623986005783, 0.3527548313140869, 0.16007821261882782, -0.14797252416610718, 0.12057967483997345, 0.2385701686143875, -0.028576213866472244, -0.4869636595249176, 0.13506731390953064, -0.14395737648010254, -0.043551914393901825, 0.1546856313943863, 0.027924781665205956, 0.07915526628494263, 0.21774998307228088, -0.6423934698104858, -0.2273135781288147, 0.028874754905700684, 0.06821446120738983, 0.07142402231693268, -0.1549975872039795, -0.3446059226989746, -0.027424044907093048, 0.3634370267391205, 0.018693402409553528, 0.020265202969312668, 0.4728708565235138, -0.3467278778553009, -0.15003105998039246, 0.266238808631897, -0.05769024044275284, 0.27829718589782715, 0.18027730286121368, 0.4010562300682068, 0.07077842205762863, 0.326858252286911, -0.1489890217781067, 0.07300923764705658, 0.23523391783237457, -0.33742740750312805, 0.051921676844358444, 0.008082287386059761, -0.2138887494802475, -0.48860839009284973, 0.08846987783908844, -0.13830597698688507, -0.060831137001514435, -0.5912470817565918, -0.25460749864578247, 0.21215610206127167, -0.2840462028980255, -0.09573470056056976, -0.18685390055179596, -0.46636998653411865, -0.23909907042980194, -0.19870202243328094, 0.22901412844657898, 0.09373664855957031, -0.18625697493553162, -0.22286945581436157, 0.35046324133872986, -0.38087019324302673, -0.2643650770187378, -0.11759456247091293, 0.14537949860095978, 0.01690075919032097, 0.08798757195472717, 0.19570383429527283, -0.1190197616815567, 0.6187673211097717, -0.7087743878364563, 0.20286694169044495, -0.44411447644233704, -0.15434984862804413, 0.12875086069107056, 0.11043056100606918, -0.01334761269390583, 0.15013621747493744, -0.013427972793579102, -0.1702251434326172, 0.03433171659708023, -0.16735859215259552, -0.1485229730606079, -0.10243044793605804, -0.35166460275650024, 0.12380392849445343, 0.28347355127334595, -0.1933039128780365, 0.1316230744123459, -0.437716543674469, -0.06262506544589996, 0.5460108518600464, 0.36690324544906616, -0.09108385443687439, 0.1402135044336319, -0.3421025574207306, 0.14756852388381958, -0.2623690962791443, -0.3244779407978058, -0.29252204298973083, -0.4483950138092041, 0.004316017031669617, -0.11224711686372757, -0.3229220509529114, 0.22180470824241638, -0.03778296709060669, -0.08107514679431915, 0.0747365653514862, -0.230368509888649, -0.4266647398471832, -0.08924205601215363, 0.4014420509338379, 0.12716606259346008, 0.34925147891044617, 0.3161035180091858, -0.0667814090847969, 0.11421407759189606, -0.04562060162425041, -0.1431255340576172, 0.06476865708827972, 0.3562775254249573, 0.1532984972000122, -0.1166994646191597, -0.0665750503540039, 0.20109280943870544, 0.3390697240829468, 0.4280194342136383, 0.06884554773569107, 0.38602539896965027, -0.13537511229515076, 0.38643601536750793, -0.08886439353227615, -0.13042056560516357, 0.12910941243171692, -0.18597018718719482, 0.1571272760629654, 0.3274434804916382, 0.34466713666915894, 0.1932222694158554, -0.21283678710460663, -0.0077908094972372055, -0.4528788626194, -0.09137507528066635, -0.3008805215358734, 0.06627169996500015, 0.23358139395713806, 0.13939031958580017, 0.006108894944190979, -0.1286679059267044, -0.08142253011465073, 0.13470393419265747, 0.5910017490386963, 0.43571096658706665, 0.15561844408512115, -0.0996432900428772, 0.2865869700908661, -0.6966068148612976, 0.1873902976512909, 0.10555364191532135, -0.19021259248256683, -0.029022224247455597, -0.10671403259038925, 0.1260179877281189, 0.08803007751703262, 0.41786372661590576, 0.013673262670636177, -0.124490886926651, -0.09434933960437775, -0.10541380196809769, -0.3440689146518707, 0.04242156818509102, -0.0686546117067337, -0.28312137722969055, 0.22470103204250336, 0.4235725998878479, -0.6755557656288147, 0.28856441378593445, 0.04675807058811188, 0.20742672681808472, 0.11902856826782227, -0.10431557893753052, -0.1147555410861969, -0.3638063669204712, -0.10304844379425049, -0.1593274176120758, 0.2537904381752014, -0.24192196130752563, -0.08637985587120056, -0.06710000336170197, -0.1131310760974884, 0.02740134298801422, 0.20530806481838226, -0.03362220525741577, 0.5151966214179993, 0.3498835265636444, 0.027704373002052307, 0.25350698828697205, 0.07150126993656158, 0.0832318514585495, 0.6045796871185303, -0.09467284381389618, -0.46260565519332886, -0.29623886942863464, -0.2994655966758728, 0.18440477550029755, 0.44560742378234863, -0.10239657014608383, -0.002440623939037323, 0.0543658584356308, 0.1288994550704956, -0.3274146318435669, 0.11836279183626175, 0.12068253755569458, 0.11236342787742615, -0.1958170235157013, -0.42610791325569153, 0.5040619969367981, 0.1392357498407364, -0.0001700669527053833, -0.10345280170440674, 0.19887086749076843, -0.34339189529418945, -0.346998393535614, 0.003293551504611969, 1.071637749671936, -0.10065855085849762, 0.35171905159950256, 0.2804040014743805, -0.29583001136779785, 0.5190747976303101, -0.28450995683670044, -0.004121722653508186, -0.34974849224090576, 0.0884762704372406, -0.29508641362190247, -0.03798927366733551, 0.13639482855796814, -0.12200386822223663, -0.2735114097595215, 0.2592655420303345, -0.13629023730754852, 0.16372385621070862, 0.015171922743320465, 0.17668932676315308, -0.30853334069252014, -0.3071180582046509, 0.0005999039858579636, 0.10383465886116028, 0.050707537680864334, 0.5522072315216064, -0.17631909251213074, -0.1667095124721527, -0.2259683907032013, -0.23747409880161285, -0.1709926724433899, -0.3446652591228485, 0.12820252776145935, -0.25876033306121826, -0.092529296875, -0.3249163031578064, -0.05422524735331535, 0.3824228346347809, 0.5336846113204956, -0.16687984764575958, -0.49426335096359253, -0.05849212780594826, -0.4037962853908539, 0.2477487176656723, 0.15609994530677795, 0.1619897484779358, -0.1157415360212326, -0.15169823169708252, 0.06101197749376297, -0.23870885372161865, -0.037529509514570236, -0.029166974127292633, -0.2705974876880646, 0.07998667657375336, -0.14209818840026855, -0.35449889302253723, -0.0881054699420929, 0.16759027540683746, 0.0353301502764225, -0.10051698982715607, 0.023311935365200043, 0.12566135823726654, -0.07844915241003036, 0.23181578516960144, -0.03933293744921684, -0.20962561666965485, -0.3523668348789215, 0.36538779735565186, -0.21570837497711182, -0.24625486135482788, -0.08414754271507263, -0.17182964086532593, -0.23561540246009827, -0.01157139427959919, 0.17556118965148926, 0.0773778036236763, -0.44408419728279114, 0.08956737071275711, 0.2777523696422577, 0.213186576962471, -0.2282724529504776, 0.20869502425193787, 0.26057004928588867, -0.12514659762382507, -0.017381127923727036, -0.11605817079544067, -0.40780866146087646, 0.017163708806037903, -0.049974504858255386, 0.06513009965419769, 0.16995307803153992, 0.06488439440727234, 0.4240044951438904, -0.3054471015930176, -0.21824496984481812, 0.05652385950088501, -0.023446574807167053, -0.08693430572748184, 0.28481724858283997, -0.053286053240299225, 0.3335214853286743, -0.06232497841119766, 0.02429349534213543, 0.22864581644535065, -0.20715218782424927, -0.11468815058469772, 0.08386078476905823, 0.16995488107204437, -0.028959937393665314, -0.031225642189383507, 0.13096119463443756, 0.3161380887031555, -0.302977979183197, -0.16415007412433624, 0.18505950272083282, 0.2918839156627655, 0.1227116584777832, 0.1217290610074997, 0.09544938057661057, 0.39908885955810547, -0.054478444159030914, 0.26656830310821533, 0.006056472659111023, 0.23626084625720978, -0.310293585062027, -0.028624027967453003, -0.08557850867509842, 0.19417709112167358, 0.326697438955307, 0.21408909559249878, 0.4270033836364746, 0.18975302577018738, 0.3153117895126343, -0.06443192064762115, 0.22023028135299683, -0.06003561243414879, 0.47897833585739136, 0.1527285873889923, 0.0401296466588974, 0.1408071368932724, 0.03140167146921158, 0.0865226536989212, -0.3198739290237427, -0.04724069684743881, 0.14252158999443054, 0.12882137298583984, -0.006496518850326538, 0.13938909769058228, 0.26943302154541016, 0.20090746879577637, -0.016101889312267303, 0.015021000057458878, 0.45354554057121277, 0.13781321048736572, 0.11383502185344696, 0.4000210762023926, 0.1090148389339447, 0.19239068031311035, 0.07259195297956467, 0.351716548204422, 0.13118761777877808, 0.04938776046037674, -0.33784639835357666, -0.06361806392669678, -0.24433565139770508, 0.13924595713615417, 0.22069379687309265, -0.32815971970558167, -0.14009788632392883, 0.1504916399717331, 0.15026073157787323, 0.16157343983650208, 0.10142922401428223, 0.4976159632205963, -0.04369652643799782, -0.08638263493776321, -0.39872318506240845, 0.028396105393767357, 0.06226629018783569, 0.012814901769161224, 0.2641022205352783, -0.3213719129562378, -0.1354968547821045, -0.014313800260424614, -0.09288150072097778, -0.31463897228240967, -0.04670996963977814, -0.05850978195667267, 0.001961439847946167, -0.39589253067970276, -0.1894819438457489, 0.09167922288179398, 0.2839440107345581, -0.22596649825572968, -0.26275184750556946, 0.06317521631717682, 0.09093377739191055, 0.25729435682296753, 0.3366769850254059, 0.20640945434570312, -0.19785021245479584, 0.31949499249458313, 0.20697994530200958, -0.07060790061950684, 0.17890116572380066, -0.2197304368019104, 0.01224089041352272, 0.2034398466348648, 0.16704200208187103, 0.28701305389404297, 0.1538180410861969, -0.0995326116681099, 0.1744704693555832, -0.48624300956726074, -0.16469518840312958, -0.6798011064529419, 0.4655073285102844, -0.5995091199874878, -0.041371412575244904, -0.1382923275232315, -0.11557868868112564, -0.021709222346544266, -0.11286391317844391, 0.15000727772712708, 0.05000500753521919, 0.16930383443832397, -0.07953636348247528, 0.028082888573408127, -0.016807962208986282, 0.1941993236541748, 0.23608732223510742, 0.14951291680335999, -0.1783362627029419, -0.16147944331169128, -0.510616660118103, -0.11120415478944778, 0.16974212229251862, -0.23534952104091644, -0.15232537686824799, -0.038861580193042755, 0.011686928570270538, 0.37491345405578613, 0.024715393781661987, 0.08592559397220612, 0.023443546146154404, -0.05802661180496216, 0.12248194217681885, -0.08056321740150452, -0.3438720703125, 0.061748698353767395, 0.09756627678871155, -0.1652921438217163, 0.3198108375072479, -0.2840075194835663, -0.09017153084278107, -0.021058466285467148, 0.24586504697799683, 0.14385497570037842, 0.04699582979083061, 0.45189714431762695, 0.08747505396604538, 0.2409142106771469, 0.03096124529838562, -0.02419259026646614, 0.02640249952673912, 0.026565635576844215, -0.3519391417503357, 0.2404351532459259, -0.43134015798568726, 0.26547348499298096, -0.311550110578537, -0.06042507663369179, -0.12708868086338043, 0.3795720338821411, 0.5535510182380676, 0.1280563324689865, -0.23690271377563477, -0.19527283310890198, 0.034446343779563904, -0.27187496423721313, 0.07498330622911453, 0.3939208686351776, -0.10174484550952911, -0.16535498201847076, 0.021686188876628876, -0.36797088384628296, 0.4705333709716797, 0.015556293539702892, 0.08299405872821808, -0.0974382683634758, 0.08538907021284103, 0.19511021673679352, -0.5168246626853943, -0.3098946511745453, 0.17186415195465088, 0.3990899920463562, 0.16026586294174194, 0.19957168400287628, 0.07145402580499649, -0.10009697079658508, -0.02832718938589096, -0.15135546028614044, 0.20962797105312347, -0.09747911244630814, 0.11728277802467346, 0.23700383305549622, -0.13874951004981995 ]
https://github.com/huggingface/datasets/issues/6958
My Private Dataset doesn't exist on the Hub or cannot be accessed
I have checked the API HTTP link. Repository Not Found for url: https://huggingface.co/api/datasets/xxx/xxx. ![image](https://github.com/huggingface/datasets/assets/39621324/4aceef59-0c65-4161-9665-676d25d73225) It just works fine.
### Describe the bug ``` File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on the Hub or cannot be accessed >>> dataset = load_dataset("xxxx", token=True) 404 error 404 Client Error. (Request ID: Root=xxxx) Repository Not Found for url: https://huggingface.co/api/datasets/xxx/xxx. Please make sure you specified the correct `repo_id` and `repo_type`. If you are trying to access a private or gated repo, make sure you are authenticated. Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 2593, in load_dataset builder_instance = load_dataset_builder( File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 2265, in load_dataset_builder dataset_module = dataset_module_factory( File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1910, in dataset_module_factory raise e1 from None File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on the Hub or cannot be accessed ``` ### Steps to reproduce the bug 123 ### Expected behavior 123 ### Environment info 123
18
My Private Dataset doesn't exist on the Hub or cannot be accessed ### Describe the bug ``` File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on the Hub or cannot be accessed >>> dataset = load_dataset("xxxx", token=True) 404 error 404 Client Error. (Request ID: Root=xxxx) Repository Not Found for url: https://huggingface.co/api/datasets/xxx/xxx. Please make sure you specified the correct `repo_id` and `repo_type`. If you are trying to access a private or gated repo, make sure you are authenticated. Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 2593, in load_dataset builder_instance = load_dataset_builder( File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 2265, in load_dataset_builder dataset_module = dataset_module_factory( File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1910, in dataset_module_factory raise e1 from None File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on the Hub or cannot be accessed ``` ### Steps to reproduce the bug 123 ### Expected behavior 123 ### Environment info 123 I have checked the API HTTP link. Repository Not Found for url: https://huggingface.co/api/datasets/xxx/xxx. ![image](https://github.com/huggingface/datasets/assets/39621324/4aceef59-0c65-4161-9665-676d25d73225) It just works fine.
[ -0.15427567064762115, -0.09437812119722366, -0.006820298731327057, 0.5615899562835693, 0.04682841897010803, 0.1300916075706482, 0.30762535333633423, 0.13233250379562378, -0.2375364601612091, 0.1407913714647293, -0.2417382448911667, 0.20495396852493286, -0.007244846783578396, 0.2511383593082428, 0.035289838910102844, 0.24713699519634247, -0.10297247022390366, 0.19824311137199402, 0.13608187437057495, -0.2275814563035965, -0.2197873592376709, 0.04367091506719589, -0.23364537954330444, 0.13835673034191132, -0.21395519375801086, -0.217753604054451, -0.0068912506103515625, 0.4750484824180603, -0.35520219802856445, -0.3083324134349823, 0.36020058393478394, 0.014175407588481903, 0.16278085112571716, 0.9211117625236511, -0.00011318537872284651, 0.1955348700284958, 0.2672542631626129, 0.05392374098300934, -0.48341771960258484, -0.1866091936826706, -0.7036959528923035, -0.058265432715415955, -0.07531636953353882, -0.12454657256603241, -0.136377215385437, -0.05413888022303581, -0.12695534527301788, -0.1520468145608902, 0.37270402908325195, 0.4340325891971588, 0.19995148479938507, 0.4155716896057129, 0.18634244799613953, -0.27370327711105347, 0.13795171678066254, 0.13580840826034546, -0.23266147077083588, 0.41424182057380676, -0.11891041696071625, 0.22436010837554932, 0.23530066013336182, 0.16258575022220612, -0.05066169053316116, -0.11252807080745697, 0.39107272028923035, 0.06289374083280563, -0.05041612684726715, -0.4117901623249054, 0.07295137643814087, 0.19144901633262634, 0.7688122987747192, -0.44305750727653503, -0.6106858253479004, 0.02515542507171631, 0.16080212593078613, -0.25467878580093384, 0.17272111773490906, 0.14873959124088287, 0.08475574851036072, 0.4206053912639618, -0.22426970303058624, -0.3554757237434387, -0.24960215389728546, 0.1243254542350769, -0.10566669702529907, 0.15424033999443054, -0.04052130505442619, 0.05845009535551071, -0.3250269889831543, -0.20192936062812805, 0.08327215164899826, -0.15679548680782318, 0.02923264354467392, 0.20421889424324036, -0.12880444526672363, -0.21129554510116577, 0.044297151267528534, 0.04186845198273659, 0.21016153693199158, 0.2529178559780121, -0.06372949481010437, -0.04684001952409744, -0.243673175573349, 0.0688379779458046, 0.07268761098384857, 0.25975361466407776, 0.1637757122516632, 0.49884870648384094, 0.5489606857299805, 0.2947360575199127, 0.16720274090766907, 0.06655064225196838, -0.23310209810733795, 0.11851475387811661, -0.19318222999572754, 0.031481921672821045, 0.5693351626396179, -0.22362172603607178, -0.22050422430038452, 0.11776311695575714, -0.18559247255325317, 0.13911893963813782, 0.3014272451400757, 0.44354048371315, 0.09049070626497269, -0.09326294809579849, -0.07049772143363953, 0.12115198373794556, -0.11979428678750992, -0.16407209634780884, -0.24792444705963135, -0.07191891968250275, -0.09862623363733292, 0.2724502384662628, 0.09395508468151093, -0.3373468220233917, 0.3338949978351593, 0.027266141027212143, 0.054309818893671036, -0.10528424382209778, -0.1921689212322235, -0.08585067093372345, -0.332927942276001, 0.2794344127178192, 0.08520767092704773, 0.0661756843328476, 0.043421968817710876, -0.24274751543998718, -0.0713062733411789, -0.1681358516216278, -0.30971401929855347, -0.489000141620636, -0.21584954857826233, 0.16308929026126862, -0.2841576337814331, 0.06158682703971863, -0.20475885272026062, -0.19284728169441223, 0.2303464114665985, -0.14760206639766693, 0.03145560622215271, 0.20789602398872375, -0.1608382910490036, -0.23721306025981903, 0.2275380939245224, 0.6517388820648193, -0.0661546140909195, 0.04891515523195267, 0.0642261952161789, -0.272969126701355, 0.028309546411037445, 0.01879740133881569, -0.11383756995201111, 0.2578752338886261, -0.32486608624458313, 0.026673786342144012, 0.3648831248283386, -0.4722280204296112, -0.7577558755874634, 0.08046229928731918, -0.21115224063396454, -0.21337303519248962, -0.03882496803998947, -0.1367347091436386, 0.006971736904233694, -0.10549328476190567, 0.2702634632587433, 0.1660493016242981, 0.18017739057540894, -0.05217885971069336, -0.20148254930973053, -0.22401537001132965, -0.1711689829826355, 0.16861368715763092, 0.0686192512512207, 0.08783123642206192, 0.24603983759880066, 0.1158924326300621, 0.20393362641334534, 0.02767433226108551, -0.07309725880622864, 0.2936079502105713, 0.35993242263793945, 0.008067790418863297, 0.034468069672584534, -0.14923086762428284, -0.283216655254364, 0.285293847322464, -0.3291078209877014, 0.1432911604642868, -0.12325465679168701, -0.14474661648273468, -0.5457690358161926, 0.035431720316410065, -0.40040355920791626, -0.18040569126605988, 0.14369016885757446, 0.22507166862487793, 0.0015805363655090332, 0.09054972231388092, -0.307054728269577, 0.3559882938861847, -0.14741314947605133, 0.17721351981163025, -0.4542360305786133, 0.42393171787261963, -0.0007121860980987549, -0.20079649984836578, 0.078477643430233, 0.5464627742767334, 0.42408129572868347, -0.037882547825574875, 0.06749860942363739, 0.3711053729057312, 0.10585946589708328, 0.09428548812866211, 0.38028955459594727, -0.0899113267660141, 0.40722984075546265, -0.2583083212375641, 0.19685156643390656, 0.13398458063602448, 0.1867026686668396, 0.25265955924987793, 0.03513611853122711, 0.09587258100509644, 0.0794665515422821, 0.015086032450199127, -0.06674482673406601, 0.06767845898866653, 0.261309951543808, -0.020453833043575287, -0.1169368103146553, -0.35932302474975586, 0.04444146156311035, 0.09729212522506714, 0.0977027416229248, -0.07619055360555649, 0.02705053985118866, 0.09374987334012985, 0.013577103614807129, -0.15117384493350983, 0.22888368368148804, -0.031061552464962006, -0.27996882796287537, -0.03661233186721802, 0.0554557740688324, 0.3415120244026184, 0.3994804620742798, 0.06995680928230286, -0.1678890436887741, 0.19520746171474457, 0.06097341701388359, -0.056164517998695374, 0.18613407015800476, 0.0857943519949913, 0.366827130317688, 0.13821953535079956, 0.17444583773612976, 0.05165679380297661, 0.13408982753753662, -0.2628316283226013, -0.004913901910185814, 0.4323823153972626, -0.43558430671691895, -0.1492634117603302, -0.22418168187141418, 0.0033811554312705994, 0.09983440488576889, -0.37874266505241394, -0.3030720353126526, -0.15218210220336914, -0.011214043945074081, -0.10411851108074188, 0.09320947527885437, 0.06002113223075867, -0.1970604658126831, 0.24436473846435547, 0.034561291337013245, -0.08728598803281784, -0.17711426317691803, -0.11950454115867615, -0.09673770517110825, -0.026194460690021515, 0.23543715476989746, 0.14794979989528656, 0.2594919800758362, -0.24336497485637665, -0.08953360468149185, -0.4056325852870941, -0.027401655912399292, 0.09563906490802765, 0.046245090663433075, 0.4915407598018646, 0.17888931930065155, 0.118196502327919, 0.3840959072113037, -0.007824379950761795, 0.25852450728416443, 0.0808124765753746, -0.21620334684848785, 0.09712197631597519, -0.12727446854114532, -0.020153608173131943, 0.019588496536016464, -0.15594837069511414, -0.42575234174728394, -0.3388025462627411, -0.06450870633125305, 0.044416893273591995, 0.2428717464208603, 0.17262886464595795, 0.039547838270664215, 0.35742121934890747, 0.041322141885757446, -0.06391624361276627, -0.24151617288589478, -0.45952609181404114, 0.32377225160598755, -0.381110280752182, -0.24429859220981598, 0.2423900067806244, -0.05731261149048805, 0.37712541222572327, -0.18626472353935242, -0.5511151552200317, -0.31072115898132324, -0.09625722467899323, 0.3372434973716736, -0.11376197636127472, -0.13140304386615753, 0.3006126284599304, -0.06469468772411346, 0.0011952165514230728, -0.19367504119873047, -0.4755825996398926, -0.18383687734603882, -0.08527842164039612, 0.2919793426990509, 0.10542391240596771, 0.2341749370098114, -0.10751979053020477, 0.6268138289451599, 0.5638413429260254, 0.03126506879925728, 0.23567909002304077, -0.0961991623044014, 0.3201872408390045, 0.020424671471118927, -0.4538308084011078, -0.015576866455376148, 0.24805696308612823, -0.11110688000917435, 0.26042962074279785, 0.15830537676811218, 0.04314994812011719, -0.36509692668914795, -0.6054589152336121, -0.48912957310676575, -0.17558503150939941, -0.5211285352706909, 0.11215554922819138, 0.19364875555038452, -0.004342816770076752, 0.22076332569122314, -0.21343421936035156, 0.009780138731002808, -0.04649132490158081, 0.29742586612701416, 0.040406666696071625, 0.13330762088298798, -0.08066639304161072, -0.04661272093653679, -0.3916860520839691, 0.331745982170105, -0.14384865760803223, 0.38040828704833984, -0.04958980903029442, 0.17803296446800232, 0.15314990282058716, -0.028404641896486282, 0.4395817518234253, -0.2063208371400833, 0.3264418840408325, 0.02741072326898575, -0.05829235166311264, -0.42830830812454224, -0.007527492940425873, 0.07771959900856018, 0.3823050260543823, 0.022328456863760948, 0.7686706781387329, -0.3455156683921814, -0.14818984270095825, 0.32956695556640625, -0.1375739872455597, -0.16846364736557007, -0.2978353202342987, -0.23116104304790497, -0.3692091405391693, -0.17673544585704803, -0.06135348230600357, -0.31043779850006104, 0.20541861653327942, 0.10795769840478897, -0.13177412748336792, 0.1459854692220688, -0.14560440182685852, 0.08535649627447128, 0.26289504766464233, 0.4037718176841736, 0.09040161967277527, 0.24822136759757996, 0.39841601252555847, -0.02004247158765793, 0.49708038568496704, 0.6064850687980652, 0.11403535306453705, -0.46315985918045044, -0.04857221990823746, -0.1011279970407486, 0.02392159402370453, 0.28753942251205444, -0.03428925946354866, -0.07412488013505936, 0.19468072056770325, 0.02584368735551834, -0.2653902471065521, -0.19558528065681458, 0.09430692344903946, -0.19271738827228546, -0.40660181641578674, -0.2220838963985443, 0.4308196008205414, -0.07480305433273315, 0.011997677385807037, 0.13111884891986847, 0.36127567291259766, -0.2919124662876129, 0.055267758667469025, -0.018905073404312134, 0.9781484603881836, 0.09794008731842041, -0.0937989205121994, 0.44713693857192993, -0.051537953317165375, 0.43420055508613586, -0.28677207231521606, 0.1892944574356079, -0.22838647663593292, -0.12911267578601837, -0.05443423613905907, -0.19602839648723602, 0.1519419550895691, -0.35715246200561523, -0.18988336622714996, 0.3120529353618622, -0.29755133390426636, 0.3793066143989563, -0.020151441916823387, -0.09440450370311737, -0.1855563521385193, 0.07310058176517487, -0.30758023262023926, 0.17680345475673676, -0.0951237827539444, 0.3356383740901947, -0.19702142477035522, -0.17521053552627563, -0.41904208064079285, -0.2061520516872406, -0.4156113862991333, 0.10346566885709763, -0.21661336719989777, -0.04103098809719086, 0.10618063807487488, -0.4267997741699219, 0.09490476548671722, 0.22377276420593262, 0.18105730414390564, 0.1443430632352829, -0.498180627822876, 0.07088014483451843, -0.41141605377197266, -0.01974431611597538, -0.18396493792533875, 0.12320688366889954, 0.16119712591171265, -0.20382565259933472, -0.4736323654651642, 0.1923283040523529, -0.08003728836774826, -0.07831598818302155, -0.052154749631881714, 0.23668760061264038, 0.15472300350666046, -0.2673895061016083, 0.18166795372962952, 0.0697435587644577, 0.14847742021083832, -0.33515748381614685, 0.11421293020248413, 0.08544282615184784, -0.2146049439907074, -0.08511128276586533, -0.10079023241996765, -0.15838177502155304, -0.011661563068628311, 0.35632604360580444, 0.05090177059173584, 0.05268343538045883, 0.48528018593788147, -0.009983643889427185, -0.09501436352729797, -0.2833838164806366, 0.31463298201560974, 0.055084649473428726, -0.2574784755706787, 0.024876683950424194, -0.04123272746801376, 0.09616526961326599, -0.005341883283108473, 0.022082269191741943, 0.1155722513794899, -0.21052971482276917, -0.0450403094291687, -0.5498785972595215, -0.18232756853103638, 0.02636062353849411, -0.26406601071357727, 0.16558894515037537, -0.05860661342740059, 0.2230389267206192, 0.0568154975771904, -0.1363528072834015, -0.3166394829750061, 0.23241181671619415, -0.6961200833320618, -0.0895984023809433, 0.10073241591453552, 0.06978113949298859, 0.14358972012996674, -0.1313629001379013, 0.0862991139292717, 0.03012508526444435, -0.27121567726135254, -0.1488921046257019, -0.09600111842155457, 0.15700970590114594, 0.08642822504043579, -0.1770426332950592, 0.11123351007699966, -0.15800237655639648, -0.09258651733398438, -0.022642020136117935, 0.2559458911418915, 0.2822638750076294, 0.18108594417572021, -0.10226423293352127, 0.32105696201324463, 0.21116000413894653, -0.3630940914154053, 0.303279846906662, 0.16280847787857056, 0.19616830348968506, 0.1212134063243866, 0.21949627995491028, -0.29614558815956116, -0.03235326707363129, 0.058497581630945206, 0.0047238171100616455, 0.15137402713298798, 0.21395343542099, 0.4052485227584839, -0.409601092338562, 0.08418527245521545, 0.4331294894218445, -0.013746116310358047, 0.11860628426074982, -0.20169050991535187, 0.14436748623847961, 0.11848961561918259, 0.17424659430980682, -0.28027430176734924, -0.04220281541347504, 0.2526250183582306, 0.14924882352352142, -0.07938732951879501, 0.11776089668273926, -0.040112536400556564, -0.014292515814304352, -0.04574497044086456, 0.17307674884796143, 0.5192350149154663, 0.02345045655965805, 0.24947406351566315, 0.2708370089530945, -0.24412859976291656, 0.052801039069890976, 0.1610162854194641, 0.1416683793067932, 0.00898384302854538, 0.5257214307785034, -0.21487146615982056, 0.39178764820098877, -0.06875770539045334, 0.18787595629692078, 0.1338287740945816, -0.5237078666687012, -0.09813764691352844, 0.013129204511642456, 0.1197240799665451, -0.21413162350654602, -0.2563284635543823, 0.12632936239242554, -0.297953724861145, 0.2610725462436676, -0.26499801874160767, 0.024802640080451965, -0.061744607985019684, 0.19337503612041473, -0.27462926506996155, -0.3018859922885895, 0.14050252735614777, -0.2645176649093628, 0.010491162538528442, -0.4537656903266907, -0.1704348921775818, -0.059996962547302246, -0.3771290183067322, -0.357600599527359, 0.022964294999837875, 0.45002201199531555, -0.09359151870012283, -0.1934615671634674, 0.32487356662750244, 0.19999125599861145, 0.07114893943071365, -0.08885644376277924, 0.43179231882095337, 0.34044888615608215, 0.21113590896129608, 0.045832935720682144, 0.09296635538339615, 0.17168240249156952, -0.06438752263784409, 0.03134521096944809, 0.15191243588924408, -0.03488650918006897, 0.05408265069127083, 0.038175664842128754, 0.16780021786689758, -0.05161375179886818, -0.06312298774719238, 0.1124885231256485, 0.42242440581321716, -0.18746042251586914, 0.4139483571052551, -0.39752209186553955, -0.13977906107902527, -0.08045034855604172, 0.09765773266553879, -0.30893081426620483, 0.3227328062057495, 0.4888925850391388, 0.1544281542301178, 0.10594537854194641, -0.12791678309440613, 0.06165540963411331, -0.23837962746620178, 0.30113470554351807, 0.5001949071884155, 0.10728958249092102, -0.18476133048534393, -0.014428719878196716, -0.24198861420154572, 0.3568759858608246, 0.02428201399743557, -0.15131565928459167, 0.054155103862285614, 0.12647567689418793, -0.12137328833341599, 0.0111280158162117, 0.49275124073028564, -0.06257562339305878, 0.18481220304965973, 0.04670824483036995, -0.29806941747665405, -0.15520071983337402, -0.14728312194347382, -0.09122167527675629, 0.10796867311000824, -0.346236914396286, 0.1945330798625946, -0.14807982742786407, 0.02330460399389267, 0.10880879312753677, -0.02340298891067505, 0.15967302024364471, -0.41450437903404236, 0.6865342855453491, 0.08063346147537231, 0.1028437614440918, 0.08124607801437378, -0.09269870817661285, -0.5932140350341797, -0.21136178076267242, -0.19694702327251434, -0.04242366552352905, 0.1094197928905487, 0.08110897988080978, -0.3071659803390503, -0.14614249765872955, -0.24973395466804504, 0.3319612741470337, 0.010274715721607208, 0.20791120827198029, 0.09385782480239868, 0.29078158736228943, -0.15597742795944214, -0.2487066090106964, 0.13256065547466278, -0.06747738271951675, -0.04459203779697418, 0.1112951785326004, -0.1641407012939453, -0.030254587531089783, 0.7311733961105347, -0.26818951964378357, -0.1444505751132965, -0.006665036082267761, 0.4820961356163025, 0.011000506579875946, -0.26180553436279297, -0.27449753880500793, 0.17542842030525208, 0.360397607088089, 0.08620508015155792, -0.2519150674343109, 0.09973351657390594, -0.07732333242893219, 0.06718224287033081, 0.03584740683436394, 0.11278379708528519, -0.19022005796432495, -0.06870125234127045, 0.34415873885154724, -0.09123708307743073 ]
https://github.com/huggingface/datasets/issues/6958
My Private Dataset doesn't exist on the Hub or cannot be accessed
https://github.com/huggingface/datasets/blob/main/templates/new_dataset_script.py#L81 can not use this, too complex. I just need a def to load my file to a dict
### Describe the bug ``` File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on the Hub or cannot be accessed >>> dataset = load_dataset("xxxx", token=True) 404 error 404 Client Error. (Request ID: Root=xxxx) Repository Not Found for url: https://huggingface.co/api/datasets/xxx/xxx. Please make sure you specified the correct `repo_id` and `repo_type`. If you are trying to access a private or gated repo, make sure you are authenticated. Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 2593, in load_dataset builder_instance = load_dataset_builder( File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 2265, in load_dataset_builder dataset_module = dataset_module_factory( File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1910, in dataset_module_factory raise e1 from None File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on the Hub or cannot be accessed ``` ### Steps to reproduce the bug 123 ### Expected behavior 123 ### Environment info 123
19
My Private Dataset doesn't exist on the Hub or cannot be accessed ### Describe the bug ``` File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on the Hub or cannot be accessed >>> dataset = load_dataset("xxxx", token=True) 404 error 404 Client Error. (Request ID: Root=xxxx) Repository Not Found for url: https://huggingface.co/api/datasets/xxx/xxx. Please make sure you specified the correct `repo_id` and `repo_type`. If you are trying to access a private or gated repo, make sure you are authenticated. Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 2593, in load_dataset builder_instance = load_dataset_builder( File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 2265, in load_dataset_builder dataset_module = dataset_module_factory( File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1910, in dataset_module_factory raise e1 from None File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on the Hub or cannot be accessed ``` ### Steps to reproduce the bug 123 ### Expected behavior 123 ### Environment info 123 https://github.com/huggingface/datasets/blob/main/templates/new_dataset_script.py#L81 can not use this, too complex. I just need a def to load my file to a dict
[ -0.15427567064762115, -0.09437812119722366, -0.006820298731327057, 0.5615899562835693, 0.04682841897010803, 0.1300916075706482, 0.30762535333633423, 0.13233250379562378, -0.2375364601612091, 0.1407913714647293, -0.2417382448911667, 0.20495396852493286, -0.007244846783578396, 0.2511383593082428, 0.035289838910102844, 0.24713699519634247, -0.10297247022390366, 0.19824311137199402, 0.13608187437057495, -0.2275814563035965, -0.2197873592376709, 0.04367091506719589, -0.23364537954330444, 0.13835673034191132, -0.21395519375801086, -0.217753604054451, -0.0068912506103515625, 0.4750484824180603, -0.35520219802856445, -0.3083324134349823, 0.36020058393478394, 0.014175407588481903, 0.16278085112571716, 0.9211117625236511, -0.00011318537872284651, 0.1955348700284958, 0.2672542631626129, 0.05392374098300934, -0.48341771960258484, -0.1866091936826706, -0.7036959528923035, -0.058265432715415955, -0.07531636953353882, -0.12454657256603241, -0.136377215385437, -0.05413888022303581, -0.12695534527301788, -0.1520468145608902, 0.37270402908325195, 0.4340325891971588, 0.19995148479938507, 0.4155716896057129, 0.18634244799613953, -0.27370327711105347, 0.13795171678066254, 0.13580840826034546, -0.23266147077083588, 0.41424182057380676, -0.11891041696071625, 0.22436010837554932, 0.23530066013336182, 0.16258575022220612, -0.05066169053316116, -0.11252807080745697, 0.39107272028923035, 0.06289374083280563, -0.05041612684726715, -0.4117901623249054, 0.07295137643814087, 0.19144901633262634, 0.7688122987747192, -0.44305750727653503, -0.6106858253479004, 0.02515542507171631, 0.16080212593078613, -0.25467878580093384, 0.17272111773490906, 0.14873959124088287, 0.08475574851036072, 0.4206053912639618, -0.22426970303058624, -0.3554757237434387, -0.24960215389728546, 0.1243254542350769, -0.10566669702529907, 0.15424033999443054, -0.04052130505442619, 0.05845009535551071, -0.3250269889831543, -0.20192936062812805, 0.08327215164899826, -0.15679548680782318, 0.02923264354467392, 0.20421889424324036, -0.12880444526672363, -0.21129554510116577, 0.044297151267528534, 0.04186845198273659, 0.21016153693199158, 0.2529178559780121, -0.06372949481010437, -0.04684001952409744, -0.243673175573349, 0.0688379779458046, 0.07268761098384857, 0.25975361466407776, 0.1637757122516632, 0.49884870648384094, 0.5489606857299805, 0.2947360575199127, 0.16720274090766907, 0.06655064225196838, -0.23310209810733795, 0.11851475387811661, -0.19318222999572754, 0.031481921672821045, 0.5693351626396179, -0.22362172603607178, -0.22050422430038452, 0.11776311695575714, -0.18559247255325317, 0.13911893963813782, 0.3014272451400757, 0.44354048371315, 0.09049070626497269, -0.09326294809579849, -0.07049772143363953, 0.12115198373794556, -0.11979428678750992, -0.16407209634780884, -0.24792444705963135, -0.07191891968250275, -0.09862623363733292, 0.2724502384662628, 0.09395508468151093, -0.3373468220233917, 0.3338949978351593, 0.027266141027212143, 0.054309818893671036, -0.10528424382209778, -0.1921689212322235, -0.08585067093372345, -0.332927942276001, 0.2794344127178192, 0.08520767092704773, 0.0661756843328476, 0.043421968817710876, -0.24274751543998718, -0.0713062733411789, -0.1681358516216278, -0.30971401929855347, -0.489000141620636, -0.21584954857826233, 0.16308929026126862, -0.2841576337814331, 0.06158682703971863, -0.20475885272026062, -0.19284728169441223, 0.2303464114665985, -0.14760206639766693, 0.03145560622215271, 0.20789602398872375, -0.1608382910490036, -0.23721306025981903, 0.2275380939245224, 0.6517388820648193, -0.0661546140909195, 0.04891515523195267, 0.0642261952161789, -0.272969126701355, 0.028309546411037445, 0.01879740133881569, -0.11383756995201111, 0.2578752338886261, -0.32486608624458313, 0.026673786342144012, 0.3648831248283386, -0.4722280204296112, -0.7577558755874634, 0.08046229928731918, -0.21115224063396454, -0.21337303519248962, -0.03882496803998947, -0.1367347091436386, 0.006971736904233694, -0.10549328476190567, 0.2702634632587433, 0.1660493016242981, 0.18017739057540894, -0.05217885971069336, -0.20148254930973053, -0.22401537001132965, -0.1711689829826355, 0.16861368715763092, 0.0686192512512207, 0.08783123642206192, 0.24603983759880066, 0.1158924326300621, 0.20393362641334534, 0.02767433226108551, -0.07309725880622864, 0.2936079502105713, 0.35993242263793945, 0.008067790418863297, 0.034468069672584534, -0.14923086762428284, -0.283216655254364, 0.285293847322464, -0.3291078209877014, 0.1432911604642868, -0.12325465679168701, -0.14474661648273468, -0.5457690358161926, 0.035431720316410065, -0.40040355920791626, -0.18040569126605988, 0.14369016885757446, 0.22507166862487793, 0.0015805363655090332, 0.09054972231388092, -0.307054728269577, 0.3559882938861847, -0.14741314947605133, 0.17721351981163025, -0.4542360305786133, 0.42393171787261963, -0.0007121860980987549, -0.20079649984836578, 0.078477643430233, 0.5464627742767334, 0.42408129572868347, -0.037882547825574875, 0.06749860942363739, 0.3711053729057312, 0.10585946589708328, 0.09428548812866211, 0.38028955459594727, -0.0899113267660141, 0.40722984075546265, -0.2583083212375641, 0.19685156643390656, 0.13398458063602448, 0.1867026686668396, 0.25265955924987793, 0.03513611853122711, 0.09587258100509644, 0.0794665515422821, 0.015086032450199127, -0.06674482673406601, 0.06767845898866653, 0.261309951543808, -0.020453833043575287, -0.1169368103146553, -0.35932302474975586, 0.04444146156311035, 0.09729212522506714, 0.0977027416229248, -0.07619055360555649, 0.02705053985118866, 0.09374987334012985, 0.013577103614807129, -0.15117384493350983, 0.22888368368148804, -0.031061552464962006, -0.27996882796287537, -0.03661233186721802, 0.0554557740688324, 0.3415120244026184, 0.3994804620742798, 0.06995680928230286, -0.1678890436887741, 0.19520746171474457, 0.06097341701388359, -0.056164517998695374, 0.18613407015800476, 0.0857943519949913, 0.366827130317688, 0.13821953535079956, 0.17444583773612976, 0.05165679380297661, 0.13408982753753662, -0.2628316283226013, -0.004913901910185814, 0.4323823153972626, -0.43558430671691895, -0.1492634117603302, -0.22418168187141418, 0.0033811554312705994, 0.09983440488576889, -0.37874266505241394, -0.3030720353126526, -0.15218210220336914, -0.011214043945074081, -0.10411851108074188, 0.09320947527885437, 0.06002113223075867, -0.1970604658126831, 0.24436473846435547, 0.034561291337013245, -0.08728598803281784, -0.17711426317691803, -0.11950454115867615, -0.09673770517110825, -0.026194460690021515, 0.23543715476989746, 0.14794979989528656, 0.2594919800758362, -0.24336497485637665, -0.08953360468149185, -0.4056325852870941, -0.027401655912399292, 0.09563906490802765, 0.046245090663433075, 0.4915407598018646, 0.17888931930065155, 0.118196502327919, 0.3840959072113037, -0.007824379950761795, 0.25852450728416443, 0.0808124765753746, -0.21620334684848785, 0.09712197631597519, -0.12727446854114532, -0.020153608173131943, 0.019588496536016464, -0.15594837069511414, -0.42575234174728394, -0.3388025462627411, -0.06450870633125305, 0.044416893273591995, 0.2428717464208603, 0.17262886464595795, 0.039547838270664215, 0.35742121934890747, 0.041322141885757446, -0.06391624361276627, -0.24151617288589478, -0.45952609181404114, 0.32377225160598755, -0.381110280752182, -0.24429859220981598, 0.2423900067806244, -0.05731261149048805, 0.37712541222572327, -0.18626472353935242, -0.5511151552200317, -0.31072115898132324, -0.09625722467899323, 0.3372434973716736, -0.11376197636127472, -0.13140304386615753, 0.3006126284599304, -0.06469468772411346, 0.0011952165514230728, -0.19367504119873047, -0.4755825996398926, -0.18383687734603882, -0.08527842164039612, 0.2919793426990509, 0.10542391240596771, 0.2341749370098114, -0.10751979053020477, 0.6268138289451599, 0.5638413429260254, 0.03126506879925728, 0.23567909002304077, -0.0961991623044014, 0.3201872408390045, 0.020424671471118927, -0.4538308084011078, -0.015576866455376148, 0.24805696308612823, -0.11110688000917435, 0.26042962074279785, 0.15830537676811218, 0.04314994812011719, -0.36509692668914795, -0.6054589152336121, -0.48912957310676575, -0.17558503150939941, -0.5211285352706909, 0.11215554922819138, 0.19364875555038452, -0.004342816770076752, 0.22076332569122314, -0.21343421936035156, 0.009780138731002808, -0.04649132490158081, 0.29742586612701416, 0.040406666696071625, 0.13330762088298798, -0.08066639304161072, -0.04661272093653679, -0.3916860520839691, 0.331745982170105, -0.14384865760803223, 0.38040828704833984, -0.04958980903029442, 0.17803296446800232, 0.15314990282058716, -0.028404641896486282, 0.4395817518234253, -0.2063208371400833, 0.3264418840408325, 0.02741072326898575, -0.05829235166311264, -0.42830830812454224, -0.007527492940425873, 0.07771959900856018, 0.3823050260543823, 0.022328456863760948, 0.7686706781387329, -0.3455156683921814, -0.14818984270095825, 0.32956695556640625, -0.1375739872455597, -0.16846364736557007, -0.2978353202342987, -0.23116104304790497, -0.3692091405391693, -0.17673544585704803, -0.06135348230600357, -0.31043779850006104, 0.20541861653327942, 0.10795769840478897, -0.13177412748336792, 0.1459854692220688, -0.14560440182685852, 0.08535649627447128, 0.26289504766464233, 0.4037718176841736, 0.09040161967277527, 0.24822136759757996, 0.39841601252555847, -0.02004247158765793, 0.49708038568496704, 0.6064850687980652, 0.11403535306453705, -0.46315985918045044, -0.04857221990823746, -0.1011279970407486, 0.02392159402370453, 0.28753942251205444, -0.03428925946354866, -0.07412488013505936, 0.19468072056770325, 0.02584368735551834, -0.2653902471065521, -0.19558528065681458, 0.09430692344903946, -0.19271738827228546, -0.40660181641578674, -0.2220838963985443, 0.4308196008205414, -0.07480305433273315, 0.011997677385807037, 0.13111884891986847, 0.36127567291259766, -0.2919124662876129, 0.055267758667469025, -0.018905073404312134, 0.9781484603881836, 0.09794008731842041, -0.0937989205121994, 0.44713693857192993, -0.051537953317165375, 0.43420055508613586, -0.28677207231521606, 0.1892944574356079, -0.22838647663593292, -0.12911267578601837, -0.05443423613905907, -0.19602839648723602, 0.1519419550895691, -0.35715246200561523, -0.18988336622714996, 0.3120529353618622, -0.29755133390426636, 0.3793066143989563, -0.020151441916823387, -0.09440450370311737, -0.1855563521385193, 0.07310058176517487, -0.30758023262023926, 0.17680345475673676, -0.0951237827539444, 0.3356383740901947, -0.19702142477035522, -0.17521053552627563, -0.41904208064079285, -0.2061520516872406, -0.4156113862991333, 0.10346566885709763, -0.21661336719989777, -0.04103098809719086, 0.10618063807487488, -0.4267997741699219, 0.09490476548671722, 0.22377276420593262, 0.18105730414390564, 0.1443430632352829, -0.498180627822876, 0.07088014483451843, -0.41141605377197266, -0.01974431611597538, -0.18396493792533875, 0.12320688366889954, 0.16119712591171265, -0.20382565259933472, -0.4736323654651642, 0.1923283040523529, -0.08003728836774826, -0.07831598818302155, -0.052154749631881714, 0.23668760061264038, 0.15472300350666046, -0.2673895061016083, 0.18166795372962952, 0.0697435587644577, 0.14847742021083832, -0.33515748381614685, 0.11421293020248413, 0.08544282615184784, -0.2146049439907074, -0.08511128276586533, -0.10079023241996765, -0.15838177502155304, -0.011661563068628311, 0.35632604360580444, 0.05090177059173584, 0.05268343538045883, 0.48528018593788147, -0.009983643889427185, -0.09501436352729797, -0.2833838164806366, 0.31463298201560974, 0.055084649473428726, -0.2574784755706787, 0.024876683950424194, -0.04123272746801376, 0.09616526961326599, -0.005341883283108473, 0.022082269191741943, 0.1155722513794899, -0.21052971482276917, -0.0450403094291687, -0.5498785972595215, -0.18232756853103638, 0.02636062353849411, -0.26406601071357727, 0.16558894515037537, -0.05860661342740059, 0.2230389267206192, 0.0568154975771904, -0.1363528072834015, -0.3166394829750061, 0.23241181671619415, -0.6961200833320618, -0.0895984023809433, 0.10073241591453552, 0.06978113949298859, 0.14358972012996674, -0.1313629001379013, 0.0862991139292717, 0.03012508526444435, -0.27121567726135254, -0.1488921046257019, -0.09600111842155457, 0.15700970590114594, 0.08642822504043579, -0.1770426332950592, 0.11123351007699966, -0.15800237655639648, -0.09258651733398438, -0.022642020136117935, 0.2559458911418915, 0.2822638750076294, 0.18108594417572021, -0.10226423293352127, 0.32105696201324463, 0.21116000413894653, -0.3630940914154053, 0.303279846906662, 0.16280847787857056, 0.19616830348968506, 0.1212134063243866, 0.21949627995491028, -0.29614558815956116, -0.03235326707363129, 0.058497581630945206, 0.0047238171100616455, 0.15137402713298798, 0.21395343542099, 0.4052485227584839, -0.409601092338562, 0.08418527245521545, 0.4331294894218445, -0.013746116310358047, 0.11860628426074982, -0.20169050991535187, 0.14436748623847961, 0.11848961561918259, 0.17424659430980682, -0.28027430176734924, -0.04220281541347504, 0.2526250183582306, 0.14924882352352142, -0.07938732951879501, 0.11776089668273926, -0.040112536400556564, -0.014292515814304352, -0.04574497044086456, 0.17307674884796143, 0.5192350149154663, 0.02345045655965805, 0.24947406351566315, 0.2708370089530945, -0.24412859976291656, 0.052801039069890976, 0.1610162854194641, 0.1416683793067932, 0.00898384302854538, 0.5257214307785034, -0.21487146615982056, 0.39178764820098877, -0.06875770539045334, 0.18787595629692078, 0.1338287740945816, -0.5237078666687012, -0.09813764691352844, 0.013129204511642456, 0.1197240799665451, -0.21413162350654602, -0.2563284635543823, 0.12632936239242554, -0.297953724861145, 0.2610725462436676, -0.26499801874160767, 0.024802640080451965, -0.061744607985019684, 0.19337503612041473, -0.27462926506996155, -0.3018859922885895, 0.14050252735614777, -0.2645176649093628, 0.010491162538528442, -0.4537656903266907, -0.1704348921775818, -0.059996962547302246, -0.3771290183067322, -0.357600599527359, 0.022964294999837875, 0.45002201199531555, -0.09359151870012283, -0.1934615671634674, 0.32487356662750244, 0.19999125599861145, 0.07114893943071365, -0.08885644376277924, 0.43179231882095337, 0.34044888615608215, 0.21113590896129608, 0.045832935720682144, 0.09296635538339615, 0.17168240249156952, -0.06438752263784409, 0.03134521096944809, 0.15191243588924408, -0.03488650918006897, 0.05408265069127083, 0.038175664842128754, 0.16780021786689758, -0.05161375179886818, -0.06312298774719238, 0.1124885231256485, 0.42242440581321716, -0.18746042251586914, 0.4139483571052551, -0.39752209186553955, -0.13977906107902527, -0.08045034855604172, 0.09765773266553879, -0.30893081426620483, 0.3227328062057495, 0.4888925850391388, 0.1544281542301178, 0.10594537854194641, -0.12791678309440613, 0.06165540963411331, -0.23837962746620178, 0.30113470554351807, 0.5001949071884155, 0.10728958249092102, -0.18476133048534393, -0.014428719878196716, -0.24198861420154572, 0.3568759858608246, 0.02428201399743557, -0.15131565928459167, 0.054155103862285614, 0.12647567689418793, -0.12137328833341599, 0.0111280158162117, 0.49275124073028564, -0.06257562339305878, 0.18481220304965973, 0.04670824483036995, -0.29806941747665405, -0.15520071983337402, -0.14728312194347382, -0.09122167527675629, 0.10796867311000824, -0.346236914396286, 0.1945330798625946, -0.14807982742786407, 0.02330460399389267, 0.10880879312753677, -0.02340298891067505, 0.15967302024364471, -0.41450437903404236, 0.6865342855453491, 0.08063346147537231, 0.1028437614440918, 0.08124607801437378, -0.09269870817661285, -0.5932140350341797, -0.21136178076267242, -0.19694702327251434, -0.04242366552352905, 0.1094197928905487, 0.08110897988080978, -0.3071659803390503, -0.14614249765872955, -0.24973395466804504, 0.3319612741470337, 0.010274715721607208, 0.20791120827198029, 0.09385782480239868, 0.29078158736228943, -0.15597742795944214, -0.2487066090106964, 0.13256065547466278, -0.06747738271951675, -0.04459203779697418, 0.1112951785326004, -0.1641407012939453, -0.030254587531089783, 0.7311733961105347, -0.26818951964378357, -0.1444505751132965, -0.006665036082267761, 0.4820961356163025, 0.011000506579875946, -0.26180553436279297, -0.27449753880500793, 0.17542842030525208, 0.360397607088089, 0.08620508015155792, -0.2519150674343109, 0.09973351657390594, -0.07732333242893219, 0.06718224287033081, 0.03584740683436394, 0.11278379708528519, -0.19022005796432495, -0.06870125234127045, 0.34415873885154724, -0.09123708307743073 ]
https://github.com/huggingface/datasets/issues/6951
load_dataset() should load all subsets, if no specific subset is specified
Feel free to open a PR in `m-a-p/COIG-CQIA` to define a default subset. Currently there is no default. You can find some documentation at https://huggingface.co/docs/hub/datasets-manual-configuration#multiple-configurations
### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```--------------------------------------------------------------------------- ValueError Traceback (most recent call last) [<ipython-input-10-c0cb49385da6>](https://localhost:8080/#) in <cell line: 2>() 1 from datasets import load_dataset ----> 2 dataset = load_dataset("m-a-p/COIG-CQIA") 3 frames [/usr/local/lib/python3.10/dist-packages/datasets/builder.py](https://localhost:8080/#) in _create_builder_config(self, config_name, custom_features, **config_kwargs) 582 if not config_kwargs: 583 example_of_usage = f"load_dataset('{self.dataset_name}', '{self.BUILDER_CONFIGS[0].name}')" --> 584 raise ValueError( 585 "Config name is missing." 586 f"\nPlease pick one among the available configs: {list(self.builder_configs.keys())}" ValueError: Config name is missing. Please pick one among the available configs: ['chinese_traditional', 'coig_pc', 'exam', 'finance', 'douban', 'human_value', 'logi_qa', 'ruozhiba', 'segmentfault', 'wiki', 'wikihow', 'xhs', 'zhihu'] Example of usage: `load_dataset('coig-cqia', 'chinese_traditional')` ``` This means a dataset cannot contain all the subsets at the same time. I guess one workaround is to manually specify the subset files like in [here](https://huggingface.co/datasets/m-a-p/COIG-CQIA/discussions/1#658698b44bb41498f75c5622), which is clumsy. ### Motivation Ideally, if not subset is specified, the API should just try to load all subsets. This makes it much easier to handle datasets w/ subsets. ### Your contribution Not sure since I'm not familiar w/ the lib src.
25
load_dataset() should load all subsets, if no specific subset is specified ### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```--------------------------------------------------------------------------- ValueError Traceback (most recent call last) [<ipython-input-10-c0cb49385da6>](https://localhost:8080/#) in <cell line: 2>() 1 from datasets import load_dataset ----> 2 dataset = load_dataset("m-a-p/COIG-CQIA") 3 frames [/usr/local/lib/python3.10/dist-packages/datasets/builder.py](https://localhost:8080/#) in _create_builder_config(self, config_name, custom_features, **config_kwargs) 582 if not config_kwargs: 583 example_of_usage = f"load_dataset('{self.dataset_name}', '{self.BUILDER_CONFIGS[0].name}')" --> 584 raise ValueError( 585 "Config name is missing." 586 f"\nPlease pick one among the available configs: {list(self.builder_configs.keys())}" ValueError: Config name is missing. Please pick one among the available configs: ['chinese_traditional', 'coig_pc', 'exam', 'finance', 'douban', 'human_value', 'logi_qa', 'ruozhiba', 'segmentfault', 'wiki', 'wikihow', 'xhs', 'zhihu'] Example of usage: `load_dataset('coig-cqia', 'chinese_traditional')` ``` This means a dataset cannot contain all the subsets at the same time. I guess one workaround is to manually specify the subset files like in [here](https://huggingface.co/datasets/m-a-p/COIG-CQIA/discussions/1#658698b44bb41498f75c5622), which is clumsy. ### Motivation Ideally, if not subset is specified, the API should just try to load all subsets. This makes it much easier to handle datasets w/ subsets. ### Your contribution Not sure since I'm not familiar w/ the lib src. Feel free to open a PR in `m-a-p/COIG-CQIA` to define a default subset. Currently there is no default. You can find some documentation at https://huggingface.co/docs/hub/datasets-manual-configuration#multiple-configurations
[ -0.4091421961784363, -0.07037521153688431, -0.13517147302627563, 0.17581580579280853, 0.029934324324131012, 0.17260676622390747, 0.554303765296936, 0.44273942708969116, 0.19543197751045227, 0.3112321197986603, -0.028206272050738335, 0.3462783098220825, -0.035520218312740326, 0.18763893842697144, 0.03476790711283684, -0.07341214269399643, -0.18508583307266235, 0.34758710861206055, -0.10687899589538574, -0.002184022217988968, -0.29324859380722046, 0.06745733320713043, -0.16095706820487976, 0.06412824988365173, -0.1851140856742859, -0.04667852818965912, 0.12414175271987915, 0.15195581316947937, -0.15308816730976105, -0.5492324829101562, 0.21078139543533325, 0.12078386545181274, -0.022259755060076714, 0.060339637100696564, -0.00010431573173264042, 0.05863167345523834, 0.20045939087867737, -0.09436248987913132, -0.6495085954666138, -0.23065023124217987, -0.5079612135887146, -0.21744608879089355, 0.21722394227981567, -0.3400077223777771, -0.14120155572891235, 0.02538524940609932, -0.10434678196907043, -0.14288492500782013, 0.33144670724868774, 0.35285788774490356, 0.26386165618896484, 0.47984227538108826, -0.1471720188856125, -0.20682352781295776, 0.1253127157688141, 0.045632630586624146, -0.20359429717063904, 0.14535626769065857, 0.151504248380661, -0.03795522451400757, 0.01409178227186203, 0.23256675899028778, -0.13665156066417694, 0.18670988082885742, 0.2890152633190155, -0.20765158534049988, 0.14981643855571747, -0.48738470673561096, 0.07682579755783081, 0.2850781977176666, 0.670986533164978, -0.16547027230262756, -0.2713497579097748, -0.4082982540130615, -0.08507169038057327, -0.3246136009693146, -0.06617886573076248, 0.06885319203138351, -0.3859289288520813, -0.04382889345288277, -0.27022916078567505, -0.08867120742797852, -0.12366877496242523, 0.11906721442937851, -0.33641448616981506, 0.2620365023612976, -0.1266649216413498, 0.060134533792734146, -0.02058771625161171, -0.00102321058511734, 0.09965692460536957, -0.2581299841403961, 0.010613109916448593, 0.04317542165517807, -0.42821136116981506, -0.2471664547920227, 0.3318162262439728, -0.21242523193359375, 0.08135001361370087, 0.3484053611755371, -0.01897941157221794, 0.14163297414779663, 0.18844157457351685, 0.22303766012191772, 0.1707548201084137, 0.08034680783748627, 0.4256281852722168, 0.10908986628055573, 0.08578237891197205, 0.0753251239657402, -0.060598962008953094, 0.10147818922996521, -0.2255307286977768, -0.12253564596176147, 0.036649491637945175, 0.022801324725151062, 0.38315194845199585, 0.013749625533819199, -0.43318063020706177, 0.03224245086312294, 0.04263143986463547, -0.22356046736240387, 0.17055773735046387, 0.43719834089279175, -0.09366398304700851, -0.10786402970552444, -0.08095280826091766, 0.1379035860300064, -0.28221383690834045, -0.19312721490859985, -0.2991056442260742, 0.03988592326641083, -0.06326114386320114, -0.07260669022798538, 0.24362067878246307, -0.3061828017234802, 0.3718884587287903, -0.06985656917095184, -0.006084904074668884, -0.012875523418188095, 0.21244056522846222, -0.08769875764846802, -0.042892925441265106, 0.28150975704193115, -0.016581187024712563, -0.08505911380052567, 0.2915087938308716, 0.05556248128414154, -0.1954023241996765, 0.3352046608924866, -0.09563649445772171, -0.36369332671165466, -0.11512002348899841, 0.3140096366405487, -0.18943998217582703, -0.06304938346147537, -0.1844252645969391, 0.18008364737033844, 0.062150757759809494, -0.028623338788747787, -0.08362215012311935, -0.04626847058534622, -0.20575189590454102, -0.2741678059101105, 0.4543144404888153, 0.642479419708252, -0.23947320878505707, -0.2829956114292145, -0.12197698652744293, -0.17634627223014832, -0.19051039218902588, -0.060328055173158646, -0.3491949141025543, 0.40424251556396484, -0.15497948229312897, 0.006870634853839874, 0.6327856183052063, 0.00432615727186203, -0.17660270631313324, 0.269530326128006, -0.01278708130121231, 0.04488706588745117, 0.038799211382865906, -0.0038921525701880455, 0.07425761222839355, -0.019541367888450623, 0.2226743996143341, 0.21890975534915924, 0.028025280684232712, -0.05546876788139343, 0.0556398443877697, -0.18815793097019196, 0.0571243092417717, 0.2649630606174469, 0.3006953001022339, 0.16992485523223877, 0.10488623380661011, -0.10014785826206207, 0.26337292790412903, -0.20562416315078735, -0.13880038261413574, 0.1493852436542511, 0.16578015685081482, 0.15733712911605835, -0.1576819121837616, -0.3121143579483032, -0.45302486419677734, 0.4381944537162781, -0.005816590040922165, -0.10592716932296753, 0.027430415153503418, 0.03216688334941864, -0.4061155915260315, 0.07320784777402878, -0.29312315583229065, -0.013211101293563843, 0.18380963802337646, 0.3923928737640381, -0.013701062649488449, -0.2548786699771881, -0.43766579031944275, 0.0828070417046547, -0.106991708278656, 0.0949338898062706, -0.3188786804676056, 0.28404414653778076, 0.008940085768699646, -0.007509100250899792, 0.10129697620868683, 0.07722251862287521, 0.21424388885498047, -0.029724111780524254, 0.021340390667319298, 0.21572914719581604, 0.05166273191571236, -0.16566185653209686, -0.24051448702812195, -0.10174776613712311, -0.03436679393053055, 0.11463116109371185, 0.1397538036108017, -0.1041940450668335, 0.17873874306678772, 0.02466009557247162, -0.19490545988082886, 0.35910525918006897, 0.1234361082315445, 0.21895630657672882, 0.08674158155918121, -0.005433565005660057, 0.11021862924098969, -0.13600914180278778, -0.13711465895175934, -0.3379097580909729, 0.012621350586414337, 0.13214658200740814, 0.21232470870018005, 0.22775188088417053, -0.34261736273765564, -0.016186192631721497, 0.32232603430747986, -0.07096636295318604, 0.04294674098491669, 0.08991654217243195, 0.03390609472990036, 0.10658308118581772, 0.13204973936080933, -0.001615915447473526, 0.35365957021713257, 0.3258823752403259, -0.13353218138217926, -0.1599922627210617, 0.022462937980890274, -0.09338413178920746, 0.2860974669456482, 0.14406535029411316, 0.23433375358581543, 0.08652888983488083, 0.042188744992017746, -0.14105035364627838, -0.31902340054512024, -0.1956968903541565, 0.1337961107492447, 0.03947439789772034, -0.3755183815956116, -0.012378847226500511, -0.20951321721076965, -0.06250176578760147, 0.023704752326011658, -0.19158270955085754, -0.013663440942764282, -0.2512795031070709, -0.04915989190340042, 0.16927215456962585, -0.15573176741600037, 0.2660607099533081, -0.30652254819869995, 0.15325714647769928, 0.06696997582912445, -0.34752362966537476, 0.011353440582752228, -0.1064218282699585, -0.10699684172868729, 0.22126545011997223, 0.03520023822784424, -0.02838277816772461, 0.40725746750831604, -0.23492197692394257, -0.04704959690570831, -0.19618788361549377, -0.14205613732337952, 0.2903353273868561, -0.17141978442668915, 0.27466490864753723, 0.1665632128715515, 0.2311014086008072, 0.16450488567352295, -0.34815460443496704, 0.4084303081035614, 0.4089158773422241, -0.12336361408233643, 0.1895972043275833, 0.1352521926164627, -0.08730658888816833, 0.07748517394065857, -0.40725812315940857, -0.2100871056318283, -0.48810821771621704, 0.039169445633888245, 0.4007410407066345, 0.3367556929588318, 0.5569782257080078, 0.21427950263023376, 0.004336145706474781, -0.14729706943035126, 0.22892794013023376, -0.1349707692861557, -0.18240679800510406, 0.29540154337882996, -0.13674181699752808, -0.09223279356956482, -0.12216053903102875, -0.13775832951068878, 0.13900944590568542, 0.09422163665294647, -0.5006142258644104, 0.006211739964783192, -0.3727198541164398, 0.4017784297466278, -0.12059129774570465, 0.07382531464099884, 0.2511572241783142, 0.27107203006744385, -0.17047373950481415, -0.05552776902914047, -0.3172314763069153, 0.05459603667259216, 0.04081950709223747, 0.07195845246315002, -0.0077441781759262085, 0.309480220079422, -0.12218675017356873, 0.5914710164070129, 0.10787585377693176, -0.0028225481510162354, 0.358465313911438, -0.20057950913906097, 0.3313576281070709, -0.19459420442581177, -0.5170276761054993, 0.19202792644500732, 0.09831608831882477, -0.016540657728910446, 0.1892511546611786, -0.10445240885019302, -0.07471204549074173, -0.32539501786231995, -0.2661534547805786, -0.0943366289138794, -0.2693534791469574, 0.14799639582633972, -0.18883536756038666, 0.28649649024009705, 0.004151016473770142, 0.2535404562950134, -0.3528437614440918, 0.17191830277442932, -0.1803227961063385, 0.1125815138220787, 0.307244211435318, -0.1411779671907425, -0.21339456737041473, 0.14739467203617096, -0.2298680543899536, 0.1063132956624031, -0.176447331905365, 0.060236457735300064, -0.09637574106454849, -0.10680625587701797, -0.08070167899131775, 0.17565153539180756, 0.2532593011856079, -0.06709078699350357, 0.19995078444480896, 0.3265708386898041, -0.1713726669549942, -0.33063820004463196, -0.03621968626976013, -0.06824665516614914, 0.261623352766037, -0.06402803957462311, 0.2698907256126404, -0.2658900022506714, -0.2933991849422455, 0.4445362091064453, 0.36143985390663147, -0.20904019474983215, -0.2570941150188446, -0.25081732869148254, -0.16686737537384033, -0.47347399592399597, 0.027131810784339905, -0.15512964129447937, 0.1629391759634018, 0.2514953911304474, -0.0988839715719223, -0.0978156104683876, -0.137960284948349, 0.08530744165182114, 0.28643694519996643, 0.11986542493104935, 0.2109483778476715, 0.14635784924030304, -0.2053382694721222, -0.03276775777339935, 0.24907954037189484, 0.5245509743690491, 0.04705043137073517, -0.28950873017311096, 0.010928903706371784, 0.11131778359413147, 0.31098368763923645, 0.18080277740955353, -0.12913237512111664, -0.07510759681463242, -0.027494210749864578, 0.21834085881710052, -0.11635997146368027, 0.07234372198581696, 0.1211133524775505, -0.12486632168292999, -0.16144903004169464, -0.5974166393280029, 0.4711538255214691, -0.2281598001718521, 0.024629943072795868, 0.2796221375465393, -0.06956669688224792, -0.2503662109375, 0.28936296701431274, 0.1913224756717682, 0.6369068622589111, 0.27115339040756226, -0.06875193119049072, 0.4547263979911804, 0.15938544273376465, 0.2659998834133148, 0.0026853233575820923, 0.1697012335062027, -0.3926279842853546, -0.19884592294692993, -0.005346028134226799, -0.14687903225421906, 0.2582056224346161, 0.26979267597198486, -0.1771206557750702, 0.2350831925868988, -0.14271901547908783, 0.3004680573940277, 0.16409385204315186, 0.21305087208747864, -0.2630053162574768, -0.21706604957580566, -0.32724785804748535, 0.21173298358917236, -0.08005253970623016, 0.25279656052589417, -0.0051554967649281025, -0.03757703676819801, 0.1095486432313919, -0.13961583375930786, -0.1266416609287262, 0.12571334838867188, -0.42533281445503235, 0.17635321617126465, -0.1007421463727951, -0.1457149088382721, 0.15115632116794586, 0.19874036312103271, -0.07974410057067871, 0.29456475377082825, 0.000969940796494484, 0.2709693908691406, 0.06411943584680557, 0.05528406426310539, -0.1846751868724823, -0.019246511161327362, 0.295804500579834, -0.10983658581972122, -0.30401909351348877, 0.21297839283943176, -0.21043209731578827, -0.048385217785835266, 0.039984703063964844, 0.18112701177597046, 0.16160935163497925, -0.41808632016181946, -0.3261195421218872, -0.050050824880599976, 0.12786172330379486, -0.2375982105731964, 0.20757701992988586, -0.05027484893798828, -0.13818547129631042, 0.11176151037216187, -0.12236383557319641, -0.18960240483283997, -0.09708210825920105, 0.09465573728084564, 0.08963783830404282, 0.05458121746778488, 0.5527044534683228, 0.09314534068107605, -0.05287192016839981, -0.37773582339286804, 0.1308329701423645, 0.13069219887256622, -0.0806075781583786, 0.2202085256576538, 0.1364726424217224, 0.0007304847240447998, -0.031866494566202164, 0.437296986579895, 0.03396262228488922, 0.059739045798778534, 0.09254328906536102, -0.31448066234588623, -0.19495825469493866, -0.00043564289808273315, 0.030403880402445793, 0.29274773597717285, 0.0016347765922546387, 0.0348472073674202, -0.009420477785170078, 0.15045538544654846, -0.45348289608955383, -0.1514609307050705, -0.4301261901855469, 0.24268701672554016, 0.0379876010119915, 0.028448181226849556, -0.05085353925824165, -0.00557888625189662, 0.25379499793052673, -0.20977431535720825, -0.285490483045578, -0.37018823623657227, -0.08752644062042236, 0.10947614908218384, -0.006384776905179024, 0.012343758717179298, 0.029570668935775757, -0.09003648906946182, -0.11549758911132812, -0.24616867303848267, 0.16107496619224548, 0.10363990813493729, -0.04815801978111267, 0.17329995334148407, 0.04768329858779907, 0.01684754341840744, -0.11747314780950546, 0.11299671977758408, -0.11641116440296173, 0.13116391003131866, 0.14635226130485535, 0.22442442178726196, 0.002643862273544073, -0.019032787531614304, -0.057917267084121704, 0.1393566131591797, -0.0817539244890213, 0.00046952441334724426, 0.17295265197753906, -0.25575125217437744, -0.03429579362273216, 0.0654008686542511, 0.27403703331947327, 0.3483244776725769, -0.08761660754680634, 0.15033987164497375, -0.02508346363902092, 0.3441272974014282, -0.42471298575401306, -0.13299541175365448, 0.2109757661819458, -0.22663044929504395, 0.37213000655174255, 0.25718000531196594, 0.03798825666308403, -0.09963855147361755, 0.17930659651756287, -0.0021581966429948807, 0.1437925100326538, -0.01515224575996399, 0.2438252866268158, 0.5112255215644836, 0.04654089733958244, -0.1523122489452362, 0.30598315596580505, 0.26707613468170166, 0.2634917199611664, 0.24428293108940125, -0.16192755103111267, 0.10204795002937317, 0.06101018190383911, -0.007505122572183609, -0.01650048792362213, -0.5231812000274658, 0.5263923406600952, 0.0580020472407341, -0.14321689307689667, -0.1154608502984047, -0.06785425543785095, -0.08062285929918289, -0.1719934195280075, 0.060501884669065475, -0.2071124017238617, 0.2637144923210144, -0.2600288391113281, -0.07503663003444672, -0.431338369846344, -0.3597641885280609, -0.1574704945087433, -0.07602521032094955, 0.02944209612905979, -0.5828275680541992, -0.031244128942489624, -0.0597761869430542, -0.04713369905948639, -0.36031052470207214, 0.24318623542785645, 0.1715448796749115, -0.10348231345415115, -0.3986307382583618, 0.25582805275917053, 0.264965295791626, -0.031086400151252747, -0.0048399195075035095, 0.2985447347164154, 0.47150328755378723, 0.1860429346561432, 0.17981590330600739, 0.111478291451931, -0.013377372175455093, -0.23558904230594635, -0.22227860987186432, -0.021080821752548218, -0.1448490470647812, 0.37319549918174744, 0.46912312507629395, 0.3198518753051758, -0.29300543665885925, 0.007948115468025208, 0.10622824728488922, -0.20294341444969177, -0.5564060211181641, 0.22109907865524292, 0.15419870615005493, -0.1975584626197815, -0.04996539652347565, -0.02658286690711975, -0.40510132908821106, -0.16730698943138123, 0.5586975812911987, 0.16461756825447083, 0.13638466596603394, -0.012473326176404953, 0.14642779529094696, -0.12823477387428284, 0.41412732005119324, -0.16120418906211853, 0.04260310158133507, -0.41045039892196655, 0.07181274890899658, -0.4656650722026825, -0.09072832018136978, -0.034736957401037216, -0.1848537027835846, 0.43468979001045227, 0.13174745440483093, 0.23197153210639954, 0.25895148515701294, -0.08640943467617035, 0.27448832988739014, 0.310767263174057, 0.12378032505512238, -0.3300630450248718, -0.12652844190597534, 0.17275559902191162, 0.21433313190937042, -0.049598805606365204, -0.29239410161972046, 0.1667487472295761, -0.35472872853279114, 0.19045615196228027, -0.13827846944332123, -0.21974098682403564, 0.5895887613296509, -0.09293784201145172, 0.39402419328689575, -0.008831912651658058, 0.4293965995311737, -0.1761626899242401, 0.0032773856073617935, 0.00977754220366478, -0.1891346573829651, -0.19112840294837952, 0.08972834795713425, 0.1841033697128296, 0.36839306354522705, -0.03914858028292656, -0.0192292258143425, -0.39342814683914185, 0.2106931209564209, 0.051264919340610504, -0.18116097152233124, 0.08057022094726562, 0.09469941258430481, 0.003644794225692749, 0.08146863430738449, 0.1105516254901886, 0.13231629133224487, -0.05284340679645538, 0.17227335274219513, -0.23045006394386292, -0.40181827545166016, 0.537592887878418, -0.2715422213077545, -0.521044135093689, -0.13337667286396027, 0.1893044412136078, 0.2041340172290802, 0.09751760214567184, -0.2606784999370575, 0.1858690083026886, 0.5040067434310913, -0.20108062028884888, -0.12133514881134033, 0.2098439335823059, -0.0633695125579834, 0.12403228878974915, -0.013149388134479523, 0.2982320487499237, -0.052830494940280914, -0.33517375588417053, -0.25136739015579224, -0.30501991510391235 ]
https://github.com/huggingface/datasets/issues/6951
load_dataset() should load all subsets, if no specific subset is specified
@lhoestq Whilst having a default subset readily available (e.g. `all`) by the dataset author is an ideal solution, it is not always the reality. Without the ability to fork the dataset, this can be problematic. As far as I know, it is not possible at all to specify multiple subsets in a generalized programmatic way without hard coding subset names for a specific dataset. Even the ability to fetch subset names and loop over them would be sufficient.
### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```--------------------------------------------------------------------------- ValueError Traceback (most recent call last) [<ipython-input-10-c0cb49385da6>](https://localhost:8080/#) in <cell line: 2>() 1 from datasets import load_dataset ----> 2 dataset = load_dataset("m-a-p/COIG-CQIA") 3 frames [/usr/local/lib/python3.10/dist-packages/datasets/builder.py](https://localhost:8080/#) in _create_builder_config(self, config_name, custom_features, **config_kwargs) 582 if not config_kwargs: 583 example_of_usage = f"load_dataset('{self.dataset_name}', '{self.BUILDER_CONFIGS[0].name}')" --> 584 raise ValueError( 585 "Config name is missing." 586 f"\nPlease pick one among the available configs: {list(self.builder_configs.keys())}" ValueError: Config name is missing. Please pick one among the available configs: ['chinese_traditional', 'coig_pc', 'exam', 'finance', 'douban', 'human_value', 'logi_qa', 'ruozhiba', 'segmentfault', 'wiki', 'wikihow', 'xhs', 'zhihu'] Example of usage: `load_dataset('coig-cqia', 'chinese_traditional')` ``` This means a dataset cannot contain all the subsets at the same time. I guess one workaround is to manually specify the subset files like in [here](https://huggingface.co/datasets/m-a-p/COIG-CQIA/discussions/1#658698b44bb41498f75c5622), which is clumsy. ### Motivation Ideally, if not subset is specified, the API should just try to load all subsets. This makes it much easier to handle datasets w/ subsets. ### Your contribution Not sure since I'm not familiar w/ the lib src.
78
load_dataset() should load all subsets, if no specific subset is specified ### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```--------------------------------------------------------------------------- ValueError Traceback (most recent call last) [<ipython-input-10-c0cb49385da6>](https://localhost:8080/#) in <cell line: 2>() 1 from datasets import load_dataset ----> 2 dataset = load_dataset("m-a-p/COIG-CQIA") 3 frames [/usr/local/lib/python3.10/dist-packages/datasets/builder.py](https://localhost:8080/#) in _create_builder_config(self, config_name, custom_features, **config_kwargs) 582 if not config_kwargs: 583 example_of_usage = f"load_dataset('{self.dataset_name}', '{self.BUILDER_CONFIGS[0].name}')" --> 584 raise ValueError( 585 "Config name is missing." 586 f"\nPlease pick one among the available configs: {list(self.builder_configs.keys())}" ValueError: Config name is missing. Please pick one among the available configs: ['chinese_traditional', 'coig_pc', 'exam', 'finance', 'douban', 'human_value', 'logi_qa', 'ruozhiba', 'segmentfault', 'wiki', 'wikihow', 'xhs', 'zhihu'] Example of usage: `load_dataset('coig-cqia', 'chinese_traditional')` ``` This means a dataset cannot contain all the subsets at the same time. I guess one workaround is to manually specify the subset files like in [here](https://huggingface.co/datasets/m-a-p/COIG-CQIA/discussions/1#658698b44bb41498f75c5622), which is clumsy. ### Motivation Ideally, if not subset is specified, the API should just try to load all subsets. This makes it much easier to handle datasets w/ subsets. ### Your contribution Not sure since I'm not familiar w/ the lib src. @lhoestq Whilst having a default subset readily available (e.g. `all`) by the dataset author is an ideal solution, it is not always the reality. Without the ability to fork the dataset, this can be problematic. As far as I know, it is not possible at all to specify multiple subsets in a generalized programmatic way without hard coding subset names for a specific dataset. Even the ability to fetch subset names and loop over them would be sufficient.
[ -0.4091421961784363, -0.07037521153688431, -0.13517147302627563, 0.17581580579280853, 0.029934324324131012, 0.17260676622390747, 0.554303765296936, 0.44273942708969116, 0.19543197751045227, 0.3112321197986603, -0.028206272050738335, 0.3462783098220825, -0.035520218312740326, 0.18763893842697144, 0.03476790711283684, -0.07341214269399643, -0.18508583307266235, 0.34758710861206055, -0.10687899589538574, -0.002184022217988968, -0.29324859380722046, 0.06745733320713043, -0.16095706820487976, 0.06412824988365173, -0.1851140856742859, -0.04667852818965912, 0.12414175271987915, 0.15195581316947937, -0.15308816730976105, -0.5492324829101562, 0.21078139543533325, 0.12078386545181274, -0.022259755060076714, 0.060339637100696564, -0.00010431573173264042, 0.05863167345523834, 0.20045939087867737, -0.09436248987913132, -0.6495085954666138, -0.23065023124217987, -0.5079612135887146, -0.21744608879089355, 0.21722394227981567, -0.3400077223777771, -0.14120155572891235, 0.02538524940609932, -0.10434678196907043, -0.14288492500782013, 0.33144670724868774, 0.35285788774490356, 0.26386165618896484, 0.47984227538108826, -0.1471720188856125, -0.20682352781295776, 0.1253127157688141, 0.045632630586624146, -0.20359429717063904, 0.14535626769065857, 0.151504248380661, -0.03795522451400757, 0.01409178227186203, 0.23256675899028778, -0.13665156066417694, 0.18670988082885742, 0.2890152633190155, -0.20765158534049988, 0.14981643855571747, -0.48738470673561096, 0.07682579755783081, 0.2850781977176666, 0.670986533164978, -0.16547027230262756, -0.2713497579097748, -0.4082982540130615, -0.08507169038057327, -0.3246136009693146, -0.06617886573076248, 0.06885319203138351, -0.3859289288520813, -0.04382889345288277, -0.27022916078567505, -0.08867120742797852, -0.12366877496242523, 0.11906721442937851, -0.33641448616981506, 0.2620365023612976, -0.1266649216413498, 0.060134533792734146, -0.02058771625161171, -0.00102321058511734, 0.09965692460536957, -0.2581299841403961, 0.010613109916448593, 0.04317542165517807, -0.42821136116981506, -0.2471664547920227, 0.3318162262439728, -0.21242523193359375, 0.08135001361370087, 0.3484053611755371, -0.01897941157221794, 0.14163297414779663, 0.18844157457351685, 0.22303766012191772, 0.1707548201084137, 0.08034680783748627, 0.4256281852722168, 0.10908986628055573, 0.08578237891197205, 0.0753251239657402, -0.060598962008953094, 0.10147818922996521, -0.2255307286977768, -0.12253564596176147, 0.036649491637945175, 0.022801324725151062, 0.38315194845199585, 0.013749625533819199, -0.43318063020706177, 0.03224245086312294, 0.04263143986463547, -0.22356046736240387, 0.17055773735046387, 0.43719834089279175, -0.09366398304700851, -0.10786402970552444, -0.08095280826091766, 0.1379035860300064, -0.28221383690834045, -0.19312721490859985, -0.2991056442260742, 0.03988592326641083, -0.06326114386320114, -0.07260669022798538, 0.24362067878246307, -0.3061828017234802, 0.3718884587287903, -0.06985656917095184, -0.006084904074668884, -0.012875523418188095, 0.21244056522846222, -0.08769875764846802, -0.042892925441265106, 0.28150975704193115, -0.016581187024712563, -0.08505911380052567, 0.2915087938308716, 0.05556248128414154, -0.1954023241996765, 0.3352046608924866, -0.09563649445772171, -0.36369332671165466, -0.11512002348899841, 0.3140096366405487, -0.18943998217582703, -0.06304938346147537, -0.1844252645969391, 0.18008364737033844, 0.062150757759809494, -0.028623338788747787, -0.08362215012311935, -0.04626847058534622, -0.20575189590454102, -0.2741678059101105, 0.4543144404888153, 0.642479419708252, -0.23947320878505707, -0.2829956114292145, -0.12197698652744293, -0.17634627223014832, -0.19051039218902588, -0.060328055173158646, -0.3491949141025543, 0.40424251556396484, -0.15497948229312897, 0.006870634853839874, 0.6327856183052063, 0.00432615727186203, -0.17660270631313324, 0.269530326128006, -0.01278708130121231, 0.04488706588745117, 0.038799211382865906, -0.0038921525701880455, 0.07425761222839355, -0.019541367888450623, 0.2226743996143341, 0.21890975534915924, 0.028025280684232712, -0.05546876788139343, 0.0556398443877697, -0.18815793097019196, 0.0571243092417717, 0.2649630606174469, 0.3006953001022339, 0.16992485523223877, 0.10488623380661011, -0.10014785826206207, 0.26337292790412903, -0.20562416315078735, -0.13880038261413574, 0.1493852436542511, 0.16578015685081482, 0.15733712911605835, -0.1576819121837616, -0.3121143579483032, -0.45302486419677734, 0.4381944537162781, -0.005816590040922165, -0.10592716932296753, 0.027430415153503418, 0.03216688334941864, -0.4061155915260315, 0.07320784777402878, -0.29312315583229065, -0.013211101293563843, 0.18380963802337646, 0.3923928737640381, -0.013701062649488449, -0.2548786699771881, -0.43766579031944275, 0.0828070417046547, -0.106991708278656, 0.0949338898062706, -0.3188786804676056, 0.28404414653778076, 0.008940085768699646, -0.007509100250899792, 0.10129697620868683, 0.07722251862287521, 0.21424388885498047, -0.029724111780524254, 0.021340390667319298, 0.21572914719581604, 0.05166273191571236, -0.16566185653209686, -0.24051448702812195, -0.10174776613712311, -0.03436679393053055, 0.11463116109371185, 0.1397538036108017, -0.1041940450668335, 0.17873874306678772, 0.02466009557247162, -0.19490545988082886, 0.35910525918006897, 0.1234361082315445, 0.21895630657672882, 0.08674158155918121, -0.005433565005660057, 0.11021862924098969, -0.13600914180278778, -0.13711465895175934, -0.3379097580909729, 0.012621350586414337, 0.13214658200740814, 0.21232470870018005, 0.22775188088417053, -0.34261736273765564, -0.016186192631721497, 0.32232603430747986, -0.07096636295318604, 0.04294674098491669, 0.08991654217243195, 0.03390609472990036, 0.10658308118581772, 0.13204973936080933, -0.001615915447473526, 0.35365957021713257, 0.3258823752403259, -0.13353218138217926, -0.1599922627210617, 0.022462937980890274, -0.09338413178920746, 0.2860974669456482, 0.14406535029411316, 0.23433375358581543, 0.08652888983488083, 0.042188744992017746, -0.14105035364627838, -0.31902340054512024, -0.1956968903541565, 0.1337961107492447, 0.03947439789772034, -0.3755183815956116, -0.012378847226500511, -0.20951321721076965, -0.06250176578760147, 0.023704752326011658, -0.19158270955085754, -0.013663440942764282, -0.2512795031070709, -0.04915989190340042, 0.16927215456962585, -0.15573176741600037, 0.2660607099533081, -0.30652254819869995, 0.15325714647769928, 0.06696997582912445, -0.34752362966537476, 0.011353440582752228, -0.1064218282699585, -0.10699684172868729, 0.22126545011997223, 0.03520023822784424, -0.02838277816772461, 0.40725746750831604, -0.23492197692394257, -0.04704959690570831, -0.19618788361549377, -0.14205613732337952, 0.2903353273868561, -0.17141978442668915, 0.27466490864753723, 0.1665632128715515, 0.2311014086008072, 0.16450488567352295, -0.34815460443496704, 0.4084303081035614, 0.4089158773422241, -0.12336361408233643, 0.1895972043275833, 0.1352521926164627, -0.08730658888816833, 0.07748517394065857, -0.40725812315940857, -0.2100871056318283, -0.48810821771621704, 0.039169445633888245, 0.4007410407066345, 0.3367556929588318, 0.5569782257080078, 0.21427950263023376, 0.004336145706474781, -0.14729706943035126, 0.22892794013023376, -0.1349707692861557, -0.18240679800510406, 0.29540154337882996, -0.13674181699752808, -0.09223279356956482, -0.12216053903102875, -0.13775832951068878, 0.13900944590568542, 0.09422163665294647, -0.5006142258644104, 0.006211739964783192, -0.3727198541164398, 0.4017784297466278, -0.12059129774570465, 0.07382531464099884, 0.2511572241783142, 0.27107203006744385, -0.17047373950481415, -0.05552776902914047, -0.3172314763069153, 0.05459603667259216, 0.04081950709223747, 0.07195845246315002, -0.0077441781759262085, 0.309480220079422, -0.12218675017356873, 0.5914710164070129, 0.10787585377693176, -0.0028225481510162354, 0.358465313911438, -0.20057950913906097, 0.3313576281070709, -0.19459420442581177, -0.5170276761054993, 0.19202792644500732, 0.09831608831882477, -0.016540657728910446, 0.1892511546611786, -0.10445240885019302, -0.07471204549074173, -0.32539501786231995, -0.2661534547805786, -0.0943366289138794, -0.2693534791469574, 0.14799639582633972, -0.18883536756038666, 0.28649649024009705, 0.004151016473770142, 0.2535404562950134, -0.3528437614440918, 0.17191830277442932, -0.1803227961063385, 0.1125815138220787, 0.307244211435318, -0.1411779671907425, -0.21339456737041473, 0.14739467203617096, -0.2298680543899536, 0.1063132956624031, -0.176447331905365, 0.060236457735300064, -0.09637574106454849, -0.10680625587701797, -0.08070167899131775, 0.17565153539180756, 0.2532593011856079, -0.06709078699350357, 0.19995078444480896, 0.3265708386898041, -0.1713726669549942, -0.33063820004463196, -0.03621968626976013, -0.06824665516614914, 0.261623352766037, -0.06402803957462311, 0.2698907256126404, -0.2658900022506714, -0.2933991849422455, 0.4445362091064453, 0.36143985390663147, -0.20904019474983215, -0.2570941150188446, -0.25081732869148254, -0.16686737537384033, -0.47347399592399597, 0.027131810784339905, -0.15512964129447937, 0.1629391759634018, 0.2514953911304474, -0.0988839715719223, -0.0978156104683876, -0.137960284948349, 0.08530744165182114, 0.28643694519996643, 0.11986542493104935, 0.2109483778476715, 0.14635784924030304, -0.2053382694721222, -0.03276775777339935, 0.24907954037189484, 0.5245509743690491, 0.04705043137073517, -0.28950873017311096, 0.010928903706371784, 0.11131778359413147, 0.31098368763923645, 0.18080277740955353, -0.12913237512111664, -0.07510759681463242, -0.027494210749864578, 0.21834085881710052, -0.11635997146368027, 0.07234372198581696, 0.1211133524775505, -0.12486632168292999, -0.16144903004169464, -0.5974166393280029, 0.4711538255214691, -0.2281598001718521, 0.024629943072795868, 0.2796221375465393, -0.06956669688224792, -0.2503662109375, 0.28936296701431274, 0.1913224756717682, 0.6369068622589111, 0.27115339040756226, -0.06875193119049072, 0.4547263979911804, 0.15938544273376465, 0.2659998834133148, 0.0026853233575820923, 0.1697012335062027, -0.3926279842853546, -0.19884592294692993, -0.005346028134226799, -0.14687903225421906, 0.2582056224346161, 0.26979267597198486, -0.1771206557750702, 0.2350831925868988, -0.14271901547908783, 0.3004680573940277, 0.16409385204315186, 0.21305087208747864, -0.2630053162574768, -0.21706604957580566, -0.32724785804748535, 0.21173298358917236, -0.08005253970623016, 0.25279656052589417, -0.0051554967649281025, -0.03757703676819801, 0.1095486432313919, -0.13961583375930786, -0.1266416609287262, 0.12571334838867188, -0.42533281445503235, 0.17635321617126465, -0.1007421463727951, -0.1457149088382721, 0.15115632116794586, 0.19874036312103271, -0.07974410057067871, 0.29456475377082825, 0.000969940796494484, 0.2709693908691406, 0.06411943584680557, 0.05528406426310539, -0.1846751868724823, -0.019246511161327362, 0.295804500579834, -0.10983658581972122, -0.30401909351348877, 0.21297839283943176, -0.21043209731578827, -0.048385217785835266, 0.039984703063964844, 0.18112701177597046, 0.16160935163497925, -0.41808632016181946, -0.3261195421218872, -0.050050824880599976, 0.12786172330379486, -0.2375982105731964, 0.20757701992988586, -0.05027484893798828, -0.13818547129631042, 0.11176151037216187, -0.12236383557319641, -0.18960240483283997, -0.09708210825920105, 0.09465573728084564, 0.08963783830404282, 0.05458121746778488, 0.5527044534683228, 0.09314534068107605, -0.05287192016839981, -0.37773582339286804, 0.1308329701423645, 0.13069219887256622, -0.0806075781583786, 0.2202085256576538, 0.1364726424217224, 0.0007304847240447998, -0.031866494566202164, 0.437296986579895, 0.03396262228488922, 0.059739045798778534, 0.09254328906536102, -0.31448066234588623, -0.19495825469493866, -0.00043564289808273315, 0.030403880402445793, 0.29274773597717285, 0.0016347765922546387, 0.0348472073674202, -0.009420477785170078, 0.15045538544654846, -0.45348289608955383, -0.1514609307050705, -0.4301261901855469, 0.24268701672554016, 0.0379876010119915, 0.028448181226849556, -0.05085353925824165, -0.00557888625189662, 0.25379499793052673, -0.20977431535720825, -0.285490483045578, -0.37018823623657227, -0.08752644062042236, 0.10947614908218384, -0.006384776905179024, 0.012343758717179298, 0.029570668935775757, -0.09003648906946182, -0.11549758911132812, -0.24616867303848267, 0.16107496619224548, 0.10363990813493729, -0.04815801978111267, 0.17329995334148407, 0.04768329858779907, 0.01684754341840744, -0.11747314780950546, 0.11299671977758408, -0.11641116440296173, 0.13116391003131866, 0.14635226130485535, 0.22442442178726196, 0.002643862273544073, -0.019032787531614304, -0.057917267084121704, 0.1393566131591797, -0.0817539244890213, 0.00046952441334724426, 0.17295265197753906, -0.25575125217437744, -0.03429579362273216, 0.0654008686542511, 0.27403703331947327, 0.3483244776725769, -0.08761660754680634, 0.15033987164497375, -0.02508346363902092, 0.3441272974014282, -0.42471298575401306, -0.13299541175365448, 0.2109757661819458, -0.22663044929504395, 0.37213000655174255, 0.25718000531196594, 0.03798825666308403, -0.09963855147361755, 0.17930659651756287, -0.0021581966429948807, 0.1437925100326538, -0.01515224575996399, 0.2438252866268158, 0.5112255215644836, 0.04654089733958244, -0.1523122489452362, 0.30598315596580505, 0.26707613468170166, 0.2634917199611664, 0.24428293108940125, -0.16192755103111267, 0.10204795002937317, 0.06101018190383911, -0.007505122572183609, -0.01650048792362213, -0.5231812000274658, 0.5263923406600952, 0.0580020472407341, -0.14321689307689667, -0.1154608502984047, -0.06785425543785095, -0.08062285929918289, -0.1719934195280075, 0.060501884669065475, -0.2071124017238617, 0.2637144923210144, -0.2600288391113281, -0.07503663003444672, -0.431338369846344, -0.3597641885280609, -0.1574704945087433, -0.07602521032094955, 0.02944209612905979, -0.5828275680541992, -0.031244128942489624, -0.0597761869430542, -0.04713369905948639, -0.36031052470207214, 0.24318623542785645, 0.1715448796749115, -0.10348231345415115, -0.3986307382583618, 0.25582805275917053, 0.264965295791626, -0.031086400151252747, -0.0048399195075035095, 0.2985447347164154, 0.47150328755378723, 0.1860429346561432, 0.17981590330600739, 0.111478291451931, -0.013377372175455093, -0.23558904230594635, -0.22227860987186432, -0.021080821752548218, -0.1448490470647812, 0.37319549918174744, 0.46912312507629395, 0.3198518753051758, -0.29300543665885925, 0.007948115468025208, 0.10622824728488922, -0.20294341444969177, -0.5564060211181641, 0.22109907865524292, 0.15419870615005493, -0.1975584626197815, -0.04996539652347565, -0.02658286690711975, -0.40510132908821106, -0.16730698943138123, 0.5586975812911987, 0.16461756825447083, 0.13638466596603394, -0.012473326176404953, 0.14642779529094696, -0.12823477387428284, 0.41412732005119324, -0.16120418906211853, 0.04260310158133507, -0.41045039892196655, 0.07181274890899658, -0.4656650722026825, -0.09072832018136978, -0.034736957401037216, -0.1848537027835846, 0.43468979001045227, 0.13174745440483093, 0.23197153210639954, 0.25895148515701294, -0.08640943467617035, 0.27448832988739014, 0.310767263174057, 0.12378032505512238, -0.3300630450248718, -0.12652844190597534, 0.17275559902191162, 0.21433313190937042, -0.049598805606365204, -0.29239410161972046, 0.1667487472295761, -0.35472872853279114, 0.19045615196228027, -0.13827846944332123, -0.21974098682403564, 0.5895887613296509, -0.09293784201145172, 0.39402419328689575, -0.008831912651658058, 0.4293965995311737, -0.1761626899242401, 0.0032773856073617935, 0.00977754220366478, -0.1891346573829651, -0.19112840294837952, 0.08972834795713425, 0.1841033697128296, 0.36839306354522705, -0.03914858028292656, -0.0192292258143425, -0.39342814683914185, 0.2106931209564209, 0.051264919340610504, -0.18116097152233124, 0.08057022094726562, 0.09469941258430481, 0.003644794225692749, 0.08146863430738449, 0.1105516254901886, 0.13231629133224487, -0.05284340679645538, 0.17227335274219513, -0.23045006394386292, -0.40181827545166016, 0.537592887878418, -0.2715422213077545, -0.521044135093689, -0.13337667286396027, 0.1893044412136078, 0.2041340172290802, 0.09751760214567184, -0.2606784999370575, 0.1858690083026886, 0.5040067434310913, -0.20108062028884888, -0.12133514881134033, 0.2098439335823059, -0.0633695125579834, 0.12403228878974915, -0.013149388134479523, 0.2982320487499237, -0.052830494940280914, -0.33517375588417053, -0.25136739015579224, -0.30501991510391235 ]
https://github.com/huggingface/datasets/issues/6951
load_dataset() should load all subsets, if no specific subset is specified
Please note that each subset can have different feature columns, thus making it impossible to load them all into a unique Dataset instance. That is why subsets were created: to support different but related datasets to coexist in a single dataset repository. If you would like to programmatically get the list of subset names, you can use `datasets.get_dataset_config_names`: https://huggingface.co/docs/datasets/v2.20.0/en/load_hub#configurations
### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```--------------------------------------------------------------------------- ValueError Traceback (most recent call last) [<ipython-input-10-c0cb49385da6>](https://localhost:8080/#) in <cell line: 2>() 1 from datasets import load_dataset ----> 2 dataset = load_dataset("m-a-p/COIG-CQIA") 3 frames [/usr/local/lib/python3.10/dist-packages/datasets/builder.py](https://localhost:8080/#) in _create_builder_config(self, config_name, custom_features, **config_kwargs) 582 if not config_kwargs: 583 example_of_usage = f"load_dataset('{self.dataset_name}', '{self.BUILDER_CONFIGS[0].name}')" --> 584 raise ValueError( 585 "Config name is missing." 586 f"\nPlease pick one among the available configs: {list(self.builder_configs.keys())}" ValueError: Config name is missing. Please pick one among the available configs: ['chinese_traditional', 'coig_pc', 'exam', 'finance', 'douban', 'human_value', 'logi_qa', 'ruozhiba', 'segmentfault', 'wiki', 'wikihow', 'xhs', 'zhihu'] Example of usage: `load_dataset('coig-cqia', 'chinese_traditional')` ``` This means a dataset cannot contain all the subsets at the same time. I guess one workaround is to manually specify the subset files like in [here](https://huggingface.co/datasets/m-a-p/COIG-CQIA/discussions/1#658698b44bb41498f75c5622), which is clumsy. ### Motivation Ideally, if not subset is specified, the API should just try to load all subsets. This makes it much easier to handle datasets w/ subsets. ### Your contribution Not sure since I'm not familiar w/ the lib src.
59
load_dataset() should load all subsets, if no specific subset is specified ### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```--------------------------------------------------------------------------- ValueError Traceback (most recent call last) [<ipython-input-10-c0cb49385da6>](https://localhost:8080/#) in <cell line: 2>() 1 from datasets import load_dataset ----> 2 dataset = load_dataset("m-a-p/COIG-CQIA") 3 frames [/usr/local/lib/python3.10/dist-packages/datasets/builder.py](https://localhost:8080/#) in _create_builder_config(self, config_name, custom_features, **config_kwargs) 582 if not config_kwargs: 583 example_of_usage = f"load_dataset('{self.dataset_name}', '{self.BUILDER_CONFIGS[0].name}')" --> 584 raise ValueError( 585 "Config name is missing." 586 f"\nPlease pick one among the available configs: {list(self.builder_configs.keys())}" ValueError: Config name is missing. Please pick one among the available configs: ['chinese_traditional', 'coig_pc', 'exam', 'finance', 'douban', 'human_value', 'logi_qa', 'ruozhiba', 'segmentfault', 'wiki', 'wikihow', 'xhs', 'zhihu'] Example of usage: `load_dataset('coig-cqia', 'chinese_traditional')` ``` This means a dataset cannot contain all the subsets at the same time. I guess one workaround is to manually specify the subset files like in [here](https://huggingface.co/datasets/m-a-p/COIG-CQIA/discussions/1#658698b44bb41498f75c5622), which is clumsy. ### Motivation Ideally, if not subset is specified, the API should just try to load all subsets. This makes it much easier to handle datasets w/ subsets. ### Your contribution Not sure since I'm not familiar w/ the lib src. Please note that each subset can have different feature columns, thus making it impossible to load them all into a unique Dataset instance. That is why subsets were created: to support different but related datasets to coexist in a single dataset repository. If you would like to programmatically get the list of subset names, you can use `datasets.get_dataset_config_names`: https://huggingface.co/docs/datasets/v2.20.0/en/load_hub#configurations
[ -0.4091421961784363, -0.07037521153688431, -0.13517147302627563, 0.17581580579280853, 0.029934324324131012, 0.17260676622390747, 0.554303765296936, 0.44273942708969116, 0.19543197751045227, 0.3112321197986603, -0.028206272050738335, 0.3462783098220825, -0.035520218312740326, 0.18763893842697144, 0.03476790711283684, -0.07341214269399643, -0.18508583307266235, 0.34758710861206055, -0.10687899589538574, -0.002184022217988968, -0.29324859380722046, 0.06745733320713043, -0.16095706820487976, 0.06412824988365173, -0.1851140856742859, -0.04667852818965912, 0.12414175271987915, 0.15195581316947937, -0.15308816730976105, -0.5492324829101562, 0.21078139543533325, 0.12078386545181274, -0.022259755060076714, 0.060339637100696564, -0.00010431573173264042, 0.05863167345523834, 0.20045939087867737, -0.09436248987913132, -0.6495085954666138, -0.23065023124217987, -0.5079612135887146, -0.21744608879089355, 0.21722394227981567, -0.3400077223777771, -0.14120155572891235, 0.02538524940609932, -0.10434678196907043, -0.14288492500782013, 0.33144670724868774, 0.35285788774490356, 0.26386165618896484, 0.47984227538108826, -0.1471720188856125, -0.20682352781295776, 0.1253127157688141, 0.045632630586624146, -0.20359429717063904, 0.14535626769065857, 0.151504248380661, -0.03795522451400757, 0.01409178227186203, 0.23256675899028778, -0.13665156066417694, 0.18670988082885742, 0.2890152633190155, -0.20765158534049988, 0.14981643855571747, -0.48738470673561096, 0.07682579755783081, 0.2850781977176666, 0.670986533164978, -0.16547027230262756, -0.2713497579097748, -0.4082982540130615, -0.08507169038057327, -0.3246136009693146, -0.06617886573076248, 0.06885319203138351, -0.3859289288520813, -0.04382889345288277, -0.27022916078567505, -0.08867120742797852, -0.12366877496242523, 0.11906721442937851, -0.33641448616981506, 0.2620365023612976, -0.1266649216413498, 0.060134533792734146, -0.02058771625161171, -0.00102321058511734, 0.09965692460536957, -0.2581299841403961, 0.010613109916448593, 0.04317542165517807, -0.42821136116981506, -0.2471664547920227, 0.3318162262439728, -0.21242523193359375, 0.08135001361370087, 0.3484053611755371, -0.01897941157221794, 0.14163297414779663, 0.18844157457351685, 0.22303766012191772, 0.1707548201084137, 0.08034680783748627, 0.4256281852722168, 0.10908986628055573, 0.08578237891197205, 0.0753251239657402, -0.060598962008953094, 0.10147818922996521, -0.2255307286977768, -0.12253564596176147, 0.036649491637945175, 0.022801324725151062, 0.38315194845199585, 0.013749625533819199, -0.43318063020706177, 0.03224245086312294, 0.04263143986463547, -0.22356046736240387, 0.17055773735046387, 0.43719834089279175, -0.09366398304700851, -0.10786402970552444, -0.08095280826091766, 0.1379035860300064, -0.28221383690834045, -0.19312721490859985, -0.2991056442260742, 0.03988592326641083, -0.06326114386320114, -0.07260669022798538, 0.24362067878246307, -0.3061828017234802, 0.3718884587287903, -0.06985656917095184, -0.006084904074668884, -0.012875523418188095, 0.21244056522846222, -0.08769875764846802, -0.042892925441265106, 0.28150975704193115, -0.016581187024712563, -0.08505911380052567, 0.2915087938308716, 0.05556248128414154, -0.1954023241996765, 0.3352046608924866, -0.09563649445772171, -0.36369332671165466, -0.11512002348899841, 0.3140096366405487, -0.18943998217582703, -0.06304938346147537, -0.1844252645969391, 0.18008364737033844, 0.062150757759809494, -0.028623338788747787, -0.08362215012311935, -0.04626847058534622, -0.20575189590454102, -0.2741678059101105, 0.4543144404888153, 0.642479419708252, -0.23947320878505707, -0.2829956114292145, -0.12197698652744293, -0.17634627223014832, -0.19051039218902588, -0.060328055173158646, -0.3491949141025543, 0.40424251556396484, -0.15497948229312897, 0.006870634853839874, 0.6327856183052063, 0.00432615727186203, -0.17660270631313324, 0.269530326128006, -0.01278708130121231, 0.04488706588745117, 0.038799211382865906, -0.0038921525701880455, 0.07425761222839355, -0.019541367888450623, 0.2226743996143341, 0.21890975534915924, 0.028025280684232712, -0.05546876788139343, 0.0556398443877697, -0.18815793097019196, 0.0571243092417717, 0.2649630606174469, 0.3006953001022339, 0.16992485523223877, 0.10488623380661011, -0.10014785826206207, 0.26337292790412903, -0.20562416315078735, -0.13880038261413574, 0.1493852436542511, 0.16578015685081482, 0.15733712911605835, -0.1576819121837616, -0.3121143579483032, -0.45302486419677734, 0.4381944537162781, -0.005816590040922165, -0.10592716932296753, 0.027430415153503418, 0.03216688334941864, -0.4061155915260315, 0.07320784777402878, -0.29312315583229065, -0.013211101293563843, 0.18380963802337646, 0.3923928737640381, -0.013701062649488449, -0.2548786699771881, -0.43766579031944275, 0.0828070417046547, -0.106991708278656, 0.0949338898062706, -0.3188786804676056, 0.28404414653778076, 0.008940085768699646, -0.007509100250899792, 0.10129697620868683, 0.07722251862287521, 0.21424388885498047, -0.029724111780524254, 0.021340390667319298, 0.21572914719581604, 0.05166273191571236, -0.16566185653209686, -0.24051448702812195, -0.10174776613712311, -0.03436679393053055, 0.11463116109371185, 0.1397538036108017, -0.1041940450668335, 0.17873874306678772, 0.02466009557247162, -0.19490545988082886, 0.35910525918006897, 0.1234361082315445, 0.21895630657672882, 0.08674158155918121, -0.005433565005660057, 0.11021862924098969, -0.13600914180278778, -0.13711465895175934, -0.3379097580909729, 0.012621350586414337, 0.13214658200740814, 0.21232470870018005, 0.22775188088417053, -0.34261736273765564, -0.016186192631721497, 0.32232603430747986, -0.07096636295318604, 0.04294674098491669, 0.08991654217243195, 0.03390609472990036, 0.10658308118581772, 0.13204973936080933, -0.001615915447473526, 0.35365957021713257, 0.3258823752403259, -0.13353218138217926, -0.1599922627210617, 0.022462937980890274, -0.09338413178920746, 0.2860974669456482, 0.14406535029411316, 0.23433375358581543, 0.08652888983488083, 0.042188744992017746, -0.14105035364627838, -0.31902340054512024, -0.1956968903541565, 0.1337961107492447, 0.03947439789772034, -0.3755183815956116, -0.012378847226500511, -0.20951321721076965, -0.06250176578760147, 0.023704752326011658, -0.19158270955085754, -0.013663440942764282, -0.2512795031070709, -0.04915989190340042, 0.16927215456962585, -0.15573176741600037, 0.2660607099533081, -0.30652254819869995, 0.15325714647769928, 0.06696997582912445, -0.34752362966537476, 0.011353440582752228, -0.1064218282699585, -0.10699684172868729, 0.22126545011997223, 0.03520023822784424, -0.02838277816772461, 0.40725746750831604, -0.23492197692394257, -0.04704959690570831, -0.19618788361549377, -0.14205613732337952, 0.2903353273868561, -0.17141978442668915, 0.27466490864753723, 0.1665632128715515, 0.2311014086008072, 0.16450488567352295, -0.34815460443496704, 0.4084303081035614, 0.4089158773422241, -0.12336361408233643, 0.1895972043275833, 0.1352521926164627, -0.08730658888816833, 0.07748517394065857, -0.40725812315940857, -0.2100871056318283, -0.48810821771621704, 0.039169445633888245, 0.4007410407066345, 0.3367556929588318, 0.5569782257080078, 0.21427950263023376, 0.004336145706474781, -0.14729706943035126, 0.22892794013023376, -0.1349707692861557, -0.18240679800510406, 0.29540154337882996, -0.13674181699752808, -0.09223279356956482, -0.12216053903102875, -0.13775832951068878, 0.13900944590568542, 0.09422163665294647, -0.5006142258644104, 0.006211739964783192, -0.3727198541164398, 0.4017784297466278, -0.12059129774570465, 0.07382531464099884, 0.2511572241783142, 0.27107203006744385, -0.17047373950481415, -0.05552776902914047, -0.3172314763069153, 0.05459603667259216, 0.04081950709223747, 0.07195845246315002, -0.0077441781759262085, 0.309480220079422, -0.12218675017356873, 0.5914710164070129, 0.10787585377693176, -0.0028225481510162354, 0.358465313911438, -0.20057950913906097, 0.3313576281070709, -0.19459420442581177, -0.5170276761054993, 0.19202792644500732, 0.09831608831882477, -0.016540657728910446, 0.1892511546611786, -0.10445240885019302, -0.07471204549074173, -0.32539501786231995, -0.2661534547805786, -0.0943366289138794, -0.2693534791469574, 0.14799639582633972, -0.18883536756038666, 0.28649649024009705, 0.004151016473770142, 0.2535404562950134, -0.3528437614440918, 0.17191830277442932, -0.1803227961063385, 0.1125815138220787, 0.307244211435318, -0.1411779671907425, -0.21339456737041473, 0.14739467203617096, -0.2298680543899536, 0.1063132956624031, -0.176447331905365, 0.060236457735300064, -0.09637574106454849, -0.10680625587701797, -0.08070167899131775, 0.17565153539180756, 0.2532593011856079, -0.06709078699350357, 0.19995078444480896, 0.3265708386898041, -0.1713726669549942, -0.33063820004463196, -0.03621968626976013, -0.06824665516614914, 0.261623352766037, -0.06402803957462311, 0.2698907256126404, -0.2658900022506714, -0.2933991849422455, 0.4445362091064453, 0.36143985390663147, -0.20904019474983215, -0.2570941150188446, -0.25081732869148254, -0.16686737537384033, -0.47347399592399597, 0.027131810784339905, -0.15512964129447937, 0.1629391759634018, 0.2514953911304474, -0.0988839715719223, -0.0978156104683876, -0.137960284948349, 0.08530744165182114, 0.28643694519996643, 0.11986542493104935, 0.2109483778476715, 0.14635784924030304, -0.2053382694721222, -0.03276775777339935, 0.24907954037189484, 0.5245509743690491, 0.04705043137073517, -0.28950873017311096, 0.010928903706371784, 0.11131778359413147, 0.31098368763923645, 0.18080277740955353, -0.12913237512111664, -0.07510759681463242, -0.027494210749864578, 0.21834085881710052, -0.11635997146368027, 0.07234372198581696, 0.1211133524775505, -0.12486632168292999, -0.16144903004169464, -0.5974166393280029, 0.4711538255214691, -0.2281598001718521, 0.024629943072795868, 0.2796221375465393, -0.06956669688224792, -0.2503662109375, 0.28936296701431274, 0.1913224756717682, 0.6369068622589111, 0.27115339040756226, -0.06875193119049072, 0.4547263979911804, 0.15938544273376465, 0.2659998834133148, 0.0026853233575820923, 0.1697012335062027, -0.3926279842853546, -0.19884592294692993, -0.005346028134226799, -0.14687903225421906, 0.2582056224346161, 0.26979267597198486, -0.1771206557750702, 0.2350831925868988, -0.14271901547908783, 0.3004680573940277, 0.16409385204315186, 0.21305087208747864, -0.2630053162574768, -0.21706604957580566, -0.32724785804748535, 0.21173298358917236, -0.08005253970623016, 0.25279656052589417, -0.0051554967649281025, -0.03757703676819801, 0.1095486432313919, -0.13961583375930786, -0.1266416609287262, 0.12571334838867188, -0.42533281445503235, 0.17635321617126465, -0.1007421463727951, -0.1457149088382721, 0.15115632116794586, 0.19874036312103271, -0.07974410057067871, 0.29456475377082825, 0.000969940796494484, 0.2709693908691406, 0.06411943584680557, 0.05528406426310539, -0.1846751868724823, -0.019246511161327362, 0.295804500579834, -0.10983658581972122, -0.30401909351348877, 0.21297839283943176, -0.21043209731578827, -0.048385217785835266, 0.039984703063964844, 0.18112701177597046, 0.16160935163497925, -0.41808632016181946, -0.3261195421218872, -0.050050824880599976, 0.12786172330379486, -0.2375982105731964, 0.20757701992988586, -0.05027484893798828, -0.13818547129631042, 0.11176151037216187, -0.12236383557319641, -0.18960240483283997, -0.09708210825920105, 0.09465573728084564, 0.08963783830404282, 0.05458121746778488, 0.5527044534683228, 0.09314534068107605, -0.05287192016839981, -0.37773582339286804, 0.1308329701423645, 0.13069219887256622, -0.0806075781583786, 0.2202085256576538, 0.1364726424217224, 0.0007304847240447998, -0.031866494566202164, 0.437296986579895, 0.03396262228488922, 0.059739045798778534, 0.09254328906536102, -0.31448066234588623, -0.19495825469493866, -0.00043564289808273315, 0.030403880402445793, 0.29274773597717285, 0.0016347765922546387, 0.0348472073674202, -0.009420477785170078, 0.15045538544654846, -0.45348289608955383, -0.1514609307050705, -0.4301261901855469, 0.24268701672554016, 0.0379876010119915, 0.028448181226849556, -0.05085353925824165, -0.00557888625189662, 0.25379499793052673, -0.20977431535720825, -0.285490483045578, -0.37018823623657227, -0.08752644062042236, 0.10947614908218384, -0.006384776905179024, 0.012343758717179298, 0.029570668935775757, -0.09003648906946182, -0.11549758911132812, -0.24616867303848267, 0.16107496619224548, 0.10363990813493729, -0.04815801978111267, 0.17329995334148407, 0.04768329858779907, 0.01684754341840744, -0.11747314780950546, 0.11299671977758408, -0.11641116440296173, 0.13116391003131866, 0.14635226130485535, 0.22442442178726196, 0.002643862273544073, -0.019032787531614304, -0.057917267084121704, 0.1393566131591797, -0.0817539244890213, 0.00046952441334724426, 0.17295265197753906, -0.25575125217437744, -0.03429579362273216, 0.0654008686542511, 0.27403703331947327, 0.3483244776725769, -0.08761660754680634, 0.15033987164497375, -0.02508346363902092, 0.3441272974014282, -0.42471298575401306, -0.13299541175365448, 0.2109757661819458, -0.22663044929504395, 0.37213000655174255, 0.25718000531196594, 0.03798825666308403, -0.09963855147361755, 0.17930659651756287, -0.0021581966429948807, 0.1437925100326538, -0.01515224575996399, 0.2438252866268158, 0.5112255215644836, 0.04654089733958244, -0.1523122489452362, 0.30598315596580505, 0.26707613468170166, 0.2634917199611664, 0.24428293108940125, -0.16192755103111267, 0.10204795002937317, 0.06101018190383911, -0.007505122572183609, -0.01650048792362213, -0.5231812000274658, 0.5263923406600952, 0.0580020472407341, -0.14321689307689667, -0.1154608502984047, -0.06785425543785095, -0.08062285929918289, -0.1719934195280075, 0.060501884669065475, -0.2071124017238617, 0.2637144923210144, -0.2600288391113281, -0.07503663003444672, -0.431338369846344, -0.3597641885280609, -0.1574704945087433, -0.07602521032094955, 0.02944209612905979, -0.5828275680541992, -0.031244128942489624, -0.0597761869430542, -0.04713369905948639, -0.36031052470207214, 0.24318623542785645, 0.1715448796749115, -0.10348231345415115, -0.3986307382583618, 0.25582805275917053, 0.264965295791626, -0.031086400151252747, -0.0048399195075035095, 0.2985447347164154, 0.47150328755378723, 0.1860429346561432, 0.17981590330600739, 0.111478291451931, -0.013377372175455093, -0.23558904230594635, -0.22227860987186432, -0.021080821752548218, -0.1448490470647812, 0.37319549918174744, 0.46912312507629395, 0.3198518753051758, -0.29300543665885925, 0.007948115468025208, 0.10622824728488922, -0.20294341444969177, -0.5564060211181641, 0.22109907865524292, 0.15419870615005493, -0.1975584626197815, -0.04996539652347565, -0.02658286690711975, -0.40510132908821106, -0.16730698943138123, 0.5586975812911987, 0.16461756825447083, 0.13638466596603394, -0.012473326176404953, 0.14642779529094696, -0.12823477387428284, 0.41412732005119324, -0.16120418906211853, 0.04260310158133507, -0.41045039892196655, 0.07181274890899658, -0.4656650722026825, -0.09072832018136978, -0.034736957401037216, -0.1848537027835846, 0.43468979001045227, 0.13174745440483093, 0.23197153210639954, 0.25895148515701294, -0.08640943467617035, 0.27448832988739014, 0.310767263174057, 0.12378032505512238, -0.3300630450248718, -0.12652844190597534, 0.17275559902191162, 0.21433313190937042, -0.049598805606365204, -0.29239410161972046, 0.1667487472295761, -0.35472872853279114, 0.19045615196228027, -0.13827846944332123, -0.21974098682403564, 0.5895887613296509, -0.09293784201145172, 0.39402419328689575, -0.008831912651658058, 0.4293965995311737, -0.1761626899242401, 0.0032773856073617935, 0.00977754220366478, -0.1891346573829651, -0.19112840294837952, 0.08972834795713425, 0.1841033697128296, 0.36839306354522705, -0.03914858028292656, -0.0192292258143425, -0.39342814683914185, 0.2106931209564209, 0.051264919340610504, -0.18116097152233124, 0.08057022094726562, 0.09469941258430481, 0.003644794225692749, 0.08146863430738449, 0.1105516254901886, 0.13231629133224487, -0.05284340679645538, 0.17227335274219513, -0.23045006394386292, -0.40181827545166016, 0.537592887878418, -0.2715422213077545, -0.521044135093689, -0.13337667286396027, 0.1893044412136078, 0.2041340172290802, 0.09751760214567184, -0.2606784999370575, 0.1858690083026886, 0.5040067434310913, -0.20108062028884888, -0.12133514881134033, 0.2098439335823059, -0.0633695125579834, 0.12403228878974915, -0.013149388134479523, 0.2982320487499237, -0.052830494940280914, -0.33517375588417053, -0.25136739015579224, -0.30501991510391235 ]
https://github.com/huggingface/datasets/issues/6950
`Dataset.with_format` behaves inconsistently with documentation
Hi ! It seems the documentation was outdated in this paragraph I fixed it here: https://github.com/huggingface/datasets/pull/6956
### Describe the bug The actual behavior of the interface `Dataset.with_format` is inconsistent with the documentation. https://huggingface.co/docs/datasets/use_with_pytorch#n-dimensional-arrays https://huggingface.co/docs/datasets/v2.19.0/en/use_with_tensorflow#n-dimensional-arrays > If your dataset consists of N-dimensional arrays, you will see that by default they are considered as nested lists. > In particular, a PyTorch formatted dataset outputs nested lists instead of a single tensor. > A TensorFlow formatted dataset outputs a RaggedTensor instead of a single tensor. But I get a single tensor by default, which is inconsistent with the description. Actually the current behavior seems more reasonable to me. Therefore, the document needs to be modified. ### Steps to reproduce the bug ```python >>> from datasets import Dataset >>> data = [[[1, 2],[3, 4]],[[5, 6],[7, 8]]] >>> ds = Dataset.from_dict({"data": data}) >>> ds = ds.with_format("torch") >>> ds[0] {'data': tensor([[1, 2], [3, 4]])} >>> ds = ds.with_format("tf") >>> ds[0] {'data': <tf.Tensor: shape=(2, 2), dtype=int64, numpy= array([[1, 2], [3, 4]])>} ``` ### Expected behavior ```python >>> from datasets import Dataset >>> data = [[[1, 2],[3, 4]],[[5, 6],[7, 8]]] >>> ds = Dataset.from_dict({"data": data}) >>> ds = ds.with_format("torch") >>> ds[0] {'data': [tensor([1, 2]), tensor([3, 4])]} >>> ds = ds.with_format("tf") >>> ds[0] {'data': <tf.RaggedTensor [[1, 2], [3, 4]]>} ``` ### Environment info datasets==2.19.1 torch==2.1.0 tensorflow==2.13.1
16
`Dataset.with_format` behaves inconsistently with documentation ### Describe the bug The actual behavior of the interface `Dataset.with_format` is inconsistent with the documentation. https://huggingface.co/docs/datasets/use_with_pytorch#n-dimensional-arrays https://huggingface.co/docs/datasets/v2.19.0/en/use_with_tensorflow#n-dimensional-arrays > If your dataset consists of N-dimensional arrays, you will see that by default they are considered as nested lists. > In particular, a PyTorch formatted dataset outputs nested lists instead of a single tensor. > A TensorFlow formatted dataset outputs a RaggedTensor instead of a single tensor. But I get a single tensor by default, which is inconsistent with the description. Actually the current behavior seems more reasonable to me. Therefore, the document needs to be modified. ### Steps to reproduce the bug ```python >>> from datasets import Dataset >>> data = [[[1, 2],[3, 4]],[[5, 6],[7, 8]]] >>> ds = Dataset.from_dict({"data": data}) >>> ds = ds.with_format("torch") >>> ds[0] {'data': tensor([[1, 2], [3, 4]])} >>> ds = ds.with_format("tf") >>> ds[0] {'data': <tf.Tensor: shape=(2, 2), dtype=int64, numpy= array([[1, 2], [3, 4]])>} ``` ### Expected behavior ```python >>> from datasets import Dataset >>> data = [[[1, 2],[3, 4]],[[5, 6],[7, 8]]] >>> ds = Dataset.from_dict({"data": data}) >>> ds = ds.with_format("torch") >>> ds[0] {'data': [tensor([1, 2]), tensor([3, 4])]} >>> ds = ds.with_format("tf") >>> ds[0] {'data': <tf.RaggedTensor [[1, 2], [3, 4]]>} ``` ### Environment info datasets==2.19.1 torch==2.1.0 tensorflow==2.13.1 Hi ! It seems the documentation was outdated in this paragraph I fixed it here: https://github.com/huggingface/datasets/pull/6956
[ -0.14098818600177765, -0.8504533171653748, 0.04622528329491615, 0.36737358570098877, 0.1451461911201477, -0.06568746268749237, 0.5341942310333252, 0.17983390390872955, 0.1833527535200119, 0.16439074277877808, -0.15243518352508545, 0.4518921375274658, -0.10131584107875824, 0.12216348201036453, 0.1607181429862976, -0.39651310443878174, 0.1950821429491043, -0.02058589458465576, -0.22450169920921326, 0.05001328885555267, 0.007744688540697098, 0.13397328555583954, -0.21548423171043396, -0.14115367829799652, -0.27515456080436707, -0.12176341563463211, -0.10281096398830414, 0.008560054004192352, 0.010934035293757915, -0.25053051114082336, 0.4986211657524109, 0.046569474041461945, -0.09748920798301697, 0.6672680377960205, -0.0001125795824918896, 0.16664926707744598, 0.15052033960819244, 0.06582498550415039, -0.011862066574394703, -0.21938906610012054, 0.4378058612346649, -0.38094446063041687, 0.1770976334810257, -0.31320980191230774, -0.299528032541275, -0.4361855983734131, -0.057802923023700714, -0.07567883282899857, 0.4484267830848694, 0.17566795647144318, 0.2026403397321701, 0.5451523065567017, 0.25199395418167114, -0.026786809787154198, -0.1614013910293579, 0.15825241804122925, -0.04213777929544449, 0.26656022667884827, -0.027591295540332794, 0.1939045786857605, 0.00824575126171112, 0.27685248851776123, -0.15669097006320953, 0.1783590018749237, 0.32786524295806885, 0.1988019496202469, -0.3209228813648224, -0.15727733075618744, -0.15876251459121704, 0.3622358441352844, 0.3231652081012726, -0.17255467176437378, -0.389247864484787, -0.19243603944778442, -0.18877966701984406, -0.3377310335636139, 0.11220142245292664, 0.11196726560592651, -0.008294239640235901, 0.09012170881032944, -0.21878156065940857, 0.25980791449546814, -0.33132150769233704, 0.4304713010787964, -0.1425715982913971, 0.06508253514766693, -0.22812993824481964, 0.09847407788038254, -0.0472646988928318, -0.031108595430850983, -0.09626069664955139, -0.16086100041866302, 0.21990114450454712, 0.1275273710489273, -0.1269824355840683, 0.06228886544704437, 0.09942980110645294, -0.3609258532524109, 0.3309279978275299, -0.08769222348928452, 0.033072613179683685, 0.25559568405151367, -0.2071426659822464, 0.21679431200027466, 0.11578088998794556, 0.22934560477733612, 0.0034600868821144104, 0.009495466016232967, 0.09698226302862167, 0.1630532592535019, 0.3200794756412506, -0.0006120279431343079, 0.21639704704284668, -0.09407516568899155, -0.05643817037343979, -0.27005255222320557, 0.40128815174102783, 0.1340494155883789, -0.23208634555339813, -0.0970575362443924, -0.37237992882728577, -0.11225235462188721, -0.033386074006557465, 0.23247084021568298, -0.28334441781044006, 0.16364187002182007, 0.1954815685749054, 0.12308871746063232, -0.1398729681968689, 0.19212037324905396, -0.28364673256874084, -0.0936088114976883, -0.07807193696498871, -0.16749624907970428, 0.06275860965251923, -0.35764434933662415, 0.2082211822271347, 0.41408151388168335, 0.37159472703933716, -0.07860039174556732, -0.19887349009513855, 0.07506649196147919, 0.37661048769950867, 0.10115540027618408, -0.2855306565761566, 0.1363018900156021, 0.06818031519651413, 0.006375409662723541, -0.15717720985412598, -0.05074935406446457, -0.4248615801334381, -0.29257428646087646, -0.30994999408721924, 0.16104388236999512, -0.1442435085773468, 0.12501129508018494, 0.227392315864563, 0.2391941100358963, 0.16395743191242218, -0.09088167548179626, -0.04632586985826492, -0.11895465850830078, -0.45933136343955994, -0.23692992329597473, 0.3174320459365845, -0.03865902125835419, -0.1789764165878296, -0.20712411403656006, 0.41587868332862854, 0.1417199820280075, 0.16117678582668304, 0.4548344612121582, -0.22922644019126892, 0.00018431991338729858, -0.30068206787109375, 0.006719835102558136, 0.17241674661636353, -0.1492471545934677, -0.35608023405075073, 0.09442491829395294, 0.014622300863265991, 0.33032187819480896, 0.12903578579425812, 0.011240674182772636, 0.12767046689987183, 0.2157752364873886, 0.19406792521476746, 0.18538719415664673, 0.17171397805213928, -0.02209656685590744, -0.2507737874984741, -0.09150966256856918, 0.20489536225795746, 0.003520062193274498, -0.2825741171836853, -0.19441774487495422, -0.25304704904556274, -0.04447785019874573, 0.45566585659980774, 0.0005638822913169861, -0.16278019547462463, 0.21657304465770721, 0.13936127722263336, 0.15611952543258667, 0.16555967926979065, -0.2758837044239044, -0.6464887261390686, 0.1724134385585785, 0.23598897457122803, 0.16248252987861633, 0.05586753040552139, -0.2336300164461136, -0.10531865805387497, 0.0033589713275432587, -0.19787313044071198, -0.21380525827407837, 0.1262367069721222, 0.08968943357467651, -0.04818790405988693, 0.0144161656498909, -0.2797105014324188, 0.12994073331356049, -0.19221623241901398, 0.1258682757616043, -0.40154269337654114, 0.27640500664711, -0.057204246520996094, -0.17559762299060822, -0.09066842496395111, 0.34265249967575073, 0.05827254801988602, -0.17268094420433044, 0.05251694843173027, 0.3505295515060425, 0.031180890277028084, -0.15811200439929962, -0.8453709483146667, 0.13951686024665833, 0.36425527930259705, -0.04285023361444473, -0.17395302653312683, 0.23290765285491943, -0.11016911268234253, 0.082598976790905, -0.3389911949634552, 0.26045936346054077, 0.1041201502084732, 0.10604523867368698, -0.12686213850975037, 0.027601974084973335, 0.12088599801063538, 0.06314410269260406, -0.18032331764698029, -0.2705979645252228, 0.22287869453430176, -0.25129303336143494, 0.2556792199611664, -0.020263148471713066, -0.6058074831962585, 0.1652332842350006, 0.4420454502105713, -0.12701484560966492, 0.0000858306884765625, 0.11901647597551346, -0.13395372033119202, -0.009974190965294838, 0.06914825737476349, -0.23040036857128143, 0.23876971006393433, 0.23703935742378235, 0.06128830462694168, 0.07308032363653183, -0.30417880415916443, -0.1793515831232071, 0.05907418578863144, 0.006364397704601288, -0.1670060157775879, -0.03460422158241272, 0.2041684091091156, 0.07720396667718887, -0.27809640765190125, 0.04576598480343819, -0.18649981915950775, -0.033644646406173706, -0.35380446910858154, 0.14760811626911163, -0.3247658312320709, -0.3762085735797882, -0.4859960377216339, -0.20140887796878815, -0.2768590450286865, -0.1332496553659439, -0.04558219015598297, 0.2996533513069153, -0.14815554022789001, 0.33301517367362976, 0.633608877658844, 0.13669949769973755, 0.25418931245803833, 0.02483951859176159, -0.09761001914739609, 0.15773361921310425, -0.2059299647808075, -0.012902110815048218, -0.07252291589975357, -0.23537729680538177, 0.28775322437286377, 0.045396849513053894, -0.14696498215198517, -0.2689353823661804, -0.5274158120155334, 0.3164147734642029, -0.06351017951965332, 0.09905554354190826, 0.3693424463272095, 0.3467295169830322, -0.02927209436893463, -0.21599794924259186, 0.28461697697639465, -0.18754060566425323, -0.1767607480287552, 0.1473134607076645, -0.003509712405502796, 0.05773882195353508, -0.36583423614501953, -0.3189888000488281, -0.020447982475161552, -0.33583521842956543, 0.33332425355911255, -0.129489928483963, 0.18747064471244812, 0.5303512811660767, 0.11899271607398987, 0.0860210508108139, -0.22849121689796448, 0.22581638395786285, -0.24136853218078613, -0.189149871468544, 0.2680230736732483, -0.17192260921001434, -0.5703409314155579, -0.17468208074569702, -0.03943697735667229, 0.014193825423717499, 0.2641766667366028, -0.27741456031799316, -0.5186289548873901, -0.14187070727348328, 0.24473819136619568, -0.09770984947681427, 0.3167867958545685, 0.30524128675460815, -0.016417473554611206, -0.017079409211874008, -0.08588610589504242, -0.11135175824165344, 0.23817133903503418, -0.0313287079334259, -0.12937211990356445, 0.04238058626651764, 0.25654223561286926, 0.2871244251728058, 0.22785165905952454, 0.3622048795223236, -0.4699711501598358, -0.031635306775569916, -0.21574194729328156, 0.3944740295410156, -0.08904235810041428, -0.23554763197898865, 0.10028208047151566, -0.030217111110687256, 0.21647831797599792, 0.17272064089775085, -0.08823374658823013, -0.051874756813049316, 0.09112638235092163, 0.14400739967823029, -0.049616675823926926, -0.1284361034631729, 0.20672884583473206, 0.028073599562048912, 0.28965142369270325, -0.12314839661121368, 0.1883423924446106, 0.03357358276844025, -0.12848520278930664, 0.013487381860613823, 0.15813346207141876, 0.14961732923984528, 0.14795973896980286, -0.40098071098327637, -0.08140991628170013, -0.3445306718349457, 0.27887386083602905, 0.16164708137512207, 0.3832772374153137, -0.020991992205381393, -0.08591148257255554, -0.037631526589393616, 0.26547324657440186, 0.66309654712677, 0.23056696355342865, -0.21021054685115814, 0.00405845046043396, -0.2483997941017151, -0.717051088809967, -0.05744000896811485, -0.21901513636112213, 0.048964694142341614, 0.053665466606616974, 0.626608669757843, -0.4650963842868805, -0.33397945761680603, 0.2300831377506256, 0.2628397047519684, -0.12540458142757416, -0.19963569939136505, -0.2489851415157318, -0.29233673214912415, -0.07093910872936249, 0.018458612263202667, 0.16223573684692383, 0.09366872906684875, 0.03522070497274399, -0.12659478187561035, -0.15356029570102692, -0.18489328026771545, -0.0587039440870285, -0.16398970782756805, 0.41809722781181335, 0.18351858854293823, -0.0011799391359090805, 0.35732606053352356, 0.38523557782173157, 0.12997481226921082, 0.05385064706206322, -0.24018123745918274, -0.28707781434059143, -0.14538097381591797, 0.02998487278819084, 0.019624680280685425, 0.24136009812355042, -0.09168282896280289, 0.2056031972169876, -0.07232693582773209, 0.21479976177215576, -0.31025996804237366, 0.2973095774650574, 0.5274115800857544, 0.19551882147789001, -0.20719709992408752, -0.5085216760635376, 0.2911647856235504, 0.11505746841430664, 0.17181845009326935, 0.5216485261917114, 0.1909700632095337, -0.10495608299970627, 0.2254534512758255, -0.04903172701597214, 0.6780509352684021, 0.142682746052742, 0.4009034037590027, 0.7354581952095032, -0.17836174368858337, 0.5527933835983276, 0.008937101811170578, 0.23900538682937622, -0.16265922784805298, -0.3966856896877289, -0.03376566991209984, -0.13905981183052063, 0.0779641717672348, 0.0523771233856678, -0.11889924108982086, 0.11898397654294968, -0.06706345081329346, 0.3072667419910431, 0.0020016655325889587, 0.11778956651687622, 0.0917414054274559, -0.2668150067329407, -0.4072284698486328, 0.0635351687669754, -0.17692695558071136, 0.10165956616401672, -0.035477105528116226, -0.12665143609046936, 0.04733875021338463, -0.2492843121290207, -0.026401817798614502, -0.16876065731048584, -0.3466235399246216, 0.2124808132648468, 0.18217825889587402, -0.6044883728027344, 0.0055722426623106, 0.36137402057647705, 0.10821640491485596, 0.07352186739444733, -0.09834969788789749, -0.17775996029376984, -0.12929418683052063, 0.0035530920140445232, -0.07569378614425659, -0.31298527121543884, 0.38374581933021545, -0.030924348160624504, -0.027715936303138733, -0.11738190799951553, 0.020796403288841248, 0.06328295171260834, -0.03828953951597214, 0.2398514449596405, -0.3256063461303711, -0.29573357105255127, -0.20259378850460052, -0.011987045407295227, 0.12448418140411377, -0.10166342556476593, 0.10474571585655212, 0.2933635115623474, -0.19614964723587036, 0.06198694184422493, 0.09582574665546417, -0.1672508418560028, -0.1910591721534729, 0.3900195360183716, 0.11129413545131683, -0.11828163266181946, 0.332404226064682, 0.1854895055294037, -0.18417955935001373, -0.016323568299412727, -0.04869920387864113, 0.360236257314682, -0.32381707429885864, 0.0708799883723259, -0.12359213083982468, 0.13687215745449066, -0.2827124297618866, 0.25472167134284973, 0.046155594289302826, -0.007894419133663177, -0.12466549873352051, -0.12227259576320648, -0.28128060698509216, 0.26839733123779297, 0.08690440654754639, 0.3718537986278534, 0.22253456711769104, 0.25885483622550964, -0.026141468435525894, -0.09374808520078659, -0.3386111855506897, 0.0366080105304718, 0.27984634041786194, 0.05574426054954529, 0.08601538091897964, -0.025640904903411865, 0.32215654850006104, -0.25526416301727295, 0.10801780223846436, 0.09786775708198547, -0.2168758064508438, -0.18781855702400208, -0.2617591321468353, 0.041707843542099, -0.07345199584960938, -0.23744162917137146, 0.14521349966526031, -0.02587890625, -0.13212057948112488, -0.24262195825576782, 0.35005688667297363, 0.26596206426620483, -0.05838032066822052, 0.19683778285980225, -0.16775311529636383, 0.32088881731033325, -0.012488985434174538, -0.10793055593967438, -0.023018956184387207, 0.08203230053186417, 0.16661520302295685, -0.042676955461502075, -0.20471064746379852, -0.08882395178079605, -0.00009035745461005718, 0.09524817019701004, 0.1340699940919876, -0.03559520095586777, 0.2152603268623352, -0.2745058536529541, -0.1893264651298523, -0.0923909991979599, 0.5992534160614014, 0.1312432438135147, -0.29410240054130554, -0.02958403341472149, 0.03902558982372284, 0.21369633078575134, -0.14425401389598846, -0.2535436153411865, 0.292479932308197, 0.18197481334209442, 0.2925056219100952, 0.2265583574771881, 0.06767536699771881, 0.25669705867767334, -0.19682668149471283, 0.1572626233100891, 0.06964969635009766, -0.07031432539224625, 0.3019525706768036, 0.13441255688667297, -0.05934302508831024, 0.10315786302089691, 0.0569833442568779, 0.05618211627006531, 0.3137243688106537, 0.06705062836408615, 0.3592712879180908, 0.4785173535346985, 0.12572425603866577, -0.09058913588523865, 0.36052876710891724, -0.16009318828582764, -0.2918596565723419, -0.13711687922477722, -0.03958427906036377, 0.13248515129089355, -0.08081309497356415, 0.44356489181518555, -0.31055355072021484, -0.38883015513420105, 0.01976850815117359, 0.006047334522008896, -0.21665874123573303, 0.1222352534532547, 0.04434805363416672, -0.00435396283864975, 0.07200387120246887, -0.21545375883579254, -0.09376782178878784, -0.2247905284166336, 0.16661641001701355, -0.042042337357997894, -0.051551684737205505, -0.11235737800598145, -0.2001243531703949, 0.25405290722846985, 0.20497918128967285, 0.0391971580684185, 0.30786997079849243, 0.3764258623123169, -0.23178303241729736, -0.2011975646018982, 0.3222264051437378, 0.39248618483543396, 0.010560199618339539, 0.15939919650554657, 0.08959870040416718, -0.07485426962375641, -0.058797553181648254, 0.020332951098680496, 0.12251938134431839, -0.00422234833240509, -0.07993891835212708, 0.28023257851600647, 0.15466755628585815, -0.20192278921604156, 0.20782026648521423, -0.10355699062347412, 0.20727156102657318, -0.461551308631897, 0.15422670543193817, -0.40124616026878357, -0.26521268486976624, -0.10011625289916992, -0.22820627689361572, -0.35310477018356323, 0.015377037227153778, 0.6184979677200317, 0.36685386300086975, 0.09266289323568344, -0.11263617873191833, 0.10982480645179749, 0.1687113642692566, 0.5778986811637878, 0.023786842823028564, 0.3341454565525055, 0.08772580325603485, -0.20803070068359375, -0.30479753017425537, 0.2450849413871765, -0.028731737285852432, 0.15862783789634705, -0.009221948683261871, 0.08573473244905472, 0.09284168481826782, -0.007516324520111084, 0.05999475345015526, -0.37145891785621643, 0.20037075877189636, 0.14705926179885864, -0.2630883455276489, -0.18190985918045044, -0.27999448776245117, -0.05083274841308594, 0.17483925819396973, -0.1303974688053131, 0.15784306824207306, -0.22356384992599487, 0.08718942850828171, -0.0513758510351181, 0.4505794644355774, -0.15384899079799652, 0.019353333860635757, 0.043192218989133835, 0.16761302947998047, 0.26167261600494385, -0.06804339587688446, -0.2956700921058655, -0.1198001354932785, 0.06972064822912216, -0.3145676851272583, 0.6156624555587769, -0.06996318697929382, 0.5117186307907104, -0.13977095484733582, -0.48896631598472595, -0.24065104126930237, 0.37356749176979065, 0.22464372217655182, -0.416977196931839, -0.08849693834781647, 0.2519708275794983, -0.14940962195396423, -0.15728114545345306, 0.28542181849479675, 0.7320587038993835, -0.06811048090457916, -0.019715195521712303, -0.09988972544670105, -0.4382573068141937, 0.5814223289489746, -0.5384768843650818, -0.1700575053691864, -0.05556726083159447, 0.07646729052066803, 0.17392072081565857, -0.062420301139354706, -0.5753077268600464, -0.060198619961738586, 0.25342032313346863, -0.17878687381744385, -0.30195528268814087, 0.1505817472934723, 0.08905164897441864, -0.02369629219174385, -0.09787310659885406, 0.7474339008331299, 0.38678184151649475, -0.42916339635849, 0.18943358957767487, -0.3285778760910034 ]
https://github.com/huggingface/datasets/issues/6949
load_dataset error
Hi, @lion-ops. In our Continuous Integration we have many tests on loading JSON files and all of them work properly. Could you please share your "train.json" file, so that we can try to reproduce the issue you have?
### Describe the bug Why does the program get stuck when I use load_dataset method, and it still gets stuck after loading for several hours? In fact, my json file is only 21m, and I can load it in one go using open('', 'r'). ### Steps to reproduce the bug 1. pip install datasets==2.19.2 2. from datasets import Dataset, DatasetDict, NamedSplit, Split, load_dataset 3. data = load_dataset('json', data_files='train.json') ### Expected behavior It is able to load my json correctly ### Environment info datasets==2.19.2
38
load_dataset error ### Describe the bug Why does the program get stuck when I use load_dataset method, and it still gets stuck after loading for several hours? In fact, my json file is only 21m, and I can load it in one go using open('', 'r'). ### Steps to reproduce the bug 1. pip install datasets==2.19.2 2. from datasets import Dataset, DatasetDict, NamedSplit, Split, load_dataset 3. data = load_dataset('json', data_files='train.json') ### Expected behavior It is able to load my json correctly ### Environment info datasets==2.19.2 Hi, @lion-ops. In our Continuous Integration we have many tests on loading JSON files and all of them work properly. Could you please share your "train.json" file, so that we can try to reproduce the issue you have?
[ -0.23484677076339722, -0.053065165877342224, -0.09888695180416107, 0.3112257122993469, 0.36609506607055664, 0.18837383389472961, 0.2913392186164856, 0.39364364743232727, 0.21029119193553925, 0.0901610478758812, 0.22338902950286865, 0.539984405040741, -0.022340942174196243, 0.27762705087661743, -0.11389027535915375, -0.18780355155467987, 0.09600017219781876, 0.056091248989105225, 0.17854522168636322, 0.06596661359071732, -0.2250734269618988, 0.2986888289451599, -0.1880009025335312, -0.04938802123069763, -0.40556395053863525, -0.11489865928888321, 0.1674765944480896, 0.2108619213104248, -0.17547497153282166, -0.6913220882415771, 0.3993304371833801, -0.18695800006389618, 0.033503931015729904, 0.6631093621253967, -0.00011554675438674167, -0.012771327048540115, 0.5554730892181396, 0.00146389938890934, -0.39141178131103516, -0.45470136404037476, -0.150386780500412, -0.4339461922645569, 0.4812336266040802, -0.19606995582580566, -0.008332492783665657, -0.24038131535053253, -0.1411377340555191, -0.05614416301250458, 0.6808346509933472, 0.2203996181488037, 0.1363983154296875, -0.03652254119515419, 0.25082316994667053, -0.017496023327112198, 0.0067096129059791565, -0.11499753594398499, 0.007343405857682228, 0.33631089329719543, 0.23083046078681946, 0.11378447711467743, 0.285734087228775, 0.07448089122772217, -0.10784273594617844, 0.06297390162944794, 0.1587505340576172, -0.24180419743061066, -0.042973361909389496, -0.20671088993549347, -0.03897404670715332, 0.28325149416923523, 0.5543473958969116, 0.058218229562044144, -0.2940431535243988, -0.29921674728393555, -0.1287795603275299, -0.06409306079149246, 0.4196317195892334, 0.38473182916641235, -0.04854422062635422, 0.15711915493011475, -0.03401081636548042, -0.26683151721954346, -0.0870034247636795, -0.01930554211139679, -0.14121004939079285, 0.028300728648900986, -0.03272644057869911, 0.31526491045951843, 0.3372900187969208, -0.05741450935602188, 0.07731394469738007, -0.16694219410419464, -0.19801996648311615, 0.1066126599907875, -0.47374969720840454, 0.08697263896465302, -0.05204024165868759, 0.11094004660844803, 0.011385519057512283, 0.09518137574195862, -0.02888447791337967, 0.002254379913210869, -0.22659648954868317, 0.25454506278038025, 0.4012565612792969, 0.1665501892566681, -0.19022250175476074, 0.1587674766778946, 0.19670788943767548, -0.2106608897447586, -0.18002459406852722, -0.024732492864131927, -0.11564578860998154, -0.19385850429534912, -0.06468150019645691, -0.1913992166519165, 0.045541636645793915, -0.1948689967393875, -0.09385398775339127, 0.10924006998538971, -0.20989739894866943, -0.020801829174160957, -0.032253291457891464, 0.3967400789260864, -0.3470396399497986, 0.3620436191558838, 0.18432627618312836, 0.0899866446852684, -0.11053761839866638, 0.18208032846450806, 0.04418792575597763, 0.03230704367160797, -0.07348822802305222, -0.32923075556755066, 0.15639130771160126, -0.1381317675113678, 0.18363092839717865, 0.0014998149126768112, -0.18362633883953094, -0.17565198242664337, 0.306068480014801, -0.1032557338476181, -0.2552426755428314, 0.3810864984989166, 0.03867662325501442, 0.08891496062278748, 0.03129728510975838, -0.08696667104959488, -0.28507670760154724, 0.34377551078796387, -0.42669403553009033, -0.19992151856422424, -0.14588922262191772, 0.15183839201927185, -0.10514745116233826, 0.10406884551048279, -0.5578356385231018, -0.04586602374911308, -0.07637790590524673, -0.26734793186187744, -0.08713123947381973, -0.34060394763946533, 0.19014619290828705, -0.1360371708869934, -0.02112552337348461, 0.027855955064296722, -0.5181045532226562, 0.09189970791339874, -0.1082780659198761, -0.16778074204921722, -0.03481275588274002, 0.2474503070116043, -0.21725814044475555, 0.39505359530448914, -0.13113202154636383, 0.12458880245685577, 0.18751324713230133, -0.38595297932624817, -0.3133142292499542, 0.3895705044269562, -0.23714867234230042, 0.02565057761967182, 0.004337519407272339, 0.07867302000522614, 0.03376775234937668, 0.10370476543903351, 0.18867769837379456, 0.39484691619873047, 0.08799600601196289, 0.10580093413591385, -0.22032798826694489, -0.2908949553966522, -0.02342478558421135, 0.4164573848247528, -0.32269933819770813, -0.22257110476493835, -0.04213825613260269, 0.24100841581821442, 0.3698595464229584, 0.022087235003709793, -0.1143304631114006, 0.4326145648956299, 0.29361993074417114, 0.20050875842571259, 0.1703675240278244, -0.09978540986776352, -0.296864777803421, 0.12583264708518982, 0.32024767994880676, -0.11820073425769806, -0.008305884897708893, 0.0033547282218933105, -0.3312016725540161, 0.12040121108293533, -0.3116685748100281, 0.07973640412092209, 0.007508318871259689, -0.1658395528793335, 0.13353866338729858, 0.2501339316368103, -0.1302933245897293, 0.5048508048057556, -0.04626800864934921, 0.14257779717445374, -0.5416527390480042, 0.19272565841674805, -0.033639878034591675, -0.04079944267868996, 0.1447426974773407, 0.049499981105327606, 0.03909463435411453, -0.4539807438850403, -0.2727760672569275, 0.3243507146835327, 0.14494425058364868, 0.04630988463759422, -0.028167568147182465, -0.20037637650966644, 0.03519362956285477, -0.15632687509059906, -0.11687441915273666, 0.44089749455451965, 0.15034237504005432, -0.12231102585792542, -0.1537436544895172, 0.0011534243822097778, -0.22442813217639923, 0.37236422300338745, -0.09817124903202057, -0.041985057294368744, 0.30353444814682007, -0.14179354906082153, -0.13330966234207153, 0.2071392834186554, 0.5463433861732483, 0.07310937345027924, 0.3328671157360077, 0.0971505343914032, -0.1635594367980957, -0.22526422142982483, 0.6349772810935974, -0.10096496343612671, -0.14849692583084106, 0.2825930714607239, 0.20883587002754211, 0.03008568286895752, -0.08593492954969406, 0.3610316216945648, 0.2811880111694336, 0.15456771850585938, -0.3252592384815216, -0.03323858976364136, 0.12997359037399292, -0.16814078390598297, 0.20009618997573853, 0.02341468632221222, 0.2359970510005951, 0.27341440320014954, 0.11452417075634003, -0.08507400751113892, -0.03330201283097267, -0.43922722339630127, 0.02070428617298603, 0.3149647116661072, -0.03016132488846779, 0.07914850115776062, -0.21955306828022003, 0.4109661281108856, -0.05278699845075607, -0.10173334181308746, -0.009798265993595123, -0.15614157915115356, -0.2207282930612564, 0.12250441312789917, 0.17864347994327545, 0.15209928154945374, -0.07531601935625076, -0.10517634451389313, 0.139214426279068, -0.21031993627548218, -0.2864202558994293, -0.20366738736629486, -0.14767375588417053, -0.12535831332206726, 0.3518744111061096, -0.06689928472042084, 0.16075259447097778, -0.15934763848781586, -0.2390325367450714, 0.19303011894226074, -0.1639440953731537, -0.02463124692440033, -0.11642804741859436, 0.4119916558265686, 0.21067404747009277, 0.4021283984184265, -0.08334901928901672, -0.05686117336153984, 0.2790093421936035, 0.04581606388092041, -0.16425271332263947, -0.0012257564812898636, 0.10076909512281418, 0.12404371052980423, 0.03406118229031563, -0.5024118423461914, -0.41155338287353516, -0.43124303221702576, 0.6427561640739441, -0.22395463287830353, -0.07550252974033356, -0.11956170946359634, 0.2231113314628601, 0.13520972430706024, 0.04805285483598709, -0.04834485054016113, -0.0702565535902977, -0.4216580390930176, 0.28963786363601685, -0.1385858803987503, -0.288374662399292, 0.24051892757415771, 0.005531728267669678, 0.20903699100017548, -0.27901262044906616, -0.6479564905166626, 0.2146351933479309, -0.21524903178215027, 0.03090294823050499, -0.3595806956291199, -0.04357076436281204, 0.12720203399658203, -0.05644797906279564, 0.011307952925562859, -0.02866836078464985, -0.16264896094799042, 0.029668346047401428, 0.009910957887768745, 0.17781215906143188, 0.14375317096710205, 0.7809910178184509, -0.15406174957752228, 0.38368117809295654, 0.24910810589790344, 0.16662225127220154, 0.10098803043365479, 0.09122540056705475, 0.11571317911148071, -0.3509742021560669, -0.19966867566108704, -0.03772483393549919, -0.11338546872138977, -0.27506017684936523, -0.019533559679985046, 0.15280583500862122, -0.11458224803209305, -0.14412054419517517, -0.14906026422977448, -0.277183473110199, -0.0054368674755096436, 0.06343931704759598, -0.087850421667099, 0.03288921341300011, 0.09116216003894806, 0.005858883261680603, 0.09240619838237762, 0.027916070073843002, -0.06115680932998657, -0.012890718877315521, 0.1567806750535965, 0.015164723619818687, -0.537712574005127, -0.2800196409225464, -0.18778938055038452, 0.14302386343479156, -0.19650503993034363, 0.18919451534748077, -0.08318331092596054, 0.3365783989429474, 0.2872928977012634, -0.3866744041442871, 0.6835415959358215, 0.08792165666818619, 0.09533533453941345, 0.0935724675655365, 0.04227106273174286, -0.6156121492385864, -0.0148782879114151, 0.16790607571601868, 0.24998970329761505, 0.47270670533180237, 0.32306498289108276, -0.5648117661476135, -0.1975218653678894, 0.018043018877506256, 0.3455531597137451, -0.1615922600030899, -0.3272002041339874, -0.2191091626882553, -0.13545510172843933, -0.47244033217430115, 0.04002577066421509, -0.03521247208118439, 0.3006669580936432, -0.0416574701666832, -0.37035804986953735, -0.12455986440181732, 0.008135475218296051, 0.012326382100582123, -0.009098159149289131, 0.2975481152534485, -0.17284545302391052, 0.47198206186294556, 0.1549757719039917, 0.06104530394077301, 0.21675412356853485, 0.5197896957397461, 0.006803430616855621, 0.01597888022661209, -0.08759735524654388, -0.03106427565217018, 0.27305418252944946, 0.013611137866973877, -0.13190804421901703, -0.09502922743558884, -0.029049981385469437, 0.3519984483718872, -0.10552597045898438, 0.21843655407428741, 0.2715170979499817, 0.15565936267375946, -0.4387955963611603, -0.5476081967353821, 0.5010615587234497, 0.1545642614364624, 0.10060589015483856, 0.3549869656562805, -0.11867573857307434, 0.0408015251159668, 0.4227146506309509, -0.31475168466567993, 0.5990359783172607, -0.051819898188114166, 0.1283472329378128, 0.2821258306503296, -0.13945713639259338, 0.06965702027082443, -0.5047987699508667, 0.02786184661090374, -0.4206194281578064, 0.25816428661346436, -0.0029582958668470383, -0.2460784912109375, 0.01827992871403694, 0.23830975592136383, -0.16209423542022705, 0.10260740667581558, -0.07039634883403778, -0.29830697178840637, -0.29990631341934204, 0.5726420283317566, -0.22642065584659576, -0.1471678465604782, -0.5479243397712708, 0.1266781985759735, -0.13148193061351776, -0.02335747703909874, 0.014703396707773209, -0.037603069096803665, -0.1240123063325882, -0.21568353474140167, -0.1565672755241394, 0.09789184480905533, -0.07022590190172195, 0.07376042008399963, 0.07916108518838882, -0.38481730222702026, 0.12003305554389954, 0.32618483901023865, -0.37629520893096924, 0.21631145477294922, -0.11502711474895477, 0.4718751609325409, -0.500495433807373, -0.2572782039642334, 0.13661126792430878, 0.05058789998292923, 0.09259259700775146, -0.1092798113822937, -0.22553172707557678, 0.042495302855968475, -0.5057357549667358, -0.3200796842575073, 0.105174720287323, 0.45103198289871216, 0.03759482502937317, -0.20553982257843018, -0.6556902527809143, -0.1063985675573349, 0.08232653141021729, -0.14705409109592438, 0.10836814343929291, 0.21700456738471985, -0.12320456653833389, 0.3756447434425354, -0.005746811628341675, -0.2405286729335785, -0.15250010788440704, 0.2910137176513672, -0.08087844401597977, 0.1648937612771988, 0.7251724004745483, 0.17122358083724976, -0.05399765446782112, -0.17322108149528503, 0.43715226650238037, 0.43212267756462097, -0.15089631080627441, 0.3082059323787689, -0.0012120569590479136, 0.1653931587934494, 0.06189849227666855, 0.20626096427440643, 0.0925028920173645, -0.31827864050865173, -0.002335410565137863, -0.5674278736114502, -0.4162835478782654, 0.13079363107681274, 0.0976744294166565, 0.0642123743891716, 0.15895715355873108, -0.025313563644886017, -0.10234307497739792, -0.026018528267741203, -0.17842236161231995, 0.28264564275741577, -0.29999759793281555, 0.04971792548894882, 0.13301138579845428, -0.10884254425764084, 0.23735420405864716, -0.035877980291843414, 0.11004829406738281, 0.15071699023246765, -0.11728818714618683, -0.21212169528007507, -0.21166753768920898, 0.09245090186595917, 0.16816535592079163, 0.06062684208154678, -0.13972365856170654, -0.4594656825065613, -0.11985933780670166, -0.015373658388853073, -0.05477726086974144, -0.003495190292596817, 0.11718365550041199, -0.11675423383712769, -0.09251908957958221, 0.07306961715221405, 0.060667477548122406, 0.2665727734565735, -0.029894255101680756, 0.2733670473098755, 0.21614761650562286, 0.03168834000825882, 0.14813373982906342, 0.1164083182811737, -0.5491731762886047, -0.08150555938482285, 0.15973323583602905, 0.17213988304138184, 0.22260835766792297, -0.5217963457107544, 0.201923206448555, 0.23753182590007782, 0.42358073592185974, 0.6262656450271606, -0.31456393003463745, 0.14094474911689758, 0.23165777325630188, 0.15757019817829132, -0.10320046544075012, -0.031905144453048706, 0.2423538714647293, 0.014007850550115108, -0.17618662118911743, -0.07585210353136063, -0.03923488035798073, -0.20764487981796265, -0.17893452942371368, 0.31316253542900085, 0.4039795398712158, -0.028049740940332413, 0.11655452847480774, 0.3855564296245575, -0.16814343631267548, -0.031831253319978714, 0.27166637778282166, 0.11902686953544617, 0.2530803978443146, 0.7354885935783386, 0.019079789519309998, 0.28721070289611816, 0.22625133395195007, 0.39064332842826843, -0.23235848546028137, -0.14517079293727875, -0.30189061164855957, 0.1600431203842163, -0.029891788959503174, 0.011234249919652939, 0.10677200555801392, 0.3269202709197998, -0.35363566875457764, -0.17077946662902832, -0.3070865571498871, 0.15925855934619904, -0.01853194087743759, -0.001289105974137783, 0.3083326518535614, 0.036922015249729156, 0.039188235998153687, 0.2719491422176361, -0.01027357205748558, 0.0720653384923935, 0.10302875190973282, 0.3093303442001343, 0.0020919963717460632, -0.40125328302383423, 0.06592348217964172, 0.12922346591949463, 0.02101573348045349, -0.19747018814086914, 0.05520690232515335, 0.04522328078746796, -0.11768075823783875, -0.021939344704151154, 0.018465248867869377, 0.40480896830558777, 0.454532265663147, -0.07771819829940796, -0.13412010669708252, -0.3068847358226776, -0.08801843225955963, 0.08134832233190536, 0.43611353635787964, 0.017425887286663055, 0.24147294461727142, 0.28474897146224976, 0.1045980229973793, -0.16998042166233063, -0.01329105719923973, 0.07175440341234207, 0.142752006649971, -0.4279349446296692, 0.2374683916568756, -0.10217899084091187, -0.19843941926956177, -0.20315708220005035, -0.034024111926555634, -0.4191436469554901, 0.061146825551986694, 0.11433137953281403, 0.14978516101837158, -0.10347798466682434, -0.3457017242908478, 0.05608315020799637, -0.41712984442710876, 0.3439900279045105, 0.1693970113992691, 0.1759069412946701, -0.21118617057800293, -0.2761145234107971, -0.6695301532745361, -0.27339446544647217, -0.4424842596054077, -0.16518470644950867, 0.1854459047317505, 0.06690745055675507, -0.17082732915878296, 0.07965266704559326, 0.08187834918498993, 0.04085196182131767, 0.10091305524110794, 0.30906981229782104, -0.2345968633890152, -0.13857018947601318, 0.05169524997472763, 0.20570430159568787, -0.024966279044747353, -0.3187144696712494, 0.05076753720641136, -0.03557705134153366, -0.06658241897821426, -0.11973409354686737, -0.15964803099632263, 0.03531927987933159, 0.13759639859199524, 0.6935862302780151, 0.018498100340366364, 0.2809525430202484, 0.07789362221956253, -0.10494797676801682, -0.01801786944270134, -0.15879490971565247, 0.023460276424884796, 0.17554819583892822, 0.01692437380552292, 0.5219461917877197, -0.38279879093170166, 0.31883567571640015, -0.20115460455417633, -0.10403390973806381, -0.2991865277290344, -0.18261347711086273, -0.09767797589302063, -0.2007807493209839, 0.007138445973396301, 0.293894499540329, 0.141938254237175, 0.4146465063095093, 0.15014012157917023, 0.16926415264606476, -0.2873550057411194, -0.029017601162195206, 0.4315188527107239, -0.15692836046218872, -0.3188517391681671, 0.28847336769104004, -0.08563168346881866, 0.12314476072788239, -0.08760841935873032, -0.2676377594470978, 0.094375379383564, 0.31513163447380066, 0.04663724824786186, -0.19393517076969147, 0.045134518295526505, 0.1294604390859604, 0.01821594312787056, -0.04597834497690201, 0.34756898880004883, 0.08210015296936035, -0.1859288364648819, 0.2234727442264557, 0.014687173068523407 ]
https://github.com/huggingface/datasets/issues/6949
load_dataset error
> Hi, @lion-ops. > > In our Continuous Integration we have many tests on loading JSON files and all of them work properly. > > Could you please share your "train.json" file, so that we can try to reproduce the issue you have? Thank you for your reply. I can load it normally in another server. Is it possible that the disk of my server is a network disk in the LAN, so it will be downloaded from the LAN and get stuck?
### Describe the bug Why does the program get stuck when I use load_dataset method, and it still gets stuck after loading for several hours? In fact, my json file is only 21m, and I can load it in one go using open('', 'r'). ### Steps to reproduce the bug 1. pip install datasets==2.19.2 2. from datasets import Dataset, DatasetDict, NamedSplit, Split, load_dataset 3. data = load_dataset('json', data_files='train.json') ### Expected behavior It is able to load my json correctly ### Environment info datasets==2.19.2
83
load_dataset error ### Describe the bug Why does the program get stuck when I use load_dataset method, and it still gets stuck after loading for several hours? In fact, my json file is only 21m, and I can load it in one go using open('', 'r'). ### Steps to reproduce the bug 1. pip install datasets==2.19.2 2. from datasets import Dataset, DatasetDict, NamedSplit, Split, load_dataset 3. data = load_dataset('json', data_files='train.json') ### Expected behavior It is able to load my json correctly ### Environment info datasets==2.19.2 > Hi, @lion-ops. > > In our Continuous Integration we have many tests on loading JSON files and all of them work properly. > > Could you please share your "train.json" file, so that we can try to reproduce the issue you have? Thank you for your reply. I can load it normally in another server. Is it possible that the disk of my server is a network disk in the LAN, so it will be downloaded from the LAN and get stuck?
[ -0.1941034495830536, -0.09163274616003036, -0.1015826165676117, 0.3155893087387085, 0.2822381854057312, 0.16326147317886353, 0.3309028446674347, 0.31814953684806824, 0.29122239351272583, 0.12277227640151978, 0.22967812418937683, 0.5177155137062073, -0.002191421575844288, 0.25192078948020935, -0.058107517659664154, -0.13243302702903748, 0.09378952533006668, 0.08318649977445602, 0.09126800298690796, -0.030003169551491737, -0.20101073384284973, 0.27040645480155945, -0.13988852500915527, -0.041254669427871704, -0.38568228483200073, -0.18005411326885223, 0.16187618672847748, 0.22849217057228088, -0.14715638756752014, -0.630078911781311, 0.4277924597263336, -0.1776963621377945, 0.055580973625183105, 0.6575623154640198, -0.00011497841478558257, 0.02368193119764328, 0.48039114475250244, 0.004419172182679176, -0.4216420650482178, -0.4346456527709961, -0.09387824684381485, -0.4377231299877167, 0.46684467792510986, -0.2691061794757843, 0.07003801316022873, -0.16195692121982574, -0.1236041933298111, -0.04708386957645416, 0.6337668299674988, 0.21082301437854767, 0.1288047879934311, 0.02119392901659012, 0.13517315685749054, -0.03884375840425491, -0.05115719884634018, -0.16170570254325867, -0.01967841573059559, 0.3939383029937744, 0.2705311179161072, 0.15825042128562927, 0.24817487597465515, 0.030183877795934677, -0.03562793508172035, 0.09401573240756989, 0.15516048669815063, -0.2032894641160965, 0.01864159107208252, -0.18196886777877808, -0.046717382967472076, 0.27525821328163147, 0.5875580906867981, 0.0908343568444252, -0.3064922094345093, -0.2493380308151245, -0.10186295956373215, 0.0076149869710206985, 0.48533663153648376, 0.37384650111198425, -0.10723838210105896, 0.18482868373394012, -0.12594939768314362, -0.3283153176307678, -0.13049009442329407, -0.019785776734352112, -0.16867923736572266, -0.04669302701950073, -0.04848315566778183, 0.32782113552093506, 0.2918643653392792, 0.01868239976465702, 0.08951228111982346, -0.19855323433876038, -0.11718487739562988, 0.09235023707151413, -0.48058241605758667, 0.08350931107997894, -0.05555541068315506, 0.1764412224292755, 0.018270015716552734, 0.11208024621009827, -0.026241037994623184, -0.044295452535152435, -0.2952175438404083, 0.2324867844581604, 0.3949076533317566, 0.18698737025260925, -0.24314972758293152, 0.08651715517044067, 0.1693870723247528, -0.16193519532680511, -0.17735721170902252, -0.03275410085916519, -0.1571442037820816, -0.23225188255310059, -0.016808001324534416, -0.24776595830917358, 0.023174691945314407, -0.18078190088272095, -0.035513777285814285, 0.12114713340997696, -0.08568374067544937, 0.0025493442080914974, -0.042378295212984085, 0.3850952386856079, -0.33707576990127563, 0.3669215142726898, 0.13815711438655853, 0.09823238104581833, -0.08887064456939697, 0.2139466106891632, 0.060386162251234055, -0.018059000372886658, -0.05236860364675522, -0.2775750160217285, 0.1350385695695877, -0.12933850288391113, 0.14059893786907196, -0.0021833861246705055, -0.17979444563388824, -0.13997706770896912, 0.26279416680336, -0.07729536294937134, -0.17845550179481506, 0.361477792263031, 0.06697694957256317, 0.11203379184007645, 0.025932755321264267, -0.03985097259283066, -0.31407639384269714, 0.3310202658176422, -0.43404620885849, -0.17720933258533478, -0.13794593513011932, 0.12498421221971512, -0.11984218657016754, 0.060292620211839676, -0.5374256372451782, -0.1539771407842636, -0.133958101272583, -0.28358888626098633, -0.06573943048715591, -0.29620611667633057, 0.16917932033538818, -0.10362724959850311, -0.05029600113630295, 0.001986265182495117, -0.5577982664108276, 0.10531684756278992, -0.14115029573440552, -0.19905813038349152, -0.029940344393253326, 0.2707165479660034, -0.21123406291007996, 0.4077620804309845, -0.14038832485675812, 0.1300499439239502, 0.21770936250686646, -0.41463205218315125, -0.42059558629989624, 0.47727108001708984, -0.33118051290512085, 0.0032191406935453415, 0.026038356125354767, 0.05512795224785805, 0.09890282154083252, 0.16211315989494324, 0.1415891796350479, 0.4195287823677063, 0.1022053137421608, 0.09075940400362015, -0.24290616810321808, -0.37132367491722107, -0.06690821051597595, 0.421185165643692, -0.3236556351184845, -0.18908154964447021, 0.009536080062389374, 0.2050633281469345, 0.374824196100235, 0.051381196826696396, -0.037563763558864594, 0.471962034702301, 0.29244181513786316, 0.21079383790493011, 0.14804592728614807, -0.08002579212188721, -0.28201308846473694, 0.13832280039787292, 0.3868606388568878, -0.12161135673522949, 0.00016281753778457642, 0.014059964567422867, -0.4089846611022949, 0.0784827470779419, -0.3060421943664551, 0.13008877635002136, -0.005655322223901749, -0.08766080439090729, 0.16804078221321106, 0.2547300159931183, -0.14411762356758118, 0.499574214220047, -0.04632388800382614, 0.09451982378959656, -0.48392659425735474, 0.24709899723529816, -0.07654078304767609, -0.008602960966527462, 0.10493367910385132, 0.009540848433971405, 0.0039913468062877655, -0.4513830840587616, -0.2847999334335327, 0.3050362169742584, 0.060552727431058884, 0.06437088549137115, 0.11220332980155945, -0.2118949443101883, 0.0713668093085289, -0.14650429785251617, -0.04334238916635513, 0.42865103483200073, 0.19486837089061737, -0.06548412889242172, -0.16884654760360718, -0.03449012339115143, -0.2753009796142578, 0.3553817570209503, -0.10201536118984222, -0.004011979326605797, 0.3132238984107971, -0.11911185085773468, -0.1263505071401596, 0.22389397025108337, 0.5460420846939087, 0.012207758612930775, 0.4524290859699249, 0.07026270776987076, -0.17181876301765442, -0.19724416732788086, 0.6521705389022827, -0.10209643840789795, -0.09337831288576126, 0.3045085072517395, 0.2387659251689911, 0.0709005668759346, -0.099761001765728, 0.4219306409358978, 0.2710959315299988, 0.12323521822690964, -0.27585145831108093, -0.051812998950481415, 0.10609246045351028, -0.17180559039115906, 0.15415799617767334, -0.013254553079605103, 0.26492464542388916, 0.2835801839828491, 0.039203159511089325, -0.07836327701807022, -0.03644707053899765, -0.4350256025791168, 0.06862352788448334, 0.26529374718666077, -0.02033274993300438, 0.09668907523155212, -0.23237678408622742, 0.4210144877433777, -0.1190580278635025, -0.1059134230017662, -0.034493062645196915, -0.11543650180101395, -0.2306107133626938, 0.10347364842891693, 0.16604246199131012, 0.18357737362384796, -0.06736460328102112, -0.05319608747959137, 0.09878791868686676, -0.1856902837753296, -0.24107441306114197, -0.18732427060604095, -0.19195884466171265, -0.13660086691379547, 0.31513306498527527, -0.10237426310777664, 0.16883079707622528, -0.208366259932518, -0.2648163437843323, 0.12248621881008148, -0.07760649919509888, -0.024221904575824738, -0.06720380485057831, 0.36374321579933167, 0.19377213716506958, 0.4900999665260315, -0.18784324824810028, -0.0838584378361702, 0.2703763544559479, -0.008869771845638752, -0.1760544776916504, -0.03260565549135208, 0.11993463337421417, 0.12956565618515015, 0.020012877881526947, -0.5514079928398132, -0.5134192705154419, -0.4015437364578247, 0.6404390931129456, -0.2409829944372177, -0.03766646236181259, -0.13280002772808075, 0.17724372446537018, 0.13890506327152252, 0.0663619339466095, -0.011098889634013176, -0.07865730673074722, -0.5243098139762878, 0.2922990620136261, -0.10579332709312439, -0.3337134122848511, 0.1937243938446045, 0.005507428199052811, 0.20555298030376434, -0.23835532367229462, -0.703833281993866, 0.17839787900447845, -0.2017976939678192, 0.09337681531906128, -0.3443443477153778, -0.0008088033646345139, 0.15259574353694916, -0.062034737318754196, 0.02811933122575283, -0.012240935117006302, -0.15362979471683502, 0.04270458593964577, 0.020966535434126854, 0.16693271696567535, 0.1748456358909607, 0.7425788044929504, -0.13970544934272766, 0.39799928665161133, 0.1475193351507187, 0.22733038663864136, 0.18356558680534363, 0.0880923867225647, 0.16603460907936096, -0.3046641945838928, -0.20823268592357635, -0.0011082601267844439, -0.13478106260299683, -0.3358845114707947, 0.016832277178764343, 0.1183134913444519, -0.1614963263273239, -0.13544926047325134, -0.19719913601875305, -0.35714954137802124, -0.028490986675024033, 0.05250496417284012, -0.09672814607620239, 0.01857895776629448, 0.10889928042888641, 0.018763333559036255, 0.06024781987071037, 0.055674344301223755, -0.0468781441450119, 0.02884521335363388, 0.16364985704421997, 0.019248083233833313, -0.580400288105011, -0.2702985405921936, -0.18353503942489624, 0.07181879132986069, -0.20398668944835663, 0.2795313596725464, -0.14900758862495422, 0.3402358889579773, 0.30860453844070435, -0.37050288915634155, 0.6820680499076843, 0.08833301067352295, 0.1655110865831375, 0.0525725819170475, 0.05533304810523987, -0.6436296105384827, -0.02960214391350746, 0.14741116762161255, 0.21486523747444153, 0.4719047546386719, 0.352029025554657, -0.5060237050056458, -0.163552388548851, -0.07100456207990646, 0.3777632415294647, -0.19982218742370605, -0.316109299659729, -0.23817135393619537, -0.13288897275924683, -0.5082919001579285, 0.04298944026231766, -0.07287881523370743, 0.3168579339981079, -0.04409181326627731, -0.31968817114830017, -0.09144168347120285, 0.1054021343588829, -0.04445783793926239, 0.0037471912801265717, 0.26287519931793213, -0.16657932102680206, 0.47675591707229614, 0.16176334023475647, 0.17412926256656647, 0.15644821524620056, 0.4711483418941498, -0.04078633710741997, 0.04986116290092468, -0.04469185322523117, -0.07939689606428146, 0.2490779459476471, 0.06058991700410843, -0.07909832149744034, -0.1950211524963379, 0.03443954512476921, 0.31483879685401917, -0.11707500368356705, 0.19782021641731262, 0.19633932411670685, 0.15963318943977356, -0.40394702553749084, -0.45902949571609497, 0.5398725271224976, 0.1623876690864563, 0.06397242844104767, 0.31529903411865234, -0.041916295886039734, 0.037917137145996094, 0.4276800751686096, -0.3602765202522278, 0.6311547160148621, -0.021691009402275085, 0.14527517557144165, 0.21871429681777954, -0.14530086517333984, 0.06884486973285675, -0.4998733401298523, 0.002177487127482891, -0.38557159900665283, 0.18156801164150238, -0.038353271782398224, -0.23004624247550964, -0.017977431416511536, 0.34300118684768677, -0.1553923338651657, 0.12337236851453781, -0.05991638824343681, -0.32284894585609436, -0.28189483284950256, 0.5282332897186279, -0.21262942254543304, -0.18726693093776703, -0.5845746397972107, 0.10431468486785889, -0.07549981772899628, 0.06605638563632965, -0.02991105243563652, -0.03670059144496918, -0.17368577420711517, -0.1896602213382721, -0.11475586891174316, 0.102136991918087, -0.05458996817469597, 0.08064783364534378, 0.09483842551708221, -0.3632311224937439, 0.03512457013130188, 0.29379603266716003, -0.320687472820282, 0.22471444308757782, -0.10591615736484528, 0.4504971504211426, -0.4955015182495117, -0.23622283339500427, 0.15950985252857208, 0.061689719557762146, 0.06784757226705551, -0.13683493435382843, -0.31335797905921936, -0.00016764551401138306, -0.5140478014945984, -0.295285165309906, 0.20533782243728638, 0.4242289662361145, 0.047940801829099655, -0.1338704377412796, -0.6486626863479614, -0.14285430312156677, 0.090670645236969, -0.12194858491420746, 0.09970346093177795, 0.2104511708021164, -0.1407880038022995, 0.4185123145580292, 0.028252029791474342, -0.22124657034873962, -0.11871665716171265, 0.37801364064216614, -0.12647023797035217, 0.18634873628616333, 0.6909631490707397, 0.08814539015293121, -0.0629381537437439, -0.19329044222831726, 0.44291120767593384, 0.3849929869174957, -0.18482694029808044, 0.20231527090072632, -0.05479419603943825, 0.15438209474086761, -0.022603729739785194, 0.16758057475090027, 0.22617749869823456, -0.2803137004375458, -0.07190054655075073, -0.5944294929504395, -0.388081818819046, 0.1216316819190979, 0.14627116918563843, 0.07511918991804123, 0.2551063001155853, -0.08484704792499542, -0.006658448837697506, -0.06567060202360153, -0.18000592291355133, 0.2708893418312073, -0.3518064022064209, 0.04636911302804947, 0.17424844205379486, -0.12301608175039291, 0.2650873064994812, -0.07237225770950317, 0.09364873915910721, 0.11513202637434006, -0.03549648076295853, -0.19615179300308228, -0.14099113643169403, 0.10579648613929749, 0.16728457808494568, 0.02961154840886593, -0.15927158296108246, -0.484188973903656, -0.12770424783229828, 0.052257388830184937, -0.08014512062072754, -0.051714763045310974, 0.13265015184879303, -0.13873951137065887, -0.14182238280773163, 0.12875959277153015, -0.02857348322868347, 0.3228626847267151, -0.03357376158237457, 0.3068912923336029, 0.16734491288661957, 0.07194150984287262, 0.15499937534332275, 0.10089163482189178, -0.5819343328475952, -0.10850576311349869, 0.21465346217155457, 0.20504215359687805, 0.21423977613449097, -0.5113787055015564, 0.2100832760334015, 0.3403448462486267, 0.42586198449134827, 0.5903738737106323, -0.29094958305358887, 0.01730235107243061, 0.26532071828842163, 0.1717376410961151, -0.07587727904319763, -0.07547373324632645, 0.29117974638938904, 0.02591860666871071, -0.19968931376934052, -0.05594304949045181, -0.016516737639904022, -0.28280991315841675, -0.1936434656381607, 0.31859609484672546, 0.4041634202003479, -0.06538356840610504, 0.1191660612821579, 0.4199962615966797, -0.1173696517944336, 0.023550748825073242, 0.23286908864974976, 0.14810515940189362, 0.23331871628761292, 0.7610222697257996, -0.0722145065665245, 0.23911115527153015, 0.19294965267181396, 0.39126041531562805, -0.1943698227405548, -0.12256994843482971, -0.23861943185329437, 0.13223664462566376, -0.03396442532539368, -0.0633607730269432, 0.1086345687508583, 0.28800860047340393, -0.40317296981811523, -0.24798117578029633, -0.3542441725730896, 0.17464850842952728, -0.04793842136859894, 0.025138959288597107, 0.268438458442688, 0.04451874643564224, 0.07223129272460938, 0.26514512300491333, -0.01018127053976059, 0.058081164956092834, 0.15499132871627808, 0.3625516891479492, 0.015959233045578003, -0.3737427592277527, 0.015033379197120667, 0.12367427349090576, 0.0008122622966766357, -0.17478269338607788, 0.07556827366352081, 0.051207225769758224, -0.0962999016046524, -0.0654737800359726, 0.06042764335870743, 0.3383120596408844, 0.42143014073371887, -0.039203278720378876, -0.12457037717103958, -0.2412184625864029, -0.0668770968914032, 0.056417062878608704, 0.3910504877567291, -0.01895340532064438, 0.2378518283367157, 0.35932034254074097, 0.10201214253902435, -0.14462032914161682, 0.004829768091440201, 0.05765977129340172, 0.12713466584682465, -0.39044293761253357, 0.18563498556613922, -0.10250720381736755, -0.16883206367492676, -0.24398183822631836, -0.014657385647296906, -0.43262144923210144, 0.17266258597373962, 0.13670231401920319, 0.10535484552383423, -0.08905056864023209, -0.3496629595756531, 0.044868603348731995, -0.4336230456829071, 0.3879449665546417, 0.23326778411865234, 0.15833373367786407, -0.20344683527946472, -0.2938988208770752, -0.7117307186126709, -0.21311825513839722, -0.41848844289779663, -0.20436030626296997, 0.18547040224075317, 0.14893503487110138, -0.21870261430740356, 0.09844428300857544, 0.05827672779560089, 0.0768461525440216, 0.033524882048368454, 0.3625848591327667, -0.240033820271492, -0.1275070309638977, 0.0850086510181427, 0.206623837351799, -0.04613327234983444, -0.40282943844795227, 0.0811930000782013, -0.06408548355102539, -0.07885535061359406, -0.0618126317858696, -0.151404470205307, -0.02289530634880066, 0.20681804418563843, 0.6839787364006042, 0.004377629607915878, 0.28942519426345825, 0.10645288974046707, -0.12372947484254837, -0.023386497050523758, -0.13072720170021057, 0.01791837438941002, 0.17642617225646973, 0.012676352635025978, 0.42635759711265564, -0.3753240406513214, 0.4019739627838135, -0.19598355889320374, -0.0691448301076889, -0.23661170899868011, -0.07903929799795151, -0.025008227676153183, -0.28146257996559143, 0.026082374155521393, 0.23030085861682892, 0.2138938456773758, 0.3586357831954956, 0.1802634745836258, 0.1919155865907669, -0.2931913733482361, -0.021518860012292862, 0.34693455696105957, -0.12541396915912628, -0.30745065212249756, 0.2246115803718567, -0.022834450006484985, 0.09448328614234924, -0.10830426961183548, -0.22760090231895447, 0.1069854125380516, 0.31626996397972107, 0.029072526842355728, -0.15133941173553467, -0.0307493694126606, 0.11486919224262238, 0.047791387885808945, -0.006597407162189484, 0.42492014169692993, -0.013247400522232056, -0.21972687542438507, 0.18511463701725006, 0.0020047202706336975 ]
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
Hello, Are you sure you are really using datasets version 2.19.2? We just made the patch release yesterday specifically to fix this issue: - #6925 I can't reproduce the error: ```python In [1]: from datasets import load_dataset In [2]: ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') Downloading readme: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 41.1k/41.1k [00:00<00:00, 596kB/s] Downloading data: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 40.7M/40.7M [00:04<00:00, 8.50MB/s] Generating validation split: 45576 examples [00:01, 44956.75 examples/s] In [3]: ds Out[3]: Dataset({ features: ['text', 'timestamp', 'url'], num_rows: 45576 }) ```
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2
78
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2 Hello, Are you sure you are really using datasets version 2.19.2? We just made the patch release yesterday specifically to fix this issue: - #6925 I can't reproduce the error: ```python In [1]: from datasets import load_dataset In [2]: ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') Downloading readme: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 41.1k/41.1k [00:00<00:00, 596kB/s] Downloading data: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 40.7M/40.7M [00:04<00:00, 8.50MB/s] Generating validation split: 45576 examples [00:01, 44956.75 examples/s] In [3]: ds Out[3]: Dataset({ features: ['text', 'timestamp', 'url'], num_rows: 45576 }) ```
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.1673109382390976, 0.09469642490148544, -0.12878842651844025, 0.07063333690166473, 0.32241034507751465, 0.02620493248105049, 0.19688363373279572, -0.20495252311229706, 0.2669195234775543, -0.4299952983856201, -0.05025388300418854, -0.5118574500083923, 0.1403893232345581, -0.07259971648454666, 0.3794679641723633, 0.02385059744119644, -0.6958081722259521, 0.44850096106529236, -0.20207393169403076, 0.2992042601108551, 0.49243301153182983, -0.00012066363706253469, 0.01928948611021042, 0.3469124436378479, -0.08317720890045166, -0.11738654971122742, -0.05980360507965088, -0.14499206840991974, -0.19902335107326508, 0.022213812917470932, -0.2882561981678009, -0.014482324942946434, -0.32274869084358215, 0.015865202993154526, -0.01316012442111969, 0.28171390295028687, 0.5431941747665405, 0.1330081820487976, 0.1479310244321823, 0.39817681908607483, -0.1542314738035202, 0.07552634924650192, -0.27447015047073364, -0.01908506453037262, 0.23912999033927917, -0.08974960446357727, -0.07092311978340149, 0.2659449577331543, 0.13223052024841309, -0.2828100025653839, -0.17826257646083832, 0.2492561936378479, -0.017540816217660904, -0.11171411722898483, -0.3811374008655548, 0.31400471925735474, 0.13975772261619568, 0.42582520842552185, -0.38074347376823425, -0.38033801317214966, -0.1683962643146515, 0.20151138305664062, -0.022123482078313828, 0.4386742413043976, 0.006013292353600264, 0.25066131353378296, 0.16168321669101715, -0.04256672412157059, -0.09226145595312119, -0.17877313494682312, 0.19423139095306396, -0.10208393633365631, -0.024914659559726715, -0.09587426483631134, 0.04586704075336456, 0.2314188927412033, -0.10027109086513519, 0.04329567775130272, -0.04045218974351883, -0.31813836097717285, 0.22126537561416626, -0.3310926556587219, -0.04149278253316879, 0.021100010722875595, 0.37260234355926514, 0.04357099533081055, -0.03800217807292938, -0.15389499068260193, -0.15865910053253174, -0.21904052793979645, 0.04323819652199745, -0.2167455106973648, 0.0561506487429142, 0.10338110476732254, 0.23301638662815094, 0.18303918838500977, 0.10128527134656906, -0.020585210993885994, -0.2543068826198578, -0.1281110793352127, -0.495686411857605, -0.14644773304462433, 0.30492228269577026, 0.44477009773254395, -0.4531577527523041, -0.5866712331771851, 0.26064440608024597, -0.42576807737350464, -0.03383442759513855, 0.10021638125181198, 0.36175599694252014, -0.13488446176052094, 0.34633806347846985, 0.05167446285486221, 0.2822863459587097, -0.1180596724152565, -0.20207518339157104, -0.1771644502878189, 0.1411392241716385, -0.19642393290996552, 0.07668192684650421, 0.22601382434368134, -0.4352952241897583, 0.31519436836242676, 0.10053573548793793, 0.3195825219154358, 0.024610884487628937, -0.03942642733454704, -0.06250287592411041, -0.3420781195163727, 0.29523801803588867, -0.2975321114063263, 0.03572583198547363, 0.1402018517255783, -0.2860606610774994, -0.06302879750728607, 0.18216350674629211, -0.32619377970695496, -0.02672683820128441, -0.18541967868804932, 0.052909623831510544, -0.1444951295852661, 0.05327868461608887, -0.4641789495944977, -0.034403253346681595, -0.09688795357942581, -0.27016761898994446, 0.09257107228040695, -0.18675367534160614, 0.21426188945770264, -0.24912060797214508, 0.1467367559671402, 0.6955875754356384, -0.5375068783760071, -0.07292602956295013, 0.1932041496038437, -0.05842846259474754, 0.035234034061431885, 0.10900452733039856, -0.1654689460992813, 0.13702718913555145, -0.3446011543273926, -0.10282328724861145, 0.15042896568775177, -0.4401116967201233, -0.6035734415054321, 0.10642585903406143, 0.013413652777671814, 0.22816316783428192, 0.12718459963798523, -0.03874368593096733, -0.4771975576877594, -0.023053469136357307, -0.10390527546405792, -0.30530285835266113, -0.012857554480433464, -0.13113047182559967, -0.23246614634990692, -0.15119221806526184, 0.5078813433647156, 0.07603226602077484, 0.2369411736726761, 0.08104918897151947, 0.13708731532096863, 0.1925928145647049, 0.2370634377002716, -0.2821579873561859, -0.22671422362327576, 0.0899062305688858, 0.29176875948905945, -0.03146445006132126, 0.04327007010579109, -0.04735543951392174, -0.652544379234314, 0.3559955060482025, 0.03991517424583435, -0.09408517181873322, 0.14504382014274597, -0.08631426095962524, -0.1655561923980713, -0.25147074460983276, -0.2675711214542389, -0.2202230989933014, -0.019351119175553322, -0.016915977001190186, 0.017483461648225784, 0.06582993268966675, -0.27473998069763184, 0.6899194717407227, -0.3939708173274994, 0.14065279066562653, -0.2124442160129547, 0.5503130555152893, -0.03201579302549362, 0.059807199984788895, -0.012553738430142403, 0.13051466643810272, 0.30562469363212585, -0.09303276985883713, -0.07941249758005142, 0.3704999089241028, 0.006911961827427149, 0.16692501306533813, -0.05065783113241196, 0.25168687105178833, 0.26661309599876404, -0.2968882918357849, 0.2391955852508545, 0.2839130163192749, 0.05913250148296356, 0.05797424167394638, 0.005060840398073196, 0.24801266193389893, 0.10853447020053864, 0.1219538152217865, 0.05764736980199814, -0.17246036231517792, 0.17578260600566864, -0.05663055181503296, 0.12039273232221603, -0.0433434396982193, 0.024791203439235687, 0.09358195960521698, 0.5590724945068359, -0.14896759390830994, -0.2962900996208191, -0.13456660509109497, 0.4552347958087921, 0.14434154331684113, -0.13991641998291016, -0.026227131485939026, -0.11647037416696548, 0.14453095197677612, 0.21291103959083557, 0.10801537334918976, 0.3510432839393616, 0.2801332473754883, -0.5974588990211487, 0.22917574644088745, -0.12576045095920563, -0.0784912258386612, 0.16016629338264465, -0.07382656633853912, 0.07491812855005264, 0.3334081470966339, 0.0019282088615000248, 0.19912923872470856, -0.2173793613910675, -0.39564934372901917, -0.2351122349500656, 0.2192082405090332, -0.4444912075996399, 0.010945873335003853, -0.21578606963157654, -0.1543773114681244, -0.07392406463623047, 0.04753128066658974, -0.06849750876426697, -0.13562317192554474, -0.11906704306602478, 0.1703486293554306, 0.08466315269470215, 0.03125852346420288, -0.6403214931488037, 0.01372922956943512, -0.10076966136693954, -0.1925148218870163, -0.18880145251750946, 0.14538413286209106, -0.17631614208221436, -0.010183773934841156, 0.4653300940990448, -0.13922373950481415, 0.07035437226295471, -0.49369925260543823, 0.02268737554550171, -0.21780750155448914, -0.5930320620536804, -0.06939332187175751, -0.10381197929382324, 0.23391598463058472, 0.126523956656456, 0.11554829031229019, -0.04536612331867218, -0.3656386137008667, 0.16471140086650848, 0.026804188266396523, -0.17205987870693207, 0.1776982545852661, -0.07045034319162369, -0.14960931241512299, 0.09931671619415283, -0.7325296998023987, 0.06186218559741974, -0.21140071749687195, 0.17415395379066467, 0.08074897527694702, 0.02521970123052597, 0.2991049587726593, 0.1805073469877243, 0.307908833026886, 0.08367352187633514, -0.18202131986618042, 0.010981274768710136, -0.2159576416015625, 0.3450257480144501, 0.03751088306307793, -0.1181052178144455, 0.16258791089057922, 0.0450231209397316, 0.15126389265060425, -0.07289328426122665, -0.4477995038032532, 0.016055237501859665, -0.2131376564502716, 0.33122336864471436, -0.12799137830734253, -0.15406621992588043, 0.3858329951763153, 0.03730813413858414, 0.12066580355167389, -0.15293461084365845, -0.027093948796391487, -0.1205233708024025, 0.2460719347000122, 0.19039607048034668, -0.22846141457557678, 0.5267710089683533, -0.21337635815143585, 0.1943134367465973, 0.2366066575050354, -0.14358949661254883, 0.3200841248035431, -0.17547549307346344, 0.5637099742889404, -0.374299019575119, -0.3002450466156006, 0.17194733023643494, 0.25916585326194763, 0.039200492203235626, -0.03866566717624664, -0.16318657994270325, -0.03205063194036484, -0.23924417793750763, -0.12447941303253174, -0.4805607199668884, 0.044979777187108994, -0.13710801303386688, 0.10707380622625351, 0.07221794873476028, 0.00023132190108299255, 0.1654784381389618, 0.1553042232990265, -0.18448886275291443, 0.20680354535579681, 0.3229154348373413, 0.2776373028755188, -0.05239993333816528, -0.7211449146270752, -0.3382638394832611, -0.33248433470726013, 0.4898707866668701, 0.15872885286808014, 0.09349950402975082, 0.16168782114982605, -0.04446743428707123, -0.1535758227109909, -0.20246872305870056, 0.5855938196182251, -0.2085537165403366, -0.15689823031425476, 0.3103548288345337, 0.09779070317745209, -0.144226536154747, -0.21549326181411743, -0.15339675545692444, 0.35497212409973145, 0.06769520789384842, 0.44606512784957886, -0.012783072888851166, -0.17859682440757751, 0.32916632294654846, 0.39623141288757324, -0.10084369033575058, 0.012522722594439983, -0.2164147049188614, 0.15831851959228516, 0.03815337270498276, -0.038844890892505646, -0.1345280110836029, 0.3791518211364746, -0.17897719144821167, -0.18548530340194702, -0.11116273701190948, -0.34299954771995544, 0.29436856508255005, 0.32736676931381226, 0.5280426144599915, 0.032372910529375076, 0.2896404266357422, 0.2594362199306488, 0.025546390563249588, 0.813024640083313, 0.3938734531402588, 0.09700299799442291, -0.16714584827423096, -0.1696544885635376, 0.1400681436061859, 0.2687196433544159, 0.158284530043602, -0.13553428649902344, 0.016789279878139496, -0.1615501344203949, 0.0685495063662529, -0.10237594693899155, 0.12742917239665985, 0.3834613859653473, 0.06662273406982422, -0.4211311936378479, -0.3310449421405792, 0.37849047780036926, -0.04159644991159439, 0.06444208323955536, 0.23167026042938232, 0.3991468548774719, -0.28051865100860596, -0.14158283174037933, -0.06993842869997025, 0.7818910479545593, 0.1888568103313446, -0.021638687700033188, 0.19186854362487793, -0.09989118576049805, 0.30720314383506775, -0.459031879901886, 0.12848913669586182, -0.4941147267818451, -0.17331606149673462, -0.10538969933986664, -0.1505172699689865, 0.2728251814842224, 0.20999574661254883, -0.253799706697464, 0.4802767038345337, -0.2117661088705063, 0.23737984895706177, -0.09534399956464767, 0.05760101228952408, -0.16801901161670685, 0.25554516911506653, -0.43884992599487305, 0.02699108049273491, 0.10594606399536133, 0.11452294886112213, -0.2314448356628418, 0.008271612226963043, -0.04769138619303703, -0.3490656614303589, -0.25006914138793945, 0.38084158301353455, -0.46623557806015015, 0.029804427176713943, 0.3340104818344116, -0.23817680776119232, 0.16812583804130554, 0.40198859572410583, 0.3803263306617737, 0.2154344767332077, -0.3112197518348694, 0.19210611283779144, -0.3263019621372223, -0.08456164598464966, 0.22025974094867706, 0.0536632239818573, 0.061833471059799194, 0.04313310235738754, -0.32807767391204834, 0.25284287333488464, -0.09328986704349518, -0.24625074863433838, -0.17961646616458893, -0.011658705770969391, -0.038385048508644104, -0.19487406313419342, -0.2396782487630844, 0.20479410886764526, 0.044827889651060104, -0.2937813401222229, 0.06940848380327225, -0.25055044889450073, 0.09080768376588821, -0.07375732809305191, 0.09955155104398727, -0.3038039207458496, 0.005049481987953186, 0.364831805229187, -0.20864492654800415, -0.20678751170635223, 0.3426254093647003, -0.03812296688556671, -0.11980237066745758, -0.2006416618824005, 0.13849708437919617, 0.36888518929481506, -0.40817150473594666, -0.03545752540230751, 0.0491519533097744, 0.2197423130273819, 0.16326451301574707, 0.16427694261074066, 0.2157881259918213, -0.1765475571155548, 0.17065204679965973, -0.36845678091049194, -0.3288734257221222, 0.4158748388290405, 0.011359531432390213, 0.19417399168014526, 0.029639892280101776, 0.1662595272064209, 0.001107214018702507, -0.14559175074100494, -0.17908841371536255, 0.10977235436439514, 0.01751823164522648, 0.05696380138397217, -0.05286532640457153, 0.26533856987953186, 0.4178846478462219, -0.007606327999383211, 0.07748520374298096, 0.06420212984085083, 0.0036086412146687508, -0.1160660982131958, -0.14117537438869476, 0.16353467106819153, 0.10173472762107849, 0.01773945614695549, 0.07958688586950302, -0.0039025358855724335, 0.04279405623674393, -0.21024154126644135, 0.3398745357990265, 0.2861105501651764, 0.09775926917791367, 0.40198683738708496, 0.36421114206314087, -0.10018058866262436, -0.1780906617641449, 0.13998109102249146, 0.04036015272140503, 0.17873722314834595, 0.1127701997756958, 0.13480211794376373, -0.021079659461975098, 0.07906801998615265, 0.18076935410499573, 0.213412344455719, -0.3061069846153259, 0.214528888463974, 0.04603289067745209, -0.304535448551178, 0.11340565979480743, 0.18224933743476868, -0.060641203075647354, 0.48235559463500977, -0.1592118740081787, 0.1251029521226883, 0.39255303144454956, 0.1670965999364853, -0.41053295135498047, -0.07996223866939545, 0.32610613107681274, 0.08820538967847824, -0.07786692678928375, 0.017463691532611847, 0.011662308126688004, -0.36288902163505554, 0.37056970596313477, 0.20260107517242432, 0.27336594462394714, -0.10349589586257935, 0.4147837162017822, 0.4607183039188385, 0.08928601443767548, -0.10097014904022217, 0.2551831305027008, -0.17657597362995148, 0.25185883045196533, 0.6028957962989807, -0.15398302674293518, 0.10235487669706345, 0.05931699275970459, 0.2546626627445221, 0.0828360915184021, -0.3712722361087799, -0.5648518800735474, 0.2252015918493271, -0.13383466005325317, 0.01972772926092148, 0.040877941995859146, 0.40940433740615845, 0.17511260509490967, -0.07257742434740067, -0.3387376666069031, -0.2950591444969177, -0.24094492197036743, 0.06125553324818611, -0.048667967319488525, -0.39748427271842957, -0.06548172235488892, 0.026994425803422928, -0.051775526255369186, -0.11366336047649384, 0.27537718415260315, -0.06408514082431793, -0.404360294342041, -0.15767565369606018, 0.18155595660209656, 0.37276142835617065, 0.09641104191541672, -0.1554260104894638, 0.2109927535057068, 0.2434033751487732, 0.03292182460427284, 0.08297418802976608, 0.29364874958992004, 0.4390777051448822, 0.2707827091217041, 0.05060660466551781, -0.01621018722653389, 0.18598292768001556, -0.11949718743562698, 0.15814441442489624, 0.20075982809066772, -0.30768322944641113, 0.09850050508975983, -0.01740395650267601, 0.1406882256269455, -0.06385967135429382, 0.19443678855895996, -0.12976400554180145, 0.22686313092708588, -0.532724916934967, 0.07162871211767197, -0.1680387556552887, -0.10884374380111694, -0.12903046607971191, 0.22895359992980957, -0.333189994096756, -0.2267201542854309, 0.2730574309825897, 0.06936207413673401, 0.009592164307832718, 0.2673299312591553, 0.03266995772719383, -0.15973274409770966, 0.15364694595336914, 0.2203376442193985, 0.15984874963760376, -0.29031941294670105, -0.3306838274002075, -0.4528311789035797, 0.00855991244316101, 0.026859130710363388, 0.3244035243988037, -0.20155858993530273, -0.11409763246774673, -0.2526094615459442, -0.02886722981929779, 0.4957997798919678, 0.04034644365310669, 0.2946101427078247, 0.004561007022857666, -0.42161792516708374, -0.04315909370779991, 0.20885266363620758, -0.05194767564535141, -0.04269643872976303, -0.5033798217773438, -0.1376316398382187, 0.08641179651021957, -0.09984798729419708, -0.15372134745121002, 0.13674162328243256, -0.16653066873550415, 0.023983702063560486, 0.8094243407249451, 0.0855741798877716, 0.6356728076934814, -0.10314077138900757, -0.012256872840225697, -0.4340739846229553, -0.5135287642478943, 0.040885500609874725, 0.09606985002756119, 0.028228413313627243, 0.5386804342269897, -0.40883493423461914, -0.11444643139839172, -0.12336253374814987, 0.2872782349586487, 0.08475111424922943, 0.14293259382247925, -0.35204750299453735, 0.04950695484876633, -0.34726181626319885, 0.04756177216768265, -0.2015838623046875, 0.09372001886367798, 0.06344207376241684, -0.03364303335547447, -0.13188576698303223, -0.2346055507659912, 0.5741701126098633, -0.31822100281715393, 0.017196588218212128, -0.20539633929729462, 0.16087646782398224, 0.19501513242721558, -0.24939987063407898, -0.37660184502601624, 0.1034565344452858, 0.5223572254180908, 0.21953681111335754, -0.2243412286043167, 0.3346847891807556, -0.11965794861316681, -0.06567592173814774, 0.11322501301765442, 0.19633156061172485, 0.07418203353881836, -0.22253546118736267, 0.09397116303443909, -0.31466585397720337 ]
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
> Hello, > > Are you sure you are really using datasets version 2.19.2? We just made the patch release yesterday specifically to fix this issue: > > * [Fix NonMatchingSplitsSizesError/ExpectedMoreSplits when passing data_dir/data_files in no-code Hub datasets #6925](https://github.com/huggingface/datasets/pull/6925) > > I can't reproduce the error: > > ```python > In [1]: from datasets import load_dataset > > In [2]: ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') > Downloading readme: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 41.1k/41.1k [00:00<00:00, 596kB/s] > Downloading data: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 40.7M/40.7M [00:04<00:00, 8.50MB/s] > Generating validation split: 45576 examples [00:01, 44956.75 examples/s] > > In [3]: ds > Out[3]: > Dataset({ > features: ['text', 'timestamp', 'url'], > num_rows: 45576 > }) > ``` Thank you for your reply,ExpectedMoreSplits was encountered in datasets version 2.12.2. After I updated the version, that is, datasets version 2.19.2, I encountered the FileNotFoundError problem mentioned above.
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2
138
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2 > Hello, > > Are you sure you are really using datasets version 2.19.2? We just made the patch release yesterday specifically to fix this issue: > > * [Fix NonMatchingSplitsSizesError/ExpectedMoreSplits when passing data_dir/data_files in no-code Hub datasets #6925](https://github.com/huggingface/datasets/pull/6925) > > I can't reproduce the error: > > ```python > In [1]: from datasets import load_dataset > > In [2]: ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') > Downloading readme: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 41.1k/41.1k [00:00<00:00, 596kB/s] > Downloading data: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 40.7M/40.7M [00:04<00:00, 8.50MB/s] > Generating validation split: 45576 examples [00:01, 44956.75 examples/s] > > In [3]: ds > Out[3]: > Dataset({ > features: ['text', 'timestamp', 'url'], > num_rows: 45576 > }) > ``` Thank you for your reply,ExpectedMoreSplits was encountered in datasets version 2.12.2. After I updated the version, that is, datasets version 2.19.2, I encountered the FileNotFoundError problem mentioned above.
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.1673109382390976, 0.09469642490148544, -0.12878842651844025, 0.07063333690166473, 0.32241034507751465, 0.02620493248105049, 0.19688363373279572, -0.20495252311229706, 0.2669195234775543, -0.4299952983856201, -0.05025388300418854, -0.5118574500083923, 0.1403893232345581, -0.07259971648454666, 0.3794679641723633, 0.02385059744119644, -0.6958081722259521, 0.44850096106529236, -0.20207393169403076, 0.2992042601108551, 0.49243301153182983, -0.00012066363706253469, 0.01928948611021042, 0.3469124436378479, -0.08317720890045166, -0.11738654971122742, -0.05980360507965088, -0.14499206840991974, -0.19902335107326508, 0.022213812917470932, -0.2882561981678009, -0.014482324942946434, -0.32274869084358215, 0.015865202993154526, -0.01316012442111969, 0.28171390295028687, 0.5431941747665405, 0.1330081820487976, 0.1479310244321823, 0.39817681908607483, -0.1542314738035202, 0.07552634924650192, -0.27447015047073364, -0.01908506453037262, 0.23912999033927917, -0.08974960446357727, -0.07092311978340149, 0.2659449577331543, 0.13223052024841309, -0.2828100025653839, -0.17826257646083832, 0.2492561936378479, -0.017540816217660904, -0.11171411722898483, -0.3811374008655548, 0.31400471925735474, 0.13975772261619568, 0.42582520842552185, -0.38074347376823425, -0.38033801317214966, -0.1683962643146515, 0.20151138305664062, -0.022123482078313828, 0.4386742413043976, 0.006013292353600264, 0.25066131353378296, 0.16168321669101715, -0.04256672412157059, -0.09226145595312119, -0.17877313494682312, 0.19423139095306396, -0.10208393633365631, -0.024914659559726715, -0.09587426483631134, 0.04586704075336456, 0.2314188927412033, -0.10027109086513519, 0.04329567775130272, -0.04045218974351883, -0.31813836097717285, 0.22126537561416626, -0.3310926556587219, -0.04149278253316879, 0.021100010722875595, 0.37260234355926514, 0.04357099533081055, -0.03800217807292938, -0.15389499068260193, -0.15865910053253174, -0.21904052793979645, 0.04323819652199745, -0.2167455106973648, 0.0561506487429142, 0.10338110476732254, 0.23301638662815094, 0.18303918838500977, 0.10128527134656906, -0.020585210993885994, -0.2543068826198578, -0.1281110793352127, -0.495686411857605, -0.14644773304462433, 0.30492228269577026, 0.44477009773254395, -0.4531577527523041, -0.5866712331771851, 0.26064440608024597, -0.42576807737350464, -0.03383442759513855, 0.10021638125181198, 0.36175599694252014, -0.13488446176052094, 0.34633806347846985, 0.05167446285486221, 0.2822863459587097, -0.1180596724152565, -0.20207518339157104, -0.1771644502878189, 0.1411392241716385, -0.19642393290996552, 0.07668192684650421, 0.22601382434368134, -0.4352952241897583, 0.31519436836242676, 0.10053573548793793, 0.3195825219154358, 0.024610884487628937, -0.03942642733454704, -0.06250287592411041, -0.3420781195163727, 0.29523801803588867, -0.2975321114063263, 0.03572583198547363, 0.1402018517255783, -0.2860606610774994, -0.06302879750728607, 0.18216350674629211, -0.32619377970695496, -0.02672683820128441, -0.18541967868804932, 0.052909623831510544, -0.1444951295852661, 0.05327868461608887, -0.4641789495944977, -0.034403253346681595, -0.09688795357942581, -0.27016761898994446, 0.09257107228040695, -0.18675367534160614, 0.21426188945770264, -0.24912060797214508, 0.1467367559671402, 0.6955875754356384, -0.5375068783760071, -0.07292602956295013, 0.1932041496038437, -0.05842846259474754, 0.035234034061431885, 0.10900452733039856, -0.1654689460992813, 0.13702718913555145, -0.3446011543273926, -0.10282328724861145, 0.15042896568775177, -0.4401116967201233, -0.6035734415054321, 0.10642585903406143, 0.013413652777671814, 0.22816316783428192, 0.12718459963798523, -0.03874368593096733, -0.4771975576877594, -0.023053469136357307, -0.10390527546405792, -0.30530285835266113, -0.012857554480433464, -0.13113047182559967, -0.23246614634990692, -0.15119221806526184, 0.5078813433647156, 0.07603226602077484, 0.2369411736726761, 0.08104918897151947, 0.13708731532096863, 0.1925928145647049, 0.2370634377002716, -0.2821579873561859, -0.22671422362327576, 0.0899062305688858, 0.29176875948905945, -0.03146445006132126, 0.04327007010579109, -0.04735543951392174, -0.652544379234314, 0.3559955060482025, 0.03991517424583435, -0.09408517181873322, 0.14504382014274597, -0.08631426095962524, -0.1655561923980713, -0.25147074460983276, -0.2675711214542389, -0.2202230989933014, -0.019351119175553322, -0.016915977001190186, 0.017483461648225784, 0.06582993268966675, -0.27473998069763184, 0.6899194717407227, -0.3939708173274994, 0.14065279066562653, -0.2124442160129547, 0.5503130555152893, -0.03201579302549362, 0.059807199984788895, -0.012553738430142403, 0.13051466643810272, 0.30562469363212585, -0.09303276985883713, -0.07941249758005142, 0.3704999089241028, 0.006911961827427149, 0.16692501306533813, -0.05065783113241196, 0.25168687105178833, 0.26661309599876404, -0.2968882918357849, 0.2391955852508545, 0.2839130163192749, 0.05913250148296356, 0.05797424167394638, 0.005060840398073196, 0.24801266193389893, 0.10853447020053864, 0.1219538152217865, 0.05764736980199814, -0.17246036231517792, 0.17578260600566864, -0.05663055181503296, 0.12039273232221603, -0.0433434396982193, 0.024791203439235687, 0.09358195960521698, 0.5590724945068359, -0.14896759390830994, -0.2962900996208191, -0.13456660509109497, 0.4552347958087921, 0.14434154331684113, -0.13991641998291016, -0.026227131485939026, -0.11647037416696548, 0.14453095197677612, 0.21291103959083557, 0.10801537334918976, 0.3510432839393616, 0.2801332473754883, -0.5974588990211487, 0.22917574644088745, -0.12576045095920563, -0.0784912258386612, 0.16016629338264465, -0.07382656633853912, 0.07491812855005264, 0.3334081470966339, 0.0019282088615000248, 0.19912923872470856, -0.2173793613910675, -0.39564934372901917, -0.2351122349500656, 0.2192082405090332, -0.4444912075996399, 0.010945873335003853, -0.21578606963157654, -0.1543773114681244, -0.07392406463623047, 0.04753128066658974, -0.06849750876426697, -0.13562317192554474, -0.11906704306602478, 0.1703486293554306, 0.08466315269470215, 0.03125852346420288, -0.6403214931488037, 0.01372922956943512, -0.10076966136693954, -0.1925148218870163, -0.18880145251750946, 0.14538413286209106, -0.17631614208221436, -0.010183773934841156, 0.4653300940990448, -0.13922373950481415, 0.07035437226295471, -0.49369925260543823, 0.02268737554550171, -0.21780750155448914, -0.5930320620536804, -0.06939332187175751, -0.10381197929382324, 0.23391598463058472, 0.126523956656456, 0.11554829031229019, -0.04536612331867218, -0.3656386137008667, 0.16471140086650848, 0.026804188266396523, -0.17205987870693207, 0.1776982545852661, -0.07045034319162369, -0.14960931241512299, 0.09931671619415283, -0.7325296998023987, 0.06186218559741974, -0.21140071749687195, 0.17415395379066467, 0.08074897527694702, 0.02521970123052597, 0.2991049587726593, 0.1805073469877243, 0.307908833026886, 0.08367352187633514, -0.18202131986618042, 0.010981274768710136, -0.2159576416015625, 0.3450257480144501, 0.03751088306307793, -0.1181052178144455, 0.16258791089057922, 0.0450231209397316, 0.15126389265060425, -0.07289328426122665, -0.4477995038032532, 0.016055237501859665, -0.2131376564502716, 0.33122336864471436, -0.12799137830734253, -0.15406621992588043, 0.3858329951763153, 0.03730813413858414, 0.12066580355167389, -0.15293461084365845, -0.027093948796391487, -0.1205233708024025, 0.2460719347000122, 0.19039607048034668, -0.22846141457557678, 0.5267710089683533, -0.21337635815143585, 0.1943134367465973, 0.2366066575050354, -0.14358949661254883, 0.3200841248035431, -0.17547549307346344, 0.5637099742889404, -0.374299019575119, -0.3002450466156006, 0.17194733023643494, 0.25916585326194763, 0.039200492203235626, -0.03866566717624664, -0.16318657994270325, -0.03205063194036484, -0.23924417793750763, -0.12447941303253174, -0.4805607199668884, 0.044979777187108994, -0.13710801303386688, 0.10707380622625351, 0.07221794873476028, 0.00023132190108299255, 0.1654784381389618, 0.1553042232990265, -0.18448886275291443, 0.20680354535579681, 0.3229154348373413, 0.2776373028755188, -0.05239993333816528, -0.7211449146270752, -0.3382638394832611, -0.33248433470726013, 0.4898707866668701, 0.15872885286808014, 0.09349950402975082, 0.16168782114982605, -0.04446743428707123, -0.1535758227109909, -0.20246872305870056, 0.5855938196182251, -0.2085537165403366, -0.15689823031425476, 0.3103548288345337, 0.09779070317745209, -0.144226536154747, -0.21549326181411743, -0.15339675545692444, 0.35497212409973145, 0.06769520789384842, 0.44606512784957886, -0.012783072888851166, -0.17859682440757751, 0.32916632294654846, 0.39623141288757324, -0.10084369033575058, 0.012522722594439983, -0.2164147049188614, 0.15831851959228516, 0.03815337270498276, -0.038844890892505646, -0.1345280110836029, 0.3791518211364746, -0.17897719144821167, -0.18548530340194702, -0.11116273701190948, -0.34299954771995544, 0.29436856508255005, 0.32736676931381226, 0.5280426144599915, 0.032372910529375076, 0.2896404266357422, 0.2594362199306488, 0.025546390563249588, 0.813024640083313, 0.3938734531402588, 0.09700299799442291, -0.16714584827423096, -0.1696544885635376, 0.1400681436061859, 0.2687196433544159, 0.158284530043602, -0.13553428649902344, 0.016789279878139496, -0.1615501344203949, 0.0685495063662529, -0.10237594693899155, 0.12742917239665985, 0.3834613859653473, 0.06662273406982422, -0.4211311936378479, -0.3310449421405792, 0.37849047780036926, -0.04159644991159439, 0.06444208323955536, 0.23167026042938232, 0.3991468548774719, -0.28051865100860596, -0.14158283174037933, -0.06993842869997025, 0.7818910479545593, 0.1888568103313446, -0.021638687700033188, 0.19186854362487793, -0.09989118576049805, 0.30720314383506775, -0.459031879901886, 0.12848913669586182, -0.4941147267818451, -0.17331606149673462, -0.10538969933986664, -0.1505172699689865, 0.2728251814842224, 0.20999574661254883, -0.253799706697464, 0.4802767038345337, -0.2117661088705063, 0.23737984895706177, -0.09534399956464767, 0.05760101228952408, -0.16801901161670685, 0.25554516911506653, -0.43884992599487305, 0.02699108049273491, 0.10594606399536133, 0.11452294886112213, -0.2314448356628418, 0.008271612226963043, -0.04769138619303703, -0.3490656614303589, -0.25006914138793945, 0.38084158301353455, -0.46623557806015015, 0.029804427176713943, 0.3340104818344116, -0.23817680776119232, 0.16812583804130554, 0.40198859572410583, 0.3803263306617737, 0.2154344767332077, -0.3112197518348694, 0.19210611283779144, -0.3263019621372223, -0.08456164598464966, 0.22025974094867706, 0.0536632239818573, 0.061833471059799194, 0.04313310235738754, -0.32807767391204834, 0.25284287333488464, -0.09328986704349518, -0.24625074863433838, -0.17961646616458893, -0.011658705770969391, -0.038385048508644104, -0.19487406313419342, -0.2396782487630844, 0.20479410886764526, 0.044827889651060104, -0.2937813401222229, 0.06940848380327225, -0.25055044889450073, 0.09080768376588821, -0.07375732809305191, 0.09955155104398727, -0.3038039207458496, 0.005049481987953186, 0.364831805229187, -0.20864492654800415, -0.20678751170635223, 0.3426254093647003, -0.03812296688556671, -0.11980237066745758, -0.2006416618824005, 0.13849708437919617, 0.36888518929481506, -0.40817150473594666, -0.03545752540230751, 0.0491519533097744, 0.2197423130273819, 0.16326451301574707, 0.16427694261074066, 0.2157881259918213, -0.1765475571155548, 0.17065204679965973, -0.36845678091049194, -0.3288734257221222, 0.4158748388290405, 0.011359531432390213, 0.19417399168014526, 0.029639892280101776, 0.1662595272064209, 0.001107214018702507, -0.14559175074100494, -0.17908841371536255, 0.10977235436439514, 0.01751823164522648, 0.05696380138397217, -0.05286532640457153, 0.26533856987953186, 0.4178846478462219, -0.007606327999383211, 0.07748520374298096, 0.06420212984085083, 0.0036086412146687508, -0.1160660982131958, -0.14117537438869476, 0.16353467106819153, 0.10173472762107849, 0.01773945614695549, 0.07958688586950302, -0.0039025358855724335, 0.04279405623674393, -0.21024154126644135, 0.3398745357990265, 0.2861105501651764, 0.09775926917791367, 0.40198683738708496, 0.36421114206314087, -0.10018058866262436, -0.1780906617641449, 0.13998109102249146, 0.04036015272140503, 0.17873722314834595, 0.1127701997756958, 0.13480211794376373, -0.021079659461975098, 0.07906801998615265, 0.18076935410499573, 0.213412344455719, -0.3061069846153259, 0.214528888463974, 0.04603289067745209, -0.304535448551178, 0.11340565979480743, 0.18224933743476868, -0.060641203075647354, 0.48235559463500977, -0.1592118740081787, 0.1251029521226883, 0.39255303144454956, 0.1670965999364853, -0.41053295135498047, -0.07996223866939545, 0.32610613107681274, 0.08820538967847824, -0.07786692678928375, 0.017463691532611847, 0.011662308126688004, -0.36288902163505554, 0.37056970596313477, 0.20260107517242432, 0.27336594462394714, -0.10349589586257935, 0.4147837162017822, 0.4607183039188385, 0.08928601443767548, -0.10097014904022217, 0.2551831305027008, -0.17657597362995148, 0.25185883045196533, 0.6028957962989807, -0.15398302674293518, 0.10235487669706345, 0.05931699275970459, 0.2546626627445221, 0.0828360915184021, -0.3712722361087799, -0.5648518800735474, 0.2252015918493271, -0.13383466005325317, 0.01972772926092148, 0.040877941995859146, 0.40940433740615845, 0.17511260509490967, -0.07257742434740067, -0.3387376666069031, -0.2950591444969177, -0.24094492197036743, 0.06125553324818611, -0.048667967319488525, -0.39748427271842957, -0.06548172235488892, 0.026994425803422928, -0.051775526255369186, -0.11366336047649384, 0.27537718415260315, -0.06408514082431793, -0.404360294342041, -0.15767565369606018, 0.18155595660209656, 0.37276142835617065, 0.09641104191541672, -0.1554260104894638, 0.2109927535057068, 0.2434033751487732, 0.03292182460427284, 0.08297418802976608, 0.29364874958992004, 0.4390777051448822, 0.2707827091217041, 0.05060660466551781, -0.01621018722653389, 0.18598292768001556, -0.11949718743562698, 0.15814441442489624, 0.20075982809066772, -0.30768322944641113, 0.09850050508975983, -0.01740395650267601, 0.1406882256269455, -0.06385967135429382, 0.19443678855895996, -0.12976400554180145, 0.22686313092708588, -0.532724916934967, 0.07162871211767197, -0.1680387556552887, -0.10884374380111694, -0.12903046607971191, 0.22895359992980957, -0.333189994096756, -0.2267201542854309, 0.2730574309825897, 0.06936207413673401, 0.009592164307832718, 0.2673299312591553, 0.03266995772719383, -0.15973274409770966, 0.15364694595336914, 0.2203376442193985, 0.15984874963760376, -0.29031941294670105, -0.3306838274002075, -0.4528311789035797, 0.00855991244316101, 0.026859130710363388, 0.3244035243988037, -0.20155858993530273, -0.11409763246774673, -0.2526094615459442, -0.02886722981929779, 0.4957997798919678, 0.04034644365310669, 0.2946101427078247, 0.004561007022857666, -0.42161792516708374, -0.04315909370779991, 0.20885266363620758, -0.05194767564535141, -0.04269643872976303, -0.5033798217773438, -0.1376316398382187, 0.08641179651021957, -0.09984798729419708, -0.15372134745121002, 0.13674162328243256, -0.16653066873550415, 0.023983702063560486, 0.8094243407249451, 0.0855741798877716, 0.6356728076934814, -0.10314077138900757, -0.012256872840225697, -0.4340739846229553, -0.5135287642478943, 0.040885500609874725, 0.09606985002756119, 0.028228413313627243, 0.5386804342269897, -0.40883493423461914, -0.11444643139839172, -0.12336253374814987, 0.2872782349586487, 0.08475111424922943, 0.14293259382247925, -0.35204750299453735, 0.04950695484876633, -0.34726181626319885, 0.04756177216768265, -0.2015838623046875, 0.09372001886367798, 0.06344207376241684, -0.03364303335547447, -0.13188576698303223, -0.2346055507659912, 0.5741701126098633, -0.31822100281715393, 0.017196588218212128, -0.20539633929729462, 0.16087646782398224, 0.19501513242721558, -0.24939987063407898, -0.37660184502601624, 0.1034565344452858, 0.5223572254180908, 0.21953681111335754, -0.2243412286043167, 0.3346847891807556, -0.11965794861316681, -0.06567592173814774, 0.11322501301765442, 0.19633156061172485, 0.07418203353881836, -0.22253546118736267, 0.09397116303443909, -0.31466585397720337 ]
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
That might be due to a corrupted cache. Please, retry loading the dataset passing: `download_mode="force_redownload"` ```python ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") ``` It the above command does not fix the issue, then you will need to fix the cache manually, by removing the corresponding directory inside `~/.cache/huggingface/`.
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2
49
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2 That might be due to a corrupted cache. Please, retry loading the dataset passing: `download_mode="force_redownload"` ```python ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") ``` It the above command does not fix the issue, then you will need to fix the cache manually, by removing the corresponding directory inside `~/.cache/huggingface/`.
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.1673109382390976, 0.09469642490148544, -0.12878842651844025, 0.07063333690166473, 0.32241034507751465, 0.02620493248105049, 0.19688363373279572, -0.20495252311229706, 0.2669195234775543, -0.4299952983856201, -0.05025388300418854, -0.5118574500083923, 0.1403893232345581, -0.07259971648454666, 0.3794679641723633, 0.02385059744119644, -0.6958081722259521, 0.44850096106529236, -0.20207393169403076, 0.2992042601108551, 0.49243301153182983, -0.00012066363706253469, 0.01928948611021042, 0.3469124436378479, -0.08317720890045166, -0.11738654971122742, -0.05980360507965088, -0.14499206840991974, -0.19902335107326508, 0.022213812917470932, -0.2882561981678009, -0.014482324942946434, -0.32274869084358215, 0.015865202993154526, -0.01316012442111969, 0.28171390295028687, 0.5431941747665405, 0.1330081820487976, 0.1479310244321823, 0.39817681908607483, -0.1542314738035202, 0.07552634924650192, -0.27447015047073364, -0.01908506453037262, 0.23912999033927917, -0.08974960446357727, -0.07092311978340149, 0.2659449577331543, 0.13223052024841309, -0.2828100025653839, -0.17826257646083832, 0.2492561936378479, -0.017540816217660904, -0.11171411722898483, -0.3811374008655548, 0.31400471925735474, 0.13975772261619568, 0.42582520842552185, -0.38074347376823425, -0.38033801317214966, -0.1683962643146515, 0.20151138305664062, -0.022123482078313828, 0.4386742413043976, 0.006013292353600264, 0.25066131353378296, 0.16168321669101715, -0.04256672412157059, -0.09226145595312119, -0.17877313494682312, 0.19423139095306396, -0.10208393633365631, -0.024914659559726715, -0.09587426483631134, 0.04586704075336456, 0.2314188927412033, -0.10027109086513519, 0.04329567775130272, -0.04045218974351883, -0.31813836097717285, 0.22126537561416626, -0.3310926556587219, -0.04149278253316879, 0.021100010722875595, 0.37260234355926514, 0.04357099533081055, -0.03800217807292938, -0.15389499068260193, -0.15865910053253174, -0.21904052793979645, 0.04323819652199745, -0.2167455106973648, 0.0561506487429142, 0.10338110476732254, 0.23301638662815094, 0.18303918838500977, 0.10128527134656906, -0.020585210993885994, -0.2543068826198578, -0.1281110793352127, -0.495686411857605, -0.14644773304462433, 0.30492228269577026, 0.44477009773254395, -0.4531577527523041, -0.5866712331771851, 0.26064440608024597, -0.42576807737350464, -0.03383442759513855, 0.10021638125181198, 0.36175599694252014, -0.13488446176052094, 0.34633806347846985, 0.05167446285486221, 0.2822863459587097, -0.1180596724152565, -0.20207518339157104, -0.1771644502878189, 0.1411392241716385, -0.19642393290996552, 0.07668192684650421, 0.22601382434368134, -0.4352952241897583, 0.31519436836242676, 0.10053573548793793, 0.3195825219154358, 0.024610884487628937, -0.03942642733454704, -0.06250287592411041, -0.3420781195163727, 0.29523801803588867, -0.2975321114063263, 0.03572583198547363, 0.1402018517255783, -0.2860606610774994, -0.06302879750728607, 0.18216350674629211, -0.32619377970695496, -0.02672683820128441, -0.18541967868804932, 0.052909623831510544, -0.1444951295852661, 0.05327868461608887, -0.4641789495944977, -0.034403253346681595, -0.09688795357942581, -0.27016761898994446, 0.09257107228040695, -0.18675367534160614, 0.21426188945770264, -0.24912060797214508, 0.1467367559671402, 0.6955875754356384, -0.5375068783760071, -0.07292602956295013, 0.1932041496038437, -0.05842846259474754, 0.035234034061431885, 0.10900452733039856, -0.1654689460992813, 0.13702718913555145, -0.3446011543273926, -0.10282328724861145, 0.15042896568775177, -0.4401116967201233, -0.6035734415054321, 0.10642585903406143, 0.013413652777671814, 0.22816316783428192, 0.12718459963798523, -0.03874368593096733, -0.4771975576877594, -0.023053469136357307, -0.10390527546405792, -0.30530285835266113, -0.012857554480433464, -0.13113047182559967, -0.23246614634990692, -0.15119221806526184, 0.5078813433647156, 0.07603226602077484, 0.2369411736726761, 0.08104918897151947, 0.13708731532096863, 0.1925928145647049, 0.2370634377002716, -0.2821579873561859, -0.22671422362327576, 0.0899062305688858, 0.29176875948905945, -0.03146445006132126, 0.04327007010579109, -0.04735543951392174, -0.652544379234314, 0.3559955060482025, 0.03991517424583435, -0.09408517181873322, 0.14504382014274597, -0.08631426095962524, -0.1655561923980713, -0.25147074460983276, -0.2675711214542389, -0.2202230989933014, -0.019351119175553322, -0.016915977001190186, 0.017483461648225784, 0.06582993268966675, -0.27473998069763184, 0.6899194717407227, -0.3939708173274994, 0.14065279066562653, -0.2124442160129547, 0.5503130555152893, -0.03201579302549362, 0.059807199984788895, -0.012553738430142403, 0.13051466643810272, 0.30562469363212585, -0.09303276985883713, -0.07941249758005142, 0.3704999089241028, 0.006911961827427149, 0.16692501306533813, -0.05065783113241196, 0.25168687105178833, 0.26661309599876404, -0.2968882918357849, 0.2391955852508545, 0.2839130163192749, 0.05913250148296356, 0.05797424167394638, 0.005060840398073196, 0.24801266193389893, 0.10853447020053864, 0.1219538152217865, 0.05764736980199814, -0.17246036231517792, 0.17578260600566864, -0.05663055181503296, 0.12039273232221603, -0.0433434396982193, 0.024791203439235687, 0.09358195960521698, 0.5590724945068359, -0.14896759390830994, -0.2962900996208191, -0.13456660509109497, 0.4552347958087921, 0.14434154331684113, -0.13991641998291016, -0.026227131485939026, -0.11647037416696548, 0.14453095197677612, 0.21291103959083557, 0.10801537334918976, 0.3510432839393616, 0.2801332473754883, -0.5974588990211487, 0.22917574644088745, -0.12576045095920563, -0.0784912258386612, 0.16016629338264465, -0.07382656633853912, 0.07491812855005264, 0.3334081470966339, 0.0019282088615000248, 0.19912923872470856, -0.2173793613910675, -0.39564934372901917, -0.2351122349500656, 0.2192082405090332, -0.4444912075996399, 0.010945873335003853, -0.21578606963157654, -0.1543773114681244, -0.07392406463623047, 0.04753128066658974, -0.06849750876426697, -0.13562317192554474, -0.11906704306602478, 0.1703486293554306, 0.08466315269470215, 0.03125852346420288, -0.6403214931488037, 0.01372922956943512, -0.10076966136693954, -0.1925148218870163, -0.18880145251750946, 0.14538413286209106, -0.17631614208221436, -0.010183773934841156, 0.4653300940990448, -0.13922373950481415, 0.07035437226295471, -0.49369925260543823, 0.02268737554550171, -0.21780750155448914, -0.5930320620536804, -0.06939332187175751, -0.10381197929382324, 0.23391598463058472, 0.126523956656456, 0.11554829031229019, -0.04536612331867218, -0.3656386137008667, 0.16471140086650848, 0.026804188266396523, -0.17205987870693207, 0.1776982545852661, -0.07045034319162369, -0.14960931241512299, 0.09931671619415283, -0.7325296998023987, 0.06186218559741974, -0.21140071749687195, 0.17415395379066467, 0.08074897527694702, 0.02521970123052597, 0.2991049587726593, 0.1805073469877243, 0.307908833026886, 0.08367352187633514, -0.18202131986618042, 0.010981274768710136, -0.2159576416015625, 0.3450257480144501, 0.03751088306307793, -0.1181052178144455, 0.16258791089057922, 0.0450231209397316, 0.15126389265060425, -0.07289328426122665, -0.4477995038032532, 0.016055237501859665, -0.2131376564502716, 0.33122336864471436, -0.12799137830734253, -0.15406621992588043, 0.3858329951763153, 0.03730813413858414, 0.12066580355167389, -0.15293461084365845, -0.027093948796391487, -0.1205233708024025, 0.2460719347000122, 0.19039607048034668, -0.22846141457557678, 0.5267710089683533, -0.21337635815143585, 0.1943134367465973, 0.2366066575050354, -0.14358949661254883, 0.3200841248035431, -0.17547549307346344, 0.5637099742889404, -0.374299019575119, -0.3002450466156006, 0.17194733023643494, 0.25916585326194763, 0.039200492203235626, -0.03866566717624664, -0.16318657994270325, -0.03205063194036484, -0.23924417793750763, -0.12447941303253174, -0.4805607199668884, 0.044979777187108994, -0.13710801303386688, 0.10707380622625351, 0.07221794873476028, 0.00023132190108299255, 0.1654784381389618, 0.1553042232990265, -0.18448886275291443, 0.20680354535579681, 0.3229154348373413, 0.2776373028755188, -0.05239993333816528, -0.7211449146270752, -0.3382638394832611, -0.33248433470726013, 0.4898707866668701, 0.15872885286808014, 0.09349950402975082, 0.16168782114982605, -0.04446743428707123, -0.1535758227109909, -0.20246872305870056, 0.5855938196182251, -0.2085537165403366, -0.15689823031425476, 0.3103548288345337, 0.09779070317745209, -0.144226536154747, -0.21549326181411743, -0.15339675545692444, 0.35497212409973145, 0.06769520789384842, 0.44606512784957886, -0.012783072888851166, -0.17859682440757751, 0.32916632294654846, 0.39623141288757324, -0.10084369033575058, 0.012522722594439983, -0.2164147049188614, 0.15831851959228516, 0.03815337270498276, -0.038844890892505646, -0.1345280110836029, 0.3791518211364746, -0.17897719144821167, -0.18548530340194702, -0.11116273701190948, -0.34299954771995544, 0.29436856508255005, 0.32736676931381226, 0.5280426144599915, 0.032372910529375076, 0.2896404266357422, 0.2594362199306488, 0.025546390563249588, 0.813024640083313, 0.3938734531402588, 0.09700299799442291, -0.16714584827423096, -0.1696544885635376, 0.1400681436061859, 0.2687196433544159, 0.158284530043602, -0.13553428649902344, 0.016789279878139496, -0.1615501344203949, 0.0685495063662529, -0.10237594693899155, 0.12742917239665985, 0.3834613859653473, 0.06662273406982422, -0.4211311936378479, -0.3310449421405792, 0.37849047780036926, -0.04159644991159439, 0.06444208323955536, 0.23167026042938232, 0.3991468548774719, -0.28051865100860596, -0.14158283174037933, -0.06993842869997025, 0.7818910479545593, 0.1888568103313446, -0.021638687700033188, 0.19186854362487793, -0.09989118576049805, 0.30720314383506775, -0.459031879901886, 0.12848913669586182, -0.4941147267818451, -0.17331606149673462, -0.10538969933986664, -0.1505172699689865, 0.2728251814842224, 0.20999574661254883, -0.253799706697464, 0.4802767038345337, -0.2117661088705063, 0.23737984895706177, -0.09534399956464767, 0.05760101228952408, -0.16801901161670685, 0.25554516911506653, -0.43884992599487305, 0.02699108049273491, 0.10594606399536133, 0.11452294886112213, -0.2314448356628418, 0.008271612226963043, -0.04769138619303703, -0.3490656614303589, -0.25006914138793945, 0.38084158301353455, -0.46623557806015015, 0.029804427176713943, 0.3340104818344116, -0.23817680776119232, 0.16812583804130554, 0.40198859572410583, 0.3803263306617737, 0.2154344767332077, -0.3112197518348694, 0.19210611283779144, -0.3263019621372223, -0.08456164598464966, 0.22025974094867706, 0.0536632239818573, 0.061833471059799194, 0.04313310235738754, -0.32807767391204834, 0.25284287333488464, -0.09328986704349518, -0.24625074863433838, -0.17961646616458893, -0.011658705770969391, -0.038385048508644104, -0.19487406313419342, -0.2396782487630844, 0.20479410886764526, 0.044827889651060104, -0.2937813401222229, 0.06940848380327225, -0.25055044889450073, 0.09080768376588821, -0.07375732809305191, 0.09955155104398727, -0.3038039207458496, 0.005049481987953186, 0.364831805229187, -0.20864492654800415, -0.20678751170635223, 0.3426254093647003, -0.03812296688556671, -0.11980237066745758, -0.2006416618824005, 0.13849708437919617, 0.36888518929481506, -0.40817150473594666, -0.03545752540230751, 0.0491519533097744, 0.2197423130273819, 0.16326451301574707, 0.16427694261074066, 0.2157881259918213, -0.1765475571155548, 0.17065204679965973, -0.36845678091049194, -0.3288734257221222, 0.4158748388290405, 0.011359531432390213, 0.19417399168014526, 0.029639892280101776, 0.1662595272064209, 0.001107214018702507, -0.14559175074100494, -0.17908841371536255, 0.10977235436439514, 0.01751823164522648, 0.05696380138397217, -0.05286532640457153, 0.26533856987953186, 0.4178846478462219, -0.007606327999383211, 0.07748520374298096, 0.06420212984085083, 0.0036086412146687508, -0.1160660982131958, -0.14117537438869476, 0.16353467106819153, 0.10173472762107849, 0.01773945614695549, 0.07958688586950302, -0.0039025358855724335, 0.04279405623674393, -0.21024154126644135, 0.3398745357990265, 0.2861105501651764, 0.09775926917791367, 0.40198683738708496, 0.36421114206314087, -0.10018058866262436, -0.1780906617641449, 0.13998109102249146, 0.04036015272140503, 0.17873722314834595, 0.1127701997756958, 0.13480211794376373, -0.021079659461975098, 0.07906801998615265, 0.18076935410499573, 0.213412344455719, -0.3061069846153259, 0.214528888463974, 0.04603289067745209, -0.304535448551178, 0.11340565979480743, 0.18224933743476868, -0.060641203075647354, 0.48235559463500977, -0.1592118740081787, 0.1251029521226883, 0.39255303144454956, 0.1670965999364853, -0.41053295135498047, -0.07996223866939545, 0.32610613107681274, 0.08820538967847824, -0.07786692678928375, 0.017463691532611847, 0.011662308126688004, -0.36288902163505554, 0.37056970596313477, 0.20260107517242432, 0.27336594462394714, -0.10349589586257935, 0.4147837162017822, 0.4607183039188385, 0.08928601443767548, -0.10097014904022217, 0.2551831305027008, -0.17657597362995148, 0.25185883045196533, 0.6028957962989807, -0.15398302674293518, 0.10235487669706345, 0.05931699275970459, 0.2546626627445221, 0.0828360915184021, -0.3712722361087799, -0.5648518800735474, 0.2252015918493271, -0.13383466005325317, 0.01972772926092148, 0.040877941995859146, 0.40940433740615845, 0.17511260509490967, -0.07257742434740067, -0.3387376666069031, -0.2950591444969177, -0.24094492197036743, 0.06125553324818611, -0.048667967319488525, -0.39748427271842957, -0.06548172235488892, 0.026994425803422928, -0.051775526255369186, -0.11366336047649384, 0.27537718415260315, -0.06408514082431793, -0.404360294342041, -0.15767565369606018, 0.18155595660209656, 0.37276142835617065, 0.09641104191541672, -0.1554260104894638, 0.2109927535057068, 0.2434033751487732, 0.03292182460427284, 0.08297418802976608, 0.29364874958992004, 0.4390777051448822, 0.2707827091217041, 0.05060660466551781, -0.01621018722653389, 0.18598292768001556, -0.11949718743562698, 0.15814441442489624, 0.20075982809066772, -0.30768322944641113, 0.09850050508975983, -0.01740395650267601, 0.1406882256269455, -0.06385967135429382, 0.19443678855895996, -0.12976400554180145, 0.22686313092708588, -0.532724916934967, 0.07162871211767197, -0.1680387556552887, -0.10884374380111694, -0.12903046607971191, 0.22895359992980957, -0.333189994096756, -0.2267201542854309, 0.2730574309825897, 0.06936207413673401, 0.009592164307832718, 0.2673299312591553, 0.03266995772719383, -0.15973274409770966, 0.15364694595336914, 0.2203376442193985, 0.15984874963760376, -0.29031941294670105, -0.3306838274002075, -0.4528311789035797, 0.00855991244316101, 0.026859130710363388, 0.3244035243988037, -0.20155858993530273, -0.11409763246774673, -0.2526094615459442, -0.02886722981929779, 0.4957997798919678, 0.04034644365310669, 0.2946101427078247, 0.004561007022857666, -0.42161792516708374, -0.04315909370779991, 0.20885266363620758, -0.05194767564535141, -0.04269643872976303, -0.5033798217773438, -0.1376316398382187, 0.08641179651021957, -0.09984798729419708, -0.15372134745121002, 0.13674162328243256, -0.16653066873550415, 0.023983702063560486, 0.8094243407249451, 0.0855741798877716, 0.6356728076934814, -0.10314077138900757, -0.012256872840225697, -0.4340739846229553, -0.5135287642478943, 0.040885500609874725, 0.09606985002756119, 0.028228413313627243, 0.5386804342269897, -0.40883493423461914, -0.11444643139839172, -0.12336253374814987, 0.2872782349586487, 0.08475111424922943, 0.14293259382247925, -0.35204750299453735, 0.04950695484876633, -0.34726181626319885, 0.04756177216768265, -0.2015838623046875, 0.09372001886367798, 0.06344207376241684, -0.03364303335547447, -0.13188576698303223, -0.2346055507659912, 0.5741701126098633, -0.31822100281715393, 0.017196588218212128, -0.20539633929729462, 0.16087646782398224, 0.19501513242721558, -0.24939987063407898, -0.37660184502601624, 0.1034565344452858, 0.5223572254180908, 0.21953681111335754, -0.2243412286043167, 0.3346847891807556, -0.11965794861316681, -0.06567592173814774, 0.11322501301765442, 0.19633156061172485, 0.07418203353881836, -0.22253546118736267, 0.09397116303443909, -0.31466585397720337 ]
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
> That might be due to a corrupted cache. > > Please, retry loading the dataset passing: `download_mode="force_redownload"` > > ```python > ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") > ``` > > It the above command does not fix the issue, then you will need to fix the cache manually, by removing the corresponding directory inside `~/.cache/huggingface/`. The two methods you mentioned above can not solve this problem, but the command line interface shows Downloading readme: 41.1kB [00:00, 281kB/s], and then FileNotFoundError appears. It is worth noting that I have no problem loading other datasets with the initial method, such as wikitext datasets
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2
104
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2 > That might be due to a corrupted cache. > > Please, retry loading the dataset passing: `download_mode="force_redownload"` > > ```python > ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") > ``` > > It the above command does not fix the issue, then you will need to fix the cache manually, by removing the corresponding directory inside `~/.cache/huggingface/`. The two methods you mentioned above can not solve this problem, but the command line interface shows Downloading readme: 41.1kB [00:00, 281kB/s], and then FileNotFoundError appears. It is worth noting that I have no problem loading other datasets with the initial method, such as wikitext datasets
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.1673109382390976, 0.09469642490148544, -0.12878842651844025, 0.07063333690166473, 0.32241034507751465, 0.02620493248105049, 0.19688363373279572, -0.20495252311229706, 0.2669195234775543, -0.4299952983856201, -0.05025388300418854, -0.5118574500083923, 0.1403893232345581, -0.07259971648454666, 0.3794679641723633, 0.02385059744119644, -0.6958081722259521, 0.44850096106529236, -0.20207393169403076, 0.2992042601108551, 0.49243301153182983, -0.00012066363706253469, 0.01928948611021042, 0.3469124436378479, -0.08317720890045166, -0.11738654971122742, -0.05980360507965088, -0.14499206840991974, -0.19902335107326508, 0.022213812917470932, -0.2882561981678009, -0.014482324942946434, -0.32274869084358215, 0.015865202993154526, -0.01316012442111969, 0.28171390295028687, 0.5431941747665405, 0.1330081820487976, 0.1479310244321823, 0.39817681908607483, -0.1542314738035202, 0.07552634924650192, -0.27447015047073364, -0.01908506453037262, 0.23912999033927917, -0.08974960446357727, -0.07092311978340149, 0.2659449577331543, 0.13223052024841309, -0.2828100025653839, -0.17826257646083832, 0.2492561936378479, -0.017540816217660904, -0.11171411722898483, -0.3811374008655548, 0.31400471925735474, 0.13975772261619568, 0.42582520842552185, -0.38074347376823425, -0.38033801317214966, -0.1683962643146515, 0.20151138305664062, -0.022123482078313828, 0.4386742413043976, 0.006013292353600264, 0.25066131353378296, 0.16168321669101715, -0.04256672412157059, -0.09226145595312119, -0.17877313494682312, 0.19423139095306396, -0.10208393633365631, -0.024914659559726715, -0.09587426483631134, 0.04586704075336456, 0.2314188927412033, -0.10027109086513519, 0.04329567775130272, -0.04045218974351883, -0.31813836097717285, 0.22126537561416626, -0.3310926556587219, -0.04149278253316879, 0.021100010722875595, 0.37260234355926514, 0.04357099533081055, -0.03800217807292938, -0.15389499068260193, -0.15865910053253174, -0.21904052793979645, 0.04323819652199745, -0.2167455106973648, 0.0561506487429142, 0.10338110476732254, 0.23301638662815094, 0.18303918838500977, 0.10128527134656906, -0.020585210993885994, -0.2543068826198578, -0.1281110793352127, -0.495686411857605, -0.14644773304462433, 0.30492228269577026, 0.44477009773254395, -0.4531577527523041, -0.5866712331771851, 0.26064440608024597, -0.42576807737350464, -0.03383442759513855, 0.10021638125181198, 0.36175599694252014, -0.13488446176052094, 0.34633806347846985, 0.05167446285486221, 0.2822863459587097, -0.1180596724152565, -0.20207518339157104, -0.1771644502878189, 0.1411392241716385, -0.19642393290996552, 0.07668192684650421, 0.22601382434368134, -0.4352952241897583, 0.31519436836242676, 0.10053573548793793, 0.3195825219154358, 0.024610884487628937, -0.03942642733454704, -0.06250287592411041, -0.3420781195163727, 0.29523801803588867, -0.2975321114063263, 0.03572583198547363, 0.1402018517255783, -0.2860606610774994, -0.06302879750728607, 0.18216350674629211, -0.32619377970695496, -0.02672683820128441, -0.18541967868804932, 0.052909623831510544, -0.1444951295852661, 0.05327868461608887, -0.4641789495944977, -0.034403253346681595, -0.09688795357942581, -0.27016761898994446, 0.09257107228040695, -0.18675367534160614, 0.21426188945770264, -0.24912060797214508, 0.1467367559671402, 0.6955875754356384, -0.5375068783760071, -0.07292602956295013, 0.1932041496038437, -0.05842846259474754, 0.035234034061431885, 0.10900452733039856, -0.1654689460992813, 0.13702718913555145, -0.3446011543273926, -0.10282328724861145, 0.15042896568775177, -0.4401116967201233, -0.6035734415054321, 0.10642585903406143, 0.013413652777671814, 0.22816316783428192, 0.12718459963798523, -0.03874368593096733, -0.4771975576877594, -0.023053469136357307, -0.10390527546405792, -0.30530285835266113, -0.012857554480433464, -0.13113047182559967, -0.23246614634990692, -0.15119221806526184, 0.5078813433647156, 0.07603226602077484, 0.2369411736726761, 0.08104918897151947, 0.13708731532096863, 0.1925928145647049, 0.2370634377002716, -0.2821579873561859, -0.22671422362327576, 0.0899062305688858, 0.29176875948905945, -0.03146445006132126, 0.04327007010579109, -0.04735543951392174, -0.652544379234314, 0.3559955060482025, 0.03991517424583435, -0.09408517181873322, 0.14504382014274597, -0.08631426095962524, -0.1655561923980713, -0.25147074460983276, -0.2675711214542389, -0.2202230989933014, -0.019351119175553322, -0.016915977001190186, 0.017483461648225784, 0.06582993268966675, -0.27473998069763184, 0.6899194717407227, -0.3939708173274994, 0.14065279066562653, -0.2124442160129547, 0.5503130555152893, -0.03201579302549362, 0.059807199984788895, -0.012553738430142403, 0.13051466643810272, 0.30562469363212585, -0.09303276985883713, -0.07941249758005142, 0.3704999089241028, 0.006911961827427149, 0.16692501306533813, -0.05065783113241196, 0.25168687105178833, 0.26661309599876404, -0.2968882918357849, 0.2391955852508545, 0.2839130163192749, 0.05913250148296356, 0.05797424167394638, 0.005060840398073196, 0.24801266193389893, 0.10853447020053864, 0.1219538152217865, 0.05764736980199814, -0.17246036231517792, 0.17578260600566864, -0.05663055181503296, 0.12039273232221603, -0.0433434396982193, 0.024791203439235687, 0.09358195960521698, 0.5590724945068359, -0.14896759390830994, -0.2962900996208191, -0.13456660509109497, 0.4552347958087921, 0.14434154331684113, -0.13991641998291016, -0.026227131485939026, -0.11647037416696548, 0.14453095197677612, 0.21291103959083557, 0.10801537334918976, 0.3510432839393616, 0.2801332473754883, -0.5974588990211487, 0.22917574644088745, -0.12576045095920563, -0.0784912258386612, 0.16016629338264465, -0.07382656633853912, 0.07491812855005264, 0.3334081470966339, 0.0019282088615000248, 0.19912923872470856, -0.2173793613910675, -0.39564934372901917, -0.2351122349500656, 0.2192082405090332, -0.4444912075996399, 0.010945873335003853, -0.21578606963157654, -0.1543773114681244, -0.07392406463623047, 0.04753128066658974, -0.06849750876426697, -0.13562317192554474, -0.11906704306602478, 0.1703486293554306, 0.08466315269470215, 0.03125852346420288, -0.6403214931488037, 0.01372922956943512, -0.10076966136693954, -0.1925148218870163, -0.18880145251750946, 0.14538413286209106, -0.17631614208221436, -0.010183773934841156, 0.4653300940990448, -0.13922373950481415, 0.07035437226295471, -0.49369925260543823, 0.02268737554550171, -0.21780750155448914, -0.5930320620536804, -0.06939332187175751, -0.10381197929382324, 0.23391598463058472, 0.126523956656456, 0.11554829031229019, -0.04536612331867218, -0.3656386137008667, 0.16471140086650848, 0.026804188266396523, -0.17205987870693207, 0.1776982545852661, -0.07045034319162369, -0.14960931241512299, 0.09931671619415283, -0.7325296998023987, 0.06186218559741974, -0.21140071749687195, 0.17415395379066467, 0.08074897527694702, 0.02521970123052597, 0.2991049587726593, 0.1805073469877243, 0.307908833026886, 0.08367352187633514, -0.18202131986618042, 0.010981274768710136, -0.2159576416015625, 0.3450257480144501, 0.03751088306307793, -0.1181052178144455, 0.16258791089057922, 0.0450231209397316, 0.15126389265060425, -0.07289328426122665, -0.4477995038032532, 0.016055237501859665, -0.2131376564502716, 0.33122336864471436, -0.12799137830734253, -0.15406621992588043, 0.3858329951763153, 0.03730813413858414, 0.12066580355167389, -0.15293461084365845, -0.027093948796391487, -0.1205233708024025, 0.2460719347000122, 0.19039607048034668, -0.22846141457557678, 0.5267710089683533, -0.21337635815143585, 0.1943134367465973, 0.2366066575050354, -0.14358949661254883, 0.3200841248035431, -0.17547549307346344, 0.5637099742889404, -0.374299019575119, -0.3002450466156006, 0.17194733023643494, 0.25916585326194763, 0.039200492203235626, -0.03866566717624664, -0.16318657994270325, -0.03205063194036484, -0.23924417793750763, -0.12447941303253174, -0.4805607199668884, 0.044979777187108994, -0.13710801303386688, 0.10707380622625351, 0.07221794873476028, 0.00023132190108299255, 0.1654784381389618, 0.1553042232990265, -0.18448886275291443, 0.20680354535579681, 0.3229154348373413, 0.2776373028755188, -0.05239993333816528, -0.7211449146270752, -0.3382638394832611, -0.33248433470726013, 0.4898707866668701, 0.15872885286808014, 0.09349950402975082, 0.16168782114982605, -0.04446743428707123, -0.1535758227109909, -0.20246872305870056, 0.5855938196182251, -0.2085537165403366, -0.15689823031425476, 0.3103548288345337, 0.09779070317745209, -0.144226536154747, -0.21549326181411743, -0.15339675545692444, 0.35497212409973145, 0.06769520789384842, 0.44606512784957886, -0.012783072888851166, -0.17859682440757751, 0.32916632294654846, 0.39623141288757324, -0.10084369033575058, 0.012522722594439983, -0.2164147049188614, 0.15831851959228516, 0.03815337270498276, -0.038844890892505646, -0.1345280110836029, 0.3791518211364746, -0.17897719144821167, -0.18548530340194702, -0.11116273701190948, -0.34299954771995544, 0.29436856508255005, 0.32736676931381226, 0.5280426144599915, 0.032372910529375076, 0.2896404266357422, 0.2594362199306488, 0.025546390563249588, 0.813024640083313, 0.3938734531402588, 0.09700299799442291, -0.16714584827423096, -0.1696544885635376, 0.1400681436061859, 0.2687196433544159, 0.158284530043602, -0.13553428649902344, 0.016789279878139496, -0.1615501344203949, 0.0685495063662529, -0.10237594693899155, 0.12742917239665985, 0.3834613859653473, 0.06662273406982422, -0.4211311936378479, -0.3310449421405792, 0.37849047780036926, -0.04159644991159439, 0.06444208323955536, 0.23167026042938232, 0.3991468548774719, -0.28051865100860596, -0.14158283174037933, -0.06993842869997025, 0.7818910479545593, 0.1888568103313446, -0.021638687700033188, 0.19186854362487793, -0.09989118576049805, 0.30720314383506775, -0.459031879901886, 0.12848913669586182, -0.4941147267818451, -0.17331606149673462, -0.10538969933986664, -0.1505172699689865, 0.2728251814842224, 0.20999574661254883, -0.253799706697464, 0.4802767038345337, -0.2117661088705063, 0.23737984895706177, -0.09534399956464767, 0.05760101228952408, -0.16801901161670685, 0.25554516911506653, -0.43884992599487305, 0.02699108049273491, 0.10594606399536133, 0.11452294886112213, -0.2314448356628418, 0.008271612226963043, -0.04769138619303703, -0.3490656614303589, -0.25006914138793945, 0.38084158301353455, -0.46623557806015015, 0.029804427176713943, 0.3340104818344116, -0.23817680776119232, 0.16812583804130554, 0.40198859572410583, 0.3803263306617737, 0.2154344767332077, -0.3112197518348694, 0.19210611283779144, -0.3263019621372223, -0.08456164598464966, 0.22025974094867706, 0.0536632239818573, 0.061833471059799194, 0.04313310235738754, -0.32807767391204834, 0.25284287333488464, -0.09328986704349518, -0.24625074863433838, -0.17961646616458893, -0.011658705770969391, -0.038385048508644104, -0.19487406313419342, -0.2396782487630844, 0.20479410886764526, 0.044827889651060104, -0.2937813401222229, 0.06940848380327225, -0.25055044889450073, 0.09080768376588821, -0.07375732809305191, 0.09955155104398727, -0.3038039207458496, 0.005049481987953186, 0.364831805229187, -0.20864492654800415, -0.20678751170635223, 0.3426254093647003, -0.03812296688556671, -0.11980237066745758, -0.2006416618824005, 0.13849708437919617, 0.36888518929481506, -0.40817150473594666, -0.03545752540230751, 0.0491519533097744, 0.2197423130273819, 0.16326451301574707, 0.16427694261074066, 0.2157881259918213, -0.1765475571155548, 0.17065204679965973, -0.36845678091049194, -0.3288734257221222, 0.4158748388290405, 0.011359531432390213, 0.19417399168014526, 0.029639892280101776, 0.1662595272064209, 0.001107214018702507, -0.14559175074100494, -0.17908841371536255, 0.10977235436439514, 0.01751823164522648, 0.05696380138397217, -0.05286532640457153, 0.26533856987953186, 0.4178846478462219, -0.007606327999383211, 0.07748520374298096, 0.06420212984085083, 0.0036086412146687508, -0.1160660982131958, -0.14117537438869476, 0.16353467106819153, 0.10173472762107849, 0.01773945614695549, 0.07958688586950302, -0.0039025358855724335, 0.04279405623674393, -0.21024154126644135, 0.3398745357990265, 0.2861105501651764, 0.09775926917791367, 0.40198683738708496, 0.36421114206314087, -0.10018058866262436, -0.1780906617641449, 0.13998109102249146, 0.04036015272140503, 0.17873722314834595, 0.1127701997756958, 0.13480211794376373, -0.021079659461975098, 0.07906801998615265, 0.18076935410499573, 0.213412344455719, -0.3061069846153259, 0.214528888463974, 0.04603289067745209, -0.304535448551178, 0.11340565979480743, 0.18224933743476868, -0.060641203075647354, 0.48235559463500977, -0.1592118740081787, 0.1251029521226883, 0.39255303144454956, 0.1670965999364853, -0.41053295135498047, -0.07996223866939545, 0.32610613107681274, 0.08820538967847824, -0.07786692678928375, 0.017463691532611847, 0.011662308126688004, -0.36288902163505554, 0.37056970596313477, 0.20260107517242432, 0.27336594462394714, -0.10349589586257935, 0.4147837162017822, 0.4607183039188385, 0.08928601443767548, -0.10097014904022217, 0.2551831305027008, -0.17657597362995148, 0.25185883045196533, 0.6028957962989807, -0.15398302674293518, 0.10235487669706345, 0.05931699275970459, 0.2546626627445221, 0.0828360915184021, -0.3712722361087799, -0.5648518800735474, 0.2252015918493271, -0.13383466005325317, 0.01972772926092148, 0.040877941995859146, 0.40940433740615845, 0.17511260509490967, -0.07257742434740067, -0.3387376666069031, -0.2950591444969177, -0.24094492197036743, 0.06125553324818611, -0.048667967319488525, -0.39748427271842957, -0.06548172235488892, 0.026994425803422928, -0.051775526255369186, -0.11366336047649384, 0.27537718415260315, -0.06408514082431793, -0.404360294342041, -0.15767565369606018, 0.18155595660209656, 0.37276142835617065, 0.09641104191541672, -0.1554260104894638, 0.2109927535057068, 0.2434033751487732, 0.03292182460427284, 0.08297418802976608, 0.29364874958992004, 0.4390777051448822, 0.2707827091217041, 0.05060660466551781, -0.01621018722653389, 0.18598292768001556, -0.11949718743562698, 0.15814441442489624, 0.20075982809066772, -0.30768322944641113, 0.09850050508975983, -0.01740395650267601, 0.1406882256269455, -0.06385967135429382, 0.19443678855895996, -0.12976400554180145, 0.22686313092708588, -0.532724916934967, 0.07162871211767197, -0.1680387556552887, -0.10884374380111694, -0.12903046607971191, 0.22895359992980957, -0.333189994096756, -0.2267201542854309, 0.2730574309825897, 0.06936207413673401, 0.009592164307832718, 0.2673299312591553, 0.03266995772719383, -0.15973274409770966, 0.15364694595336914, 0.2203376442193985, 0.15984874963760376, -0.29031941294670105, -0.3306838274002075, -0.4528311789035797, 0.00855991244316101, 0.026859130710363388, 0.3244035243988037, -0.20155858993530273, -0.11409763246774673, -0.2526094615459442, -0.02886722981929779, 0.4957997798919678, 0.04034644365310669, 0.2946101427078247, 0.004561007022857666, -0.42161792516708374, -0.04315909370779991, 0.20885266363620758, -0.05194767564535141, -0.04269643872976303, -0.5033798217773438, -0.1376316398382187, 0.08641179651021957, -0.09984798729419708, -0.15372134745121002, 0.13674162328243256, -0.16653066873550415, 0.023983702063560486, 0.8094243407249451, 0.0855741798877716, 0.6356728076934814, -0.10314077138900757, -0.012256872840225697, -0.4340739846229553, -0.5135287642478943, 0.040885500609874725, 0.09606985002756119, 0.028228413313627243, 0.5386804342269897, -0.40883493423461914, -0.11444643139839172, -0.12336253374814987, 0.2872782349586487, 0.08475111424922943, 0.14293259382247925, -0.35204750299453735, 0.04950695484876633, -0.34726181626319885, 0.04756177216768265, -0.2015838623046875, 0.09372001886367798, 0.06344207376241684, -0.03364303335547447, -0.13188576698303223, -0.2346055507659912, 0.5741701126098633, -0.31822100281715393, 0.017196588218212128, -0.20539633929729462, 0.16087646782398224, 0.19501513242721558, -0.24939987063407898, -0.37660184502601624, 0.1034565344452858, 0.5223572254180908, 0.21953681111335754, -0.2243412286043167, 0.3346847891807556, -0.11965794861316681, -0.06567592173814774, 0.11322501301765442, 0.19633156061172485, 0.07418203353881836, -0.22253546118736267, 0.09397116303443909, -0.31466585397720337 ]
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
> The two methods you mentioned above can not solve this problem, but the command line interface shows Downloading readme: 41.1kB [00:00, 281kB/s], and then FileNotFoundError appears. Same issue encountered.
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2
30
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2 > The two methods you mentioned above can not solve this problem, but the command line interface shows Downloading readme: 41.1kB [00:00, 281kB/s], and then FileNotFoundError appears. Same issue encountered.
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.1673109382390976, 0.09469642490148544, -0.12878842651844025, 0.07063333690166473, 0.32241034507751465, 0.02620493248105049, 0.19688363373279572, -0.20495252311229706, 0.2669195234775543, -0.4299952983856201, -0.05025388300418854, -0.5118574500083923, 0.1403893232345581, -0.07259971648454666, 0.3794679641723633, 0.02385059744119644, -0.6958081722259521, 0.44850096106529236, -0.20207393169403076, 0.2992042601108551, 0.49243301153182983, -0.00012066363706253469, 0.01928948611021042, 0.3469124436378479, -0.08317720890045166, -0.11738654971122742, -0.05980360507965088, -0.14499206840991974, -0.19902335107326508, 0.022213812917470932, -0.2882561981678009, -0.014482324942946434, -0.32274869084358215, 0.015865202993154526, -0.01316012442111969, 0.28171390295028687, 0.5431941747665405, 0.1330081820487976, 0.1479310244321823, 0.39817681908607483, -0.1542314738035202, 0.07552634924650192, -0.27447015047073364, -0.01908506453037262, 0.23912999033927917, -0.08974960446357727, -0.07092311978340149, 0.2659449577331543, 0.13223052024841309, -0.2828100025653839, -0.17826257646083832, 0.2492561936378479, -0.017540816217660904, -0.11171411722898483, -0.3811374008655548, 0.31400471925735474, 0.13975772261619568, 0.42582520842552185, -0.38074347376823425, -0.38033801317214966, -0.1683962643146515, 0.20151138305664062, -0.022123482078313828, 0.4386742413043976, 0.006013292353600264, 0.25066131353378296, 0.16168321669101715, -0.04256672412157059, -0.09226145595312119, -0.17877313494682312, 0.19423139095306396, -0.10208393633365631, -0.024914659559726715, -0.09587426483631134, 0.04586704075336456, 0.2314188927412033, -0.10027109086513519, 0.04329567775130272, -0.04045218974351883, -0.31813836097717285, 0.22126537561416626, -0.3310926556587219, -0.04149278253316879, 0.021100010722875595, 0.37260234355926514, 0.04357099533081055, -0.03800217807292938, -0.15389499068260193, -0.15865910053253174, -0.21904052793979645, 0.04323819652199745, -0.2167455106973648, 0.0561506487429142, 0.10338110476732254, 0.23301638662815094, 0.18303918838500977, 0.10128527134656906, -0.020585210993885994, -0.2543068826198578, -0.1281110793352127, -0.495686411857605, -0.14644773304462433, 0.30492228269577026, 0.44477009773254395, -0.4531577527523041, -0.5866712331771851, 0.26064440608024597, -0.42576807737350464, -0.03383442759513855, 0.10021638125181198, 0.36175599694252014, -0.13488446176052094, 0.34633806347846985, 0.05167446285486221, 0.2822863459587097, -0.1180596724152565, -0.20207518339157104, -0.1771644502878189, 0.1411392241716385, -0.19642393290996552, 0.07668192684650421, 0.22601382434368134, -0.4352952241897583, 0.31519436836242676, 0.10053573548793793, 0.3195825219154358, 0.024610884487628937, -0.03942642733454704, -0.06250287592411041, -0.3420781195163727, 0.29523801803588867, -0.2975321114063263, 0.03572583198547363, 0.1402018517255783, -0.2860606610774994, -0.06302879750728607, 0.18216350674629211, -0.32619377970695496, -0.02672683820128441, -0.18541967868804932, 0.052909623831510544, -0.1444951295852661, 0.05327868461608887, -0.4641789495944977, -0.034403253346681595, -0.09688795357942581, -0.27016761898994446, 0.09257107228040695, -0.18675367534160614, 0.21426188945770264, -0.24912060797214508, 0.1467367559671402, 0.6955875754356384, -0.5375068783760071, -0.07292602956295013, 0.1932041496038437, -0.05842846259474754, 0.035234034061431885, 0.10900452733039856, -0.1654689460992813, 0.13702718913555145, -0.3446011543273926, -0.10282328724861145, 0.15042896568775177, -0.4401116967201233, -0.6035734415054321, 0.10642585903406143, 0.013413652777671814, 0.22816316783428192, 0.12718459963798523, -0.03874368593096733, -0.4771975576877594, -0.023053469136357307, -0.10390527546405792, -0.30530285835266113, -0.012857554480433464, -0.13113047182559967, -0.23246614634990692, -0.15119221806526184, 0.5078813433647156, 0.07603226602077484, 0.2369411736726761, 0.08104918897151947, 0.13708731532096863, 0.1925928145647049, 0.2370634377002716, -0.2821579873561859, -0.22671422362327576, 0.0899062305688858, 0.29176875948905945, -0.03146445006132126, 0.04327007010579109, -0.04735543951392174, -0.652544379234314, 0.3559955060482025, 0.03991517424583435, -0.09408517181873322, 0.14504382014274597, -0.08631426095962524, -0.1655561923980713, -0.25147074460983276, -0.2675711214542389, -0.2202230989933014, -0.019351119175553322, -0.016915977001190186, 0.017483461648225784, 0.06582993268966675, -0.27473998069763184, 0.6899194717407227, -0.3939708173274994, 0.14065279066562653, -0.2124442160129547, 0.5503130555152893, -0.03201579302549362, 0.059807199984788895, -0.012553738430142403, 0.13051466643810272, 0.30562469363212585, -0.09303276985883713, -0.07941249758005142, 0.3704999089241028, 0.006911961827427149, 0.16692501306533813, -0.05065783113241196, 0.25168687105178833, 0.26661309599876404, -0.2968882918357849, 0.2391955852508545, 0.2839130163192749, 0.05913250148296356, 0.05797424167394638, 0.005060840398073196, 0.24801266193389893, 0.10853447020053864, 0.1219538152217865, 0.05764736980199814, -0.17246036231517792, 0.17578260600566864, -0.05663055181503296, 0.12039273232221603, -0.0433434396982193, 0.024791203439235687, 0.09358195960521698, 0.5590724945068359, -0.14896759390830994, -0.2962900996208191, -0.13456660509109497, 0.4552347958087921, 0.14434154331684113, -0.13991641998291016, -0.026227131485939026, -0.11647037416696548, 0.14453095197677612, 0.21291103959083557, 0.10801537334918976, 0.3510432839393616, 0.2801332473754883, -0.5974588990211487, 0.22917574644088745, -0.12576045095920563, -0.0784912258386612, 0.16016629338264465, -0.07382656633853912, 0.07491812855005264, 0.3334081470966339, 0.0019282088615000248, 0.19912923872470856, -0.2173793613910675, -0.39564934372901917, -0.2351122349500656, 0.2192082405090332, -0.4444912075996399, 0.010945873335003853, -0.21578606963157654, -0.1543773114681244, -0.07392406463623047, 0.04753128066658974, -0.06849750876426697, -0.13562317192554474, -0.11906704306602478, 0.1703486293554306, 0.08466315269470215, 0.03125852346420288, -0.6403214931488037, 0.01372922956943512, -0.10076966136693954, -0.1925148218870163, -0.18880145251750946, 0.14538413286209106, -0.17631614208221436, -0.010183773934841156, 0.4653300940990448, -0.13922373950481415, 0.07035437226295471, -0.49369925260543823, 0.02268737554550171, -0.21780750155448914, -0.5930320620536804, -0.06939332187175751, -0.10381197929382324, 0.23391598463058472, 0.126523956656456, 0.11554829031229019, -0.04536612331867218, -0.3656386137008667, 0.16471140086650848, 0.026804188266396523, -0.17205987870693207, 0.1776982545852661, -0.07045034319162369, -0.14960931241512299, 0.09931671619415283, -0.7325296998023987, 0.06186218559741974, -0.21140071749687195, 0.17415395379066467, 0.08074897527694702, 0.02521970123052597, 0.2991049587726593, 0.1805073469877243, 0.307908833026886, 0.08367352187633514, -0.18202131986618042, 0.010981274768710136, -0.2159576416015625, 0.3450257480144501, 0.03751088306307793, -0.1181052178144455, 0.16258791089057922, 0.0450231209397316, 0.15126389265060425, -0.07289328426122665, -0.4477995038032532, 0.016055237501859665, -0.2131376564502716, 0.33122336864471436, -0.12799137830734253, -0.15406621992588043, 0.3858329951763153, 0.03730813413858414, 0.12066580355167389, -0.15293461084365845, -0.027093948796391487, -0.1205233708024025, 0.2460719347000122, 0.19039607048034668, -0.22846141457557678, 0.5267710089683533, -0.21337635815143585, 0.1943134367465973, 0.2366066575050354, -0.14358949661254883, 0.3200841248035431, -0.17547549307346344, 0.5637099742889404, -0.374299019575119, -0.3002450466156006, 0.17194733023643494, 0.25916585326194763, 0.039200492203235626, -0.03866566717624664, -0.16318657994270325, -0.03205063194036484, -0.23924417793750763, -0.12447941303253174, -0.4805607199668884, 0.044979777187108994, -0.13710801303386688, 0.10707380622625351, 0.07221794873476028, 0.00023132190108299255, 0.1654784381389618, 0.1553042232990265, -0.18448886275291443, 0.20680354535579681, 0.3229154348373413, 0.2776373028755188, -0.05239993333816528, -0.7211449146270752, -0.3382638394832611, -0.33248433470726013, 0.4898707866668701, 0.15872885286808014, 0.09349950402975082, 0.16168782114982605, -0.04446743428707123, -0.1535758227109909, -0.20246872305870056, 0.5855938196182251, -0.2085537165403366, -0.15689823031425476, 0.3103548288345337, 0.09779070317745209, -0.144226536154747, -0.21549326181411743, -0.15339675545692444, 0.35497212409973145, 0.06769520789384842, 0.44606512784957886, -0.012783072888851166, -0.17859682440757751, 0.32916632294654846, 0.39623141288757324, -0.10084369033575058, 0.012522722594439983, -0.2164147049188614, 0.15831851959228516, 0.03815337270498276, -0.038844890892505646, -0.1345280110836029, 0.3791518211364746, -0.17897719144821167, -0.18548530340194702, -0.11116273701190948, -0.34299954771995544, 0.29436856508255005, 0.32736676931381226, 0.5280426144599915, 0.032372910529375076, 0.2896404266357422, 0.2594362199306488, 0.025546390563249588, 0.813024640083313, 0.3938734531402588, 0.09700299799442291, -0.16714584827423096, -0.1696544885635376, 0.1400681436061859, 0.2687196433544159, 0.158284530043602, -0.13553428649902344, 0.016789279878139496, -0.1615501344203949, 0.0685495063662529, -0.10237594693899155, 0.12742917239665985, 0.3834613859653473, 0.06662273406982422, -0.4211311936378479, -0.3310449421405792, 0.37849047780036926, -0.04159644991159439, 0.06444208323955536, 0.23167026042938232, 0.3991468548774719, -0.28051865100860596, -0.14158283174037933, -0.06993842869997025, 0.7818910479545593, 0.1888568103313446, -0.021638687700033188, 0.19186854362487793, -0.09989118576049805, 0.30720314383506775, -0.459031879901886, 0.12848913669586182, -0.4941147267818451, -0.17331606149673462, -0.10538969933986664, -0.1505172699689865, 0.2728251814842224, 0.20999574661254883, -0.253799706697464, 0.4802767038345337, -0.2117661088705063, 0.23737984895706177, -0.09534399956464767, 0.05760101228952408, -0.16801901161670685, 0.25554516911506653, -0.43884992599487305, 0.02699108049273491, 0.10594606399536133, 0.11452294886112213, -0.2314448356628418, 0.008271612226963043, -0.04769138619303703, -0.3490656614303589, -0.25006914138793945, 0.38084158301353455, -0.46623557806015015, 0.029804427176713943, 0.3340104818344116, -0.23817680776119232, 0.16812583804130554, 0.40198859572410583, 0.3803263306617737, 0.2154344767332077, -0.3112197518348694, 0.19210611283779144, -0.3263019621372223, -0.08456164598464966, 0.22025974094867706, 0.0536632239818573, 0.061833471059799194, 0.04313310235738754, -0.32807767391204834, 0.25284287333488464, -0.09328986704349518, -0.24625074863433838, -0.17961646616458893, -0.011658705770969391, -0.038385048508644104, -0.19487406313419342, -0.2396782487630844, 0.20479410886764526, 0.044827889651060104, -0.2937813401222229, 0.06940848380327225, -0.25055044889450073, 0.09080768376588821, -0.07375732809305191, 0.09955155104398727, -0.3038039207458496, 0.005049481987953186, 0.364831805229187, -0.20864492654800415, -0.20678751170635223, 0.3426254093647003, -0.03812296688556671, -0.11980237066745758, -0.2006416618824005, 0.13849708437919617, 0.36888518929481506, -0.40817150473594666, -0.03545752540230751, 0.0491519533097744, 0.2197423130273819, 0.16326451301574707, 0.16427694261074066, 0.2157881259918213, -0.1765475571155548, 0.17065204679965973, -0.36845678091049194, -0.3288734257221222, 0.4158748388290405, 0.011359531432390213, 0.19417399168014526, 0.029639892280101776, 0.1662595272064209, 0.001107214018702507, -0.14559175074100494, -0.17908841371536255, 0.10977235436439514, 0.01751823164522648, 0.05696380138397217, -0.05286532640457153, 0.26533856987953186, 0.4178846478462219, -0.007606327999383211, 0.07748520374298096, 0.06420212984085083, 0.0036086412146687508, -0.1160660982131958, -0.14117537438869476, 0.16353467106819153, 0.10173472762107849, 0.01773945614695549, 0.07958688586950302, -0.0039025358855724335, 0.04279405623674393, -0.21024154126644135, 0.3398745357990265, 0.2861105501651764, 0.09775926917791367, 0.40198683738708496, 0.36421114206314087, -0.10018058866262436, -0.1780906617641449, 0.13998109102249146, 0.04036015272140503, 0.17873722314834595, 0.1127701997756958, 0.13480211794376373, -0.021079659461975098, 0.07906801998615265, 0.18076935410499573, 0.213412344455719, -0.3061069846153259, 0.214528888463974, 0.04603289067745209, -0.304535448551178, 0.11340565979480743, 0.18224933743476868, -0.060641203075647354, 0.48235559463500977, -0.1592118740081787, 0.1251029521226883, 0.39255303144454956, 0.1670965999364853, -0.41053295135498047, -0.07996223866939545, 0.32610613107681274, 0.08820538967847824, -0.07786692678928375, 0.017463691532611847, 0.011662308126688004, -0.36288902163505554, 0.37056970596313477, 0.20260107517242432, 0.27336594462394714, -0.10349589586257935, 0.4147837162017822, 0.4607183039188385, 0.08928601443767548, -0.10097014904022217, 0.2551831305027008, -0.17657597362995148, 0.25185883045196533, 0.6028957962989807, -0.15398302674293518, 0.10235487669706345, 0.05931699275970459, 0.2546626627445221, 0.0828360915184021, -0.3712722361087799, -0.5648518800735474, 0.2252015918493271, -0.13383466005325317, 0.01972772926092148, 0.040877941995859146, 0.40940433740615845, 0.17511260509490967, -0.07257742434740067, -0.3387376666069031, -0.2950591444969177, -0.24094492197036743, 0.06125553324818611, -0.048667967319488525, -0.39748427271842957, -0.06548172235488892, 0.026994425803422928, -0.051775526255369186, -0.11366336047649384, 0.27537718415260315, -0.06408514082431793, -0.404360294342041, -0.15767565369606018, 0.18155595660209656, 0.37276142835617065, 0.09641104191541672, -0.1554260104894638, 0.2109927535057068, 0.2434033751487732, 0.03292182460427284, 0.08297418802976608, 0.29364874958992004, 0.4390777051448822, 0.2707827091217041, 0.05060660466551781, -0.01621018722653389, 0.18598292768001556, -0.11949718743562698, 0.15814441442489624, 0.20075982809066772, -0.30768322944641113, 0.09850050508975983, -0.01740395650267601, 0.1406882256269455, -0.06385967135429382, 0.19443678855895996, -0.12976400554180145, 0.22686313092708588, -0.532724916934967, 0.07162871211767197, -0.1680387556552887, -0.10884374380111694, -0.12903046607971191, 0.22895359992980957, -0.333189994096756, -0.2267201542854309, 0.2730574309825897, 0.06936207413673401, 0.009592164307832718, 0.2673299312591553, 0.03266995772719383, -0.15973274409770966, 0.15364694595336914, 0.2203376442193985, 0.15984874963760376, -0.29031941294670105, -0.3306838274002075, -0.4528311789035797, 0.00855991244316101, 0.026859130710363388, 0.3244035243988037, -0.20155858993530273, -0.11409763246774673, -0.2526094615459442, -0.02886722981929779, 0.4957997798919678, 0.04034644365310669, 0.2946101427078247, 0.004561007022857666, -0.42161792516708374, -0.04315909370779991, 0.20885266363620758, -0.05194767564535141, -0.04269643872976303, -0.5033798217773438, -0.1376316398382187, 0.08641179651021957, -0.09984798729419708, -0.15372134745121002, 0.13674162328243256, -0.16653066873550415, 0.023983702063560486, 0.8094243407249451, 0.0855741798877716, 0.6356728076934814, -0.10314077138900757, -0.012256872840225697, -0.4340739846229553, -0.5135287642478943, 0.040885500609874725, 0.09606985002756119, 0.028228413313627243, 0.5386804342269897, -0.40883493423461914, -0.11444643139839172, -0.12336253374814987, 0.2872782349586487, 0.08475111424922943, 0.14293259382247925, -0.35204750299453735, 0.04950695484876633, -0.34726181626319885, 0.04756177216768265, -0.2015838623046875, 0.09372001886367798, 0.06344207376241684, -0.03364303335547447, -0.13188576698303223, -0.2346055507659912, 0.5741701126098633, -0.31822100281715393, 0.017196588218212128, -0.20539633929729462, 0.16087646782398224, 0.19501513242721558, -0.24939987063407898, -0.37660184502601624, 0.1034565344452858, 0.5223572254180908, 0.21953681111335754, -0.2243412286043167, 0.3346847891807556, -0.11965794861316681, -0.06567592173814774, 0.11322501301765442, 0.19633156061172485, 0.07418203353881836, -0.22253546118736267, 0.09397116303443909, -0.31466585397720337 ]
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
I really think the issue is caused by a corrupted cache, between versions 2.12.0 (there does not exist 2.12.2 version) and 2.19.2. Are you sure you removed all the corresponding corrupted directories within the cache? You can easily check if the issue is caused by a corrupted cache by removing the entire cache: ```shell mv ~/.cache/huggingface ~/.cache/huggingface.bak ``` and then reloading the dataset: ```python ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") ```
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2
72
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2 I really think the issue is caused by a corrupted cache, between versions 2.12.0 (there does not exist 2.12.2 version) and 2.19.2. Are you sure you removed all the corresponding corrupted directories within the cache? You can easily check if the issue is caused by a corrupted cache by removing the entire cache: ```shell mv ~/.cache/huggingface ~/.cache/huggingface.bak ``` and then reloading the dataset: ```python ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") ```
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.1673109382390976, 0.09469642490148544, -0.12878842651844025, 0.07063333690166473, 0.32241034507751465, 0.02620493248105049, 0.19688363373279572, -0.20495252311229706, 0.2669195234775543, -0.4299952983856201, -0.05025388300418854, -0.5118574500083923, 0.1403893232345581, -0.07259971648454666, 0.3794679641723633, 0.02385059744119644, -0.6958081722259521, 0.44850096106529236, -0.20207393169403076, 0.2992042601108551, 0.49243301153182983, -0.00012066363706253469, 0.01928948611021042, 0.3469124436378479, -0.08317720890045166, -0.11738654971122742, -0.05980360507965088, -0.14499206840991974, -0.19902335107326508, 0.022213812917470932, -0.2882561981678009, -0.014482324942946434, -0.32274869084358215, 0.015865202993154526, -0.01316012442111969, 0.28171390295028687, 0.5431941747665405, 0.1330081820487976, 0.1479310244321823, 0.39817681908607483, -0.1542314738035202, 0.07552634924650192, -0.27447015047073364, -0.01908506453037262, 0.23912999033927917, -0.08974960446357727, -0.07092311978340149, 0.2659449577331543, 0.13223052024841309, -0.2828100025653839, -0.17826257646083832, 0.2492561936378479, -0.017540816217660904, -0.11171411722898483, -0.3811374008655548, 0.31400471925735474, 0.13975772261619568, 0.42582520842552185, -0.38074347376823425, -0.38033801317214966, -0.1683962643146515, 0.20151138305664062, -0.022123482078313828, 0.4386742413043976, 0.006013292353600264, 0.25066131353378296, 0.16168321669101715, -0.04256672412157059, -0.09226145595312119, -0.17877313494682312, 0.19423139095306396, -0.10208393633365631, -0.024914659559726715, -0.09587426483631134, 0.04586704075336456, 0.2314188927412033, -0.10027109086513519, 0.04329567775130272, -0.04045218974351883, -0.31813836097717285, 0.22126537561416626, -0.3310926556587219, -0.04149278253316879, 0.021100010722875595, 0.37260234355926514, 0.04357099533081055, -0.03800217807292938, -0.15389499068260193, -0.15865910053253174, -0.21904052793979645, 0.04323819652199745, -0.2167455106973648, 0.0561506487429142, 0.10338110476732254, 0.23301638662815094, 0.18303918838500977, 0.10128527134656906, -0.020585210993885994, -0.2543068826198578, -0.1281110793352127, -0.495686411857605, -0.14644773304462433, 0.30492228269577026, 0.44477009773254395, -0.4531577527523041, -0.5866712331771851, 0.26064440608024597, -0.42576807737350464, -0.03383442759513855, 0.10021638125181198, 0.36175599694252014, -0.13488446176052094, 0.34633806347846985, 0.05167446285486221, 0.2822863459587097, -0.1180596724152565, -0.20207518339157104, -0.1771644502878189, 0.1411392241716385, -0.19642393290996552, 0.07668192684650421, 0.22601382434368134, -0.4352952241897583, 0.31519436836242676, 0.10053573548793793, 0.3195825219154358, 0.024610884487628937, -0.03942642733454704, -0.06250287592411041, -0.3420781195163727, 0.29523801803588867, -0.2975321114063263, 0.03572583198547363, 0.1402018517255783, -0.2860606610774994, -0.06302879750728607, 0.18216350674629211, -0.32619377970695496, -0.02672683820128441, -0.18541967868804932, 0.052909623831510544, -0.1444951295852661, 0.05327868461608887, -0.4641789495944977, -0.034403253346681595, -0.09688795357942581, -0.27016761898994446, 0.09257107228040695, -0.18675367534160614, 0.21426188945770264, -0.24912060797214508, 0.1467367559671402, 0.6955875754356384, -0.5375068783760071, -0.07292602956295013, 0.1932041496038437, -0.05842846259474754, 0.035234034061431885, 0.10900452733039856, -0.1654689460992813, 0.13702718913555145, -0.3446011543273926, -0.10282328724861145, 0.15042896568775177, -0.4401116967201233, -0.6035734415054321, 0.10642585903406143, 0.013413652777671814, 0.22816316783428192, 0.12718459963798523, -0.03874368593096733, -0.4771975576877594, -0.023053469136357307, -0.10390527546405792, -0.30530285835266113, -0.012857554480433464, -0.13113047182559967, -0.23246614634990692, -0.15119221806526184, 0.5078813433647156, 0.07603226602077484, 0.2369411736726761, 0.08104918897151947, 0.13708731532096863, 0.1925928145647049, 0.2370634377002716, -0.2821579873561859, -0.22671422362327576, 0.0899062305688858, 0.29176875948905945, -0.03146445006132126, 0.04327007010579109, -0.04735543951392174, -0.652544379234314, 0.3559955060482025, 0.03991517424583435, -0.09408517181873322, 0.14504382014274597, -0.08631426095962524, -0.1655561923980713, -0.25147074460983276, -0.2675711214542389, -0.2202230989933014, -0.019351119175553322, -0.016915977001190186, 0.017483461648225784, 0.06582993268966675, -0.27473998069763184, 0.6899194717407227, -0.3939708173274994, 0.14065279066562653, -0.2124442160129547, 0.5503130555152893, -0.03201579302549362, 0.059807199984788895, -0.012553738430142403, 0.13051466643810272, 0.30562469363212585, -0.09303276985883713, -0.07941249758005142, 0.3704999089241028, 0.006911961827427149, 0.16692501306533813, -0.05065783113241196, 0.25168687105178833, 0.26661309599876404, -0.2968882918357849, 0.2391955852508545, 0.2839130163192749, 0.05913250148296356, 0.05797424167394638, 0.005060840398073196, 0.24801266193389893, 0.10853447020053864, 0.1219538152217865, 0.05764736980199814, -0.17246036231517792, 0.17578260600566864, -0.05663055181503296, 0.12039273232221603, -0.0433434396982193, 0.024791203439235687, 0.09358195960521698, 0.5590724945068359, -0.14896759390830994, -0.2962900996208191, -0.13456660509109497, 0.4552347958087921, 0.14434154331684113, -0.13991641998291016, -0.026227131485939026, -0.11647037416696548, 0.14453095197677612, 0.21291103959083557, 0.10801537334918976, 0.3510432839393616, 0.2801332473754883, -0.5974588990211487, 0.22917574644088745, -0.12576045095920563, -0.0784912258386612, 0.16016629338264465, -0.07382656633853912, 0.07491812855005264, 0.3334081470966339, 0.0019282088615000248, 0.19912923872470856, -0.2173793613910675, -0.39564934372901917, -0.2351122349500656, 0.2192082405090332, -0.4444912075996399, 0.010945873335003853, -0.21578606963157654, -0.1543773114681244, -0.07392406463623047, 0.04753128066658974, -0.06849750876426697, -0.13562317192554474, -0.11906704306602478, 0.1703486293554306, 0.08466315269470215, 0.03125852346420288, -0.6403214931488037, 0.01372922956943512, -0.10076966136693954, -0.1925148218870163, -0.18880145251750946, 0.14538413286209106, -0.17631614208221436, -0.010183773934841156, 0.4653300940990448, -0.13922373950481415, 0.07035437226295471, -0.49369925260543823, 0.02268737554550171, -0.21780750155448914, -0.5930320620536804, -0.06939332187175751, -0.10381197929382324, 0.23391598463058472, 0.126523956656456, 0.11554829031229019, -0.04536612331867218, -0.3656386137008667, 0.16471140086650848, 0.026804188266396523, -0.17205987870693207, 0.1776982545852661, -0.07045034319162369, -0.14960931241512299, 0.09931671619415283, -0.7325296998023987, 0.06186218559741974, -0.21140071749687195, 0.17415395379066467, 0.08074897527694702, 0.02521970123052597, 0.2991049587726593, 0.1805073469877243, 0.307908833026886, 0.08367352187633514, -0.18202131986618042, 0.010981274768710136, -0.2159576416015625, 0.3450257480144501, 0.03751088306307793, -0.1181052178144455, 0.16258791089057922, 0.0450231209397316, 0.15126389265060425, -0.07289328426122665, -0.4477995038032532, 0.016055237501859665, -0.2131376564502716, 0.33122336864471436, -0.12799137830734253, -0.15406621992588043, 0.3858329951763153, 0.03730813413858414, 0.12066580355167389, -0.15293461084365845, -0.027093948796391487, -0.1205233708024025, 0.2460719347000122, 0.19039607048034668, -0.22846141457557678, 0.5267710089683533, -0.21337635815143585, 0.1943134367465973, 0.2366066575050354, -0.14358949661254883, 0.3200841248035431, -0.17547549307346344, 0.5637099742889404, -0.374299019575119, -0.3002450466156006, 0.17194733023643494, 0.25916585326194763, 0.039200492203235626, -0.03866566717624664, -0.16318657994270325, -0.03205063194036484, -0.23924417793750763, -0.12447941303253174, -0.4805607199668884, 0.044979777187108994, -0.13710801303386688, 0.10707380622625351, 0.07221794873476028, 0.00023132190108299255, 0.1654784381389618, 0.1553042232990265, -0.18448886275291443, 0.20680354535579681, 0.3229154348373413, 0.2776373028755188, -0.05239993333816528, -0.7211449146270752, -0.3382638394832611, -0.33248433470726013, 0.4898707866668701, 0.15872885286808014, 0.09349950402975082, 0.16168782114982605, -0.04446743428707123, -0.1535758227109909, -0.20246872305870056, 0.5855938196182251, -0.2085537165403366, -0.15689823031425476, 0.3103548288345337, 0.09779070317745209, -0.144226536154747, -0.21549326181411743, -0.15339675545692444, 0.35497212409973145, 0.06769520789384842, 0.44606512784957886, -0.012783072888851166, -0.17859682440757751, 0.32916632294654846, 0.39623141288757324, -0.10084369033575058, 0.012522722594439983, -0.2164147049188614, 0.15831851959228516, 0.03815337270498276, -0.038844890892505646, -0.1345280110836029, 0.3791518211364746, -0.17897719144821167, -0.18548530340194702, -0.11116273701190948, -0.34299954771995544, 0.29436856508255005, 0.32736676931381226, 0.5280426144599915, 0.032372910529375076, 0.2896404266357422, 0.2594362199306488, 0.025546390563249588, 0.813024640083313, 0.3938734531402588, 0.09700299799442291, -0.16714584827423096, -0.1696544885635376, 0.1400681436061859, 0.2687196433544159, 0.158284530043602, -0.13553428649902344, 0.016789279878139496, -0.1615501344203949, 0.0685495063662529, -0.10237594693899155, 0.12742917239665985, 0.3834613859653473, 0.06662273406982422, -0.4211311936378479, -0.3310449421405792, 0.37849047780036926, -0.04159644991159439, 0.06444208323955536, 0.23167026042938232, 0.3991468548774719, -0.28051865100860596, -0.14158283174037933, -0.06993842869997025, 0.7818910479545593, 0.1888568103313446, -0.021638687700033188, 0.19186854362487793, -0.09989118576049805, 0.30720314383506775, -0.459031879901886, 0.12848913669586182, -0.4941147267818451, -0.17331606149673462, -0.10538969933986664, -0.1505172699689865, 0.2728251814842224, 0.20999574661254883, -0.253799706697464, 0.4802767038345337, -0.2117661088705063, 0.23737984895706177, -0.09534399956464767, 0.05760101228952408, -0.16801901161670685, 0.25554516911506653, -0.43884992599487305, 0.02699108049273491, 0.10594606399536133, 0.11452294886112213, -0.2314448356628418, 0.008271612226963043, -0.04769138619303703, -0.3490656614303589, -0.25006914138793945, 0.38084158301353455, -0.46623557806015015, 0.029804427176713943, 0.3340104818344116, -0.23817680776119232, 0.16812583804130554, 0.40198859572410583, 0.3803263306617737, 0.2154344767332077, -0.3112197518348694, 0.19210611283779144, -0.3263019621372223, -0.08456164598464966, 0.22025974094867706, 0.0536632239818573, 0.061833471059799194, 0.04313310235738754, -0.32807767391204834, 0.25284287333488464, -0.09328986704349518, -0.24625074863433838, -0.17961646616458893, -0.011658705770969391, -0.038385048508644104, -0.19487406313419342, -0.2396782487630844, 0.20479410886764526, 0.044827889651060104, -0.2937813401222229, 0.06940848380327225, -0.25055044889450073, 0.09080768376588821, -0.07375732809305191, 0.09955155104398727, -0.3038039207458496, 0.005049481987953186, 0.364831805229187, -0.20864492654800415, -0.20678751170635223, 0.3426254093647003, -0.03812296688556671, -0.11980237066745758, -0.2006416618824005, 0.13849708437919617, 0.36888518929481506, -0.40817150473594666, -0.03545752540230751, 0.0491519533097744, 0.2197423130273819, 0.16326451301574707, 0.16427694261074066, 0.2157881259918213, -0.1765475571155548, 0.17065204679965973, -0.36845678091049194, -0.3288734257221222, 0.4158748388290405, 0.011359531432390213, 0.19417399168014526, 0.029639892280101776, 0.1662595272064209, 0.001107214018702507, -0.14559175074100494, -0.17908841371536255, 0.10977235436439514, 0.01751823164522648, 0.05696380138397217, -0.05286532640457153, 0.26533856987953186, 0.4178846478462219, -0.007606327999383211, 0.07748520374298096, 0.06420212984085083, 0.0036086412146687508, -0.1160660982131958, -0.14117537438869476, 0.16353467106819153, 0.10173472762107849, 0.01773945614695549, 0.07958688586950302, -0.0039025358855724335, 0.04279405623674393, -0.21024154126644135, 0.3398745357990265, 0.2861105501651764, 0.09775926917791367, 0.40198683738708496, 0.36421114206314087, -0.10018058866262436, -0.1780906617641449, 0.13998109102249146, 0.04036015272140503, 0.17873722314834595, 0.1127701997756958, 0.13480211794376373, -0.021079659461975098, 0.07906801998615265, 0.18076935410499573, 0.213412344455719, -0.3061069846153259, 0.214528888463974, 0.04603289067745209, -0.304535448551178, 0.11340565979480743, 0.18224933743476868, -0.060641203075647354, 0.48235559463500977, -0.1592118740081787, 0.1251029521226883, 0.39255303144454956, 0.1670965999364853, -0.41053295135498047, -0.07996223866939545, 0.32610613107681274, 0.08820538967847824, -0.07786692678928375, 0.017463691532611847, 0.011662308126688004, -0.36288902163505554, 0.37056970596313477, 0.20260107517242432, 0.27336594462394714, -0.10349589586257935, 0.4147837162017822, 0.4607183039188385, 0.08928601443767548, -0.10097014904022217, 0.2551831305027008, -0.17657597362995148, 0.25185883045196533, 0.6028957962989807, -0.15398302674293518, 0.10235487669706345, 0.05931699275970459, 0.2546626627445221, 0.0828360915184021, -0.3712722361087799, -0.5648518800735474, 0.2252015918493271, -0.13383466005325317, 0.01972772926092148, 0.040877941995859146, 0.40940433740615845, 0.17511260509490967, -0.07257742434740067, -0.3387376666069031, -0.2950591444969177, -0.24094492197036743, 0.06125553324818611, -0.048667967319488525, -0.39748427271842957, -0.06548172235488892, 0.026994425803422928, -0.051775526255369186, -0.11366336047649384, 0.27537718415260315, -0.06408514082431793, -0.404360294342041, -0.15767565369606018, 0.18155595660209656, 0.37276142835617065, 0.09641104191541672, -0.1554260104894638, 0.2109927535057068, 0.2434033751487732, 0.03292182460427284, 0.08297418802976608, 0.29364874958992004, 0.4390777051448822, 0.2707827091217041, 0.05060660466551781, -0.01621018722653389, 0.18598292768001556, -0.11949718743562698, 0.15814441442489624, 0.20075982809066772, -0.30768322944641113, 0.09850050508975983, -0.01740395650267601, 0.1406882256269455, -0.06385967135429382, 0.19443678855895996, -0.12976400554180145, 0.22686313092708588, -0.532724916934967, 0.07162871211767197, -0.1680387556552887, -0.10884374380111694, -0.12903046607971191, 0.22895359992980957, -0.333189994096756, -0.2267201542854309, 0.2730574309825897, 0.06936207413673401, 0.009592164307832718, 0.2673299312591553, 0.03266995772719383, -0.15973274409770966, 0.15364694595336914, 0.2203376442193985, 0.15984874963760376, -0.29031941294670105, -0.3306838274002075, -0.4528311789035797, 0.00855991244316101, 0.026859130710363388, 0.3244035243988037, -0.20155858993530273, -0.11409763246774673, -0.2526094615459442, -0.02886722981929779, 0.4957997798919678, 0.04034644365310669, 0.2946101427078247, 0.004561007022857666, -0.42161792516708374, -0.04315909370779991, 0.20885266363620758, -0.05194767564535141, -0.04269643872976303, -0.5033798217773438, -0.1376316398382187, 0.08641179651021957, -0.09984798729419708, -0.15372134745121002, 0.13674162328243256, -0.16653066873550415, 0.023983702063560486, 0.8094243407249451, 0.0855741798877716, 0.6356728076934814, -0.10314077138900757, -0.012256872840225697, -0.4340739846229553, -0.5135287642478943, 0.040885500609874725, 0.09606985002756119, 0.028228413313627243, 0.5386804342269897, -0.40883493423461914, -0.11444643139839172, -0.12336253374814987, 0.2872782349586487, 0.08475111424922943, 0.14293259382247925, -0.35204750299453735, 0.04950695484876633, -0.34726181626319885, 0.04756177216768265, -0.2015838623046875, 0.09372001886367798, 0.06344207376241684, -0.03364303335547447, -0.13188576698303223, -0.2346055507659912, 0.5741701126098633, -0.31822100281715393, 0.017196588218212128, -0.20539633929729462, 0.16087646782398224, 0.19501513242721558, -0.24939987063407898, -0.37660184502601624, 0.1034565344452858, 0.5223572254180908, 0.21953681111335754, -0.2243412286043167, 0.3346847891807556, -0.11965794861316681, -0.06567592173814774, 0.11322501301765442, 0.19633156061172485, 0.07418203353881836, -0.22253546118736267, 0.09397116303443909, -0.31466585397720337 ]
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
@albertvillanova Thanks for the reply. I tried removing the entire cache and reloading the dataset as you suggest. However, the same issue still exists. As a test, I switch to a new platform, which (is a Windows system and) hasn't downloaded huggingface dataset before, and the dataset is loaded successfully. So I think "a corrupted cache" explanation makes sense. I wonder, besides `~/.cache/huggingface`, is there any other directory that may save the cache thing? As a side note, I am using `datasets==2.20.0` and proxy `export HF_ENDPOINT=https://hf-mirror.com`.
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2
86
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2 @albertvillanova Thanks for the reply. I tried removing the entire cache and reloading the dataset as you suggest. However, the same issue still exists. As a test, I switch to a new platform, which (is a Windows system and) hasn't downloaded huggingface dataset before, and the dataset is loaded successfully. So I think "a corrupted cache" explanation makes sense. I wonder, besides `~/.cache/huggingface`, is there any other directory that may save the cache thing? As a side note, I am using `datasets==2.20.0` and proxy `export HF_ENDPOINT=https://hf-mirror.com`.
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.1673109382390976, 0.09469642490148544, -0.12878842651844025, 0.07063333690166473, 0.32241034507751465, 0.02620493248105049, 0.19688363373279572, -0.20495252311229706, 0.2669195234775543, -0.4299952983856201, -0.05025388300418854, -0.5118574500083923, 0.1403893232345581, -0.07259971648454666, 0.3794679641723633, 0.02385059744119644, -0.6958081722259521, 0.44850096106529236, -0.20207393169403076, 0.2992042601108551, 0.49243301153182983, -0.00012066363706253469, 0.01928948611021042, 0.3469124436378479, -0.08317720890045166, -0.11738654971122742, -0.05980360507965088, -0.14499206840991974, -0.19902335107326508, 0.022213812917470932, -0.2882561981678009, -0.014482324942946434, -0.32274869084358215, 0.015865202993154526, -0.01316012442111969, 0.28171390295028687, 0.5431941747665405, 0.1330081820487976, 0.1479310244321823, 0.39817681908607483, -0.1542314738035202, 0.07552634924650192, -0.27447015047073364, -0.01908506453037262, 0.23912999033927917, -0.08974960446357727, -0.07092311978340149, 0.2659449577331543, 0.13223052024841309, -0.2828100025653839, -0.17826257646083832, 0.2492561936378479, -0.017540816217660904, -0.11171411722898483, -0.3811374008655548, 0.31400471925735474, 0.13975772261619568, 0.42582520842552185, -0.38074347376823425, -0.38033801317214966, -0.1683962643146515, 0.20151138305664062, -0.022123482078313828, 0.4386742413043976, 0.006013292353600264, 0.25066131353378296, 0.16168321669101715, -0.04256672412157059, -0.09226145595312119, -0.17877313494682312, 0.19423139095306396, -0.10208393633365631, -0.024914659559726715, -0.09587426483631134, 0.04586704075336456, 0.2314188927412033, -0.10027109086513519, 0.04329567775130272, -0.04045218974351883, -0.31813836097717285, 0.22126537561416626, -0.3310926556587219, -0.04149278253316879, 0.021100010722875595, 0.37260234355926514, 0.04357099533081055, -0.03800217807292938, -0.15389499068260193, -0.15865910053253174, -0.21904052793979645, 0.04323819652199745, -0.2167455106973648, 0.0561506487429142, 0.10338110476732254, 0.23301638662815094, 0.18303918838500977, 0.10128527134656906, -0.020585210993885994, -0.2543068826198578, -0.1281110793352127, -0.495686411857605, -0.14644773304462433, 0.30492228269577026, 0.44477009773254395, -0.4531577527523041, -0.5866712331771851, 0.26064440608024597, -0.42576807737350464, -0.03383442759513855, 0.10021638125181198, 0.36175599694252014, -0.13488446176052094, 0.34633806347846985, 0.05167446285486221, 0.2822863459587097, -0.1180596724152565, -0.20207518339157104, -0.1771644502878189, 0.1411392241716385, -0.19642393290996552, 0.07668192684650421, 0.22601382434368134, -0.4352952241897583, 0.31519436836242676, 0.10053573548793793, 0.3195825219154358, 0.024610884487628937, -0.03942642733454704, -0.06250287592411041, -0.3420781195163727, 0.29523801803588867, -0.2975321114063263, 0.03572583198547363, 0.1402018517255783, -0.2860606610774994, -0.06302879750728607, 0.18216350674629211, -0.32619377970695496, -0.02672683820128441, -0.18541967868804932, 0.052909623831510544, -0.1444951295852661, 0.05327868461608887, -0.4641789495944977, -0.034403253346681595, -0.09688795357942581, -0.27016761898994446, 0.09257107228040695, -0.18675367534160614, 0.21426188945770264, -0.24912060797214508, 0.1467367559671402, 0.6955875754356384, -0.5375068783760071, -0.07292602956295013, 0.1932041496038437, -0.05842846259474754, 0.035234034061431885, 0.10900452733039856, -0.1654689460992813, 0.13702718913555145, -0.3446011543273926, -0.10282328724861145, 0.15042896568775177, -0.4401116967201233, -0.6035734415054321, 0.10642585903406143, 0.013413652777671814, 0.22816316783428192, 0.12718459963798523, -0.03874368593096733, -0.4771975576877594, -0.023053469136357307, -0.10390527546405792, -0.30530285835266113, -0.012857554480433464, -0.13113047182559967, -0.23246614634990692, -0.15119221806526184, 0.5078813433647156, 0.07603226602077484, 0.2369411736726761, 0.08104918897151947, 0.13708731532096863, 0.1925928145647049, 0.2370634377002716, -0.2821579873561859, -0.22671422362327576, 0.0899062305688858, 0.29176875948905945, -0.03146445006132126, 0.04327007010579109, -0.04735543951392174, -0.652544379234314, 0.3559955060482025, 0.03991517424583435, -0.09408517181873322, 0.14504382014274597, -0.08631426095962524, -0.1655561923980713, -0.25147074460983276, -0.2675711214542389, -0.2202230989933014, -0.019351119175553322, -0.016915977001190186, 0.017483461648225784, 0.06582993268966675, -0.27473998069763184, 0.6899194717407227, -0.3939708173274994, 0.14065279066562653, -0.2124442160129547, 0.5503130555152893, -0.03201579302549362, 0.059807199984788895, -0.012553738430142403, 0.13051466643810272, 0.30562469363212585, -0.09303276985883713, -0.07941249758005142, 0.3704999089241028, 0.006911961827427149, 0.16692501306533813, -0.05065783113241196, 0.25168687105178833, 0.26661309599876404, -0.2968882918357849, 0.2391955852508545, 0.2839130163192749, 0.05913250148296356, 0.05797424167394638, 0.005060840398073196, 0.24801266193389893, 0.10853447020053864, 0.1219538152217865, 0.05764736980199814, -0.17246036231517792, 0.17578260600566864, -0.05663055181503296, 0.12039273232221603, -0.0433434396982193, 0.024791203439235687, 0.09358195960521698, 0.5590724945068359, -0.14896759390830994, -0.2962900996208191, -0.13456660509109497, 0.4552347958087921, 0.14434154331684113, -0.13991641998291016, -0.026227131485939026, -0.11647037416696548, 0.14453095197677612, 0.21291103959083557, 0.10801537334918976, 0.3510432839393616, 0.2801332473754883, -0.5974588990211487, 0.22917574644088745, -0.12576045095920563, -0.0784912258386612, 0.16016629338264465, -0.07382656633853912, 0.07491812855005264, 0.3334081470966339, 0.0019282088615000248, 0.19912923872470856, -0.2173793613910675, -0.39564934372901917, -0.2351122349500656, 0.2192082405090332, -0.4444912075996399, 0.010945873335003853, -0.21578606963157654, -0.1543773114681244, -0.07392406463623047, 0.04753128066658974, -0.06849750876426697, -0.13562317192554474, -0.11906704306602478, 0.1703486293554306, 0.08466315269470215, 0.03125852346420288, -0.6403214931488037, 0.01372922956943512, -0.10076966136693954, -0.1925148218870163, -0.18880145251750946, 0.14538413286209106, -0.17631614208221436, -0.010183773934841156, 0.4653300940990448, -0.13922373950481415, 0.07035437226295471, -0.49369925260543823, 0.02268737554550171, -0.21780750155448914, -0.5930320620536804, -0.06939332187175751, -0.10381197929382324, 0.23391598463058472, 0.126523956656456, 0.11554829031229019, -0.04536612331867218, -0.3656386137008667, 0.16471140086650848, 0.026804188266396523, -0.17205987870693207, 0.1776982545852661, -0.07045034319162369, -0.14960931241512299, 0.09931671619415283, -0.7325296998023987, 0.06186218559741974, -0.21140071749687195, 0.17415395379066467, 0.08074897527694702, 0.02521970123052597, 0.2991049587726593, 0.1805073469877243, 0.307908833026886, 0.08367352187633514, -0.18202131986618042, 0.010981274768710136, -0.2159576416015625, 0.3450257480144501, 0.03751088306307793, -0.1181052178144455, 0.16258791089057922, 0.0450231209397316, 0.15126389265060425, -0.07289328426122665, -0.4477995038032532, 0.016055237501859665, -0.2131376564502716, 0.33122336864471436, -0.12799137830734253, -0.15406621992588043, 0.3858329951763153, 0.03730813413858414, 0.12066580355167389, -0.15293461084365845, -0.027093948796391487, -0.1205233708024025, 0.2460719347000122, 0.19039607048034668, -0.22846141457557678, 0.5267710089683533, -0.21337635815143585, 0.1943134367465973, 0.2366066575050354, -0.14358949661254883, 0.3200841248035431, -0.17547549307346344, 0.5637099742889404, -0.374299019575119, -0.3002450466156006, 0.17194733023643494, 0.25916585326194763, 0.039200492203235626, -0.03866566717624664, -0.16318657994270325, -0.03205063194036484, -0.23924417793750763, -0.12447941303253174, -0.4805607199668884, 0.044979777187108994, -0.13710801303386688, 0.10707380622625351, 0.07221794873476028, 0.00023132190108299255, 0.1654784381389618, 0.1553042232990265, -0.18448886275291443, 0.20680354535579681, 0.3229154348373413, 0.2776373028755188, -0.05239993333816528, -0.7211449146270752, -0.3382638394832611, -0.33248433470726013, 0.4898707866668701, 0.15872885286808014, 0.09349950402975082, 0.16168782114982605, -0.04446743428707123, -0.1535758227109909, -0.20246872305870056, 0.5855938196182251, -0.2085537165403366, -0.15689823031425476, 0.3103548288345337, 0.09779070317745209, -0.144226536154747, -0.21549326181411743, -0.15339675545692444, 0.35497212409973145, 0.06769520789384842, 0.44606512784957886, -0.012783072888851166, -0.17859682440757751, 0.32916632294654846, 0.39623141288757324, -0.10084369033575058, 0.012522722594439983, -0.2164147049188614, 0.15831851959228516, 0.03815337270498276, -0.038844890892505646, -0.1345280110836029, 0.3791518211364746, -0.17897719144821167, -0.18548530340194702, -0.11116273701190948, -0.34299954771995544, 0.29436856508255005, 0.32736676931381226, 0.5280426144599915, 0.032372910529375076, 0.2896404266357422, 0.2594362199306488, 0.025546390563249588, 0.813024640083313, 0.3938734531402588, 0.09700299799442291, -0.16714584827423096, -0.1696544885635376, 0.1400681436061859, 0.2687196433544159, 0.158284530043602, -0.13553428649902344, 0.016789279878139496, -0.1615501344203949, 0.0685495063662529, -0.10237594693899155, 0.12742917239665985, 0.3834613859653473, 0.06662273406982422, -0.4211311936378479, -0.3310449421405792, 0.37849047780036926, -0.04159644991159439, 0.06444208323955536, 0.23167026042938232, 0.3991468548774719, -0.28051865100860596, -0.14158283174037933, -0.06993842869997025, 0.7818910479545593, 0.1888568103313446, -0.021638687700033188, 0.19186854362487793, -0.09989118576049805, 0.30720314383506775, -0.459031879901886, 0.12848913669586182, -0.4941147267818451, -0.17331606149673462, -0.10538969933986664, -0.1505172699689865, 0.2728251814842224, 0.20999574661254883, -0.253799706697464, 0.4802767038345337, -0.2117661088705063, 0.23737984895706177, -0.09534399956464767, 0.05760101228952408, -0.16801901161670685, 0.25554516911506653, -0.43884992599487305, 0.02699108049273491, 0.10594606399536133, 0.11452294886112213, -0.2314448356628418, 0.008271612226963043, -0.04769138619303703, -0.3490656614303589, -0.25006914138793945, 0.38084158301353455, -0.46623557806015015, 0.029804427176713943, 0.3340104818344116, -0.23817680776119232, 0.16812583804130554, 0.40198859572410583, 0.3803263306617737, 0.2154344767332077, -0.3112197518348694, 0.19210611283779144, -0.3263019621372223, -0.08456164598464966, 0.22025974094867706, 0.0536632239818573, 0.061833471059799194, 0.04313310235738754, -0.32807767391204834, 0.25284287333488464, -0.09328986704349518, -0.24625074863433838, -0.17961646616458893, -0.011658705770969391, -0.038385048508644104, -0.19487406313419342, -0.2396782487630844, 0.20479410886764526, 0.044827889651060104, -0.2937813401222229, 0.06940848380327225, -0.25055044889450073, 0.09080768376588821, -0.07375732809305191, 0.09955155104398727, -0.3038039207458496, 0.005049481987953186, 0.364831805229187, -0.20864492654800415, -0.20678751170635223, 0.3426254093647003, -0.03812296688556671, -0.11980237066745758, -0.2006416618824005, 0.13849708437919617, 0.36888518929481506, -0.40817150473594666, -0.03545752540230751, 0.0491519533097744, 0.2197423130273819, 0.16326451301574707, 0.16427694261074066, 0.2157881259918213, -0.1765475571155548, 0.17065204679965973, -0.36845678091049194, -0.3288734257221222, 0.4158748388290405, 0.011359531432390213, 0.19417399168014526, 0.029639892280101776, 0.1662595272064209, 0.001107214018702507, -0.14559175074100494, -0.17908841371536255, 0.10977235436439514, 0.01751823164522648, 0.05696380138397217, -0.05286532640457153, 0.26533856987953186, 0.4178846478462219, -0.007606327999383211, 0.07748520374298096, 0.06420212984085083, 0.0036086412146687508, -0.1160660982131958, -0.14117537438869476, 0.16353467106819153, 0.10173472762107849, 0.01773945614695549, 0.07958688586950302, -0.0039025358855724335, 0.04279405623674393, -0.21024154126644135, 0.3398745357990265, 0.2861105501651764, 0.09775926917791367, 0.40198683738708496, 0.36421114206314087, -0.10018058866262436, -0.1780906617641449, 0.13998109102249146, 0.04036015272140503, 0.17873722314834595, 0.1127701997756958, 0.13480211794376373, -0.021079659461975098, 0.07906801998615265, 0.18076935410499573, 0.213412344455719, -0.3061069846153259, 0.214528888463974, 0.04603289067745209, -0.304535448551178, 0.11340565979480743, 0.18224933743476868, -0.060641203075647354, 0.48235559463500977, -0.1592118740081787, 0.1251029521226883, 0.39255303144454956, 0.1670965999364853, -0.41053295135498047, -0.07996223866939545, 0.32610613107681274, 0.08820538967847824, -0.07786692678928375, 0.017463691532611847, 0.011662308126688004, -0.36288902163505554, 0.37056970596313477, 0.20260107517242432, 0.27336594462394714, -0.10349589586257935, 0.4147837162017822, 0.4607183039188385, 0.08928601443767548, -0.10097014904022217, 0.2551831305027008, -0.17657597362995148, 0.25185883045196533, 0.6028957962989807, -0.15398302674293518, 0.10235487669706345, 0.05931699275970459, 0.2546626627445221, 0.0828360915184021, -0.3712722361087799, -0.5648518800735474, 0.2252015918493271, -0.13383466005325317, 0.01972772926092148, 0.040877941995859146, 0.40940433740615845, 0.17511260509490967, -0.07257742434740067, -0.3387376666069031, -0.2950591444969177, -0.24094492197036743, 0.06125553324818611, -0.048667967319488525, -0.39748427271842957, -0.06548172235488892, 0.026994425803422928, -0.051775526255369186, -0.11366336047649384, 0.27537718415260315, -0.06408514082431793, -0.404360294342041, -0.15767565369606018, 0.18155595660209656, 0.37276142835617065, 0.09641104191541672, -0.1554260104894638, 0.2109927535057068, 0.2434033751487732, 0.03292182460427284, 0.08297418802976608, 0.29364874958992004, 0.4390777051448822, 0.2707827091217041, 0.05060660466551781, -0.01621018722653389, 0.18598292768001556, -0.11949718743562698, 0.15814441442489624, 0.20075982809066772, -0.30768322944641113, 0.09850050508975983, -0.01740395650267601, 0.1406882256269455, -0.06385967135429382, 0.19443678855895996, -0.12976400554180145, 0.22686313092708588, -0.532724916934967, 0.07162871211767197, -0.1680387556552887, -0.10884374380111694, -0.12903046607971191, 0.22895359992980957, -0.333189994096756, -0.2267201542854309, 0.2730574309825897, 0.06936207413673401, 0.009592164307832718, 0.2673299312591553, 0.03266995772719383, -0.15973274409770966, 0.15364694595336914, 0.2203376442193985, 0.15984874963760376, -0.29031941294670105, -0.3306838274002075, -0.4528311789035797, 0.00855991244316101, 0.026859130710363388, 0.3244035243988037, -0.20155858993530273, -0.11409763246774673, -0.2526094615459442, -0.02886722981929779, 0.4957997798919678, 0.04034644365310669, 0.2946101427078247, 0.004561007022857666, -0.42161792516708374, -0.04315909370779991, 0.20885266363620758, -0.05194767564535141, -0.04269643872976303, -0.5033798217773438, -0.1376316398382187, 0.08641179651021957, -0.09984798729419708, -0.15372134745121002, 0.13674162328243256, -0.16653066873550415, 0.023983702063560486, 0.8094243407249451, 0.0855741798877716, 0.6356728076934814, -0.10314077138900757, -0.012256872840225697, -0.4340739846229553, -0.5135287642478943, 0.040885500609874725, 0.09606985002756119, 0.028228413313627243, 0.5386804342269897, -0.40883493423461914, -0.11444643139839172, -0.12336253374814987, 0.2872782349586487, 0.08475111424922943, 0.14293259382247925, -0.35204750299453735, 0.04950695484876633, -0.34726181626319885, 0.04756177216768265, -0.2015838623046875, 0.09372001886367798, 0.06344207376241684, -0.03364303335547447, -0.13188576698303223, -0.2346055507659912, 0.5741701126098633, -0.31822100281715393, 0.017196588218212128, -0.20539633929729462, 0.16087646782398224, 0.19501513242721558, -0.24939987063407898, -0.37660184502601624, 0.1034565344452858, 0.5223572254180908, 0.21953681111335754, -0.2243412286043167, 0.3346847891807556, -0.11965794861316681, -0.06567592173814774, 0.11322501301765442, 0.19633156061172485, 0.07418203353881836, -0.22253546118736267, 0.09397116303443909, -0.31466585397720337 ]
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
Ho @ZhangGe6, As far as I know, that directory is the only one where the cache is saved, unless you configured another one. You can check it: ```python import datasets.config print(datasets.config.HF_CACHE_HOME) # ~/.cache/huggingface print(datasets.config.HF_DATASETS_CACHE) # ~/.cache/huggingface/datasets print(datasets.config.HF_MODULES_CACHE) # ~/.cache/huggingface/modules print(datasets.config.DOWNLOADED_DATASETS_PATH) # ~/.cache/huggingface/datasets/downloads print(datasets.config.EXTRACTED_DATASETS_PATH) # ~/.cache/huggingface/datasets/downloads/extracted ``` Additionally, `datasets` uses `huggingface_hub`, but its cache directory should also be inside `~/.cache/huggingface`, unless you configured another one. You can check it: ```python import huggingface_hub.constants print(huggingface_hub.constants.HF_HOME) # ~/.cache/huggingface print(huggingface_hub.constants.HF_HUB_CACHE) # ~/.cache/huggingface/hub ```
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2
78
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2 Ho @ZhangGe6, As far as I know, that directory is the only one where the cache is saved, unless you configured another one. You can check it: ```python import datasets.config print(datasets.config.HF_CACHE_HOME) # ~/.cache/huggingface print(datasets.config.HF_DATASETS_CACHE) # ~/.cache/huggingface/datasets print(datasets.config.HF_MODULES_CACHE) # ~/.cache/huggingface/modules print(datasets.config.DOWNLOADED_DATASETS_PATH) # ~/.cache/huggingface/datasets/downloads print(datasets.config.EXTRACTED_DATASETS_PATH) # ~/.cache/huggingface/datasets/downloads/extracted ``` Additionally, `datasets` uses `huggingface_hub`, but its cache directory should also be inside `~/.cache/huggingface`, unless you configured another one. You can check it: ```python import huggingface_hub.constants print(huggingface_hub.constants.HF_HOME) # ~/.cache/huggingface print(huggingface_hub.constants.HF_HUB_CACHE) # ~/.cache/huggingface/hub ```
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.1673109382390976, 0.09469642490148544, -0.12878842651844025, 0.07063333690166473, 0.32241034507751465, 0.02620493248105049, 0.19688363373279572, -0.20495252311229706, 0.2669195234775543, -0.4299952983856201, -0.05025388300418854, -0.5118574500083923, 0.1403893232345581, -0.07259971648454666, 0.3794679641723633, 0.02385059744119644, -0.6958081722259521, 0.44850096106529236, -0.20207393169403076, 0.2992042601108551, 0.49243301153182983, -0.00012066363706253469, 0.01928948611021042, 0.3469124436378479, -0.08317720890045166, -0.11738654971122742, -0.05980360507965088, -0.14499206840991974, -0.19902335107326508, 0.022213812917470932, -0.2882561981678009, -0.014482324942946434, -0.32274869084358215, 0.015865202993154526, -0.01316012442111969, 0.28171390295028687, 0.5431941747665405, 0.1330081820487976, 0.1479310244321823, 0.39817681908607483, -0.1542314738035202, 0.07552634924650192, -0.27447015047073364, -0.01908506453037262, 0.23912999033927917, -0.08974960446357727, -0.07092311978340149, 0.2659449577331543, 0.13223052024841309, -0.2828100025653839, -0.17826257646083832, 0.2492561936378479, -0.017540816217660904, -0.11171411722898483, -0.3811374008655548, 0.31400471925735474, 0.13975772261619568, 0.42582520842552185, -0.38074347376823425, -0.38033801317214966, -0.1683962643146515, 0.20151138305664062, -0.022123482078313828, 0.4386742413043976, 0.006013292353600264, 0.25066131353378296, 0.16168321669101715, -0.04256672412157059, -0.09226145595312119, -0.17877313494682312, 0.19423139095306396, -0.10208393633365631, -0.024914659559726715, -0.09587426483631134, 0.04586704075336456, 0.2314188927412033, -0.10027109086513519, 0.04329567775130272, -0.04045218974351883, -0.31813836097717285, 0.22126537561416626, -0.3310926556587219, -0.04149278253316879, 0.021100010722875595, 0.37260234355926514, 0.04357099533081055, -0.03800217807292938, -0.15389499068260193, -0.15865910053253174, -0.21904052793979645, 0.04323819652199745, -0.2167455106973648, 0.0561506487429142, 0.10338110476732254, 0.23301638662815094, 0.18303918838500977, 0.10128527134656906, -0.020585210993885994, -0.2543068826198578, -0.1281110793352127, -0.495686411857605, -0.14644773304462433, 0.30492228269577026, 0.44477009773254395, -0.4531577527523041, -0.5866712331771851, 0.26064440608024597, -0.42576807737350464, -0.03383442759513855, 0.10021638125181198, 0.36175599694252014, -0.13488446176052094, 0.34633806347846985, 0.05167446285486221, 0.2822863459587097, -0.1180596724152565, -0.20207518339157104, -0.1771644502878189, 0.1411392241716385, -0.19642393290996552, 0.07668192684650421, 0.22601382434368134, -0.4352952241897583, 0.31519436836242676, 0.10053573548793793, 0.3195825219154358, 0.024610884487628937, -0.03942642733454704, -0.06250287592411041, -0.3420781195163727, 0.29523801803588867, -0.2975321114063263, 0.03572583198547363, 0.1402018517255783, -0.2860606610774994, -0.06302879750728607, 0.18216350674629211, -0.32619377970695496, -0.02672683820128441, -0.18541967868804932, 0.052909623831510544, -0.1444951295852661, 0.05327868461608887, -0.4641789495944977, -0.034403253346681595, -0.09688795357942581, -0.27016761898994446, 0.09257107228040695, -0.18675367534160614, 0.21426188945770264, -0.24912060797214508, 0.1467367559671402, 0.6955875754356384, -0.5375068783760071, -0.07292602956295013, 0.1932041496038437, -0.05842846259474754, 0.035234034061431885, 0.10900452733039856, -0.1654689460992813, 0.13702718913555145, -0.3446011543273926, -0.10282328724861145, 0.15042896568775177, -0.4401116967201233, -0.6035734415054321, 0.10642585903406143, 0.013413652777671814, 0.22816316783428192, 0.12718459963798523, -0.03874368593096733, -0.4771975576877594, -0.023053469136357307, -0.10390527546405792, -0.30530285835266113, -0.012857554480433464, -0.13113047182559967, -0.23246614634990692, -0.15119221806526184, 0.5078813433647156, 0.07603226602077484, 0.2369411736726761, 0.08104918897151947, 0.13708731532096863, 0.1925928145647049, 0.2370634377002716, -0.2821579873561859, -0.22671422362327576, 0.0899062305688858, 0.29176875948905945, -0.03146445006132126, 0.04327007010579109, -0.04735543951392174, -0.652544379234314, 0.3559955060482025, 0.03991517424583435, -0.09408517181873322, 0.14504382014274597, -0.08631426095962524, -0.1655561923980713, -0.25147074460983276, -0.2675711214542389, -0.2202230989933014, -0.019351119175553322, -0.016915977001190186, 0.017483461648225784, 0.06582993268966675, -0.27473998069763184, 0.6899194717407227, -0.3939708173274994, 0.14065279066562653, -0.2124442160129547, 0.5503130555152893, -0.03201579302549362, 0.059807199984788895, -0.012553738430142403, 0.13051466643810272, 0.30562469363212585, -0.09303276985883713, -0.07941249758005142, 0.3704999089241028, 0.006911961827427149, 0.16692501306533813, -0.05065783113241196, 0.25168687105178833, 0.26661309599876404, -0.2968882918357849, 0.2391955852508545, 0.2839130163192749, 0.05913250148296356, 0.05797424167394638, 0.005060840398073196, 0.24801266193389893, 0.10853447020053864, 0.1219538152217865, 0.05764736980199814, -0.17246036231517792, 0.17578260600566864, -0.05663055181503296, 0.12039273232221603, -0.0433434396982193, 0.024791203439235687, 0.09358195960521698, 0.5590724945068359, -0.14896759390830994, -0.2962900996208191, -0.13456660509109497, 0.4552347958087921, 0.14434154331684113, -0.13991641998291016, -0.026227131485939026, -0.11647037416696548, 0.14453095197677612, 0.21291103959083557, 0.10801537334918976, 0.3510432839393616, 0.2801332473754883, -0.5974588990211487, 0.22917574644088745, -0.12576045095920563, -0.0784912258386612, 0.16016629338264465, -0.07382656633853912, 0.07491812855005264, 0.3334081470966339, 0.0019282088615000248, 0.19912923872470856, -0.2173793613910675, -0.39564934372901917, -0.2351122349500656, 0.2192082405090332, -0.4444912075996399, 0.010945873335003853, -0.21578606963157654, -0.1543773114681244, -0.07392406463623047, 0.04753128066658974, -0.06849750876426697, -0.13562317192554474, -0.11906704306602478, 0.1703486293554306, 0.08466315269470215, 0.03125852346420288, -0.6403214931488037, 0.01372922956943512, -0.10076966136693954, -0.1925148218870163, -0.18880145251750946, 0.14538413286209106, -0.17631614208221436, -0.010183773934841156, 0.4653300940990448, -0.13922373950481415, 0.07035437226295471, -0.49369925260543823, 0.02268737554550171, -0.21780750155448914, -0.5930320620536804, -0.06939332187175751, -0.10381197929382324, 0.23391598463058472, 0.126523956656456, 0.11554829031229019, -0.04536612331867218, -0.3656386137008667, 0.16471140086650848, 0.026804188266396523, -0.17205987870693207, 0.1776982545852661, -0.07045034319162369, -0.14960931241512299, 0.09931671619415283, -0.7325296998023987, 0.06186218559741974, -0.21140071749687195, 0.17415395379066467, 0.08074897527694702, 0.02521970123052597, 0.2991049587726593, 0.1805073469877243, 0.307908833026886, 0.08367352187633514, -0.18202131986618042, 0.010981274768710136, -0.2159576416015625, 0.3450257480144501, 0.03751088306307793, -0.1181052178144455, 0.16258791089057922, 0.0450231209397316, 0.15126389265060425, -0.07289328426122665, -0.4477995038032532, 0.016055237501859665, -0.2131376564502716, 0.33122336864471436, -0.12799137830734253, -0.15406621992588043, 0.3858329951763153, 0.03730813413858414, 0.12066580355167389, -0.15293461084365845, -0.027093948796391487, -0.1205233708024025, 0.2460719347000122, 0.19039607048034668, -0.22846141457557678, 0.5267710089683533, -0.21337635815143585, 0.1943134367465973, 0.2366066575050354, -0.14358949661254883, 0.3200841248035431, -0.17547549307346344, 0.5637099742889404, -0.374299019575119, -0.3002450466156006, 0.17194733023643494, 0.25916585326194763, 0.039200492203235626, -0.03866566717624664, -0.16318657994270325, -0.03205063194036484, -0.23924417793750763, -0.12447941303253174, -0.4805607199668884, 0.044979777187108994, -0.13710801303386688, 0.10707380622625351, 0.07221794873476028, 0.00023132190108299255, 0.1654784381389618, 0.1553042232990265, -0.18448886275291443, 0.20680354535579681, 0.3229154348373413, 0.2776373028755188, -0.05239993333816528, -0.7211449146270752, -0.3382638394832611, -0.33248433470726013, 0.4898707866668701, 0.15872885286808014, 0.09349950402975082, 0.16168782114982605, -0.04446743428707123, -0.1535758227109909, -0.20246872305870056, 0.5855938196182251, -0.2085537165403366, -0.15689823031425476, 0.3103548288345337, 0.09779070317745209, -0.144226536154747, -0.21549326181411743, -0.15339675545692444, 0.35497212409973145, 0.06769520789384842, 0.44606512784957886, -0.012783072888851166, -0.17859682440757751, 0.32916632294654846, 0.39623141288757324, -0.10084369033575058, 0.012522722594439983, -0.2164147049188614, 0.15831851959228516, 0.03815337270498276, -0.038844890892505646, -0.1345280110836029, 0.3791518211364746, -0.17897719144821167, -0.18548530340194702, -0.11116273701190948, -0.34299954771995544, 0.29436856508255005, 0.32736676931381226, 0.5280426144599915, 0.032372910529375076, 0.2896404266357422, 0.2594362199306488, 0.025546390563249588, 0.813024640083313, 0.3938734531402588, 0.09700299799442291, -0.16714584827423096, -0.1696544885635376, 0.1400681436061859, 0.2687196433544159, 0.158284530043602, -0.13553428649902344, 0.016789279878139496, -0.1615501344203949, 0.0685495063662529, -0.10237594693899155, 0.12742917239665985, 0.3834613859653473, 0.06662273406982422, -0.4211311936378479, -0.3310449421405792, 0.37849047780036926, -0.04159644991159439, 0.06444208323955536, 0.23167026042938232, 0.3991468548774719, -0.28051865100860596, -0.14158283174037933, -0.06993842869997025, 0.7818910479545593, 0.1888568103313446, -0.021638687700033188, 0.19186854362487793, -0.09989118576049805, 0.30720314383506775, -0.459031879901886, 0.12848913669586182, -0.4941147267818451, -0.17331606149673462, -0.10538969933986664, -0.1505172699689865, 0.2728251814842224, 0.20999574661254883, -0.253799706697464, 0.4802767038345337, -0.2117661088705063, 0.23737984895706177, -0.09534399956464767, 0.05760101228952408, -0.16801901161670685, 0.25554516911506653, -0.43884992599487305, 0.02699108049273491, 0.10594606399536133, 0.11452294886112213, -0.2314448356628418, 0.008271612226963043, -0.04769138619303703, -0.3490656614303589, -0.25006914138793945, 0.38084158301353455, -0.46623557806015015, 0.029804427176713943, 0.3340104818344116, -0.23817680776119232, 0.16812583804130554, 0.40198859572410583, 0.3803263306617737, 0.2154344767332077, -0.3112197518348694, 0.19210611283779144, -0.3263019621372223, -0.08456164598464966, 0.22025974094867706, 0.0536632239818573, 0.061833471059799194, 0.04313310235738754, -0.32807767391204834, 0.25284287333488464, -0.09328986704349518, -0.24625074863433838, -0.17961646616458893, -0.011658705770969391, -0.038385048508644104, -0.19487406313419342, -0.2396782487630844, 0.20479410886764526, 0.044827889651060104, -0.2937813401222229, 0.06940848380327225, -0.25055044889450073, 0.09080768376588821, -0.07375732809305191, 0.09955155104398727, -0.3038039207458496, 0.005049481987953186, 0.364831805229187, -0.20864492654800415, -0.20678751170635223, 0.3426254093647003, -0.03812296688556671, -0.11980237066745758, -0.2006416618824005, 0.13849708437919617, 0.36888518929481506, -0.40817150473594666, -0.03545752540230751, 0.0491519533097744, 0.2197423130273819, 0.16326451301574707, 0.16427694261074066, 0.2157881259918213, -0.1765475571155548, 0.17065204679965973, -0.36845678091049194, -0.3288734257221222, 0.4158748388290405, 0.011359531432390213, 0.19417399168014526, 0.029639892280101776, 0.1662595272064209, 0.001107214018702507, -0.14559175074100494, -0.17908841371536255, 0.10977235436439514, 0.01751823164522648, 0.05696380138397217, -0.05286532640457153, 0.26533856987953186, 0.4178846478462219, -0.007606327999383211, 0.07748520374298096, 0.06420212984085083, 0.0036086412146687508, -0.1160660982131958, -0.14117537438869476, 0.16353467106819153, 0.10173472762107849, 0.01773945614695549, 0.07958688586950302, -0.0039025358855724335, 0.04279405623674393, -0.21024154126644135, 0.3398745357990265, 0.2861105501651764, 0.09775926917791367, 0.40198683738708496, 0.36421114206314087, -0.10018058866262436, -0.1780906617641449, 0.13998109102249146, 0.04036015272140503, 0.17873722314834595, 0.1127701997756958, 0.13480211794376373, -0.021079659461975098, 0.07906801998615265, 0.18076935410499573, 0.213412344455719, -0.3061069846153259, 0.214528888463974, 0.04603289067745209, -0.304535448551178, 0.11340565979480743, 0.18224933743476868, -0.060641203075647354, 0.48235559463500977, -0.1592118740081787, 0.1251029521226883, 0.39255303144454956, 0.1670965999364853, -0.41053295135498047, -0.07996223866939545, 0.32610613107681274, 0.08820538967847824, -0.07786692678928375, 0.017463691532611847, 0.011662308126688004, -0.36288902163505554, 0.37056970596313477, 0.20260107517242432, 0.27336594462394714, -0.10349589586257935, 0.4147837162017822, 0.4607183039188385, 0.08928601443767548, -0.10097014904022217, 0.2551831305027008, -0.17657597362995148, 0.25185883045196533, 0.6028957962989807, -0.15398302674293518, 0.10235487669706345, 0.05931699275970459, 0.2546626627445221, 0.0828360915184021, -0.3712722361087799, -0.5648518800735474, 0.2252015918493271, -0.13383466005325317, 0.01972772926092148, 0.040877941995859146, 0.40940433740615845, 0.17511260509490967, -0.07257742434740067, -0.3387376666069031, -0.2950591444969177, -0.24094492197036743, 0.06125553324818611, -0.048667967319488525, -0.39748427271842957, -0.06548172235488892, 0.026994425803422928, -0.051775526255369186, -0.11366336047649384, 0.27537718415260315, -0.06408514082431793, -0.404360294342041, -0.15767565369606018, 0.18155595660209656, 0.37276142835617065, 0.09641104191541672, -0.1554260104894638, 0.2109927535057068, 0.2434033751487732, 0.03292182460427284, 0.08297418802976608, 0.29364874958992004, 0.4390777051448822, 0.2707827091217041, 0.05060660466551781, -0.01621018722653389, 0.18598292768001556, -0.11949718743562698, 0.15814441442489624, 0.20075982809066772, -0.30768322944641113, 0.09850050508975983, -0.01740395650267601, 0.1406882256269455, -0.06385967135429382, 0.19443678855895996, -0.12976400554180145, 0.22686313092708588, -0.532724916934967, 0.07162871211767197, -0.1680387556552887, -0.10884374380111694, -0.12903046607971191, 0.22895359992980957, -0.333189994096756, -0.2267201542854309, 0.2730574309825897, 0.06936207413673401, 0.009592164307832718, 0.2673299312591553, 0.03266995772719383, -0.15973274409770966, 0.15364694595336914, 0.2203376442193985, 0.15984874963760376, -0.29031941294670105, -0.3306838274002075, -0.4528311789035797, 0.00855991244316101, 0.026859130710363388, 0.3244035243988037, -0.20155858993530273, -0.11409763246774673, -0.2526094615459442, -0.02886722981929779, 0.4957997798919678, 0.04034644365310669, 0.2946101427078247, 0.004561007022857666, -0.42161792516708374, -0.04315909370779991, 0.20885266363620758, -0.05194767564535141, -0.04269643872976303, -0.5033798217773438, -0.1376316398382187, 0.08641179651021957, -0.09984798729419708, -0.15372134745121002, 0.13674162328243256, -0.16653066873550415, 0.023983702063560486, 0.8094243407249451, 0.0855741798877716, 0.6356728076934814, -0.10314077138900757, -0.012256872840225697, -0.4340739846229553, -0.5135287642478943, 0.040885500609874725, 0.09606985002756119, 0.028228413313627243, 0.5386804342269897, -0.40883493423461914, -0.11444643139839172, -0.12336253374814987, 0.2872782349586487, 0.08475111424922943, 0.14293259382247925, -0.35204750299453735, 0.04950695484876633, -0.34726181626319885, 0.04756177216768265, -0.2015838623046875, 0.09372001886367798, 0.06344207376241684, -0.03364303335547447, -0.13188576698303223, -0.2346055507659912, 0.5741701126098633, -0.31822100281715393, 0.017196588218212128, -0.20539633929729462, 0.16087646782398224, 0.19501513242721558, -0.24939987063407898, -0.37660184502601624, 0.1034565344452858, 0.5223572254180908, 0.21953681111335754, -0.2243412286043167, 0.3346847891807556, -0.11965794861316681, -0.06567592173814774, 0.11322501301765442, 0.19633156061172485, 0.07418203353881836, -0.22253546118736267, 0.09397116303443909, -0.31466585397720337 ]
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
@albertvillanova I checked the directories you listed, and find that they are the same as the ones you provided. I am going to find more clues and will update what I find here.
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2
33
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2 @albertvillanova I checked the directories you listed, and find that they are the same as the ones you provided. I am going to find more clues and will update what I find here.
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.1673109382390976, 0.09469642490148544, -0.12878842651844025, 0.07063333690166473, 0.32241034507751465, 0.02620493248105049, 0.19688363373279572, -0.20495252311229706, 0.2669195234775543, -0.4299952983856201, -0.05025388300418854, -0.5118574500083923, 0.1403893232345581, -0.07259971648454666, 0.3794679641723633, 0.02385059744119644, -0.6958081722259521, 0.44850096106529236, -0.20207393169403076, 0.2992042601108551, 0.49243301153182983, -0.00012066363706253469, 0.01928948611021042, 0.3469124436378479, -0.08317720890045166, -0.11738654971122742, -0.05980360507965088, -0.14499206840991974, -0.19902335107326508, 0.022213812917470932, -0.2882561981678009, -0.014482324942946434, -0.32274869084358215, 0.015865202993154526, -0.01316012442111969, 0.28171390295028687, 0.5431941747665405, 0.1330081820487976, 0.1479310244321823, 0.39817681908607483, -0.1542314738035202, 0.07552634924650192, -0.27447015047073364, -0.01908506453037262, 0.23912999033927917, -0.08974960446357727, -0.07092311978340149, 0.2659449577331543, 0.13223052024841309, -0.2828100025653839, -0.17826257646083832, 0.2492561936378479, -0.017540816217660904, -0.11171411722898483, -0.3811374008655548, 0.31400471925735474, 0.13975772261619568, 0.42582520842552185, -0.38074347376823425, -0.38033801317214966, -0.1683962643146515, 0.20151138305664062, -0.022123482078313828, 0.4386742413043976, 0.006013292353600264, 0.25066131353378296, 0.16168321669101715, -0.04256672412157059, -0.09226145595312119, -0.17877313494682312, 0.19423139095306396, -0.10208393633365631, -0.024914659559726715, -0.09587426483631134, 0.04586704075336456, 0.2314188927412033, -0.10027109086513519, 0.04329567775130272, -0.04045218974351883, -0.31813836097717285, 0.22126537561416626, -0.3310926556587219, -0.04149278253316879, 0.021100010722875595, 0.37260234355926514, 0.04357099533081055, -0.03800217807292938, -0.15389499068260193, -0.15865910053253174, -0.21904052793979645, 0.04323819652199745, -0.2167455106973648, 0.0561506487429142, 0.10338110476732254, 0.23301638662815094, 0.18303918838500977, 0.10128527134656906, -0.020585210993885994, -0.2543068826198578, -0.1281110793352127, -0.495686411857605, -0.14644773304462433, 0.30492228269577026, 0.44477009773254395, -0.4531577527523041, -0.5866712331771851, 0.26064440608024597, -0.42576807737350464, -0.03383442759513855, 0.10021638125181198, 0.36175599694252014, -0.13488446176052094, 0.34633806347846985, 0.05167446285486221, 0.2822863459587097, -0.1180596724152565, -0.20207518339157104, -0.1771644502878189, 0.1411392241716385, -0.19642393290996552, 0.07668192684650421, 0.22601382434368134, -0.4352952241897583, 0.31519436836242676, 0.10053573548793793, 0.3195825219154358, 0.024610884487628937, -0.03942642733454704, -0.06250287592411041, -0.3420781195163727, 0.29523801803588867, -0.2975321114063263, 0.03572583198547363, 0.1402018517255783, -0.2860606610774994, -0.06302879750728607, 0.18216350674629211, -0.32619377970695496, -0.02672683820128441, -0.18541967868804932, 0.052909623831510544, -0.1444951295852661, 0.05327868461608887, -0.4641789495944977, -0.034403253346681595, -0.09688795357942581, -0.27016761898994446, 0.09257107228040695, -0.18675367534160614, 0.21426188945770264, -0.24912060797214508, 0.1467367559671402, 0.6955875754356384, -0.5375068783760071, -0.07292602956295013, 0.1932041496038437, -0.05842846259474754, 0.035234034061431885, 0.10900452733039856, -0.1654689460992813, 0.13702718913555145, -0.3446011543273926, -0.10282328724861145, 0.15042896568775177, -0.4401116967201233, -0.6035734415054321, 0.10642585903406143, 0.013413652777671814, 0.22816316783428192, 0.12718459963798523, -0.03874368593096733, -0.4771975576877594, -0.023053469136357307, -0.10390527546405792, -0.30530285835266113, -0.012857554480433464, -0.13113047182559967, -0.23246614634990692, -0.15119221806526184, 0.5078813433647156, 0.07603226602077484, 0.2369411736726761, 0.08104918897151947, 0.13708731532096863, 0.1925928145647049, 0.2370634377002716, -0.2821579873561859, -0.22671422362327576, 0.0899062305688858, 0.29176875948905945, -0.03146445006132126, 0.04327007010579109, -0.04735543951392174, -0.652544379234314, 0.3559955060482025, 0.03991517424583435, -0.09408517181873322, 0.14504382014274597, -0.08631426095962524, -0.1655561923980713, -0.25147074460983276, -0.2675711214542389, -0.2202230989933014, -0.019351119175553322, -0.016915977001190186, 0.017483461648225784, 0.06582993268966675, -0.27473998069763184, 0.6899194717407227, -0.3939708173274994, 0.14065279066562653, -0.2124442160129547, 0.5503130555152893, -0.03201579302549362, 0.059807199984788895, -0.012553738430142403, 0.13051466643810272, 0.30562469363212585, -0.09303276985883713, -0.07941249758005142, 0.3704999089241028, 0.006911961827427149, 0.16692501306533813, -0.05065783113241196, 0.25168687105178833, 0.26661309599876404, -0.2968882918357849, 0.2391955852508545, 0.2839130163192749, 0.05913250148296356, 0.05797424167394638, 0.005060840398073196, 0.24801266193389893, 0.10853447020053864, 0.1219538152217865, 0.05764736980199814, -0.17246036231517792, 0.17578260600566864, -0.05663055181503296, 0.12039273232221603, -0.0433434396982193, 0.024791203439235687, 0.09358195960521698, 0.5590724945068359, -0.14896759390830994, -0.2962900996208191, -0.13456660509109497, 0.4552347958087921, 0.14434154331684113, -0.13991641998291016, -0.026227131485939026, -0.11647037416696548, 0.14453095197677612, 0.21291103959083557, 0.10801537334918976, 0.3510432839393616, 0.2801332473754883, -0.5974588990211487, 0.22917574644088745, -0.12576045095920563, -0.0784912258386612, 0.16016629338264465, -0.07382656633853912, 0.07491812855005264, 0.3334081470966339, 0.0019282088615000248, 0.19912923872470856, -0.2173793613910675, -0.39564934372901917, -0.2351122349500656, 0.2192082405090332, -0.4444912075996399, 0.010945873335003853, -0.21578606963157654, -0.1543773114681244, -0.07392406463623047, 0.04753128066658974, -0.06849750876426697, -0.13562317192554474, -0.11906704306602478, 0.1703486293554306, 0.08466315269470215, 0.03125852346420288, -0.6403214931488037, 0.01372922956943512, -0.10076966136693954, -0.1925148218870163, -0.18880145251750946, 0.14538413286209106, -0.17631614208221436, -0.010183773934841156, 0.4653300940990448, -0.13922373950481415, 0.07035437226295471, -0.49369925260543823, 0.02268737554550171, -0.21780750155448914, -0.5930320620536804, -0.06939332187175751, -0.10381197929382324, 0.23391598463058472, 0.126523956656456, 0.11554829031229019, -0.04536612331867218, -0.3656386137008667, 0.16471140086650848, 0.026804188266396523, -0.17205987870693207, 0.1776982545852661, -0.07045034319162369, -0.14960931241512299, 0.09931671619415283, -0.7325296998023987, 0.06186218559741974, -0.21140071749687195, 0.17415395379066467, 0.08074897527694702, 0.02521970123052597, 0.2991049587726593, 0.1805073469877243, 0.307908833026886, 0.08367352187633514, -0.18202131986618042, 0.010981274768710136, -0.2159576416015625, 0.3450257480144501, 0.03751088306307793, -0.1181052178144455, 0.16258791089057922, 0.0450231209397316, 0.15126389265060425, -0.07289328426122665, -0.4477995038032532, 0.016055237501859665, -0.2131376564502716, 0.33122336864471436, -0.12799137830734253, -0.15406621992588043, 0.3858329951763153, 0.03730813413858414, 0.12066580355167389, -0.15293461084365845, -0.027093948796391487, -0.1205233708024025, 0.2460719347000122, 0.19039607048034668, -0.22846141457557678, 0.5267710089683533, -0.21337635815143585, 0.1943134367465973, 0.2366066575050354, -0.14358949661254883, 0.3200841248035431, -0.17547549307346344, 0.5637099742889404, -0.374299019575119, -0.3002450466156006, 0.17194733023643494, 0.25916585326194763, 0.039200492203235626, -0.03866566717624664, -0.16318657994270325, -0.03205063194036484, -0.23924417793750763, -0.12447941303253174, -0.4805607199668884, 0.044979777187108994, -0.13710801303386688, 0.10707380622625351, 0.07221794873476028, 0.00023132190108299255, 0.1654784381389618, 0.1553042232990265, -0.18448886275291443, 0.20680354535579681, 0.3229154348373413, 0.2776373028755188, -0.05239993333816528, -0.7211449146270752, -0.3382638394832611, -0.33248433470726013, 0.4898707866668701, 0.15872885286808014, 0.09349950402975082, 0.16168782114982605, -0.04446743428707123, -0.1535758227109909, -0.20246872305870056, 0.5855938196182251, -0.2085537165403366, -0.15689823031425476, 0.3103548288345337, 0.09779070317745209, -0.144226536154747, -0.21549326181411743, -0.15339675545692444, 0.35497212409973145, 0.06769520789384842, 0.44606512784957886, -0.012783072888851166, -0.17859682440757751, 0.32916632294654846, 0.39623141288757324, -0.10084369033575058, 0.012522722594439983, -0.2164147049188614, 0.15831851959228516, 0.03815337270498276, -0.038844890892505646, -0.1345280110836029, 0.3791518211364746, -0.17897719144821167, -0.18548530340194702, -0.11116273701190948, -0.34299954771995544, 0.29436856508255005, 0.32736676931381226, 0.5280426144599915, 0.032372910529375076, 0.2896404266357422, 0.2594362199306488, 0.025546390563249588, 0.813024640083313, 0.3938734531402588, 0.09700299799442291, -0.16714584827423096, -0.1696544885635376, 0.1400681436061859, 0.2687196433544159, 0.158284530043602, -0.13553428649902344, 0.016789279878139496, -0.1615501344203949, 0.0685495063662529, -0.10237594693899155, 0.12742917239665985, 0.3834613859653473, 0.06662273406982422, -0.4211311936378479, -0.3310449421405792, 0.37849047780036926, -0.04159644991159439, 0.06444208323955536, 0.23167026042938232, 0.3991468548774719, -0.28051865100860596, -0.14158283174037933, -0.06993842869997025, 0.7818910479545593, 0.1888568103313446, -0.021638687700033188, 0.19186854362487793, -0.09989118576049805, 0.30720314383506775, -0.459031879901886, 0.12848913669586182, -0.4941147267818451, -0.17331606149673462, -0.10538969933986664, -0.1505172699689865, 0.2728251814842224, 0.20999574661254883, -0.253799706697464, 0.4802767038345337, -0.2117661088705063, 0.23737984895706177, -0.09534399956464767, 0.05760101228952408, -0.16801901161670685, 0.25554516911506653, -0.43884992599487305, 0.02699108049273491, 0.10594606399536133, 0.11452294886112213, -0.2314448356628418, 0.008271612226963043, -0.04769138619303703, -0.3490656614303589, -0.25006914138793945, 0.38084158301353455, -0.46623557806015015, 0.029804427176713943, 0.3340104818344116, -0.23817680776119232, 0.16812583804130554, 0.40198859572410583, 0.3803263306617737, 0.2154344767332077, -0.3112197518348694, 0.19210611283779144, -0.3263019621372223, -0.08456164598464966, 0.22025974094867706, 0.0536632239818573, 0.061833471059799194, 0.04313310235738754, -0.32807767391204834, 0.25284287333488464, -0.09328986704349518, -0.24625074863433838, -0.17961646616458893, -0.011658705770969391, -0.038385048508644104, -0.19487406313419342, -0.2396782487630844, 0.20479410886764526, 0.044827889651060104, -0.2937813401222229, 0.06940848380327225, -0.25055044889450073, 0.09080768376588821, -0.07375732809305191, 0.09955155104398727, -0.3038039207458496, 0.005049481987953186, 0.364831805229187, -0.20864492654800415, -0.20678751170635223, 0.3426254093647003, -0.03812296688556671, -0.11980237066745758, -0.2006416618824005, 0.13849708437919617, 0.36888518929481506, -0.40817150473594666, -0.03545752540230751, 0.0491519533097744, 0.2197423130273819, 0.16326451301574707, 0.16427694261074066, 0.2157881259918213, -0.1765475571155548, 0.17065204679965973, -0.36845678091049194, -0.3288734257221222, 0.4158748388290405, 0.011359531432390213, 0.19417399168014526, 0.029639892280101776, 0.1662595272064209, 0.001107214018702507, -0.14559175074100494, -0.17908841371536255, 0.10977235436439514, 0.01751823164522648, 0.05696380138397217, -0.05286532640457153, 0.26533856987953186, 0.4178846478462219, -0.007606327999383211, 0.07748520374298096, 0.06420212984085083, 0.0036086412146687508, -0.1160660982131958, -0.14117537438869476, 0.16353467106819153, 0.10173472762107849, 0.01773945614695549, 0.07958688586950302, -0.0039025358855724335, 0.04279405623674393, -0.21024154126644135, 0.3398745357990265, 0.2861105501651764, 0.09775926917791367, 0.40198683738708496, 0.36421114206314087, -0.10018058866262436, -0.1780906617641449, 0.13998109102249146, 0.04036015272140503, 0.17873722314834595, 0.1127701997756958, 0.13480211794376373, -0.021079659461975098, 0.07906801998615265, 0.18076935410499573, 0.213412344455719, -0.3061069846153259, 0.214528888463974, 0.04603289067745209, -0.304535448551178, 0.11340565979480743, 0.18224933743476868, -0.060641203075647354, 0.48235559463500977, -0.1592118740081787, 0.1251029521226883, 0.39255303144454956, 0.1670965999364853, -0.41053295135498047, -0.07996223866939545, 0.32610613107681274, 0.08820538967847824, -0.07786692678928375, 0.017463691532611847, 0.011662308126688004, -0.36288902163505554, 0.37056970596313477, 0.20260107517242432, 0.27336594462394714, -0.10349589586257935, 0.4147837162017822, 0.4607183039188385, 0.08928601443767548, -0.10097014904022217, 0.2551831305027008, -0.17657597362995148, 0.25185883045196533, 0.6028957962989807, -0.15398302674293518, 0.10235487669706345, 0.05931699275970459, 0.2546626627445221, 0.0828360915184021, -0.3712722361087799, -0.5648518800735474, 0.2252015918493271, -0.13383466005325317, 0.01972772926092148, 0.040877941995859146, 0.40940433740615845, 0.17511260509490967, -0.07257742434740067, -0.3387376666069031, -0.2950591444969177, -0.24094492197036743, 0.06125553324818611, -0.048667967319488525, -0.39748427271842957, -0.06548172235488892, 0.026994425803422928, -0.051775526255369186, -0.11366336047649384, 0.27537718415260315, -0.06408514082431793, -0.404360294342041, -0.15767565369606018, 0.18155595660209656, 0.37276142835617065, 0.09641104191541672, -0.1554260104894638, 0.2109927535057068, 0.2434033751487732, 0.03292182460427284, 0.08297418802976608, 0.29364874958992004, 0.4390777051448822, 0.2707827091217041, 0.05060660466551781, -0.01621018722653389, 0.18598292768001556, -0.11949718743562698, 0.15814441442489624, 0.20075982809066772, -0.30768322944641113, 0.09850050508975983, -0.01740395650267601, 0.1406882256269455, -0.06385967135429382, 0.19443678855895996, -0.12976400554180145, 0.22686313092708588, -0.532724916934967, 0.07162871211767197, -0.1680387556552887, -0.10884374380111694, -0.12903046607971191, 0.22895359992980957, -0.333189994096756, -0.2267201542854309, 0.2730574309825897, 0.06936207413673401, 0.009592164307832718, 0.2673299312591553, 0.03266995772719383, -0.15973274409770966, 0.15364694595336914, 0.2203376442193985, 0.15984874963760376, -0.29031941294670105, -0.3306838274002075, -0.4528311789035797, 0.00855991244316101, 0.026859130710363388, 0.3244035243988037, -0.20155858993530273, -0.11409763246774673, -0.2526094615459442, -0.02886722981929779, 0.4957997798919678, 0.04034644365310669, 0.2946101427078247, 0.004561007022857666, -0.42161792516708374, -0.04315909370779991, 0.20885266363620758, -0.05194767564535141, -0.04269643872976303, -0.5033798217773438, -0.1376316398382187, 0.08641179651021957, -0.09984798729419708, -0.15372134745121002, 0.13674162328243256, -0.16653066873550415, 0.023983702063560486, 0.8094243407249451, 0.0855741798877716, 0.6356728076934814, -0.10314077138900757, -0.012256872840225697, -0.4340739846229553, -0.5135287642478943, 0.040885500609874725, 0.09606985002756119, 0.028228413313627243, 0.5386804342269897, -0.40883493423461914, -0.11444643139839172, -0.12336253374814987, 0.2872782349586487, 0.08475111424922943, 0.14293259382247925, -0.35204750299453735, 0.04950695484876633, -0.34726181626319885, 0.04756177216768265, -0.2015838623046875, 0.09372001886367798, 0.06344207376241684, -0.03364303335547447, -0.13188576698303223, -0.2346055507659912, 0.5741701126098633, -0.31822100281715393, 0.017196588218212128, -0.20539633929729462, 0.16087646782398224, 0.19501513242721558, -0.24939987063407898, -0.37660184502601624, 0.1034565344452858, 0.5223572254180908, 0.21953681111335754, -0.2243412286043167, 0.3346847891807556, -0.11965794861316681, -0.06567592173814774, 0.11322501301765442, 0.19633156061172485, 0.07418203353881836, -0.22253546118736267, 0.09397116303443909, -0.31466585397720337 ]
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
I've had a similar problem, and for some reason decreasing the number of workers in the dataloader solved it
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2
19
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2 I've had a similar problem, and for some reason decreasing the number of workers in the dataloader solved it
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.1673109382390976, 0.09469642490148544, -0.12878842651844025, 0.07063333690166473, 0.32241034507751465, 0.02620493248105049, 0.19688363373279572, -0.20495252311229706, 0.2669195234775543, -0.4299952983856201, -0.05025388300418854, -0.5118574500083923, 0.1403893232345581, -0.07259971648454666, 0.3794679641723633, 0.02385059744119644, -0.6958081722259521, 0.44850096106529236, -0.20207393169403076, 0.2992042601108551, 0.49243301153182983, -0.00012066363706253469, 0.01928948611021042, 0.3469124436378479, -0.08317720890045166, -0.11738654971122742, -0.05980360507965088, -0.14499206840991974, -0.19902335107326508, 0.022213812917470932, -0.2882561981678009, -0.014482324942946434, -0.32274869084358215, 0.015865202993154526, -0.01316012442111969, 0.28171390295028687, 0.5431941747665405, 0.1330081820487976, 0.1479310244321823, 0.39817681908607483, -0.1542314738035202, 0.07552634924650192, -0.27447015047073364, -0.01908506453037262, 0.23912999033927917, -0.08974960446357727, -0.07092311978340149, 0.2659449577331543, 0.13223052024841309, -0.2828100025653839, -0.17826257646083832, 0.2492561936378479, -0.017540816217660904, -0.11171411722898483, -0.3811374008655548, 0.31400471925735474, 0.13975772261619568, 0.42582520842552185, -0.38074347376823425, -0.38033801317214966, -0.1683962643146515, 0.20151138305664062, -0.022123482078313828, 0.4386742413043976, 0.006013292353600264, 0.25066131353378296, 0.16168321669101715, -0.04256672412157059, -0.09226145595312119, -0.17877313494682312, 0.19423139095306396, -0.10208393633365631, -0.024914659559726715, -0.09587426483631134, 0.04586704075336456, 0.2314188927412033, -0.10027109086513519, 0.04329567775130272, -0.04045218974351883, -0.31813836097717285, 0.22126537561416626, -0.3310926556587219, -0.04149278253316879, 0.021100010722875595, 0.37260234355926514, 0.04357099533081055, -0.03800217807292938, -0.15389499068260193, -0.15865910053253174, -0.21904052793979645, 0.04323819652199745, -0.2167455106973648, 0.0561506487429142, 0.10338110476732254, 0.23301638662815094, 0.18303918838500977, 0.10128527134656906, -0.020585210993885994, -0.2543068826198578, -0.1281110793352127, -0.495686411857605, -0.14644773304462433, 0.30492228269577026, 0.44477009773254395, -0.4531577527523041, -0.5866712331771851, 0.26064440608024597, -0.42576807737350464, -0.03383442759513855, 0.10021638125181198, 0.36175599694252014, -0.13488446176052094, 0.34633806347846985, 0.05167446285486221, 0.2822863459587097, -0.1180596724152565, -0.20207518339157104, -0.1771644502878189, 0.1411392241716385, -0.19642393290996552, 0.07668192684650421, 0.22601382434368134, -0.4352952241897583, 0.31519436836242676, 0.10053573548793793, 0.3195825219154358, 0.024610884487628937, -0.03942642733454704, -0.06250287592411041, -0.3420781195163727, 0.29523801803588867, -0.2975321114063263, 0.03572583198547363, 0.1402018517255783, -0.2860606610774994, -0.06302879750728607, 0.18216350674629211, -0.32619377970695496, -0.02672683820128441, -0.18541967868804932, 0.052909623831510544, -0.1444951295852661, 0.05327868461608887, -0.4641789495944977, -0.034403253346681595, -0.09688795357942581, -0.27016761898994446, 0.09257107228040695, -0.18675367534160614, 0.21426188945770264, -0.24912060797214508, 0.1467367559671402, 0.6955875754356384, -0.5375068783760071, -0.07292602956295013, 0.1932041496038437, -0.05842846259474754, 0.035234034061431885, 0.10900452733039856, -0.1654689460992813, 0.13702718913555145, -0.3446011543273926, -0.10282328724861145, 0.15042896568775177, -0.4401116967201233, -0.6035734415054321, 0.10642585903406143, 0.013413652777671814, 0.22816316783428192, 0.12718459963798523, -0.03874368593096733, -0.4771975576877594, -0.023053469136357307, -0.10390527546405792, -0.30530285835266113, -0.012857554480433464, -0.13113047182559967, -0.23246614634990692, -0.15119221806526184, 0.5078813433647156, 0.07603226602077484, 0.2369411736726761, 0.08104918897151947, 0.13708731532096863, 0.1925928145647049, 0.2370634377002716, -0.2821579873561859, -0.22671422362327576, 0.0899062305688858, 0.29176875948905945, -0.03146445006132126, 0.04327007010579109, -0.04735543951392174, -0.652544379234314, 0.3559955060482025, 0.03991517424583435, -0.09408517181873322, 0.14504382014274597, -0.08631426095962524, -0.1655561923980713, -0.25147074460983276, -0.2675711214542389, -0.2202230989933014, -0.019351119175553322, -0.016915977001190186, 0.017483461648225784, 0.06582993268966675, -0.27473998069763184, 0.6899194717407227, -0.3939708173274994, 0.14065279066562653, -0.2124442160129547, 0.5503130555152893, -0.03201579302549362, 0.059807199984788895, -0.012553738430142403, 0.13051466643810272, 0.30562469363212585, -0.09303276985883713, -0.07941249758005142, 0.3704999089241028, 0.006911961827427149, 0.16692501306533813, -0.05065783113241196, 0.25168687105178833, 0.26661309599876404, -0.2968882918357849, 0.2391955852508545, 0.2839130163192749, 0.05913250148296356, 0.05797424167394638, 0.005060840398073196, 0.24801266193389893, 0.10853447020053864, 0.1219538152217865, 0.05764736980199814, -0.17246036231517792, 0.17578260600566864, -0.05663055181503296, 0.12039273232221603, -0.0433434396982193, 0.024791203439235687, 0.09358195960521698, 0.5590724945068359, -0.14896759390830994, -0.2962900996208191, -0.13456660509109497, 0.4552347958087921, 0.14434154331684113, -0.13991641998291016, -0.026227131485939026, -0.11647037416696548, 0.14453095197677612, 0.21291103959083557, 0.10801537334918976, 0.3510432839393616, 0.2801332473754883, -0.5974588990211487, 0.22917574644088745, -0.12576045095920563, -0.0784912258386612, 0.16016629338264465, -0.07382656633853912, 0.07491812855005264, 0.3334081470966339, 0.0019282088615000248, 0.19912923872470856, -0.2173793613910675, -0.39564934372901917, -0.2351122349500656, 0.2192082405090332, -0.4444912075996399, 0.010945873335003853, -0.21578606963157654, -0.1543773114681244, -0.07392406463623047, 0.04753128066658974, -0.06849750876426697, -0.13562317192554474, -0.11906704306602478, 0.1703486293554306, 0.08466315269470215, 0.03125852346420288, -0.6403214931488037, 0.01372922956943512, -0.10076966136693954, -0.1925148218870163, -0.18880145251750946, 0.14538413286209106, -0.17631614208221436, -0.010183773934841156, 0.4653300940990448, -0.13922373950481415, 0.07035437226295471, -0.49369925260543823, 0.02268737554550171, -0.21780750155448914, -0.5930320620536804, -0.06939332187175751, -0.10381197929382324, 0.23391598463058472, 0.126523956656456, 0.11554829031229019, -0.04536612331867218, -0.3656386137008667, 0.16471140086650848, 0.026804188266396523, -0.17205987870693207, 0.1776982545852661, -0.07045034319162369, -0.14960931241512299, 0.09931671619415283, -0.7325296998023987, 0.06186218559741974, -0.21140071749687195, 0.17415395379066467, 0.08074897527694702, 0.02521970123052597, 0.2991049587726593, 0.1805073469877243, 0.307908833026886, 0.08367352187633514, -0.18202131986618042, 0.010981274768710136, -0.2159576416015625, 0.3450257480144501, 0.03751088306307793, -0.1181052178144455, 0.16258791089057922, 0.0450231209397316, 0.15126389265060425, -0.07289328426122665, -0.4477995038032532, 0.016055237501859665, -0.2131376564502716, 0.33122336864471436, -0.12799137830734253, -0.15406621992588043, 0.3858329951763153, 0.03730813413858414, 0.12066580355167389, -0.15293461084365845, -0.027093948796391487, -0.1205233708024025, 0.2460719347000122, 0.19039607048034668, -0.22846141457557678, 0.5267710089683533, -0.21337635815143585, 0.1943134367465973, 0.2366066575050354, -0.14358949661254883, 0.3200841248035431, -0.17547549307346344, 0.5637099742889404, -0.374299019575119, -0.3002450466156006, 0.17194733023643494, 0.25916585326194763, 0.039200492203235626, -0.03866566717624664, -0.16318657994270325, -0.03205063194036484, -0.23924417793750763, -0.12447941303253174, -0.4805607199668884, 0.044979777187108994, -0.13710801303386688, 0.10707380622625351, 0.07221794873476028, 0.00023132190108299255, 0.1654784381389618, 0.1553042232990265, -0.18448886275291443, 0.20680354535579681, 0.3229154348373413, 0.2776373028755188, -0.05239993333816528, -0.7211449146270752, -0.3382638394832611, -0.33248433470726013, 0.4898707866668701, 0.15872885286808014, 0.09349950402975082, 0.16168782114982605, -0.04446743428707123, -0.1535758227109909, -0.20246872305870056, 0.5855938196182251, -0.2085537165403366, -0.15689823031425476, 0.3103548288345337, 0.09779070317745209, -0.144226536154747, -0.21549326181411743, -0.15339675545692444, 0.35497212409973145, 0.06769520789384842, 0.44606512784957886, -0.012783072888851166, -0.17859682440757751, 0.32916632294654846, 0.39623141288757324, -0.10084369033575058, 0.012522722594439983, -0.2164147049188614, 0.15831851959228516, 0.03815337270498276, -0.038844890892505646, -0.1345280110836029, 0.3791518211364746, -0.17897719144821167, -0.18548530340194702, -0.11116273701190948, -0.34299954771995544, 0.29436856508255005, 0.32736676931381226, 0.5280426144599915, 0.032372910529375076, 0.2896404266357422, 0.2594362199306488, 0.025546390563249588, 0.813024640083313, 0.3938734531402588, 0.09700299799442291, -0.16714584827423096, -0.1696544885635376, 0.1400681436061859, 0.2687196433544159, 0.158284530043602, -0.13553428649902344, 0.016789279878139496, -0.1615501344203949, 0.0685495063662529, -0.10237594693899155, 0.12742917239665985, 0.3834613859653473, 0.06662273406982422, -0.4211311936378479, -0.3310449421405792, 0.37849047780036926, -0.04159644991159439, 0.06444208323955536, 0.23167026042938232, 0.3991468548774719, -0.28051865100860596, -0.14158283174037933, -0.06993842869997025, 0.7818910479545593, 0.1888568103313446, -0.021638687700033188, 0.19186854362487793, -0.09989118576049805, 0.30720314383506775, -0.459031879901886, 0.12848913669586182, -0.4941147267818451, -0.17331606149673462, -0.10538969933986664, -0.1505172699689865, 0.2728251814842224, 0.20999574661254883, -0.253799706697464, 0.4802767038345337, -0.2117661088705063, 0.23737984895706177, -0.09534399956464767, 0.05760101228952408, -0.16801901161670685, 0.25554516911506653, -0.43884992599487305, 0.02699108049273491, 0.10594606399536133, 0.11452294886112213, -0.2314448356628418, 0.008271612226963043, -0.04769138619303703, -0.3490656614303589, -0.25006914138793945, 0.38084158301353455, -0.46623557806015015, 0.029804427176713943, 0.3340104818344116, -0.23817680776119232, 0.16812583804130554, 0.40198859572410583, 0.3803263306617737, 0.2154344767332077, -0.3112197518348694, 0.19210611283779144, -0.3263019621372223, -0.08456164598464966, 0.22025974094867706, 0.0536632239818573, 0.061833471059799194, 0.04313310235738754, -0.32807767391204834, 0.25284287333488464, -0.09328986704349518, -0.24625074863433838, -0.17961646616458893, -0.011658705770969391, -0.038385048508644104, -0.19487406313419342, -0.2396782487630844, 0.20479410886764526, 0.044827889651060104, -0.2937813401222229, 0.06940848380327225, -0.25055044889450073, 0.09080768376588821, -0.07375732809305191, 0.09955155104398727, -0.3038039207458496, 0.005049481987953186, 0.364831805229187, -0.20864492654800415, -0.20678751170635223, 0.3426254093647003, -0.03812296688556671, -0.11980237066745758, -0.2006416618824005, 0.13849708437919617, 0.36888518929481506, -0.40817150473594666, -0.03545752540230751, 0.0491519533097744, 0.2197423130273819, 0.16326451301574707, 0.16427694261074066, 0.2157881259918213, -0.1765475571155548, 0.17065204679965973, -0.36845678091049194, -0.3288734257221222, 0.4158748388290405, 0.011359531432390213, 0.19417399168014526, 0.029639892280101776, 0.1662595272064209, 0.001107214018702507, -0.14559175074100494, -0.17908841371536255, 0.10977235436439514, 0.01751823164522648, 0.05696380138397217, -0.05286532640457153, 0.26533856987953186, 0.4178846478462219, -0.007606327999383211, 0.07748520374298096, 0.06420212984085083, 0.0036086412146687508, -0.1160660982131958, -0.14117537438869476, 0.16353467106819153, 0.10173472762107849, 0.01773945614695549, 0.07958688586950302, -0.0039025358855724335, 0.04279405623674393, -0.21024154126644135, 0.3398745357990265, 0.2861105501651764, 0.09775926917791367, 0.40198683738708496, 0.36421114206314087, -0.10018058866262436, -0.1780906617641449, 0.13998109102249146, 0.04036015272140503, 0.17873722314834595, 0.1127701997756958, 0.13480211794376373, -0.021079659461975098, 0.07906801998615265, 0.18076935410499573, 0.213412344455719, -0.3061069846153259, 0.214528888463974, 0.04603289067745209, -0.304535448551178, 0.11340565979480743, 0.18224933743476868, -0.060641203075647354, 0.48235559463500977, -0.1592118740081787, 0.1251029521226883, 0.39255303144454956, 0.1670965999364853, -0.41053295135498047, -0.07996223866939545, 0.32610613107681274, 0.08820538967847824, -0.07786692678928375, 0.017463691532611847, 0.011662308126688004, -0.36288902163505554, 0.37056970596313477, 0.20260107517242432, 0.27336594462394714, -0.10349589586257935, 0.4147837162017822, 0.4607183039188385, 0.08928601443767548, -0.10097014904022217, 0.2551831305027008, -0.17657597362995148, 0.25185883045196533, 0.6028957962989807, -0.15398302674293518, 0.10235487669706345, 0.05931699275970459, 0.2546626627445221, 0.0828360915184021, -0.3712722361087799, -0.5648518800735474, 0.2252015918493271, -0.13383466005325317, 0.01972772926092148, 0.040877941995859146, 0.40940433740615845, 0.17511260509490967, -0.07257742434740067, -0.3387376666069031, -0.2950591444969177, -0.24094492197036743, 0.06125553324818611, -0.048667967319488525, -0.39748427271842957, -0.06548172235488892, 0.026994425803422928, -0.051775526255369186, -0.11366336047649384, 0.27537718415260315, -0.06408514082431793, -0.404360294342041, -0.15767565369606018, 0.18155595660209656, 0.37276142835617065, 0.09641104191541672, -0.1554260104894638, 0.2109927535057068, 0.2434033751487732, 0.03292182460427284, 0.08297418802976608, 0.29364874958992004, 0.4390777051448822, 0.2707827091217041, 0.05060660466551781, -0.01621018722653389, 0.18598292768001556, -0.11949718743562698, 0.15814441442489624, 0.20075982809066772, -0.30768322944641113, 0.09850050508975983, -0.01740395650267601, 0.1406882256269455, -0.06385967135429382, 0.19443678855895996, -0.12976400554180145, 0.22686313092708588, -0.532724916934967, 0.07162871211767197, -0.1680387556552887, -0.10884374380111694, -0.12903046607971191, 0.22895359992980957, -0.333189994096756, -0.2267201542854309, 0.2730574309825897, 0.06936207413673401, 0.009592164307832718, 0.2673299312591553, 0.03266995772719383, -0.15973274409770966, 0.15364694595336914, 0.2203376442193985, 0.15984874963760376, -0.29031941294670105, -0.3306838274002075, -0.4528311789035797, 0.00855991244316101, 0.026859130710363388, 0.3244035243988037, -0.20155858993530273, -0.11409763246774673, -0.2526094615459442, -0.02886722981929779, 0.4957997798919678, 0.04034644365310669, 0.2946101427078247, 0.004561007022857666, -0.42161792516708374, -0.04315909370779991, 0.20885266363620758, -0.05194767564535141, -0.04269643872976303, -0.5033798217773438, -0.1376316398382187, 0.08641179651021957, -0.09984798729419708, -0.15372134745121002, 0.13674162328243256, -0.16653066873550415, 0.023983702063560486, 0.8094243407249451, 0.0855741798877716, 0.6356728076934814, -0.10314077138900757, -0.012256872840225697, -0.4340739846229553, -0.5135287642478943, 0.040885500609874725, 0.09606985002756119, 0.028228413313627243, 0.5386804342269897, -0.40883493423461914, -0.11444643139839172, -0.12336253374814987, 0.2872782349586487, 0.08475111424922943, 0.14293259382247925, -0.35204750299453735, 0.04950695484876633, -0.34726181626319885, 0.04756177216768265, -0.2015838623046875, 0.09372001886367798, 0.06344207376241684, -0.03364303335547447, -0.13188576698303223, -0.2346055507659912, 0.5741701126098633, -0.31822100281715393, 0.017196588218212128, -0.20539633929729462, 0.16087646782398224, 0.19501513242721558, -0.24939987063407898, -0.37660184502601624, 0.1034565344452858, 0.5223572254180908, 0.21953681111335754, -0.2243412286043167, 0.3346847891807556, -0.11965794861316681, -0.06567592173814774, 0.11322501301765442, 0.19633156061172485, 0.07418203353881836, -0.22253546118736267, 0.09397116303443909, -0.31466585397720337 ]
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
Hi folks. Finally, I find it is a network issue that causes huggingface hub unreachable (in China). To run the following script ```python from datasets import load_dataset ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") ``` Without setting `export HF_ENDPOINT=https://hf-mirror.com`, I get the following error log ```bash Traceback (most recent call last): File ".\demo.py", line 8, in <module> ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") File "D:\SoftwareInstall\Python\lib\site-packages\datasets\load.py", line 2594, in load_dataset builder_instance = load_dataset_builder( File "D:\SoftwareInstall\Python\lib\site-packages\datasets\load.py", line 2266, in load_dataset_builder dataset_module = dataset_module_factory( File "D:\SoftwareInstall\Python\lib\site-packages\datasets\load.py", line 1914, in dataset_module_factory raise e1 from None File "D:\SoftwareInstall\Python\lib\site-packages\datasets\load.py", line 1845, in dataset_module_factory raise ConnectionError(f"Couldn't reach '{path}' on the Hub ({e.__class__.__name__})") from e ConnectionError: Couldn't reach 'allenai/c4' on the Hub (ConnectionError) ``` After setting `export HF_ENDPOINT=https://hf-mirror.com`, I get the following error, which is exactly the same as what we are debugging in this issue ```bash Downloading readme: 41.1kB [00:00, 41.1MB/s] Traceback (most recent call last): File ".\demo.py", line 8, in <module> ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") File "D:\SoftwareInstall\Python\lib\site-packages\datasets\load.py", line 2594, in loa builder_instance = load_dataset_builder( File "D:\SoftwareInstall\Python\lib\site-packages\datasets\load.py", line 2266, in load_dataset_builder dataset_module = dataset_module_factory( raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at C:\Users\ZhangGe\Desktop\allenai\c4\c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454eed extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns',pm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ``` **Using a proxy software that avoids the internet access restrictions imposed by China, I can download the dataset using the same script** ```bash Downloading readme: 100%|███████████████████████████████████████████| 41.1k/41.1k [00:00<00:00, 312kB/s] Downloading data: 100%|████████████████████████████████████████████| 40.7M/40.7M [00:19<00:00, 2.07MB/s] Generating validation split: 45576 examples [00:00, 54883.48 examples/s] ``` So `allenai/c4` is still unreachable even after setting `export HF_ENDPOINT=https://hf-mirror.com`.
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2
427
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2 Hi folks. Finally, I find it is a network issue that causes huggingface hub unreachable (in China). To run the following script ```python from datasets import load_dataset ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") ``` Without setting `export HF_ENDPOINT=https://hf-mirror.com`, I get the following error log ```bash Traceback (most recent call last): File ".\demo.py", line 8, in <module> ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") File "D:\SoftwareInstall\Python\lib\site-packages\datasets\load.py", line 2594, in load_dataset builder_instance = load_dataset_builder( File "D:\SoftwareInstall\Python\lib\site-packages\datasets\load.py", line 2266, in load_dataset_builder dataset_module = dataset_module_factory( File "D:\SoftwareInstall\Python\lib\site-packages\datasets\load.py", line 1914, in dataset_module_factory raise e1 from None File "D:\SoftwareInstall\Python\lib\site-packages\datasets\load.py", line 1845, in dataset_module_factory raise ConnectionError(f"Couldn't reach '{path}' on the Hub ({e.__class__.__name__})") from e ConnectionError: Couldn't reach 'allenai/c4' on the Hub (ConnectionError) ``` After setting `export HF_ENDPOINT=https://hf-mirror.com`, I get the following error, which is exactly the same as what we are debugging in this issue ```bash Downloading readme: 41.1kB [00:00, 41.1MB/s] Traceback (most recent call last): File ".\demo.py", line 8, in <module> ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") File "D:\SoftwareInstall\Python\lib\site-packages\datasets\load.py", line 2594, in loa builder_instance = load_dataset_builder( File "D:\SoftwareInstall\Python\lib\site-packages\datasets\load.py", line 2266, in load_dataset_builder dataset_module = dataset_module_factory( raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at C:\Users\ZhangGe\Desktop\allenai\c4\c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454eed extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns',pm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ``` **Using a proxy software that avoids the internet access restrictions imposed by China, I can download the dataset using the same script** ```bash Downloading readme: 100%|███████████████████████████████████████████| 41.1k/41.1k [00:00<00:00, 312kB/s] Downloading data: 100%|████████████████████████████████████████████| 40.7M/40.7M [00:19<00:00, 2.07MB/s] Generating validation split: 45576 examples [00:00, 54883.48 examples/s] ``` So `allenai/c4` is still unreachable even after setting `export HF_ENDPOINT=https://hf-mirror.com`.
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.1673109382390976, 0.09469642490148544, -0.12878842651844025, 0.07063333690166473, 0.32241034507751465, 0.02620493248105049, 0.19688363373279572, -0.20495252311229706, 0.2669195234775543, -0.4299952983856201, -0.05025388300418854, -0.5118574500083923, 0.1403893232345581, -0.07259971648454666, 0.3794679641723633, 0.02385059744119644, -0.6958081722259521, 0.44850096106529236, -0.20207393169403076, 0.2992042601108551, 0.49243301153182983, -0.00012066363706253469, 0.01928948611021042, 0.3469124436378479, -0.08317720890045166, -0.11738654971122742, -0.05980360507965088, -0.14499206840991974, -0.19902335107326508, 0.022213812917470932, -0.2882561981678009, -0.014482324942946434, -0.32274869084358215, 0.015865202993154526, -0.01316012442111969, 0.28171390295028687, 0.5431941747665405, 0.1330081820487976, 0.1479310244321823, 0.39817681908607483, -0.1542314738035202, 0.07552634924650192, -0.27447015047073364, -0.01908506453037262, 0.23912999033927917, -0.08974960446357727, -0.07092311978340149, 0.2659449577331543, 0.13223052024841309, -0.2828100025653839, -0.17826257646083832, 0.2492561936378479, -0.017540816217660904, -0.11171411722898483, -0.3811374008655548, 0.31400471925735474, 0.13975772261619568, 0.42582520842552185, -0.38074347376823425, -0.38033801317214966, -0.1683962643146515, 0.20151138305664062, -0.022123482078313828, 0.4386742413043976, 0.006013292353600264, 0.25066131353378296, 0.16168321669101715, -0.04256672412157059, -0.09226145595312119, -0.17877313494682312, 0.19423139095306396, -0.10208393633365631, -0.024914659559726715, -0.09587426483631134, 0.04586704075336456, 0.2314188927412033, -0.10027109086513519, 0.04329567775130272, -0.04045218974351883, -0.31813836097717285, 0.22126537561416626, -0.3310926556587219, -0.04149278253316879, 0.021100010722875595, 0.37260234355926514, 0.04357099533081055, -0.03800217807292938, -0.15389499068260193, -0.15865910053253174, -0.21904052793979645, 0.04323819652199745, -0.2167455106973648, 0.0561506487429142, 0.10338110476732254, 0.23301638662815094, 0.18303918838500977, 0.10128527134656906, -0.020585210993885994, -0.2543068826198578, -0.1281110793352127, -0.495686411857605, -0.14644773304462433, 0.30492228269577026, 0.44477009773254395, -0.4531577527523041, -0.5866712331771851, 0.26064440608024597, -0.42576807737350464, -0.03383442759513855, 0.10021638125181198, 0.36175599694252014, -0.13488446176052094, 0.34633806347846985, 0.05167446285486221, 0.2822863459587097, -0.1180596724152565, -0.20207518339157104, -0.1771644502878189, 0.1411392241716385, -0.19642393290996552, 0.07668192684650421, 0.22601382434368134, -0.4352952241897583, 0.31519436836242676, 0.10053573548793793, 0.3195825219154358, 0.024610884487628937, -0.03942642733454704, -0.06250287592411041, -0.3420781195163727, 0.29523801803588867, -0.2975321114063263, 0.03572583198547363, 0.1402018517255783, -0.2860606610774994, -0.06302879750728607, 0.18216350674629211, -0.32619377970695496, -0.02672683820128441, -0.18541967868804932, 0.052909623831510544, -0.1444951295852661, 0.05327868461608887, -0.4641789495944977, -0.034403253346681595, -0.09688795357942581, -0.27016761898994446, 0.09257107228040695, -0.18675367534160614, 0.21426188945770264, -0.24912060797214508, 0.1467367559671402, 0.6955875754356384, -0.5375068783760071, -0.07292602956295013, 0.1932041496038437, -0.05842846259474754, 0.035234034061431885, 0.10900452733039856, -0.1654689460992813, 0.13702718913555145, -0.3446011543273926, -0.10282328724861145, 0.15042896568775177, -0.4401116967201233, -0.6035734415054321, 0.10642585903406143, 0.013413652777671814, 0.22816316783428192, 0.12718459963798523, -0.03874368593096733, -0.4771975576877594, -0.023053469136357307, -0.10390527546405792, -0.30530285835266113, -0.012857554480433464, -0.13113047182559967, -0.23246614634990692, -0.15119221806526184, 0.5078813433647156, 0.07603226602077484, 0.2369411736726761, 0.08104918897151947, 0.13708731532096863, 0.1925928145647049, 0.2370634377002716, -0.2821579873561859, -0.22671422362327576, 0.0899062305688858, 0.29176875948905945, -0.03146445006132126, 0.04327007010579109, -0.04735543951392174, -0.652544379234314, 0.3559955060482025, 0.03991517424583435, -0.09408517181873322, 0.14504382014274597, -0.08631426095962524, -0.1655561923980713, -0.25147074460983276, -0.2675711214542389, -0.2202230989933014, -0.019351119175553322, -0.016915977001190186, 0.017483461648225784, 0.06582993268966675, -0.27473998069763184, 0.6899194717407227, -0.3939708173274994, 0.14065279066562653, -0.2124442160129547, 0.5503130555152893, -0.03201579302549362, 0.059807199984788895, -0.012553738430142403, 0.13051466643810272, 0.30562469363212585, -0.09303276985883713, -0.07941249758005142, 0.3704999089241028, 0.006911961827427149, 0.16692501306533813, -0.05065783113241196, 0.25168687105178833, 0.26661309599876404, -0.2968882918357849, 0.2391955852508545, 0.2839130163192749, 0.05913250148296356, 0.05797424167394638, 0.005060840398073196, 0.24801266193389893, 0.10853447020053864, 0.1219538152217865, 0.05764736980199814, -0.17246036231517792, 0.17578260600566864, -0.05663055181503296, 0.12039273232221603, -0.0433434396982193, 0.024791203439235687, 0.09358195960521698, 0.5590724945068359, -0.14896759390830994, -0.2962900996208191, -0.13456660509109497, 0.4552347958087921, 0.14434154331684113, -0.13991641998291016, -0.026227131485939026, -0.11647037416696548, 0.14453095197677612, 0.21291103959083557, 0.10801537334918976, 0.3510432839393616, 0.2801332473754883, -0.5974588990211487, 0.22917574644088745, -0.12576045095920563, -0.0784912258386612, 0.16016629338264465, -0.07382656633853912, 0.07491812855005264, 0.3334081470966339, 0.0019282088615000248, 0.19912923872470856, -0.2173793613910675, -0.39564934372901917, -0.2351122349500656, 0.2192082405090332, -0.4444912075996399, 0.010945873335003853, -0.21578606963157654, -0.1543773114681244, -0.07392406463623047, 0.04753128066658974, -0.06849750876426697, -0.13562317192554474, -0.11906704306602478, 0.1703486293554306, 0.08466315269470215, 0.03125852346420288, -0.6403214931488037, 0.01372922956943512, -0.10076966136693954, -0.1925148218870163, -0.18880145251750946, 0.14538413286209106, -0.17631614208221436, -0.010183773934841156, 0.4653300940990448, -0.13922373950481415, 0.07035437226295471, -0.49369925260543823, 0.02268737554550171, -0.21780750155448914, -0.5930320620536804, -0.06939332187175751, -0.10381197929382324, 0.23391598463058472, 0.126523956656456, 0.11554829031229019, -0.04536612331867218, -0.3656386137008667, 0.16471140086650848, 0.026804188266396523, -0.17205987870693207, 0.1776982545852661, -0.07045034319162369, -0.14960931241512299, 0.09931671619415283, -0.7325296998023987, 0.06186218559741974, -0.21140071749687195, 0.17415395379066467, 0.08074897527694702, 0.02521970123052597, 0.2991049587726593, 0.1805073469877243, 0.307908833026886, 0.08367352187633514, -0.18202131986618042, 0.010981274768710136, -0.2159576416015625, 0.3450257480144501, 0.03751088306307793, -0.1181052178144455, 0.16258791089057922, 0.0450231209397316, 0.15126389265060425, -0.07289328426122665, -0.4477995038032532, 0.016055237501859665, -0.2131376564502716, 0.33122336864471436, -0.12799137830734253, -0.15406621992588043, 0.3858329951763153, 0.03730813413858414, 0.12066580355167389, -0.15293461084365845, -0.027093948796391487, -0.1205233708024025, 0.2460719347000122, 0.19039607048034668, -0.22846141457557678, 0.5267710089683533, -0.21337635815143585, 0.1943134367465973, 0.2366066575050354, -0.14358949661254883, 0.3200841248035431, -0.17547549307346344, 0.5637099742889404, -0.374299019575119, -0.3002450466156006, 0.17194733023643494, 0.25916585326194763, 0.039200492203235626, -0.03866566717624664, -0.16318657994270325, -0.03205063194036484, -0.23924417793750763, -0.12447941303253174, -0.4805607199668884, 0.044979777187108994, -0.13710801303386688, 0.10707380622625351, 0.07221794873476028, 0.00023132190108299255, 0.1654784381389618, 0.1553042232990265, -0.18448886275291443, 0.20680354535579681, 0.3229154348373413, 0.2776373028755188, -0.05239993333816528, -0.7211449146270752, -0.3382638394832611, -0.33248433470726013, 0.4898707866668701, 0.15872885286808014, 0.09349950402975082, 0.16168782114982605, -0.04446743428707123, -0.1535758227109909, -0.20246872305870056, 0.5855938196182251, -0.2085537165403366, -0.15689823031425476, 0.3103548288345337, 0.09779070317745209, -0.144226536154747, -0.21549326181411743, -0.15339675545692444, 0.35497212409973145, 0.06769520789384842, 0.44606512784957886, -0.012783072888851166, -0.17859682440757751, 0.32916632294654846, 0.39623141288757324, -0.10084369033575058, 0.012522722594439983, -0.2164147049188614, 0.15831851959228516, 0.03815337270498276, -0.038844890892505646, -0.1345280110836029, 0.3791518211364746, -0.17897719144821167, -0.18548530340194702, -0.11116273701190948, -0.34299954771995544, 0.29436856508255005, 0.32736676931381226, 0.5280426144599915, 0.032372910529375076, 0.2896404266357422, 0.2594362199306488, 0.025546390563249588, 0.813024640083313, 0.3938734531402588, 0.09700299799442291, -0.16714584827423096, -0.1696544885635376, 0.1400681436061859, 0.2687196433544159, 0.158284530043602, -0.13553428649902344, 0.016789279878139496, -0.1615501344203949, 0.0685495063662529, -0.10237594693899155, 0.12742917239665985, 0.3834613859653473, 0.06662273406982422, -0.4211311936378479, -0.3310449421405792, 0.37849047780036926, -0.04159644991159439, 0.06444208323955536, 0.23167026042938232, 0.3991468548774719, -0.28051865100860596, -0.14158283174037933, -0.06993842869997025, 0.7818910479545593, 0.1888568103313446, -0.021638687700033188, 0.19186854362487793, -0.09989118576049805, 0.30720314383506775, -0.459031879901886, 0.12848913669586182, -0.4941147267818451, -0.17331606149673462, -0.10538969933986664, -0.1505172699689865, 0.2728251814842224, 0.20999574661254883, -0.253799706697464, 0.4802767038345337, -0.2117661088705063, 0.23737984895706177, -0.09534399956464767, 0.05760101228952408, -0.16801901161670685, 0.25554516911506653, -0.43884992599487305, 0.02699108049273491, 0.10594606399536133, 0.11452294886112213, -0.2314448356628418, 0.008271612226963043, -0.04769138619303703, -0.3490656614303589, -0.25006914138793945, 0.38084158301353455, -0.46623557806015015, 0.029804427176713943, 0.3340104818344116, -0.23817680776119232, 0.16812583804130554, 0.40198859572410583, 0.3803263306617737, 0.2154344767332077, -0.3112197518348694, 0.19210611283779144, -0.3263019621372223, -0.08456164598464966, 0.22025974094867706, 0.0536632239818573, 0.061833471059799194, 0.04313310235738754, -0.32807767391204834, 0.25284287333488464, -0.09328986704349518, -0.24625074863433838, -0.17961646616458893, -0.011658705770969391, -0.038385048508644104, -0.19487406313419342, -0.2396782487630844, 0.20479410886764526, 0.044827889651060104, -0.2937813401222229, 0.06940848380327225, -0.25055044889450073, 0.09080768376588821, -0.07375732809305191, 0.09955155104398727, -0.3038039207458496, 0.005049481987953186, 0.364831805229187, -0.20864492654800415, -0.20678751170635223, 0.3426254093647003, -0.03812296688556671, -0.11980237066745758, -0.2006416618824005, 0.13849708437919617, 0.36888518929481506, -0.40817150473594666, -0.03545752540230751, 0.0491519533097744, 0.2197423130273819, 0.16326451301574707, 0.16427694261074066, 0.2157881259918213, -0.1765475571155548, 0.17065204679965973, -0.36845678091049194, -0.3288734257221222, 0.4158748388290405, 0.011359531432390213, 0.19417399168014526, 0.029639892280101776, 0.1662595272064209, 0.001107214018702507, -0.14559175074100494, -0.17908841371536255, 0.10977235436439514, 0.01751823164522648, 0.05696380138397217, -0.05286532640457153, 0.26533856987953186, 0.4178846478462219, -0.007606327999383211, 0.07748520374298096, 0.06420212984085083, 0.0036086412146687508, -0.1160660982131958, -0.14117537438869476, 0.16353467106819153, 0.10173472762107849, 0.01773945614695549, 0.07958688586950302, -0.0039025358855724335, 0.04279405623674393, -0.21024154126644135, 0.3398745357990265, 0.2861105501651764, 0.09775926917791367, 0.40198683738708496, 0.36421114206314087, -0.10018058866262436, -0.1780906617641449, 0.13998109102249146, 0.04036015272140503, 0.17873722314834595, 0.1127701997756958, 0.13480211794376373, -0.021079659461975098, 0.07906801998615265, 0.18076935410499573, 0.213412344455719, -0.3061069846153259, 0.214528888463974, 0.04603289067745209, -0.304535448551178, 0.11340565979480743, 0.18224933743476868, -0.060641203075647354, 0.48235559463500977, -0.1592118740081787, 0.1251029521226883, 0.39255303144454956, 0.1670965999364853, -0.41053295135498047, -0.07996223866939545, 0.32610613107681274, 0.08820538967847824, -0.07786692678928375, 0.017463691532611847, 0.011662308126688004, -0.36288902163505554, 0.37056970596313477, 0.20260107517242432, 0.27336594462394714, -0.10349589586257935, 0.4147837162017822, 0.4607183039188385, 0.08928601443767548, -0.10097014904022217, 0.2551831305027008, -0.17657597362995148, 0.25185883045196533, 0.6028957962989807, -0.15398302674293518, 0.10235487669706345, 0.05931699275970459, 0.2546626627445221, 0.0828360915184021, -0.3712722361087799, -0.5648518800735474, 0.2252015918493271, -0.13383466005325317, 0.01972772926092148, 0.040877941995859146, 0.40940433740615845, 0.17511260509490967, -0.07257742434740067, -0.3387376666069031, -0.2950591444969177, -0.24094492197036743, 0.06125553324818611, -0.048667967319488525, -0.39748427271842957, -0.06548172235488892, 0.026994425803422928, -0.051775526255369186, -0.11366336047649384, 0.27537718415260315, -0.06408514082431793, -0.404360294342041, -0.15767565369606018, 0.18155595660209656, 0.37276142835617065, 0.09641104191541672, -0.1554260104894638, 0.2109927535057068, 0.2434033751487732, 0.03292182460427284, 0.08297418802976608, 0.29364874958992004, 0.4390777051448822, 0.2707827091217041, 0.05060660466551781, -0.01621018722653389, 0.18598292768001556, -0.11949718743562698, 0.15814441442489624, 0.20075982809066772, -0.30768322944641113, 0.09850050508975983, -0.01740395650267601, 0.1406882256269455, -0.06385967135429382, 0.19443678855895996, -0.12976400554180145, 0.22686313092708588, -0.532724916934967, 0.07162871211767197, -0.1680387556552887, -0.10884374380111694, -0.12903046607971191, 0.22895359992980957, -0.333189994096756, -0.2267201542854309, 0.2730574309825897, 0.06936207413673401, 0.009592164307832718, 0.2673299312591553, 0.03266995772719383, -0.15973274409770966, 0.15364694595336914, 0.2203376442193985, 0.15984874963760376, -0.29031941294670105, -0.3306838274002075, -0.4528311789035797, 0.00855991244316101, 0.026859130710363388, 0.3244035243988037, -0.20155858993530273, -0.11409763246774673, -0.2526094615459442, -0.02886722981929779, 0.4957997798919678, 0.04034644365310669, 0.2946101427078247, 0.004561007022857666, -0.42161792516708374, -0.04315909370779991, 0.20885266363620758, -0.05194767564535141, -0.04269643872976303, -0.5033798217773438, -0.1376316398382187, 0.08641179651021957, -0.09984798729419708, -0.15372134745121002, 0.13674162328243256, -0.16653066873550415, 0.023983702063560486, 0.8094243407249451, 0.0855741798877716, 0.6356728076934814, -0.10314077138900757, -0.012256872840225697, -0.4340739846229553, -0.5135287642478943, 0.040885500609874725, 0.09606985002756119, 0.028228413313627243, 0.5386804342269897, -0.40883493423461914, -0.11444643139839172, -0.12336253374814987, 0.2872782349586487, 0.08475111424922943, 0.14293259382247925, -0.35204750299453735, 0.04950695484876633, -0.34726181626319885, 0.04756177216768265, -0.2015838623046875, 0.09372001886367798, 0.06344207376241684, -0.03364303335547447, -0.13188576698303223, -0.2346055507659912, 0.5741701126098633, -0.31822100281715393, 0.017196588218212128, -0.20539633929729462, 0.16087646782398224, 0.19501513242721558, -0.24939987063407898, -0.37660184502601624, 0.1034565344452858, 0.5223572254180908, 0.21953681111335754, -0.2243412286043167, 0.3346847891807556, -0.11965794861316681, -0.06567592173814774, 0.11322501301765442, 0.19633156061172485, 0.07418203353881836, -0.22253546118736267, 0.09397116303443909, -0.31466585397720337 ]
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
Thanks for the investigation: so finally it is an issue with the specific endpoint you are using. You properly opened an issue in their repo, so they can fix it. I am closing this issue here.
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2
36
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2 Thanks for the investigation: so finally it is an issue with the specific endpoint you are using. You properly opened an issue in their repo, so they can fix it. I am closing this issue here.
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.1673109382390976, 0.09469642490148544, -0.12878842651844025, 0.07063333690166473, 0.32241034507751465, 0.02620493248105049, 0.19688363373279572, -0.20495252311229706, 0.2669195234775543, -0.4299952983856201, -0.05025388300418854, -0.5118574500083923, 0.1403893232345581, -0.07259971648454666, 0.3794679641723633, 0.02385059744119644, -0.6958081722259521, 0.44850096106529236, -0.20207393169403076, 0.2992042601108551, 0.49243301153182983, -0.00012066363706253469, 0.01928948611021042, 0.3469124436378479, -0.08317720890045166, -0.11738654971122742, -0.05980360507965088, -0.14499206840991974, -0.19902335107326508, 0.022213812917470932, -0.2882561981678009, -0.014482324942946434, -0.32274869084358215, 0.015865202993154526, -0.01316012442111969, 0.28171390295028687, 0.5431941747665405, 0.1330081820487976, 0.1479310244321823, 0.39817681908607483, -0.1542314738035202, 0.07552634924650192, -0.27447015047073364, -0.01908506453037262, 0.23912999033927917, -0.08974960446357727, -0.07092311978340149, 0.2659449577331543, 0.13223052024841309, -0.2828100025653839, -0.17826257646083832, 0.2492561936378479, -0.017540816217660904, -0.11171411722898483, -0.3811374008655548, 0.31400471925735474, 0.13975772261619568, 0.42582520842552185, -0.38074347376823425, -0.38033801317214966, -0.1683962643146515, 0.20151138305664062, -0.022123482078313828, 0.4386742413043976, 0.006013292353600264, 0.25066131353378296, 0.16168321669101715, -0.04256672412157059, -0.09226145595312119, -0.17877313494682312, 0.19423139095306396, -0.10208393633365631, -0.024914659559726715, -0.09587426483631134, 0.04586704075336456, 0.2314188927412033, -0.10027109086513519, 0.04329567775130272, -0.04045218974351883, -0.31813836097717285, 0.22126537561416626, -0.3310926556587219, -0.04149278253316879, 0.021100010722875595, 0.37260234355926514, 0.04357099533081055, -0.03800217807292938, -0.15389499068260193, -0.15865910053253174, -0.21904052793979645, 0.04323819652199745, -0.2167455106973648, 0.0561506487429142, 0.10338110476732254, 0.23301638662815094, 0.18303918838500977, 0.10128527134656906, -0.020585210993885994, -0.2543068826198578, -0.1281110793352127, -0.495686411857605, -0.14644773304462433, 0.30492228269577026, 0.44477009773254395, -0.4531577527523041, -0.5866712331771851, 0.26064440608024597, -0.42576807737350464, -0.03383442759513855, 0.10021638125181198, 0.36175599694252014, -0.13488446176052094, 0.34633806347846985, 0.05167446285486221, 0.2822863459587097, -0.1180596724152565, -0.20207518339157104, -0.1771644502878189, 0.1411392241716385, -0.19642393290996552, 0.07668192684650421, 0.22601382434368134, -0.4352952241897583, 0.31519436836242676, 0.10053573548793793, 0.3195825219154358, 0.024610884487628937, -0.03942642733454704, -0.06250287592411041, -0.3420781195163727, 0.29523801803588867, -0.2975321114063263, 0.03572583198547363, 0.1402018517255783, -0.2860606610774994, -0.06302879750728607, 0.18216350674629211, -0.32619377970695496, -0.02672683820128441, -0.18541967868804932, 0.052909623831510544, -0.1444951295852661, 0.05327868461608887, -0.4641789495944977, -0.034403253346681595, -0.09688795357942581, -0.27016761898994446, 0.09257107228040695, -0.18675367534160614, 0.21426188945770264, -0.24912060797214508, 0.1467367559671402, 0.6955875754356384, -0.5375068783760071, -0.07292602956295013, 0.1932041496038437, -0.05842846259474754, 0.035234034061431885, 0.10900452733039856, -0.1654689460992813, 0.13702718913555145, -0.3446011543273926, -0.10282328724861145, 0.15042896568775177, -0.4401116967201233, -0.6035734415054321, 0.10642585903406143, 0.013413652777671814, 0.22816316783428192, 0.12718459963798523, -0.03874368593096733, -0.4771975576877594, -0.023053469136357307, -0.10390527546405792, -0.30530285835266113, -0.012857554480433464, -0.13113047182559967, -0.23246614634990692, -0.15119221806526184, 0.5078813433647156, 0.07603226602077484, 0.2369411736726761, 0.08104918897151947, 0.13708731532096863, 0.1925928145647049, 0.2370634377002716, -0.2821579873561859, -0.22671422362327576, 0.0899062305688858, 0.29176875948905945, -0.03146445006132126, 0.04327007010579109, -0.04735543951392174, -0.652544379234314, 0.3559955060482025, 0.03991517424583435, -0.09408517181873322, 0.14504382014274597, -0.08631426095962524, -0.1655561923980713, -0.25147074460983276, -0.2675711214542389, -0.2202230989933014, -0.019351119175553322, -0.016915977001190186, 0.017483461648225784, 0.06582993268966675, -0.27473998069763184, 0.6899194717407227, -0.3939708173274994, 0.14065279066562653, -0.2124442160129547, 0.5503130555152893, -0.03201579302549362, 0.059807199984788895, -0.012553738430142403, 0.13051466643810272, 0.30562469363212585, -0.09303276985883713, -0.07941249758005142, 0.3704999089241028, 0.006911961827427149, 0.16692501306533813, -0.05065783113241196, 0.25168687105178833, 0.26661309599876404, -0.2968882918357849, 0.2391955852508545, 0.2839130163192749, 0.05913250148296356, 0.05797424167394638, 0.005060840398073196, 0.24801266193389893, 0.10853447020053864, 0.1219538152217865, 0.05764736980199814, -0.17246036231517792, 0.17578260600566864, -0.05663055181503296, 0.12039273232221603, -0.0433434396982193, 0.024791203439235687, 0.09358195960521698, 0.5590724945068359, -0.14896759390830994, -0.2962900996208191, -0.13456660509109497, 0.4552347958087921, 0.14434154331684113, -0.13991641998291016, -0.026227131485939026, -0.11647037416696548, 0.14453095197677612, 0.21291103959083557, 0.10801537334918976, 0.3510432839393616, 0.2801332473754883, -0.5974588990211487, 0.22917574644088745, -0.12576045095920563, -0.0784912258386612, 0.16016629338264465, -0.07382656633853912, 0.07491812855005264, 0.3334081470966339, 0.0019282088615000248, 0.19912923872470856, -0.2173793613910675, -0.39564934372901917, -0.2351122349500656, 0.2192082405090332, -0.4444912075996399, 0.010945873335003853, -0.21578606963157654, -0.1543773114681244, -0.07392406463623047, 0.04753128066658974, -0.06849750876426697, -0.13562317192554474, -0.11906704306602478, 0.1703486293554306, 0.08466315269470215, 0.03125852346420288, -0.6403214931488037, 0.01372922956943512, -0.10076966136693954, -0.1925148218870163, -0.18880145251750946, 0.14538413286209106, -0.17631614208221436, -0.010183773934841156, 0.4653300940990448, -0.13922373950481415, 0.07035437226295471, -0.49369925260543823, 0.02268737554550171, -0.21780750155448914, -0.5930320620536804, -0.06939332187175751, -0.10381197929382324, 0.23391598463058472, 0.126523956656456, 0.11554829031229019, -0.04536612331867218, -0.3656386137008667, 0.16471140086650848, 0.026804188266396523, -0.17205987870693207, 0.1776982545852661, -0.07045034319162369, -0.14960931241512299, 0.09931671619415283, -0.7325296998023987, 0.06186218559741974, -0.21140071749687195, 0.17415395379066467, 0.08074897527694702, 0.02521970123052597, 0.2991049587726593, 0.1805073469877243, 0.307908833026886, 0.08367352187633514, -0.18202131986618042, 0.010981274768710136, -0.2159576416015625, 0.3450257480144501, 0.03751088306307793, -0.1181052178144455, 0.16258791089057922, 0.0450231209397316, 0.15126389265060425, -0.07289328426122665, -0.4477995038032532, 0.016055237501859665, -0.2131376564502716, 0.33122336864471436, -0.12799137830734253, -0.15406621992588043, 0.3858329951763153, 0.03730813413858414, 0.12066580355167389, -0.15293461084365845, -0.027093948796391487, -0.1205233708024025, 0.2460719347000122, 0.19039607048034668, -0.22846141457557678, 0.5267710089683533, -0.21337635815143585, 0.1943134367465973, 0.2366066575050354, -0.14358949661254883, 0.3200841248035431, -0.17547549307346344, 0.5637099742889404, -0.374299019575119, -0.3002450466156006, 0.17194733023643494, 0.25916585326194763, 0.039200492203235626, -0.03866566717624664, -0.16318657994270325, -0.03205063194036484, -0.23924417793750763, -0.12447941303253174, -0.4805607199668884, 0.044979777187108994, -0.13710801303386688, 0.10707380622625351, 0.07221794873476028, 0.00023132190108299255, 0.1654784381389618, 0.1553042232990265, -0.18448886275291443, 0.20680354535579681, 0.3229154348373413, 0.2776373028755188, -0.05239993333816528, -0.7211449146270752, -0.3382638394832611, -0.33248433470726013, 0.4898707866668701, 0.15872885286808014, 0.09349950402975082, 0.16168782114982605, -0.04446743428707123, -0.1535758227109909, -0.20246872305870056, 0.5855938196182251, -0.2085537165403366, -0.15689823031425476, 0.3103548288345337, 0.09779070317745209, -0.144226536154747, -0.21549326181411743, -0.15339675545692444, 0.35497212409973145, 0.06769520789384842, 0.44606512784957886, -0.012783072888851166, -0.17859682440757751, 0.32916632294654846, 0.39623141288757324, -0.10084369033575058, 0.012522722594439983, -0.2164147049188614, 0.15831851959228516, 0.03815337270498276, -0.038844890892505646, -0.1345280110836029, 0.3791518211364746, -0.17897719144821167, -0.18548530340194702, -0.11116273701190948, -0.34299954771995544, 0.29436856508255005, 0.32736676931381226, 0.5280426144599915, 0.032372910529375076, 0.2896404266357422, 0.2594362199306488, 0.025546390563249588, 0.813024640083313, 0.3938734531402588, 0.09700299799442291, -0.16714584827423096, -0.1696544885635376, 0.1400681436061859, 0.2687196433544159, 0.158284530043602, -0.13553428649902344, 0.016789279878139496, -0.1615501344203949, 0.0685495063662529, -0.10237594693899155, 0.12742917239665985, 0.3834613859653473, 0.06662273406982422, -0.4211311936378479, -0.3310449421405792, 0.37849047780036926, -0.04159644991159439, 0.06444208323955536, 0.23167026042938232, 0.3991468548774719, -0.28051865100860596, -0.14158283174037933, -0.06993842869997025, 0.7818910479545593, 0.1888568103313446, -0.021638687700033188, 0.19186854362487793, -0.09989118576049805, 0.30720314383506775, -0.459031879901886, 0.12848913669586182, -0.4941147267818451, -0.17331606149673462, -0.10538969933986664, -0.1505172699689865, 0.2728251814842224, 0.20999574661254883, -0.253799706697464, 0.4802767038345337, -0.2117661088705063, 0.23737984895706177, -0.09534399956464767, 0.05760101228952408, -0.16801901161670685, 0.25554516911506653, -0.43884992599487305, 0.02699108049273491, 0.10594606399536133, 0.11452294886112213, -0.2314448356628418, 0.008271612226963043, -0.04769138619303703, -0.3490656614303589, -0.25006914138793945, 0.38084158301353455, -0.46623557806015015, 0.029804427176713943, 0.3340104818344116, -0.23817680776119232, 0.16812583804130554, 0.40198859572410583, 0.3803263306617737, 0.2154344767332077, -0.3112197518348694, 0.19210611283779144, -0.3263019621372223, -0.08456164598464966, 0.22025974094867706, 0.0536632239818573, 0.061833471059799194, 0.04313310235738754, -0.32807767391204834, 0.25284287333488464, -0.09328986704349518, -0.24625074863433838, -0.17961646616458893, -0.011658705770969391, -0.038385048508644104, -0.19487406313419342, -0.2396782487630844, 0.20479410886764526, 0.044827889651060104, -0.2937813401222229, 0.06940848380327225, -0.25055044889450073, 0.09080768376588821, -0.07375732809305191, 0.09955155104398727, -0.3038039207458496, 0.005049481987953186, 0.364831805229187, -0.20864492654800415, -0.20678751170635223, 0.3426254093647003, -0.03812296688556671, -0.11980237066745758, -0.2006416618824005, 0.13849708437919617, 0.36888518929481506, -0.40817150473594666, -0.03545752540230751, 0.0491519533097744, 0.2197423130273819, 0.16326451301574707, 0.16427694261074066, 0.2157881259918213, -0.1765475571155548, 0.17065204679965973, -0.36845678091049194, -0.3288734257221222, 0.4158748388290405, 0.011359531432390213, 0.19417399168014526, 0.029639892280101776, 0.1662595272064209, 0.001107214018702507, -0.14559175074100494, -0.17908841371536255, 0.10977235436439514, 0.01751823164522648, 0.05696380138397217, -0.05286532640457153, 0.26533856987953186, 0.4178846478462219, -0.007606327999383211, 0.07748520374298096, 0.06420212984085083, 0.0036086412146687508, -0.1160660982131958, -0.14117537438869476, 0.16353467106819153, 0.10173472762107849, 0.01773945614695549, 0.07958688586950302, -0.0039025358855724335, 0.04279405623674393, -0.21024154126644135, 0.3398745357990265, 0.2861105501651764, 0.09775926917791367, 0.40198683738708496, 0.36421114206314087, -0.10018058866262436, -0.1780906617641449, 0.13998109102249146, 0.04036015272140503, 0.17873722314834595, 0.1127701997756958, 0.13480211794376373, -0.021079659461975098, 0.07906801998615265, 0.18076935410499573, 0.213412344455719, -0.3061069846153259, 0.214528888463974, 0.04603289067745209, -0.304535448551178, 0.11340565979480743, 0.18224933743476868, -0.060641203075647354, 0.48235559463500977, -0.1592118740081787, 0.1251029521226883, 0.39255303144454956, 0.1670965999364853, -0.41053295135498047, -0.07996223866939545, 0.32610613107681274, 0.08820538967847824, -0.07786692678928375, 0.017463691532611847, 0.011662308126688004, -0.36288902163505554, 0.37056970596313477, 0.20260107517242432, 0.27336594462394714, -0.10349589586257935, 0.4147837162017822, 0.4607183039188385, 0.08928601443767548, -0.10097014904022217, 0.2551831305027008, -0.17657597362995148, 0.25185883045196533, 0.6028957962989807, -0.15398302674293518, 0.10235487669706345, 0.05931699275970459, 0.2546626627445221, 0.0828360915184021, -0.3712722361087799, -0.5648518800735474, 0.2252015918493271, -0.13383466005325317, 0.01972772926092148, 0.040877941995859146, 0.40940433740615845, 0.17511260509490967, -0.07257742434740067, -0.3387376666069031, -0.2950591444969177, -0.24094492197036743, 0.06125553324818611, -0.048667967319488525, -0.39748427271842957, -0.06548172235488892, 0.026994425803422928, -0.051775526255369186, -0.11366336047649384, 0.27537718415260315, -0.06408514082431793, -0.404360294342041, -0.15767565369606018, 0.18155595660209656, 0.37276142835617065, 0.09641104191541672, -0.1554260104894638, 0.2109927535057068, 0.2434033751487732, 0.03292182460427284, 0.08297418802976608, 0.29364874958992004, 0.4390777051448822, 0.2707827091217041, 0.05060660466551781, -0.01621018722653389, 0.18598292768001556, -0.11949718743562698, 0.15814441442489624, 0.20075982809066772, -0.30768322944641113, 0.09850050508975983, -0.01740395650267601, 0.1406882256269455, -0.06385967135429382, 0.19443678855895996, -0.12976400554180145, 0.22686313092708588, -0.532724916934967, 0.07162871211767197, -0.1680387556552887, -0.10884374380111694, -0.12903046607971191, 0.22895359992980957, -0.333189994096756, -0.2267201542854309, 0.2730574309825897, 0.06936207413673401, 0.009592164307832718, 0.2673299312591553, 0.03266995772719383, -0.15973274409770966, 0.15364694595336914, 0.2203376442193985, 0.15984874963760376, -0.29031941294670105, -0.3306838274002075, -0.4528311789035797, 0.00855991244316101, 0.026859130710363388, 0.3244035243988037, -0.20155858993530273, -0.11409763246774673, -0.2526094615459442, -0.02886722981929779, 0.4957997798919678, 0.04034644365310669, 0.2946101427078247, 0.004561007022857666, -0.42161792516708374, -0.04315909370779991, 0.20885266363620758, -0.05194767564535141, -0.04269643872976303, -0.5033798217773438, -0.1376316398382187, 0.08641179651021957, -0.09984798729419708, -0.15372134745121002, 0.13674162328243256, -0.16653066873550415, 0.023983702063560486, 0.8094243407249451, 0.0855741798877716, 0.6356728076934814, -0.10314077138900757, -0.012256872840225697, -0.4340739846229553, -0.5135287642478943, 0.040885500609874725, 0.09606985002756119, 0.028228413313627243, 0.5386804342269897, -0.40883493423461914, -0.11444643139839172, -0.12336253374814987, 0.2872782349586487, 0.08475111424922943, 0.14293259382247925, -0.35204750299453735, 0.04950695484876633, -0.34726181626319885, 0.04756177216768265, -0.2015838623046875, 0.09372001886367798, 0.06344207376241684, -0.03364303335547447, -0.13188576698303223, -0.2346055507659912, 0.5741701126098633, -0.31822100281715393, 0.017196588218212128, -0.20539633929729462, 0.16087646782398224, 0.19501513242721558, -0.24939987063407898, -0.37660184502601624, 0.1034565344452858, 0.5223572254180908, 0.21953681111335754, -0.2243412286043167, 0.3346847891807556, -0.11965794861316681, -0.06567592173814774, 0.11322501301765442, 0.19633156061172485, 0.07418203353881836, -0.22253546118736267, 0.09397116303443909, -0.31466585397720337 ]
https://github.com/huggingface/datasets/issues/7033
`from_generator` does not allow to specify the split name
Thanks for reporting, @pminervini. I agree we should give the option to define the split name. Indeed, there is a PR that addresses precisely this issue: - #7015 I am reviewing it.
### Describe the bug I'm building train, dev, and test using `from_generator`; however, in all three cases, the logger prints `Generating train split:` It's not possible to change the split name since it seems to be hardcoded: https://github.com/huggingface/datasets/blob/main/src/datasets/packaged_modules/generator/generator.py ### Steps to reproduce the bug ``` In [1]: from datasets import Dataset In [2]: def gen(): ...: yield {"pokemon": "bulbasaur", "type": "grass"} ...: In [3]: ds = Dataset.from_generator(gen) Generating train split: 1 examples [00:00, 133.89 examples/s] ``` ### Expected behavior It should be possible to specify any split name ### Environment info - `datasets` version: 2.19.2 - Platform: macOS-10.16-x86_64-i386-64bit - Python version: 3.8.5 - `huggingface_hub` version: 0.23.3 - PyArrow version: 15.0.0 - Pandas version: 2.0.3 - `fsspec` version: 2023.10.0
32
`from_generator` does not allow to specify the split name ### Describe the bug I'm building train, dev, and test using `from_generator`; however, in all three cases, the logger prints `Generating train split:` It's not possible to change the split name since it seems to be hardcoded: https://github.com/huggingface/datasets/blob/main/src/datasets/packaged_modules/generator/generator.py ### Steps to reproduce the bug ``` In [1]: from datasets import Dataset In [2]: def gen(): ...: yield {"pokemon": "bulbasaur", "type": "grass"} ...: In [3]: ds = Dataset.from_generator(gen) Generating train split: 1 examples [00:00, 133.89 examples/s] ``` ### Expected behavior It should be possible to specify any split name ### Environment info - `datasets` version: 2.19.2 - Platform: macOS-10.16-x86_64-i386-64bit - Python version: 3.8.5 - `huggingface_hub` version: 0.23.3 - PyArrow version: 15.0.0 - Pandas version: 2.0.3 - `fsspec` version: 2023.10.0 Thanks for reporting, @pminervini. I agree we should give the option to define the split name. Indeed, there is a PR that addresses precisely this issue: - #7015 I am reviewing it.
[ -0.08032244443893433, -0.18822568655014038, 0.051649514585733414, 0.3789212703704834, 0.34946805238723755, -0.0962342619895935, 0.585552990436554, 0.1975223571062088, -0.230672687292099, 0.3274785876274109, 0.14162872731685638, 0.3702322840690613, -0.09433481842279434, 0.24470113217830658, 0.10003866255283356, -0.50593101978302, 0.22616001963615417, -0.06333015859127045, -0.0542992502450943, 0.0856567919254303, -0.18264730274677277, 0.2803378105163574, -0.051301419734954834, 0.33398640155792236, -0.4956894516944885, 0.14584285020828247, 0.10439357161521912, -0.10102932900190353, -0.08404656499624252, -0.1840292513370514, 0.031946033239364624, 0.20508530735969543, -0.2970091700553894, 0.5460035800933838, -0.00012713503383565694, -0.18033955991268158, 0.28692591190338135, -0.0119156613945961, -0.14403671026229858, -0.49224525690078735, -0.04975622147321701, 0.2998698949813843, 0.04448790103197098, -0.21855270862579346, 0.008840765804052353, -0.08545403182506561, 0.09496957063674927, -0.06187749281525612, 0.4490639567375183, 0.030739039182662964, 0.03317207843065262, 0.02136249840259552, 0.06545157730579376, -0.2368825525045395, 0.014070458710193634, 0.3304879069328308, -0.4263688921928406, -0.16774021089076996, -0.3060597777366638, -0.24824051558971405, 0.06590002775192261, 0.016958121210336685, 0.1443103551864624, -0.055026765912771225, 0.24004578590393066, 0.23237432539463043, -0.26438581943511963, -0.31442931294441223, 0.09016641229391098, 0.570547878742218, -0.012669980525970459, -0.2637300193309784, -0.22202683985233307, -0.39231500029563904, 0.06554453074932098, -0.33750781416893005, 0.39796146750450134, 0.19294318556785583, -0.49288198351860046, 0.27470269799232483, -0.006977013312280178, -0.21949416399002075, -0.12566232681274414, -0.035326868295669556, 0.10946814715862274, 0.016310080885887146, -0.08705761283636093, 0.34526732563972473, 0.18590770661830902, 0.33859962224960327, 0.0816701352596283, -0.0006897635757923126, 0.11601491272449493, -0.02427050843834877, -0.2795881927013397, 0.016588248312473297, -0.10546610504388809, -0.1928098499774933, -0.1191621720790863, 0.0017779991030693054, -0.34561392664909363, -0.27597400546073914, 0.06013328209519386, 0.0651867538690567, 0.07589289546012878, -0.02231183648109436, 0.31519126892089844, 0.3352600932121277, 0.1357165426015854, 0.3335230052471161, -0.16182276606559753, -0.1791079044342041, -0.06724528223276138, -0.39025184512138367, -0.009987231343984604, -0.040867872536182404, -0.00034819357097148895, 0.2590407729148865, -0.05481181666254997, -0.29081422090530396, -0.21950531005859375, -0.23076844215393066, 0.18827836215496063, 0.2104819416999817, 0.07303978502750397, 0.10166103392839432, -0.13581879436969757, 0.17061710357666016, -0.11007505655288696, -0.34320560097694397, -0.2183007299900055, -0.07209968566894531, -0.3023757338523865, 0.3122118413448334, -0.23774155974388123, -0.1375282108783722, 0.02524515800178051, 0.1254526674747467, 0.11527753621339798, -0.3662347197532654, -0.18183164298534393, -0.029089298099279404, 0.09235301613807678, 0.2533378601074219, 0.015614282339811325, 0.19856686890125275, 0.03763215243816376, -0.23599781095981598, -0.14590764045715332, -0.044800981879234314, -0.19349008798599243, -0.41658100485801697, -0.16175007820129395, -0.010787964798510075, -0.20831632614135742, 0.4432237148284912, -0.0955430343747139, 0.10088904201984406, 0.45502138137817383, 0.24913305044174194, 0.14375224709510803, 0.19806793332099915, -0.1908876895904541, -0.1769304871559143, 0.21967993676662445, 0.17826658487319946, -0.06968779861927032, -0.1910119354724884, -0.48488855361938477, -0.14308643341064453, 0.3291427195072174, 0.10461555421352386, -0.05866529420018196, 0.1534310281276703, -0.2076471596956253, 0.04065155237913132, 0.5303833484649658, 0.27886074781417847, 0.00400124303996563, 0.08593858033418655, -0.35310590267181396, -0.07808513194322586, 0.8341800570487976, -0.21957936882972717, -0.12016014754772186, -0.10807020962238312, 0.31151920557022095, 0.05776730552315712, -0.12240710854530334, -0.16032616794109344, -0.061295036226511, -0.34333208203315735, 0.006025407463312149, -0.04639075696468353, 0.21775807440280914, 0.2014567106962204, -0.140042245388031, 0.3110930919647217, 0.48433810472488403, 0.023615527898073196, -0.05034315586090088, 0.014802781865000725, 0.328320175409317, -0.03557116538286209, -0.00003588292747735977, -0.19784533977508545, -0.22232112288475037, 0.11492175608873367, -0.31716999411582947, 0.147910937666893, -0.20357953011989594, -0.1941467970609665, -0.12204637378454208, 0.04188273102045059, -0.07035417854785919, -0.038849491626024246, -0.13995537161827087, 0.0813276469707489, 0.03675572946667671, -0.13329949975013733, -0.36715802550315857, 0.2136945277452469, -0.2491910755634308, 0.37763696908950806, -0.49616754055023193, 0.21422389149665833, 0.11694382131099701, -0.03500974550843239, -0.31263840198516846, 0.24695637822151184, 0.04590384662151337, 0.032389234751462936, -0.08553384989500046, 0.4585726261138916, 0.24786745011806488, 0.4234411120414734, -0.2772086262702942, -0.17683781683444977, -0.07153942435979843, 0.016639720648527145, -0.14880682528018951, -0.16195456683635712, -0.23924627900123596, 0.12385698407888412, 0.140385240316391, 0.09179048985242844, -0.15285362303256989, 0.2920365333557129, -0.04445815831422806, 0.07722540944814682, 0.027199411764740944, -0.21204440295696259, 0.023808585479855537, -0.4312646985054016, 0.1362064629793167, -0.11134622991085052, 0.11988016963005066, 0.026541810482740402, -0.426262766122818, -0.14894747734069824, 0.9546220302581787, 0.09968861937522888, -0.23752892017364502, -0.11530549079179764, 0.023880288004875183, -0.08811011910438538, -0.09671058505773544, 0.4988414943218231, 0.1853248029947281, -0.008888800628483295, 0.0664847195148468, 0.0917978584766388, -0.024772189557552338, -0.2553384602069855, 0.3006904721260071, 0.13121630251407623, 0.13175320625305176, -0.0045614950358867645, -0.2752264738082886, -0.2338276207447052, -0.18707218766212463, 0.054371755570173264, 0.34254753589630127, -0.00795540027320385, -0.29048073291778564, 0.14182515442371368, -0.17624010145664215, 0.002285253256559372, -0.48112940788269043, -0.03846874088048935, -0.4432051181793213, -0.25738248229026794, 0.08611876517534256, 0.23841898143291473, -0.17225699126720428, 0.12006159126758575, 0.34533581137657166, -0.2317965179681778, -0.01595247909426689, 0.017120588570833206, -0.23804163932800293, 0.18893200159072876, -0.06465693563222885, -0.04982903599739075, -0.002860030625015497, -0.18896013498306274, 0.29200637340545654, -0.19412465393543243, -0.4467872381210327, 0.0013516852632164955, -0.03438466787338257, 0.3579808175563812, -0.28253334760665894, 0.4296746253967285, 0.5197920799255371, 0.057683415710926056, 0.05392242223024368, -0.19019486010074615, 0.3008441925048828, -0.15275096893310547, 0.04283672571182251, -0.15924391150474548, 0.11042791604995728, 0.32094165682792664, -0.25825509428977966, -0.13371622562408447, -0.025313058868050575, -0.23098894953727722, 0.5024150013923645, -0.3284734785556793, 0.15727654099464417, 0.2381453663110733, -0.06704560667276382, -0.16529199481010437, -0.21095621585845947, -0.06321458518505096, -0.11873648315668106, -0.404845654964447, 0.20145438611507416, -0.26047950983047485, 0.10305936634540558, 0.11278890073299408, 0.032211095094680786, 0.1050904244184494, -0.10720407217741013, -0.06629494577646255, -0.03240319713950157, 0.009959709830582142, 0.16802211105823517, 0.3165294826030731, 0.1935584396123886, -0.10279583930969238, 0.16084237396717072, 0.042209357023239136, -0.14478763937950134, 0.04917774721980095, 0.4161277413368225, 0.09795065224170685, 0.33064737915992737, 0.34153077006340027, 0.2778926193714142, -0.02075413055717945, 0.7437508702278137, 0.34410327672958374, 0.14069609344005585, 0.07276305556297302, -0.36105290055274963, 0.1117672473192215, -0.08737378567457199, -0.29028889536857605, -0.06347828358411789, 0.18285277485847473, -0.3792511820793152, 0.016207590699195862, -0.12088663130998611, 0.38792693614959717, -0.0558403804898262, 0.2598036229610443, 0.1517065465450287, -0.528230607509613, -0.06082433462142944, 0.06235174462199211, 0.2491377592086792, -0.24237973988056183, 0.24835467338562012, -0.012049306184053421, -0.04375717043876648, 0.022207781672477722, -0.015282116830348969, 0.1579291969537735, -0.13412567973136902, -0.128015398979187, -0.2480309009552002, -0.532069206237793, 0.06756792962551117, 0.11770395934581757, -0.1166795939207077, -0.12473441660404205, -0.09894007444381714, 0.23705895245075226, 0.29150068759918213, 0.8117852807044983, -0.12458855658769608, -0.0034721344709396362, 0.1008123904466629, -0.14074090123176575, 0.2047443687915802, 0.0843370258808136, 0.2276284396648407, -0.10945826768875122, 0.23468773066997528, -0.0732012689113617, -0.5049199461936951, -0.5738019347190857, 0.32707470655441284, 0.351211816072464, -0.18141686916351318, -0.2334979772567749, -0.2447245568037033, 0.10279833525419235, 0.13231217861175537, -0.3143416941165924, 0.2440328747034073, 0.5057803988456726, -0.06674285233020782, 0.11139857769012451, 0.18648849427700043, -0.19943666458129883, 0.3182660639286041, 0.21303938329219818, 0.277875691652298, -0.28446149826049805, 0.021181020885705948, 0.21600909531116486, -0.02618781477212906, 0.10616536438465118, 0.4289197027683258, -0.5235868692398071, -0.39887985587120056, -0.06454360485076904, -0.17532210052013397, 0.4013982117176056, 0.5552745461463928, -0.32270124554634094, 0.35660919547080994, 0.14058241248130798, 0.4697781205177307, -0.009505911730229855, 0.2114233374595642, 0.49041977524757385, -0.1641668975353241, -0.33609774708747864, -0.5469289422035217, 0.4525613486766815, 0.2212667167186737, 0.0887850821018219, 0.5115723609924316, 0.3547225594520569, -0.40341395139694214, 0.057617828249931335, -0.2678452134132385, 0.909895122051239, -0.008226223289966583, -0.028204668313264847, 0.10161619633436203, -0.0265074223279953, 0.5560095310211182, -0.09220729768276215, 0.11504461616277695, -0.4188987612724304, -0.026746269315481186, -0.07291336357593536, -0.03887881338596344, 0.36281201243400574, 0.20614846050739288, 0.20195931196212769, 0.22069598734378815, -0.22451792657375336, 0.35760697722435, -0.22073765099048615, 0.1409720927476883, -0.0958627313375473, -0.19293230772018433, -0.2083570659160614, -0.19938693940639496, 0.10088351368904114, 0.1613130420446396, 0.1996268928050995, -0.3025537133216858, 0.10637830197811127, -0.18330636620521545, -0.4528600573539734, -0.058438632637262344, -0.08727777749300003, -0.2451288253068924, 0.4070594310760498, -0.402451753616333, 0.14957331120967865, 0.24804775416851044, 0.5679311156272888, 0.09163209050893784, 0.0190227460116148, 0.36230766773223877, -0.15506327152252197, 0.09837712347507477, -0.16616685688495636, 0.12672482430934906, 0.45989030599594116, 0.19521504640579224, -0.12759530544281006, 0.14801979064941406, -0.07122354954481125, -0.2667723298072815, -0.16561317443847656, -0.22997485101222992, 0.02973407693207264, -0.2881500720977783, 0.24657507240772247, -0.137624129652977, 0.18079400062561035, -0.26972439885139465, 0.030321046710014343, 0.019964799284934998, -0.23674903810024261, -0.09359433501958847, -0.4905981719493866, -0.18327665328979492, -0.20587237179279327, 0.01880306750535965, 0.057719677686691284, 0.2903057932853699, 0.354595422744751, 0.1299290955066681, 0.0032306499779224396, -0.11384585499763489, 0.04538118839263916, 0.3833131492137909, -0.769315242767334, 0.41692718863487244, 0.2713026702404022, -0.05479257553815842, 0.06316298246383667, 0.24471765756607056, -0.12036748230457306, 0.4807754456996918, -0.13650527596473694, 0.056163936853408813, -0.1968201994895935, 0.08751682937145233, 0.01970357447862625, 0.11548896133899689, 0.11646204441785812, 0.482889860868454, -0.030046746134757996, -0.04515179991722107, -0.11403579264879227, -0.1110948994755745, 0.05313016474246979, 0.092638298869133, -0.11358550190925598, 0.00040558353066444397, 0.3764466643333435, -0.18617601692676544, 0.09602467715740204, 0.008191913366317749, -0.22279299795627594, 0.01724977418780327, -0.4881431460380554, 0.19230933487415314, -0.012717995792627335, 0.11941193044185638, 0.009600977413356304, -0.03203709423542023, -0.10330116748809814, -0.25533682107925415, 0.3742423355579376, 0.29370570182800293, 0.17797912657260895, 0.3217306435108185, 0.11198059469461441, 0.23866328597068787, -0.37941819429397583, -0.2391766607761383, 0.08007574826478958, 0.7265329360961914, -0.012158016674220562, 0.22164615988731384, -0.4003203809261322, -0.025238674134016037, -0.4510364234447479, -0.007976606488227844, -0.2569013237953186, -0.01115228608250618, 0.17061495780944824, -0.09066256880760193, -0.20972886681556702, -0.03525941073894501, 0.366468220949173, 0.33952662348747253, -0.007608784828335047, -0.06074982136487961, 0.3014540672302246, -0.014854168519377708, -0.002410273998975754, 0.19641835987567902, -0.09325006604194641, -0.03447072207927704, 0.018974486738443375, 0.5905448794364929, 0.07749103009700775, 0.05805151164531708, -0.1399703472852707, -0.06340599805116653, 0.12125611305236816, 0.0011295713484287262, 0.49939024448394775, 0.8525895476341248, 0.020271066576242447, 0.5390316843986511, 0.4406685531139374, 0.18255551159381866, -0.00800112634897232, 0.46824073791503906, 0.061326950788497925, 0.17011576890945435, -0.21572458744049072, -0.04998718574643135, 0.5127609372138977, 0.17391785979270935, -0.1948554664850235, 0.18511837720870972, -0.2523278295993805, 0.07266529649496078, -0.2766706049442291, 0.4053306579589844, -0.4342347979545593, 0.2068343162536621, -0.24022796750068665, 0.20483000576496124, 0.11174525320529938, -0.06140472739934921, -0.04758329689502716, -0.06173271685838699, -0.22330743074417114, 0.11534656584262848, 0.1564931720495224, -0.19163353741168976, 0.3087143898010254, 0.07527413219213486, 0.1426888406276703, 0.1548900455236435, -0.00698060542345047, -0.12028806656599045, 0.369098961353302, -0.38841187953948975, -0.05082102119922638, -0.17662431299686432, -0.28501948714256287, 0.08540183305740356, 0.009861161932349205, 0.1566655933856964, -0.07170912623405457, 0.051198359578847885, -0.5212142467498779, 0.05234857276082039, -0.059670962393283844, 0.11776523292064667, 0.01214450504630804, 0.08962171524763107, 0.03237813711166382, 0.21924951672554016, -0.04841548949480057, -0.1329290121793747, -0.25288087129592896, 0.2829098701477051, 0.6713636517524719, -0.28247424960136414, 0.8403072357177734, -0.25847694277763367, -0.07921619713306427, -0.1274077594280243, -0.16203069686889648, -0.3444153368473053, 0.034813184291124344, 0.23460133373737335, 0.007217030972242355, -0.08114758133888245, -0.2663104236125946, -0.03769849240779877, 0.020636962726712227, 0.3044792115688324, -0.2199520319700241, -0.09240970760583878, -0.050418175756931305, -0.28575772047042847, 0.14952991902828217, 0.0679633691906929, -0.027565348893404007, 0.10946843028068542, -0.13990913331508636, -0.15611283481121063, -0.15906041860580444, 0.016691798344254494, 0.10356886684894562, -0.2447880506515503, -0.1577875167131424, 0.7030513286590576, 0.03331929072737694, -0.20212422311306, 0.0013941824436187744, -0.024559510871767998, 0.07849950343370438, -0.11961869150400162, 0.09109774231910706, -0.19516003131866455, -0.2434406876564026, -0.06845177710056305, 0.10676439106464386, 0.4584585428237915, -0.060307830572128296, 0.0011060312390327454, 0.006068620830774307, -0.10455101728439331, 0.0653366968035698, -0.23621194064617157, -0.05517294630408287, -0.22291305661201477, -0.2990022301673889, 0.24526217579841614, -0.14646928012371063, 0.4375426471233368, 0.17993803322315216, -0.024725738912820816, -0.5683186054229736, 0.253816694021225, -0.02355736680328846, 0.05982600897550583, -0.15278248488903046, -0.05807548761367798, -0.021703608334064484, 0.006095463410019875, 0.5759721398353577, 0.2221689224243164, -0.09778144955635071, -0.08935520052909851, -0.20035605132579803, -0.25869831442832947, 0.3476676940917969, -0.35502421855926514, -0.4690376818180084, -0.09614090621471405, 0.01882653683423996, 0.4235972464084625, -0.3018421530723572, -0.4353584349155426, -0.043449562042951584, 0.15911556780338287, -0.13000944256782532, 0.21733926236629486, 0.08231747150421143, 0.05344945564866066, 0.16525210440158844, 0.12320730090141296, 0.22575484216213226, 0.18718752264976501, -0.24218598008155823, 0.22168013453483582, -0.20600250363349915 ]
https://github.com/huggingface/datasets/issues/7005
EmptyDatasetError: The directory at /metadata.jsonl doesn't contain any data files
If you are trying to load your image dataset from a local folder, you should replace "data_dir=path/to/jsonl/metadata.jsonl" with the real folder path in your computer. https://huggingface.co/docs/datasets/en/image_load#imagefolder
### Describe the bug while trying to load custom dataset from jsonl file, I get the error: "metadata.jsonl doesn't contain any data files" ### Steps to reproduce the bug This is my [metadata_v2.jsonl](https://github.com/user-attachments/files/16016011/metadata_v2.json) file. I have this file in the folder with all images mentioned in that json(l) file. Through below mentioned command I am trying to load_dataset so that I can upload it as mentioned here on the [official website](https://huggingface.co/docs/datasets/en/image_dataset#upload-dataset-to-the-hub). ```` from datasets import load_dataset dataset = load_dataset("imagefolder", data_dir="path/to/jsonl/metadata.jsonl") ```` error: ```` EmptyDatasetError Traceback (most recent call last) Cell In[18], line 3 1 from datasets import load_dataset ----> 3 dataset = load_dataset("imagefolder", 4 data_dir="path/to/jsonl/file/metadata.jsonl") 5 dataset[0]["objects"] File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:2594, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs) 2589 verification_mode = VerificationMode( 2590 (verification_mode or VerificationMode.BASIC_CHECKS) if not save_infos else VerificationMode.ALL_CHECKS 2591 ) 2593 # Create a dataset builder -> 2594 builder_instance = load_dataset_builder( 2595 path=path, 2596 name=name, 2597 data_dir=data_dir, 2598 data_files=data_files, 2599 cache_dir=cache_dir, 2600 features=features, 2601 download_config=download_config, 2602 download_mode=download_mode, 2603 revision=revision, 2604 token=token, 2605 storage_options=storage_options, 2606 trust_remote_code=trust_remote_code, 2607 _require_default_config_name=name is None, 2608 **config_kwargs, 2609 ) 2611 # Return iterable dataset in case of streaming 2612 if streaming: File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:2266, in load_dataset_builder(path, name, data_dir, data_files, cache_dir, features, download_config, download_mode, revision, token, use_auth_token, storage_options, trust_remote_code, _require_default_config_name, **config_kwargs) 2264 download_config = download_config.copy() if download_config else DownloadConfig() 2265 download_config.storage_options.update(storage_options) -> 2266 dataset_module = dataset_module_factory( 2267 path, 2268 revision=revision, 2269 download_config=download_config, 2270 download_mode=download_mode, 2271 data_dir=data_dir, 2272 data_files=data_files, 2273 cache_dir=cache_dir, 2274 trust_remote_code=trust_remote_code, 2275 _require_default_config_name=_require_default_config_name, 2276 _require_custom_configs=bool(config_kwargs), 2277 ) 2278 # Get dataset builder class from the processing script 2279 builder_kwargs = dataset_module.builder_kwargs File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:1805, in dataset_module_factory(path, revision, download_config, download_mode, dynamic_modules_path, data_dir, data_files, cache_dir, trust_remote_code, _require_default_config_name, _require_custom_configs, **download_kwargs) 1782 # We have several ways to get a dataset builder: 1783 # 1784 # - if path is the name of a packaged dataset module (...) 1796 1797 # Try packaged 1798 if path in _PACKAGED_DATASETS_MODULES: 1799 return PackagedDatasetModuleFactory( 1800 path, 1801 data_dir=data_dir, 1802 data_files=data_files, 1803 download_config=download_config, 1804 download_mode=download_mode, -> 1805 ).get_module() 1806 # Try locally 1807 elif path.endswith(filename): File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:1140, in PackagedDatasetModuleFactory.get_module(self) 1135 def get_module(self) -> DatasetModule: 1136 base_path = Path(self.data_dir or "").expanduser().resolve().as_posix() 1137 patterns = ( 1138 sanitize_patterns(self.data_files) 1139 if self.data_files is not None -> 1140 else get_data_patterns(base_path, download_config=self.download_config) 1141 ) 1142 data_files = DataFilesDict.from_patterns( 1143 patterns, 1144 download_config=self.download_config, 1145 base_path=base_path, 1146 ) 1147 supports_metadata = self.name in _MODULE_SUPPORTS_METADATA File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/data_files.py:503, in get_data_patterns(base_path, download_config) 501 return _get_data_files_patterns(resolver) 502 except FileNotFoundError: --> 503 raise EmptyDatasetError(f"The directory at {base_path} doesn't contain any data files") from None EmptyDatasetError: The directory at path/to/jsonl/file/metadata.jsonl doesn't contain any data files` ``` ### Expected behavior It should be able load the whole file in a format of "dataset" inside the dataset variable. But it gives error "The directory at "path/to/jsonl/metadata.jsonl" doesn't contain any data files." ### Environment info I am using conda environment.
26
EmptyDatasetError: The directory at /metadata.jsonl doesn't contain any data files ### Describe the bug while trying to load custom dataset from jsonl file, I get the error: "metadata.jsonl doesn't contain any data files" ### Steps to reproduce the bug This is my [metadata_v2.jsonl](https://github.com/user-attachments/files/16016011/metadata_v2.json) file. I have this file in the folder with all images mentioned in that json(l) file. Through below mentioned command I am trying to load_dataset so that I can upload it as mentioned here on the [official website](https://huggingface.co/docs/datasets/en/image_dataset#upload-dataset-to-the-hub). ```` from datasets import load_dataset dataset = load_dataset("imagefolder", data_dir="path/to/jsonl/metadata.jsonl") ```` error: ```` EmptyDatasetError Traceback (most recent call last) Cell In[18], line 3 1 from datasets import load_dataset ----> 3 dataset = load_dataset("imagefolder", 4 data_dir="path/to/jsonl/file/metadata.jsonl") 5 dataset[0]["objects"] File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:2594, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs) 2589 verification_mode = VerificationMode( 2590 (verification_mode or VerificationMode.BASIC_CHECKS) if not save_infos else VerificationMode.ALL_CHECKS 2591 ) 2593 # Create a dataset builder -> 2594 builder_instance = load_dataset_builder( 2595 path=path, 2596 name=name, 2597 data_dir=data_dir, 2598 data_files=data_files, 2599 cache_dir=cache_dir, 2600 features=features, 2601 download_config=download_config, 2602 download_mode=download_mode, 2603 revision=revision, 2604 token=token, 2605 storage_options=storage_options, 2606 trust_remote_code=trust_remote_code, 2607 _require_default_config_name=name is None, 2608 **config_kwargs, 2609 ) 2611 # Return iterable dataset in case of streaming 2612 if streaming: File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:2266, in load_dataset_builder(path, name, data_dir, data_files, cache_dir, features, download_config, download_mode, revision, token, use_auth_token, storage_options, trust_remote_code, _require_default_config_name, **config_kwargs) 2264 download_config = download_config.copy() if download_config else DownloadConfig() 2265 download_config.storage_options.update(storage_options) -> 2266 dataset_module = dataset_module_factory( 2267 path, 2268 revision=revision, 2269 download_config=download_config, 2270 download_mode=download_mode, 2271 data_dir=data_dir, 2272 data_files=data_files, 2273 cache_dir=cache_dir, 2274 trust_remote_code=trust_remote_code, 2275 _require_default_config_name=_require_default_config_name, 2276 _require_custom_configs=bool(config_kwargs), 2277 ) 2278 # Get dataset builder class from the processing script 2279 builder_kwargs = dataset_module.builder_kwargs File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:1805, in dataset_module_factory(path, revision, download_config, download_mode, dynamic_modules_path, data_dir, data_files, cache_dir, trust_remote_code, _require_default_config_name, _require_custom_configs, **download_kwargs) 1782 # We have several ways to get a dataset builder: 1783 # 1784 # - if path is the name of a packaged dataset module (...) 1796 1797 # Try packaged 1798 if path in _PACKAGED_DATASETS_MODULES: 1799 return PackagedDatasetModuleFactory( 1800 path, 1801 data_dir=data_dir, 1802 data_files=data_files, 1803 download_config=download_config, 1804 download_mode=download_mode, -> 1805 ).get_module() 1806 # Try locally 1807 elif path.endswith(filename): File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:1140, in PackagedDatasetModuleFactory.get_module(self) 1135 def get_module(self) -> DatasetModule: 1136 base_path = Path(self.data_dir or "").expanduser().resolve().as_posix() 1137 patterns = ( 1138 sanitize_patterns(self.data_files) 1139 if self.data_files is not None -> 1140 else get_data_patterns(base_path, download_config=self.download_config) 1141 ) 1142 data_files = DataFilesDict.from_patterns( 1143 patterns, 1144 download_config=self.download_config, 1145 base_path=base_path, 1146 ) 1147 supports_metadata = self.name in _MODULE_SUPPORTS_METADATA File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/data_files.py:503, in get_data_patterns(base_path, download_config) 501 return _get_data_files_patterns(resolver) 502 except FileNotFoundError: --> 503 raise EmptyDatasetError(f"The directory at {base_path} doesn't contain any data files") from None EmptyDatasetError: The directory at path/to/jsonl/file/metadata.jsonl doesn't contain any data files` ``` ### Expected behavior It should be able load the whole file in a format of "dataset" inside the dataset variable. But it gives error "The directory at "path/to/jsonl/metadata.jsonl" doesn't contain any data files." ### Environment info I am using conda environment. If you are trying to load your image dataset from a local folder, you should replace "data_dir=path/to/jsonl/metadata.jsonl" with the real folder path in your computer. https://huggingface.co/docs/datasets/en/image_load#imagefolder
[ -0.016234397888183594, 0.07239946722984314, -0.025297634303569794, 0.6795621514320374, 0.007368864491581917, 0.16623660922050476, 0.01661766692996025, 0.3690929114818573, 0.20603157579898834, 0.08262968063354492, -0.02496563084423542, 0.1874658465385437, -0.33143505454063416, -0.03004961647093296, -0.050066642463207245, 0.1790800839662552, -0.12854883074760437, 0.27687036991119385, -0.1441842019557953, -0.13146109879016876, -0.21804922819137573, 0.28306645154953003, -0.18826159834861755, -0.1153782457113266, -0.1103748083114624, 0.24286489188671112, -0.0415293350815773, 0.5461862087249756, -0.02466251514852047, -0.34503212571144104, 0.04616304486989975, -0.20798851549625397, 0.02353879064321518, 0.5558899641036987, -0.00011996620014542714, 0.09448571503162384, 0.4678460955619812, -0.23483037948608398, -0.39365583658218384, -0.4956551790237427, -0.19706284999847412, -0.21441568434238434, 0.12844537198543549, -0.10338030010461807, 0.009622082114219666, -0.20243065059185028, -0.1407628357410431, -0.23766498267650604, 0.4126712679862976, 0.2267274260520935, 0.12392526865005493, 0.13465532660484314, 0.22274638712406158, -0.015200665220618248, 0.08478245884180069, 0.7601121664047241, 0.09807752817869186, 0.2915014922618866, 0.050130512565374374, -0.08558010309934616, 0.3511055111885071, 0.3572181463241577, -0.13747932016849518, 0.049861155450344086, 0.29519104957580566, 0.06945302337408066, -0.2705262303352356, -0.18731215596199036, 0.16267594695091248, 0.1941242516040802, 0.6567094922065735, -0.26317551732063293, -0.42885860800743103, -0.2488403618335724, 0.11275184154510498, -0.14053525030612946, 0.40022262930870056, 0.3142159581184387, -0.22161468863487244, -0.013296723365783691, -0.05545146390795708, -0.15396751463413239, -0.18323007225990295, 0.13876771926879883, 0.10457651317119598, 0.14863301813602448, -0.20630820095539093, -0.0232371985912323, -0.1091635674238205, -0.1777874231338501, -0.1356872022151947, -0.1660413146018982, -0.1705271452665329, 0.29832568764686584, -0.03821996971964836, 0.002876847982406616, 0.11718475073575974, -0.23127228021621704, 0.38621771335601807, 0.11823631078004837, 0.05984044075012207, -0.25032782554626465, -0.34213787317276, 0.031998928636312485, 0.31721845269203186, 0.003756146878004074, 0.254168301820755, 0.04919129237532616, 0.1838231086730957, 0.2025052309036255, 0.21349051594734192, -0.09162836521863937, -0.286661297082901, 0.11232589185237885, -0.2159791737794876, 0.04527270048856735, 0.5138431191444397, -0.17666688561439514, -0.2399628907442093, -0.04217326641082764, -0.3820432126522064, -0.06912580877542496, 0.1108563020825386, 0.21470794081687927, -0.0983583852648735, -0.08599856495857239, 0.09663428366184235, 0.0776025578379631, 0.035253964364528656, -0.13549064099788666, -0.13153736293315887, 0.16419824957847595, 0.031504590064287186, 0.07980119436979294, 0.4030193090438843, -0.17705774307250977, 0.37339168787002563, 0.08414611965417862, -0.09339570999145508, -0.07985760271549225, 0.010034620761871338, -0.1720019429922104, -0.17388460040092468, 0.46413740515708923, 0.17404428124427795, 0.23018477857112885, 0.2298513799905777, -0.22208483517169952, -0.23005181550979614, 0.1922604739665985, -0.38595154881477356, -0.12087706476449966, -0.24275971949100494, 0.07783857733011246, -0.3309178352355957, 0.0487673282623291, -0.7079396843910217, -0.008056413382291794, -0.22983911633491516, -0.18045739829540253, -0.07858457416296005, 0.1909448802471161, -0.02297639474272728, -0.22072561085224152, 0.30470868945121765, 0.9003216028213501, -0.5849183797836304, 0.07848076522350311, -0.13051551580429077, -0.1020067036151886, -0.2284119427204132, 0.03903521969914436, -0.08765287697315216, 0.4293965995311737, -0.4452558755874634, 0.20277313888072968, 0.021547533571720123, -0.7053438425064087, -0.22947141528129578, 0.06475307792425156, 0.008874811232089996, 0.23130260407924652, -0.04283412545919418, -0.15138572454452515, -0.056169360876083374, 0.03647641837596893, 0.02136320248246193, 0.07930497080087662, 0.134787917137146, -0.05808349326252937, 0.06062870845198631, -0.15848322212696075, -0.07488756626844406, 0.27219390869140625, -0.2313845008611679, 0.12674333155155182, -0.0061994194984436035, 0.12054028362035751, 0.1355525255203247, -0.1439918875694275, 0.11398757994174957, 0.47390449047088623, 0.4385104477405548, 0.08749068528413773, 0.04016125947237015, 0.0953172817826271, -0.7285781502723694, 0.1590946912765503, 0.2850550413131714, 0.13417862355709076, -0.4829370975494385, 0.06618372350931168, -0.15408650040626526, 0.036883071064949036, -0.28483712673187256, -0.3231680691242218, 0.06948120892047882, 0.1586846262216568, 0.10359084606170654, 0.18842527270317078, -0.339396208524704, 0.5021705627441406, -0.16325627267360687, 0.1650766134262085, -0.460963636636734, 0.4469996690750122, 0.2097811996936798, -0.16373585164546967, 0.12316977977752686, 0.16000887751579285, -0.02440941333770752, -0.17264920473098755, -0.12371139973402023, 0.20826205611228943, 0.23928450047969818, 0.0418672114610672, 0.15174445509910583, 0.10723142325878143, 0.0855296403169632, -0.3061961829662323, -0.003991486504673958, 0.1689176708459854, 0.35347065329551697, -0.0431121289730072, -0.35062333941459656, 0.12523750960826874, -0.18262475728988647, 0.2990742027759552, 0.0518510639667511, -0.22242526710033417, 0.2544340193271637, -0.04727361351251602, -0.08393420279026031, -0.2863750159740448, 0.03535228222608566, 0.27688243985176086, 0.3322213292121887, -0.06150347739458084, -0.09317667782306671, -0.20420092344284058, 0.19403289258480072, 0.11374275386333466, 0.11699488759040833, 0.25839102268218994, -0.3854879140853882, 0.04128788411617279, 0.09495903551578522, 0.1034727543592453, 0.6426535248756409, 0.11814286559820175, -0.24896490573883057, 0.12905870378017426, 0.1936618983745575, -0.06186331436038017, 0.09365721791982651, -0.17105086147785187, 0.15241152048110962, 0.3120315372943878, 0.12855444848537445, 0.15512628853321075, -0.33534783124923706, -0.43511804938316345, -0.15623386204242706, 0.2796691358089447, -0.26503708958625793, -0.18706084787845612, -0.19310513138771057, -0.1872270703315735, 0.08458518236875534, -0.22905948758125305, -0.40577515959739685, -0.05969320982694626, -0.2639757990837097, 0.15662400424480438, -0.08463042974472046, -0.1750430464744568, 0.11098277568817139, 0.2448551207780838, 0.26042333245277405, -0.44077208638191223, -0.41936466097831726, 0.06394456326961517, -0.18078398704528809, -0.07731205224990845, 0.2677631676197052, 0.057804301381111145, 0.09929293394088745, -0.3333824872970581, 0.12962202727794647, -0.2892036437988281, -0.19855013489723206, 0.1434026062488556, -0.01293577253818512, 0.29660022258758545, 0.21995949745178223, 0.3011680841445923, 0.21777866780757904, 0.1158643513917923, 0.3484784662723541, 0.13670943677425385, -0.3627202808856964, 0.029399722814559937, 0.1459604799747467, 0.3482317626476288, -0.3267204463481903, -0.09990765899419785, -0.24810342490673065, -0.406040221452713, 0.17669209837913513, 0.20296090841293335, 0.20769314467906952, 0.3621741235256195, 0.17898811399936676, 0.3158295452594757, -0.11351269483566284, 0.0233982615172863, -0.03434928506612778, -0.3535672426223755, 0.2809287905693054, -0.3583219349384308, -0.2638997733592987, 0.3455517292022705, 0.04241037368774414, 0.5873355269432068, -0.11121968924999237, -0.6491779088973999, -0.5597068667411804, 0.14242589473724365, 0.0990036129951477, -0.35061249136924744, -0.13213464617729187, 0.1587274670600891, 0.019761735573410988, 0.045712098479270935, -0.09862588346004486, -0.30576446652412415, -0.015008002519607544, -0.0742388442158699, 0.1260850578546524, 0.019702978432178497, 0.42886921763420105, -0.09892256557941437, 0.2986629903316498, 0.18304753303527832, -0.03673475608229637, 0.3860609531402588, -0.1441420465707779, 0.5095799565315247, -0.22293075919151306, -0.31425079703330994, -0.15868164598941803, 0.3462902307510376, 0.1367548704147339, 0.18870627880096436, 0.21740350127220154, 0.22386175394058228, -0.233800008893013, -0.051688943058252335, -0.5921611189842224, -0.06094980239868164, 0.08787252753973007, 0.04542899504303932, 0.057981040328741074, -0.045986149460077286, -0.10043903440237045, -0.19084949791431427, -0.1328551173210144, -0.06532847881317139, 0.5581292510032654, 0.16707223653793335, 0.11864709854125977, -0.18694958090782166, -0.10790657997131348, -0.12662580609321594, 0.26928603649139404, -0.06420113891363144, 0.35302630066871643, -0.12011794745922089, 0.17007610201835632, -0.09527625143527985, 0.01907271146774292, 0.638336181640625, -0.11930028349161148, 0.0000337548553943634, 0.13759130239486694, -0.16115236282348633, -0.4646359086036682, 0.07981711626052856, -0.048533085733652115, 0.14289507269859314, 0.0262705497443676, 0.7791109085083008, -0.28377392888069153, -0.19027474522590637, 0.05183170735836029, 0.22588489949703217, -0.1023712009191513, -0.31554320454597473, -0.21128897368907928, -0.5132689476013184, -0.22149275243282318, -0.26623812317848206, 0.008626749739050865, 0.40702134370803833, 0.3300914168357849, -0.05419324338436127, -0.023909734562039375, -0.2381611466407776, 0.0672643780708313, -0.02496090531349182, 0.39556148648262024, 0.10189557820558548, 0.07481218874454498, 0.2771018147468567, 0.15855419635772705, 0.3504355549812317, 0.6299038529396057, 0.2139226645231247, -0.3754520118236542, -0.04262536019086838, -0.17729134857654572, 0.13518410921096802, 0.12067937850952148, -0.02456522360444069, 0.004592470824718475, -0.2966713607311249, 0.06267815828323364, -0.36243242025375366, 0.18572933971881866, 0.022475427016615868, -0.051816754043102264, -0.06788873672485352, -0.23332013189792633, 0.3865802586078644, 0.09349140524864197, 0.2551097273826599, 0.2827135920524597, 0.16788464784622192, -0.36620721220970154, 0.047215089201927185, 0.03135733678936958, 0.5657368898391724, 0.12013274431228638, 0.09625190496444702, 0.5154724717140198, -0.24990227818489075, 0.6544961929321289, -0.3207877278327942, -0.03584256395697594, -0.2065768986940384, -0.007607332430779934, -0.0965958908200264, 0.04546083137392998, 0.23412927985191345, 0.18202434480190277, 0.07795962691307068, 0.3072367310523987, -0.0832081064581871, 0.1469377875328064, 0.05606463551521301, 0.2207600474357605, -0.040979087352752686, -0.27352625131607056, -0.5265708565711975, 0.08564393222332001, -0.17457255721092224, 0.40790364146232605, -0.07628277689218521, -0.20649045705795288, -0.28636831045150757, -0.23578469455242157, -0.19740955531597137, 0.16486957669258118, -0.12132523953914642, 0.0009590703994035721, 0.2412465363740921, -0.10233912616968155, -0.0061454251408576965, 0.15742211043834686, 0.14820784330368042, 0.12432263791561127, -0.20985299348831177, 0.10980115830898285, -0.5177064538002014, 0.1661631017923355, -0.17966872453689575, 0.17075197398662567, 0.23326367139816284, -0.09191013872623444, -0.007866501808166504, 0.031006112694740295, -0.2163514792919159, -0.11072465032339096, -0.01920071244239807, 0.14340844750404358, -0.22233696281909943, -0.15827198326587677, -0.3760746419429779, -0.03434670716524124, 0.12729746103286743, 0.04162741079926491, 0.039718128740787506, 0.23550310730934143, -0.15402592718601227, -0.10713308304548264, -0.10859070718288422, -0.36839941143989563, -0.04453720524907112, 0.44109243154525757, -0.2038959562778473, -0.22009332478046417, 0.5960922241210938, 0.05908535048365593, 0.1783936768770218, -0.188136488199234, 0.3268987238407135, 0.21989530324935913, -0.4300042688846588, 0.2731512784957886, 0.1506093591451645, 0.11298392713069916, -0.08131738007068634, 0.006681736558675766, 0.17349624633789062, -0.1785109043121338, 0.1211395114660263, -0.6053115129470825, -0.08728819340467453, 0.45549947023391724, -0.11889803409576416, -0.060220133513212204, -0.13390347361564636, 0.10123971104621887, 0.11545933783054352, -0.23275849223136902, -0.20728710293769836, 0.2522680461406708, -0.18128125369548798, 0.03268132731318474, 0.39539045095443726, 0.17371976375579834, 0.2817334830760956, 0.06410923600196838, 0.07326212525367737, -0.006973892450332642, -0.19259972870349884, -0.10373319685459137, -0.16061139106750488, 0.13703708350658417, 0.15145128965377808, 0.06621595472097397, 0.04804835096001625, -0.17438027262687683, -0.228267103433609, -0.10785841196775436, 0.07064799964427948, -0.1433013677597046, -0.15668341517448425, 0.13231301307678223, -0.034417975693941116, 0.2646048367023468, -0.238075852394104, 0.26101619005203247, 0.07152213156223297, 0.23960205912590027, 0.07449091225862503, 0.050471652299165726, -0.045183226466178894, 0.1200275868177414, -0.2554967403411865, 0.041952963918447495, -0.36035478115081787, -0.12345225363969803, 0.28076520562171936, -0.23732425272464752, 0.2833293676376343, 0.11569561064243317, 0.16671042144298553, 0.1091860681772232, -0.3733665943145752, 0.023846780881285667, 0.33992502093315125, 0.10978791117668152, -0.11198294907808304, 0.09955080598592758, 0.2762613892555237, 0.16894160211086273, -0.02389400824904442, 0.1481911540031433, -0.03290218859910965, 0.0005171224474906921, -0.10742254555225372, 0.09364645183086395, 0.517954409122467, 0.03758547455072403, 0.09020461142063141, 0.3356024920940399, -0.4283335506916046, 0.09704306721687317, 0.09947618842124939, 0.2366766631603241, 0.15454204380512238, 0.8223686218261719, -0.10784994810819626, 0.3810026943683624, -0.1443604826927185, 0.0029904842376708984, 0.04406452178955078, -0.5855844020843506, -0.13209472596645355, 0.3086599111557007, 0.3974270820617676, 0.12906710803508759, -0.2806937098503113, 0.17415198683738708, -0.2862776517868042, 0.06337416172027588, -0.009570244699716568, 0.010980671271681786, -0.07700571417808533, 0.022408802062273026, -0.1591116189956665, -0.12651032209396362, -0.032177556306123734, 0.026969242841005325, 0.1470838189125061, -0.34037506580352783, -0.09021466970443726, -0.04236593097448349, -0.3503574728965759, -0.3169069290161133, -0.11333873122930527, 0.41594162583351135, -0.12005447596311569, -0.09566265344619751, 0.36222201585769653, 0.36096882820129395, 0.07697426527738571, 0.08972406387329102, 0.43600165843963623, 0.38899141550064087, 0.48181432485580444, 0.13214460015296936, 0.10672225058078766, -0.16608352959156036, -0.08987648785114288, -0.1430491805076599, 0.3744954764842987, 0.04226343333721161, 0.028685666620731354, 0.07887595891952515, 0.11836448311805725, -0.029805663973093033, 0.05038261413574219, 0.05025680363178253, 0.12799233198165894, -0.2261575162410736, 0.0992879569530487, -0.41786709427833557, -0.01701980084180832, -0.2211018204689026, 0.04568779841065407, -0.4208240807056427, -0.23029613494873047, 0.3191504180431366, 0.3496664762496948, 0.05270154029130936, -0.026678673923015594, 0.017969582229852676, -0.32773488759994507, 0.2512287497520447, 0.553733766078949, 0.015170406550168991, -0.04587094485759735, -0.2444070279598236, -0.7512381672859192, 0.010971248149871826, -0.037638355046510696, -0.19422602653503418, -0.0438351146876812, 0.17576441168785095, -0.10267344862222672, -0.001287803053855896, -0.02515271306037903, -0.02270316518843174, 0.01908862218260765, -0.1633826643228531, -0.4268814027309418, -0.4373069703578949, -0.18798528611660004, 0.16168789565563202, -0.015011126175522804, -0.22612375020980835, 0.013875458389520645, -0.07372847944498062, 0.03139922022819519, -0.14574500918388367, 0.16383562982082367, -0.17745660245418549, 0.3700598180294037, 0.37301120162010193, 0.05283012241125107, 0.29742956161499023, -0.03446478396654129, -0.2887172996997833, -0.3476521670818329, -0.13412036001682281, -0.040637001395225525, 0.40597185492515564, 0.13630636036396027, 0.5701664686203003, -0.3111192584037781, 0.03590492904186249, -0.31020620465278625, 0.1656639277935028, -0.009843725711107254, -0.09077661484479904, -0.3409668803215027, 0.40434879064559937, -0.1440906524658203, 0.05553364381194115, 0.012868435122072697, 0.18416357040405273, -0.11149714887142181, 0.05821675807237625, -0.34868305921554565, -0.0862693265080452, 0.4884176552295685, -0.39428314566612244, -0.19874614477157593, 0.23022933304309845, 0.16542929410934448, -0.08623915165662766, -0.23651191592216492, -0.4514598548412323, 0.16202133893966675, 0.440642386674881, -0.021728988736867905, -0.1878698319196701, 0.14485496282577515, -0.1352129429578781, -0.153634175658226, -0.0326024554669857, -0.030141182243824005, 0.21930643916130066, -0.06184261292219162, 0.3933294117450714, -0.07488410174846649 ]
https://github.com/huggingface/datasets/issues/7005
EmptyDatasetError: The directory at /metadata.jsonl doesn't contain any data files
Ah yes. My bad. I was giving file name. I should have given the folder directory as the path. That solved my issue. Thank you @albertvillanova and @lhoestq.
### Describe the bug while trying to load custom dataset from jsonl file, I get the error: "metadata.jsonl doesn't contain any data files" ### Steps to reproduce the bug This is my [metadata_v2.jsonl](https://github.com/user-attachments/files/16016011/metadata_v2.json) file. I have this file in the folder with all images mentioned in that json(l) file. Through below mentioned command I am trying to load_dataset so that I can upload it as mentioned here on the [official website](https://huggingface.co/docs/datasets/en/image_dataset#upload-dataset-to-the-hub). ```` from datasets import load_dataset dataset = load_dataset("imagefolder", data_dir="path/to/jsonl/metadata.jsonl") ```` error: ```` EmptyDatasetError Traceback (most recent call last) Cell In[18], line 3 1 from datasets import load_dataset ----> 3 dataset = load_dataset("imagefolder", 4 data_dir="path/to/jsonl/file/metadata.jsonl") 5 dataset[0]["objects"] File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:2594, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs) 2589 verification_mode = VerificationMode( 2590 (verification_mode or VerificationMode.BASIC_CHECKS) if not save_infos else VerificationMode.ALL_CHECKS 2591 ) 2593 # Create a dataset builder -> 2594 builder_instance = load_dataset_builder( 2595 path=path, 2596 name=name, 2597 data_dir=data_dir, 2598 data_files=data_files, 2599 cache_dir=cache_dir, 2600 features=features, 2601 download_config=download_config, 2602 download_mode=download_mode, 2603 revision=revision, 2604 token=token, 2605 storage_options=storage_options, 2606 trust_remote_code=trust_remote_code, 2607 _require_default_config_name=name is None, 2608 **config_kwargs, 2609 ) 2611 # Return iterable dataset in case of streaming 2612 if streaming: File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:2266, in load_dataset_builder(path, name, data_dir, data_files, cache_dir, features, download_config, download_mode, revision, token, use_auth_token, storage_options, trust_remote_code, _require_default_config_name, **config_kwargs) 2264 download_config = download_config.copy() if download_config else DownloadConfig() 2265 download_config.storage_options.update(storage_options) -> 2266 dataset_module = dataset_module_factory( 2267 path, 2268 revision=revision, 2269 download_config=download_config, 2270 download_mode=download_mode, 2271 data_dir=data_dir, 2272 data_files=data_files, 2273 cache_dir=cache_dir, 2274 trust_remote_code=trust_remote_code, 2275 _require_default_config_name=_require_default_config_name, 2276 _require_custom_configs=bool(config_kwargs), 2277 ) 2278 # Get dataset builder class from the processing script 2279 builder_kwargs = dataset_module.builder_kwargs File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:1805, in dataset_module_factory(path, revision, download_config, download_mode, dynamic_modules_path, data_dir, data_files, cache_dir, trust_remote_code, _require_default_config_name, _require_custom_configs, **download_kwargs) 1782 # We have several ways to get a dataset builder: 1783 # 1784 # - if path is the name of a packaged dataset module (...) 1796 1797 # Try packaged 1798 if path in _PACKAGED_DATASETS_MODULES: 1799 return PackagedDatasetModuleFactory( 1800 path, 1801 data_dir=data_dir, 1802 data_files=data_files, 1803 download_config=download_config, 1804 download_mode=download_mode, -> 1805 ).get_module() 1806 # Try locally 1807 elif path.endswith(filename): File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:1140, in PackagedDatasetModuleFactory.get_module(self) 1135 def get_module(self) -> DatasetModule: 1136 base_path = Path(self.data_dir or "").expanduser().resolve().as_posix() 1137 patterns = ( 1138 sanitize_patterns(self.data_files) 1139 if self.data_files is not None -> 1140 else get_data_patterns(base_path, download_config=self.download_config) 1141 ) 1142 data_files = DataFilesDict.from_patterns( 1143 patterns, 1144 download_config=self.download_config, 1145 base_path=base_path, 1146 ) 1147 supports_metadata = self.name in _MODULE_SUPPORTS_METADATA File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/data_files.py:503, in get_data_patterns(base_path, download_config) 501 return _get_data_files_patterns(resolver) 502 except FileNotFoundError: --> 503 raise EmptyDatasetError(f"The directory at {base_path} doesn't contain any data files") from None EmptyDatasetError: The directory at path/to/jsonl/file/metadata.jsonl doesn't contain any data files` ``` ### Expected behavior It should be able load the whole file in a format of "dataset" inside the dataset variable. But it gives error "The directory at "path/to/jsonl/metadata.jsonl" doesn't contain any data files." ### Environment info I am using conda environment.
28
EmptyDatasetError: The directory at /metadata.jsonl doesn't contain any data files ### Describe the bug while trying to load custom dataset from jsonl file, I get the error: "metadata.jsonl doesn't contain any data files" ### Steps to reproduce the bug This is my [metadata_v2.jsonl](https://github.com/user-attachments/files/16016011/metadata_v2.json) file. I have this file in the folder with all images mentioned in that json(l) file. Through below mentioned command I am trying to load_dataset so that I can upload it as mentioned here on the [official website](https://huggingface.co/docs/datasets/en/image_dataset#upload-dataset-to-the-hub). ```` from datasets import load_dataset dataset = load_dataset("imagefolder", data_dir="path/to/jsonl/metadata.jsonl") ```` error: ```` EmptyDatasetError Traceback (most recent call last) Cell In[18], line 3 1 from datasets import load_dataset ----> 3 dataset = load_dataset("imagefolder", 4 data_dir="path/to/jsonl/file/metadata.jsonl") 5 dataset[0]["objects"] File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:2594, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs) 2589 verification_mode = VerificationMode( 2590 (verification_mode or VerificationMode.BASIC_CHECKS) if not save_infos else VerificationMode.ALL_CHECKS 2591 ) 2593 # Create a dataset builder -> 2594 builder_instance = load_dataset_builder( 2595 path=path, 2596 name=name, 2597 data_dir=data_dir, 2598 data_files=data_files, 2599 cache_dir=cache_dir, 2600 features=features, 2601 download_config=download_config, 2602 download_mode=download_mode, 2603 revision=revision, 2604 token=token, 2605 storage_options=storage_options, 2606 trust_remote_code=trust_remote_code, 2607 _require_default_config_name=name is None, 2608 **config_kwargs, 2609 ) 2611 # Return iterable dataset in case of streaming 2612 if streaming: File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:2266, in load_dataset_builder(path, name, data_dir, data_files, cache_dir, features, download_config, download_mode, revision, token, use_auth_token, storage_options, trust_remote_code, _require_default_config_name, **config_kwargs) 2264 download_config = download_config.copy() if download_config else DownloadConfig() 2265 download_config.storage_options.update(storage_options) -> 2266 dataset_module = dataset_module_factory( 2267 path, 2268 revision=revision, 2269 download_config=download_config, 2270 download_mode=download_mode, 2271 data_dir=data_dir, 2272 data_files=data_files, 2273 cache_dir=cache_dir, 2274 trust_remote_code=trust_remote_code, 2275 _require_default_config_name=_require_default_config_name, 2276 _require_custom_configs=bool(config_kwargs), 2277 ) 2278 # Get dataset builder class from the processing script 2279 builder_kwargs = dataset_module.builder_kwargs File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:1805, in dataset_module_factory(path, revision, download_config, download_mode, dynamic_modules_path, data_dir, data_files, cache_dir, trust_remote_code, _require_default_config_name, _require_custom_configs, **download_kwargs) 1782 # We have several ways to get a dataset builder: 1783 # 1784 # - if path is the name of a packaged dataset module (...) 1796 1797 # Try packaged 1798 if path in _PACKAGED_DATASETS_MODULES: 1799 return PackagedDatasetModuleFactory( 1800 path, 1801 data_dir=data_dir, 1802 data_files=data_files, 1803 download_config=download_config, 1804 download_mode=download_mode, -> 1805 ).get_module() 1806 # Try locally 1807 elif path.endswith(filename): File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/load.py:1140, in PackagedDatasetModuleFactory.get_module(self) 1135 def get_module(self) -> DatasetModule: 1136 base_path = Path(self.data_dir or "").expanduser().resolve().as_posix() 1137 patterns = ( 1138 sanitize_patterns(self.data_files) 1139 if self.data_files is not None -> 1140 else get_data_patterns(base_path, download_config=self.download_config) 1141 ) 1142 data_files = DataFilesDict.from_patterns( 1143 patterns, 1144 download_config=self.download_config, 1145 base_path=base_path, 1146 ) 1147 supports_metadata = self.name in _MODULE_SUPPORTS_METADATA File ~/anaconda3/envs/lvis/lib/python3.11/site-packages/datasets/data_files.py:503, in get_data_patterns(base_path, download_config) 501 return _get_data_files_patterns(resolver) 502 except FileNotFoundError: --> 503 raise EmptyDatasetError(f"The directory at {base_path} doesn't contain any data files") from None EmptyDatasetError: The directory at path/to/jsonl/file/metadata.jsonl doesn't contain any data files` ``` ### Expected behavior It should be able load the whole file in a format of "dataset" inside the dataset variable. But it gives error "The directory at "path/to/jsonl/metadata.jsonl" doesn't contain any data files." ### Environment info I am using conda environment. Ah yes. My bad. I was giving file name. I should have given the folder directory as the path. That solved my issue. Thank you @albertvillanova and @lhoestq.
[ -0.016234397888183594, 0.07239946722984314, -0.025297634303569794, 0.6795621514320374, 0.007368864491581917, 0.16623660922050476, 0.01661766692996025, 0.3690929114818573, 0.20603157579898834, 0.08262968063354492, -0.02496563084423542, 0.1874658465385437, -0.33143505454063416, -0.03004961647093296, -0.050066642463207245, 0.1790800839662552, -0.12854883074760437, 0.27687036991119385, -0.1441842019557953, -0.13146109879016876, -0.21804922819137573, 0.28306645154953003, -0.18826159834861755, -0.1153782457113266, -0.1103748083114624, 0.24286489188671112, -0.0415293350815773, 0.5461862087249756, -0.02466251514852047, -0.34503212571144104, 0.04616304486989975, -0.20798851549625397, 0.02353879064321518, 0.5558899641036987, -0.00011996620014542714, 0.09448571503162384, 0.4678460955619812, -0.23483037948608398, -0.39365583658218384, -0.4956551790237427, -0.19706284999847412, -0.21441568434238434, 0.12844537198543549, -0.10338030010461807, 0.009622082114219666, -0.20243065059185028, -0.1407628357410431, -0.23766498267650604, 0.4126712679862976, 0.2267274260520935, 0.12392526865005493, 0.13465532660484314, 0.22274638712406158, -0.015200665220618248, 0.08478245884180069, 0.7601121664047241, 0.09807752817869186, 0.2915014922618866, 0.050130512565374374, -0.08558010309934616, 0.3511055111885071, 0.3572181463241577, -0.13747932016849518, 0.049861155450344086, 0.29519104957580566, 0.06945302337408066, -0.2705262303352356, -0.18731215596199036, 0.16267594695091248, 0.1941242516040802, 0.6567094922065735, -0.26317551732063293, -0.42885860800743103, -0.2488403618335724, 0.11275184154510498, -0.14053525030612946, 0.40022262930870056, 0.3142159581184387, -0.22161468863487244, -0.013296723365783691, -0.05545146390795708, -0.15396751463413239, -0.18323007225990295, 0.13876771926879883, 0.10457651317119598, 0.14863301813602448, -0.20630820095539093, -0.0232371985912323, -0.1091635674238205, -0.1777874231338501, -0.1356872022151947, -0.1660413146018982, -0.1705271452665329, 0.29832568764686584, -0.03821996971964836, 0.002876847982406616, 0.11718475073575974, -0.23127228021621704, 0.38621771335601807, 0.11823631078004837, 0.05984044075012207, -0.25032782554626465, -0.34213787317276, 0.031998928636312485, 0.31721845269203186, 0.003756146878004074, 0.254168301820755, 0.04919129237532616, 0.1838231086730957, 0.2025052309036255, 0.21349051594734192, -0.09162836521863937, -0.286661297082901, 0.11232589185237885, -0.2159791737794876, 0.04527270048856735, 0.5138431191444397, -0.17666688561439514, -0.2399628907442093, -0.04217326641082764, -0.3820432126522064, -0.06912580877542496, 0.1108563020825386, 0.21470794081687927, -0.0983583852648735, -0.08599856495857239, 0.09663428366184235, 0.0776025578379631, 0.035253964364528656, -0.13549064099788666, -0.13153736293315887, 0.16419824957847595, 0.031504590064287186, 0.07980119436979294, 0.4030193090438843, -0.17705774307250977, 0.37339168787002563, 0.08414611965417862, -0.09339570999145508, -0.07985760271549225, 0.010034620761871338, -0.1720019429922104, -0.17388460040092468, 0.46413740515708923, 0.17404428124427795, 0.23018477857112885, 0.2298513799905777, -0.22208483517169952, -0.23005181550979614, 0.1922604739665985, -0.38595154881477356, -0.12087706476449966, -0.24275971949100494, 0.07783857733011246, -0.3309178352355957, 0.0487673282623291, -0.7079396843910217, -0.008056413382291794, -0.22983911633491516, -0.18045739829540253, -0.07858457416296005, 0.1909448802471161, -0.02297639474272728, -0.22072561085224152, 0.30470868945121765, 0.9003216028213501, -0.5849183797836304, 0.07848076522350311, -0.13051551580429077, -0.1020067036151886, -0.2284119427204132, 0.03903521969914436, -0.08765287697315216, 0.4293965995311737, -0.4452558755874634, 0.20277313888072968, 0.021547533571720123, -0.7053438425064087, -0.22947141528129578, 0.06475307792425156, 0.008874811232089996, 0.23130260407924652, -0.04283412545919418, -0.15138572454452515, -0.056169360876083374, 0.03647641837596893, 0.02136320248246193, 0.07930497080087662, 0.134787917137146, -0.05808349326252937, 0.06062870845198631, -0.15848322212696075, -0.07488756626844406, 0.27219390869140625, -0.2313845008611679, 0.12674333155155182, -0.0061994194984436035, 0.12054028362035751, 0.1355525255203247, -0.1439918875694275, 0.11398757994174957, 0.47390449047088623, 0.4385104477405548, 0.08749068528413773, 0.04016125947237015, 0.0953172817826271, -0.7285781502723694, 0.1590946912765503, 0.2850550413131714, 0.13417862355709076, -0.4829370975494385, 0.06618372350931168, -0.15408650040626526, 0.036883071064949036, -0.28483712673187256, -0.3231680691242218, 0.06948120892047882, 0.1586846262216568, 0.10359084606170654, 0.18842527270317078, -0.339396208524704, 0.5021705627441406, -0.16325627267360687, 0.1650766134262085, -0.460963636636734, 0.4469996690750122, 0.2097811996936798, -0.16373585164546967, 0.12316977977752686, 0.16000887751579285, -0.02440941333770752, -0.17264920473098755, -0.12371139973402023, 0.20826205611228943, 0.23928450047969818, 0.0418672114610672, 0.15174445509910583, 0.10723142325878143, 0.0855296403169632, -0.3061961829662323, -0.003991486504673958, 0.1689176708459854, 0.35347065329551697, -0.0431121289730072, -0.35062333941459656, 0.12523750960826874, -0.18262475728988647, 0.2990742027759552, 0.0518510639667511, -0.22242526710033417, 0.2544340193271637, -0.04727361351251602, -0.08393420279026031, -0.2863750159740448, 0.03535228222608566, 0.27688243985176086, 0.3322213292121887, -0.06150347739458084, -0.09317667782306671, -0.20420092344284058, 0.19403289258480072, 0.11374275386333466, 0.11699488759040833, 0.25839102268218994, -0.3854879140853882, 0.04128788411617279, 0.09495903551578522, 0.1034727543592453, 0.6426535248756409, 0.11814286559820175, -0.24896490573883057, 0.12905870378017426, 0.1936618983745575, -0.06186331436038017, 0.09365721791982651, -0.17105086147785187, 0.15241152048110962, 0.3120315372943878, 0.12855444848537445, 0.15512628853321075, -0.33534783124923706, -0.43511804938316345, -0.15623386204242706, 0.2796691358089447, -0.26503708958625793, -0.18706084787845612, -0.19310513138771057, -0.1872270703315735, 0.08458518236875534, -0.22905948758125305, -0.40577515959739685, -0.05969320982694626, -0.2639757990837097, 0.15662400424480438, -0.08463042974472046, -0.1750430464744568, 0.11098277568817139, 0.2448551207780838, 0.26042333245277405, -0.44077208638191223, -0.41936466097831726, 0.06394456326961517, -0.18078398704528809, -0.07731205224990845, 0.2677631676197052, 0.057804301381111145, 0.09929293394088745, -0.3333824872970581, 0.12962202727794647, -0.2892036437988281, -0.19855013489723206, 0.1434026062488556, -0.01293577253818512, 0.29660022258758545, 0.21995949745178223, 0.3011680841445923, 0.21777866780757904, 0.1158643513917923, 0.3484784662723541, 0.13670943677425385, -0.3627202808856964, 0.029399722814559937, 0.1459604799747467, 0.3482317626476288, -0.3267204463481903, -0.09990765899419785, -0.24810342490673065, -0.406040221452713, 0.17669209837913513, 0.20296090841293335, 0.20769314467906952, 0.3621741235256195, 0.17898811399936676, 0.3158295452594757, -0.11351269483566284, 0.0233982615172863, -0.03434928506612778, -0.3535672426223755, 0.2809287905693054, -0.3583219349384308, -0.2638997733592987, 0.3455517292022705, 0.04241037368774414, 0.5873355269432068, -0.11121968924999237, -0.6491779088973999, -0.5597068667411804, 0.14242589473724365, 0.0990036129951477, -0.35061249136924744, -0.13213464617729187, 0.1587274670600891, 0.019761735573410988, 0.045712098479270935, -0.09862588346004486, -0.30576446652412415, -0.015008002519607544, -0.0742388442158699, 0.1260850578546524, 0.019702978432178497, 0.42886921763420105, -0.09892256557941437, 0.2986629903316498, 0.18304753303527832, -0.03673475608229637, 0.3860609531402588, -0.1441420465707779, 0.5095799565315247, -0.22293075919151306, -0.31425079703330994, -0.15868164598941803, 0.3462902307510376, 0.1367548704147339, 0.18870627880096436, 0.21740350127220154, 0.22386175394058228, -0.233800008893013, -0.051688943058252335, -0.5921611189842224, -0.06094980239868164, 0.08787252753973007, 0.04542899504303932, 0.057981040328741074, -0.045986149460077286, -0.10043903440237045, -0.19084949791431427, -0.1328551173210144, -0.06532847881317139, 0.5581292510032654, 0.16707223653793335, 0.11864709854125977, -0.18694958090782166, -0.10790657997131348, -0.12662580609321594, 0.26928603649139404, -0.06420113891363144, 0.35302630066871643, -0.12011794745922089, 0.17007610201835632, -0.09527625143527985, 0.01907271146774292, 0.638336181640625, -0.11930028349161148, 0.0000337548553943634, 0.13759130239486694, -0.16115236282348633, -0.4646359086036682, 0.07981711626052856, -0.048533085733652115, 0.14289507269859314, 0.0262705497443676, 0.7791109085083008, -0.28377392888069153, -0.19027474522590637, 0.05183170735836029, 0.22588489949703217, -0.1023712009191513, -0.31554320454597473, -0.21128897368907928, -0.5132689476013184, -0.22149275243282318, -0.26623812317848206, 0.008626749739050865, 0.40702134370803833, 0.3300914168357849, -0.05419324338436127, -0.023909734562039375, -0.2381611466407776, 0.0672643780708313, -0.02496090531349182, 0.39556148648262024, 0.10189557820558548, 0.07481218874454498, 0.2771018147468567, 0.15855419635772705, 0.3504355549812317, 0.6299038529396057, 0.2139226645231247, -0.3754520118236542, -0.04262536019086838, -0.17729134857654572, 0.13518410921096802, 0.12067937850952148, -0.02456522360444069, 0.004592470824718475, -0.2966713607311249, 0.06267815828323364, -0.36243242025375366, 0.18572933971881866, 0.022475427016615868, -0.051816754043102264, -0.06788873672485352, -0.23332013189792633, 0.3865802586078644, 0.09349140524864197, 0.2551097273826599, 0.2827135920524597, 0.16788464784622192, -0.36620721220970154, 0.047215089201927185, 0.03135733678936958, 0.5657368898391724, 0.12013274431228638, 0.09625190496444702, 0.5154724717140198, -0.24990227818489075, 0.6544961929321289, -0.3207877278327942, -0.03584256395697594, -0.2065768986940384, -0.007607332430779934, -0.0965958908200264, 0.04546083137392998, 0.23412927985191345, 0.18202434480190277, 0.07795962691307068, 0.3072367310523987, -0.0832081064581871, 0.1469377875328064, 0.05606463551521301, 0.2207600474357605, -0.040979087352752686, -0.27352625131607056, -0.5265708565711975, 0.08564393222332001, -0.17457255721092224, 0.40790364146232605, -0.07628277689218521, -0.20649045705795288, -0.28636831045150757, -0.23578469455242157, -0.19740955531597137, 0.16486957669258118, -0.12132523953914642, 0.0009590703994035721, 0.2412465363740921, -0.10233912616968155, -0.0061454251408576965, 0.15742211043834686, 0.14820784330368042, 0.12432263791561127, -0.20985299348831177, 0.10980115830898285, -0.5177064538002014, 0.1661631017923355, -0.17966872453689575, 0.17075197398662567, 0.23326367139816284, -0.09191013872623444, -0.007866501808166504, 0.031006112694740295, -0.2163514792919159, -0.11072465032339096, -0.01920071244239807, 0.14340844750404358, -0.22233696281909943, -0.15827198326587677, -0.3760746419429779, -0.03434670716524124, 0.12729746103286743, 0.04162741079926491, 0.039718128740787506, 0.23550310730934143, -0.15402592718601227, -0.10713308304548264, -0.10859070718288422, -0.36839941143989563, -0.04453720524907112, 0.44109243154525757, -0.2038959562778473, -0.22009332478046417, 0.5960922241210938, 0.05908535048365593, 0.1783936768770218, -0.188136488199234, 0.3268987238407135, 0.21989530324935913, -0.4300042688846588, 0.2731512784957886, 0.1506093591451645, 0.11298392713069916, -0.08131738007068634, 0.006681736558675766, 0.17349624633789062, -0.1785109043121338, 0.1211395114660263, -0.6053115129470825, -0.08728819340467453, 0.45549947023391724, -0.11889803409576416, -0.060220133513212204, -0.13390347361564636, 0.10123971104621887, 0.11545933783054352, -0.23275849223136902, -0.20728710293769836, 0.2522680461406708, -0.18128125369548798, 0.03268132731318474, 0.39539045095443726, 0.17371976375579834, 0.2817334830760956, 0.06410923600196838, 0.07326212525367737, -0.006973892450332642, -0.19259972870349884, -0.10373319685459137, -0.16061139106750488, 0.13703708350658417, 0.15145128965377808, 0.06621595472097397, 0.04804835096001625, -0.17438027262687683, -0.228267103433609, -0.10785841196775436, 0.07064799964427948, -0.1433013677597046, -0.15668341517448425, 0.13231301307678223, -0.034417975693941116, 0.2646048367023468, -0.238075852394104, 0.26101619005203247, 0.07152213156223297, 0.23960205912590027, 0.07449091225862503, 0.050471652299165726, -0.045183226466178894, 0.1200275868177414, -0.2554967403411865, 0.041952963918447495, -0.36035478115081787, -0.12345225363969803, 0.28076520562171936, -0.23732425272464752, 0.2833293676376343, 0.11569561064243317, 0.16671042144298553, 0.1091860681772232, -0.3733665943145752, 0.023846780881285667, 0.33992502093315125, 0.10978791117668152, -0.11198294907808304, 0.09955080598592758, 0.2762613892555237, 0.16894160211086273, -0.02389400824904442, 0.1481911540031433, -0.03290218859910965, 0.0005171224474906921, -0.10742254555225372, 0.09364645183086395, 0.517954409122467, 0.03758547455072403, 0.09020461142063141, 0.3356024920940399, -0.4283335506916046, 0.09704306721687317, 0.09947618842124939, 0.2366766631603241, 0.15454204380512238, 0.8223686218261719, -0.10784994810819626, 0.3810026943683624, -0.1443604826927185, 0.0029904842376708984, 0.04406452178955078, -0.5855844020843506, -0.13209472596645355, 0.3086599111557007, 0.3974270820617676, 0.12906710803508759, -0.2806937098503113, 0.17415198683738708, -0.2862776517868042, 0.06337416172027588, -0.009570244699716568, 0.010980671271681786, -0.07700571417808533, 0.022408802062273026, -0.1591116189956665, -0.12651032209396362, -0.032177556306123734, 0.026969242841005325, 0.1470838189125061, -0.34037506580352783, -0.09021466970443726, -0.04236593097448349, -0.3503574728965759, -0.3169069290161133, -0.11333873122930527, 0.41594162583351135, -0.12005447596311569, -0.09566265344619751, 0.36222201585769653, 0.36096882820129395, 0.07697426527738571, 0.08972406387329102, 0.43600165843963623, 0.38899141550064087, 0.48181432485580444, 0.13214460015296936, 0.10672225058078766, -0.16608352959156036, -0.08987648785114288, -0.1430491805076599, 0.3744954764842987, 0.04226343333721161, 0.028685666620731354, 0.07887595891952515, 0.11836448311805725, -0.029805663973093033, 0.05038261413574219, 0.05025680363178253, 0.12799233198165894, -0.2261575162410736, 0.0992879569530487, -0.41786709427833557, -0.01701980084180832, -0.2211018204689026, 0.04568779841065407, -0.4208240807056427, -0.23029613494873047, 0.3191504180431366, 0.3496664762496948, 0.05270154029130936, -0.026678673923015594, 0.017969582229852676, -0.32773488759994507, 0.2512287497520447, 0.553733766078949, 0.015170406550168991, -0.04587094485759735, -0.2444070279598236, -0.7512381672859192, 0.010971248149871826, -0.037638355046510696, -0.19422602653503418, -0.0438351146876812, 0.17576441168785095, -0.10267344862222672, -0.001287803053855896, -0.02515271306037903, -0.02270316518843174, 0.01908862218260765, -0.1633826643228531, -0.4268814027309418, -0.4373069703578949, -0.18798528611660004, 0.16168789565563202, -0.015011126175522804, -0.22612375020980835, 0.013875458389520645, -0.07372847944498062, 0.03139922022819519, -0.14574500918388367, 0.16383562982082367, -0.17745660245418549, 0.3700598180294037, 0.37301120162010193, 0.05283012241125107, 0.29742956161499023, -0.03446478396654129, -0.2887172996997833, -0.3476521670818329, -0.13412036001682281, -0.040637001395225525, 0.40597185492515564, 0.13630636036396027, 0.5701664686203003, -0.3111192584037781, 0.03590492904186249, -0.31020620465278625, 0.1656639277935028, -0.009843725711107254, -0.09077661484479904, -0.3409668803215027, 0.40434879064559937, -0.1440906524658203, 0.05553364381194115, 0.012868435122072697, 0.18416357040405273, -0.11149714887142181, 0.05821675807237625, -0.34868305921554565, -0.0862693265080452, 0.4884176552295685, -0.39428314566612244, -0.19874614477157593, 0.23022933304309845, 0.16542929410934448, -0.08623915165662766, -0.23651191592216492, -0.4514598548412323, 0.16202133893966675, 0.440642386674881, -0.021728988736867905, -0.1878698319196701, 0.14485496282577515, -0.1352129429578781, -0.153634175658226, -0.0326024554669857, -0.030141182243824005, 0.21930643916130066, -0.06184261292219162, 0.3933294117450714, -0.07488410174846649 ]
https://github.com/huggingface/datasets/issues/7001
Datasetbuilder Local Download FileNotFoundError
Ok it seems the solution is to use the directory string without the trailing "/" which in my case as: `parquet_dir = "~/data/Parquet" ` Still i think this is a weird behavior...
### Describe the bug So I was trying to download a dataset and save it as parquet and I follow the [tutorial](https://huggingface.co/docs/datasets/filesystems#download-and-prepare-a-dataset-into-a-cloud-storage) of Huggingface. However, during the excution I face a FileNotFoundError. I debug the code and it seems there is a bug there: So first it creates a .incomplete folder and before moving its contents the following code deletes the directory [Code](https://github.com/huggingface/datasets/blob/98fdc9e78e6d057ca66e58a37f49d6618aab8130/src/datasets/builder.py#L984) hence as a result I face with: ``` FileNotFoundError: [Errno 2] No such file or directory: '~/data/Parquet/.incomplete '``` ### Steps to reproduce the bug ``` from datasets import load_dataset_builder from pathlib import Path parquet_dir = "~/data/Parquet/" Path(parquet_dir).mkdir(parents=True, exist_ok=True) builder = load_dataset_builder( "rotten_tomatoes", ) builder.download_and_prepare(parquet_dir, file_format="parquet") ``` ### Expected behavior Downloads the files and saves as parquet ### Environment info Ubuntu, Python 3.10 ``` datasets 2.19.1 ```
32
Datasetbuilder Local Download FileNotFoundError ### Describe the bug So I was trying to download a dataset and save it as parquet and I follow the [tutorial](https://huggingface.co/docs/datasets/filesystems#download-and-prepare-a-dataset-into-a-cloud-storage) of Huggingface. However, during the excution I face a FileNotFoundError. I debug the code and it seems there is a bug there: So first it creates a .incomplete folder and before moving its contents the following code deletes the directory [Code](https://github.com/huggingface/datasets/blob/98fdc9e78e6d057ca66e58a37f49d6618aab8130/src/datasets/builder.py#L984) hence as a result I face with: ``` FileNotFoundError: [Errno 2] No such file or directory: '~/data/Parquet/.incomplete '``` ### Steps to reproduce the bug ``` from datasets import load_dataset_builder from pathlib import Path parquet_dir = "~/data/Parquet/" Path(parquet_dir).mkdir(parents=True, exist_ok=True) builder = load_dataset_builder( "rotten_tomatoes", ) builder.download_and_prepare(parquet_dir, file_format="parquet") ``` ### Expected behavior Downloads the files and saves as parquet ### Environment info Ubuntu, Python 3.10 ``` datasets 2.19.1 ``` Ok it seems the solution is to use the directory string without the trailing "/" which in my case as: `parquet_dir = "~/data/Parquet" ` Still i think this is a weird behavior...
[ -0.09115815162658691, 0.007688999176025391, 0.09595905244350433, 0.43190717697143555, 0.4101852774620056, -0.025620467960834503, -0.22146721184253693, -0.05176712945103645, -0.20363929867744446, 0.24639157950878143, 0.09236932545900345, 0.071162648499012, -0.008753609843552113, -0.007490910589694977, -0.03708494082093239, -0.10085330903530121, 0.0740511566400528, 0.13782177865505219, -0.18559694290161133, -0.15672561526298523, -0.2397616058588028, 0.31405678391456604, -0.05942580848932266, 0.1627378761768341, -0.11413378268480301, 0.18670539557933807, -0.3765939474105835, 0.5142728686332703, -0.2186441868543625, -0.08317074924707413, 0.19639360904693604, -0.23904713988304138, -0.1072862446308136, 0.5607523322105408, -0.0001239652483491227, 0.16797542572021484, 0.3173815608024597, -0.02245754934847355, -0.5664638876914978, -0.6238278150558472, -0.11988256126642227, -0.09741710126399994, 0.11633733659982681, -0.11491024494171143, 0.0904921367764473, -0.1200195923447609, 0.26786521077156067, -0.10734453797340393, 0.25477758049964905, 0.2038884311914444, 0.10684898495674133, 0.1077217310667038, 0.055021245032548904, 0.07006619870662689, 0.000284828245639801, 0.6100411415100098, -0.09385187923908234, 0.22979357838630676, -0.042951568961143494, 0.046916402876377106, 0.0735180526971817, 0.08651788532733917, -0.07811493426561356, 0.003603540360927582, 0.377505362033844, 0.4102790057659149, 0.031893812119960785, -0.3079688847064972, 0.07274186611175537, 0.18119938671588898, 0.4306420683860779, -0.38658618927001953, -0.5919078588485718, -0.44040918350219727, 0.03664083778858185, -0.1573806256055832, 0.39798644185066223, 0.29670679569244385, -0.15864452719688416, 0.18653666973114014, -0.17309007048606873, -0.19405212998390198, -0.15478213131427765, 0.10959717631340027, 0.11823584139347076, 0.1264537274837494, -0.263008713722229, 0.006497114896774292, -0.25531765818595886, 0.02202071249485016, -0.3496916592121124, -0.6065689921379089, 0.062372177839279175, 0.3463800847530365, 0.2673289477825165, 0.1741885244846344, -0.006743624806404114, 0.38137322664260864, 0.15496641397476196, 0.07779169082641602, -0.16935968399047852, -0.23155757784843445, -0.17246520519256592, 0.06324131041765213, 0.25071513652801514, -0.023603085428476334, 0.1866423338651657, 0.1480650007724762, 0.056274425238370895, 0.26929399371147156, 0.18420925736427307, -0.1489151120185852, 0.12201819568872452, -0.062470387667417526, -0.2988984286785126, -0.18259084224700928, 0.5888659358024597, -0.11325522512197495, -0.39743730425834656, 0.2225571870803833, 0.018566802144050598, 0.13146980106830597, 0.0978286862373352, 0.3290666341781616, -0.1411731243133545, -0.27678704261779785, 0.03732027858495712, 0.41989564895629883, -0.10731013119220734, 0.13488520681858063, -0.21230760216712952, -0.06903791427612305, -0.08805951476097107, -0.08757858723402023, -0.11231473088264465, -0.3890375792980194, 0.35465848445892334, 0.14575743675231934, 0.19352979958057404, -0.014395851641893387, -0.17374128103256226, -0.0598430335521698, 0.0587044358253479, 0.26708415150642395, -0.20321354269981384, 0.25508826971054077, 0.013208013027906418, -0.4380335807800293, -0.024693261831998825, 0.0454549565911293, -0.2632473409175873, -0.2379762828350067, -0.33236798644065857, 0.05684206262230873, -0.19111716747283936, 0.056992411613464355, -0.3539935052394867, -0.042987462133169174, -0.06789674609899521, -0.11124083399772644, 0.10576467216014862, 0.18375366926193237, -0.4654373526573181, -0.2005586177110672, 0.3597750961780548, 0.8228543400764465, -0.1606784164905548, -0.27921581268310547, -0.16704942286014557, -0.2544231116771698, 0.34397026896476746, 0.24349012970924377, 0.009813855402171612, 0.3291361927986145, -0.6496641039848328, 0.29509276151657104, 0.5359405875205994, -0.2844330966472626, -0.12391866743564606, 0.5942607522010803, -0.34379351139068604, 0.20214058458805084, 0.08755190670490265, -0.19464346766471863, -0.2337125688791275, -0.08777795732021332, -0.07961836457252502, 0.09306663274765015, -0.0718030333518982, 0.033077046275138855, -0.2984153926372528, -0.21118533611297607, 0.1356690526008606, 0.023190811276435852, -0.07212948799133301, 0.13453033566474915, 0.1663694530725479, 0.000305958092212677, 0.38048073649406433, -0.111517533659935, 0.30644601583480835, 0.3387150764465332, 0.22817063331604004, 0.2550210952758789, -0.18322139978408813, -0.25710123777389526, -0.6815962791442871, 0.21202433109283447, -0.1013987734913826, -0.15842607617378235, -0.37498795986175537, -0.09661473333835602, -0.09501923620700836, 0.02288840524852276, -0.34430354833602905, -0.08928266167640686, -0.015606246888637543, 0.19988977909088135, 0.04701590910553932, 0.23636706173419952, -0.2794688045978546, 0.31001296639442444, -0.23022966086864471, 0.30025556683540344, -0.22305281460285187, 0.475553035736084, 0.04801429808139801, -0.22295702993869781, -0.2903301417827606, 0.07668425142765045, 0.13990050554275513, -0.3123336732387543, 0.04875941574573517, 0.6595582962036133, -0.02792481519281864, 0.33988556265830994, 0.01777372881770134, -0.13515760004520416, 0.17391052842140198, 0.21930375695228577, -0.10948651283979416, 0.11001788079738617, 0.26066356897354126, 0.06627770513296127, -0.3655936121940613, 0.20636732876300812, 0.039937958121299744, 0.3214356005191803, 0.10206738114356995, -0.27428215742111206, 0.03519657254219055, 0.0841529369354248, -0.060554198920726776, -0.2759351134300232, 0.521131157875061, 0.062343157827854156, 0.31603285670280457, 0.08689974248409271, -0.4091015160083771, -0.1938931941986084, 0.05117904767394066, -0.14718745648860931, 0.015382643789052963, 0.35146191716194153, -0.008093617856502533, 0.03683377057313919, -0.11679232120513916, 0.17725610733032227, 0.608912467956543, -0.07100488245487213, 0.11748437583446503, 0.3098834753036499, 0.07895249128341675, -0.19435535371303558, 0.2224006950855255, 0.2861905097961426, -0.004191966261714697, 0.49850329756736755, 0.09725414216518402, 0.024844706058502197, -0.33756110072135925, -0.0728072077035904, 0.005035795271396637, 0.02861517295241356, -0.38293495774269104, 0.21552163362503052, -0.3757648468017578, -0.30960720777511597, -0.4420439302921295, 0.07801619917154312, -0.3197331428527832, -0.14533443748950958, -0.11802041530609131, 0.19519388675689697, -0.2514471113681793, -0.1333916336297989, -0.04120514169335365, -0.08788599073886871, -0.24041035771369934, -0.4831034541130066, -0.23747943341732025, 0.2840544581413269, -0.17927926778793335, -0.10958415269851685, 0.36452823877334595, 0.023867106065154076, 0.06114852428436279, -0.34852099418640137, -0.07664766907691956, -0.6157877445220947, -0.17155733704566956, 0.25245052576065063, -0.04471801221370697, 0.42808952927589417, 0.533846378326416, 0.0019460394978523254, -0.03496711328625679, -0.1858195662498474, 0.3561283349990845, -0.018572943285107613, -0.2859123647212982, 0.08182588964700699, 0.1892675757408142, 0.04629376158118248, -0.25666993856430054, -0.08150549978017807, -0.12993380427360535, -0.19091655313968658, 0.41182172298431396, 0.16668899357318878, -0.03491969406604767, 0.06468963623046875, 0.021524373441934586, 0.15829260647296906, -0.37164121866226196, 0.0011317962780594826, 0.04041352495551109, -0.6217806339263916, 0.17060841619968414, -0.05701405182480812, -0.15529538691043854, 0.13307607173919678, -0.08080330491065979, -0.02649451419711113, -0.12136411666870117, -0.31894785165786743, -0.18907755613327026, -0.018594840541481972, 0.1406863033771515, -0.13375313580036163, 0.15012304484844208, 0.3161095976829529, -0.18431083858013153, 0.09144465625286102, -0.19293323159217834, -0.14070124924182892, 0.09201061725616455, 0.3571462333202362, 0.2504633367061615, -0.1869935691356659, 0.43795013427734375, -0.09065458178520203, 0.6119682788848877, 0.05074000731110573, 0.134004607796669, 0.39798837900161743, -0.17032989859580994, 0.5948014259338379, -0.39816439151763916, -0.05857106298208237, 0.21338877081871033, 0.24487125873565674, -0.3804115056991577, 0.3119145631790161, 0.2626894414424896, 0.3711784780025482, -0.07438299059867859, -0.18441323935985565, -0.23904812335968018, -0.16102172434329987, -0.15158866345882416, 0.3045101463794708, -0.07963310927152634, 0.1887778788805008, -0.009088069200515747, 0.1307508945465088, -0.07650786638259888, 0.03083345666527748, 0.578343391418457, 0.35061874985694885, 0.10860998928546906, -0.03357603773474693, -0.04303280636668205, -0.2474079430103302, 0.09806510806083679, 0.30693140625953674, -0.14317435026168823, -0.09206198155879974, 0.025000452995300293, 0.07417396456003189, 0.015978733077645302, 0.6113867163658142, -0.04352816194295883, 0.08567168563604355, -0.23577368259429932, -0.06725409626960754, -0.40635591745376587, -0.0658470094203949, 0.06085534766316414, 0.3370930552482605, 0.01138494536280632, 0.5631027221679688, -0.3556142747402191, -0.1768646091222763, 0.1039222702383995, 0.36121299862861633, -0.08622592687606812, 0.009478424675762653, -0.48686978220939636, -0.3107598125934601, -0.33332690596580505, 0.023594163358211517, 0.10959618538618088, 0.17536304891109467, 0.37730297446250916, 0.24473319947719574, -0.021798746660351753, 0.041469089686870575, -0.2059945911169052, -0.3338126540184021, 0.3550430238246918, -0.18832509219646454, 0.0349285714328289, 0.21081943809986115, 0.22665686905384064, 0.28145793080329895, 0.6061495542526245, 0.03903699293732643, -0.2878914773464203, 0.17388027906417847, -0.24196115136146545, 0.41188812255859375, 0.3198823928833008, -0.056148458272218704, -0.07965228706598282, 0.13760903477668762, 0.2592407464981079, -0.4714629650115967, 0.15447159111499786, 0.46913832426071167, -0.2128981351852417, -0.06706682592630386, -0.0828121230006218, 0.4448527991771698, -0.06100635230541229, -0.0027797818183898926, 0.31512656807899475, 0.6161875128746033, -0.3371362090110779, 0.10991071164608002, 0.013357363641262054, 0.8618897199630737, 0.1686154305934906, 0.33316221833229065, 0.23326000571250916, -0.47665178775787354, 0.5044833421707153, -0.15936583280563354, 0.012030424550175667, -0.2082759588956833, -0.23410029709339142, -0.11355371028184891, -0.008250124752521515, 0.33092665672302246, 0.005937948822975159, -0.011433001607656479, 0.515943169593811, -0.14118874073028564, 0.3748003840446472, -0.03152500092983246, 0.0686919316649437, -0.24458765983581543, -0.11666466295719147, -0.2052614539861679, -0.004666591063141823, 0.1577325463294983, 0.37928715348243713, -0.23450663685798645, 0.039869800209999084, -0.10251347720623016, -0.12635044753551483, -0.09001822769641876, 0.14147517085075378, -0.31260061264038086, -0.13341441750526428, 0.13379861414432526, -0.31126970052719116, -0.04986601695418358, 0.4900061786174774, 0.1890026330947876, 0.04608902707695961, -0.24010509252548218, 0.13260811567306519, -0.34066760540008545, 0.22532907128334045, -0.10161487758159637, -0.1904226392507553, -0.045319072902202606, 0.01260029524564743, 0.20350271463394165, -0.3557398319244385, -0.4267925024032593, 0.07529553025960922, -0.018520206212997437, -0.08954726159572601, 0.055916089564561844, -0.20789064466953278, -0.29421088099479675, -0.23270732164382935, 0.19520443677902222, -0.11710718274116516, -0.02728119120001793, 0.1550443321466446, -0.22363826632499695, -0.42748144268989563, -0.09371007978916168, -0.44636276364326477, -0.2306840568780899, 0.45021912455558777, -0.3618986904621124, 0.04860294610261917, 0.5788860321044922, -0.1319730579853058, -0.12683892250061035, -0.08707909286022186, 0.20653828978538513, 0.12948520481586456, -0.36395663022994995, 0.13425606489181519, 0.06436153501272202, 0.21421854197978973, -0.22625602781772614, 0.24394482374191284, 0.05820118635892868, -0.3639576733112335, -0.14306847751140594, -0.2850806713104248, -0.17736735939979553, -0.02157536894083023, 0.042424920946359634, 0.006834082305431366, 0.025368541479110718, 0.020822882652282715, 0.4678739309310913, -0.4691019058227539, -0.1484299600124359, 0.10551375895738602, -0.09496544301509857, 0.128688246011734, 0.38165774941444397, 0.3955152630805969, 0.3402034640312195, -0.22867675125598907, 0.023866446688771248, 0.047789476811885834, -0.05317285656929016, -0.04910723865032196, -0.11770859360694885, 0.16533061861991882, 0.2227691113948822, 0.084904246032238, 0.07574368268251419, 0.04991752654314041, 0.019787155091762543, -0.1765175461769104, 0.06969253718852997, 0.19578257203102112, 0.03794277831912041, -0.07909918576478958, 0.4477657377719879, 0.15316569805145264, -0.19496746361255646, 0.005006436258554459, -0.11178451776504517, 0.3526456356048584, -0.08883218467235565, -0.06358221173286438, -0.19273145496845245, 0.022118613123893738, 0.1865679919719696, -0.08087139576673508, 0.04496815800666809, 0.2037515640258789, 0.15100687742233276, -0.3754463195800781, -0.03442643582820892, 0.06938549131155014, 0.506632924079895, 0.4153602123260498, -0.11977118998765945, -0.12914162874221802, 0.4459916651248932, 0.06089194118976593, -0.04416957125067711, -0.144599050283432, 0.25258514285087585, 0.05458027124404907, -0.014209970831871033, 0.18700796365737915, -0.221043661236763, 0.049427956342697144, -0.19587890803813934, 0.1502610146999359, 0.37172114849090576, -0.12157261371612549, 0.03832881525158882, 0.332501620054245, -0.05854763463139534, 0.33087795972824097, 0.17776691913604736, 0.0756940022110939, 0.18590626120567322, 0.5538725256919861, -0.009697474539279938, 0.20126086473464966, 0.014149414375424385, 0.16023953258991241, 0.020423710346221924, -0.3437651991844177, 0.03218914195895195, 0.2522481381893158, 0.0973142459988594, -0.05176219344139099, 0.0348641574382782, 0.18250927329063416, -0.09031134843826294, -0.16619665920734406, -0.08636690676212311, 0.19013947248458862, -0.27153483033180237, -0.3248807191848755, -0.027780763804912567, -0.210026353597641, 0.14363621175289154, 0.16914069652557373, -0.14867578446865082, -0.17965514957904816, 0.03126139938831329, -0.0061088502407073975, 0.07870164513587952, -0.20743948221206665, 0.06046304106712341, 0.11717767268419266, 0.05621914938092232, -0.30892616510391235, 0.2528345584869385, 0.18735885620117188, -0.168394535779953, -0.0423649437725544, 0.26590225100517273, 0.38706475496292114, 0.184105783700943, -0.13178740441799164, -0.007629343308508396, -0.04039643704891205, 0.03178650885820389, -0.02844548039138317, 0.3075511157512665, -0.2982214689254761, 0.22211554646492004, 0.42266422510147095, 0.12462738156318665, -0.052611492574214935, 0.20653310418128967, 0.2905019223690033, 0.1558026671409607, -0.3572462499141693, 0.38438910245895386, -0.3182770907878876, 0.06311400979757309, -0.11928896605968475, 0.022702418267726898, -0.35004857182502747, -0.005077752284705639, 0.09387463331222534, 0.05335598438978195, 0.26805350184440613, 0.22936901450157166, 0.01897871494293213, 0.2193530797958374, 0.23503731191158295, 0.568356990814209, -0.12057968229055405, -0.4389587342739105, -0.20276403427124023, -0.6649175882339478, 0.04333285987377167, -0.054714929312467575, 0.060373492538928986, -0.07464491575956345, 0.21743109822273254, -0.22098487615585327, 0.00746527872979641, -0.12432804703712463, 0.3091788589954376, -0.08569451421499252, 0.13662803173065186, 0.08603644371032715, -0.34678056836128235, -0.22497041523456573, -0.0604902058839798, 0.04629546403884888, -0.33924663066864014, 0.1256994754076004, -0.18671521544456482, -0.07173293828964233, 0.11694525182247162, 0.15116269886493683, -0.3010368049144745, -0.2713383436203003, 0.2593976557254791, 0.09062932431697845, -0.14776797592639923, -0.2757449150085449, -0.30881863832473755, -0.1755761355161667, -0.068545401096344, -0.21299393475055695, 0.2992003560066223, -0.2411167323589325, 0.4145250618457794, -0.48127537965774536, 0.03201087564229965, -0.4311949908733368, -0.1606871336698532, 0.323517382144928, 0.23448872566223145, -0.3522128760814667, 0.2979702651500702, -0.2801501154899597, 0.19169040024280548, 0.00700004119426012, 0.0632958859205246, -0.11547349393367767, 0.11278408765792847, -0.11738982796669006, -0.2597217857837677, 0.6109679937362671, -0.12099847197532654, -0.19861818850040436, -0.005410436540842056, 0.15607185661792755, 0.49440622329711914, -0.29102662205696106, -0.486837238073349, 0.13118627667427063, 0.4200669527053833, 0.008887292817234993, -0.21815358102321625, -0.14994673430919647, -0.18491429090499878, -0.1183430552482605, -0.05795273929834366, 0.2893867492675781, 0.1855265200138092, -0.23875181376934052, 0.553507924079895, -0.2690674066543579 ]
https://github.com/huggingface/datasets/issues/6995
ImportError when importing datasets.load_dataset
What is the version of your installed `huggingface-hub`: ```python import huggingface_hub print(huggingface_hub.__version__) ``` It seems you have a very old version of `huggingface-hub`, where `CommitInfo` was not still implemented. You need to update it: ``` pip install -U huggingface-hub ``` Note that `CommitInfo` was implemented in huggingface-hub 0.10.0 and datasets requires "huggingface-hub>=0.21.2"
### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install git+https://github.com/huggingface/datasets 2. from datasets import load_dataset ### Expected behavior ImportError Traceback (most recent call last) Cell In[7], [line 1](vscode-notebook-cell:?execution_count=7&line=1) ----> [1](vscode-notebook-cell:?execution_count=7&line=1) from datasets import load_dataset [3](vscode-notebook-cell:?execution_count=7&line=3) train_set = load_dataset("mispeech/speechocean762", split="train") [4](vscode-notebook-cell:?execution_count=7&line=4) test_set = load_dataset("mispeech/speechocean762", split="test") File d:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\__init__.py:[1](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:1)7 1 # Copyright 2020 The HuggingFace Datasets Authors and the TensorFlow Datasets Authors. [2](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:2) # [3](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:3) # Licensed under the Apache License, Version 2.0 (the "License"); (...) [12](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:12) # See the License for the specific language governing permissions and [13](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:13) # limitations under the License. [15](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:15) __version__ = "2.20.1.dev0" ---> [17](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:17) from .arrow_dataset import Dataset [18](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:18) from .arrow_reader import ReadInstruction [19](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:19) from .builder import ArrowBasedBuilder, BeamBasedBuilder, BuilderConfig, DatasetBuilder, GeneratorBasedBuilder File d:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\arrow_dataset.py:63 [61](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:61) import pyarrow.compute as pc [62](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:62) from fsspec.core import url_to_fs ---> [63](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:63) from huggingface_hub import ( [64](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:64) CommitInfo, [65](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:65) CommitOperationAdd, ... [70](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:70) ) [71](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:71) from huggingface_hub.hf_api import RepoFile [72](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:72) from multiprocess import Pool ImportError: cannot import name 'CommitInfo' from 'huggingface_hub' (d:\Anaconda3\envs\CS224S\Lib\site-packages\huggingface_hub\__init__.py) Output is truncated. View as a [scrollable element](command:cellOutput.enableScrolling?580889ab-0f61-4f37-9214-eaa2b3807f85) or open in a [text editor](command:workbench.action.openLargeOutput?580889ab-0f61-4f37-9214-eaa2b3807f85). Adjust cell output [settings](command:workbench.action.openSettings?%5B%22%40tag%3AnotebookOutputLayout%22%5D)... ### Environment info Leo@DESKTOP-9NHUAMI MSYS /d/Anaconda3/envs/CS224S/Lib/site-packages/huggingface_hub $ datasets-cli env Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "D:\Anaconda3\envs\CS224S\Scripts\datasets-cli.exe\__main__.py", line 4, in <module> File "D:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\__init__.py", line 17, in <module> from .arrow_dataset import Dataset File "D:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\arrow_dataset.py", line 63, in <module> from huggingface_hub import ( ImportError: cannot import name 'CommitInfo' from 'huggingface_hub' (D:\Anaconda3\envs\CS224S\Lib\site-packages\huggingface_hub\__init__.py) (CS224S)
52
ImportError when importing datasets.load_dataset ### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install git+https://github.com/huggingface/datasets 2. from datasets import load_dataset ### Expected behavior ImportError Traceback (most recent call last) Cell In[7], [line 1](vscode-notebook-cell:?execution_count=7&line=1) ----> [1](vscode-notebook-cell:?execution_count=7&line=1) from datasets import load_dataset [3](vscode-notebook-cell:?execution_count=7&line=3) train_set = load_dataset("mispeech/speechocean762", split="train") [4](vscode-notebook-cell:?execution_count=7&line=4) test_set = load_dataset("mispeech/speechocean762", split="test") File d:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\__init__.py:[1](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:1)7 1 # Copyright 2020 The HuggingFace Datasets Authors and the TensorFlow Datasets Authors. [2](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:2) # [3](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:3) # Licensed under the Apache License, Version 2.0 (the "License"); (...) [12](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:12) # See the License for the specific language governing permissions and [13](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:13) # limitations under the License. [15](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:15) __version__ = "2.20.1.dev0" ---> [17](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:17) from .arrow_dataset import Dataset [18](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:18) from .arrow_reader import ReadInstruction [19](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:19) from .builder import ArrowBasedBuilder, BeamBasedBuilder, BuilderConfig, DatasetBuilder, GeneratorBasedBuilder File d:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\arrow_dataset.py:63 [61](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:61) import pyarrow.compute as pc [62](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:62) from fsspec.core import url_to_fs ---> [63](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:63) from huggingface_hub import ( [64](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:64) CommitInfo, [65](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:65) CommitOperationAdd, ... [70](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:70) ) [71](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:71) from huggingface_hub.hf_api import RepoFile [72](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:72) from multiprocess import Pool ImportError: cannot import name 'CommitInfo' from 'huggingface_hub' (d:\Anaconda3\envs\CS224S\Lib\site-packages\huggingface_hub\__init__.py) Output is truncated. View as a [scrollable element](command:cellOutput.enableScrolling?580889ab-0f61-4f37-9214-eaa2b3807f85) or open in a [text editor](command:workbench.action.openLargeOutput?580889ab-0f61-4f37-9214-eaa2b3807f85). Adjust cell output [settings](command:workbench.action.openSettings?%5B%22%40tag%3AnotebookOutputLayout%22%5D)... ### Environment info Leo@DESKTOP-9NHUAMI MSYS /d/Anaconda3/envs/CS224S/Lib/site-packages/huggingface_hub $ datasets-cli env Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "D:\Anaconda3\envs\CS224S\Scripts\datasets-cli.exe\__main__.py", line 4, in <module> File "D:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\__init__.py", line 17, in <module> from .arrow_dataset import Dataset File "D:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\arrow_dataset.py", line 63, in <module> from huggingface_hub import ( ImportError: cannot import name 'CommitInfo' from 'huggingface_hub' (D:\Anaconda3\envs\CS224S\Lib\site-packages\huggingface_hub\__init__.py) (CS224S) What is the version of your installed `huggingface-hub`: ```python import huggingface_hub print(huggingface_hub.__version__) ``` It seems you have a very old version of `huggingface-hub`, where `CommitInfo` was not still implemented. You need to update it: ``` pip install -U huggingface-hub ``` Note that `CommitInfo` was implemented in huggingface-hub 0.10.0 and datasets requires "huggingface-hub>=0.21.2"
[ -0.27894434332847595, -0.16736024618148804, -0.019220074638724327, 0.3342856764793396, 0.27266108989715576, 0.03040923923254013, 0.09082164615392685, 0.2282353639602661, 0.17126117646694183, 0.17551535367965698, -0.1372210830450058, -0.05400799587368965, -0.09396711736917496, 0.360289067029953, 0.12434577941894531, 0.005006603896617889, 0.12808147072792053, 0.10453158617019653, -0.32645416259765625, 0.03226712346076965, 0.027435041964054108, 0.3324785828590393, -0.16254878044128418, -0.02516120672225952, -0.17623841762542725, 0.13178876042366028, 0.07487676292657852, 0.2014921009540558, -0.15261243283748627, -0.37306883931159973, 0.496562123298645, -0.05030979588627815, 0.2624428868293762, 0.8011267781257629, -0.00011643387551885098, 0.20230837166309357, 0.3011913299560547, -0.08441581577062607, -0.28676342964172363, -0.40815216302871704, -0.35243433713912964, -0.2522900402545929, -0.06288490444421768, 0.1175042912364006, 0.15387120842933655, 0.2156471163034439, -0.16368497908115387, -0.4426882565021515, 0.47464239597320557, 0.4239335358142853, 0.18507763743400574, 0.6043593883514404, 0.38722318410873413, -0.18655899167060852, -0.08471106737852097, 0.2893674969673157, -0.10771481692790985, 0.29228124022483826, -0.1921236217021942, -0.16289038956165314, 0.3755631446838379, 0.2741278409957886, 0.04805383086204529, -0.05464545264840126, 0.3861982226371765, -0.05367255210876465, 0.2367270290851593, -0.40914076566696167, -0.21563896536827087, 0.0781802088022232, 0.2472429871559143, -0.32239800691604614, -0.3736785352230072, -0.3851383626461029, 0.11469395458698273, -0.14484310150146484, 0.16136130690574646, -0.010631471872329712, -0.12953968346118927, 0.2503260672092438, -0.08937691897153854, -0.16862335801124573, -0.23523841798305511, -0.07860417664051056, -0.16890397667884827, -0.24771380424499512, -0.19370441138744354, 0.025626223534345627, 0.2870190441608429, -0.11628986895084381, -0.09282860159873962, 0.017308920621871948, -0.06477588415145874, 0.2333678901195526, -0.49477702379226685, 0.10862007737159729, 0.09501191973686218, -0.019812554121017456, 0.20851930975914001, -0.05275052785873413, -0.17305560410022736, -0.15166476368904114, -0.12985490262508392, 0.21739459037780762, 0.18690817058086395, 0.2951136529445648, 0.2797202467918396, 0.08350075036287308, 0.2919372320175171, 0.15547563135623932, 0.13181334733963013, 0.06298337876796722, -0.07978954166173935, -0.12562334537506104, -0.09092165529727936, -0.11865677684545517, 0.49332088232040405, -0.09190911054611206, -0.4621267318725586, 0.2429589182138443, -0.09828197956085205, -0.05409148335456848, -0.011850002221763134, 0.33606061339378357, -0.10436802357435226, 0.12282034754753113, 0.20182116329669952, 0.1638338416814804, -0.08898216485977173, -0.32468879222869873, -0.2845631241798401, 0.03913244605064392, -0.06468532234430313, 0.08087842911481857, 0.019699089229106903, -0.5657477974891663, 0.220217764377594, -0.040382567793130875, 0.409213125705719, -0.19291360676288605, -0.20215512812137604, -0.053438700735569, -0.02422693371772766, 0.30874133110046387, -0.04779095575213432, 0.2389332801103592, 0.3445711135864258, -0.4027344584465027, -0.1097736582159996, -0.09495557099580765, -0.2589908242225647, -0.2564687728881836, -0.21754629909992218, 0.16348864138126373, -0.4365699291229248, -0.06609635800123215, -0.5037850737571716, -0.17224016785621643, -0.021710999310016632, 0.18562248349189758, -0.08797041326761246, -0.26149994134902954, -0.030484527349472046, -0.07946053892374039, 0.35347846150398254, 0.6050916910171509, -0.13984809815883636, -0.38209930062294006, 0.13833650946617126, -0.3178138732910156, -0.15161728858947754, 0.23977074027061462, -0.06591380387544632, 0.38677534461021423, -0.13006660342216492, 0.06636515259742737, 0.07763997465372086, -0.7478536367416382, -0.45561060309410095, 0.06491454690694809, -0.16840410232543945, 0.1972726285457611, -0.0940740630030632, -0.04115737974643707, 0.0498281791806221, 0.10438308119773865, 0.24881114065647125, 0.253650426864624, -0.020633867010474205, 0.011147139593958855, 0.021202247589826584, -0.1575770229101181, 0.04413323476910591, 0.1412234753370285, 0.012813381850719452, -0.005160592496395111, 0.027787499129772186, 0.019376669079065323, 0.1639484316110611, -0.01802893355488777, 0.02947171777486801, 0.43112945556640625, 0.29058021306991577, 0.2442508488893509, -0.01761735789477825, -0.2024267315864563, -0.47045743465423584, 0.265784353017807, 0.10523447394371033, 0.17694319784641266, -0.21026207506656647, -0.11166948825120926, -0.42148131132125854, 0.2953658998012543, -0.16693516075611115, -0.11734534800052643, 0.04519796371459961, 0.031328149139881134, 0.008383888751268387, 0.2719246745109558, -0.2364957183599472, 0.7931470274925232, -0.12844912707805634, 0.3926737904548645, -0.4407171308994293, 0.4372295141220093, -0.07517699897289276, -0.20540519058704376, 0.1911446750164032, 0.2573515772819519, 0.03575386852025986, -0.3256315588951111, 0.014565462246537209, 0.3570038974285126, -0.021771473810076714, 0.3718622326850891, -0.22782862186431885, -0.02643534541130066, 0.20351064205169678, -0.1204412579536438, -0.21338367462158203, -0.24636976420879364, 0.09000460803508759, 0.01690627634525299, 0.08764378726482391, 0.11572591215372086, -0.11835436522960663, 0.23070034384727478, -0.013046786189079285, 0.06128709763288498, 0.20775896310806274, 0.11759528517723083, -0.23821407556533813, -0.28979218006134033, 0.33075764775276184, -0.07606068253517151, 0.07092399895191193, -0.014478372409939766, -0.06921062618494034, -0.17916536331176758, 0.3035053610801697, 0.1225786954164505, -0.030290380120277405, 0.010155878961086273, -0.2701594829559326, 0.26264047622680664, 0.14431077241897583, 0.1022224873304367, 0.44780147075653076, 0.031938351690769196, -0.2849365472793579, 0.22869430482387543, 0.1995144486427307, -0.044965967535972595, 0.11350692063570023, 0.15009130537509918, 0.2193153202533722, 0.12893620133399963, 0.040596142411231995, 0.05344976484775543, -0.16514360904693604, -0.05511188507080078, -0.17349782586097717, 0.31947940587997437, -0.5009877681732178, 0.10856207460165024, -0.2820127010345459, -0.4769996106624603, -0.291625052690506, -0.24593190848827362, -0.34387239813804626, -0.24370808899402618, -0.4593442678451538, 0.22620844841003418, 0.004350196570158005, 0.08559349924325943, 0.07304264605045319, 0.03735269606113434, 0.06830868870019913, -0.08602694422006607, -0.051077861338853836, 0.022998139262199402, 0.007692808285355568, -0.014704828150570393, 0.2626611292362213, -0.07526817172765732, 0.2837904691696167, -0.25557592511177063, 0.19378820061683655, -0.2139953374862671, -0.4072776138782501, 0.18571420013904572, -0.3757055401802063, 0.38909584283828735, 0.19343195855617523, 0.3295252025127411, 0.07939010113477707, -0.23984487354755402, 0.17797677218914032, -0.046001970767974854, -0.24390937387943268, -0.056983787566423416, 0.054076772183179855, -0.09643403440713882, -0.08439309895038605, -0.1056533232331276, -0.3698933720588684, -0.40296897292137146, 0.35082191228866577, 0.1456616371870041, -0.05688121169805527, 0.40604889392852783, 0.0603158064186573, 0.29366371035575867, -0.15757128596305847, 0.05077202618122101, 0.02605021931231022, -0.3271077871322632, 0.24321822822093964, -0.19061289727687836, -0.384245902299881, 0.12265026569366455, 0.128795325756073, 0.24776588380336761, -0.2162082940340042, -0.44478172063827515, -0.2132387012243271, -0.17148487269878387, 0.30524125695228577, 0.015009557828307152, 0.07801003009080887, 0.11396858096122742, -0.12846486270427704, 0.09501193463802338, -0.09827807545661926, -0.23566322028636932, 0.10246268659830093, 0.18739116191864014, -0.03761311620473862, -0.061455823481082916, 0.40123263001441956, -0.06389272212982178, 0.2624044418334961, 0.37623995542526245, 0.0034667961299419403, 0.2737247049808502, -0.020019007846713066, 0.545191764831543, -0.09979140013456345, -0.41477495431900024, -0.08395504951477051, 0.037743471562862396, 0.14447176456451416, 0.002209499478340149, -0.09056016057729721, 0.27255484461784363, -0.1865721493959427, -0.24698014557361603, 0.019121095538139343, -0.26954415440559387, -0.06730414927005768, -0.0033272430300712585, 0.1701071709394455, -0.03566557914018631, -0.2312830090522766, -0.0952989012002945, 0.06222961097955704, 0.14142553508281708, 0.35010647773742676, 0.06097717210650444, 0.10145184397697449, -0.3265358805656433, -0.09254733473062515, -0.5708662867546082, 0.09620225429534912, 0.06497976183891296, 0.2830594778060913, 0.010720405727624893, -0.12616172432899475, -0.11487686634063721, 0.16562867164611816, 0.49437129497528076, 0.16002504527568817, -0.18461106717586517, -0.03230001777410507, -0.2147470861673355, -0.5691664218902588, -0.13325929641723633, -0.0536818727850914, 0.1978607177734375, 0.266618549823761, 0.4695710241794586, -0.28890374302864075, -0.10574118047952652, 0.2743356227874756, 0.29051390290260315, -0.09195373207330704, -0.12351510673761368, -0.36083996295928955, -0.2848183214664459, -0.4945104420185089, -0.06053449958562851, 0.181472048163414, 0.28099068999290466, 0.2577614188194275, 0.16511639952659607, -0.07168379426002502, -0.24877595901489258, 0.27333301305770874, 0.09868162870407104, 0.08066683262586594, 0.12183624505996704, 0.2797902822494507, 0.43786633014678955, -0.106019988656044, 0.34491804242134094, 0.6368710398674011, -0.06929711997509003, -0.7161204218864441, -0.13763290643692017, 0.07451853156089783, 0.26395943760871887, 0.15451543033123016, -0.10350008308887482, 0.19991832971572876, 0.016235610470175743, 0.05794426053762436, -0.3656899929046631, 0.25156307220458984, 0.15472443401813507, 0.2917303442955017, -0.24253830313682556, -0.3759859800338745, 0.2776978015899658, -0.014850378036499023, 0.07777301967144012, 0.3027245104312897, 0.5008262991905212, -0.15401747822761536, 0.003732161596417427, -0.16100379824638367, 0.747112512588501, 0.22008398175239563, -0.09011854231357574, 0.49241459369659424, 0.058054156601428986, 0.41542109847068787, 0.0318513885140419, -0.09553874284029007, -0.3520078659057617, -0.32163476943969727, -0.05848215892910957, -0.23288238048553467, 0.39857491850852966, -0.5671111345291138, -0.11684927344322205, 0.040152646601200104, -0.09624546021223068, 0.25252488255500793, 0.055685244500637054, 0.13940437138080597, -0.10468173027038574, -0.28869733214378357, -0.31488507986068726, 0.1030312329530716, 0.03332856670022011, 0.4931873381137848, -0.13402633368968964, -0.1426599621772766, -0.32096919417381287, -0.09321971237659454, -0.20782852172851562, -0.021515777334570885, -0.2473122477531433, 0.1495046764612198, 0.2146262526512146, -0.009644076228141785, 0.1505635380744934, 0.49356895685195923, 0.5557733178138733, -0.05659380927681923, -0.2397596836090088, -0.038644324988126755, -0.33688461780548096, -0.03184761106967926, 0.17243868112564087, -0.13353882730007172, 0.2590067982673645, -0.13947422802448273, -0.16707563400268555, 0.13957080245018005, 0.07155942171812057, -0.18916107714176178, 0.00938647985458374, 0.1055372804403305, -0.049211643636226654, -0.2002391517162323, -0.1053299605846405, 0.06688056886196136, 0.2769036293029785, -0.08149732649326324, 0.08148349821567535, 0.2383250892162323, -0.1827184110879898, 0.020071804523468018, 0.08910246193408966, -0.35420334339141846, -0.0828046053647995, 0.5305526852607727, -0.019564732909202576, -0.10703589022159576, 0.515172004699707, 0.13192877173423767, -0.10232927650213242, -0.06637369096279144, 0.16763830184936523, 0.22603684663772583, -0.4552140235900879, 0.14733722805976868, -0.08973848074674606, 0.018547147512435913, -0.11579931527376175, 0.22574323415756226, 0.17719098925590515, -0.41256752610206604, -0.04710600897669792, -0.30070507526397705, -0.2916954457759857, 0.24445122480392456, -0.04111852869391441, 0.040655069053173065, 0.1563921570777893, 0.1704418659210205, -0.187473326921463, 0.05996238440275192, -0.2469242811203003, 0.022555675357580185, -0.23358191549777985, 0.013023743405938148, 0.40761542320251465, 0.0227719284594059, 0.25111818313598633, -0.38495194911956787, 0.024535520002245903, 0.20835034549236298, -0.19091331958770752, -0.16345101594924927, -0.3159583806991577, 0.1267699897289276, -0.022908497601747513, 0.045527420938014984, 0.245714008808136, 0.07998616993427277, 0.012989860959351063, -0.1195111870765686, 0.16212201118469238, 0.20597690343856812, -0.11711668968200684, 0.09261813014745712, 0.1574007123708725, 0.18975907564163208, -0.0807778611779213, 0.24764856696128845, 0.11669608950614929, 0.1802671253681183, -0.10897260159254074, 0.19480237364768982, -0.2637600600719452, 0.009629219770431519, -0.20209313929080963, 0.11166881769895554, 0.05450846999883652, 0.05562417209148407, 0.34530705213546753, -0.3586975932121277, 0.014040205627679825, 0.18462398648262024, 0.21559862792491913, 0.18625085055828094, -0.4746741056442261, 0.19278092682361603, 0.13622832298278809, 0.13484588265419006, -0.09768899530172348, -0.12461858242750168, 0.27929040789604187, -0.20481300354003906, -0.0012340620160102844, 0.25625014305114746, 0.16673389077186584, 0.12639975547790527, 0.07439935207366943, 0.17130103707313538, 0.5603048801422119, 0.22111819684505463, 0.38346728682518005, 0.2631576359272003, -0.21025177836418152, 0.03234236687421799, 0.28433218598365784, 0.21370424330234528, 0.35067278146743774, 0.27179354429244995, -0.36455944180488586, 0.08409450203180313, -0.17576053738594055, -0.07677274942398071, 0.27983859181404114, -0.1770695149898529, 0.0009266771376132965, 0.0707482099533081, -0.06503351032733917, -0.15711578726768494, 0.011964276432991028, 0.4286253750324249, -0.22042648494243622, -0.1394309401512146, -0.07531136274337769, 0.24349161982536316, -0.11326969414949417, 0.08405983448028564, 0.018629994243383408, -0.057775646448135376, -0.2250698208808899, -0.0890258252620697, 0.027624351903796196, -0.40750569105148315, 0.09488937258720398, 0.1100761890411377, -0.1999967247247696, -0.27367955446243286, -0.19478538632392883, 0.18700483441352844, 0.050589267164468765, -0.27323558926582336, 0.04058243706822395, 0.11073662340641022, -0.08272267878055573, 0.008400769904255867, 0.44111648201942444, 0.558387279510498, 0.2686038017272949, 0.38699260354042053, 0.1934402883052826, 0.09135659039020538, -0.016420742496848106, -0.02738822065293789, 0.18532375991344452, -0.3572705388069153, 0.3719262182712555, 0.24762921035289764, 0.1661514937877655, -0.16119492053985596, -0.35555538535118103, 0.02248556539416313, 0.2529156506061554, -0.5081102848052979, 0.28391554951667786, -0.48413756489753723, -0.02768627554178238, -0.2907468378543854, 0.10662409663200378, -0.30258285999298096, 0.27542662620544434, 0.35596445202827454, -0.10762917995452881, 0.042174048721790314, -0.19482940435409546, 0.0692664161324501, -0.06899285316467285, 0.6009387969970703, 0.3120483160018921, 0.13884583115577698, -0.10551726073026657, -0.20421317219734192, -0.7697235345840454, 0.11394818127155304, 0.173649400472641, 0.12079663574695587, 0.1565258800983429, 0.01669955812394619, -0.05460657924413681, 0.2917526960372925, 0.11998701840639114, -0.14093777537345886, -0.25101205706596375, -0.2922225892543793, -0.19056330621242523, -0.32909277081489563, -0.008080922067165375, -0.13246308267116547, 0.08932889997959137, -0.07740235328674316, 0.366934210062027, -0.0808602124452591, 0.002955060452222824, -0.18465866148471832, 0.018904469907283783, -0.058991484344005585, -0.3697926104068756, 0.4889814853668213, 0.11550364643335342, 0.27397745847702026, 0.02109091356396675, -0.27241894602775574, -0.0853775292634964, -0.36440977454185486, -0.24611152708530426, 0.2770612835884094, -0.15902499854564667, 0.4655582904815674, -0.26344239711761475, -0.4329889118671417, -0.31831127405166626, 0.34046533703804016, 0.21635739505290985, -0.01677078753709793, -0.3919256627559662, 0.0725490003824234, -0.1571180820465088, 0.14060714840888977, 0.11154235899448395, 0.05932721123099327, -0.07147863507270813, 0.2744242548942566, -0.12112916260957718, -0.21860338747501373, 0.48528221249580383, -0.294021338224411, -0.12644734978675842, -0.04833250865340233, 0.14443829655647278, 0.279218852519989, -0.3428760766983032, -0.6455613374710083, 0.17734754085540771, 0.2988750636577606, -0.10919622331857681, -0.28357917070388794, 0.47448158264160156, -0.10047085583209991, 0.07787278294563293, -0.01206178031861782, 0.35924479365348816, 0.00027078576385974884, -0.17740362882614136, 0.5471984148025513, -0.11174112558364868 ]
https://github.com/huggingface/datasets/issues/6995
ImportError when importing datasets.load_dataset
The error message says there is no CommitInfo in your installed huggingface-hub library: ``` ImportError: cannot import name 'CommitInfo' from 'huggingface_hub' (D:\Anaconda3\envs\CS224S\Lib\site-packages\huggingface_hub_init_.py) ``` And this is implemented since version 0.10.0: - https://github.com/huggingface/huggingface_hub/pull/1066
### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install git+https://github.com/huggingface/datasets 2. from datasets import load_dataset ### Expected behavior ImportError Traceback (most recent call last) Cell In[7], [line 1](vscode-notebook-cell:?execution_count=7&line=1) ----> [1](vscode-notebook-cell:?execution_count=7&line=1) from datasets import load_dataset [3](vscode-notebook-cell:?execution_count=7&line=3) train_set = load_dataset("mispeech/speechocean762", split="train") [4](vscode-notebook-cell:?execution_count=7&line=4) test_set = load_dataset("mispeech/speechocean762", split="test") File d:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\__init__.py:[1](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:1)7 1 # Copyright 2020 The HuggingFace Datasets Authors and the TensorFlow Datasets Authors. [2](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:2) # [3](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:3) # Licensed under the Apache License, Version 2.0 (the "License"); (...) [12](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:12) # See the License for the specific language governing permissions and [13](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:13) # limitations under the License. [15](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:15) __version__ = "2.20.1.dev0" ---> [17](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:17) from .arrow_dataset import Dataset [18](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:18) from .arrow_reader import ReadInstruction [19](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:19) from .builder import ArrowBasedBuilder, BeamBasedBuilder, BuilderConfig, DatasetBuilder, GeneratorBasedBuilder File d:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\arrow_dataset.py:63 [61](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:61) import pyarrow.compute as pc [62](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:62) from fsspec.core import url_to_fs ---> [63](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:63) from huggingface_hub import ( [64](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:64) CommitInfo, [65](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:65) CommitOperationAdd, ... [70](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:70) ) [71](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:71) from huggingface_hub.hf_api import RepoFile [72](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:72) from multiprocess import Pool ImportError: cannot import name 'CommitInfo' from 'huggingface_hub' (d:\Anaconda3\envs\CS224S\Lib\site-packages\huggingface_hub\__init__.py) Output is truncated. View as a [scrollable element](command:cellOutput.enableScrolling?580889ab-0f61-4f37-9214-eaa2b3807f85) or open in a [text editor](command:workbench.action.openLargeOutput?580889ab-0f61-4f37-9214-eaa2b3807f85). Adjust cell output [settings](command:workbench.action.openSettings?%5B%22%40tag%3AnotebookOutputLayout%22%5D)... ### Environment info Leo@DESKTOP-9NHUAMI MSYS /d/Anaconda3/envs/CS224S/Lib/site-packages/huggingface_hub $ datasets-cli env Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "D:\Anaconda3\envs\CS224S\Scripts\datasets-cli.exe\__main__.py", line 4, in <module> File "D:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\__init__.py", line 17, in <module> from .arrow_dataset import Dataset File "D:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\arrow_dataset.py", line 63, in <module> from huggingface_hub import ( ImportError: cannot import name 'CommitInfo' from 'huggingface_hub' (D:\Anaconda3\envs\CS224S\Lib\site-packages\huggingface_hub\__init__.py) (CS224S)
32
ImportError when importing datasets.load_dataset ### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install git+https://github.com/huggingface/datasets 2. from datasets import load_dataset ### Expected behavior ImportError Traceback (most recent call last) Cell In[7], [line 1](vscode-notebook-cell:?execution_count=7&line=1) ----> [1](vscode-notebook-cell:?execution_count=7&line=1) from datasets import load_dataset [3](vscode-notebook-cell:?execution_count=7&line=3) train_set = load_dataset("mispeech/speechocean762", split="train") [4](vscode-notebook-cell:?execution_count=7&line=4) test_set = load_dataset("mispeech/speechocean762", split="test") File d:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\__init__.py:[1](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:1)7 1 # Copyright 2020 The HuggingFace Datasets Authors and the TensorFlow Datasets Authors. [2](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:2) # [3](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:3) # Licensed under the Apache License, Version 2.0 (the "License"); (...) [12](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:12) # See the License for the specific language governing permissions and [13](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:13) # limitations under the License. [15](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:15) __version__ = "2.20.1.dev0" ---> [17](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:17) from .arrow_dataset import Dataset [18](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:18) from .arrow_reader import ReadInstruction [19](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/__init__.py:19) from .builder import ArrowBasedBuilder, BeamBasedBuilder, BuilderConfig, DatasetBuilder, GeneratorBasedBuilder File d:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\arrow_dataset.py:63 [61](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:61) import pyarrow.compute as pc [62](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:62) from fsspec.core import url_to_fs ---> [63](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:63) from huggingface_hub import ( [64](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:64) CommitInfo, [65](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:65) CommitOperationAdd, ... [70](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:70) ) [71](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:71) from huggingface_hub.hf_api import RepoFile [72](file:///D:/Anaconda3/envs/CS224S/Lib/site-packages/datasets/arrow_dataset.py:72) from multiprocess import Pool ImportError: cannot import name 'CommitInfo' from 'huggingface_hub' (d:\Anaconda3\envs\CS224S\Lib\site-packages\huggingface_hub\__init__.py) Output is truncated. View as a [scrollable element](command:cellOutput.enableScrolling?580889ab-0f61-4f37-9214-eaa2b3807f85) or open in a [text editor](command:workbench.action.openLargeOutput?580889ab-0f61-4f37-9214-eaa2b3807f85). Adjust cell output [settings](command:workbench.action.openSettings?%5B%22%40tag%3AnotebookOutputLayout%22%5D)... ### Environment info Leo@DESKTOP-9NHUAMI MSYS /d/Anaconda3/envs/CS224S/Lib/site-packages/huggingface_hub $ datasets-cli env Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "D:\Anaconda3\envs\CS224S\Scripts\datasets-cli.exe\__main__.py", line 4, in <module> File "D:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\__init__.py", line 17, in <module> from .arrow_dataset import Dataset File "D:\Anaconda3\envs\CS224S\Lib\site-packages\datasets\arrow_dataset.py", line 63, in <module> from huggingface_hub import ( ImportError: cannot import name 'CommitInfo' from 'huggingface_hub' (D:\Anaconda3\envs\CS224S\Lib\site-packages\huggingface_hub\__init__.py) (CS224S) The error message says there is no CommitInfo in your installed huggingface-hub library: ``` ImportError: cannot import name 'CommitInfo' from 'huggingface_hub' (D:\Anaconda3\envs\CS224S\Lib\site-packages\huggingface_hub_init_.py) ``` And this is implemented since version 0.10.0: - https://github.com/huggingface/huggingface_hub/pull/1066
[ -0.27894434332847595, -0.16736024618148804, -0.019220074638724327, 0.3342856764793396, 0.27266108989715576, 0.03040923923254013, 0.09082164615392685, 0.2282353639602661, 0.17126117646694183, 0.17551535367965698, -0.1372210830450058, -0.05400799587368965, -0.09396711736917496, 0.360289067029953, 0.12434577941894531, 0.005006603896617889, 0.12808147072792053, 0.10453158617019653, -0.32645416259765625, 0.03226712346076965, 0.027435041964054108, 0.3324785828590393, -0.16254878044128418, -0.02516120672225952, -0.17623841762542725, 0.13178876042366028, 0.07487676292657852, 0.2014921009540558, -0.15261243283748627, -0.37306883931159973, 0.496562123298645, -0.05030979588627815, 0.2624428868293762, 0.8011267781257629, -0.00011643387551885098, 0.20230837166309357, 0.3011913299560547, -0.08441581577062607, -0.28676342964172363, -0.40815216302871704, -0.35243433713912964, -0.2522900402545929, -0.06288490444421768, 0.1175042912364006, 0.15387120842933655, 0.2156471163034439, -0.16368497908115387, -0.4426882565021515, 0.47464239597320557, 0.4239335358142853, 0.18507763743400574, 0.6043593883514404, 0.38722318410873413, -0.18655899167060852, -0.08471106737852097, 0.2893674969673157, -0.10771481692790985, 0.29228124022483826, -0.1921236217021942, -0.16289038956165314, 0.3755631446838379, 0.2741278409957886, 0.04805383086204529, -0.05464545264840126, 0.3861982226371765, -0.05367255210876465, 0.2367270290851593, -0.40914076566696167, -0.21563896536827087, 0.0781802088022232, 0.2472429871559143, -0.32239800691604614, -0.3736785352230072, -0.3851383626461029, 0.11469395458698273, -0.14484310150146484, 0.16136130690574646, -0.010631471872329712, -0.12953968346118927, 0.2503260672092438, -0.08937691897153854, -0.16862335801124573, -0.23523841798305511, -0.07860417664051056, -0.16890397667884827, -0.24771380424499512, -0.19370441138744354, 0.025626223534345627, 0.2870190441608429, -0.11628986895084381, -0.09282860159873962, 0.017308920621871948, -0.06477588415145874, 0.2333678901195526, -0.49477702379226685, 0.10862007737159729, 0.09501191973686218, -0.019812554121017456, 0.20851930975914001, -0.05275052785873413, -0.17305560410022736, -0.15166476368904114, -0.12985490262508392, 0.21739459037780762, 0.18690817058086395, 0.2951136529445648, 0.2797202467918396, 0.08350075036287308, 0.2919372320175171, 0.15547563135623932, 0.13181334733963013, 0.06298337876796722, -0.07978954166173935, -0.12562334537506104, -0.09092165529727936, -0.11865677684545517, 0.49332088232040405, -0.09190911054611206, -0.4621267318725586, 0.2429589182138443, -0.09828197956085205, -0.05409148335456848, -0.011850002221763134, 0.33606061339378357, -0.10436802357435226, 0.12282034754753113, 0.20182116329669952, 0.1638338416814804, -0.08898216485977173, -0.32468879222869873, -0.2845631241798401, 0.03913244605064392, -0.06468532234430313, 0.08087842911481857, 0.019699089229106903, -0.5657477974891663, 0.220217764377594, -0.040382567793130875, 0.409213125705719, -0.19291360676288605, -0.20215512812137604, -0.053438700735569, -0.02422693371772766, 0.30874133110046387, -0.04779095575213432, 0.2389332801103592, 0.3445711135864258, -0.4027344584465027, -0.1097736582159996, -0.09495557099580765, -0.2589908242225647, -0.2564687728881836, -0.21754629909992218, 0.16348864138126373, -0.4365699291229248, -0.06609635800123215, -0.5037850737571716, -0.17224016785621643, -0.021710999310016632, 0.18562248349189758, -0.08797041326761246, -0.26149994134902954, -0.030484527349472046, -0.07946053892374039, 0.35347846150398254, 0.6050916910171509, -0.13984809815883636, -0.38209930062294006, 0.13833650946617126, -0.3178138732910156, -0.15161728858947754, 0.23977074027061462, -0.06591380387544632, 0.38677534461021423, -0.13006660342216492, 0.06636515259742737, 0.07763997465372086, -0.7478536367416382, -0.45561060309410095, 0.06491454690694809, -0.16840410232543945, 0.1972726285457611, -0.0940740630030632, -0.04115737974643707, 0.0498281791806221, 0.10438308119773865, 0.24881114065647125, 0.253650426864624, -0.020633867010474205, 0.011147139593958855, 0.021202247589826584, -0.1575770229101181, 0.04413323476910591, 0.1412234753370285, 0.012813381850719452, -0.005160592496395111, 0.027787499129772186, 0.019376669079065323, 0.1639484316110611, -0.01802893355488777, 0.02947171777486801, 0.43112945556640625, 0.29058021306991577, 0.2442508488893509, -0.01761735789477825, -0.2024267315864563, -0.47045743465423584, 0.265784353017807, 0.10523447394371033, 0.17694319784641266, -0.21026207506656647, -0.11166948825120926, -0.42148131132125854, 0.2953658998012543, -0.16693516075611115, -0.11734534800052643, 0.04519796371459961, 0.031328149139881134, 0.008383888751268387, 0.2719246745109558, -0.2364957183599472, 0.7931470274925232, -0.12844912707805634, 0.3926737904548645, -0.4407171308994293, 0.4372295141220093, -0.07517699897289276, -0.20540519058704376, 0.1911446750164032, 0.2573515772819519, 0.03575386852025986, -0.3256315588951111, 0.014565462246537209, 0.3570038974285126, -0.021771473810076714, 0.3718622326850891, -0.22782862186431885, -0.02643534541130066, 0.20351064205169678, -0.1204412579536438, -0.21338367462158203, -0.24636976420879364, 0.09000460803508759, 0.01690627634525299, 0.08764378726482391, 0.11572591215372086, -0.11835436522960663, 0.23070034384727478, -0.013046786189079285, 0.06128709763288498, 0.20775896310806274, 0.11759528517723083, -0.23821407556533813, -0.28979218006134033, 0.33075764775276184, -0.07606068253517151, 0.07092399895191193, -0.014478372409939766, -0.06921062618494034, -0.17916536331176758, 0.3035053610801697, 0.1225786954164505, -0.030290380120277405, 0.010155878961086273, -0.2701594829559326, 0.26264047622680664, 0.14431077241897583, 0.1022224873304367, 0.44780147075653076, 0.031938351690769196, -0.2849365472793579, 0.22869430482387543, 0.1995144486427307, -0.044965967535972595, 0.11350692063570023, 0.15009130537509918, 0.2193153202533722, 0.12893620133399963, 0.040596142411231995, 0.05344976484775543, -0.16514360904693604, -0.05511188507080078, -0.17349782586097717, 0.31947940587997437, -0.5009877681732178, 0.10856207460165024, -0.2820127010345459, -0.4769996106624603, -0.291625052690506, -0.24593190848827362, -0.34387239813804626, -0.24370808899402618, -0.4593442678451538, 0.22620844841003418, 0.004350196570158005, 0.08559349924325943, 0.07304264605045319, 0.03735269606113434, 0.06830868870019913, -0.08602694422006607, -0.051077861338853836, 0.022998139262199402, 0.007692808285355568, -0.014704828150570393, 0.2626611292362213, -0.07526817172765732, 0.2837904691696167, -0.25557592511177063, 0.19378820061683655, -0.2139953374862671, -0.4072776138782501, 0.18571420013904572, -0.3757055401802063, 0.38909584283828735, 0.19343195855617523, 0.3295252025127411, 0.07939010113477707, -0.23984487354755402, 0.17797677218914032, -0.046001970767974854, -0.24390937387943268, -0.056983787566423416, 0.054076772183179855, -0.09643403440713882, -0.08439309895038605, -0.1056533232331276, -0.3698933720588684, -0.40296897292137146, 0.35082191228866577, 0.1456616371870041, -0.05688121169805527, 0.40604889392852783, 0.0603158064186573, 0.29366371035575867, -0.15757128596305847, 0.05077202618122101, 0.02605021931231022, -0.3271077871322632, 0.24321822822093964, -0.19061289727687836, -0.384245902299881, 0.12265026569366455, 0.128795325756073, 0.24776588380336761, -0.2162082940340042, -0.44478172063827515, -0.2132387012243271, -0.17148487269878387, 0.30524125695228577, 0.015009557828307152, 0.07801003009080887, 0.11396858096122742, -0.12846486270427704, 0.09501193463802338, -0.09827807545661926, -0.23566322028636932, 0.10246268659830093, 0.18739116191864014, -0.03761311620473862, -0.061455823481082916, 0.40123263001441956, -0.06389272212982178, 0.2624044418334961, 0.37623995542526245, 0.0034667961299419403, 0.2737247049808502, -0.020019007846713066, 0.545191764831543, -0.09979140013456345, -0.41477495431900024, -0.08395504951477051, 0.037743471562862396, 0.14447176456451416, 0.002209499478340149, -0.09056016057729721, 0.27255484461784363, -0.1865721493959427, -0.24698014557361603, 0.019121095538139343, -0.26954415440559387, -0.06730414927005768, -0.0033272430300712585, 0.1701071709394455, -0.03566557914018631, -0.2312830090522766, -0.0952989012002945, 0.06222961097955704, 0.14142553508281708, 0.35010647773742676, 0.06097717210650444, 0.10145184397697449, -0.3265358805656433, -0.09254733473062515, -0.5708662867546082, 0.09620225429534912, 0.06497976183891296, 0.2830594778060913, 0.010720405727624893, -0.12616172432899475, -0.11487686634063721, 0.16562867164611816, 0.49437129497528076, 0.16002504527568817, -0.18461106717586517, -0.03230001777410507, -0.2147470861673355, -0.5691664218902588, -0.13325929641723633, -0.0536818727850914, 0.1978607177734375, 0.266618549823761, 0.4695710241794586, -0.28890374302864075, -0.10574118047952652, 0.2743356227874756, 0.29051390290260315, -0.09195373207330704, -0.12351510673761368, -0.36083996295928955, -0.2848183214664459, -0.4945104420185089, -0.06053449958562851, 0.181472048163414, 0.28099068999290466, 0.2577614188194275, 0.16511639952659607, -0.07168379426002502, -0.24877595901489258, 0.27333301305770874, 0.09868162870407104, 0.08066683262586594, 0.12183624505996704, 0.2797902822494507, 0.43786633014678955, -0.106019988656044, 0.34491804242134094, 0.6368710398674011, -0.06929711997509003, -0.7161204218864441, -0.13763290643692017, 0.07451853156089783, 0.26395943760871887, 0.15451543033123016, -0.10350008308887482, 0.19991832971572876, 0.016235610470175743, 0.05794426053762436, -0.3656899929046631, 0.25156307220458984, 0.15472443401813507, 0.2917303442955017, -0.24253830313682556, -0.3759859800338745, 0.2776978015899658, -0.014850378036499023, 0.07777301967144012, 0.3027245104312897, 0.5008262991905212, -0.15401747822761536, 0.003732161596417427, -0.16100379824638367, 0.747112512588501, 0.22008398175239563, -0.09011854231357574, 0.49241459369659424, 0.058054156601428986, 0.41542109847068787, 0.0318513885140419, -0.09553874284029007, -0.3520078659057617, -0.32163476943969727, -0.05848215892910957, -0.23288238048553467, 0.39857491850852966, -0.5671111345291138, -0.11684927344322205, 0.040152646601200104, -0.09624546021223068, 0.25252488255500793, 0.055685244500637054, 0.13940437138080597, -0.10468173027038574, -0.28869733214378357, -0.31488507986068726, 0.1030312329530716, 0.03332856670022011, 0.4931873381137848, -0.13402633368968964, -0.1426599621772766, -0.32096919417381287, -0.09321971237659454, -0.20782852172851562, -0.021515777334570885, -0.2473122477531433, 0.1495046764612198, 0.2146262526512146, -0.009644076228141785, 0.1505635380744934, 0.49356895685195923, 0.5557733178138733, -0.05659380927681923, -0.2397596836090088, -0.038644324988126755, -0.33688461780548096, -0.03184761106967926, 0.17243868112564087, -0.13353882730007172, 0.2590067982673645, -0.13947422802448273, -0.16707563400268555, 0.13957080245018005, 0.07155942171812057, -0.18916107714176178, 0.00938647985458374, 0.1055372804403305, -0.049211643636226654, -0.2002391517162323, -0.1053299605846405, 0.06688056886196136, 0.2769036293029785, -0.08149732649326324, 0.08148349821567535, 0.2383250892162323, -0.1827184110879898, 0.020071804523468018, 0.08910246193408966, -0.35420334339141846, -0.0828046053647995, 0.5305526852607727, -0.019564732909202576, -0.10703589022159576, 0.515172004699707, 0.13192877173423767, -0.10232927650213242, -0.06637369096279144, 0.16763830184936523, 0.22603684663772583, -0.4552140235900879, 0.14733722805976868, -0.08973848074674606, 0.018547147512435913, -0.11579931527376175, 0.22574323415756226, 0.17719098925590515, -0.41256752610206604, -0.04710600897669792, -0.30070507526397705, -0.2916954457759857, 0.24445122480392456, -0.04111852869391441, 0.040655069053173065, 0.1563921570777893, 0.1704418659210205, -0.187473326921463, 0.05996238440275192, -0.2469242811203003, 0.022555675357580185, -0.23358191549777985, 0.013023743405938148, 0.40761542320251465, 0.0227719284594059, 0.25111818313598633, -0.38495194911956787, 0.024535520002245903, 0.20835034549236298, -0.19091331958770752, -0.16345101594924927, -0.3159583806991577, 0.1267699897289276, -0.022908497601747513, 0.045527420938014984, 0.245714008808136, 0.07998616993427277, 0.012989860959351063, -0.1195111870765686, 0.16212201118469238, 0.20597690343856812, -0.11711668968200684, 0.09261813014745712, 0.1574007123708725, 0.18975907564163208, -0.0807778611779213, 0.24764856696128845, 0.11669608950614929, 0.1802671253681183, -0.10897260159254074, 0.19480237364768982, -0.2637600600719452, 0.009629219770431519, -0.20209313929080963, 0.11166881769895554, 0.05450846999883652, 0.05562417209148407, 0.34530705213546753, -0.3586975932121277, 0.014040205627679825, 0.18462398648262024, 0.21559862792491913, 0.18625085055828094, -0.4746741056442261, 0.19278092682361603, 0.13622832298278809, 0.13484588265419006, -0.09768899530172348, -0.12461858242750168, 0.27929040789604187, -0.20481300354003906, -0.0012340620160102844, 0.25625014305114746, 0.16673389077186584, 0.12639975547790527, 0.07439935207366943, 0.17130103707313538, 0.5603048801422119, 0.22111819684505463, 0.38346728682518005, 0.2631576359272003, -0.21025177836418152, 0.03234236687421799, 0.28433218598365784, 0.21370424330234528, 0.35067278146743774, 0.27179354429244995, -0.36455944180488586, 0.08409450203180313, -0.17576053738594055, -0.07677274942398071, 0.27983859181404114, -0.1770695149898529, 0.0009266771376132965, 0.0707482099533081, -0.06503351032733917, -0.15711578726768494, 0.011964276432991028, 0.4286253750324249, -0.22042648494243622, -0.1394309401512146, -0.07531136274337769, 0.24349161982536316, -0.11326969414949417, 0.08405983448028564, 0.018629994243383408, -0.057775646448135376, -0.2250698208808899, -0.0890258252620697, 0.027624351903796196, -0.40750569105148315, 0.09488937258720398, 0.1100761890411377, -0.1999967247247696, -0.27367955446243286, -0.19478538632392883, 0.18700483441352844, 0.050589267164468765, -0.27323558926582336, 0.04058243706822395, 0.11073662340641022, -0.08272267878055573, 0.008400769904255867, 0.44111648201942444, 0.558387279510498, 0.2686038017272949, 0.38699260354042053, 0.1934402883052826, 0.09135659039020538, -0.016420742496848106, -0.02738822065293789, 0.18532375991344452, -0.3572705388069153, 0.3719262182712555, 0.24762921035289764, 0.1661514937877655, -0.16119492053985596, -0.35555538535118103, 0.02248556539416313, 0.2529156506061554, -0.5081102848052979, 0.28391554951667786, -0.48413756489753723, -0.02768627554178238, -0.2907468378543854, 0.10662409663200378, -0.30258285999298096, 0.27542662620544434, 0.35596445202827454, -0.10762917995452881, 0.042174048721790314, -0.19482940435409546, 0.0692664161324501, -0.06899285316467285, 0.6009387969970703, 0.3120483160018921, 0.13884583115577698, -0.10551726073026657, -0.20421317219734192, -0.7697235345840454, 0.11394818127155304, 0.173649400472641, 0.12079663574695587, 0.1565258800983429, 0.01669955812394619, -0.05460657924413681, 0.2917526960372925, 0.11998701840639114, -0.14093777537345886, -0.25101205706596375, -0.2922225892543793, -0.19056330621242523, -0.32909277081489563, -0.008080922067165375, -0.13246308267116547, 0.08932889997959137, -0.07740235328674316, 0.366934210062027, -0.0808602124452591, 0.002955060452222824, -0.18465866148471832, 0.018904469907283783, -0.058991484344005585, -0.3697926104068756, 0.4889814853668213, 0.11550364643335342, 0.27397745847702026, 0.02109091356396675, -0.27241894602775574, -0.0853775292634964, -0.36440977454185486, -0.24611152708530426, 0.2770612835884094, -0.15902499854564667, 0.4655582904815674, -0.26344239711761475, -0.4329889118671417, -0.31831127405166626, 0.34046533703804016, 0.21635739505290985, -0.01677078753709793, -0.3919256627559662, 0.0725490003824234, -0.1571180820465088, 0.14060714840888977, 0.11154235899448395, 0.05932721123099327, -0.07147863507270813, 0.2744242548942566, -0.12112916260957718, -0.21860338747501373, 0.48528221249580383, -0.294021338224411, -0.12644734978675842, -0.04833250865340233, 0.14443829655647278, 0.279218852519989, -0.3428760766983032, -0.6455613374710083, 0.17734754085540771, 0.2988750636577606, -0.10919622331857681, -0.28357917070388794, 0.47448158264160156, -0.10047085583209991, 0.07787278294563293, -0.01206178031861782, 0.35924479365348816, 0.00027078576385974884, -0.17740362882614136, 0.5471984148025513, -0.11174112558364868 ]
https://github.com/huggingface/datasets/issues/6992
Dataset with streaming doesn't work with proxy
Hi ! can you try updating `datasets` and `huggingface_hub` ? ``` pip install -U datasets huggingface_hub ```
### Describe the bug I'm currently trying to stream data using dataset since the dataset is too big but it hangs indefinitely without loading the first batch. I use AIMOS which is a supercomputer that uses proxy to connect to the internet. I assume it has to do with the network configurations. I've already set up both HTTP_PROXY and HTTPS_PROXY. streaming = False works fine. ### Steps to reproduce the bug use load_dataset with streaming = True in AIMOS ### Expected behavior does not hang indefinitely and loads batches to start training run ### Environment info _libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 2_gnu conda-forge _pytorch_select 2.0 cuda_2 https://ftp.osuosl.org/pub/open-ce/1.10.0 abseil-cpp 20220623.0 h9888cd1_6 conda-forge absl-py 1.0.0 py311h399429b_0 https://ftp.osuosl.org/pub/open-ce/1.10.0 aiofiles 23.2.1 pyhd8ed1ab_0 conda-forge aiohttp 3.8.6 py311hf118e41_0 aiosignal 1.2.0 pyhd3eb1b0_0 archspec 0.2.3 pyhd8ed1ab_0 conda-forge arrow-cpp 11.0.0 ha3edaa6_5_cpu conda-forge async-timeout 4.0.2 py311h6ffa863_0 attrs 23.1.0 py311h6ffa863_0 av 10.0.0 py311he6153ed_2 https://ftp.osuosl.org/pub/open-ce/1.10.0 aws-c-auth 0.6.24 hb81f6d7_5 conda-forge aws-c-cal 0.5.20 h3c2b4d9_6 conda-forge aws-c-common 0.8.11 h4194056_0 conda-forge aws-c-compression 0.2.16 ha19333d_3 conda-forge aws-c-event-stream 0.2.18 h12a9399_6 conda-forge aws-c-http 0.7.4 ha2cde00_2 conda-forge aws-c-io 0.13.17 h9189062_2 conda-forge aws-c-mqtt 0.8.6 h40d1a04_6 conda-forge aws-c-s3 0.2.4 hbdbe4f0_3 conda-forge aws-c-sdkutils 0.1.7 ha19333d_3 conda-forge aws-checksums 0.1.14 ha19333d_3 conda-forge aws-crt-cpp 0.19.7 hd018011_7 conda-forge aws-sdk-cpp 1.10.57 hb9575ba_4 conda-forge blas 1.0 openblas blinker 1.8.2 pyhd8ed1ab_0 conda-forge boltons 23.0.0 py311h6ffa863_0 boost-cpp 1.82.0 h25e6d66_2 bottleneck 1.3.5 py311h34f6284_0 brotli 1.0.9 hf118e41_7 brotli-bin 1.0.9 hf118e41_7 brotli-python 1.0.9 py311h4a02239_7 bzip2 1.0.8 h7b6447c_0 c-ares 1.19.1 hf118e41_0 ca-certificates 2024.6.2 h0f6029e_0 conda-forge cachetools 5.3.3 pyhd8ed1ab_0 conda-forge certifi 2024.6.2 pyhd8ed1ab_0 conda-forge cffi 1.15.1 py311hf118e41_3 charset-normalizer 2.0.4 pyhd3eb1b0_0 click 8.1.7 unix_pyh707e725_0 conda-forge conda 24.5.0 py311h1af927a_0 conda-forge conda-content-trust 0.2.0 py311h6ffa863_0 conda-libmamba-solver 23.11.1 py311h6ffa863_0 conda-package-handling 2.2.0 py311h6ffa863_0 conda-package-streaming 0.9.0 py311h6ffa863_0 contourpy 1.0.5 py311h25e6d66_0 cryptography 41.0.3 py311hb0e80e7_0 cudatoolkit 11.8.0 hedcfb66_13 conda-forge cudnn 8.9.2_11.8 h9ceb136_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 cycler 0.11.0 pyhd3eb1b0_0 datasets 2.12.0 py311h6ffa863_0 dill 0.3.6 py311h6ffa863_0 distro 1.9.0 pyhd8ed1ab_0 conda-forge ffmpeg 4.2.2 opence_0 https://ftp.osuosl.org/pub/open-ce/1.10.0 filelock 3.9.0 py311h6ffa863_0 fmt 9.1.0 h25e6d66_0 fonttools 4.25.0 pyhd3eb1b0_0 freetype 2.12.1 hd23a775_0 frozendict 2.4.4 py311hb02d432_0 conda-forge frozenlist 1.4.0 py311hf118e41_0 fsspec 2023.9.2 py311h6ffa863_0 gflags 2.2.2 he6710b0_0 giflib 5.2.1 hf118e41_3 glog 0.6.0 hbe088e0_0 conda-forge gmp 6.3.0 h46f38da_0 conda-forge gmpy2 2.1.5 py311h2758da7_1 conda-forge google-auth 2.30.0 pyhff2d567_0 conda-forge google-auth-oauthlib 0.5.3 pyhd8ed1ab_0 conda-forge grpc-cpp 1.51.1 h8ba971d_1 conda-forge grpcio 1.54.3 py311h414e0d3_0 https://ftp.osuosl.org/pub/open-ce/1.10.0 huggingface_hub 0.17.3 py311h6ffa863_0 icu 73.1 h4a02239_0 idna 3.4 py311h6ffa863_0 importlib-metadata 6.0.0 py311h6ffa863_0 jinja2 3.1.4 pyhd8ed1ab_0 conda-forge jpeg 9e hf118e41_1 jsonpatch 1.32 pyhd3eb1b0_0 jsonpointer 2.1 pyhd3eb1b0_0 kiwisolver 1.4.4 py311h4a02239_0 krb5 1.20.1 hc019ccd_1 lame 3.100 hb283c62_1003 conda-forge lcms2 2.12 h2045e0b_0 ld_impl_linux-ppc64le 2.38 hec883e6_1 lerc 3.0 h29c3540_0 leveldb 1.23 h24532b4_1 conda-forge libabseil 20220623.0 cxx17_h9235812_6 conda-forge libarchive 3.6.2 hd8ab008_2 libarrow 11.0.0 h837770b_5_cpu conda-forge libboost 1.82.0 haf51a6a_2 libbrotlicommon 1.0.9 hf118e41_7 libbrotlidec 1.0.9 hf118e41_7 libbrotlienc 1.0.9 hf118e41_7 libcrc32c 1.1.2 h3b9df90_0 conda-forge libcurl 8.4.0 h4d62439_0 libdeflate 1.17 hf118e41_1 libedit 3.1.20221030 hf118e41_0 libev 4.33 h140841e_1 libevent 2.1.10 h19c23f1_4 conda-forge libexpat 2.6.2 h46f38da_0 conda-forge libffi 3.4.4 h4a02239_0 libgcc-ng 13.2.0 h31e42bb_10 conda-forge libgfortran-ng 11.2.0 hb3889a9_1 libgfortran5 11.2.0 h1234567_1 libgomp 13.2.0 h31e42bb_10 conda-forge libgoogle-cloud 2.7.0 h11140b6_1 conda-forge libgrpc 1.51.1 h4d29a31_1 conda-forge libmamba 1.5.3 h7c6fafd_0 libmambapy 1.5.3 py311h828bf7b_0 libnghttp2 1.57.0 h44e5816_0 libnsl 2.0.1 ha17a0cc_0 conda-forge libopenblas 0.3.23 hc5a31fb_2 https://ftp.osuosl.org/pub/open-ce/1.10.0 libopus 1.3.1 h4e0d66e_1 conda-forge libpng 1.6.39 hf118e41_0 libprotobuf 3.21.12 h1776448_0 https://ftp.osuosl.org/pub/open-ce/1.10.0 libsolv 0.7.24 h0f529ac_0 libsqlite 3.45.3 hd4bbf49_0 conda-forge libssh2 1.10.0 h50fa78f_2 libstdcxx-ng 13.2.0 h262982c_10 conda-forge libthrift 0.18.0 h82f1162_0 conda-forge libtiff 4.5.1 h4a02239_0 libutf8proc 2.8.0 hb283c62_0 conda-forge libuuid 2.38.1 h4194056_0 conda-forge libvpx 1.13.1 h46f38da_0 conda-forge libwebp 1.3.2 h0f96ee2_0 libwebp-base 1.3.2 hf118e41_0 libxcrypt 4.4.36 ha17a0cc_1 conda-forge libxml2 2.10.4 h18e3229_1 libzlib 1.2.13 h1f2b957_6 conda-forge llvm-openmp 14.0.6 hc028133_0 https://ftp.osuosl.org/pub/open-ce/1.10.0 lmdb 0.9.31 ha17a0cc_1 conda-forge lz4-c 1.9.4 h4a02239_0 markdown 3.4.4 pyhd8ed1ab_0 conda-forge markupsafe 2.1.5 py311h32d8acf_0 conda-forge matplotlib 3.8.0 py311h6ffa863_0 matplotlib-base 3.8.0 py311h52e1fcc_0 menuinst 2.1.1 py311h1af927a_0 conda-forge mpc 1.3.1 heaf1863_0 conda-forge mpfr 4.2.1 haad2271_1 conda-forge mpmath 1.3.0 pyhd8ed1ab_0 conda-forge multidict 6.0.2 py311hf118e41_0 multiprocess 0.70.14 py311h6ffa863_0 munkres 1.1.4 py_0 mypy_extensions 1.0.0 pyha770c72_0 conda-forge nccl 2.18.3 cuda11.8_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 ncurses 6.4 h4a02239_0 nest-asyncio 1.6.0 pyhd8ed1ab_0 conda-forge networkx 2.8.8 pyhd8ed1ab_0 conda-forge nomkl 3.0 0 https://ftp.osuosl.org/pub/open-ce/1.10.0 numactl 2.0.16 hba61f60_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 numexpr 2.8.7 py311hc46fc55_0 numpy 1.24.3 py311h148a09e_0 numpy-base 1.24.3 py311h06b82f6_0 oauthlib 3.2.2 pyhd8ed1ab_0 conda-forge openjpeg 2.4.0 hfe35807_0 openssl 3.3.1 h1f2b957_0 conda-forge orc 1.8.2 h341c9a4_2 conda-forge packaging 23.1 py311h6ffa863_0 pandas 2.1.1 py311h52e1fcc_0 pcre2 10.42 h280155c_0 pillow 10.0.1 py311he33076b_0 pip 23.3 py311h6ffa863_0 platformdirs 4.2.2 pyhd8ed1ab_0 conda-forge pluggy 1.0.0 py311h6ffa863_1 pooch 1.8.2 pyhd8ed1ab_0 conda-forge protobuf 4.21.12 py311ha7baec7_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 psutil 5.9.8 py311hd26027c_0 conda-forge pyarrow 11.0.0 py311h04a18d5_1 pyasn1 0.6.0 pyhd8ed1ab_0 conda-forge pyasn1-modules 0.4.0 pyhd8ed1ab_0 conda-forge pybind11-abi 4 hd3eb1b0_1 pycosat 0.6.6 py311hf118e41_0 pycparser 2.21 pyhd3eb1b0_0 pyjwt 2.8.0 pyhd8ed1ab_1 conda-forge pyopenssl 23.2.0 py311h6ffa863_0 pyparsing 3.0.9 py311h6ffa863_0 pyre-extensions 0.0.30 pyhd8ed1ab_0 conda-forge pysocks 1.7.1 py311h6ffa863_0 python 3.11.8 h3332dee_0_cpython conda-forge python-dateutil 2.8.2 pyhd3eb1b0_0 python-tzdata 2023.3 pyhd3eb1b0_0 python-xxhash 2.0.2 py311hf118e41_1 python_abi 3.11 4_cp311 conda-forge pytorch 2.0.1 cuda11.8_py311_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 pytorch-base 2.0.1 cuda11.8_py311_pb4.21.12_4 https://ftp.osuosl.org/pub/open-ce/1.10.0 pytz 2023.3.post1 py311h6ffa863_0 pyu2f 0.1.5 pyhd8ed1ab_0 conda-forge pyyaml 6.0.1 py311hf118e41_0 re2 2023.02.01 h883269e_0 conda-forge readline 8.2 hf118e41_0 regex 2023.10.3 py311hf118e41_0 reproc 14.2.4 h29c3540_1 reproc-cpp 14.2.4 h29c3540_1 requests 2.31.0 py311h6ffa863_0 requests-oauthlib 2.0.0 pyhd8ed1ab_0 conda-forge responses 0.13.3 pyhd3eb1b0_0 rsa 4.9 pyhd8ed1ab_0 conda-forge ruamel.yaml 0.17.21 py311hf118e41_0 s2n 1.3.37 h5e47323_0 conda-forge safetensors 0.4.0 py311hda16d9e_0 scipy 1.11.1 py311hd69e9bb_0 https://ftp.osuosl.org/pub/open-ce/1.10.0 sentencepiece 0.1.97 h1e74c73_py311_pb4.21.12_2 https://ftp.osuosl.org/pub/open-ce/1.10.0 setuptools 68.0.0 py311h6ffa863_0 six 1.16.0 pyhd3eb1b0_1 snappy 1.1.9 h29c3540_0 sqlite 3.41.2 hf118e41_0 sympy 1.12.1 pypyh2585a3b_103 conda-forge tabulate 0.8.10 pyhd8ed1ab_0 conda-forge tensorboard 2.13.0 pyhab0730d_pb4.21.12_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 tensorboard-data-server 0.7.0 pyh6f84499_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 tensorboard-plugin-wit 1.6.0 pyh9f0ad1d_0 conda-forge tk 8.6.13 hd4bbf49_0 conda-forge tokenizers 0.13.3 py311h3d4f45a_0 torchdata 0.6.0 py311_2 https://ftp.osuosl.org/pub/open-ce/1.10.0 torchsnapshot 0.1.0 pyhd8ed1ab_0 conda-forge torchtext-base 0.15.2 cuda11.8_py311_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 torchtnt 0.2.4 pyhd8ed1ab_0 conda-forge torchvision-base 0.15.2 cuda11.8_py311_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 tornado 6.3.3 py311hf118e41_0 tqdm 4.65.0 py311h7837921_0 transformers 4.32.1 py311h6ffa863_0 truststore 0.8.0 py311h6ffa863_0 typing-extensions 4.7.1 py311h6ffa863_0 typing_extensions 4.7.1 py311h6ffa863_0 typing_inspect 0.9.0 pyhd8ed1ab_0 conda-forge tzdata 2023c h04d1e81_0 urllib3 1.26.18 py311h6ffa863_0 utf8proc 2.6.1 h140841e_0 werkzeug 2.3.8 pyhd8ed1ab_0 conda-forge wheel 0.41.2 py311h6ffa863_0 xxhash 0.8.0 h140841e_3 xz 5.4.2 hf118e41_0 yaml 0.2.5 h7b6447c_0 yaml-cpp 0.8.0 h4a02239_0 yarl 1.8.1 py311hf118e41_0 zipp 3.11.0 py311h6ffa863_0 zlib 1.2.13 h1f2b957_6 conda-forge zstandard 0.19.0 py311hf118e41_0 zstd 1.5.5 h57e4825_0
17
Dataset with streaming doesn't work with proxy ### Describe the bug I'm currently trying to stream data using dataset since the dataset is too big but it hangs indefinitely without loading the first batch. I use AIMOS which is a supercomputer that uses proxy to connect to the internet. I assume it has to do with the network configurations. I've already set up both HTTP_PROXY and HTTPS_PROXY. streaming = False works fine. ### Steps to reproduce the bug use load_dataset with streaming = True in AIMOS ### Expected behavior does not hang indefinitely and loads batches to start training run ### Environment info _libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 2_gnu conda-forge _pytorch_select 2.0 cuda_2 https://ftp.osuosl.org/pub/open-ce/1.10.0 abseil-cpp 20220623.0 h9888cd1_6 conda-forge absl-py 1.0.0 py311h399429b_0 https://ftp.osuosl.org/pub/open-ce/1.10.0 aiofiles 23.2.1 pyhd8ed1ab_0 conda-forge aiohttp 3.8.6 py311hf118e41_0 aiosignal 1.2.0 pyhd3eb1b0_0 archspec 0.2.3 pyhd8ed1ab_0 conda-forge arrow-cpp 11.0.0 ha3edaa6_5_cpu conda-forge async-timeout 4.0.2 py311h6ffa863_0 attrs 23.1.0 py311h6ffa863_0 av 10.0.0 py311he6153ed_2 https://ftp.osuosl.org/pub/open-ce/1.10.0 aws-c-auth 0.6.24 hb81f6d7_5 conda-forge aws-c-cal 0.5.20 h3c2b4d9_6 conda-forge aws-c-common 0.8.11 h4194056_0 conda-forge aws-c-compression 0.2.16 ha19333d_3 conda-forge aws-c-event-stream 0.2.18 h12a9399_6 conda-forge aws-c-http 0.7.4 ha2cde00_2 conda-forge aws-c-io 0.13.17 h9189062_2 conda-forge aws-c-mqtt 0.8.6 h40d1a04_6 conda-forge aws-c-s3 0.2.4 hbdbe4f0_3 conda-forge aws-c-sdkutils 0.1.7 ha19333d_3 conda-forge aws-checksums 0.1.14 ha19333d_3 conda-forge aws-crt-cpp 0.19.7 hd018011_7 conda-forge aws-sdk-cpp 1.10.57 hb9575ba_4 conda-forge blas 1.0 openblas blinker 1.8.2 pyhd8ed1ab_0 conda-forge boltons 23.0.0 py311h6ffa863_0 boost-cpp 1.82.0 h25e6d66_2 bottleneck 1.3.5 py311h34f6284_0 brotli 1.0.9 hf118e41_7 brotli-bin 1.0.9 hf118e41_7 brotli-python 1.0.9 py311h4a02239_7 bzip2 1.0.8 h7b6447c_0 c-ares 1.19.1 hf118e41_0 ca-certificates 2024.6.2 h0f6029e_0 conda-forge cachetools 5.3.3 pyhd8ed1ab_0 conda-forge certifi 2024.6.2 pyhd8ed1ab_0 conda-forge cffi 1.15.1 py311hf118e41_3 charset-normalizer 2.0.4 pyhd3eb1b0_0 click 8.1.7 unix_pyh707e725_0 conda-forge conda 24.5.0 py311h1af927a_0 conda-forge conda-content-trust 0.2.0 py311h6ffa863_0 conda-libmamba-solver 23.11.1 py311h6ffa863_0 conda-package-handling 2.2.0 py311h6ffa863_0 conda-package-streaming 0.9.0 py311h6ffa863_0 contourpy 1.0.5 py311h25e6d66_0 cryptography 41.0.3 py311hb0e80e7_0 cudatoolkit 11.8.0 hedcfb66_13 conda-forge cudnn 8.9.2_11.8 h9ceb136_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 cycler 0.11.0 pyhd3eb1b0_0 datasets 2.12.0 py311h6ffa863_0 dill 0.3.6 py311h6ffa863_0 distro 1.9.0 pyhd8ed1ab_0 conda-forge ffmpeg 4.2.2 opence_0 https://ftp.osuosl.org/pub/open-ce/1.10.0 filelock 3.9.0 py311h6ffa863_0 fmt 9.1.0 h25e6d66_0 fonttools 4.25.0 pyhd3eb1b0_0 freetype 2.12.1 hd23a775_0 frozendict 2.4.4 py311hb02d432_0 conda-forge frozenlist 1.4.0 py311hf118e41_0 fsspec 2023.9.2 py311h6ffa863_0 gflags 2.2.2 he6710b0_0 giflib 5.2.1 hf118e41_3 glog 0.6.0 hbe088e0_0 conda-forge gmp 6.3.0 h46f38da_0 conda-forge gmpy2 2.1.5 py311h2758da7_1 conda-forge google-auth 2.30.0 pyhff2d567_0 conda-forge google-auth-oauthlib 0.5.3 pyhd8ed1ab_0 conda-forge grpc-cpp 1.51.1 h8ba971d_1 conda-forge grpcio 1.54.3 py311h414e0d3_0 https://ftp.osuosl.org/pub/open-ce/1.10.0 huggingface_hub 0.17.3 py311h6ffa863_0 icu 73.1 h4a02239_0 idna 3.4 py311h6ffa863_0 importlib-metadata 6.0.0 py311h6ffa863_0 jinja2 3.1.4 pyhd8ed1ab_0 conda-forge jpeg 9e hf118e41_1 jsonpatch 1.32 pyhd3eb1b0_0 jsonpointer 2.1 pyhd3eb1b0_0 kiwisolver 1.4.4 py311h4a02239_0 krb5 1.20.1 hc019ccd_1 lame 3.100 hb283c62_1003 conda-forge lcms2 2.12 h2045e0b_0 ld_impl_linux-ppc64le 2.38 hec883e6_1 lerc 3.0 h29c3540_0 leveldb 1.23 h24532b4_1 conda-forge libabseil 20220623.0 cxx17_h9235812_6 conda-forge libarchive 3.6.2 hd8ab008_2 libarrow 11.0.0 h837770b_5_cpu conda-forge libboost 1.82.0 haf51a6a_2 libbrotlicommon 1.0.9 hf118e41_7 libbrotlidec 1.0.9 hf118e41_7 libbrotlienc 1.0.9 hf118e41_7 libcrc32c 1.1.2 h3b9df90_0 conda-forge libcurl 8.4.0 h4d62439_0 libdeflate 1.17 hf118e41_1 libedit 3.1.20221030 hf118e41_0 libev 4.33 h140841e_1 libevent 2.1.10 h19c23f1_4 conda-forge libexpat 2.6.2 h46f38da_0 conda-forge libffi 3.4.4 h4a02239_0 libgcc-ng 13.2.0 h31e42bb_10 conda-forge libgfortran-ng 11.2.0 hb3889a9_1 libgfortran5 11.2.0 h1234567_1 libgomp 13.2.0 h31e42bb_10 conda-forge libgoogle-cloud 2.7.0 h11140b6_1 conda-forge libgrpc 1.51.1 h4d29a31_1 conda-forge libmamba 1.5.3 h7c6fafd_0 libmambapy 1.5.3 py311h828bf7b_0 libnghttp2 1.57.0 h44e5816_0 libnsl 2.0.1 ha17a0cc_0 conda-forge libopenblas 0.3.23 hc5a31fb_2 https://ftp.osuosl.org/pub/open-ce/1.10.0 libopus 1.3.1 h4e0d66e_1 conda-forge libpng 1.6.39 hf118e41_0 libprotobuf 3.21.12 h1776448_0 https://ftp.osuosl.org/pub/open-ce/1.10.0 libsolv 0.7.24 h0f529ac_0 libsqlite 3.45.3 hd4bbf49_0 conda-forge libssh2 1.10.0 h50fa78f_2 libstdcxx-ng 13.2.0 h262982c_10 conda-forge libthrift 0.18.0 h82f1162_0 conda-forge libtiff 4.5.1 h4a02239_0 libutf8proc 2.8.0 hb283c62_0 conda-forge libuuid 2.38.1 h4194056_0 conda-forge libvpx 1.13.1 h46f38da_0 conda-forge libwebp 1.3.2 h0f96ee2_0 libwebp-base 1.3.2 hf118e41_0 libxcrypt 4.4.36 ha17a0cc_1 conda-forge libxml2 2.10.4 h18e3229_1 libzlib 1.2.13 h1f2b957_6 conda-forge llvm-openmp 14.0.6 hc028133_0 https://ftp.osuosl.org/pub/open-ce/1.10.0 lmdb 0.9.31 ha17a0cc_1 conda-forge lz4-c 1.9.4 h4a02239_0 markdown 3.4.4 pyhd8ed1ab_0 conda-forge markupsafe 2.1.5 py311h32d8acf_0 conda-forge matplotlib 3.8.0 py311h6ffa863_0 matplotlib-base 3.8.0 py311h52e1fcc_0 menuinst 2.1.1 py311h1af927a_0 conda-forge mpc 1.3.1 heaf1863_0 conda-forge mpfr 4.2.1 haad2271_1 conda-forge mpmath 1.3.0 pyhd8ed1ab_0 conda-forge multidict 6.0.2 py311hf118e41_0 multiprocess 0.70.14 py311h6ffa863_0 munkres 1.1.4 py_0 mypy_extensions 1.0.0 pyha770c72_0 conda-forge nccl 2.18.3 cuda11.8_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 ncurses 6.4 h4a02239_0 nest-asyncio 1.6.0 pyhd8ed1ab_0 conda-forge networkx 2.8.8 pyhd8ed1ab_0 conda-forge nomkl 3.0 0 https://ftp.osuosl.org/pub/open-ce/1.10.0 numactl 2.0.16 hba61f60_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 numexpr 2.8.7 py311hc46fc55_0 numpy 1.24.3 py311h148a09e_0 numpy-base 1.24.3 py311h06b82f6_0 oauthlib 3.2.2 pyhd8ed1ab_0 conda-forge openjpeg 2.4.0 hfe35807_0 openssl 3.3.1 h1f2b957_0 conda-forge orc 1.8.2 h341c9a4_2 conda-forge packaging 23.1 py311h6ffa863_0 pandas 2.1.1 py311h52e1fcc_0 pcre2 10.42 h280155c_0 pillow 10.0.1 py311he33076b_0 pip 23.3 py311h6ffa863_0 platformdirs 4.2.2 pyhd8ed1ab_0 conda-forge pluggy 1.0.0 py311h6ffa863_1 pooch 1.8.2 pyhd8ed1ab_0 conda-forge protobuf 4.21.12 py311ha7baec7_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 psutil 5.9.8 py311hd26027c_0 conda-forge pyarrow 11.0.0 py311h04a18d5_1 pyasn1 0.6.0 pyhd8ed1ab_0 conda-forge pyasn1-modules 0.4.0 pyhd8ed1ab_0 conda-forge pybind11-abi 4 hd3eb1b0_1 pycosat 0.6.6 py311hf118e41_0 pycparser 2.21 pyhd3eb1b0_0 pyjwt 2.8.0 pyhd8ed1ab_1 conda-forge pyopenssl 23.2.0 py311h6ffa863_0 pyparsing 3.0.9 py311h6ffa863_0 pyre-extensions 0.0.30 pyhd8ed1ab_0 conda-forge pysocks 1.7.1 py311h6ffa863_0 python 3.11.8 h3332dee_0_cpython conda-forge python-dateutil 2.8.2 pyhd3eb1b0_0 python-tzdata 2023.3 pyhd3eb1b0_0 python-xxhash 2.0.2 py311hf118e41_1 python_abi 3.11 4_cp311 conda-forge pytorch 2.0.1 cuda11.8_py311_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 pytorch-base 2.0.1 cuda11.8_py311_pb4.21.12_4 https://ftp.osuosl.org/pub/open-ce/1.10.0 pytz 2023.3.post1 py311h6ffa863_0 pyu2f 0.1.5 pyhd8ed1ab_0 conda-forge pyyaml 6.0.1 py311hf118e41_0 re2 2023.02.01 h883269e_0 conda-forge readline 8.2 hf118e41_0 regex 2023.10.3 py311hf118e41_0 reproc 14.2.4 h29c3540_1 reproc-cpp 14.2.4 h29c3540_1 requests 2.31.0 py311h6ffa863_0 requests-oauthlib 2.0.0 pyhd8ed1ab_0 conda-forge responses 0.13.3 pyhd3eb1b0_0 rsa 4.9 pyhd8ed1ab_0 conda-forge ruamel.yaml 0.17.21 py311hf118e41_0 s2n 1.3.37 h5e47323_0 conda-forge safetensors 0.4.0 py311hda16d9e_0 scipy 1.11.1 py311hd69e9bb_0 https://ftp.osuosl.org/pub/open-ce/1.10.0 sentencepiece 0.1.97 h1e74c73_py311_pb4.21.12_2 https://ftp.osuosl.org/pub/open-ce/1.10.0 setuptools 68.0.0 py311h6ffa863_0 six 1.16.0 pyhd3eb1b0_1 snappy 1.1.9 h29c3540_0 sqlite 3.41.2 hf118e41_0 sympy 1.12.1 pypyh2585a3b_103 conda-forge tabulate 0.8.10 pyhd8ed1ab_0 conda-forge tensorboard 2.13.0 pyhab0730d_pb4.21.12_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 tensorboard-data-server 0.7.0 pyh6f84499_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 tensorboard-plugin-wit 1.6.0 pyh9f0ad1d_0 conda-forge tk 8.6.13 hd4bbf49_0 conda-forge tokenizers 0.13.3 py311h3d4f45a_0 torchdata 0.6.0 py311_2 https://ftp.osuosl.org/pub/open-ce/1.10.0 torchsnapshot 0.1.0 pyhd8ed1ab_0 conda-forge torchtext-base 0.15.2 cuda11.8_py311_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 torchtnt 0.2.4 pyhd8ed1ab_0 conda-forge torchvision-base 0.15.2 cuda11.8_py311_1 https://ftp.osuosl.org/pub/open-ce/1.10.0 tornado 6.3.3 py311hf118e41_0 tqdm 4.65.0 py311h7837921_0 transformers 4.32.1 py311h6ffa863_0 truststore 0.8.0 py311h6ffa863_0 typing-extensions 4.7.1 py311h6ffa863_0 typing_extensions 4.7.1 py311h6ffa863_0 typing_inspect 0.9.0 pyhd8ed1ab_0 conda-forge tzdata 2023c h04d1e81_0 urllib3 1.26.18 py311h6ffa863_0 utf8proc 2.6.1 h140841e_0 werkzeug 2.3.8 pyhd8ed1ab_0 conda-forge wheel 0.41.2 py311h6ffa863_0 xxhash 0.8.0 h140841e_3 xz 5.4.2 hf118e41_0 yaml 0.2.5 h7b6447c_0 yaml-cpp 0.8.0 h4a02239_0 yarl 1.8.1 py311hf118e41_0 zipp 3.11.0 py311h6ffa863_0 zlib 1.2.13 h1f2b957_6 conda-forge zstandard 0.19.0 py311hf118e41_0 zstd 1.5.5 h57e4825_0 Hi ! can you try updating `datasets` and `huggingface_hub` ? ``` pip install -U datasets huggingface_hub ```
[ -0.7595154047012329, -0.10635515302419662, -0.07152166217565536, 0.05183333158493042, 0.46253055334091187, -0.08935867249965668, 0.3620522618293762, -0.005497589707374573, 0.16050976514816284, -0.06045207381248474, 0.04542510211467743, -0.0038897281046956778, 0.20361945033073425, 0.13516943156719208, -0.029219288378953934, 0.028596168383955956, 0.2144806683063507, -0.07478302717208862, -0.1068173199892044, 0.12954625487327576, 0.11880733072757721, -0.10902826488018036, -0.12604056298732758, -0.16975493729114532, -0.19280971586704254, -0.045335449278354645, 0.140940859913826, 0.006293591111898422, -0.2547963559627533, -0.051651954650878906, 0.3921253979206085, 0.2629866600036621, 0.2529289126396179, 0.7920704483985901, -0.00012145160144427791, 0.10263822972774506, 0.4270503520965576, 0.08372794091701508, -0.4780218303203583, -0.19018886983394623, -0.5394231081008911, -0.036314018070697784, 0.028280988335609436, 0.08474712818861008, -0.1569247543811798, 0.1519012302160263, 0.016682319343090057, -0.7493622899055481, 0.3549972176551819, 0.35086363554000854, 0.12986835837364197, 0.07852201908826828, -0.20197808742523193, -0.04141334071755409, 0.0077331289649009705, -0.1105836033821106, -0.2921881079673767, 0.259321391582489, 0.5993690490722656, 0.3667238652706146, 0.11317029595375061, 0.16706110537052155, -0.24970898032188416, -0.017146166414022446, -0.003664214164018631, -0.38071656227111816, 0.1281236708164215, -0.21534296870231628, 0.2602282762527466, 0.31354328989982605, 0.7191064357757568, -0.06752461940050125, -0.17677117884159088, -0.11303825676441193, 0.09695658832788467, -0.19373655319213867, 0.21663808822631836, 0.11168285459280014, -0.18503086268901825, 0.18617677688598633, -0.18840479850769043, -0.18487189710140228, -0.263516902923584, 0.2713082432746887, 0.1145651787519455, 0.039268527179956436, -0.07825878262519836, 0.1432131826877594, -0.15780438482761383, -0.017653483897447586, 0.3824993371963501, -0.4627845287322998, -0.12553003430366516, -0.14770403504371643, -0.6279200911521912, 0.33340218663215637, -0.17418432235717773, 0.10954056680202484, -0.013287870213389397, 0.20675574243068695, 0.22798682749271393, 0.3088350296020508, 0.13198639452457428, 0.07295519858598709, 0.17575876414775848, 0.1213393360376358, -0.029129333794116974, 0.20687121152877808, 0.11946311593055725, 0.22146306931972504, -0.2442113310098648, -0.03462854027748108, 0.015123679302632809, 0.16573278605937958, -0.25464940071105957, -0.27412161231040955, 0.2419324666261673, -0.21543627977371216, -0.12130244076251984, 0.010232687927782536, -0.16781145334243774, -0.0005756770260632038, 0.2735375165939331, 0.3715152144432068, -0.2960520088672638, 0.3650735318660736, 0.13941730558872223, 0.16015221178531647, -0.17784078419208527, -0.25167226791381836, -0.21210035681724548, -0.37013983726501465, -0.11855946481227875, 0.12859001755714417, 0.1228722482919693, -0.15707801282405853, 0.18406113982200623, -0.16681240499019623, 0.07544641941785812, -0.15618696808815002, 0.2758691608905792, -0.3935984671115875, 0.1028987318277359, 0.24619938433170319, 0.0871928334236145, 0.12667106091976166, -0.03797287866473198, -0.011730078607797623, 0.21686595678329468, 0.1875639259815216, -0.09014704078435898, -0.19144335389137268, 0.16401080787181854, 0.06517283618450165, -0.07385257631540298, -0.050446875393390656, -0.47746291756629944, 0.23461495339870453, -0.027336709201335907, -0.016932779923081398, -0.056676946580410004, -0.11757832765579224, -0.09803464263677597, 0.03551572188735008, 0.3498726785182953, 0.2535476088523865, -0.12358513474464417, 0.015190467238426208, 0.0011682910844683647, 0.02726549096405506, 0.1939631700515747, 0.09397551417350769, -0.012562843039631844, -0.2212182879447937, -0.140112966299057, -0.16002067923545837, 0.4900985360145569, -0.17412813007831573, -0.5785810351371765, 0.5089832544326782, -0.07919877767562866, 0.12152481824159622, 0.10081134736537933, 0.16958849132061005, 0.37969741225242615, 0.053426459431648254, -0.08318531513214111, 0.5257651209831238, -0.2303904891014099, -0.0024623796343803406, -0.15307681262493134, -0.23914210498332977, -0.205551877617836, 0.29508909583091736, -0.09058742225170135, 0.2296046018600464, 0.00037673860788345337, -0.13212443888187408, 0.309406042098999, 0.12973125278949738, 0.09600237011909485, 0.159376323223114, 0.11884370446205139, 0.18143686652183533, 0.02870940789580345, -0.11205552518367767, -0.3537273705005646, 0.126674622297287, 0.39066949486732483, -0.2563362717628479, -0.08127474784851074, 0.04092775285243988, -0.1604241132736206, -0.012615344487130642, -0.23291201889514923, 0.03354877606034279, -0.07489628344774246, 0.21193715929985046, -0.018846353515982628, 0.10607567429542542, 0.07778683304786682, 0.5425311923027039, -0.2386029064655304, -0.08153138309717178, -0.42770323157310486, 0.32034018635749817, 0.030176939442753792, -0.2017774134874344, -0.04812032729387283, -0.003229670226573944, -0.004787750542163849, -0.027942754328250885, -0.3568651080131531, 0.3067035377025604, -0.21191221475601196, 0.021588295698165894, -0.0212075337767601, 0.07883071899414062, 0.14337749779224396, -0.41046828031539917, 0.17752699553966522, 0.23017588257789612, 0.20177893340587616, -0.19765165448188782, -0.2384185492992401, 0.0036211758852005005, -0.03175909444689751, 0.38599997758865356, 0.11648932099342346, -0.12269796431064606, 0.4574165642261505, -0.04448233172297478, -0.2136184722185135, 0.1688832938671112, 0.39829394221305847, -0.17850826680660248, 0.34813570976257324, -0.07783614844083786, -0.38943833112716675, 0.07588713616132736, 0.032535262405872345, 0.08483968675136566, -0.08704971522092819, 0.04025889188051224, -0.09428279846906662, 0.054589323699474335, 0.1699705272912979, 0.042581792920827866, 0.3950011730194092, 0.14958198368549347, 0.1536966860294342, -0.11670368164777756, 0.2357087880373001, -0.3062599301338196, 0.08695143461227417, 0.024205200374126434, 0.07032940536737442, 0.029380418360233307, 0.1881931871175766, -0.04952698573470116, -0.10911421477794647, -0.1604704111814499, 0.0006146011874079704, -0.0025386549532413483, -0.18235479295253754, 0.19428420066833496, -0.20209528505802155, -0.2980157136917114, 0.07638721168041229, 0.05866393819451332, 0.008423762395977974, -0.07368718087673187, -0.3126866817474365, 0.515082597732544, 0.11526541411876678, 0.3356688618659973, -0.47976431250572205, 0.23633569478988647, 0.38139161467552185, -0.11174025386571884, -0.28099092841148376, 0.04501993581652641, -0.13535717129707336, -0.03200633451342583, 0.3177957534790039, 0.09010756015777588, 0.2215333729982376, 0.17876112461090088, -0.3515915870666504, -0.2582330107688904, 0.03804317116737366, -0.06287205964326859, 0.26076096296310425, 0.46790629625320435, -0.2531253397464752, 0.3888970613479614, -0.10866181552410126, 0.031464528292417526, 0.3533463776111603, -0.2751341760158539, 0.09842316806316376, 0.07011158019304276, 0.004168841056525707, 0.018623655661940575, 0.060516972094774246, -0.11603184789419174, -0.2502277195453644, -0.49313390254974365, -0.1467476338148117, -0.4189130663871765, -0.12653151154518127, 0.05981358140707016, 0.29398778080940247, -0.023113582283258438, -0.003999457228928804, -0.048345230519771576, -0.21154677867889404, -0.7109973430633545, 0.299363911151886, 0.05452857166528702, -0.4006044268608093, 0.004578888416290283, -0.00884125754237175, 0.01783650740981102, 0.5221659541130066, -0.5296130180358887, 0.3074628412723541, -0.1670302301645279, 0.23094233870506287, -0.004946373403072357, -0.20995499193668365, 0.08227990567684174, -0.45183390378952026, 0.07668990641832352, -0.190373033285141, -0.04913031682372093, -0.13278689980506897, -0.110389344394207, 0.3840969502925873, 0.20679351687431335, 0.6171578168869019, -0.012996310368180275, 0.5825139880180359, 0.30511391162872314, -0.04246221110224724, 0.3170378804206848, 0.10683746635913849, 0.31680816411972046, -0.05705965310335159, -0.34059539437294006, 0.23348212242126465, -0.10644227266311646, 0.011867620050907135, 0.04261172562837601, 0.15373948216438293, -0.09644939750432968, -0.3516904413700104, 0.24991071224212646, -0.003773927688598633, -0.1278829425573349, 0.10972484946250916, -0.6759452223777771, 0.15571683645248413, 0.22243037819862366, 0.08356305211782455, 0.09855775535106659, -0.15683695673942566, -0.18963171541690826, 0.3053949177265167, 0.028532609343528748, -0.017424456775188446, -0.21517334878444672, 0.13732820749282837, -0.6444417238235474, 0.1940515637397766, -0.01549700926989317, 0.7402154207229614, -0.2554468810558319, 0.07710332423448563, 0.13800254464149475, -0.07121536880731583, 0.5299293994903564, -0.3621428310871124, 0.13130982220172882, 0.21333949267864227, 0.1382281631231308, -0.4404885768890381, -0.0168706476688385, 0.04829027131199837, 0.2254064679145813, 0.5713040232658386, -0.16099177300930023, -0.3346794545650482, -0.15135711431503296, -0.1325179785490036, -0.09767749160528183, 0.09408827126026154, -0.3678950369358063, -0.2864481806755066, -0.06641894578933716, -0.11700871586799622, 0.060858260840177536, -0.04013001173734665, -0.003498686943203211, -0.2552492320537567, -0.4420599937438965, -0.2622419595718384, 0.16401353478431702, -0.07990187406539917, -0.1450296938419342, -0.0265272818505764, 0.14586150646209717, 0.5247458815574646, 0.04336051642894745, 0.4100865423679352, 0.13657838106155396, 0.5353084802627563, 0.14001795649528503, -0.42727458477020264, 0.13104939460754395, 0.10126315802335739, 0.009976096451282501, 0.31670689582824707, -0.09892258048057556, 0.14720463752746582, 0.33893895149230957, 0.19561195373535156, 0.10388641059398651, 0.1840609908103943, 0.09833764284849167, 0.2438129484653473, -0.39534756541252136, -0.6204916834831238, 0.35757943987846375, 0.12313385307788849, 0.03920547664165497, 0.6839979290962219, -0.44566333293914795, -0.03998942673206329, 0.013001041486859322, -0.3372155427932739, 0.6656674146652222, 0.015380807220935822, -0.05583655461668968, 0.31849339604377747, 0.16076317429542542, 0.2120661437511444, -0.06336826086044312, 0.11123178899288177, 0.07817478477954865, -0.3764602541923523, 0.050261884927749634, -0.14915931224822998, 0.43091291189193726, -0.02172355353832245, -0.2614634037017822, -0.005080429371446371, 0.0641612559556961, 0.24486735463142395, 0.18371930718421936, 0.19383592903614044, -0.28719353675842285, -0.08112543821334839, -0.3322613835334778, 0.12406526505947113, -0.238007590174675, -0.10716082155704498, -0.011109041050076485, 0.06805495172739029, -0.11475002765655518, -0.03496137261390686, -0.26162368059158325, 0.3087763488292694, -0.384550005197525, -0.11679603159427643, -0.1410222053527832, -0.2321835607290268, 0.3544604480266571, -0.2145538628101349, -0.09100799262523651, -0.021344613283872604, -0.1723632514476776, 0.4966017007827759, -0.04207772761583328, 0.15442241728305817, 0.16839094460010529, -0.4319705367088318, 0.08565355837345123, -0.01057075522840023, -0.15693849325180054, 0.1989835798740387, 0.0046056220307946205, -0.2674112915992737, 0.19249257445335388, -0.061435118317604065, 0.5974522829055786, -0.1377827674150467, -0.11933787167072296, -0.055130407214164734, -0.10188905894756317, -0.03064367175102234, 0.06894860416650772, 0.13513922691345215, -0.1847049444913864, 0.34761080145835876, -0.019709471613168716, -0.09353270381689072, -0.2222997397184372, 0.5026031136512756, -0.04538322985172272, 0.02336367592215538, 0.3446972966194153, 0.3118059039115906, -0.08918722718954086, -0.11017048358917236, 0.01852608472108841, -0.09988422691822052, -0.02809872105717659, 0.08666892349720001, -0.14769242703914642, -0.09685277938842773, 0.13423189520835876, -0.19700103998184204, -0.26346635818481445, -0.13174468278884888, 0.09685148298740387, -0.3862946331501007, -0.283146470785141, -0.2394113391637802, -0.1334720253944397, -0.008777786046266556, -0.10894405841827393, -0.015664394944906235, 0.12112016975879669, 0.2343483716249466, -0.18112871050834656, -0.06242109090089798, -0.1146613135933876, 0.17710663378238678, 0.26085519790649414, 0.03216588497161865, 0.16380324959754944, -0.27571290731430054, -0.0615106001496315, -0.007584281265735626, -0.1535593718290329, -0.13510116934776306, -0.05703815817832947, 0.19283972680568695, 0.1533486545085907, -0.24101622402668, -0.26155886054039, -0.46636152267456055, -0.13608360290527344, -0.011120714247226715, 0.1127186119556427, 0.08781652897596359, -0.22338266670703888, -0.5811986327171326, 0.02477135881781578, 0.18524032831192017, -0.2504097819328308, 0.26634836196899414, -0.2039322555065155, 0.10803578048944473, 0.06419778615236282, 0.08325287699699402, 0.3282574415206909, -0.0546802282333374, -0.4045715630054474, -0.13407137989997864, 0.18514235317707062, 0.15667986869812012, 0.6007956862449646, -0.40786242485046387, 0.07821707427501678, 0.30609363317489624, 0.06522918492555618, 0.3574889898300171, -0.02617025002837181, -0.2322344183921814, 0.10636934638023376, 0.15922924876213074, -0.12645083665847778, 0.06984324753284454, 0.252034455537796, 0.11210501194000244, 0.04798802360892296, -0.07777503877878189, -0.06241554766893387, -0.2591673731803894, -0.07797396183013916, 0.40231090784072876, 0.39470481872558594, 0.06946942210197449, 0.3417606055736542, -0.09545104205608368, 0.38672059774398804, 0.050503820180892944, -0.017832370474934578, 0.1560831069946289, -0.1324024200439453, 0.5169326066970825, 0.08752964437007904, 0.3972853720188141, 0.11182915419340134, 0.3861958980560303, -0.2736493647098541, -0.36392301321029663, -0.252145379781723, 0.07872970402240753, -0.6171146631240845, 0.20990785956382751, -0.011726699769496918, -0.10397303849458694, -0.11172802746295929, -0.17005883157253265, -0.09782572835683823, -0.06947556138038635, 0.024212181568145752, 0.0511593297123909, -0.2747366726398468, 0.07297002524137497, 0.09249404072761536, -0.21288780868053436, 0.07541541755199432, 0.11169774830341339, 0.21974381804466248, 0.2577816843986511, -0.06833219528198242, -0.5187199115753174, -0.11264397948980331, 0.21068847179412842, 0.08173704147338867, -0.0878596231341362, 0.47445148229599, 0.040755048394203186, -0.063654825091362, 0.1544479876756668, 0.17794430255889893, 0.3001146912574768, 0.37381303310394287, 0.11380848288536072, 0.2365974485874176, 0.15653587877750397, -0.18408134579658508, -0.15283052623271942, 0.32807013392448425, 0.24444851279258728, -0.3394481837749481, 0.11647757887840271, 0.08642473816871643, -0.08154206722974777, 0.16020812094211578, -0.033596012741327286, 0.25593096017837524, -0.4202652871608734, 0.16240358352661133, -0.1141236424446106, 0.02101665735244751, -0.28338751196861267, -0.03877446800470352, -0.32081055641174316, 0.48569145798683167, 0.5324878692626953, -0.5167497396469116, 0.1391024887561798, -0.2826901376247406, 0.004923216998577118, -0.23538672924041748, 0.491323322057724, 0.22835183143615723, 0.19167670607566833, -0.3157305121421814, -0.19141408801078796, -0.3625487983226776, 0.022881299257278442, -0.1932579129934311, 0.00020923279225826263, -0.02886638417840004, 0.37075385451316833, 0.0029085054993629456, -0.022510133683681488, -0.05018872022628784, 0.3924606144428253, 0.2046591341495514, 0.28086817264556885, -0.3454863429069519, -0.22860850393772125, -0.17606812715530396, 0.37556755542755127, -0.11489010602235794, -0.3758653402328491, 0.2808232009410858, 0.08766908198595047, -0.0633193626999855, 0.22519271075725555, -0.3139374256134033, -0.029629694297909737, -0.10634621977806091, 0.26665300130844116, 0.09538141638040543, 0.27592384815216064, -0.0014209076762199402, 0.0940442681312561, -0.3889633119106293, -0.24600811302661896, -0.09465203434228897, 0.028001826256513596, 0.1564691960811615, 0.2551751136779785, -0.3391405940055847, 0.06737346947193146, -0.10913659632205963, 0.062324777245521545, -0.11318018287420273, -0.39078056812286377, 0.015418412163853645, -0.07689300924539566, -0.07716838270425797, 0.59033203125, -0.20323657989501953, 0.1393173336982727, -0.054239749908447266, 0.04626709967851639, -0.2994954586029053, -0.12897250056266785, 0.5594402551651001, -0.1284497082233429, -0.2336277961730957, -0.4892158806324005, 0.23862159252166748, 0.15081846714019775, 0.21915805339813232, -0.02230498194694519, 0.08133199065923691, 0.2500671446323395, -0.038526616990566254, 0.08547689020633698, 0.18895037472248077, 0.18937094509601593, 0.41535887122154236, -0.11592334508895874, 0.16767239570617676, 0.039780329912900925, -0.26155728101730347, 0.10650663077831268, -0.09126396477222443 ]
https://github.com/huggingface/datasets/issues/6985
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType'
Please note that the error is raised just at import: ```python import pyarrow.parquet as pq ``` Therefore it must be caused by some problem with your pyarrow installation. I would recommend you uninstall and install pyarrow again. I also see that it seems you use conda to install pyarrow. Please note that pyarrow offers 3 different packages in conda-forge: https://arrow.apache.org/docs/python/install.html#using-conda ``` conda install -c conda-forge pyarrow ``` > While the pyarrow [conda-forge](https://conda-forge.org/) package is the right choice for most users, both a minimal and maximal variant of the package exist, either of which may be better for your use case. See [Differences between conda-forge packages](https://arrow.apache.org/docs/python/install.html#python-conda-differences). Please, make sure you install the right one: I guess it is either `pyarrow` (or `pyarrow-all`).
### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hugging Face Hub login(token=access_token_read) # Load the models from the Hugging Face Hub trainer_relv = SetFitModel.from_pretrained("snowdere/trainer_relevance") trainer_trust = SetFitModel.from_pretrained("snowdere/trainer_trust") trainer_sent = SetFitModel.from_pretrained("snowdere/trainer_sent") trainer_topic = SetFitModel.from_pretrained("snowdere/trainer_topic") ``` ``` --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Cell In[6], line 1 ----> 1 from setfit import SetFitModel 2 from huggingface_hub import login 4 access_token_read = "ccsddsds" File /opt/conda/lib/python3.10/site-packages/setfit/__init__.py:7 4 import os 5 import warnings ----> 7 from .data import get_templated_dataset, sample_dataset 8 from .model_card import SetFitModelCardData 9 from .modeling import SetFitHead, SetFitModel File /opt/conda/lib/python3.10/site-packages/setfit/data.py:5 3 import pandas as pd 4 import torch ----> 5 from datasets import Dataset, DatasetDict, load_dataset 6 from torch.utils.data import Dataset as TorchDataset 8 from . import logging File /opt/conda/lib/python3.10/site-packages/datasets/__init__.py:18 1 # ruff: noqa 2 # Copyright 2020 The HuggingFace Datasets Authors and the TensorFlow Datasets Authors. 3 # (...) 13 # See the License for the specific language governing permissions and 14 # limitations under the License. 16 __version__ = "2.19.0" ---> 18 from .arrow_dataset import Dataset 19 from .arrow_reader import ReadInstruction 20 from .builder import ArrowBasedBuilder, BeamBasedBuilder, BuilderConfig, DatasetBuilder, GeneratorBasedBuilder File /opt/conda/lib/python3.10/site-packages/datasets/arrow_dataset.py:76 73 from tqdm.contrib.concurrent import thread_map 75 from . import config ---> 76 from .arrow_reader import ArrowReader 77 from .arrow_writer import ArrowWriter, OptimizedTypedSequence 78 from .data_files import sanitize_patterns File /opt/conda/lib/python3.10/site-packages/datasets/arrow_reader.py:29 26 from typing import TYPE_CHECKING, List, Optional, Union 28 import pyarrow as pa ---> 29 import pyarrow.parquet as pq 30 from tqdm.contrib.concurrent import thread_map 32 from .download.download_config import DownloadConfig File /opt/conda/lib/python3.10/site-packages/pyarrow/parquet/__init__.py:20 1 # Licensed to the Apache Software Foundation (ASF) under one 2 # or more contributor license agreements. See the NOTICE file 3 # distributed with this work for additional information (...) 17 18 # flake8: noqa ---> 20 from .core import * File /opt/conda/lib/python3.10/site-packages/pyarrow/parquet/core.py:33 30 import pyarrow as pa 32 try: ---> 33 import pyarrow._parquet as _parquet 34 except ImportError as exc: 35 raise ImportError( 36 "The pyarrow installation is not built with support " 37 f"for the Parquet file format ({str(exc)})" 38 ) from None File /opt/conda/lib/python3.10/site-packages/pyarrow/_parquet.pyx:1, in init pyarrow._parquet() AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ``` setfit: 1.0.3 transformers: 4.41.2 lingua-language-detector: 2.0.2 polars: 0.20.31 lightning: None google-cloud-bigquery: 3.24.0 shapely: 2.0.4 pyarrow: 16.0.0 ### Steps to reproduce the bug I have tried all version combinations for Dataset and Pyarrow, the all have the same error since a few days ago. This is accross multiple scripts I have. ### Expected behavior Just ron normally. ### Environment info 3.10
121
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hugging Face Hub login(token=access_token_read) # Load the models from the Hugging Face Hub trainer_relv = SetFitModel.from_pretrained("snowdere/trainer_relevance") trainer_trust = SetFitModel.from_pretrained("snowdere/trainer_trust") trainer_sent = SetFitModel.from_pretrained("snowdere/trainer_sent") trainer_topic = SetFitModel.from_pretrained("snowdere/trainer_topic") ``` ``` --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Cell In[6], line 1 ----> 1 from setfit import SetFitModel 2 from huggingface_hub import login 4 access_token_read = "ccsddsds" File /opt/conda/lib/python3.10/site-packages/setfit/__init__.py:7 4 import os 5 import warnings ----> 7 from .data import get_templated_dataset, sample_dataset 8 from .model_card import SetFitModelCardData 9 from .modeling import SetFitHead, SetFitModel File /opt/conda/lib/python3.10/site-packages/setfit/data.py:5 3 import pandas as pd 4 import torch ----> 5 from datasets import Dataset, DatasetDict, load_dataset 6 from torch.utils.data import Dataset as TorchDataset 8 from . import logging File /opt/conda/lib/python3.10/site-packages/datasets/__init__.py:18 1 # ruff: noqa 2 # Copyright 2020 The HuggingFace Datasets Authors and the TensorFlow Datasets Authors. 3 # (...) 13 # See the License for the specific language governing permissions and 14 # limitations under the License. 16 __version__ = "2.19.0" ---> 18 from .arrow_dataset import Dataset 19 from .arrow_reader import ReadInstruction 20 from .builder import ArrowBasedBuilder, BeamBasedBuilder, BuilderConfig, DatasetBuilder, GeneratorBasedBuilder File /opt/conda/lib/python3.10/site-packages/datasets/arrow_dataset.py:76 73 from tqdm.contrib.concurrent import thread_map 75 from . import config ---> 76 from .arrow_reader import ArrowReader 77 from .arrow_writer import ArrowWriter, OptimizedTypedSequence 78 from .data_files import sanitize_patterns File /opt/conda/lib/python3.10/site-packages/datasets/arrow_reader.py:29 26 from typing import TYPE_CHECKING, List, Optional, Union 28 import pyarrow as pa ---> 29 import pyarrow.parquet as pq 30 from tqdm.contrib.concurrent import thread_map 32 from .download.download_config import DownloadConfig File /opt/conda/lib/python3.10/site-packages/pyarrow/parquet/__init__.py:20 1 # Licensed to the Apache Software Foundation (ASF) under one 2 # or more contributor license agreements. See the NOTICE file 3 # distributed with this work for additional information (...) 17 18 # flake8: noqa ---> 20 from .core import * File /opt/conda/lib/python3.10/site-packages/pyarrow/parquet/core.py:33 30 import pyarrow as pa 32 try: ---> 33 import pyarrow._parquet as _parquet 34 except ImportError as exc: 35 raise ImportError( 36 "The pyarrow installation is not built with support " 37 f"for the Parquet file format ({str(exc)})" 38 ) from None File /opt/conda/lib/python3.10/site-packages/pyarrow/_parquet.pyx:1, in init pyarrow._parquet() AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ``` setfit: 1.0.3 transformers: 4.41.2 lingua-language-detector: 2.0.2 polars: 0.20.31 lightning: None google-cloud-bigquery: 3.24.0 shapely: 2.0.4 pyarrow: 16.0.0 ### Steps to reproduce the bug I have tried all version combinations for Dataset and Pyarrow, the all have the same error since a few days ago. This is accross multiple scripts I have. ### Expected behavior Just ron normally. ### Environment info 3.10 Please note that the error is raised just at import: ```python import pyarrow.parquet as pq ``` Therefore it must be caused by some problem with your pyarrow installation. I would recommend you uninstall and install pyarrow again. I also see that it seems you use conda to install pyarrow. Please note that pyarrow offers 3 different packages in conda-forge: https://arrow.apache.org/docs/python/install.html#using-conda ``` conda install -c conda-forge pyarrow ``` > While the pyarrow [conda-forge](https://conda-forge.org/) package is the right choice for most users, both a minimal and maximal variant of the package exist, either of which may be better for your use case. See [Differences between conda-forge packages](https://arrow.apache.org/docs/python/install.html#python-conda-differences). Please, make sure you install the right one: I guess it is either `pyarrow` (or `pyarrow-all`).
[ -0.18593543767929077, -0.4933111071586609, -0.03907205909490585, 0.42739152908325195, 0.48480039834976196, 0.12958857417106628, 0.46900448203086853, 0.3612813651561737, 0.045902069658041, -0.004905007779598236, -0.27652013301849365, 0.3779095709323883, -0.13031448423862457, 0.1008085384964943, 0.22991633415222168, -0.3694237768650055, 0.14201891422271729, 0.20572829246520996, 0.1454867422580719, 0.00552733987569809, -0.13429009914398193, 0.3038622736930847, -0.13790951669216156, 0.1053081750869751, -0.2556031048297882, -0.1766509711742401, 0.05080202966928482, -0.016987256705760956, 0.0685439184308052, -0.5381540656089783, 0.14598125219345093, -0.4480394124984741, 0.16979502141475677, 0.22525793313980103, -0.00011976278619840741, 0.1310238540172577, 0.25934702157974243, 0.09086629748344421, -0.1558234542608261, -0.1642223745584488, 0.30608636140823364, -0.014555691741406918, 0.5709422826766968, -0.023566387593746185, -0.15650027990341187, 0.040916044265031815, -0.25660425424575806, 0.2508653700351715, 0.13301301002502441, 0.48697924613952637, 0.22775980830192566, 0.41947367787361145, 0.4804005026817322, -0.10038162767887115, 0.4150947034358978, 0.024901602417230606, -0.21129386126995087, 0.6043617129325867, 0.22672846913337708, -0.06560827791690826, 0.24011871218681335, 0.073117196559906, -0.06960882991552353, -0.0775410532951355, 0.49774518609046936, 0.20473165810108185, 0.13980965316295624, -0.34812167286872864, -0.21109798550605774, 0.08429909497499466, 0.07904471457004547, -0.36546358466148376, -0.32244834303855896, -0.22978097200393677, 0.08383054286241531, -0.3193266987800598, 0.19310174882411957, 0.2605893313884735, -0.09514172375202179, 0.14413638412952423, 0.03040546551346779, -0.07082299888134003, -0.10910576581954956, 0.11084935069084167, -0.14559417963027954, 0.21563957631587982, -0.010776822455227375, 0.047155123203992844, 0.1893131285905838, 0.1381586194038391, 0.22555221617221832, 0.14061114192008972, -0.08234792947769165, 0.0070398347452282906, -0.32776105403900146, -0.11473838984966278, 0.11757464706897736, 0.3725142180919647, -0.17197874188423157, 0.26018792390823364, 0.008833799511194229, -0.2713141143321991, 0.35980209708213806, 0.07633980363607407, -0.009128410369157791, 0.2783544063568115, 0.008374921977519989, 0.17959092557430267, 0.012157060205936432, 0.27799171209335327, 0.18823279440402985, -0.01770199090242386, -0.07970140129327774, -0.17719629406929016, 0.037039536982774734, 0.028808720409870148, 0.41985201835632324, -0.04122867062687874, -0.4527256190776825, -0.04305830970406532, -0.2310166358947754, -0.01266094297170639, 0.17254513502120972, 0.5352041721343994, -0.24566073715686798, -0.03331722319126129, 0.2198297530412674, 0.1580563485622406, -0.232145756483078, -0.13168714940547943, -0.08509280532598495, 0.39525139331817627, -0.14651083946228027, -0.24199657142162323, -0.04900892823934555, -0.5767093896865845, 0.23764260113239288, -0.04001148045063019, 0.2821897268295288, 0.010750550776720047, -0.318406343460083, -0.1516164243221283, -0.19960284233093262, 0.2890460193157196, -0.12581856548786163, -0.0469546802341938, 0.3919256329536438, -0.3167918920516968, -0.19859035313129425, 0.09279613196849823, -0.15158766508102417, -0.18545366823673248, -0.21354569494724274, 0.11867210268974304, 0.043137870728969574, -0.21017414331436157, -0.04144897311925888, -0.1099705696105957, 0.14011144638061523, 0.013760216534137726, 0.040468715131282806, -0.18429553508758545, 0.24602088332176208, -0.21088536083698273, 0.20458771288394928, 0.15834008157253265, -0.3530522286891937, -0.09371881932020187, 0.1554718315601349, -0.0910763293504715, -0.1897864043712616, 0.13517989218235016, -0.09200622886419296, 0.3345072269439697, -0.20219311118125916, 0.06830193102359772, 0.09936998784542084, -0.3198910057544708, -0.35259637236595154, -0.1932152658700943, -0.07071461528539658, -0.03333060070872307, -0.021914370357990265, 0.034893132746219635, -0.07146012783050537, -0.05451169237494469, 0.11035312712192535, 0.11602876335382462, -0.07573378086090088, 0.05433465540409088, -0.2435227334499359, -0.1610458642244339, 0.28764986991882324, 0.059365998953580856, 0.06173726171255112, 0.12363225221633911, 0.2132064253091812, 0.062080658972263336, 0.3512308597564697, -0.1772826910018921, -0.13987554609775543, 0.019728470593690872, 0.3919980227947235, 0.16153007745742798, -0.15964803099632263, -0.25675129890441895, -0.3295706808567047, 0.0720910131931305, -0.28603455424308777, 0.16131627559661865, -0.2384425550699234, -0.12131553888320923, -0.33156266808509827, 0.20484203100204468, -0.21054033935070038, -0.35311979055404663, 0.06265518814325333, 0.08003339916467667, -0.06326590478420258, 0.18652568757534027, -0.23154252767562866, 0.06117334961891174, -0.1969548761844635, 0.25412771105766296, -0.2765985429286957, 0.6522399187088013, -0.2714981734752655, -0.4708445370197296, -0.22675801813602448, 0.08011489361524582, 0.11413313448429108, 0.030567480251193047, -0.11175726354122162, 0.12279148399829865, -0.03775748237967491, -0.10317027568817139, -0.20695087313652039, -0.04529504477977753, 0.12622471153736115, -0.42444854974746704, -0.25407835841178894, 0.06880678236484528, 0.16870567202568054, 0.046853579580783844, 0.3344566822052002, 0.3171567916870117, 0.1327396035194397, 0.05717269703745842, -0.0796990618109703, 0.21443310379981995, -0.12396212667226791, 0.10233643651008606, 0.25920650362968445, 0.058304011821746826, 0.2840663194656372, 0.24368739128112793, 0.2579272985458374, -0.21727031469345093, -0.33292070031166077, -0.09323696047067642, 0.3704065978527069, 0.13100747764110565, 0.2054148018360138, -0.002136167138814926, -0.2186914086341858, 0.14992815256118774, 0.2519659996032715, -0.40328702330589294, 0.13967925310134888, 0.06446107476949692, -0.44871607422828674, 0.2689257860183716, -0.06892669200897217, 0.07717298716306686, 0.3341960310935974, 0.02574252337217331, 0.33456096053123474, -0.12901413440704346, 0.06417927891016006, 0.008264822885394096, -0.09393870830535889, -0.4410448670387268, -0.18496695160865784, 0.3032413423061371, -0.4812757670879364, 0.12460388988256454, 0.06660710275173187, 0.22790777683258057, 0.02963791787624359, -0.654408872127533, -0.4133542478084564, -0.08182989060878754, -0.19092516601085663, 0.34261515736579895, 0.15086966753005981, 0.15834738314151764, 0.051865700632333755, 0.03447459638118744, 0.33520713448524475, -0.12507332861423492, -0.175371915102005, -0.1299683004617691, -0.25164738297462463, 0.046645697206258774, 0.22026222944259644, -0.2929621636867523, 0.061680868268013, -0.31704777479171753, -0.012524082325398922, -0.10090471059083939, -0.2738267779350281, 0.17236024141311646, -0.350671648979187, 0.41078826785087585, 0.25675123929977417, 0.1447107344865799, -0.29386836290359497, -0.22267642617225647, 0.379276841878891, -0.1335625946521759, -0.19705860316753387, 0.17249587178230286, 0.020267808809876442, -0.009807840920984745, 0.11796779930591583, -0.19248899817466736, -0.30393630266189575, -0.31709665060043335, 0.29507553577423096, 0.09723925590515137, 0.2670924663543701, 0.4502977132797241, 0.26684731245040894, 0.3761703670024872, -0.4430045783519745, 0.2547447383403778, 0.1232462227344513, -0.11604592949151993, 0.1971365362405777, -0.20182538032531738, -0.558158814907074, 0.022024739533662796, -0.0006927512586116791, 0.13897842168807983, -0.23227734863758087, -0.482332706451416, -0.501940131187439, -0.1646394431591034, 0.38711491227149963, -0.1625654697418213, 0.026650207117199898, 0.2953866124153137, -0.049935124814510345, 0.024278530851006508, 0.07294436544179916, -0.16342225670814514, 0.029299907386302948, -0.035277582705020905, 0.08180953562259674, 0.01394631527364254, 0.05052298307418823, -0.16413237154483795, 0.4805254340171814, 0.2547893226146698, -0.12173432111740112, 0.3357129395008087, -0.2749577760696411, 0.17475639283657074, -0.14564305543899536, -0.615887463092804, -0.021059149876236916, -0.05737358331680298, 0.01387283205986023, 0.24638786911964417, -0.22259807586669922, -0.10375335812568665, -0.25275376439094543, -0.22570011019706726, -0.21140745282173157, -0.20912982523441315, -0.04149612784385681, -0.021437019109725952, 0.0921819880604744, -0.292843222618103, 0.15734761953353882, -0.1431150585412979, -0.1124042272567749, 0.3605489730834961, 0.2628623843193054, -0.21873673796653748, -0.06394349783658981, -0.023059038445353508, -0.6087771058082581, -0.20778396725654602, 0.11756904423236847, 0.21025989949703217, 0.1944471299648285, 0.031881485134363174, -0.021178921684622765, 0.15458115935325623, 0.09703793376684189, 0.640483021736145, 0.2463044375181198, 0.0935666635632515, 0.02996564283967018, -0.33316394686698914, -0.23276296257972717, -0.08458034694194794, -0.27000945806503296, -0.21415984630584717, 0.025218406692147255, 0.09510650485754013, -0.11858749389648438, 0.0014996037352830172, 0.032659079879522324, -0.03235030546784401, -0.08226537704467773, 0.11420423537492752, -0.2151528149843216, -0.18424755334854126, -0.2980537414550781, 0.23855361342430115, 0.24000541865825653, 0.45508262515068054, 0.30100274085998535, 0.22973467409610748, -0.1819743514060974, -0.224544495344162, 0.04463005065917969, 0.059155549854040146, 0.2935316562652588, -0.05587176978588104, 0.010926652699708939, -0.15986928343772888, 0.3595300316810608, 0.1015714704990387, 0.565601110458374, -0.007334709167480469, -0.4631310701370239, -0.11811777204275131, 0.022570420056581497, 0.2200862020254135, 0.23455452919006348, -0.15957880020141602, 0.1505115032196045, -0.13104306161403656, 0.18532396852970123, 0.11647239327430725, -0.11253761500120163, 0.3531762361526489, 0.1587279587984085, 0.026345763355493546, -0.12225523591041565, 0.3638002574443817, -0.2797895073890686, 0.21134649217128754, 0.05202976241707802, 0.5015304088592529, -0.11480765789747238, 0.1358342319726944, 0.2087160348892212, 1.008398175239563, 0.29219135642051697, 0.2547611594200134, 0.6589364409446716, -0.1784878522157669, 0.3059101700782776, 0.17125728726387024, 0.14742673933506012, -0.5177796483039856, -0.2812885344028473, -0.065568707883358, -0.170429989695549, 0.28106969594955444, -0.4136565327644348, -0.1303538829088211, -0.12812085449695587, -0.19717907905578613, 0.32488876581192017, 0.06083463132381439, -0.09771354496479034, -0.004596667364239693, 0.018026545643806458, -0.6178739070892334, 0.03595616668462753, -0.09422953426837921, 0.11787237226963043, -0.18648624420166016, -0.049627553671598434, -0.30797719955444336, -0.08589223772287369, -0.1716962456703186, 0.1456713080406189, -0.2237081676721573, 0.038441404700279236, 0.3035896122455597, -0.4953520894050598, 0.10300597548484802, 0.2886504828929901, 0.0017650127410888672, -0.12873929738998413, -0.33058157563209534, 0.08375237137079239, -0.08814739435911179, 0.0015170122496783733, -0.11048834025859833, -0.02268451824784279, 0.5846396088600159, -0.21965476870536804, -0.28660279512405396, 0.3038046061992645, -0.07037565112113953, -0.038560304790735245, -0.009819939732551575, 0.13531115651130676, 0.15397629141807556, -0.4332524538040161, 0.003985734656453133, -0.3614366054534912, 0.12320373952388763, -0.2593863010406494, 0.06583103537559509, 0.1868327558040619, -0.28641682863235474, -0.07094231992959976, 0.24008889496326447, -0.17420606315135956, -0.1733710914850235, 0.21200692653656006, -0.10192041844129562, 0.07230957597494125, 0.37860962748527527, 0.39178532361984253, -0.34062784910202026, -0.16377675533294678, -0.025508161634206772, 0.2754251956939697, -0.8959247469902039, 0.26288896799087524, -0.07350502908229828, -0.030501514673233032, -0.10088378936052322, 0.42741498351097107, 0.3180299997329712, 0.1363433301448822, -0.0015053078532218933, -0.33491551876068115, -0.35275450348854065, 0.11528502404689789, 0.11737407743930817, 0.08933129906654358, 0.08204469084739685, 0.3844384253025055, 0.18389630317687988, -0.10251140594482422, -0.2651558518409729, -0.09603044390678406, -0.09429308027029037, 0.11752337217330933, -0.3482823371887207, -0.20855143666267395, 0.3608168959617615, 0.11086644232273102, 0.13248485326766968, 0.0485498309135437, -0.16000163555145264, -0.19740936160087585, -0.13144820928573608, 0.1260492205619812, 0.09292573481798172, -0.17974413931369781, 0.10659845918416977, 0.11867077648639679, 0.05017504096031189, -0.1563897281885147, 0.04397086426615715, 0.023803018033504486, 0.0012754574418067932, 0.17618541419506073, 0.4706731140613556, -0.03112112730741501, -0.0884612500667572, -0.08556418120861053, -0.2759772837162018, 0.0480709932744503, 0.05777783319354057, -0.09529614448547363, -0.2256050556898117, 0.08675092458724976, -0.10206147283315659, 0.15304596722126007, -0.0184805765748024, -0.02693275362253189, 0.30902954936027527, -0.3074929118156433, -0.08382505178451538, -0.17442686855793, 0.41687482595443726, 0.035295307636260986, -0.1772899478673935, 0.0643225759267807, 0.4713669419288635, 0.12143638730049133, -0.3661593496799469, 0.1638212949037552, 0.16516095399856567, -0.05909238010644913, 0.09422414004802704, 0.2930832505226135, -0.058924660086631775, -0.0016166344285011292, -0.17325614392757416, 0.18802201747894287, 0.4586375057697296, 0.12621912360191345, 0.0875268429517746, 0.6352688670158386, -0.07534046471118927, 0.2441379576921463, 0.606556236743927, 0.2026829570531845, 0.11014331132173538, 0.3207458257675171, -0.42951667308807373, 0.12417686730623245, -0.41291409730911255, -0.07937450706958771, 0.3187809884548187, -0.010354256257414818, 0.2537107765674591, 0.010482534766197205, 0.21988216042518616, -0.24649572372436523, -0.12507838010787964, 0.47337204217910767, 0.10333774238824844, -0.11548183113336563, 0.09929601103067398, 0.4657297134399414, -0.24434101581573486, 0.20218977332115173, 0.15538768470287323, -0.06941423565149307, -0.04029868170619011, -0.17435550689697266, 0.01715509220957756, -0.43056154251098633, 0.4198819696903229, 0.19123145937919617, -0.18638058006763458, -0.375014990568161, -0.018168088048696518, 0.32070621848106384, 0.1491924673318863, -0.19210335612297058, 0.19235734641551971, 0.15615952014923096, -0.045579276978969574, -0.08756685256958008, 0.4817992150783539, 0.43245401978492737, 0.30643072724342346, 0.0024281498044729233, -0.12366627901792526, 0.017552796751260757, -0.1538119614124298, 0.08644876629114151, -0.1054997593164444, 0.09260008484125137, 0.7431031465530396, 0.11440153419971466, 0.13760246336460114, -0.17885085940361023, 0.23209373652935028, -0.2609955966472626, 0.024274028837680817, -0.21620091795921326, 0.5417286157608032, -0.16911856830120087, -0.3078765869140625, -0.3769722282886505, -0.0827910527586937, -0.4724220037460327, 0.1353415995836258, 0.24198487401008606, 0.0600166954100132, 0.037674110382795334, -0.13692620396614075, 0.04301304370164871, 0.2041957527399063, 0.14250525832176208, 0.2898508906364441, 0.3564850687980652, -0.2036573439836502, 0.04244256019592285, -0.11419424414634705, 0.48416879773139954, 0.08676090836524963, -0.21298176050186157, 0.2691430151462555, -0.08970063924789429, -0.3256036341190338, 0.06755905598402023, 0.3970867991447449, 0.16760943830013275, 0.014497780241072178, 0.19740363955497742, -0.3340132236480713, -0.07099512219429016, -0.18038079142570496, 0.09839479625225067, 0.10290920734405518, 0.15566563606262207, 0.16936516761779785, -0.10340258479118347, 0.027700044214725494, -0.3394557237625122, -0.15517103672027588, 0.06514231860637665, -0.035881735384464264, 0.3595832884311676, -0.007624920457601547, 0.5715811848640442, -0.06134067475795746, -0.15522260963916779, -0.05275171622633934, -0.23736941814422607, -0.25959154963493347, 0.24890121817588806, -0.021805644035339355, 0.3597824275493622, -0.14120128750801086, -0.553604245185852, -0.35548725724220276, 0.5980476140975952, 0.08657419681549072, 0.030864059925079346, -0.20811836421489716, 0.2353295236825943, -0.07230351865291595, 0.01557655818760395, 0.22197559475898743, 0.02411460131406784, -0.017342180013656616, 0.09581504762172699, -0.5126609802246094, -0.5381101369857788, 0.623616099357605, -0.5518125891685486, -0.22341181337833405, 0.10017646104097366, 0.14880144596099854, -0.08911613374948502, -0.31532925367355347, -0.5557795166969299, -0.1459902822971344, 0.24682055413722992, -0.020304996520280838, -0.11411778628826141, 0.19192200899124146, -0.12287391722202301, 0.1966356635093689, 0.025036606937646866, 0.2204495221376419, 0.0510995052754879, 0.007743695750832558, 0.0695074051618576, -0.25551939010620117 ]
https://github.com/huggingface/datasets/issues/6985
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType'
It is not a problem with the `datasets` library: we support latest version of `pyarrow` and our Continuous Integration tests are using pyarrow 16.1.0 without any problem. The error reported here is raised when importing pyarrow.parquet: ``` ---> 29 import pyarrow.parquet as pq ``` ``` File /opt/conda/lib/python3.10/site-packages/pyarrow/parquet/__init__.py:20 1 # Licensed to the Apache Software Foundation (ASF) under one 2 # or more contributor license agreements. See the NOTICE file 3 # distributed with this work for additional information (...) 17 18 # flake8: noqa ---> 20 from .core import * File /opt/conda/lib/python3.10/site-packages/pyarrow/parquet/core.py:33 30 import pyarrow as pa 32 try: ---> 33 import pyarrow._parquet as _parquet 34 except ImportError as exc: 35 raise ImportError( 36 "The pyarrow installation is not built with support " 37 f"for the Parquet file format ({str(exc)})" 38 ) from None File /opt/conda/lib/python3.10/site-packages/pyarrow/_parquet.pyx:1, in init pyarrow._parquet() AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ``` This can only be explained if pyarrow was not properly installed. If the user just installed `pyarrow-core` from conda-forge, then its parquet subpackage is not installed and cannot be imported. You can check pyarrow docs: - Differences between conda-forge packages: https://arrow.apache.org/docs/python/install.html#python-conda-differences > The `pyarrow-core` package includes the following functionality: > ... > The `pyarrow` package adds the following: > ... > Parquet (i.e., `pyarrow.parquet`)
### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hugging Face Hub login(token=access_token_read) # Load the models from the Hugging Face Hub trainer_relv = SetFitModel.from_pretrained("snowdere/trainer_relevance") trainer_trust = SetFitModel.from_pretrained("snowdere/trainer_trust") trainer_sent = SetFitModel.from_pretrained("snowdere/trainer_sent") trainer_topic = SetFitModel.from_pretrained("snowdere/trainer_topic") ``` ``` --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Cell In[6], line 1 ----> 1 from setfit import SetFitModel 2 from huggingface_hub import login 4 access_token_read = "ccsddsds" File /opt/conda/lib/python3.10/site-packages/setfit/__init__.py:7 4 import os 5 import warnings ----> 7 from .data import get_templated_dataset, sample_dataset 8 from .model_card import SetFitModelCardData 9 from .modeling import SetFitHead, SetFitModel File /opt/conda/lib/python3.10/site-packages/setfit/data.py:5 3 import pandas as pd 4 import torch ----> 5 from datasets import Dataset, DatasetDict, load_dataset 6 from torch.utils.data import Dataset as TorchDataset 8 from . import logging File /opt/conda/lib/python3.10/site-packages/datasets/__init__.py:18 1 # ruff: noqa 2 # Copyright 2020 The HuggingFace Datasets Authors and the TensorFlow Datasets Authors. 3 # (...) 13 # See the License for the specific language governing permissions and 14 # limitations under the License. 16 __version__ = "2.19.0" ---> 18 from .arrow_dataset import Dataset 19 from .arrow_reader import ReadInstruction 20 from .builder import ArrowBasedBuilder, BeamBasedBuilder, BuilderConfig, DatasetBuilder, GeneratorBasedBuilder File /opt/conda/lib/python3.10/site-packages/datasets/arrow_dataset.py:76 73 from tqdm.contrib.concurrent import thread_map 75 from . import config ---> 76 from .arrow_reader import ArrowReader 77 from .arrow_writer import ArrowWriter, OptimizedTypedSequence 78 from .data_files import sanitize_patterns File /opt/conda/lib/python3.10/site-packages/datasets/arrow_reader.py:29 26 from typing import TYPE_CHECKING, List, Optional, Union 28 import pyarrow as pa ---> 29 import pyarrow.parquet as pq 30 from tqdm.contrib.concurrent import thread_map 32 from .download.download_config import DownloadConfig File /opt/conda/lib/python3.10/site-packages/pyarrow/parquet/__init__.py:20 1 # Licensed to the Apache Software Foundation (ASF) under one 2 # or more contributor license agreements. See the NOTICE file 3 # distributed with this work for additional information (...) 17 18 # flake8: noqa ---> 20 from .core import * File /opt/conda/lib/python3.10/site-packages/pyarrow/parquet/core.py:33 30 import pyarrow as pa 32 try: ---> 33 import pyarrow._parquet as _parquet 34 except ImportError as exc: 35 raise ImportError( 36 "The pyarrow installation is not built with support " 37 f"for the Parquet file format ({str(exc)})" 38 ) from None File /opt/conda/lib/python3.10/site-packages/pyarrow/_parquet.pyx:1, in init pyarrow._parquet() AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ``` setfit: 1.0.3 transformers: 4.41.2 lingua-language-detector: 2.0.2 polars: 0.20.31 lightning: None google-cloud-bigquery: 3.24.0 shapely: 2.0.4 pyarrow: 16.0.0 ### Steps to reproduce the bug I have tried all version combinations for Dataset and Pyarrow, the all have the same error since a few days ago. This is accross multiple scripts I have. ### Expected behavior Just ron normally. ### Environment info 3.10
211
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hugging Face Hub login(token=access_token_read) # Load the models from the Hugging Face Hub trainer_relv = SetFitModel.from_pretrained("snowdere/trainer_relevance") trainer_trust = SetFitModel.from_pretrained("snowdere/trainer_trust") trainer_sent = SetFitModel.from_pretrained("snowdere/trainer_sent") trainer_topic = SetFitModel.from_pretrained("snowdere/trainer_topic") ``` ``` --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Cell In[6], line 1 ----> 1 from setfit import SetFitModel 2 from huggingface_hub import login 4 access_token_read = "ccsddsds" File /opt/conda/lib/python3.10/site-packages/setfit/__init__.py:7 4 import os 5 import warnings ----> 7 from .data import get_templated_dataset, sample_dataset 8 from .model_card import SetFitModelCardData 9 from .modeling import SetFitHead, SetFitModel File /opt/conda/lib/python3.10/site-packages/setfit/data.py:5 3 import pandas as pd 4 import torch ----> 5 from datasets import Dataset, DatasetDict, load_dataset 6 from torch.utils.data import Dataset as TorchDataset 8 from . import logging File /opt/conda/lib/python3.10/site-packages/datasets/__init__.py:18 1 # ruff: noqa 2 # Copyright 2020 The HuggingFace Datasets Authors and the TensorFlow Datasets Authors. 3 # (...) 13 # See the License for the specific language governing permissions and 14 # limitations under the License. 16 __version__ = "2.19.0" ---> 18 from .arrow_dataset import Dataset 19 from .arrow_reader import ReadInstruction 20 from .builder import ArrowBasedBuilder, BeamBasedBuilder, BuilderConfig, DatasetBuilder, GeneratorBasedBuilder File /opt/conda/lib/python3.10/site-packages/datasets/arrow_dataset.py:76 73 from tqdm.contrib.concurrent import thread_map 75 from . import config ---> 76 from .arrow_reader import ArrowReader 77 from .arrow_writer import ArrowWriter, OptimizedTypedSequence 78 from .data_files import sanitize_patterns File /opt/conda/lib/python3.10/site-packages/datasets/arrow_reader.py:29 26 from typing import TYPE_CHECKING, List, Optional, Union 28 import pyarrow as pa ---> 29 import pyarrow.parquet as pq 30 from tqdm.contrib.concurrent import thread_map 32 from .download.download_config import DownloadConfig File /opt/conda/lib/python3.10/site-packages/pyarrow/parquet/__init__.py:20 1 # Licensed to the Apache Software Foundation (ASF) under one 2 # or more contributor license agreements. See the NOTICE file 3 # distributed with this work for additional information (...) 17 18 # flake8: noqa ---> 20 from .core import * File /opt/conda/lib/python3.10/site-packages/pyarrow/parquet/core.py:33 30 import pyarrow as pa 32 try: ---> 33 import pyarrow._parquet as _parquet 34 except ImportError as exc: 35 raise ImportError( 36 "The pyarrow installation is not built with support " 37 f"for the Parquet file format ({str(exc)})" 38 ) from None File /opt/conda/lib/python3.10/site-packages/pyarrow/_parquet.pyx:1, in init pyarrow._parquet() AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ``` setfit: 1.0.3 transformers: 4.41.2 lingua-language-detector: 2.0.2 polars: 0.20.31 lightning: None google-cloud-bigquery: 3.24.0 shapely: 2.0.4 pyarrow: 16.0.0 ### Steps to reproduce the bug I have tried all version combinations for Dataset and Pyarrow, the all have the same error since a few days ago. This is accross multiple scripts I have. ### Expected behavior Just ron normally. ### Environment info 3.10 It is not a problem with the `datasets` library: we support latest version of `pyarrow` and our Continuous Integration tests are using pyarrow 16.1.0 without any problem. The error reported here is raised when importing pyarrow.parquet: ``` ---> 29 import pyarrow.parquet as pq ``` ``` File /opt/conda/lib/python3.10/site-packages/pyarrow/parquet/__init__.py:20 1 # Licensed to the Apache Software Foundation (ASF) under one 2 # or more contributor license agreements. See the NOTICE file 3 # distributed with this work for additional information (...) 17 18 # flake8: noqa ---> 20 from .core import * File /opt/conda/lib/python3.10/site-packages/pyarrow/parquet/core.py:33 30 import pyarrow as pa 32 try: ---> 33 import pyarrow._parquet as _parquet 34 except ImportError as exc: 35 raise ImportError( 36 "The pyarrow installation is not built with support " 37 f"for the Parquet file format ({str(exc)})" 38 ) from None File /opt/conda/lib/python3.10/site-packages/pyarrow/_parquet.pyx:1, in init pyarrow._parquet() AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ``` This can only be explained if pyarrow was not properly installed. If the user just installed `pyarrow-core` from conda-forge, then its parquet subpackage is not installed and cannot be imported. You can check pyarrow docs: - Differences between conda-forge packages: https://arrow.apache.org/docs/python/install.html#python-conda-differences > The `pyarrow-core` package includes the following functionality: > ... > The `pyarrow` package adds the following: > ... > Parquet (i.e., `pyarrow.parquet`)
[ -0.18593543767929077, -0.4933111071586609, -0.03907205909490585, 0.42739152908325195, 0.48480039834976196, 0.12958857417106628, 0.46900448203086853, 0.3612813651561737, 0.045902069658041, -0.004905007779598236, -0.27652013301849365, 0.3779095709323883, -0.13031448423862457, 0.1008085384964943, 0.22991633415222168, -0.3694237768650055, 0.14201891422271729, 0.20572829246520996, 0.1454867422580719, 0.00552733987569809, -0.13429009914398193, 0.3038622736930847, -0.13790951669216156, 0.1053081750869751, -0.2556031048297882, -0.1766509711742401, 0.05080202966928482, -0.016987256705760956, 0.0685439184308052, -0.5381540656089783, 0.14598125219345093, -0.4480394124984741, 0.16979502141475677, 0.22525793313980103, -0.00011976278619840741, 0.1310238540172577, 0.25934702157974243, 0.09086629748344421, -0.1558234542608261, -0.1642223745584488, 0.30608636140823364, -0.014555691741406918, 0.5709422826766968, -0.023566387593746185, -0.15650027990341187, 0.040916044265031815, -0.25660425424575806, 0.2508653700351715, 0.13301301002502441, 0.48697924613952637, 0.22775980830192566, 0.41947367787361145, 0.4804005026817322, -0.10038162767887115, 0.4150947034358978, 0.024901602417230606, -0.21129386126995087, 0.6043617129325867, 0.22672846913337708, -0.06560827791690826, 0.24011871218681335, 0.073117196559906, -0.06960882991552353, -0.0775410532951355, 0.49774518609046936, 0.20473165810108185, 0.13980965316295624, -0.34812167286872864, -0.21109798550605774, 0.08429909497499466, 0.07904471457004547, -0.36546358466148376, -0.32244834303855896, -0.22978097200393677, 0.08383054286241531, -0.3193266987800598, 0.19310174882411957, 0.2605893313884735, -0.09514172375202179, 0.14413638412952423, 0.03040546551346779, -0.07082299888134003, -0.10910576581954956, 0.11084935069084167, -0.14559417963027954, 0.21563957631587982, -0.010776822455227375, 0.047155123203992844, 0.1893131285905838, 0.1381586194038391, 0.22555221617221832, 0.14061114192008972, -0.08234792947769165, 0.0070398347452282906, -0.32776105403900146, -0.11473838984966278, 0.11757464706897736, 0.3725142180919647, -0.17197874188423157, 0.26018792390823364, 0.008833799511194229, -0.2713141143321991, 0.35980209708213806, 0.07633980363607407, -0.009128410369157791, 0.2783544063568115, 0.008374921977519989, 0.17959092557430267, 0.012157060205936432, 0.27799171209335327, 0.18823279440402985, -0.01770199090242386, -0.07970140129327774, -0.17719629406929016, 0.037039536982774734, 0.028808720409870148, 0.41985201835632324, -0.04122867062687874, -0.4527256190776825, -0.04305830970406532, -0.2310166358947754, -0.01266094297170639, 0.17254513502120972, 0.5352041721343994, -0.24566073715686798, -0.03331722319126129, 0.2198297530412674, 0.1580563485622406, -0.232145756483078, -0.13168714940547943, -0.08509280532598495, 0.39525139331817627, -0.14651083946228027, -0.24199657142162323, -0.04900892823934555, -0.5767093896865845, 0.23764260113239288, -0.04001148045063019, 0.2821897268295288, 0.010750550776720047, -0.318406343460083, -0.1516164243221283, -0.19960284233093262, 0.2890460193157196, -0.12581856548786163, -0.0469546802341938, 0.3919256329536438, -0.3167918920516968, -0.19859035313129425, 0.09279613196849823, -0.15158766508102417, -0.18545366823673248, -0.21354569494724274, 0.11867210268974304, 0.043137870728969574, -0.21017414331436157, -0.04144897311925888, -0.1099705696105957, 0.14011144638061523, 0.013760216534137726, 0.040468715131282806, -0.18429553508758545, 0.24602088332176208, -0.21088536083698273, 0.20458771288394928, 0.15834008157253265, -0.3530522286891937, -0.09371881932020187, 0.1554718315601349, -0.0910763293504715, -0.1897864043712616, 0.13517989218235016, -0.09200622886419296, 0.3345072269439697, -0.20219311118125916, 0.06830193102359772, 0.09936998784542084, -0.3198910057544708, -0.35259637236595154, -0.1932152658700943, -0.07071461528539658, -0.03333060070872307, -0.021914370357990265, 0.034893132746219635, -0.07146012783050537, -0.05451169237494469, 0.11035312712192535, 0.11602876335382462, -0.07573378086090088, 0.05433465540409088, -0.2435227334499359, -0.1610458642244339, 0.28764986991882324, 0.059365998953580856, 0.06173726171255112, 0.12363225221633911, 0.2132064253091812, 0.062080658972263336, 0.3512308597564697, -0.1772826910018921, -0.13987554609775543, 0.019728470593690872, 0.3919980227947235, 0.16153007745742798, -0.15964803099632263, -0.25675129890441895, -0.3295706808567047, 0.0720910131931305, -0.28603455424308777, 0.16131627559661865, -0.2384425550699234, -0.12131553888320923, -0.33156266808509827, 0.20484203100204468, -0.21054033935070038, -0.35311979055404663, 0.06265518814325333, 0.08003339916467667, -0.06326590478420258, 0.18652568757534027, -0.23154252767562866, 0.06117334961891174, -0.1969548761844635, 0.25412771105766296, -0.2765985429286957, 0.6522399187088013, -0.2714981734752655, -0.4708445370197296, -0.22675801813602448, 0.08011489361524582, 0.11413313448429108, 0.030567480251193047, -0.11175726354122162, 0.12279148399829865, -0.03775748237967491, -0.10317027568817139, -0.20695087313652039, -0.04529504477977753, 0.12622471153736115, -0.42444854974746704, -0.25407835841178894, 0.06880678236484528, 0.16870567202568054, 0.046853579580783844, 0.3344566822052002, 0.3171567916870117, 0.1327396035194397, 0.05717269703745842, -0.0796990618109703, 0.21443310379981995, -0.12396212667226791, 0.10233643651008606, 0.25920650362968445, 0.058304011821746826, 0.2840663194656372, 0.24368739128112793, 0.2579272985458374, -0.21727031469345093, -0.33292070031166077, -0.09323696047067642, 0.3704065978527069, 0.13100747764110565, 0.2054148018360138, -0.002136167138814926, -0.2186914086341858, 0.14992815256118774, 0.2519659996032715, -0.40328702330589294, 0.13967925310134888, 0.06446107476949692, -0.44871607422828674, 0.2689257860183716, -0.06892669200897217, 0.07717298716306686, 0.3341960310935974, 0.02574252337217331, 0.33456096053123474, -0.12901413440704346, 0.06417927891016006, 0.008264822885394096, -0.09393870830535889, -0.4410448670387268, -0.18496695160865784, 0.3032413423061371, -0.4812757670879364, 0.12460388988256454, 0.06660710275173187, 0.22790777683258057, 0.02963791787624359, -0.654408872127533, -0.4133542478084564, -0.08182989060878754, -0.19092516601085663, 0.34261515736579895, 0.15086966753005981, 0.15834738314151764, 0.051865700632333755, 0.03447459638118744, 0.33520713448524475, -0.12507332861423492, -0.175371915102005, -0.1299683004617691, -0.25164738297462463, 0.046645697206258774, 0.22026222944259644, -0.2929621636867523, 0.061680868268013, -0.31704777479171753, -0.012524082325398922, -0.10090471059083939, -0.2738267779350281, 0.17236024141311646, -0.350671648979187, 0.41078826785087585, 0.25675123929977417, 0.1447107344865799, -0.29386836290359497, -0.22267642617225647, 0.379276841878891, -0.1335625946521759, -0.19705860316753387, 0.17249587178230286, 0.020267808809876442, -0.009807840920984745, 0.11796779930591583, -0.19248899817466736, -0.30393630266189575, -0.31709665060043335, 0.29507553577423096, 0.09723925590515137, 0.2670924663543701, 0.4502977132797241, 0.26684731245040894, 0.3761703670024872, -0.4430045783519745, 0.2547447383403778, 0.1232462227344513, -0.11604592949151993, 0.1971365362405777, -0.20182538032531738, -0.558158814907074, 0.022024739533662796, -0.0006927512586116791, 0.13897842168807983, -0.23227734863758087, -0.482332706451416, -0.501940131187439, -0.1646394431591034, 0.38711491227149963, -0.1625654697418213, 0.026650207117199898, 0.2953866124153137, -0.049935124814510345, 0.024278530851006508, 0.07294436544179916, -0.16342225670814514, 0.029299907386302948, -0.035277582705020905, 0.08180953562259674, 0.01394631527364254, 0.05052298307418823, -0.16413237154483795, 0.4805254340171814, 0.2547893226146698, -0.12173432111740112, 0.3357129395008087, -0.2749577760696411, 0.17475639283657074, -0.14564305543899536, -0.615887463092804, -0.021059149876236916, -0.05737358331680298, 0.01387283205986023, 0.24638786911964417, -0.22259807586669922, -0.10375335812568665, -0.25275376439094543, -0.22570011019706726, -0.21140745282173157, -0.20912982523441315, -0.04149612784385681, -0.021437019109725952, 0.0921819880604744, -0.292843222618103, 0.15734761953353882, -0.1431150585412979, -0.1124042272567749, 0.3605489730834961, 0.2628623843193054, -0.21873673796653748, -0.06394349783658981, -0.023059038445353508, -0.6087771058082581, -0.20778396725654602, 0.11756904423236847, 0.21025989949703217, 0.1944471299648285, 0.031881485134363174, -0.021178921684622765, 0.15458115935325623, 0.09703793376684189, 0.640483021736145, 0.2463044375181198, 0.0935666635632515, 0.02996564283967018, -0.33316394686698914, -0.23276296257972717, -0.08458034694194794, -0.27000945806503296, -0.21415984630584717, 0.025218406692147255, 0.09510650485754013, -0.11858749389648438, 0.0014996037352830172, 0.032659079879522324, -0.03235030546784401, -0.08226537704467773, 0.11420423537492752, -0.2151528149843216, -0.18424755334854126, -0.2980537414550781, 0.23855361342430115, 0.24000541865825653, 0.45508262515068054, 0.30100274085998535, 0.22973467409610748, -0.1819743514060974, -0.224544495344162, 0.04463005065917969, 0.059155549854040146, 0.2935316562652588, -0.05587176978588104, 0.010926652699708939, -0.15986928343772888, 0.3595300316810608, 0.1015714704990387, 0.565601110458374, -0.007334709167480469, -0.4631310701370239, -0.11811777204275131, 0.022570420056581497, 0.2200862020254135, 0.23455452919006348, -0.15957880020141602, 0.1505115032196045, -0.13104306161403656, 0.18532396852970123, 0.11647239327430725, -0.11253761500120163, 0.3531762361526489, 0.1587279587984085, 0.026345763355493546, -0.12225523591041565, 0.3638002574443817, -0.2797895073890686, 0.21134649217128754, 0.05202976241707802, 0.5015304088592529, -0.11480765789747238, 0.1358342319726944, 0.2087160348892212, 1.008398175239563, 0.29219135642051697, 0.2547611594200134, 0.6589364409446716, -0.1784878522157669, 0.3059101700782776, 0.17125728726387024, 0.14742673933506012, -0.5177796483039856, -0.2812885344028473, -0.065568707883358, -0.170429989695549, 0.28106969594955444, -0.4136565327644348, -0.1303538829088211, -0.12812085449695587, -0.19717907905578613, 0.32488876581192017, 0.06083463132381439, -0.09771354496479034, -0.004596667364239693, 0.018026545643806458, -0.6178739070892334, 0.03595616668462753, -0.09422953426837921, 0.11787237226963043, -0.18648624420166016, -0.049627553671598434, -0.30797719955444336, -0.08589223772287369, -0.1716962456703186, 0.1456713080406189, -0.2237081676721573, 0.038441404700279236, 0.3035896122455597, -0.4953520894050598, 0.10300597548484802, 0.2886504828929901, 0.0017650127410888672, -0.12873929738998413, -0.33058157563209534, 0.08375237137079239, -0.08814739435911179, 0.0015170122496783733, -0.11048834025859833, -0.02268451824784279, 0.5846396088600159, -0.21965476870536804, -0.28660279512405396, 0.3038046061992645, -0.07037565112113953, -0.038560304790735245, -0.009819939732551575, 0.13531115651130676, 0.15397629141807556, -0.4332524538040161, 0.003985734656453133, -0.3614366054534912, 0.12320373952388763, -0.2593863010406494, 0.06583103537559509, 0.1868327558040619, -0.28641682863235474, -0.07094231992959976, 0.24008889496326447, -0.17420606315135956, -0.1733710914850235, 0.21200692653656006, -0.10192041844129562, 0.07230957597494125, 0.37860962748527527, 0.39178532361984253, -0.34062784910202026, -0.16377675533294678, -0.025508161634206772, 0.2754251956939697, -0.8959247469902039, 0.26288896799087524, -0.07350502908229828, -0.030501514673233032, -0.10088378936052322, 0.42741498351097107, 0.3180299997329712, 0.1363433301448822, -0.0015053078532218933, -0.33491551876068115, -0.35275450348854065, 0.11528502404689789, 0.11737407743930817, 0.08933129906654358, 0.08204469084739685, 0.3844384253025055, 0.18389630317687988, -0.10251140594482422, -0.2651558518409729, -0.09603044390678406, -0.09429308027029037, 0.11752337217330933, -0.3482823371887207, -0.20855143666267395, 0.3608168959617615, 0.11086644232273102, 0.13248485326766968, 0.0485498309135437, -0.16000163555145264, -0.19740936160087585, -0.13144820928573608, 0.1260492205619812, 0.09292573481798172, -0.17974413931369781, 0.10659845918416977, 0.11867077648639679, 0.05017504096031189, -0.1563897281885147, 0.04397086426615715, 0.023803018033504486, 0.0012754574418067932, 0.17618541419506073, 0.4706731140613556, -0.03112112730741501, -0.0884612500667572, -0.08556418120861053, -0.2759772837162018, 0.0480709932744503, 0.05777783319354057, -0.09529614448547363, -0.2256050556898117, 0.08675092458724976, -0.10206147283315659, 0.15304596722126007, -0.0184805765748024, -0.02693275362253189, 0.30902954936027527, -0.3074929118156433, -0.08382505178451538, -0.17442686855793, 0.41687482595443726, 0.035295307636260986, -0.1772899478673935, 0.0643225759267807, 0.4713669419288635, 0.12143638730049133, -0.3661593496799469, 0.1638212949037552, 0.16516095399856567, -0.05909238010644913, 0.09422414004802704, 0.2930832505226135, -0.058924660086631775, -0.0016166344285011292, -0.17325614392757416, 0.18802201747894287, 0.4586375057697296, 0.12621912360191345, 0.0875268429517746, 0.6352688670158386, -0.07534046471118927, 0.2441379576921463, 0.606556236743927, 0.2026829570531845, 0.11014331132173538, 0.3207458257675171, -0.42951667308807373, 0.12417686730623245, -0.41291409730911255, -0.07937450706958771, 0.3187809884548187, -0.010354256257414818, 0.2537107765674591, 0.010482534766197205, 0.21988216042518616, -0.24649572372436523, -0.12507838010787964, 0.47337204217910767, 0.10333774238824844, -0.11548183113336563, 0.09929601103067398, 0.4657297134399414, -0.24434101581573486, 0.20218977332115173, 0.15538768470287323, -0.06941423565149307, -0.04029868170619011, -0.17435550689697266, 0.01715509220957756, -0.43056154251098633, 0.4198819696903229, 0.19123145937919617, -0.18638058006763458, -0.375014990568161, -0.018168088048696518, 0.32070621848106384, 0.1491924673318863, -0.19210335612297058, 0.19235734641551971, 0.15615952014923096, -0.045579276978969574, -0.08756685256958008, 0.4817992150783539, 0.43245401978492737, 0.30643072724342346, 0.0024281498044729233, -0.12366627901792526, 0.017552796751260757, -0.1538119614124298, 0.08644876629114151, -0.1054997593164444, 0.09260008484125137, 0.7431031465530396, 0.11440153419971466, 0.13760246336460114, -0.17885085940361023, 0.23209373652935028, -0.2609955966472626, 0.024274028837680817, -0.21620091795921326, 0.5417286157608032, -0.16911856830120087, -0.3078765869140625, -0.3769722282886505, -0.0827910527586937, -0.4724220037460327, 0.1353415995836258, 0.24198487401008606, 0.0600166954100132, 0.037674110382795334, -0.13692620396614075, 0.04301304370164871, 0.2041957527399063, 0.14250525832176208, 0.2898508906364441, 0.3564850687980652, -0.2036573439836502, 0.04244256019592285, -0.11419424414634705, 0.48416879773139954, 0.08676090836524963, -0.21298176050186157, 0.2691430151462555, -0.08970063924789429, -0.3256036341190338, 0.06755905598402023, 0.3970867991447449, 0.16760943830013275, 0.014497780241072178, 0.19740363955497742, -0.3340132236480713, -0.07099512219429016, -0.18038079142570496, 0.09839479625225067, 0.10290920734405518, 0.15566563606262207, 0.16936516761779785, -0.10340258479118347, 0.027700044214725494, -0.3394557237625122, -0.15517103672027588, 0.06514231860637665, -0.035881735384464264, 0.3595832884311676, -0.007624920457601547, 0.5715811848640442, -0.06134067475795746, -0.15522260963916779, -0.05275171622633934, -0.23736941814422607, -0.25959154963493347, 0.24890121817588806, -0.021805644035339355, 0.3597824275493622, -0.14120128750801086, -0.553604245185852, -0.35548725724220276, 0.5980476140975952, 0.08657419681549072, 0.030864059925079346, -0.20811836421489716, 0.2353295236825943, -0.07230351865291595, 0.01557655818760395, 0.22197559475898743, 0.02411460131406784, -0.017342180013656616, 0.09581504762172699, -0.5126609802246094, -0.5381101369857788, 0.623616099357605, -0.5518125891685486, -0.22341181337833405, 0.10017646104097366, 0.14880144596099854, -0.08911613374948502, -0.31532925367355347, -0.5557795166969299, -0.1459902822971344, 0.24682055413722992, -0.020304996520280838, -0.11411778628826141, 0.19192200899124146, -0.12287391722202301, 0.1966356635093689, 0.025036606937646866, 0.2204495221376419, 0.0510995052754879, 0.007743695750832558, 0.0695074051618576, -0.25551939010620117 ]
https://github.com/huggingface/datasets/issues/6984
Convert polars DataFrame back to datasets
Hi ! Thanks for reporting :) We don't support `large_list` yet, though it should be added to `Sequence` IMO (maybe with a parameter `large=True` ?)
### Feature request This returns error. ```python from datasets import Dataset dsdf = Dataset.from_dict({"x": [[1, 2], [3, 4, 5]], "y": ["a", "b"]}) Dataset.from_polars(dsdf.to_polars()) ``` ValueError: Arrow type large_list<item: int64> does not have a datasets dtype equivalent. ### Motivation When datasets contain Sequence data type, it will be converted to Arrow type large_list. However, the reverse (from large_list to Sequence) does not work. ### Your contribution No
25
Convert polars DataFrame back to datasets ### Feature request This returns error. ```python from datasets import Dataset dsdf = Dataset.from_dict({"x": [[1, 2], [3, 4, 5]], "y": ["a", "b"]}) Dataset.from_polars(dsdf.to_polars()) ``` ValueError: Arrow type large_list<item: int64> does not have a datasets dtype equivalent. ### Motivation When datasets contain Sequence data type, it will be converted to Arrow type large_list. However, the reverse (from large_list to Sequence) does not work. ### Your contribution No Hi ! Thanks for reporting :) We don't support `large_list` yet, though it should be added to `Sequence` IMO (maybe with a parameter `large=True` ?)
[ -0.29300931096076965, -0.4047183096408844, -0.11217483878135681, 0.10133212804794312, 0.46061795949935913, 0.1476120948791504, 0.19641652703285217, 0.4279765784740448, 0.31204667687416077, 0.029494598507881165, -0.13853108882904053, 0.4632543921470642, -0.23320941627025604, 0.2984396517276764, -0.3621416389942169, -0.5358220338821411, 0.13918131589889526, 0.14600598812103271, -0.35153117775917053, -0.0004136115312576294, -0.3936667740345001, -0.017251836135983467, -0.13424918055534363, -0.058435022830963135, 0.2230740487575531, -0.1317310482263565, -0.08492947369813919, -0.1758643388748169, -0.2483058124780655, -0.2994324862957001, 0.3334680199623108, -0.16559286415576935, 0.5345011949539185, 0.3039991855621338, -0.00011315116717014462, -0.18880429863929749, 0.410946786403656, 0.08490509539842606, -0.09292346239089966, -0.14139439165592194, -0.15573781728744507, -0.2734692692756653, 0.3666970729827881, -0.18198776245117188, -0.08093668520450592, -0.7546200156211853, -0.25494882464408875, -0.2919239401817322, 0.47257715463638306, 0.4188995659351349, 0.26194900274276733, 0.14684467017650604, 0.2717796862125397, -0.16618002951145172, 0.17017218470573425, 0.3418239951133728, -0.13666066527366638, -0.013943757861852646, 0.07204072922468185, 0.03265994042158127, 0.20699036121368408, 0.2372923493385315, -0.12000009417533875, 0.09231486916542053, 0.05292292684316635, -0.11159317195415497, 0.17685246467590332, -0.30668842792510986, -0.07788509130477905, 0.22410711646080017, 0.5552046298980713, -0.11315987259149551, -0.32236137986183167, 0.020670078694820404, -0.10019132494926453, -0.3119595944881439, -0.29972043633461, -0.015330318361520767, 0.07194976508617401, 0.05662377178668976, 0.014137783087790012, -0.08691775798797607, -0.23200838267803192, 0.25423598289489746, -0.46208468079566956, 0.1494661122560501, -0.15053482353687286, 0.10940130800008774, 0.19485826790332794, -0.4236753582954407, 0.4429735541343689, 0.17827901244163513, 0.07404373586177826, 0.15354478359222412, -0.5357086062431335, -0.36966052651405334, -0.004622757434844971, -0.08134471625089645, 0.07039868831634521, 0.2732459008693695, -0.10416869819164276, -0.047114476561546326, -0.2588851749897003, -0.059095509350299835, 0.24842163920402527, 0.16478265821933746, -0.2087433934211731, 0.43321919441223145, -0.019912265241146088, 0.07188015431165695, 0.21676111221313477, -0.07603894919157028, -0.05038375034928322, -0.2134934812784195, -0.036712005734443665, 0.14478440582752228, 0.26178276538848877, -0.35629788041114807, -0.3724648058414459, 0.10258225351572037, -0.15858246386051178, 0.20141133666038513, 0.08988549560308456, 0.20497789978981018, 0.06268035620450974, 0.5665947794914246, 0.11536243557929993, -0.04224429279565811, 0.1285073161125183, 0.34659743309020996, -0.021156517788767815, 0.11125893890857697, -0.16382184624671936, -0.33660057187080383, -0.0004453025758266449, 0.03575887903571129, 0.13171754777431488, 0.12795929610729218, 0.033130478113889694, -0.015587281435728073, -0.08198311924934387, -0.24429748952388763, 0.4251921474933624, 0.13927800953388214, -0.27507996559143066, 0.12315023690462112, 0.28774988651275635, -0.02951832488179207, -0.2502759099006653, 0.2057761549949646, -0.20205777883529663, 0.0021836943924427032, -0.2893258035182953, 0.16296477615833282, 0.015843994915485382, -0.14981712400913239, -0.14195194840431213, 0.10346934199333191, -0.06578557938337326, 0.006860412657260895, 0.1331969052553177, -0.41768211126327515, 0.023738738149404526, -0.10093314945697784, -0.03655131161212921, 0.24658022820949554, -0.7084115743637085, -0.02201170101761818, -0.2635853886604309, -0.016309134662151337, 0.3141782879829407, 0.5286157727241516, -0.08676902204751968, -0.24699300527572632, -0.22453968226909637, -0.4344984292984009, 0.2135082483291626, -0.12656326591968536, -0.28493788838386536, 0.2581816017627716, -0.10200704634189606, -0.16492989659309387, -0.23133039474487305, 0.2922610938549042, 0.19563740491867065, -0.1758986860513687, 0.17454472184181213, 0.25189751386642456, -0.18359927833080292, 0.1485971063375473, -0.0026514604687690735, -0.40762242674827576, 0.3128718137741089, -0.059864841401576996, 0.18300551176071167, 0.33165502548217773, 0.16487377882003784, -0.09141750633716583, 0.09292228519916534, -0.1355617195367813, -0.10108931362628937, 0.20532886683940887, 0.30179300904273987, 0.00035005807876586914, 0.03978496417403221, -0.2989327907562256, -0.2657584249973297, -0.11061561852693558, -0.126711905002594, -0.10828714072704315, -0.08008533716201782, -0.04404604434967041, -0.48545581102371216, -0.013255984522402287, 0.06886599212884903, 0.37428581714630127, 0.12727616727352142, -0.14038871228694916, 0.053402382880449295, 0.07864300906658173, -0.1659102886915207, 0.0739525705575943, -0.35503682494163513, 0.06670204550027847, -0.028441917151212692, 0.276773601770401, 0.07665304839611053, 0.05689920112490654, 0.2350679337978363, 0.19111889600753784, 0.25825855135917664, 0.02694094553589821, 0.010344376787543297, -0.0628599300980568, -0.11736154556274414, -0.15416811406612396, 0.12007874995470047, 0.04775695502758026, 0.127268448472023, -0.5430282354354858, 0.013764960691332817, 0.40662628412246704, 0.22697067260742188, 0.05651643127202988, -0.19839322566986084, 0.355842262506485, -0.22249586880207062, 0.38348284363746643, -0.11783842742443085, 0.40881583094596863, 0.25189846754074097, 0.06850060820579529, -0.18563419580459595, -0.17451289296150208, 0.048482343554496765, 0.24138911068439484, -0.3186068534851074, -0.10055811703205109, -0.3820413649082184, -0.061647795140743256, 0.42284253239631653, -0.048670634627342224, 0.22169673442840576, 0.2856329083442688, -0.24240908026695251, 0.07994019985198975, 0.25788572430610657, 0.5328731536865234, 0.3514721989631653, 0.2634378969669342, -0.06188882514834404, -0.16090954840183258, -0.018037673085927963, 0.0866394191980362, 0.2752331495285034, 0.2290760576725006, 0.17790457606315613, -0.14594826102256775, 0.35170531272888184, 0.00995771586894989, -0.11563131958246231, -0.17171527445316315, -0.028954949229955673, 0.33589959144592285, -0.14240555465221405, 0.14981718361377716, -0.4113559126853943, -0.3459460735321045, -0.12059085071086884, -0.33959895372390747, 0.07121571898460388, -0.45196735858917236, -0.2578028440475464, -0.03248530998826027, -0.04814936965703964, 0.37283143401145935, 0.07964730262756348, 0.2202194184064865, 0.3272242248058319, -0.32831117510795593, -0.20483936369419098, -0.25415071845054626, 0.08564560115337372, 0.12317639589309692, 0.07732151448726654, -0.05925853177905083, 0.4060356318950653, -0.0670022964477539, 0.22285878658294678, -0.6647231578826904, -0.33700746297836304, 0.035574495792388916, -0.11358839273452759, 0.14430208504199982, 0.25369691848754883, 0.36400318145751953, -0.10910646617412567, 0.1160581111907959, -0.09578732401132584, 0.009417230263352394, 0.03197558969259262, 0.008936358615756035, -0.3327290117740631, 0.25675898790359497, 0.004141427576541901, -0.149740070104599, -0.16377785801887512, -0.34392252564430237, 0.369023859500885, 0.3168591558933258, 0.10390002280473709, -0.0034473715350031853, 0.33952799439430237, 0.19117584824562073, -0.033429104834795, -0.0872928574681282, -0.20563748478889465, 0.25879713892936707, 0.4147653579711914, -0.1104334369301796, -0.3462238609790802, 0.12803536653518677, 0.0914493277668953, 0.11110526323318481, 0.13049831986427307, -0.22118666768074036, 0.028933271765708923, -0.5599650144577026, -0.00039133429527282715, -0.08876124024391174, 0.24238960444927216, 0.21621863543987274, 0.1830764263868332, -0.06398070603609085, 0.10028476268053055, 0.10153307020664215, -0.13568687438964844, -0.1824536919593811, 0.2202313095331192, 0.20069578289985657, 0.35926714539527893, -0.02817949652671814, 0.39444857835769653, 0.1480809599161148, -0.38219112157821655, 0.051758185029029846, -0.09228936582803726, 0.38181936740875244, -0.31314581632614136, -0.4581705927848816, -0.1757643073797226, -0.15596601366996765, 0.23904384672641754, -0.156760111451149, -0.13421183824539185, -0.23798011243343353, 0.01946396380662918, 0.1332094818353653, 0.07251099497079849, -0.11875076591968536, -0.10117986053228378, -0.06306586414575577, 0.13756301999092102, -0.08069992810487747, -0.1576390117406845, -0.2640015184879303, -0.11993306875228882, 0.0409376323223114, 0.20590242743492126, 0.0955648347735405, -0.02020203322172165, -0.15783074498176575, -0.1372608244419098, -0.33443886041641235, 0.3068215250968933, -0.06539859622716904, 0.43792083859443665, 0.10405288636684418, -0.018485259264707565, -0.21881668269634247, 0.08950731158256531, 0.1479816436767578, 0.34038448333740234, -0.40535199642181396, -0.0287729874253273, -0.021053751930594444, -0.45240819454193115, 0.10687114298343658, -0.2862851619720459, 0.2648921608924866, -0.357178658246994, 0.31548619270324707, -0.1897158920764923, -0.057486556470394135, 0.3569055497646332, 0.32219916582107544, -0.07677978277206421, -0.06976526230573654, -0.04179688170552254, -0.1453341841697693, -0.2676979601383209, 0.14266857504844666, 0.4454014003276825, 0.012163549661636353, -0.3277226388454437, -0.2329874038696289, -0.4395214915275574, -0.243003249168396, 0.2610112428665161, -0.1623329371213913, 0.2724691331386566, -0.03110671415925026, -0.12940388917922974, -0.06883833557367325, -0.031235598027706146, 0.21220362186431885, 0.23908288776874542, 0.12285076081752777, -0.21311086416244507, 0.05367635190486908, 0.16357652842998505, 0.15875977277755737, 0.11931607872247696, -0.24039921164512634, 0.2714207172393799, -0.13257594406604767, 0.15552198886871338, -0.07996267080307007, -0.1427927315235138, 0.103043332695961, 0.18760405480861664, -0.27326592803001404, -0.46178969740867615, 0.4591906666755676, 0.27915918827056885, 0.01000935584306717, 0.3086174428462982, 0.5162045359611511, -0.06711921095848083, 0.34035724401474, 0.13345301151275635, 0.9810235500335693, -0.23305661976337433, 0.10748855769634247, 0.14166730642318726, 0.02666798233985901, 1.0149948596954346, 0.5280365347862244, -0.043847013264894485, -0.33078277111053467, 0.07798092067241669, -0.07935161888599396, -0.17365708947181702, 0.14153477549552917, -0.27564096450805664, -0.27051791548728943, 0.3082975745201111, -0.1435665786266327, -0.04990470036864281, 0.1834845095872879, 0.018650956451892853, 0.004966440610587597, -0.22837406396865845, -0.4210083782672882, 0.16207553446292877, -0.21653960645198822, 0.006065137684345245, -0.09796061366796494, -0.036122292280197144, -0.1903855800628662, 0.028581105172634125, -0.23419634997844696, -0.03377079218626022, -0.12175657600164413, 0.3219273090362549, -0.013569947332143784, -0.317905068397522, 0.4256231188774109, 0.2726430594921112, 0.3483671545982361, 0.18794290721416473, -0.27528664469718933, -0.1358666568994522, 0.025816399604082108, -0.029338669031858444, 0.012136059813201427, -0.17796576023101807, 0.16946138441562653, 0.1479056477546692, -0.0874081701040268, 0.1689157485961914, 0.10143287479877472, 0.11484882235527039, -0.31663456559181213, 0.13741174340248108, 0.20214010775089264, -0.35560518503189087, -0.3080887198448181, -0.17046907544136047, -0.1534024327993393, -0.16762228310108185, 0.14283867180347443, -0.0377730131149292, 0.09632521867752075, 0.1207047626376152, 0.2308017760515213, 0.06345982849597931, -0.04941553249955177, 0.06123039871454239, 0.000159531831741333, -0.045411862432956696, 0.32936254143714905, 0.4859362244606018, -0.2171294391155243, -0.21616297960281372, 0.22691473364830017, 0.051636118441820145, -0.61911541223526, 0.5235111117362976, -0.28477999567985535, -0.10865449905395508, -0.006002923473715782, 0.11358888447284698, 0.07700136303901672, 0.1691930890083313, -0.0832221731543541, -0.20288605988025665, -0.5966265797615051, 0.16456559300422668, -0.4715704023838043, 0.2191391885280609, -0.18828138709068298, -0.21024784445762634, -0.22593562304973602, -0.6102009415626526, -0.32687482237815857, 0.2635483741760254, -0.18336769938468933, 0.1561795175075531, -0.06503517180681229, -0.21507415175437927, -0.04127205163240433, -0.06287627667188644, 0.14351961016654968, 0.2988489270210266, 0.21372750401496887, -0.23409822583198547, -0.15651041269302368, 0.08810709416866302, 0.07611584663391113, -0.10832928121089935, 0.09491658955812454, -0.1953294277191162, -0.29053330421447754, -0.10483221709728241, 0.0006373301148414612, 0.31547266244888306, 0.06965350359678268, 0.22408927977085114, 0.1474027931690216, -0.35744935274124146, -0.06162609905004501, 0.13889455795288086, -0.00011831521987915039, 0.14999015629291534, -0.14300262928009033, 0.33761703968048096, 0.07380706071853638, -0.10249488055706024, -0.3898962438106537, 0.23049533367156982, 0.2808804214000702, 0.07416427135467529, 0.3911369740962982, -0.03124331682920456, -0.14721225202083588, 0.0641857236623764, 0.39393141865730286, 0.12550847232341766, -0.19292961061000824, 0.049167320132255554, 0.2943152189254761, 0.16176578402519226, -0.3726102411746979, -0.04716428369283676, 0.03273194283246994, 0.029284819960594177, 0.17128151655197144, 0.2967831492424011, -0.20632094144821167, 0.024600066244602203, 0.08570800721645355, -0.006053264252841473, 0.13425327837467194, -0.3491974472999573, 0.21633723378181458, 0.40298494696617126, 0.2686019241809845, -0.1622163951396942, 0.35021984577178955, 0.11044643819332123, 0.17048563063144684, 0.5307261943817139, -0.19737151265144348, 0.08673761785030365, 0.07040838897228241, 0.04317103326320648, 0.43394607305526733, -0.1784077137708664, 0.05773086100816727, 0.1216222494840622, -0.025621160864830017, 0.26688438653945923, 0.20550426840782166, 0.18577708303928375, 0.0038517192006111145, 0.0972534716129303, -0.12432192265987396, 0.25753316283226013, -0.21589964628219604, -0.17823219299316406, -0.0070648882538080215, -0.03803059086203575, -0.09348994493484497, -0.18781983852386475, -0.07570821046829224, -0.18298473954200745, 0.16730137169361115, 0.12524160742759705, 0.15119312703609467, -0.2613508999347687, 0.14492687582969666, 0.38619714975357056, 0.19210946559906006, -0.16438007354736328, -0.28887441754341125, 0.3053020238876343, -0.0583379864692688, -0.07328245043754578, 0.2603154480457306, 0.30227604508399963, 0.166642963886261, -0.04739133641123772, 0.12440725415945053, 0.08479499816894531, -0.43048909306526184, 0.21848556399345398, 0.10424614697694778, 0.02875746786594391, 0.13068024814128876, 0.18819662928581238, 0.21044033765792847, -0.1847226470708847, 0.19903703033924103, -0.1548127979040146, 0.18755213916301727, -0.27164164185523987, 0.37629175186157227, -0.08743106573820114, -0.16823872923851013, -0.337092787027359, 0.1910061240196228, -0.4124942719936371, -0.1056850478053093, 0.4286532700061798, -0.008550304919481277, 0.07878300547599792, 0.1450202763080597, 0.07997871935367584, -0.21603001654148102, 0.23475049436092377, 0.38291090726852417, 0.31171664595603943, -0.28052619099617004, 0.08321347832679749, -0.26373302936553955, -0.22717228531837463, 0.1446852684020996, 0.08064527809619904, 0.21161718666553497, 0.16851766407489777, -0.01009862869977951, 0.3243698477745056, 0.26815900206565857, -0.09518644213676453, 0.19327951967716217, 0.03265701234340668, -0.09273923933506012, -0.39163124561309814, 0.13980023562908173, 0.0029883161187171936, 0.06495152413845062, -0.2838321626186371, 0.06231272220611572, 0.08678557723760605, 0.05262339860200882, -0.3053513169288635, 0.10171781480312347, -0.21737445890903473, 0.043850868940353394, 0.053824957460165024, 0.4163922965526581, 0.1548735350370407, -0.08858641237020493, -0.12263255566358566, -0.017484020441770554, -0.2991969585418701, -0.09626816213130951, 0.3617197275161743, -0.03633483126759529, 0.5453939437866211, -0.22765398025512695, -0.2859661877155304, -0.26130297780036926, -0.369378924369812, -0.1348506212234497, -0.20434316992759705, -0.7552492022514343, 0.3915458917617798, -0.20243299007415771, 0.057406749576330185, -0.08197648078203201, 0.23889794945716858, 0.04878155142068863, 0.2959763705730438, -0.029329903423786163, -0.3433210253715515, 0.5708235502243042, -0.22964482009410858, -0.3751281797885895, 0.29103535413742065, -0.037927836179733276, 0.3817436695098877, -0.1185789480805397, -0.34607166051864624, 0.14883628487586975, 0.19100570678710938, 0.06465533375740051, -0.01422283798456192, 0.02243499644100666, -0.1439518928527832, 0.27189522981643677, -0.21703462302684784, 0.33291637897491455, 0.1630781888961792, 0.024702345952391624, -0.03148319572210312, -0.1589890420436859 ]
https://github.com/huggingface/datasets/issues/6982
cannot split dataset when using load_dataset
it seems the bug will happened in all windows system, I tried it in windows8.1, 10, 11 and all of them failed. But it won't happened in the Linux(Ubuntu and Centos7) and Mac (both my virtual and physical machine). I still don't know what the problem is. May be related to the path? I cannot run the split file in my windows server which created in Linux (even I replace the path in the arrow document)....work for it for a week but still cannot fix it .....upset
### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't happen in the google colab. I work for it for days, even I load the datasets from local path, it can Generating train split and validation split but bug happen again in test split. ### Steps to reproduce the bug from datasets import load_dataset, load_metric, Audio common_voice_train = load_dataset("mozilla-foundation/common_voice_7_0", "ja", split="train", token=selftoken, trust_remote_code=True) ### Expected behavior ``` { "name": "ValueError", "message": "Instruction \"train\" corresponds to no data!", "stack": "--------------------------------------------------------------------------- ValueError Traceback (most recent call last) Cell In[2], line 3 1 from datasets import load_dataset, load_metric, Audio ----> 3 common_voice_train = load_dataset(\"mozilla-foundation/common_voice_7_0\", \"ja\", split=\"train\",token='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')#,trust_remote_code=True)#,streaming=True) 4 common_voice_test = load_dataset(\"mozilla-foundation/common_voice_7_0\", \"ja\", split=\"test\",token='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')#,trust_remote_code=True)#,streaming=True) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\load.py:2626, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs) 2622 # Build dataset for splits 2623 keep_in_memory = ( 2624 keep_in_memory if keep_in_memory is not None else is_small_dataset(builder_instance.info.dataset_size) 2625 ) -> 2626 ds = builder_instance.as_dataset(split=split, verification_mode=verification_mode, in_memory=keep_in_memory) 2627 # Rename and cast features to match task schema 2628 if task is not None: 2629 # To avoid issuing the same warning twice File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1266, in DatasetBuilder.as_dataset(self, split, run_post_process, verification_mode, ignore_verifications, in_memory) 1263 verification_mode = VerificationMode(verification_mode or VerificationMode.BASIC_CHECKS) 1265 # Create a dataset for each of the given splits -> 1266 datasets = map_nested( 1267 partial( 1268 self._build_single_dataset, 1269 run_post_process=run_post_process, 1270 verification_mode=verification_mode, 1271 in_memory=in_memory, 1272 ), 1273 split, 1274 map_tuple=True, 1275 disable_tqdm=True, 1276 ) 1277 if isinstance(datasets, dict): 1278 datasets = DatasetDict(datasets) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\utils\\py_utils.py:484, in map_nested(function, data_struct, dict_only, map_list, map_tuple, map_numpy, num_proc, parallel_min_length, batched, batch_size, types, disable_tqdm, desc) 482 if batched: 483 data_struct = [data_struct] --> 484 mapped = function(data_struct) 485 if batched: 486 mapped = mapped[0] File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1296, in DatasetBuilder._build_single_dataset(self, split, run_post_process, verification_mode, in_memory) 1293 split = Split(split) 1295 # Build base dataset -> 1296 ds = self._as_dataset( 1297 split=split, 1298 in_memory=in_memory, 1299 ) 1300 if run_post_process: 1301 for resource_file_name in self._post_processing_resources(split).values(): File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1370, in DatasetBuilder._as_dataset(self, split, in_memory) 1368 if self._check_legacy_cache(): 1369 dataset_name = self.name -> 1370 dataset_kwargs = ArrowReader(cache_dir, self.info).read( 1371 name=dataset_name, 1372 instructions=split, 1373 split_infos=self.info.splits.values(), 1374 in_memory=in_memory, 1375 ) 1376 fingerprint = self._get_dataset_fingerprint(split) 1377 return Dataset(fingerprint=fingerprint, **dataset_kwargs) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\arrow_reader.py:256, in BaseReader.read(self, name, instructions, split_infos, in_memory) 254 msg = f'Instruction \"{instructions}\" corresponds to no data!' 255 #msg = f'Instruction \"{self._path}\",\"{name}\",\"{instructions}\",\"{split_infos}\" corresponds to no data!' --> 256 raise ValueError(msg) 257 return self.read_files(files=files, original_instructions=instructions, in_memory=in_memory) ValueError: Instruction \"train\" corresponds to no data!" } ``` ### Environment info Environment: python 3.9 windows 11 pro VScode+jupyter
87
cannot split dataset when using load_dataset ### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't happen in the google colab. I work for it for days, even I load the datasets from local path, it can Generating train split and validation split but bug happen again in test split. ### Steps to reproduce the bug from datasets import load_dataset, load_metric, Audio common_voice_train = load_dataset("mozilla-foundation/common_voice_7_0", "ja", split="train", token=selftoken, trust_remote_code=True) ### Expected behavior ``` { "name": "ValueError", "message": "Instruction \"train\" corresponds to no data!", "stack": "--------------------------------------------------------------------------- ValueError Traceback (most recent call last) Cell In[2], line 3 1 from datasets import load_dataset, load_metric, Audio ----> 3 common_voice_train = load_dataset(\"mozilla-foundation/common_voice_7_0\", \"ja\", split=\"train\",token='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')#,trust_remote_code=True)#,streaming=True) 4 common_voice_test = load_dataset(\"mozilla-foundation/common_voice_7_0\", \"ja\", split=\"test\",token='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')#,trust_remote_code=True)#,streaming=True) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\load.py:2626, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs) 2622 # Build dataset for splits 2623 keep_in_memory = ( 2624 keep_in_memory if keep_in_memory is not None else is_small_dataset(builder_instance.info.dataset_size) 2625 ) -> 2626 ds = builder_instance.as_dataset(split=split, verification_mode=verification_mode, in_memory=keep_in_memory) 2627 # Rename and cast features to match task schema 2628 if task is not None: 2629 # To avoid issuing the same warning twice File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1266, in DatasetBuilder.as_dataset(self, split, run_post_process, verification_mode, ignore_verifications, in_memory) 1263 verification_mode = VerificationMode(verification_mode or VerificationMode.BASIC_CHECKS) 1265 # Create a dataset for each of the given splits -> 1266 datasets = map_nested( 1267 partial( 1268 self._build_single_dataset, 1269 run_post_process=run_post_process, 1270 verification_mode=verification_mode, 1271 in_memory=in_memory, 1272 ), 1273 split, 1274 map_tuple=True, 1275 disable_tqdm=True, 1276 ) 1277 if isinstance(datasets, dict): 1278 datasets = DatasetDict(datasets) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\utils\\py_utils.py:484, in map_nested(function, data_struct, dict_only, map_list, map_tuple, map_numpy, num_proc, parallel_min_length, batched, batch_size, types, disable_tqdm, desc) 482 if batched: 483 data_struct = [data_struct] --> 484 mapped = function(data_struct) 485 if batched: 486 mapped = mapped[0] File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1296, in DatasetBuilder._build_single_dataset(self, split, run_post_process, verification_mode, in_memory) 1293 split = Split(split) 1295 # Build base dataset -> 1296 ds = self._as_dataset( 1297 split=split, 1298 in_memory=in_memory, 1299 ) 1300 if run_post_process: 1301 for resource_file_name in self._post_processing_resources(split).values(): File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1370, in DatasetBuilder._as_dataset(self, split, in_memory) 1368 if self._check_legacy_cache(): 1369 dataset_name = self.name -> 1370 dataset_kwargs = ArrowReader(cache_dir, self.info).read( 1371 name=dataset_name, 1372 instructions=split, 1373 split_infos=self.info.splits.values(), 1374 in_memory=in_memory, 1375 ) 1376 fingerprint = self._get_dataset_fingerprint(split) 1377 return Dataset(fingerprint=fingerprint, **dataset_kwargs) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\arrow_reader.py:256, in BaseReader.read(self, name, instructions, split_infos, in_memory) 254 msg = f'Instruction \"{instructions}\" corresponds to no data!' 255 #msg = f'Instruction \"{self._path}\",\"{name}\",\"{instructions}\",\"{split_infos}\" corresponds to no data!' --> 256 raise ValueError(msg) 257 return self.read_files(files=files, original_instructions=instructions, in_memory=in_memory) ValueError: Instruction \"train\" corresponds to no data!" } ``` ### Environment info Environment: python 3.9 windows 11 pro VScode+jupyter it seems the bug will happened in all windows system, I tried it in windows8.1, 10, 11 and all of them failed. But it won't happened in the Linux(Ubuntu and Centos7) and Mac (both my virtual and physical machine). I still don't know what the problem is. May be related to the path? I cannot run the split file in my windows server which created in Linux (even I replace the path in the arrow document)....work for it for a week but still cannot fix it .....upset
[ -0.43590301275253296, -0.11846726387739182, 0.06690298020839691, 0.4242967963218689, 0.07286401838064194, -0.01437617838382721, 0.6111493706703186, 0.19691066443920135, 0.07344469428062439, 0.2537232041358948, -0.27349305152893066, 0.6136087775230408, 0.008373841643333435, -0.0278751440346241, -0.1914452463388443, -0.2696540057659149, -0.13180774450302124, 0.17994624376296997, -0.01070372760295868, -0.018533091992139816, -0.18366701900959015, 0.2854247987270355, -0.5143164396286011, -0.10639633238315582, -0.29520946741104126, -0.2847023904323578, 0.004779903218150139, 0.13622325658798218, -0.2191835194826126, -0.049498092383146286, 0.13795801997184753, -0.1104913204908371, -0.10277078300714493, 0.7210308313369751, -0.00012965980567969382, 0.04588878154754639, 0.38306725025177, -0.0038295872509479523, -0.304402619600296, -0.4024980664253235, -0.5093466639518738, 0.2546108663082123, 0.015130402520298958, -0.0027488023042678833, -0.0708468109369278, 0.09754342585802078, -0.219209223985672, -0.3776494860649109, 0.6760836839675903, 0.6832084655761719, 0.028857430443167686, -0.14821794629096985, -0.058521371334791183, -0.054836805909872055, 0.3954404294490814, 0.1589849889278412, -0.28421589732170105, 0.30708077549934387, 0.08073114603757858, 0.07288660109043121, -0.025565676391124725, 0.14513249695301056, 0.08818225562572479, 0.08465009182691574, -0.3058137595653534, 0.13589023053646088, -0.4941823482513428, -0.5299445390701294, 0.33105215430259705, 0.3330565392971039, 0.7214500308036804, -0.12015532702207565, -0.27153003215789795, -0.030455198138952255, 0.08844753354787827, -0.1302475929260254, 0.23796457052230835, 0.4855503737926483, -0.09643097221851349, 0.2231670618057251, -0.07015655934810638, -0.05721789970993996, -0.14116300642490387, 0.01577756553888321, -0.15244928002357483, 0.25421106815338135, -0.10074597597122192, 0.04909761995077133, 0.2804798483848572, 0.20700867474079132, 0.3283432126045227, -0.058770619332790375, -0.26585036516189575, 0.11575581133365631, -0.20322169363498688, 0.05014480650424957, -0.3882293105125427, -0.25065335631370544, 0.242118239402771, 0.049213625490665436, 0.2495783120393753, 0.005040477961301804, 0.02538267895579338, 0.06328663229942322, 0.23290607333183289, 0.16228316724300385, 0.1904352456331253, 0.3241488039493561, 0.3970840573310852, 0.29094961285591125, -0.2490062564611435, -0.031228363513946533, -0.08652599155902863, -0.22199229896068573, 0.04645474627614021, 0.2380029559135437, 0.1218326985836029, -0.2687464654445648, -0.31511470675468445, -0.1485118418931961, -0.45096954703330994, -0.12343189865350723, 0.09502808004617691, 0.3928453326225281, 0.03595216944813728, 0.060438357293605804, -0.12464701384305954, 0.4028199315071106, -0.1796194314956665, -0.43365123867988586, 0.0141396913677454, 0.04015793651342392, -0.41091853380203247, 0.22707638144493103, 0.20484602451324463, -0.0770547091960907, 0.13374675810337067, 0.09708085656166077, -0.04261709749698639, -0.39392325282096863, 0.0826335921883583, -0.48131275177001953, 0.062135472893714905, 0.1291811466217041, 0.34344157576560974, 0.04384712874889374, -0.1330513209104538, 0.0661938339471817, -0.049932099878787994, 0.1869848668575287, -0.32497426867485046, -0.22989203035831451, 0.03392273187637329, 0.033479806035757065, -0.04372794181108475, 0.2095014601945877, -0.5597481727600098, 0.12249524891376495, 0.2614443898200989, -0.06267981231212616, 0.044995177537202835, -0.12681281566619873, -0.5780050158500671, -0.10998889803886414, 0.3356653153896332, 0.45774394273757935, -0.37300723791122437, 0.0031678974628448486, -0.35618355870246887, 0.09219154715538025, 0.3136148154735565, 0.2614591419696808, -0.17323677241802216, 0.34376800060272217, -0.3178371787071228, 0.4055582880973816, 0.6252219676971436, -0.16307857632637024, -0.5944353342056274, 0.3220120966434479, 0.019524745643138885, 0.03611709922552109, 0.12129878997802734, -0.4048471450805664, 0.09000828117132187, 0.196326345205307, 0.20601993799209595, 0.44425350427627563, -0.1511477530002594, 0.0560431033372879, -0.21254821121692657, -0.22447848320007324, 0.20252378284931183, 0.03777579590678215, 0.2641766369342804, 0.22101792693138123, 0.30433088541030884, -0.13971389830112457, 0.39092788100242615, -0.1531798541545868, 0.1132006049156189, 0.14511436223983765, 0.417178213596344, -0.34799402952194214, 0.15565533936023712, -0.21211707592010498, -0.5156019330024719, 0.15979385375976562, 0.013798374682664871, -0.03805643320083618, -0.12910214066505432, -0.1478208601474762, -0.4488116502761841, -0.141920804977417, -0.2975391745567322, -0.1824549287557602, -0.12267975509166718, 0.026052314788103104, 0.09880882501602173, 0.048077043145895004, 0.01373979076743126, 0.5023484826087952, -0.01049824059009552, 0.24459248781204224, -0.19125744700431824, 0.6313557028770447, -0.02432882972061634, -0.20853309333324432, 0.051796019077301025, 0.04688001796603203, 0.1624354124069214, -0.09553442150354385, -0.34351491928100586, 0.2683955729007721, 0.5038136839866638, 0.20670175552368164, -0.11663231998682022, -0.3209340572357178, 0.37861672043800354, -0.6249166131019592, 0.015848025679588318, -0.017489321529865265, 0.18704445660114288, -0.010025206953287125, -0.030026324093341827, 0.26488208770751953, -0.029672224074602127, 0.2617883086204529, -0.008886806666851044, 0.11403655260801315, 0.07180313766002655, -0.12525898218154907, 0.14373250305652618, -0.09108000248670578, -0.03183498606085777, -0.13885988295078278, 0.3551005423069, -0.05936962366104126, -0.2782735228538513, 0.21288727223873138, 0.6779116988182068, 0.09623044729232788, 0.18053145706653595, 0.05602683499455452, -0.07575827091932297, -0.19296833872795105, 0.11956483125686646, 0.25537678599357605, 0.5258784890174866, -0.001183238229714334, 0.1051613837480545, 0.09363267570734024, 0.26782310009002686, -0.1532365381717682, 0.20736899971961975, 0.013259023427963257, 0.5068830847740173, 0.5786464214324951, -0.04274939373135567, 0.04929589852690697, -0.13672149181365967, -0.09529419243335724, 0.2406860888004303, 0.1863725632429123, -0.31073853373527527, 0.08906098455190659, -0.30776524543762207, -0.0027245059609413147, -0.27036598324775696, 0.10643654316663742, -0.046076636761426926, -0.15882736444473267, -0.11586673557758331, 0.34341955184936523, 0.017645645886659622, -0.024769818410277367, -0.17479120194911957, 0.13964207470417023, 0.07995275408029556, 0.08477022498846054, -0.23839561641216278, -0.14227262139320374, -0.055948495864868164, -0.05815157666802406, 0.2963061034679413, 0.20919112861156464, -0.13544325530529022, -0.13227126002311707, -0.18669936060905457, -0.17998391389846802, 0.03781810402870178, 0.3818575441837311, 0.030940627679228783, 0.22100242972373962, 0.05332781374454498, -0.12089404463768005, 0.0482994019985199, -0.08126126974821091, 0.020984606817364693, -0.1482088267803192, -0.3249466121196747, 0.08695058524608612, -0.10312584042549133, 0.10575290024280548, -0.1629997342824936, -0.6487616300582886, -0.2168450653553009, -0.41866180300712585, 0.03963354974985123, -0.4388681948184967, 0.12117864191532135, 0.22505800426006317, 0.0629829540848732, 0.05850483849644661, 0.27164146304130554, -0.02835223264992237, -0.21665608882904053, 0.06495948135852814, 0.21965761482715607, -0.43212321400642395, -0.33795633912086487, -0.02744125947356224, -0.21124890446662903, 0.2289745807647705, 0.31651198863983154, -0.16667509078979492, 0.1623549908399582, -0.1919819712638855, 0.1345013678073883, -0.2208051085472107, -0.16386711597442627, 0.1068262830376625, -0.06722649186849594, 0.1582884043455124, -0.24656426906585693, -0.0783916637301445, 0.0894869938492775, 0.22845062613487244, 0.22369055449962616, 0.12219730764627457, 0.3835521638393402, -0.10176023840904236, 0.9449623227119446, 0.11890320479869843, 0.0725879892706871, 0.20309166610240936, -0.3179164230823517, -0.09851740300655365, -0.31215590238571167, -0.28631311655044556, 0.13145212829113007, 0.005903378129005432, -0.06315338611602783, 0.361647367477417, -0.049691177904605865, -0.14050211012363434, -0.18413867056369781, -0.13037346303462982, -0.3715832531452179, -0.4522322416305542, 0.21734635531902313, -0.19529291987419128, 0.012484081089496613, 0.0002987310290336609, 0.23892471194267273, 0.23188599944114685, -0.02060580998659134, -0.05313309282064438, 0.055763985961675644, 0.00449787825345993, -0.020337458699941635, 0.2890336215496063, 0.05726665258407593, -0.23642486333847046, 0.2143559604883194, 0.3185354471206665, 0.3282011151313782, -0.3593090772628784, 0.03126317262649536, 0.05883195251226425, 0.11739762127399445, 0.484328031539917, -0.40234965085983276, 0.09975330531597137, 0.04373269900679588, -0.023227885365486145, -0.10514971613883972, 0.023309577256441116, -0.21989649534225464, 0.1928936392068863, 0.17297150194644928, 0.15402856469154358, -0.06360425800085068, -0.1550544798374176, 0.06915423274040222, 0.24622154235839844, -0.03836304694414139, 0.04419702664017677, -0.18135614693164825, -0.22931984066963196, -0.04024812579154968, 0.20551756024360657, 0.2241627424955368, 0.23740780353546143, -0.29617083072662354, -0.24593231081962585, 0.023244496434926987, -0.4333518147468567, 0.11641641706228256, 0.11466600000858307, 0.2786257565021515, -0.16127288341522217, 0.33789563179016113, 0.21407924592494965, 0.19496998190879822, 0.44152817130088806, 0.6388198137283325, 0.011199474334716797, -0.25520026683807373, 0.18079227209091187, -0.46240830421447754, 0.23466303944587708, 0.2161591351032257, -0.23844198882579803, -0.12258058041334152, -0.10851995646953583, 0.05479372292757034, 0.2186233401298523, 0.10145864635705948, 0.17034092545509338, -0.12297322601079941, -0.5341936349868774, -0.20466072857379913, 0.059478309005498886, 0.09197352826595306, -0.15915445983409882, 0.6235204339027405, -0.14872920513153076, -0.47009924054145813, 0.1944872885942459, -0.09939206391572952, 0.8705652952194214, 0.15388800203800201, -0.15893279016017914, 0.24078741669654846, -0.021997708827257156, 0.040511392056941986, -0.20311202108860016, 0.17288033664226532, -0.22794416546821594, -0.3036109209060669, -0.17201395332813263, -0.2734322249889374, 0.06293661147356033, 0.21403327584266663, -0.43334245681762695, 0.27828410267829895, -0.35301846265792847, 0.10503692924976349, 0.05752294510602951, 0.19319386780261993, -0.15111997723579407, -0.11906729638576508, -0.029048506170511246, -0.0680815801024437, -0.14479979872703552, 0.3115079998970032, 0.059796325862407684, -0.17922313511371613, -0.34114399552345276, -0.17961829900741577, -0.24430562555789948, 0.5667403936386108, -0.4164481461048126, 0.11561494320631027, -0.058285925537347794, -0.39340269565582275, 0.5699027180671692, 0.16689015924930573, 0.1365584135055542, -0.04798031225800514, -0.12408064305782318, 0.27377086877822876, 0.07253780215978622, 0.11143438518047333, -0.27039384841918945, -0.1337144523859024, 0.34164947271347046, -0.02082364447414875, -0.2336478978395462, -0.18949559330940247, -0.16904008388519287, -0.13410642743110657, 0.3469104468822479, 0.031123928725719452, 0.23290331661701202, -0.3190172016620636, 0.09568293392658234, 0.06770522892475128, 0.057775575667619705, -0.20204542577266693, -0.0027489829808473587, 0.07176743447780609, -0.23069080710411072, 0.1526011824607849, 0.03383590281009674, -0.2979061007499695, -0.039039719849824905, 0.16188502311706543, 0.09564656019210815, 0.21161511540412903, 0.4129621088504791, 0.11252854764461517, 0.02711624652147293, -0.3922553062438965, -0.021467044949531555, 0.31643176078796387, -0.5181783437728882, 0.3202507197856903, -0.3282621204853058, 0.009367868304252625, -0.01879105344414711, 0.311271071434021, -0.19870668649673462, 0.19638118147850037, -0.18069609999656677, -0.5298678874969482, -0.03799742832779884, 0.0818607434630394, -0.10264474153518677, 0.02572687901556492, -0.1481635868549347, 0.01101107057183981, 0.03668517619371414, 0.013151518069207668, -0.09689931571483612, 0.26336076855659485, 0.048003047704696655, 0.022561032325029373, 0.09089495986700058, -0.08334725350141525, 0.44903191924095154, -0.11889354884624481, -0.06650983542203903, 0.1974065601825714, 0.1631087213754654, -0.07125653326511383, -0.33507081866264343, 0.18625430762767792, 0.03179033100605011, 0.10310528427362442, -0.1226646676659584, 0.04228803515434265, -0.3281293213367462, -0.046742554754018784, 0.3064427375793457, 0.12110216170549393, 0.0514141283929348, 0.15497536957263947, 0.2280934751033783, 0.05022120475769043, -0.5468911528587341, 0.3285960853099823, -0.16078802943229675, 0.3766472339630127, 0.06789331138134003, 0.39710745215415955, 0.10191144794225693, -0.04368823021650314, -0.2693968415260315, -0.12322834879159927, 0.06692982465028763, -0.1552238166332245, 0.13165616989135742, -0.1802821159362793, 0.11342079937458038, -0.28887563943862915, 0.270178884267807, 0.44123536348342896, 0.017055638134479523, -0.011727861128747463, 0.09737519919872284, 0.04662671685218811, -0.054871268570423126, 0.07893635332584381, 0.2849772274494171, -0.14375516772270203, 0.06741245090961456, 0.3903338313102722, 0.16028934717178345, 0.25740864872932434, -0.3931364417076111, -0.17208504676818848, 0.14642716944217682, 0.449346661567688, 0.40749940276145935, 0.32174891233444214, -0.14572325348854065, 0.3612251877784729, 0.08562908321619034, -0.21753467619419098, 0.13557253777980804, 0.1313772201538086, -0.296709269285202, 0.4023228883743286, 0.08734747767448425, 0.03192252665758133, 0.5215135216712952, -0.4135454297065735, 0.015388499945402145, 0.11117662489414215, -0.29827889800071716, -0.12241268903017044, -0.033526383340358734, 0.7208528518676758, -0.2679859399795532, -0.32697632908821106, -0.2590174078941345, 0.1734103113412857, -0.05860726535320282, 0.18549011647701263, -0.28981244564056396, -0.18737168610095978, -0.48070037364959717, 0.13532492518424988, 0.15411680936813354, 0.10985299944877625, 0.2737627923488617, 0.23670783638954163, -0.06875433027744293, -0.016003457829356194, 0.05388347804546356, 0.3345741629600525, 0.057825490832328796, -0.3171502649784088, 0.3268473446369171, -0.3899351954460144, -0.16274262964725494, 0.13586455583572388, 0.18300502002239227, 0.2511546313762665, 0.15423789620399475, -0.18644453585147858, -0.35647961497306824, 0.3993430435657501, -0.05824877321720123, 0.10746394097805023, 0.39223599433898926, 0.1277575045824051, 0.005185877904295921, 0.3786652982234955, 0.01571355201303959, -0.06196709722280502, -0.01694295182824135, 0.1961226910352707, 0.28729671239852905, -0.12060797214508057, 0.15217509865760803, -0.31180718541145325, -0.05712944269180298, -0.20053434371948242, -0.12690961360931396, -0.17029128968715668, 0.11967393010854721, 0.2951110899448395, -0.21516573429107666, 0.06958466023206711, -0.08060283213853836, -0.0271039679646492, 0.0425942987203598, 0.40792110562324524, 0.1431339532136917, 0.3454079329967499, -0.190281942486763, -0.23950769007205963, -0.2844799757003784, 0.13579978048801422, 0.005577810108661652, 0.07092314958572388, -0.17329515516757965, 0.10482084006071091, -0.15411311388015747, 0.297760009765625, 0.2586343288421631, 0.16808539628982544, 0.2503209114074707, 0.3897094428539276, -0.3675331771373749, -0.17821235954761505, 0.07602544873952866, 0.014551317319273949, -0.11060896515846252, -0.6791918873786926, 0.0019196420907974243, -0.05596494302153587, -0.20343515276908875, 0.07006720453500748, -0.35807669162750244, -0.0012203846126794815, -0.28047844767570496, 0.42276960611343384, 0.07962623983621597, 0.6066838502883911, 0.004680376499891281, 0.05044081062078476, 0.03711867332458496, -0.3336459994316101, -0.06653222441673279, 0.10076636075973511, 0.2222793996334076, 0.32762831449508667, 0.0668194442987442, 0.26965808868408203, -0.4006648659706116, 0.24399185180664062, 0.0781509205698967, 0.07310368865728378, -0.28359195590019226, 0.12177146226167679, -0.23077240586280823, 0.019159242510795593, 0.2420767992734909, 0.1706838607788086, -0.32965192198753357, -0.12715792655944824, -0.3445206880569458, -0.31215691566467285, 0.2182535082101822, -0.40151119232177734, -0.26417335867881775, -0.23185352981090546, 0.3347509503364563, 0.404564768075943, -0.29766178131103516, -0.41287320852279663, -0.12271851301193237, 0.21468394994735718, -0.38947179913520813, -0.016693633049726486, -0.0788128674030304, 0.24135100841522217, 0.0843241959810257, -0.06821665912866592, 0.3322105407714844, 0.21188664436340332, -0.24117809534072876, 0.15601857006549835, -0.13311198353767395 ]
https://github.com/huggingface/datasets/issues/6982
cannot split dataset when using load_dataset
Have you properly logged in? Are you using the a valid token? Note that this dataset is gated and you must follow the right procedure to be able to access it. You can find more info in the docs: https://huggingface.co/docs/hub/datasets-gated#access-gated-datasets-as-a-user
### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't happen in the google colab. I work for it for days, even I load the datasets from local path, it can Generating train split and validation split but bug happen again in test split. ### Steps to reproduce the bug from datasets import load_dataset, load_metric, Audio common_voice_train = load_dataset("mozilla-foundation/common_voice_7_0", "ja", split="train", token=selftoken, trust_remote_code=True) ### Expected behavior ``` { "name": "ValueError", "message": "Instruction \"train\" corresponds to no data!", "stack": "--------------------------------------------------------------------------- ValueError Traceback (most recent call last) Cell In[2], line 3 1 from datasets import load_dataset, load_metric, Audio ----> 3 common_voice_train = load_dataset(\"mozilla-foundation/common_voice_7_0\", \"ja\", split=\"train\",token='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')#,trust_remote_code=True)#,streaming=True) 4 common_voice_test = load_dataset(\"mozilla-foundation/common_voice_7_0\", \"ja\", split=\"test\",token='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')#,trust_remote_code=True)#,streaming=True) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\load.py:2626, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs) 2622 # Build dataset for splits 2623 keep_in_memory = ( 2624 keep_in_memory if keep_in_memory is not None else is_small_dataset(builder_instance.info.dataset_size) 2625 ) -> 2626 ds = builder_instance.as_dataset(split=split, verification_mode=verification_mode, in_memory=keep_in_memory) 2627 # Rename and cast features to match task schema 2628 if task is not None: 2629 # To avoid issuing the same warning twice File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1266, in DatasetBuilder.as_dataset(self, split, run_post_process, verification_mode, ignore_verifications, in_memory) 1263 verification_mode = VerificationMode(verification_mode or VerificationMode.BASIC_CHECKS) 1265 # Create a dataset for each of the given splits -> 1266 datasets = map_nested( 1267 partial( 1268 self._build_single_dataset, 1269 run_post_process=run_post_process, 1270 verification_mode=verification_mode, 1271 in_memory=in_memory, 1272 ), 1273 split, 1274 map_tuple=True, 1275 disable_tqdm=True, 1276 ) 1277 if isinstance(datasets, dict): 1278 datasets = DatasetDict(datasets) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\utils\\py_utils.py:484, in map_nested(function, data_struct, dict_only, map_list, map_tuple, map_numpy, num_proc, parallel_min_length, batched, batch_size, types, disable_tqdm, desc) 482 if batched: 483 data_struct = [data_struct] --> 484 mapped = function(data_struct) 485 if batched: 486 mapped = mapped[0] File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1296, in DatasetBuilder._build_single_dataset(self, split, run_post_process, verification_mode, in_memory) 1293 split = Split(split) 1295 # Build base dataset -> 1296 ds = self._as_dataset( 1297 split=split, 1298 in_memory=in_memory, 1299 ) 1300 if run_post_process: 1301 for resource_file_name in self._post_processing_resources(split).values(): File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1370, in DatasetBuilder._as_dataset(self, split, in_memory) 1368 if self._check_legacy_cache(): 1369 dataset_name = self.name -> 1370 dataset_kwargs = ArrowReader(cache_dir, self.info).read( 1371 name=dataset_name, 1372 instructions=split, 1373 split_infos=self.info.splits.values(), 1374 in_memory=in_memory, 1375 ) 1376 fingerprint = self._get_dataset_fingerprint(split) 1377 return Dataset(fingerprint=fingerprint, **dataset_kwargs) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\arrow_reader.py:256, in BaseReader.read(self, name, instructions, split_infos, in_memory) 254 msg = f'Instruction \"{instructions}\" corresponds to no data!' 255 #msg = f'Instruction \"{self._path}\",\"{name}\",\"{instructions}\",\"{split_infos}\" corresponds to no data!' --> 256 raise ValueError(msg) 257 return self.read_files(files=files, original_instructions=instructions, in_memory=in_memory) ValueError: Instruction \"train\" corresponds to no data!" } ``` ### Environment info Environment: python 3.9 windows 11 pro VScode+jupyter
40
cannot split dataset when using load_dataset ### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't happen in the google colab. I work for it for days, even I load the datasets from local path, it can Generating train split and validation split but bug happen again in test split. ### Steps to reproduce the bug from datasets import load_dataset, load_metric, Audio common_voice_train = load_dataset("mozilla-foundation/common_voice_7_0", "ja", split="train", token=selftoken, trust_remote_code=True) ### Expected behavior ``` { "name": "ValueError", "message": "Instruction \"train\" corresponds to no data!", "stack": "--------------------------------------------------------------------------- ValueError Traceback (most recent call last) Cell In[2], line 3 1 from datasets import load_dataset, load_metric, Audio ----> 3 common_voice_train = load_dataset(\"mozilla-foundation/common_voice_7_0\", \"ja\", split=\"train\",token='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')#,trust_remote_code=True)#,streaming=True) 4 common_voice_test = load_dataset(\"mozilla-foundation/common_voice_7_0\", \"ja\", split=\"test\",token='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')#,trust_remote_code=True)#,streaming=True) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\load.py:2626, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs) 2622 # Build dataset for splits 2623 keep_in_memory = ( 2624 keep_in_memory if keep_in_memory is not None else is_small_dataset(builder_instance.info.dataset_size) 2625 ) -> 2626 ds = builder_instance.as_dataset(split=split, verification_mode=verification_mode, in_memory=keep_in_memory) 2627 # Rename and cast features to match task schema 2628 if task is not None: 2629 # To avoid issuing the same warning twice File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1266, in DatasetBuilder.as_dataset(self, split, run_post_process, verification_mode, ignore_verifications, in_memory) 1263 verification_mode = VerificationMode(verification_mode or VerificationMode.BASIC_CHECKS) 1265 # Create a dataset for each of the given splits -> 1266 datasets = map_nested( 1267 partial( 1268 self._build_single_dataset, 1269 run_post_process=run_post_process, 1270 verification_mode=verification_mode, 1271 in_memory=in_memory, 1272 ), 1273 split, 1274 map_tuple=True, 1275 disable_tqdm=True, 1276 ) 1277 if isinstance(datasets, dict): 1278 datasets = DatasetDict(datasets) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\utils\\py_utils.py:484, in map_nested(function, data_struct, dict_only, map_list, map_tuple, map_numpy, num_proc, parallel_min_length, batched, batch_size, types, disable_tqdm, desc) 482 if batched: 483 data_struct = [data_struct] --> 484 mapped = function(data_struct) 485 if batched: 486 mapped = mapped[0] File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1296, in DatasetBuilder._build_single_dataset(self, split, run_post_process, verification_mode, in_memory) 1293 split = Split(split) 1295 # Build base dataset -> 1296 ds = self._as_dataset( 1297 split=split, 1298 in_memory=in_memory, 1299 ) 1300 if run_post_process: 1301 for resource_file_name in self._post_processing_resources(split).values(): File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1370, in DatasetBuilder._as_dataset(self, split, in_memory) 1368 if self._check_legacy_cache(): 1369 dataset_name = self.name -> 1370 dataset_kwargs = ArrowReader(cache_dir, self.info).read( 1371 name=dataset_name, 1372 instructions=split, 1373 split_infos=self.info.splits.values(), 1374 in_memory=in_memory, 1375 ) 1376 fingerprint = self._get_dataset_fingerprint(split) 1377 return Dataset(fingerprint=fingerprint, **dataset_kwargs) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\arrow_reader.py:256, in BaseReader.read(self, name, instructions, split_infos, in_memory) 254 msg = f'Instruction \"{instructions}\" corresponds to no data!' 255 #msg = f'Instruction \"{self._path}\",\"{name}\",\"{instructions}\",\"{split_infos}\" corresponds to no data!' --> 256 raise ValueError(msg) 257 return self.read_files(files=files, original_instructions=instructions, in_memory=in_memory) ValueError: Instruction \"train\" corresponds to no data!" } ``` ### Environment info Environment: python 3.9 windows 11 pro VScode+jupyter Have you properly logged in? Are you using the a valid token? Note that this dataset is gated and you must follow the right procedure to be able to access it. You can find more info in the docs: https://huggingface.co/docs/hub/datasets-gated#access-gated-datasets-as-a-user
[ -0.43590301275253296, -0.11846726387739182, 0.06690298020839691, 0.4242967963218689, 0.07286401838064194, -0.01437617838382721, 0.6111493706703186, 0.19691066443920135, 0.07344469428062439, 0.2537232041358948, -0.27349305152893066, 0.6136087775230408, 0.008373841643333435, -0.0278751440346241, -0.1914452463388443, -0.2696540057659149, -0.13180774450302124, 0.17994624376296997, -0.01070372760295868, -0.018533091992139816, -0.18366701900959015, 0.2854247987270355, -0.5143164396286011, -0.10639633238315582, -0.29520946741104126, -0.2847023904323578, 0.004779903218150139, 0.13622325658798218, -0.2191835194826126, -0.049498092383146286, 0.13795801997184753, -0.1104913204908371, -0.10277078300714493, 0.7210308313369751, -0.00012965980567969382, 0.04588878154754639, 0.38306725025177, -0.0038295872509479523, -0.304402619600296, -0.4024980664253235, -0.5093466639518738, 0.2546108663082123, 0.015130402520298958, -0.0027488023042678833, -0.0708468109369278, 0.09754342585802078, -0.219209223985672, -0.3776494860649109, 0.6760836839675903, 0.6832084655761719, 0.028857430443167686, -0.14821794629096985, -0.058521371334791183, -0.054836805909872055, 0.3954404294490814, 0.1589849889278412, -0.28421589732170105, 0.30708077549934387, 0.08073114603757858, 0.07288660109043121, -0.025565676391124725, 0.14513249695301056, 0.08818225562572479, 0.08465009182691574, -0.3058137595653534, 0.13589023053646088, -0.4941823482513428, -0.5299445390701294, 0.33105215430259705, 0.3330565392971039, 0.7214500308036804, -0.12015532702207565, -0.27153003215789795, -0.030455198138952255, 0.08844753354787827, -0.1302475929260254, 0.23796457052230835, 0.4855503737926483, -0.09643097221851349, 0.2231670618057251, -0.07015655934810638, -0.05721789970993996, -0.14116300642490387, 0.01577756553888321, -0.15244928002357483, 0.25421106815338135, -0.10074597597122192, 0.04909761995077133, 0.2804798483848572, 0.20700867474079132, 0.3283432126045227, -0.058770619332790375, -0.26585036516189575, 0.11575581133365631, -0.20322169363498688, 0.05014480650424957, -0.3882293105125427, -0.25065335631370544, 0.242118239402771, 0.049213625490665436, 0.2495783120393753, 0.005040477961301804, 0.02538267895579338, 0.06328663229942322, 0.23290607333183289, 0.16228316724300385, 0.1904352456331253, 0.3241488039493561, 0.3970840573310852, 0.29094961285591125, -0.2490062564611435, -0.031228363513946533, -0.08652599155902863, -0.22199229896068573, 0.04645474627614021, 0.2380029559135437, 0.1218326985836029, -0.2687464654445648, -0.31511470675468445, -0.1485118418931961, -0.45096954703330994, -0.12343189865350723, 0.09502808004617691, 0.3928453326225281, 0.03595216944813728, 0.060438357293605804, -0.12464701384305954, 0.4028199315071106, -0.1796194314956665, -0.43365123867988586, 0.0141396913677454, 0.04015793651342392, -0.41091853380203247, 0.22707638144493103, 0.20484602451324463, -0.0770547091960907, 0.13374675810337067, 0.09708085656166077, -0.04261709749698639, -0.39392325282096863, 0.0826335921883583, -0.48131275177001953, 0.062135472893714905, 0.1291811466217041, 0.34344157576560974, 0.04384712874889374, -0.1330513209104538, 0.0661938339471817, -0.049932099878787994, 0.1869848668575287, -0.32497426867485046, -0.22989203035831451, 0.03392273187637329, 0.033479806035757065, -0.04372794181108475, 0.2095014601945877, -0.5597481727600098, 0.12249524891376495, 0.2614443898200989, -0.06267981231212616, 0.044995177537202835, -0.12681281566619873, -0.5780050158500671, -0.10998889803886414, 0.3356653153896332, 0.45774394273757935, -0.37300723791122437, 0.0031678974628448486, -0.35618355870246887, 0.09219154715538025, 0.3136148154735565, 0.2614591419696808, -0.17323677241802216, 0.34376800060272217, -0.3178371787071228, 0.4055582880973816, 0.6252219676971436, -0.16307857632637024, -0.5944353342056274, 0.3220120966434479, 0.019524745643138885, 0.03611709922552109, 0.12129878997802734, -0.4048471450805664, 0.09000828117132187, 0.196326345205307, 0.20601993799209595, 0.44425350427627563, -0.1511477530002594, 0.0560431033372879, -0.21254821121692657, -0.22447848320007324, 0.20252378284931183, 0.03777579590678215, 0.2641766369342804, 0.22101792693138123, 0.30433088541030884, -0.13971389830112457, 0.39092788100242615, -0.1531798541545868, 0.1132006049156189, 0.14511436223983765, 0.417178213596344, -0.34799402952194214, 0.15565533936023712, -0.21211707592010498, -0.5156019330024719, 0.15979385375976562, 0.013798374682664871, -0.03805643320083618, -0.12910214066505432, -0.1478208601474762, -0.4488116502761841, -0.141920804977417, -0.2975391745567322, -0.1824549287557602, -0.12267975509166718, 0.026052314788103104, 0.09880882501602173, 0.048077043145895004, 0.01373979076743126, 0.5023484826087952, -0.01049824059009552, 0.24459248781204224, -0.19125744700431824, 0.6313557028770447, -0.02432882972061634, -0.20853309333324432, 0.051796019077301025, 0.04688001796603203, 0.1624354124069214, -0.09553442150354385, -0.34351491928100586, 0.2683955729007721, 0.5038136839866638, 0.20670175552368164, -0.11663231998682022, -0.3209340572357178, 0.37861672043800354, -0.6249166131019592, 0.015848025679588318, -0.017489321529865265, 0.18704445660114288, -0.010025206953287125, -0.030026324093341827, 0.26488208770751953, -0.029672224074602127, 0.2617883086204529, -0.008886806666851044, 0.11403655260801315, 0.07180313766002655, -0.12525898218154907, 0.14373250305652618, -0.09108000248670578, -0.03183498606085777, -0.13885988295078278, 0.3551005423069, -0.05936962366104126, -0.2782735228538513, 0.21288727223873138, 0.6779116988182068, 0.09623044729232788, 0.18053145706653595, 0.05602683499455452, -0.07575827091932297, -0.19296833872795105, 0.11956483125686646, 0.25537678599357605, 0.5258784890174866, -0.001183238229714334, 0.1051613837480545, 0.09363267570734024, 0.26782310009002686, -0.1532365381717682, 0.20736899971961975, 0.013259023427963257, 0.5068830847740173, 0.5786464214324951, -0.04274939373135567, 0.04929589852690697, -0.13672149181365967, -0.09529419243335724, 0.2406860888004303, 0.1863725632429123, -0.31073853373527527, 0.08906098455190659, -0.30776524543762207, -0.0027245059609413147, -0.27036598324775696, 0.10643654316663742, -0.046076636761426926, -0.15882736444473267, -0.11586673557758331, 0.34341955184936523, 0.017645645886659622, -0.024769818410277367, -0.17479120194911957, 0.13964207470417023, 0.07995275408029556, 0.08477022498846054, -0.23839561641216278, -0.14227262139320374, -0.055948495864868164, -0.05815157666802406, 0.2963061034679413, 0.20919112861156464, -0.13544325530529022, -0.13227126002311707, -0.18669936060905457, -0.17998391389846802, 0.03781810402870178, 0.3818575441837311, 0.030940627679228783, 0.22100242972373962, 0.05332781374454498, -0.12089404463768005, 0.0482994019985199, -0.08126126974821091, 0.020984606817364693, -0.1482088267803192, -0.3249466121196747, 0.08695058524608612, -0.10312584042549133, 0.10575290024280548, -0.1629997342824936, -0.6487616300582886, -0.2168450653553009, -0.41866180300712585, 0.03963354974985123, -0.4388681948184967, 0.12117864191532135, 0.22505800426006317, 0.0629829540848732, 0.05850483849644661, 0.27164146304130554, -0.02835223264992237, -0.21665608882904053, 0.06495948135852814, 0.21965761482715607, -0.43212321400642395, -0.33795633912086487, -0.02744125947356224, -0.21124890446662903, 0.2289745807647705, 0.31651198863983154, -0.16667509078979492, 0.1623549908399582, -0.1919819712638855, 0.1345013678073883, -0.2208051085472107, -0.16386711597442627, 0.1068262830376625, -0.06722649186849594, 0.1582884043455124, -0.24656426906585693, -0.0783916637301445, 0.0894869938492775, 0.22845062613487244, 0.22369055449962616, 0.12219730764627457, 0.3835521638393402, -0.10176023840904236, 0.9449623227119446, 0.11890320479869843, 0.0725879892706871, 0.20309166610240936, -0.3179164230823517, -0.09851740300655365, -0.31215590238571167, -0.28631311655044556, 0.13145212829113007, 0.005903378129005432, -0.06315338611602783, 0.361647367477417, -0.049691177904605865, -0.14050211012363434, -0.18413867056369781, -0.13037346303462982, -0.3715832531452179, -0.4522322416305542, 0.21734635531902313, -0.19529291987419128, 0.012484081089496613, 0.0002987310290336609, 0.23892471194267273, 0.23188599944114685, -0.02060580998659134, -0.05313309282064438, 0.055763985961675644, 0.00449787825345993, -0.020337458699941635, 0.2890336215496063, 0.05726665258407593, -0.23642486333847046, 0.2143559604883194, 0.3185354471206665, 0.3282011151313782, -0.3593090772628784, 0.03126317262649536, 0.05883195251226425, 0.11739762127399445, 0.484328031539917, -0.40234965085983276, 0.09975330531597137, 0.04373269900679588, -0.023227885365486145, -0.10514971613883972, 0.023309577256441116, -0.21989649534225464, 0.1928936392068863, 0.17297150194644928, 0.15402856469154358, -0.06360425800085068, -0.1550544798374176, 0.06915423274040222, 0.24622154235839844, -0.03836304694414139, 0.04419702664017677, -0.18135614693164825, -0.22931984066963196, -0.04024812579154968, 0.20551756024360657, 0.2241627424955368, 0.23740780353546143, -0.29617083072662354, -0.24593231081962585, 0.023244496434926987, -0.4333518147468567, 0.11641641706228256, 0.11466600000858307, 0.2786257565021515, -0.16127288341522217, 0.33789563179016113, 0.21407924592494965, 0.19496998190879822, 0.44152817130088806, 0.6388198137283325, 0.011199474334716797, -0.25520026683807373, 0.18079227209091187, -0.46240830421447754, 0.23466303944587708, 0.2161591351032257, -0.23844198882579803, -0.12258058041334152, -0.10851995646953583, 0.05479372292757034, 0.2186233401298523, 0.10145864635705948, 0.17034092545509338, -0.12297322601079941, -0.5341936349868774, -0.20466072857379913, 0.059478309005498886, 0.09197352826595306, -0.15915445983409882, 0.6235204339027405, -0.14872920513153076, -0.47009924054145813, 0.1944872885942459, -0.09939206391572952, 0.8705652952194214, 0.15388800203800201, -0.15893279016017914, 0.24078741669654846, -0.021997708827257156, 0.040511392056941986, -0.20311202108860016, 0.17288033664226532, -0.22794416546821594, -0.3036109209060669, -0.17201395332813263, -0.2734322249889374, 0.06293661147356033, 0.21403327584266663, -0.43334245681762695, 0.27828410267829895, -0.35301846265792847, 0.10503692924976349, 0.05752294510602951, 0.19319386780261993, -0.15111997723579407, -0.11906729638576508, -0.029048506170511246, -0.0680815801024437, -0.14479979872703552, 0.3115079998970032, 0.059796325862407684, -0.17922313511371613, -0.34114399552345276, -0.17961829900741577, -0.24430562555789948, 0.5667403936386108, -0.4164481461048126, 0.11561494320631027, -0.058285925537347794, -0.39340269565582275, 0.5699027180671692, 0.16689015924930573, 0.1365584135055542, -0.04798031225800514, -0.12408064305782318, 0.27377086877822876, 0.07253780215978622, 0.11143438518047333, -0.27039384841918945, -0.1337144523859024, 0.34164947271347046, -0.02082364447414875, -0.2336478978395462, -0.18949559330940247, -0.16904008388519287, -0.13410642743110657, 0.3469104468822479, 0.031123928725719452, 0.23290331661701202, -0.3190172016620636, 0.09568293392658234, 0.06770522892475128, 0.057775575667619705, -0.20204542577266693, -0.0027489829808473587, 0.07176743447780609, -0.23069080710411072, 0.1526011824607849, 0.03383590281009674, -0.2979061007499695, -0.039039719849824905, 0.16188502311706543, 0.09564656019210815, 0.21161511540412903, 0.4129621088504791, 0.11252854764461517, 0.02711624652147293, -0.3922553062438965, -0.021467044949531555, 0.31643176078796387, -0.5181783437728882, 0.3202507197856903, -0.3282621204853058, 0.009367868304252625, -0.01879105344414711, 0.311271071434021, -0.19870668649673462, 0.19638118147850037, -0.18069609999656677, -0.5298678874969482, -0.03799742832779884, 0.0818607434630394, -0.10264474153518677, 0.02572687901556492, -0.1481635868549347, 0.01101107057183981, 0.03668517619371414, 0.013151518069207668, -0.09689931571483612, 0.26336076855659485, 0.048003047704696655, 0.022561032325029373, 0.09089495986700058, -0.08334725350141525, 0.44903191924095154, -0.11889354884624481, -0.06650983542203903, 0.1974065601825714, 0.1631087213754654, -0.07125653326511383, -0.33507081866264343, 0.18625430762767792, 0.03179033100605011, 0.10310528427362442, -0.1226646676659584, 0.04228803515434265, -0.3281293213367462, -0.046742554754018784, 0.3064427375793457, 0.12110216170549393, 0.0514141283929348, 0.15497536957263947, 0.2280934751033783, 0.05022120475769043, -0.5468911528587341, 0.3285960853099823, -0.16078802943229675, 0.3766472339630127, 0.06789331138134003, 0.39710745215415955, 0.10191144794225693, -0.04368823021650314, -0.2693968415260315, -0.12322834879159927, 0.06692982465028763, -0.1552238166332245, 0.13165616989135742, -0.1802821159362793, 0.11342079937458038, -0.28887563943862915, 0.270178884267807, 0.44123536348342896, 0.017055638134479523, -0.011727861128747463, 0.09737519919872284, 0.04662671685218811, -0.054871268570423126, 0.07893635332584381, 0.2849772274494171, -0.14375516772270203, 0.06741245090961456, 0.3903338313102722, 0.16028934717178345, 0.25740864872932434, -0.3931364417076111, -0.17208504676818848, 0.14642716944217682, 0.449346661567688, 0.40749940276145935, 0.32174891233444214, -0.14572325348854065, 0.3612251877784729, 0.08562908321619034, -0.21753467619419098, 0.13557253777980804, 0.1313772201538086, -0.296709269285202, 0.4023228883743286, 0.08734747767448425, 0.03192252665758133, 0.5215135216712952, -0.4135454297065735, 0.015388499945402145, 0.11117662489414215, -0.29827889800071716, -0.12241268903017044, -0.033526383340358734, 0.7208528518676758, -0.2679859399795532, -0.32697632908821106, -0.2590174078941345, 0.1734103113412857, -0.05860726535320282, 0.18549011647701263, -0.28981244564056396, -0.18737168610095978, -0.48070037364959717, 0.13532492518424988, 0.15411680936813354, 0.10985299944877625, 0.2737627923488617, 0.23670783638954163, -0.06875433027744293, -0.016003457829356194, 0.05388347804546356, 0.3345741629600525, 0.057825490832328796, -0.3171502649784088, 0.3268473446369171, -0.3899351954460144, -0.16274262964725494, 0.13586455583572388, 0.18300502002239227, 0.2511546313762665, 0.15423789620399475, -0.18644453585147858, -0.35647961497306824, 0.3993430435657501, -0.05824877321720123, 0.10746394097805023, 0.39223599433898926, 0.1277575045824051, 0.005185877904295921, 0.3786652982234955, 0.01571355201303959, -0.06196709722280502, -0.01694295182824135, 0.1961226910352707, 0.28729671239852905, -0.12060797214508057, 0.15217509865760803, -0.31180718541145325, -0.05712944269180298, -0.20053434371948242, -0.12690961360931396, -0.17029128968715668, 0.11967393010854721, 0.2951110899448395, -0.21516573429107666, 0.06958466023206711, -0.08060283213853836, -0.0271039679646492, 0.0425942987203598, 0.40792110562324524, 0.1431339532136917, 0.3454079329967499, -0.190281942486763, -0.23950769007205963, -0.2844799757003784, 0.13579978048801422, 0.005577810108661652, 0.07092314958572388, -0.17329515516757965, 0.10482084006071091, -0.15411311388015747, 0.297760009765625, 0.2586343288421631, 0.16808539628982544, 0.2503209114074707, 0.3897094428539276, -0.3675331771373749, -0.17821235954761505, 0.07602544873952866, 0.014551317319273949, -0.11060896515846252, -0.6791918873786926, 0.0019196420907974243, -0.05596494302153587, -0.20343515276908875, 0.07006720453500748, -0.35807669162750244, -0.0012203846126794815, -0.28047844767570496, 0.42276960611343384, 0.07962623983621597, 0.6066838502883911, 0.004680376499891281, 0.05044081062078476, 0.03711867332458496, -0.3336459994316101, -0.06653222441673279, 0.10076636075973511, 0.2222793996334076, 0.32762831449508667, 0.0668194442987442, 0.26965808868408203, -0.4006648659706116, 0.24399185180664062, 0.0781509205698967, 0.07310368865728378, -0.28359195590019226, 0.12177146226167679, -0.23077240586280823, 0.019159242510795593, 0.2420767992734909, 0.1706838607788086, -0.32965192198753357, -0.12715792655944824, -0.3445206880569458, -0.31215691566467285, 0.2182535082101822, -0.40151119232177734, -0.26417335867881775, -0.23185352981090546, 0.3347509503364563, 0.404564768075943, -0.29766178131103516, -0.41287320852279663, -0.12271851301193237, 0.21468394994735718, -0.38947179913520813, -0.016693633049726486, -0.0788128674030304, 0.24135100841522217, 0.0843241959810257, -0.06821665912866592, 0.3322105407714844, 0.21188664436340332, -0.24117809534072876, 0.15601857006549835, -0.13311198353767395 ]
https://github.com/huggingface/datasets/issues/6982
cannot split dataset when using load_dataset
> Have you properly logged in? Are you using the a valid token? > > Note that this dataset is gated and you must follow the right procedure to be able to access it. You can find more info in the docs: https://huggingface.co/docs/hub/datasets-gated#access-gated-datasets-as-a-user I finally found it what happened. It is not about the logging. When I copy the dataset from its original path (C:/Users/cybes/.cache/huggingface/datasets/downloads/extracted/XXX/cv-corpus-7.0-2021-07-21) to the desktop and load each tsv in it one by one , when I load the test spilt, the following warning occurs: "ArrowInvalid: Failed to parse string: 'Benchmark' as a scalar of type double" Then I manually deleted them in the "segment", the error won't happen anymore, even I replace the original path with these revised tsv and use the previous loading method (common_voice_train = load_dataset("mozilla-foundation/common_voice_7_0", "ja", split="train", trust_remote_code=True)). It can work properly.
### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't happen in the google colab. I work for it for days, even I load the datasets from local path, it can Generating train split and validation split but bug happen again in test split. ### Steps to reproduce the bug from datasets import load_dataset, load_metric, Audio common_voice_train = load_dataset("mozilla-foundation/common_voice_7_0", "ja", split="train", token=selftoken, trust_remote_code=True) ### Expected behavior ``` { "name": "ValueError", "message": "Instruction \"train\" corresponds to no data!", "stack": "--------------------------------------------------------------------------- ValueError Traceback (most recent call last) Cell In[2], line 3 1 from datasets import load_dataset, load_metric, Audio ----> 3 common_voice_train = load_dataset(\"mozilla-foundation/common_voice_7_0\", \"ja\", split=\"train\",token='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')#,trust_remote_code=True)#,streaming=True) 4 common_voice_test = load_dataset(\"mozilla-foundation/common_voice_7_0\", \"ja\", split=\"test\",token='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')#,trust_remote_code=True)#,streaming=True) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\load.py:2626, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs) 2622 # Build dataset for splits 2623 keep_in_memory = ( 2624 keep_in_memory if keep_in_memory is not None else is_small_dataset(builder_instance.info.dataset_size) 2625 ) -> 2626 ds = builder_instance.as_dataset(split=split, verification_mode=verification_mode, in_memory=keep_in_memory) 2627 # Rename and cast features to match task schema 2628 if task is not None: 2629 # To avoid issuing the same warning twice File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1266, in DatasetBuilder.as_dataset(self, split, run_post_process, verification_mode, ignore_verifications, in_memory) 1263 verification_mode = VerificationMode(verification_mode or VerificationMode.BASIC_CHECKS) 1265 # Create a dataset for each of the given splits -> 1266 datasets = map_nested( 1267 partial( 1268 self._build_single_dataset, 1269 run_post_process=run_post_process, 1270 verification_mode=verification_mode, 1271 in_memory=in_memory, 1272 ), 1273 split, 1274 map_tuple=True, 1275 disable_tqdm=True, 1276 ) 1277 if isinstance(datasets, dict): 1278 datasets = DatasetDict(datasets) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\utils\\py_utils.py:484, in map_nested(function, data_struct, dict_only, map_list, map_tuple, map_numpy, num_proc, parallel_min_length, batched, batch_size, types, disable_tqdm, desc) 482 if batched: 483 data_struct = [data_struct] --> 484 mapped = function(data_struct) 485 if batched: 486 mapped = mapped[0] File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1296, in DatasetBuilder._build_single_dataset(self, split, run_post_process, verification_mode, in_memory) 1293 split = Split(split) 1295 # Build base dataset -> 1296 ds = self._as_dataset( 1297 split=split, 1298 in_memory=in_memory, 1299 ) 1300 if run_post_process: 1301 for resource_file_name in self._post_processing_resources(split).values(): File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1370, in DatasetBuilder._as_dataset(self, split, in_memory) 1368 if self._check_legacy_cache(): 1369 dataset_name = self.name -> 1370 dataset_kwargs = ArrowReader(cache_dir, self.info).read( 1371 name=dataset_name, 1372 instructions=split, 1373 split_infos=self.info.splits.values(), 1374 in_memory=in_memory, 1375 ) 1376 fingerprint = self._get_dataset_fingerprint(split) 1377 return Dataset(fingerprint=fingerprint, **dataset_kwargs) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\arrow_reader.py:256, in BaseReader.read(self, name, instructions, split_infos, in_memory) 254 msg = f'Instruction \"{instructions}\" corresponds to no data!' 255 #msg = f'Instruction \"{self._path}\",\"{name}\",\"{instructions}\",\"{split_infos}\" corresponds to no data!' --> 256 raise ValueError(msg) 257 return self.read_files(files=files, original_instructions=instructions, in_memory=in_memory) ValueError: Instruction \"train\" corresponds to no data!" } ``` ### Environment info Environment: python 3.9 windows 11 pro VScode+jupyter
139
cannot split dataset when using load_dataset ### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't happen in the google colab. I work for it for days, even I load the datasets from local path, it can Generating train split and validation split but bug happen again in test split. ### Steps to reproduce the bug from datasets import load_dataset, load_metric, Audio common_voice_train = load_dataset("mozilla-foundation/common_voice_7_0", "ja", split="train", token=selftoken, trust_remote_code=True) ### Expected behavior ``` { "name": "ValueError", "message": "Instruction \"train\" corresponds to no data!", "stack": "--------------------------------------------------------------------------- ValueError Traceback (most recent call last) Cell In[2], line 3 1 from datasets import load_dataset, load_metric, Audio ----> 3 common_voice_train = load_dataset(\"mozilla-foundation/common_voice_7_0\", \"ja\", split=\"train\",token='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')#,trust_remote_code=True)#,streaming=True) 4 common_voice_test = load_dataset(\"mozilla-foundation/common_voice_7_0\", \"ja\", split=\"test\",token='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')#,trust_remote_code=True)#,streaming=True) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\load.py:2626, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs) 2622 # Build dataset for splits 2623 keep_in_memory = ( 2624 keep_in_memory if keep_in_memory is not None else is_small_dataset(builder_instance.info.dataset_size) 2625 ) -> 2626 ds = builder_instance.as_dataset(split=split, verification_mode=verification_mode, in_memory=keep_in_memory) 2627 # Rename and cast features to match task schema 2628 if task is not None: 2629 # To avoid issuing the same warning twice File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1266, in DatasetBuilder.as_dataset(self, split, run_post_process, verification_mode, ignore_verifications, in_memory) 1263 verification_mode = VerificationMode(verification_mode or VerificationMode.BASIC_CHECKS) 1265 # Create a dataset for each of the given splits -> 1266 datasets = map_nested( 1267 partial( 1268 self._build_single_dataset, 1269 run_post_process=run_post_process, 1270 verification_mode=verification_mode, 1271 in_memory=in_memory, 1272 ), 1273 split, 1274 map_tuple=True, 1275 disable_tqdm=True, 1276 ) 1277 if isinstance(datasets, dict): 1278 datasets = DatasetDict(datasets) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\utils\\py_utils.py:484, in map_nested(function, data_struct, dict_only, map_list, map_tuple, map_numpy, num_proc, parallel_min_length, batched, batch_size, types, disable_tqdm, desc) 482 if batched: 483 data_struct = [data_struct] --> 484 mapped = function(data_struct) 485 if batched: 486 mapped = mapped[0] File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1296, in DatasetBuilder._build_single_dataset(self, split, run_post_process, verification_mode, in_memory) 1293 split = Split(split) 1295 # Build base dataset -> 1296 ds = self._as_dataset( 1297 split=split, 1298 in_memory=in_memory, 1299 ) 1300 if run_post_process: 1301 for resource_file_name in self._post_processing_resources(split).values(): File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\builder.py:1370, in DatasetBuilder._as_dataset(self, split, in_memory) 1368 if self._check_legacy_cache(): 1369 dataset_name = self.name -> 1370 dataset_kwargs = ArrowReader(cache_dir, self.info).read( 1371 name=dataset_name, 1372 instructions=split, 1373 split_infos=self.info.splits.values(), 1374 in_memory=in_memory, 1375 ) 1376 fingerprint = self._get_dataset_fingerprint(split) 1377 return Dataset(fingerprint=fingerprint, **dataset_kwargs) File c:\\Users\\cybes\\.conda\\envs\\ECoG\\lib\\site-packages\\datasets\\arrow_reader.py:256, in BaseReader.read(self, name, instructions, split_infos, in_memory) 254 msg = f'Instruction \"{instructions}\" corresponds to no data!' 255 #msg = f'Instruction \"{self._path}\",\"{name}\",\"{instructions}\",\"{split_infos}\" corresponds to no data!' --> 256 raise ValueError(msg) 257 return self.read_files(files=files, original_instructions=instructions, in_memory=in_memory) ValueError: Instruction \"train\" corresponds to no data!" } ``` ### Environment info Environment: python 3.9 windows 11 pro VScode+jupyter > Have you properly logged in? Are you using the a valid token? > > Note that this dataset is gated and you must follow the right procedure to be able to access it. You can find more info in the docs: https://huggingface.co/docs/hub/datasets-gated#access-gated-datasets-as-a-user I finally found it what happened. It is not about the logging. When I copy the dataset from its original path (C:/Users/cybes/.cache/huggingface/datasets/downloads/extracted/XXX/cv-corpus-7.0-2021-07-21) to the desktop and load each tsv in it one by one , when I load the test spilt, the following warning occurs: "ArrowInvalid: Failed to parse string: 'Benchmark' as a scalar of type double" Then I manually deleted them in the "segment", the error won't happen anymore, even I replace the original path with these revised tsv and use the previous loading method (common_voice_train = load_dataset("mozilla-foundation/common_voice_7_0", "ja", split="train", trust_remote_code=True)). It can work properly.
[ -0.43590301275253296, -0.11846726387739182, 0.06690298020839691, 0.4242967963218689, 0.07286401838064194, -0.01437617838382721, 0.6111493706703186, 0.19691066443920135, 0.07344469428062439, 0.2537232041358948, -0.27349305152893066, 0.6136087775230408, 0.008373841643333435, -0.0278751440346241, -0.1914452463388443, -0.2696540057659149, -0.13180774450302124, 0.17994624376296997, -0.01070372760295868, -0.018533091992139816, -0.18366701900959015, 0.2854247987270355, -0.5143164396286011, -0.10639633238315582, -0.29520946741104126, -0.2847023904323578, 0.004779903218150139, 0.13622325658798218, -0.2191835194826126, -0.049498092383146286, 0.13795801997184753, -0.1104913204908371, -0.10277078300714493, 0.7210308313369751, -0.00012965980567969382, 0.04588878154754639, 0.38306725025177, -0.0038295872509479523, -0.304402619600296, -0.4024980664253235, -0.5093466639518738, 0.2546108663082123, 0.015130402520298958, -0.0027488023042678833, -0.0708468109369278, 0.09754342585802078, -0.219209223985672, -0.3776494860649109, 0.6760836839675903, 0.6832084655761719, 0.028857430443167686, -0.14821794629096985, -0.058521371334791183, -0.054836805909872055, 0.3954404294490814, 0.1589849889278412, -0.28421589732170105, 0.30708077549934387, 0.08073114603757858, 0.07288660109043121, -0.025565676391124725, 0.14513249695301056, 0.08818225562572479, 0.08465009182691574, -0.3058137595653534, 0.13589023053646088, -0.4941823482513428, -0.5299445390701294, 0.33105215430259705, 0.3330565392971039, 0.7214500308036804, -0.12015532702207565, -0.27153003215789795, -0.030455198138952255, 0.08844753354787827, -0.1302475929260254, 0.23796457052230835, 0.4855503737926483, -0.09643097221851349, 0.2231670618057251, -0.07015655934810638, -0.05721789970993996, -0.14116300642490387, 0.01577756553888321, -0.15244928002357483, 0.25421106815338135, -0.10074597597122192, 0.04909761995077133, 0.2804798483848572, 0.20700867474079132, 0.3283432126045227, -0.058770619332790375, -0.26585036516189575, 0.11575581133365631, -0.20322169363498688, 0.05014480650424957, -0.3882293105125427, -0.25065335631370544, 0.242118239402771, 0.049213625490665436, 0.2495783120393753, 0.005040477961301804, 0.02538267895579338, 0.06328663229942322, 0.23290607333183289, 0.16228316724300385, 0.1904352456331253, 0.3241488039493561, 0.3970840573310852, 0.29094961285591125, -0.2490062564611435, -0.031228363513946533, -0.08652599155902863, -0.22199229896068573, 0.04645474627614021, 0.2380029559135437, 0.1218326985836029, -0.2687464654445648, -0.31511470675468445, -0.1485118418931961, -0.45096954703330994, -0.12343189865350723, 0.09502808004617691, 0.3928453326225281, 0.03595216944813728, 0.060438357293605804, -0.12464701384305954, 0.4028199315071106, -0.1796194314956665, -0.43365123867988586, 0.0141396913677454, 0.04015793651342392, -0.41091853380203247, 0.22707638144493103, 0.20484602451324463, -0.0770547091960907, 0.13374675810337067, 0.09708085656166077, -0.04261709749698639, -0.39392325282096863, 0.0826335921883583, -0.48131275177001953, 0.062135472893714905, 0.1291811466217041, 0.34344157576560974, 0.04384712874889374, -0.1330513209104538, 0.0661938339471817, -0.049932099878787994, 0.1869848668575287, -0.32497426867485046, -0.22989203035831451, 0.03392273187637329, 0.033479806035757065, -0.04372794181108475, 0.2095014601945877, -0.5597481727600098, 0.12249524891376495, 0.2614443898200989, -0.06267981231212616, 0.044995177537202835, -0.12681281566619873, -0.5780050158500671, -0.10998889803886414, 0.3356653153896332, 0.45774394273757935, -0.37300723791122437, 0.0031678974628448486, -0.35618355870246887, 0.09219154715538025, 0.3136148154735565, 0.2614591419696808, -0.17323677241802216, 0.34376800060272217, -0.3178371787071228, 0.4055582880973816, 0.6252219676971436, -0.16307857632637024, -0.5944353342056274, 0.3220120966434479, 0.019524745643138885, 0.03611709922552109, 0.12129878997802734, -0.4048471450805664, 0.09000828117132187, 0.196326345205307, 0.20601993799209595, 0.44425350427627563, -0.1511477530002594, 0.0560431033372879, -0.21254821121692657, -0.22447848320007324, 0.20252378284931183, 0.03777579590678215, 0.2641766369342804, 0.22101792693138123, 0.30433088541030884, -0.13971389830112457, 0.39092788100242615, -0.1531798541545868, 0.1132006049156189, 0.14511436223983765, 0.417178213596344, -0.34799402952194214, 0.15565533936023712, -0.21211707592010498, -0.5156019330024719, 0.15979385375976562, 0.013798374682664871, -0.03805643320083618, -0.12910214066505432, -0.1478208601474762, -0.4488116502761841, -0.141920804977417, -0.2975391745567322, -0.1824549287557602, -0.12267975509166718, 0.026052314788103104, 0.09880882501602173, 0.048077043145895004, 0.01373979076743126, 0.5023484826087952, -0.01049824059009552, 0.24459248781204224, -0.19125744700431824, 0.6313557028770447, -0.02432882972061634, -0.20853309333324432, 0.051796019077301025, 0.04688001796603203, 0.1624354124069214, -0.09553442150354385, -0.34351491928100586, 0.2683955729007721, 0.5038136839866638, 0.20670175552368164, -0.11663231998682022, -0.3209340572357178, 0.37861672043800354, -0.6249166131019592, 0.015848025679588318, -0.017489321529865265, 0.18704445660114288, -0.010025206953287125, -0.030026324093341827, 0.26488208770751953, -0.029672224074602127, 0.2617883086204529, -0.008886806666851044, 0.11403655260801315, 0.07180313766002655, -0.12525898218154907, 0.14373250305652618, -0.09108000248670578, -0.03183498606085777, -0.13885988295078278, 0.3551005423069, -0.05936962366104126, -0.2782735228538513, 0.21288727223873138, 0.6779116988182068, 0.09623044729232788, 0.18053145706653595, 0.05602683499455452, -0.07575827091932297, -0.19296833872795105, 0.11956483125686646, 0.25537678599357605, 0.5258784890174866, -0.001183238229714334, 0.1051613837480545, 0.09363267570734024, 0.26782310009002686, -0.1532365381717682, 0.20736899971961975, 0.013259023427963257, 0.5068830847740173, 0.5786464214324951, -0.04274939373135567, 0.04929589852690697, -0.13672149181365967, -0.09529419243335724, 0.2406860888004303, 0.1863725632429123, -0.31073853373527527, 0.08906098455190659, -0.30776524543762207, -0.0027245059609413147, -0.27036598324775696, 0.10643654316663742, -0.046076636761426926, -0.15882736444473267, -0.11586673557758331, 0.34341955184936523, 0.017645645886659622, -0.024769818410277367, -0.17479120194911957, 0.13964207470417023, 0.07995275408029556, 0.08477022498846054, -0.23839561641216278, -0.14227262139320374, -0.055948495864868164, -0.05815157666802406, 0.2963061034679413, 0.20919112861156464, -0.13544325530529022, -0.13227126002311707, -0.18669936060905457, -0.17998391389846802, 0.03781810402870178, 0.3818575441837311, 0.030940627679228783, 0.22100242972373962, 0.05332781374454498, -0.12089404463768005, 0.0482994019985199, -0.08126126974821091, 0.020984606817364693, -0.1482088267803192, -0.3249466121196747, 0.08695058524608612, -0.10312584042549133, 0.10575290024280548, -0.1629997342824936, -0.6487616300582886, -0.2168450653553009, -0.41866180300712585, 0.03963354974985123, -0.4388681948184967, 0.12117864191532135, 0.22505800426006317, 0.0629829540848732, 0.05850483849644661, 0.27164146304130554, -0.02835223264992237, -0.21665608882904053, 0.06495948135852814, 0.21965761482715607, -0.43212321400642395, -0.33795633912086487, -0.02744125947356224, -0.21124890446662903, 0.2289745807647705, 0.31651198863983154, -0.16667509078979492, 0.1623549908399582, -0.1919819712638855, 0.1345013678073883, -0.2208051085472107, -0.16386711597442627, 0.1068262830376625, -0.06722649186849594, 0.1582884043455124, -0.24656426906585693, -0.0783916637301445, 0.0894869938492775, 0.22845062613487244, 0.22369055449962616, 0.12219730764627457, 0.3835521638393402, -0.10176023840904236, 0.9449623227119446, 0.11890320479869843, 0.0725879892706871, 0.20309166610240936, -0.3179164230823517, -0.09851740300655365, -0.31215590238571167, -0.28631311655044556, 0.13145212829113007, 0.005903378129005432, -0.06315338611602783, 0.361647367477417, -0.049691177904605865, -0.14050211012363434, -0.18413867056369781, -0.13037346303462982, -0.3715832531452179, -0.4522322416305542, 0.21734635531902313, -0.19529291987419128, 0.012484081089496613, 0.0002987310290336609, 0.23892471194267273, 0.23188599944114685, -0.02060580998659134, -0.05313309282064438, 0.055763985961675644, 0.00449787825345993, -0.020337458699941635, 0.2890336215496063, 0.05726665258407593, -0.23642486333847046, 0.2143559604883194, 0.3185354471206665, 0.3282011151313782, -0.3593090772628784, 0.03126317262649536, 0.05883195251226425, 0.11739762127399445, 0.484328031539917, -0.40234965085983276, 0.09975330531597137, 0.04373269900679588, -0.023227885365486145, -0.10514971613883972, 0.023309577256441116, -0.21989649534225464, 0.1928936392068863, 0.17297150194644928, 0.15402856469154358, -0.06360425800085068, -0.1550544798374176, 0.06915423274040222, 0.24622154235839844, -0.03836304694414139, 0.04419702664017677, -0.18135614693164825, -0.22931984066963196, -0.04024812579154968, 0.20551756024360657, 0.2241627424955368, 0.23740780353546143, -0.29617083072662354, -0.24593231081962585, 0.023244496434926987, -0.4333518147468567, 0.11641641706228256, 0.11466600000858307, 0.2786257565021515, -0.16127288341522217, 0.33789563179016113, 0.21407924592494965, 0.19496998190879822, 0.44152817130088806, 0.6388198137283325, 0.011199474334716797, -0.25520026683807373, 0.18079227209091187, -0.46240830421447754, 0.23466303944587708, 0.2161591351032257, -0.23844198882579803, -0.12258058041334152, -0.10851995646953583, 0.05479372292757034, 0.2186233401298523, 0.10145864635705948, 0.17034092545509338, -0.12297322601079941, -0.5341936349868774, -0.20466072857379913, 0.059478309005498886, 0.09197352826595306, -0.15915445983409882, 0.6235204339027405, -0.14872920513153076, -0.47009924054145813, 0.1944872885942459, -0.09939206391572952, 0.8705652952194214, 0.15388800203800201, -0.15893279016017914, 0.24078741669654846, -0.021997708827257156, 0.040511392056941986, -0.20311202108860016, 0.17288033664226532, -0.22794416546821594, -0.3036109209060669, -0.17201395332813263, -0.2734322249889374, 0.06293661147356033, 0.21403327584266663, -0.43334245681762695, 0.27828410267829895, -0.35301846265792847, 0.10503692924976349, 0.05752294510602951, 0.19319386780261993, -0.15111997723579407, -0.11906729638576508, -0.029048506170511246, -0.0680815801024437, -0.14479979872703552, 0.3115079998970032, 0.059796325862407684, -0.17922313511371613, -0.34114399552345276, -0.17961829900741577, -0.24430562555789948, 0.5667403936386108, -0.4164481461048126, 0.11561494320631027, -0.058285925537347794, -0.39340269565582275, 0.5699027180671692, 0.16689015924930573, 0.1365584135055542, -0.04798031225800514, -0.12408064305782318, 0.27377086877822876, 0.07253780215978622, 0.11143438518047333, -0.27039384841918945, -0.1337144523859024, 0.34164947271347046, -0.02082364447414875, -0.2336478978395462, -0.18949559330940247, -0.16904008388519287, -0.13410642743110657, 0.3469104468822479, 0.031123928725719452, 0.23290331661701202, -0.3190172016620636, 0.09568293392658234, 0.06770522892475128, 0.057775575667619705, -0.20204542577266693, -0.0027489829808473587, 0.07176743447780609, -0.23069080710411072, 0.1526011824607849, 0.03383590281009674, -0.2979061007499695, -0.039039719849824905, 0.16188502311706543, 0.09564656019210815, 0.21161511540412903, 0.4129621088504791, 0.11252854764461517, 0.02711624652147293, -0.3922553062438965, -0.021467044949531555, 0.31643176078796387, -0.5181783437728882, 0.3202507197856903, -0.3282621204853058, 0.009367868304252625, -0.01879105344414711, 0.311271071434021, -0.19870668649673462, 0.19638118147850037, -0.18069609999656677, -0.5298678874969482, -0.03799742832779884, 0.0818607434630394, -0.10264474153518677, 0.02572687901556492, -0.1481635868549347, 0.01101107057183981, 0.03668517619371414, 0.013151518069207668, -0.09689931571483612, 0.26336076855659485, 0.048003047704696655, 0.022561032325029373, 0.09089495986700058, -0.08334725350141525, 0.44903191924095154, -0.11889354884624481, -0.06650983542203903, 0.1974065601825714, 0.1631087213754654, -0.07125653326511383, -0.33507081866264343, 0.18625430762767792, 0.03179033100605011, 0.10310528427362442, -0.1226646676659584, 0.04228803515434265, -0.3281293213367462, -0.046742554754018784, 0.3064427375793457, 0.12110216170549393, 0.0514141283929348, 0.15497536957263947, 0.2280934751033783, 0.05022120475769043, -0.5468911528587341, 0.3285960853099823, -0.16078802943229675, 0.3766472339630127, 0.06789331138134003, 0.39710745215415955, 0.10191144794225693, -0.04368823021650314, -0.2693968415260315, -0.12322834879159927, 0.06692982465028763, -0.1552238166332245, 0.13165616989135742, -0.1802821159362793, 0.11342079937458038, -0.28887563943862915, 0.270178884267807, 0.44123536348342896, 0.017055638134479523, -0.011727861128747463, 0.09737519919872284, 0.04662671685218811, -0.054871268570423126, 0.07893635332584381, 0.2849772274494171, -0.14375516772270203, 0.06741245090961456, 0.3903338313102722, 0.16028934717178345, 0.25740864872932434, -0.3931364417076111, -0.17208504676818848, 0.14642716944217682, 0.449346661567688, 0.40749940276145935, 0.32174891233444214, -0.14572325348854065, 0.3612251877784729, 0.08562908321619034, -0.21753467619419098, 0.13557253777980804, 0.1313772201538086, -0.296709269285202, 0.4023228883743286, 0.08734747767448425, 0.03192252665758133, 0.5215135216712952, -0.4135454297065735, 0.015388499945402145, 0.11117662489414215, -0.29827889800071716, -0.12241268903017044, -0.033526383340358734, 0.7208528518676758, -0.2679859399795532, -0.32697632908821106, -0.2590174078941345, 0.1734103113412857, -0.05860726535320282, 0.18549011647701263, -0.28981244564056396, -0.18737168610095978, -0.48070037364959717, 0.13532492518424988, 0.15411680936813354, 0.10985299944877625, 0.2737627923488617, 0.23670783638954163, -0.06875433027744293, -0.016003457829356194, 0.05388347804546356, 0.3345741629600525, 0.057825490832328796, -0.3171502649784088, 0.3268473446369171, -0.3899351954460144, -0.16274262964725494, 0.13586455583572388, 0.18300502002239227, 0.2511546313762665, 0.15423789620399475, -0.18644453585147858, -0.35647961497306824, 0.3993430435657501, -0.05824877321720123, 0.10746394097805023, 0.39223599433898926, 0.1277575045824051, 0.005185877904295921, 0.3786652982234955, 0.01571355201303959, -0.06196709722280502, -0.01694295182824135, 0.1961226910352707, 0.28729671239852905, -0.12060797214508057, 0.15217509865760803, -0.31180718541145325, -0.05712944269180298, -0.20053434371948242, -0.12690961360931396, -0.17029128968715668, 0.11967393010854721, 0.2951110899448395, -0.21516573429107666, 0.06958466023206711, -0.08060283213853836, -0.0271039679646492, 0.0425942987203598, 0.40792110562324524, 0.1431339532136917, 0.3454079329967499, -0.190281942486763, -0.23950769007205963, -0.2844799757003784, 0.13579978048801422, 0.005577810108661652, 0.07092314958572388, -0.17329515516757965, 0.10482084006071091, -0.15411311388015747, 0.297760009765625, 0.2586343288421631, 0.16808539628982544, 0.2503209114074707, 0.3897094428539276, -0.3675331771373749, -0.17821235954761505, 0.07602544873952866, 0.014551317319273949, -0.11060896515846252, -0.6791918873786926, 0.0019196420907974243, -0.05596494302153587, -0.20343515276908875, 0.07006720453500748, -0.35807669162750244, -0.0012203846126794815, -0.28047844767570496, 0.42276960611343384, 0.07962623983621597, 0.6066838502883911, 0.004680376499891281, 0.05044081062078476, 0.03711867332458496, -0.3336459994316101, -0.06653222441673279, 0.10076636075973511, 0.2222793996334076, 0.32762831449508667, 0.0668194442987442, 0.26965808868408203, -0.4006648659706116, 0.24399185180664062, 0.0781509205698967, 0.07310368865728378, -0.28359195590019226, 0.12177146226167679, -0.23077240586280823, 0.019159242510795593, 0.2420767992734909, 0.1706838607788086, -0.32965192198753357, -0.12715792655944824, -0.3445206880569458, -0.31215691566467285, 0.2182535082101822, -0.40151119232177734, -0.26417335867881775, -0.23185352981090546, 0.3347509503364563, 0.404564768075943, -0.29766178131103516, -0.41287320852279663, -0.12271851301193237, 0.21468394994735718, -0.38947179913520813, -0.016693633049726486, -0.0788128674030304, 0.24135100841522217, 0.0843241959810257, -0.06821665912866592, 0.3322105407714844, 0.21188664436340332, -0.24117809534072876, 0.15601857006549835, -0.13311198353767395 ]
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
Hello, Have you tried loading the dataset in streaming mode? [Documentation](https://huggingface.co/docs/datasets/v2.20.0/stream) This way you wouldn't have to load it all. Also, let's be nice to Parquet, it's a really nice technology and we don't need to be mean :)
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more**
39
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more** Hello, Have you tried loading the dataset in streaming mode? [Documentation](https://huggingface.co/docs/datasets/v2.20.0/stream) This way you wouldn't have to load it all. Also, let's be nice to Parquet, it's a really nice technology and we don't need to be mean :)
[ -0.21402132511138916, -0.472859263420105, 0.011498488485813141, 0.5070446133613586, 0.25603771209716797, -0.018356725573539734, -0.16817572712898254, 0.45917877554893494, 0.14100977778434753, 0.13229027390480042, -0.07497289776802063, -0.04636634886264801, 0.05198558047413826, 0.5133880972862244, 0.15504054725170135, -0.046936459839344025, -0.010425299406051636, 0.3441508412361145, 0.14627403020858765, -0.09531570225954056, -0.1858803778886795, 0.015397123992443085, -0.04899166524410248, 0.05928295850753784, 0.04894596338272095, 0.24811698496341705, 0.003924397751688957, 0.07476760447025299, -0.2991967797279358, -0.06639306247234344, 0.2313237339258194, -0.3479750454425812, 0.1680126190185547, -0.058624766767024994, -0.0001265359460376203, -0.07552209496498108, 0.41758161783218384, -0.263912171125412, -0.21782469749450684, 0.016554266214370728, -0.003900047391653061, -0.23610825836658478, 0.18604257702827454, -0.3585013151168823, -0.21422603726387024, -0.2225155085325241, 0.044445864856243134, -0.07651563733816147, 0.4190373420715332, 0.22360536456108093, 0.03853261470794678, -0.07711194455623627, 0.1894296109676361, 0.23933155834674835, 0.33377352356910706, -0.17996610701084137, 0.17530591785907745, 0.13116943836212158, 0.6445881128311157, 0.030850259587168694, 0.15601924061775208, -0.010710797272622585, 0.0828094482421875, 0.21630841493606567, -0.009664371609687805, 0.045257143676280975, 0.18287450075149536, -0.4950989782810211, 0.43290722370147705, 0.5473484396934509, 0.38194483518600464, 0.16188493371009827, -0.05520184338092804, -0.3921193778514862, -0.06730173528194427, -0.32466813921928406, 0.01445525512099266, 0.564355194568634, -0.13395798206329346, 0.16703487932682037, -0.35177376866340637, -0.3087179958820343, -0.15854308009147644, 0.2637125253677368, -0.245767742395401, 0.030225001275539398, -0.09485418349504471, 0.08743586391210556, 0.22785548865795135, -0.14955253899097443, -0.23050634562969208, -0.07164813578128815, -0.08244843780994415, 0.29501357674598694, -0.2014189213514328, -0.1781473159790039, -0.36394202709198, 0.24185386300086975, 0.41597849130630493, 0.12572985887527466, -0.09829625487327576, 0.2633304297924042, 0.12872782349586487, 0.13547952473163605, 0.4657441973686218, -0.18793851137161255, -0.16929760575294495, -0.06879273802042007, 0.10098244249820709, 0.15411506593227386, 0.07392735779285431, -0.13750502467155457, -0.18961261212825775, 0.04965709522366524, -0.6045865416526794, -0.30777838826179504, -0.06312759965658188, -0.3945121169090271, 0.01182464323937893, -0.1693909913301468, 0.18160110712051392, -0.003942612558603287, 0.14872844517230988, 0.029093287885189056, -0.020174402743577957, 0.33856114745140076, -0.28068336844444275, 0.22294801473617554, -0.09409519284963608, -0.6873088479042053, -0.0941726565361023, -0.04112088307738304, -0.07016703486442566, -0.0384141281247139, 0.1308785080909729, -0.3285714387893677, 0.22389516234397888, 0.14677636325359344, 0.16189496219158173, -0.07910531759262085, 0.1396051049232483, -0.41881218552589417, -0.18280646204948425, 0.06959289312362671, 0.03489255532622337, 0.21304070949554443, 0.30757999420166016, 0.06413832306861877, -0.20679213106632233, 0.06665411591529846, -0.3589974045753479, -0.25584083795547485, 0.003938883543014526, -0.0008100112900137901, -0.1414070427417755, 0.1626821607351303, -0.7256121635437012, 0.40889397263526917, -0.1386057436466217, 0.03604542091488838, -0.2558274567127228, 0.08131670951843262, -0.2958471477031708, -0.06242553889751434, 0.5515410900115967, 0.24798162281513214, -0.22380989789962769, -0.13806785643100739, 0.1717911660671234, -0.07860097289085388, 0.5657765865325928, 0.3916875422000885, -0.4267411530017853, -0.24244698882102966, -0.16004842519760132, -0.09244370460510254, 0.49534082412719727, 0.2143992781639099, -0.06979546695947647, 0.5250875949859619, -0.008243683725595474, -0.17316733300685883, 0.1336938738822937, -0.11955076456069946, 0.3549673855304718, 0.0056259906850755215, 0.10508589446544647, 0.48174339532852173, 0.00404626689851284, -0.017963644117116928, -0.25454723834991455, -0.3862343728542328, 0.2265387326478958, 0.36723998188972473, 0.12526939809322357, 0.26663950085639954, 0.18609362840652466, -0.18710704147815704, 0.23366960883140564, -0.1735769510269165, 0.24872860312461853, 0.22764241695404053, 0.08133749663829803, 0.48976999521255493, -0.12950344383716583, -0.302618145942688, -0.3331025540828705, 0.2636597156524658, 0.11485324800014496, -0.605019211769104, 0.30305591225624084, 0.07392887026071548, -0.0555838979780674, -0.26447761058807373, 0.2184317708015442, -0.017655164003372192, -0.08777882903814316, 0.016190357506275177, 0.01850701868534088, -0.19956885278224945, -0.3851526379585266, 0.1636407971382141, -0.02188066765666008, 0.15085959434509277, -0.33676737546920776, 0.26363348960876465, 0.22631019353866577, -0.016144368797540665, 0.2677273452281952, -0.34820789098739624, 0.3271280825138092, -0.25725027918815613, 0.1243152841925621, 0.2288968563079834, 0.08214659243822098, 0.050794877111911774, 0.17767268419265747, 0.18083889782428741, 0.17132972180843353, -0.10130506753921509, -0.10110283643007278, 0.012617272324860096, 0.050717178732156754, 0.01927047222852707, -0.2202591598033905, 0.2021217942237854, 0.04183347895741463, 0.2824207842350006, -0.012673351913690567, -0.07675671577453613, 0.19002199172973633, -0.10331448912620544, 0.06875605881214142, 0.14321404695510864, 0.4016188085079193, 0.07369501888751984, -0.13000933825969696, 0.10888395458459854, -0.5135042667388916, -0.2565743029117584, 0.1734572947025299, -0.05535461753606796, -0.24881404638290405, 0.33562588691711426, -0.19945889711380005, -0.1421070396900177, -0.1353175789117813, -0.1816326379776001, -0.1567191332578659, 0.2143406867980957, 0.1739572435617447, -0.031887367367744446, 0.559137225151062, 0.07242393493652344, 0.11247197538614273, 0.21346056461334229, -0.1757645308971405, 0.02824656292796135, -0.049025945365428925, -0.16178356111049652, -0.08394849300384521, 0.28831639885902405, 0.2308429628610611, 0.036061808466911316, -0.1926981657743454, -0.06320982426404953, -0.2615174949169159, -0.04398685693740845, -0.14002543687820435, 0.3402181565761566, -0.12887834012508392, 0.10125109553337097, -0.0530240461230278, 0.25307953357696533, 0.15086346864700317, -0.17193587124347687, -0.3968079686164856, 0.35175180435180664, -0.22468414902687073, -0.27145349979400635, -0.29935139417648315, -0.1275833696126938, -0.23532411456108093, 0.008920449763536453, 0.1976678967475891, 0.28419190645217896, 0.0030517708510160446, -0.2150479108095169, -0.1559777706861496, -0.3880736827850342, -0.09207278490066528, -0.04138989746570587, 0.04589328542351723, 0.07537214457988739, 0.03925130143761635, 0.5240447521209717, -0.08869808912277222, 0.026168636977672577, 0.07545787841081619, -0.08299648016691208, -0.043005235493183136, 0.04025018960237503, 0.09843149036169052, 0.4854053854942322, 0.001758035272359848, -0.016486987471580505, -0.13826745748519897, -0.23092809319496155, 0.4564296007156372, 0.442079097032547, 0.04846276715397835, -0.4236820340156555, -0.18490587174892426, -0.3053552806377411, -0.11925621330738068, 0.08031567186117172, 0.04794510453939438, -0.5029272437095642, 0.3427584767341614, 0.26334959268569946, -0.3007183074951172, 0.0982244610786438, 0.022334761917591095, -0.34546372294425964, 0.29908227920532227, -0.42383772134780884, -0.053759824484586716, -0.18617871403694153, -0.3102196156978607, -0.4237314462661743, 0.12816354632377625, 0.013518251478672028, -0.5879889726638794, 0.03658299148082733, 0.10175817459821701, -0.19490253925323486, -0.14914831519126892, 0.20707347989082336, 0.14078408479690552, 0.10943491756916046, 0.458088219165802, 0.024764250963926315, 0.5987370610237122, -0.008382500149309635, 0.10221889615058899, 0.2900197207927704, -0.07960260659456253, 0.19742698967456818, -0.17540770769119263, 0.11230681836605072, 0.36917319893836975, 0.017431184649467468, 0.12871797382831573, 0.4386541247367859, -0.0029614754021167755, -0.1890687346458435, -0.39291664958000183, -0.29671987891197205, -0.34539535641670227, -0.037833571434020996, 0.0130577078089118, 0.14214661717414856, 0.09492258727550507, -0.015804365277290344, -0.1753925085067749, 0.08348304033279419, -0.12300821393728256, 0.1307017058134079, 0.07059158384799957, 0.20925121009349823, 0.19397059082984924, -0.2652653157711029, 0.3170475363731384, 0.08727812767028809, 0.1494562178850174, -0.2650217115879059, 0.0703202411532402, -0.024884816259145737, -0.03252217918634415, 0.24101215600967407, -0.04010813683271408, 0.9343174695968628, 0.26973897218704224, 0.4286828637123108, -0.12331902980804443, -0.37787187099456787, -0.4616057276725769, 0.021748479455709457, -0.05544353649020195, -0.17865169048309326, 0.4152742028236389, 0.5566636323928833, -0.6393477916717529, -0.012399958446621895, -0.0931829884648323, 0.4141564965248108, -0.1369025856256485, 0.22356978058815002, -0.26222747564315796, 0.07862050086259842, -0.1807710826396942, 0.29113659262657166, 0.07754526287317276, 0.22916541993618011, 0.2623547613620758, 0.16030913591384888, -0.27998173236846924, -0.10760612785816193, -0.1688288003206253, 0.02132348343729973, 0.25092294812202454, 0.11057119071483612, 0.1574726104736328, 0.32110002636909485, 0.3289852440357208, 0.24939769506454468, 0.3733428418636322, 0.11199261248111725, -0.31740373373031616, 0.231816828250885, 0.10662484914064407, 0.2565641701221466, -0.019876629114151, 0.04189617186784744, -0.163309246301651, 0.11067193001508713, 0.24004745483398438, -0.13977673649787903, 0.39089810848236084, -0.04335680603981018, -0.29812243580818176, -0.36594516038894653, -0.4497120976448059, 0.368071585893631, 0.03564001992344856, 0.021636590361595154, -0.02538605034351349, 0.46531373262405396, -0.1517617255449295, 0.0211428664624691, 0.08348743617534637, 0.9126431345939636, -0.3043007254600525, 0.12901785969734192, -0.5407171249389648, -0.46445679664611816, 0.6284408569335938, -0.5240755677223206, -0.12091244757175446, -0.15331023931503296, -0.37763166427612305, -0.08341361582279205, -0.16770623624324799, -0.13788217306137085, 0.33141452074050903, 0.25172561407089233, 0.6145390272140503, -0.08487965911626816, 0.26778456568717957, 0.206214040517807, 0.21793296933174133, 0.09087138622999191, -0.016533654183149338, -0.2408025860786438, -0.02649706043303013, -0.10496866703033447, -0.09128202497959137, 0.09325700253248215, -0.1686449497938156, 0.0722193568944931, -0.1644282341003418, 0.07604275643825531, 0.2684575617313385, -0.48058488965034485, -0.20695847272872925, 0.004638276994228363, -0.41148054599761963, 0.06848268210887909, 0.2475673407316208, 0.02889316901564598, 0.04697490483522415, -0.3660339117050171, 0.04257362335920334, 0.013276096433401108, -0.14917248487472534, -0.3609202802181244, 0.2062820941209793, -0.3296091556549072, -0.11255490034818649, 0.09826626628637314, 0.06734462827444077, -0.16125957667827606, -0.05264132469892502, 0.000172346830368042, 0.29690414667129517, 0.20888422429561615, -0.024890650063753128, -0.293172687292099, -0.2206246554851532, 0.2473067045211792, -0.1466793566942215, -0.03702601417899132, 0.1520715355873108, -0.37936463952064514, -0.11129184812307358, 0.1388847976922989, -0.24404598772525787, -0.06718568503856659, 0.31485989689826965, -0.12193047255277634, -0.04243665188550949, 0.3044262230396271, -0.06758452951908112, -0.2545420527458191, -0.0004958584904670715, -0.11252152919769287, 0.26913440227508545, -0.11662617325782776, -0.18780918419361115, 0.042101919651031494, 0.2684718370437622, -0.060702767223119736, 0.0016482658684253693, 0.0979280173778534, -0.16569218039512634, 0.1392429769039154, -0.6579762697219849, -0.3161586821079254, 0.22343240678310394, -0.12588045001029968, 0.016600199043750763, 0.3432253301143646, -0.15515342354774475, 0.07032614201307297, -0.011606255546212196, -0.0864868313074112, 0.548835813999176, -0.08244485408067703, 0.4624269902706146, 0.419412761926651, 0.07317642867565155, -0.010310780256986618, 0.09420043230056763, -0.03113779053092003, 0.047268860042095184, -0.04873751103878021, -0.045065987855196, 0.03860519081354141, 0.20654821395874023, 0.10856213420629501, -0.06985253095626831, -0.2788420021533966, -0.1918025016784668, -0.15873032808303833, 0.01648542657494545, 0.083742156624794, -0.034865230321884155, 0.3003510534763336, -0.2260223925113678, 0.654747486114502, 0.030377235263586044, -0.769010066986084, 0.144443541765213, -0.14574748277664185, 0.03858602046966553, 0.05435195192694664, 0.11887452751398087, 0.10443314909934998, -0.09163951128721237, -0.275899201631546, -0.055837519466876984, 0.4833337664604187, -0.0951404795050621, 0.08355632424354553, -0.017781883478164673, 0.15038004517555237, 0.39686083793640137, 0.26326504349708557, 0.7100979089736938, -0.11128359287977219, 0.09698393940925598, 0.48906540870666504, 0.04768933355808258, -0.13241040706634521, -0.14853541553020477, 0.27844488620758057, -0.09585437178611755, -0.021964240819215775, 0.14172668755054474, 0.04872065410017967, -0.18194153904914856, -0.2881452441215515, -0.1980152428150177, 0.27342697978019714, 0.2650171220302582, 0.004269117023795843, 0.3094784617424011, -0.03274547681212425, -0.3358869254589081, -0.14120706915855408, 0.5303751826286316, 0.11465886980295181, 0.3716502785682678, -0.0711415633559227, 0.009830319322645664, 0.16342419385910034, -0.09382034838199615, -0.29793745279312134, -0.43526414036750793, -0.18630127608776093, 0.6501920223236084, 0.2530153691768646, -0.10711794346570969, -0.3816063404083252, 0.13573947548866272, 0.5934768319129944, -0.3179808259010315, -0.03172365203499794, 0.18307337164878845, 0.28980937600135803, 0.06287811696529388, 0.0442882776260376, -0.28576070070266724, -0.2597512900829315, 0.4010150730609894, -0.0326554961502552, -0.19196046888828278, -0.04594160616397858, 0.33542031049728394, 0.10344533622264862, -0.20574811100959778, -0.22755804657936096, 0.38114133477211, 0.0854874774813652, -0.34035739302635193, 0.33792638778686523, -0.021052122116088867, -0.1429051160812378, 0.38748762011528015, -0.17583629488945007, -0.07605569064617157, -0.015293002128601074, 0.07088807970285416, 0.01468534767627716, 0.2777542471885681, 0.08432396501302719, -0.1628284603357315, -0.03019224852323532, 0.3048197627067566, 0.28740015625953674, 0.3202283978462219, -0.019943412393331528, -0.027211403474211693, 0.023687694221735, -0.2974475920200348, -0.21018332242965698, -0.573567271232605, -0.11368217319250107, 0.39643293619155884, -0.1237613707780838, -0.13427972793579102, -0.27550145983695984, -0.17246541380882263, -0.19327425956726074, -0.3066524267196655, 0.09494276344776154, 0.15614932775497437, 0.454755574464798, -0.035221926867961884, -0.03608030825853348, 0.28143635392189026, 0.142903670668602, -0.08985152095556259, -0.36357879638671875, -0.45320242643356323, -0.2746904492378235, 0.10886538773775101, -0.1916152536869049, 0.06351209431886673, 0.4068901538848877, 0.062323302030563354, 0.26804831624031067, 0.22369657456874847, -0.23285336792469025, 0.34366700053215027, -0.007615512236952782, 0.24162442982196808, 0.04362260922789574, -0.0975804477930069, 0.04623415321111679, 0.3989221155643463, -0.05803975090384483, -0.13644787669181824, 0.3278529644012451, -0.13321001827716827, -0.07709746062755585, 0.25664904713630676, -0.1531682014465332, -0.18593913316726685, -0.08607131242752075, 0.026630017906427383, 0.00833835918456316, 0.2792740762233734, -0.10203050076961517, 0.16330020129680634, 0.05252610892057419, -0.1164306029677391, -0.19425956904888153, 0.2694724500179291, -0.05478527769446373, -0.17477306723594666, -0.27708327770233154, 0.0777590349316597, -0.2689833641052246, -0.01731223613023758, -0.18304136395454407, 0.06517478823661804, -0.11248868703842163, -0.3733571767807007, 0.3226238191127777, -0.09662514179944992, 0.1644197553396225, 0.15324516594409943, -0.25321149826049805, -0.40031737089157104, -0.10372207313776016, -0.11320274323225021, 0.603592038154602, -0.45513206720352173, -0.2616878151893616, -0.13714896142482758, 0.37112119793891907, 0.4583735167980194, 0.17869767546653748, -0.11395100504159927, 0.24264442920684814, 0.5147708058357239, -0.11433417350053787, -0.18041422963142395, 0.061789657920598984, 0.011249626986682415, -0.23018677532672882, -0.032060135155916214, -0.03521081060171127, 0.4799264669418335, -0.16723085939884186, -0.23622186481952667, -0.3322684168815613 ]
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
I have downloaded part of it, just want to know how to load part of it, stream mode is not work for me since my network (in china) not stable, I don't want do it all again and again. Just curious, doesn't there a way to load part of it?
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more**
50
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more** I have downloaded part of it, just want to know how to load part of it, stream mode is not work for me since my network (in china) not stable, I don't want do it all again and again. Just curious, doesn't there a way to load part of it?
[ -0.2755742371082306, -0.3541701138019562, -0.028508063405752182, 0.4808918237686157, 0.19115124642848969, 0.05765650421380997, -0.20927058160305023, 0.4417593479156494, 0.09506696462631226, 0.10304372012615204, -0.08347377926111221, -0.013184500858187675, 0.04859839379787445, 0.39017435908317566, 0.17909620702266693, 0.013156615197658539, -0.020128898322582245, 0.380926251411438, 0.1915917694568634, -0.10081727802753448, -0.12557627260684967, -0.06908175349235535, -0.05591219663619995, 0.028884634375572205, 0.1592368632555008, 0.23136849701404572, 0.02375190146267414, -0.017156235873699188, -0.26461276412010193, -0.07726596295833588, 0.23165689408779144, -0.3530426025390625, 0.2360265552997589, -0.00356195867061615, -0.0001239300036104396, -0.06334035843610764, 0.4417678117752075, -0.2875755727291107, -0.19285421073436737, 0.05551527440547943, -0.08805999159812927, -0.22538989782333374, 0.1402386873960495, -0.4113953411579132, -0.1901124119758606, -0.2350424975156784, 0.0835571214556694, -0.0779452994465828, 0.45235222578048706, 0.32088086009025574, 0.06266266107559204, -0.2119324654340744, 0.13851696252822876, 0.18457965552806854, 0.363787978887558, -0.29764455556869507, 0.18237826228141785, 0.15528897941112518, 0.6354148387908936, 0.10171287506818771, 0.14937618374824524, -0.09315161406993866, 0.1021282970905304, 0.17171254754066467, -0.16314861178398132, 0.006322476547211409, 0.25887835025787354, -0.501575231552124, 0.4905613660812378, 0.5023176074028015, 0.4426962733268738, 0.22060814499855042, 0.00932241789996624, -0.23260366916656494, -0.028248079121112823, -0.3238022029399872, -0.08675219863653183, 0.5725359916687012, -0.13629789650440216, 0.208938330411911, -0.26094937324523926, -0.31797149777412415, -0.2052355706691742, 0.2486351877450943, -0.33161577582359314, 0.11481308937072754, -0.057842858135700226, 0.07179788500070572, 0.17089173197746277, -0.10413806140422821, -0.09073866158723831, -0.08777536451816559, -0.11430530250072479, 0.2588738799095154, -0.12710332870483398, -0.1240713894367218, -0.46323782205581665, 0.12203933298587799, 0.3488585650920868, 0.04885628819465637, -0.0438438281416893, 0.2978401780128479, 0.23448492586612701, 0.15478619933128357, 0.37694063782691956, -0.25112438201904297, -0.2088906168937683, -0.04524737223982811, 0.08469361811876297, 0.002171166008338332, 0.016018882393836975, -0.1656467318534851, -0.28811728954315186, 0.0983637124300003, -0.5017396807670593, -0.19452109932899475, -0.20747463405132294, -0.3788032829761505, 0.07871711254119873, -0.21438825130462646, 0.21274971961975098, -0.021331127732992172, 0.11387836188077927, 0.08509943634271622, -0.029661215841770172, 0.4177495837211609, -0.3565937876701355, 0.11300092935562134, 0.013318544253706932, -0.6487374305725098, -0.10425697267055511, 0.016928650438785553, -0.061869531869888306, -0.0465007945895195, 0.09679022431373596, -0.30740541219711304, 0.21310260891914368, 0.07685902714729309, 0.17614540457725525, -0.07758305221796036, 0.15247103571891785, -0.4406287670135498, -0.14243349432945251, 0.07408244162797928, 0.04587860777974129, 0.1902097761631012, 0.22100768983364105, 0.06148942559957504, -0.17239443957805634, 0.09934655576944351, -0.3346276581287384, -0.2484266608953476, 0.07292536646127701, 0.039015933871269226, -0.12985077500343323, 0.19283020496368408, -0.6494025588035583, 0.3562577962875366, -0.10751288384199142, -0.04961191862821579, -0.31098705530166626, 0.03285043314099312, -0.18964575231075287, -0.18512526154518127, 0.5238256454467773, 0.1510525643825531, -0.281272828578949, -0.07373103499412537, 0.06586827337741852, -0.10400831699371338, 0.6598303914070129, 0.28855541348457336, -0.42243632674217224, -0.2495739459991455, -0.12049612402915955, -0.12569208443164825, 0.6061636805534363, 0.19557221233844757, -0.1293303221464157, 0.6019050478935242, 0.02914196252822876, -0.2365044504404068, 0.15804815292358398, -0.05477484315633774, 0.332683265209198, 0.024808011949062347, 0.11845634877681732, 0.43564820289611816, -0.03375592827796936, -0.04449903964996338, -0.22477298974990845, -0.3371540606021881, 0.18998213112354279, 0.3544080853462219, 0.1332216113805771, 0.31816908717155457, 0.24871426820755005, -0.16812121868133545, 0.2711767554283142, -0.1374943107366562, 0.23213915526866913, 0.20372575521469116, 0.047899700701236725, 0.37316614389419556, -0.14074276387691498, -0.27722132205963135, -0.28294336795806885, 0.18747428059577942, 0.09362473338842392, -0.7008901834487915, 0.35621464252471924, 0.12864550948143005, -0.06946065276861191, -0.28389742970466614, 0.24729937314987183, 0.03606026619672775, -0.053784266114234924, 0.054102230817079544, 0.010939180850982666, -0.2968214452266693, -0.33416828513145447, 0.09034793078899384, 0.011170824989676476, 0.02999499812722206, -0.2677697241306305, 0.2153913974761963, 0.18385140597820282, 0.018804864957928658, 0.3017067611217499, -0.4051159620285034, 0.30629226565361023, -0.23488351702690125, 0.09835325926542282, 0.19398972392082214, 0.08945850282907486, 0.06588628888130188, 0.16398762166500092, 0.14307977259159088, 0.132224440574646, -0.1500498354434967, -0.08794482797384262, 0.07707633078098297, 0.09363632649183273, 0.01751183718442917, -0.17555448412895203, 0.146400585770607, 0.06483978778123856, 0.2405255138874054, 0.06992042809724808, -0.1122526079416275, 0.31461426615715027, -0.11299918591976166, 0.07975556701421738, 0.15388846397399902, 0.29018184542655945, 0.14882588386535645, -0.14066223800182343, 0.0983710065484047, -0.44798940420150757, -0.27965396642684937, 0.14667268097400665, -0.09720692038536072, -0.18319851160049438, 0.2944924235343933, -0.20759254693984985, -0.15002813935279846, -0.2007744461297989, -0.14629362523555756, -0.13263003528118134, 0.22320538759231567, 0.23919619619846344, -0.058060094714164734, 0.59615159034729, 0.019948922097682953, 0.10099814087152481, 0.2383243441581726, -0.12131933867931366, 0.07760003209114075, -0.04229578375816345, -0.14922761917114258, 0.02226048707962036, 0.2311438024044037, 0.2911493182182312, 0.021088194102048874, -0.08078529685735703, -0.06781961768865585, -0.2540811598300934, -0.015506992116570473, -0.15237516164779663, 0.35432544350624084, -0.029312238097190857, 0.10982003808021545, -0.06430055946111679, 0.14316511154174805, 0.1523461639881134, -0.12778711318969727, -0.43070024251937866, 0.30874744057655334, -0.18886657059192657, -0.24920888245105743, -0.2755645513534546, -0.1899920403957367, -0.2633417546749115, 0.04236121103167534, 0.15245406329631805, 0.27676984667778015, -0.035126619040966034, -0.1377669870853424, -0.12196037918329239, -0.2786129117012024, -0.04529591649770737, -0.025690756738185883, 0.17788073420524597, 0.04755108803510666, 0.002184741199016571, 0.5134387016296387, -0.06584101915359497, 0.0169798843562603, 0.013269185088574886, -0.06744969636201859, -0.0073570432141423225, 0.05151306837797165, 0.09305154532194138, 0.4632793664932251, 0.034006427973508835, -0.11179142445325851, -0.23933853209018707, -0.26887246966362, 0.3567120432853699, 0.44894713163375854, 0.08988548070192337, -0.4236651360988617, -0.2038259357213974, -0.26730504631996155, 0.016625171527266502, 0.07070603966712952, 0.06582672894001007, -0.4375031888484955, 0.3955785036087036, 0.16824135184288025, -0.36390578746795654, 0.08993731439113617, 0.025122877210378647, -0.2674989402294159, 0.34672755002975464, -0.4024467468261719, 0.07333136349916458, -0.16610296070575714, -0.42143118381500244, -0.4583597779273987, 0.021127624437212944, -0.07714448869228363, -0.612312912940979, 0.004635171964764595, 0.09462522715330124, -0.03886660560965538, -0.11985578387975693, 0.15739642083644867, 0.1831744909286499, 0.10905145853757858, 0.42454245686531067, 0.03850681707262993, 0.48523038625717163, -0.031320393085479736, 0.11604225635528564, 0.26612210273742676, -0.07733111828565598, 0.0809544026851654, -0.11691362410783768, 0.18416278064250946, 0.34790971875190735, 0.05803512781858444, 0.013039086014032364, 0.4460088610649109, -0.09715767949819565, -0.3077230751514435, -0.41779521107673645, -0.2942601144313812, -0.33908611536026, 0.03843619301915169, 0.07688972353935242, 0.13872624933719635, 0.14260876178741455, -0.11175242066383362, -0.1955072283744812, 0.10393480956554413, -0.13484570384025574, 0.13239607214927673, 0.0413973405957222, 0.20556767284870148, 0.1373997926712036, -0.23928143084049225, 0.2109328806400299, 0.12744146585464478, 0.12974674999713898, -0.2711886465549469, 0.12222445756196976, 0.008342195302248001, -0.028055205941200256, 0.11812890321016312, -0.09118092805147171, 0.8402321934700012, 0.21041759848594666, 0.47314101457595825, -0.05709540471434593, -0.26410800218582153, -0.45127299427986145, 0.01332809031009674, -0.09335406124591827, -0.12992671132087708, 0.4371878206729889, 0.5070154070854187, -0.6098041534423828, 0.13770803809165955, -0.13004450500011444, 0.39963290095329285, -0.1982957422733307, 0.18628408014774323, -0.25910863280296326, 0.0629313588142395, -0.08729491382837296, 0.27745485305786133, 0.08461284637451172, 0.16928793489933014, 0.2534021735191345, 0.07303602993488312, -0.24073155224323273, -0.13934919238090515, -0.15816767513751984, 0.09939250349998474, 0.25228583812713623, 0.1081441268324852, 0.10603967308998108, 0.19210578501224518, 0.32364150881767273, 0.28389284014701843, 0.29864177107810974, 0.1670447438955307, -0.18907049298286438, 0.36255407333374023, 0.040994442999362946, 0.3161177933216095, -0.09713247418403625, 0.009025096893310547, -0.19007882475852966, 0.09680493175983429, 0.18289491534233093, -0.08505021780729294, 0.34335216879844666, -0.15445135533809662, -0.38804522156715393, -0.4007014334201813, -0.48434191942214966, 0.40504178404808044, 0.05486462637782097, 0.001243196427822113, -0.05324786156415939, 0.2228466123342514, -0.16410976648330688, 0.07673859596252441, 0.10023564100265503, 0.8877403140068054, -0.29445236921310425, 0.02149984799325466, -0.610353946685791, -0.4240298271179199, 0.578862190246582, -0.5374845862388611, -0.13856211304664612, -0.11322414875030518, -0.3799065351486206, -0.09016510844230652, -0.18604014813899994, -0.1353902816772461, 0.4047468304634094, 0.18484461307525635, 0.5856125354766846, -0.12372754514217377, 0.24226681888103485, 0.25330448150634766, 0.21966248750686646, 0.1388571709394455, 0.04988011345267296, -0.19760605692863464, -0.01331377774477005, -0.07573777437210083, -0.22148588299751282, 0.0527079775929451, -0.1405661255121231, 0.0037574172019958496, -0.06137143447995186, 0.10939785838127136, 0.3479929566383362, -0.40269172191619873, -0.1125262975692749, -0.14394734799861908, -0.43125176429748535, 0.007568515837192535, 0.2175801694393158, -0.09045679867267609, 0.05114418640732765, -0.30853134393692017, 0.11032257974147797, 0.06801559031009674, -0.12777957320213318, -0.2926073372364044, 0.27321404218673706, -0.3645171523094177, -0.15502560138702393, 0.0939476415514946, 0.20628008246421814, -0.20956869423389435, -0.06009170040488243, 0.056561797857284546, 0.24080412089824677, 0.23913224041461945, 0.06252649426460266, -0.3111773431301117, -0.19755494594573975, 0.15535058081150055, -0.12178017199039459, -0.004818864166736603, 0.07575862109661102, -0.43163803219795227, -0.048541925847530365, 0.17833317816257477, -0.2803342342376709, -0.037935566157102585, 0.29836854338645935, -0.016759704798460007, -0.014499343931674957, 0.3024149239063263, -0.09803269803524017, -0.2479838877916336, -0.024766001850366592, -0.1298336684703827, 0.20692169666290283, -0.012978699058294296, -0.25860777497291565, -0.05027678981423378, 0.2469635158777237, 0.020717648789286613, -0.11136491596698761, 0.06376751512289047, -0.10562988370656967, 0.022179219871759415, -0.6756651401519775, -0.30523356795310974, 0.16030451655387878, -0.08821067214012146, 0.04554394632577896, 0.3048497140407562, -0.18468120694160461, 0.036774642765522, 0.05555366724729538, -0.10199373960494995, 0.5147714018821716, -0.0936647355556488, 0.5474329590797424, 0.27830740809440613, 0.13647761940956116, -0.05608274042606354, 0.12895528972148895, 0.015203965827822685, 0.14199522137641907, 0.026992838829755783, -0.050331637263298035, 0.11412332952022552, 0.20542843639850616, 0.0769171267747879, -0.0032282108440995216, -0.319431334733963, -0.21188686788082123, -0.20494897663593292, 0.10479266196489334, 0.04529184475541115, -0.11604931950569153, 0.31265854835510254, -0.19365109503269196, 0.6944267749786377, 0.004446156322956085, -0.8093796968460083, 0.19703149795532227, -0.1645192801952362, 0.07743160426616669, 0.05024825409054756, 0.1951615810394287, 0.12141461670398712, -0.11760841310024261, -0.3391892910003662, -0.17333313822746277, 0.4685831665992737, -0.09314044564962387, 0.062689408659935, 0.05838848650455475, 0.20416954159736633, 0.42845359444618225, 0.1469186395406723, 0.7256221771240234, -0.08779885619878769, 0.12843182682991028, 0.4869404137134552, 0.07764959335327148, -0.15040074288845062, -0.11540049314498901, 0.20535439252853394, -0.1825922429561615, -0.044896967709064484, 0.1376735270023346, 0.015915658324956894, -0.23578886687755585, -0.3188614249229431, -0.20685142278671265, 0.27172479033470154, 0.31775784492492676, -0.036581993103027344, 0.38079968094825745, 0.043643105775117874, -0.2799608111381531, -0.2406582534313202, 0.49275848269462585, 0.1526627093553543, 0.48006540536880493, -0.03960034251213074, 0.014907128177583218, 0.27811679244041443, -0.129283145070076, -0.33531859517097473, -0.44397419691085815, -0.22521407902240753, 0.6988320350646973, 0.19783028960227966, -0.028757207095623016, -0.28432944416999817, -0.06387162953615189, 0.6721174120903015, -0.257872611284256, -0.02311732806265354, 0.12602677941322327, 0.31491345167160034, 0.0878300815820694, -0.017872491851449013, -0.28838637471199036, -0.24886126816272736, 0.36486536264419556, 0.021287521347403526, -0.13775046169757843, -0.11102904379367828, 0.42242348194122314, 0.10901383310556412, -0.04061365872621536, -0.16843858361244202, 0.29849377274513245, 0.048935819417238235, -0.3856165409088135, 0.32502424716949463, -0.0069895461201667786, -0.11089687049388885, 0.418349027633667, -0.2807909846305847, -0.1778774857521057, -0.021753214299678802, 0.09193676710128784, 0.01263764314353466, 0.3471139967441559, 0.036228008568286896, -0.21462273597717285, -0.05370918661355972, 0.4228771924972534, 0.3694913983345032, 0.29895636439323425, 0.02686380408704281, -0.04126371443271637, 0.05568758398294449, -0.24477823078632355, -0.28777173161506653, -0.5563707947731018, -0.09377504140138626, 0.4458892047405243, -0.21156004071235657, -0.09207043051719666, -0.24564823508262634, -0.2559892237186432, -0.20130959153175354, -0.314298152923584, -0.010370361618697643, 0.1693824827671051, 0.4867626130580902, -0.024926941841840744, -0.05903147533535957, 0.352992445230484, 0.05214313417673111, -0.07786216586828232, -0.2802187502384186, -0.5074623227119446, -0.3132997155189514, 0.17664489150047302, -0.17897990345954895, 0.09458183497190475, 0.40352240204811096, 0.11284863948822021, 0.27488306164741516, 0.22785502672195435, -0.21824337542057037, 0.3823595941066742, -0.024549948051571846, 0.2753915786743164, 0.03533023223280907, -0.14918485283851624, 0.08514571189880371, 0.48454299569129944, -0.10570739209651947, -0.1938931941986084, 0.3327973783016205, -0.06744812428951263, -0.01990039087831974, 0.2923770546913147, -0.337039589881897, -0.0803864449262619, -0.006004117429256439, 0.15081503987312317, -0.029918210580945015, 0.32786864042282104, -0.1537172496318817, 0.18008887767791748, 0.11171246320009232, -0.06970326602458954, -0.09476137906312943, 0.30739831924438477, 0.016264384612441063, -0.24136720597743988, -0.23795261979103088, 0.18580631911754608, -0.21367709338665009, -0.13858109712600708, -0.30012327432632446, 0.033328618854284286, -0.07805249094963074, -0.456566721200943, 0.3282931447029114, -0.05773865059018135, 0.11898158490657806, 0.10736992955207825, -0.2578585147857666, -0.4283212721347809, -0.05276496708393097, -0.08054279536008835, 0.542439341545105, -0.46429768204689026, -0.24495622515678406, -0.10165820270776749, 0.32834354043006897, 0.37695327401161194, 0.3684658110141754, -0.03328382596373558, 0.2568696141242981, 0.5592976808547974, -0.1509348452091217, -0.1824968308210373, -0.06482388079166412, 0.04572424665093422, -0.1988636702299118, -0.05585234984755516, -0.05313335359096527, 0.419668972492218, -0.22552785277366638, -0.3539493978023529, -0.3285970091819763 ]
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
Could you convert the IterableDataset to a Dataset after taking the first 100 rows with `.take`? This way, you would have a local copy of the first 100 rows on your system and thus won't need to download. Would that work? Here is a [SO question](https://stackoverflow.com/questions/76227219/can-i-convert-an-iterabledataset-to-dataset) detailing how to do the conversion.
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more**
52
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more** Could you convert the IterableDataset to a Dataset after taking the first 100 rows with `.take`? This way, you would have a local copy of the first 100 rows on your system and thus won't need to download. Would that work? Here is a [SO question](https://stackoverflow.com/questions/76227219/can-i-convert-an-iterabledataset-to-dataset) detailing how to do the conversion.
[ -0.3464089035987854, -0.17198726534843445, -0.015516072511672974, 0.37606167793273926, 0.17200018465518951, 0.12713468074798584, -0.1642935872077942, 0.5313801169395447, 0.07092872262001038, -0.1027068942785263, -0.08441043645143509, 0.06766224652528763, -0.0369112566113472, 0.3633902668952942, 0.21733328700065613, 0.10096611082553864, -0.0324430838227272, 0.3921677768230438, 0.032088503241539, -0.08750166743993759, -0.23202256858348846, 0.0862957164645195, -0.11040139198303223, -0.06583544611930847, 0.17707546055316925, 0.0830698162317276, -0.1299181878566742, 0.15359513461589813, -0.24622876942157745, -0.2561248242855072, 0.23207415640354156, -0.3764989674091339, 0.3224409818649292, -0.010785669088363647, -0.00012503316975198686, -0.07511242479085922, 0.2823459804058075, -0.27874791622161865, -0.28550398349761963, 0.1333567500114441, -0.08542018383741379, -0.15686117112636566, 0.12137304246425629, -0.4363100230693817, -0.21247029304504395, -0.375274658203125, -0.0035041626542806625, -0.30639487504959106, 0.4007272720336914, 0.32289281487464905, 0.02137630060315132, -0.18123961985111237, 0.12548018991947174, 0.16718077659606934, 0.2995089888572693, -0.166587233543396, 0.0827431008219719, 0.20411841571331024, 0.7395120859146118, 0.08915706723928452, 0.25454556941986084, -0.1524812877178192, 0.02695479430258274, 0.1564645618200302, 0.01206636056303978, 0.01123464573174715, 0.2650325298309326, -0.41865941882133484, 0.40017905831336975, 0.3528696596622467, 0.4875537157058716, 0.01654260978102684, -0.009303580969572067, -0.4632854759693146, -0.029185768216848373, -0.3332238793373108, -0.1221085712313652, 0.5716210007667542, -0.1178654134273529, 0.20545925199985504, -0.23806840181350708, -0.36978915333747864, -0.19697561860084534, 0.23329302668571472, -0.2701740264892578, -0.005887165665626526, -0.13112680613994598, 0.09538789093494415, 0.27953284978866577, -0.07436970621347427, 0.16550886631011963, -0.1434473693370819, 0.0063893720507621765, 0.2583928108215332, -0.08656221628189087, -0.3058036267757416, -0.46066564321517944, 0.177006796002388, 0.3813735544681549, 0.12585142254829407, -0.07473684847354889, 0.1342640519142151, 0.2110784351825714, 0.14923305809497833, 0.5482504367828369, -0.1929747462272644, -0.2566748857498169, 0.01307214517146349, -0.04153071343898773, 0.013511912897229195, 0.06924468278884888, -0.1052413061261177, -0.23067700862884521, 0.06834524869918823, -0.3342610001564026, -0.12845954298973083, 0.009806115180253983, -0.46771204471588135, 0.06494283676147461, -0.14126341044902802, 0.06336508691310883, -0.027640463784337044, 0.09547965973615646, -0.012751936912536621, 0.026293359696865082, 0.22722727060317993, -0.23047269880771637, 0.31268489360809326, -0.00046946853399276733, -0.6170149445533752, -0.0704348161816597, -0.007876163348555565, -0.022656384855508804, 0.014734971337020397, 0.19554325938224792, -0.25895601511001587, 0.17673182487487793, 0.06482886523008347, 0.023160599172115326, -0.019421663135290146, 0.2663247585296631, -0.4720568358898163, 0.054579902440309525, 0.09392555058002472, 0.048644211143255234, 0.05278093367815018, 0.27545109391212463, -0.10780534148216248, -0.2637805640697479, 0.17985251545906067, -0.23953866958618164, -0.2068605124950409, 0.13001711666584015, -0.000013620592653751373, -0.2053571492433548, 0.04061884060502052, -0.7205307483673096, 0.34045830368995667, 0.0026912614703178406, -0.048367273062467575, -0.272288978099823, -0.09511509537696838, -0.1648048460483551, -0.036979153752326965, 0.3702743649482727, 0.3395390510559082, -0.3814693093299866, 0.05990475416183472, -0.01621839590370655, -0.044946637004613876, 0.5843936800956726, 0.285108357667923, -0.3182831406593323, -0.02099185436964035, -0.203862726688385, 0.04730166494846344, 0.4414737820625305, 0.2488831877708435, -0.06257042288780212, 0.6749435663223267, 0.010164961218833923, -0.03474469855427742, -0.06828755885362625, -0.04504324123263359, 0.4328280985355377, -0.07491879165172577, 0.13153375685214996, 0.3936534523963928, -0.1847420483827591, -0.11241127550601959, -0.2885284721851349, -0.3931865394115448, 0.10842210799455643, 0.38307178020477295, 0.16262821853160858, 0.43977487087249756, 0.16303342580795288, -0.07331359386444092, 0.2567799985408783, -0.2218340039253235, 0.2798352539539337, 0.15853403508663177, 0.06398975849151611, 0.2730104625225067, -0.053200703114271164, -0.33163660764694214, -0.3649686872959137, 0.16094103455543518, 0.10370631515979767, -0.6266441941261292, 0.2569328546524048, 0.020833544433116913, -0.20327803492546082, -0.16569550335407257, 0.15032199025154114, 0.10126057267189026, -0.07570862770080566, 0.007746025919914246, 0.0136457160115242, -0.3032921552658081, -0.4794793426990509, 0.12274590879678726, -0.10551903396844864, 0.019391125068068504, -0.3646504580974579, 0.2264135628938675, 0.3216944932937622, -0.025138914585113525, 0.29371383786201477, -0.2473302185535431, 0.25527793169021606, -0.41247180104255676, 0.13358071446418762, 0.20668455958366394, 0.11325189471244812, 0.022530272603034973, 0.22461742162704468, 0.29257744550704956, 0.08313233405351639, -0.12245641648769379, -0.1151365116238594, 0.043479111045598984, 0.11149831861257553, -0.09446191042661667, -0.32015857100486755, 0.21915841102600098, -0.238817498087883, 0.3374847173690796, 0.04077064245939255, -0.04757753759622574, 0.3114668130874634, -0.1979832947254181, -0.03323843330144882, 0.09392072260379791, 0.16709944605827332, 0.023525120690464973, -0.11494097113609314, 0.01792284846305847, -0.3899989128112793, -0.18487820029258728, 0.1391662359237671, -0.12471893429756165, -0.20517593622207642, 0.269897997379303, -0.16693201661109924, -0.09315251559019089, -0.09787581115961075, -0.05931505560874939, 0.03391913324594498, 0.17782993614673615, 0.2766607701778412, 0.05594004690647125, 0.5179712772369385, 0.05754433572292328, 0.11723857372999191, 0.2863576412200928, -0.009259420447051525, 0.093430295586586, -0.08571804314851761, -0.20130875706672668, -0.0919702872633934, 0.1261996477842331, 0.1822691708803177, 0.09045130759477615, -0.12762418389320374, -0.05180886387825012, -0.26192960143089294, -0.029023464769124985, -0.19542288780212402, 0.4329148232936859, 0.03360869735479355, -0.01827336475253105, -0.08340580761432648, 0.3477851450443268, 0.11754496395587921, -0.23583431541919708, -0.47989949584007263, 0.4355211853981018, -0.24860499799251556, -0.42361828684806824, -0.2819631099700928, -0.20131433010101318, -0.2819940149784088, 0.05764768645167351, 0.3525155186653137, 0.0877145454287529, 0.09668375551700592, -0.2201753556728363, -0.1640070378780365, -0.38740426301956177, 0.04443565011024475, 0.01069062203168869, 0.16247093677520752, 0.04224606603384018, 0.01708875596523285, 0.5268120169639587, -0.135003924369812, 0.033383503556251526, -0.04757232591509819, 0.0412512943148613, 0.04782003164291382, -0.011493183672428131, 0.06035004183650017, 0.27205437421798706, 0.16176120936870575, -0.15984219312667847, -0.21086503565311432, -0.21140915155410767, 0.3856526017189026, 0.5705914497375488, 0.030209681019186974, -0.4055901765823364, -0.15607529878616333, -0.1436559408903122, 0.14881204068660736, -0.09106434136629105, 0.033475033938884735, -0.35006752610206604, 0.34688708186149597, 0.16417348384857178, -0.25666943192481995, 0.09965406358242035, -0.04047045111656189, -0.11553305387496948, 0.40452951192855835, -0.49544084072113037, 0.12242629379034042, -0.13531920313835144, -0.3029040992259979, -0.4425355792045593, -0.03866611421108246, 0.05267531797289848, -0.4605252742767334, 0.043543048202991486, 0.08745924383401871, -0.026140056550502777, -0.019578605890274048, 0.22043809294700623, 0.0554543174803257, 0.2641768753528595, 0.44360584020614624, 0.08995963633060455, 0.6876121163368225, 0.10672333836555481, 0.2041996717453003, 0.3150162100791931, -0.07502815872430801, 0.07566919922828674, -0.2721056342124939, 0.07324908673763275, 0.23806314170360565, -0.09173868596553802, -0.07979395985603333, 0.39376431703567505, -0.09436521679162979, -0.39440014958381653, -0.321343332529068, -0.18123939633369446, -0.400596559047699, -0.10359112918376923, 0.10138826817274094, 0.041751179844141006, 0.20718684792518616, 0.021909158676862717, -0.18920034170150757, 0.11909286677837372, -0.12262783199548721, 0.12464328110218048, -0.07305890321731567, 0.2187103033065796, 0.12979812920093536, -0.38292309641838074, 0.20047427713871002, 0.10023903101682663, 0.1337973177433014, -0.3203813433647156, 0.21964120864868164, 0.012292187660932541, -0.1359383761882782, 0.15972551703453064, -0.08750995248556137, 0.9755765795707703, 0.2635776102542877, 0.2514072060585022, 0.022134706377983093, -0.24968013167381287, -0.4052923321723938, 0.01686600223183632, -0.07545319199562073, 0.05532658472657204, 0.31899699568748474, 0.5450007319450378, -0.6038644909858704, 0.1276150643825531, 0.026120558381080627, 0.47044190764427185, -0.14492113888263702, 0.23249103128910065, -0.05403710529208183, -0.06021971255540848, -0.26298457384109497, 0.39289599657058716, 0.19647513329982758, 0.22688239812850952, 0.2382427155971527, 0.08107045292854309, -0.3911435604095459, -0.10539456456899643, -0.15932811796665192, 0.013828650116920471, 0.23031505942344666, 0.09877309948205948, 0.19951441884040833, 0.23197415471076965, 0.25032758712768555, 0.16831272840499878, 0.4753771126270294, 0.1413494497537613, -0.28148287534713745, 0.4028649926185608, -0.006987837143242359, 0.30980172753334045, 0.05002233386039734, -0.01431260909885168, -0.3229737877845764, 0.15884341299533844, 0.11649680882692337, -0.19058211147785187, 0.2699984610080719, -0.14549759030342102, -0.4024633765220642, -0.34046605229377747, -0.47145405411720276, 0.4968072772026062, 0.08257512748241425, 0.04641745984554291, 0.08803857117891312, 0.2891748547554016, -0.09256266802549362, 0.20406308770179749, 0.1634693145751953, 0.9928473234176636, -0.3877231478691101, 0.030703265219926834, -0.5318412184715271, -0.41107070446014404, 0.42668041586875916, -0.4976302981376648, -0.058904148638248444, -0.16341246664524078, -0.3303476870059967, -0.09186708927154541, -0.16065779328346252, -0.14821183681488037, 0.46016591787338257, 0.14540857076644897, 0.4615876376628876, -0.0478387326002121, 0.18931567668914795, 0.22243577241897583, 0.2680473327636719, 0.015962745994329453, -0.06403741240501404, -0.1396157294511795, 0.031335536390542984, -0.023945055902004242, -0.12819217145442963, 0.08615312725305557, -0.11372428387403488, 0.050578366965055466, 0.09218864142894745, 0.0023743435740470886, 0.3034736216068268, -0.3500423729419708, -0.1790039837360382, -0.038884881883859634, -0.37171971797943115, 0.017434444278478622, 0.24411579966545105, 0.11611740291118622, 0.007380932569503784, -0.434480220079422, 0.017013782635331154, 0.12483678013086319, -0.0654817670583725, -0.199443057179451, 0.2016710638999939, -0.2953517436981201, -0.0665615051984787, 0.2715747356414795, 0.1494751125574112, -0.18936371803283691, -0.12229127436876297, -0.033667296171188354, 0.18745949864387512, 0.4009544253349304, -0.15577661991119385, -0.38053417205810547, 0.01960788667201996, 0.20978207886219025, -0.10362376272678375, -0.038174185901880264, 0.056692082434892654, -0.1779356598854065, 0.07136482745409012, -0.007070697844028473, -0.20867927372455597, -0.029645081609487534, 0.36638936400413513, 0.0031320229172706604, -0.07319923490285873, 0.3785024583339691, -0.08024446666240692, -0.2009156197309494, -0.04100736603140831, -0.10984684526920319, 0.14912673830986023, -0.2080075442790985, -0.022587060928344727, -0.09007854759693146, 0.40513455867767334, -0.023525988683104515, -0.0853303074836731, 0.10274335741996765, -0.11226435750722885, 0.02485843375325203, -0.5455489754676819, -0.26965779066085815, 0.17317652702331543, 0.021216347813606262, 0.1793733686208725, 0.4323001503944397, -0.17377962172031403, -0.0209757462143898, -0.10183197259902954, -0.10113653540611267, 0.395732581615448, -0.12556937336921692, 0.4774664044380188, 0.39355745911598206, 0.13088876008987427, -0.11814909428358078, 0.11269930005073547, -0.006264740601181984, 0.17417016625404358, 0.04161839187145233, -0.06738784909248352, 0.08922185003757477, 0.24567532539367676, 0.17322540283203125, -0.06512393057346344, -0.22543619573116302, -0.29231250286102295, -0.3405500054359436, -0.02874753251671791, 0.008717237040400505, -0.1490173041820526, 0.22569264471530914, -0.21455959975719452, 0.767422616481781, -0.05547454208135605, -0.7521674633026123, 0.07521045207977295, -0.12681032717227936, -0.07576848566532135, -0.10347487777471542, 0.2841755747795105, 0.1317954957485199, -0.0971757173538208, -0.2692982256412506, 0.01945284754037857, 0.5622130632400513, -0.1331649124622345, 0.09311285614967346, 0.038637496531009674, 0.2213282287120819, 0.4523600935935974, 0.15801027417182922, 0.8846405148506165, -0.07513445615768433, 0.031127477064728737, 0.5231834053993225, 0.03473743423819542, -0.17047493159770966, -0.17466378211975098, 0.17339308559894562, -0.12025254219770432, -0.12492571771144867, 0.16834796965122223, -0.014029528945684433, -0.23354074358940125, -0.0593990683555603, -0.19875341653823853, 0.39846569299697876, 0.03309723734855652, -0.020205259323120117, 0.44865700602531433, -0.05459389463067055, -0.3017268776893616, -0.22327634692192078, 0.4332766532897949, 0.1188574731349945, 0.5123419165611267, -0.19626685976982117, -0.014271369203925133, 0.32454973459243774, -0.12622469663619995, -0.27465298771858215, -0.4345983862876892, -0.21029411256313324, 0.6203610301017761, 0.3659462630748749, 0.03914409875869751, -0.27046599984169006, -0.10478544980287552, 0.5862622857093811, -0.3551810383796692, -0.014159641228616238, 0.13618868589401245, 0.3508186638355255, 0.1402478963136673, -0.05945201218128204, -0.295120507478714, -0.2755342125892639, 0.3156542181968689, -0.16786015033721924, -0.2363269180059433, -0.14080490171909332, 0.3169991374015808, 0.08440806716680527, -0.22506852447986603, -0.10834728926420212, 0.17026802897453308, -0.0037664026021957397, -0.4357306659221649, 0.23463904857635498, -0.020679131150245667, -0.08366286754608154, 0.2511395514011383, -0.18949677050113678, -0.11507578194141388, 0.1416926085948944, -0.0012399554252624512, 0.037354547530412674, 0.27079570293426514, -0.01909913867712021, -0.12557518482208252, 0.0362686924636364, 0.2023795247077942, 0.33686843514442444, 0.3919956386089325, -0.01164753083139658, 0.02678157389163971, 0.07503575086593628, -0.19804517924785614, -0.27904537320137024, -0.508736789226532, -0.016343727707862854, 0.5438076257705688, -0.22907382249832153, -0.033070214092731476, -0.25225263833999634, -0.06902000308036804, -0.3412880003452301, -0.2994685769081116, -0.14537584781646729, 0.21028786897659302, 0.48531487584114075, -0.021708250045776367, -0.08161914348602295, 0.23663128912448883, 0.1369973123073578, -0.10283667594194412, -0.44928205013275146, -0.39429426193237305, -0.33231425285339355, 0.008975930511951447, -0.16327807307243347, 0.09180505573749542, 0.42439401149749756, 0.25181737542152405, 0.25601691007614136, 0.32097482681274414, -0.37617290019989014, 0.21785782277584076, -0.059946704655885696, 0.4868437349796295, 0.140789195895195, -0.1526881754398346, 0.13727474212646484, 0.36294490098953247, -0.04910072684288025, -0.27113983035087585, 0.3237378001213074, -0.14477743208408356, -0.09401246905326843, 0.30740857124328613, -0.4117651581764221, -0.0037413518875837326, -0.07535113394260406, 0.019795630127191544, -0.028572091832756996, 0.23182998597621918, -0.048854000866413116, 0.26023435592651367, 0.02936578169465065, -0.03801269829273224, -0.1894790083169937, 0.3668730556964874, -0.009100701659917831, -0.24243536591529846, -0.2850472033023834, 0.21748597919940948, -0.16947494447231293, -0.1782074123620987, -0.1168159693479538, 0.20955343544483185, -0.11842729896306992, -0.3265905976295471, 0.1940993070602417, 0.13319776952266693, 0.16464468836784363, 0.0656948834657669, -0.22393938899040222, -0.2076258510351181, -0.1741596907377243, -0.07470540702342987, 0.5708887577056885, -0.36478760838508606, -0.236117884516716, 0.0443415604531765, 0.3130905032157898, 0.38163310289382935, 0.15495236217975616, 0.09109083563089371, 0.11633532494306564, 0.6442992091178894, -0.2820439636707306, -0.010414216667413712, 0.03549785912036896, 0.10847871005535126, -0.21561147272586823, -0.11725674569606781, 0.005909688770771027, 0.3858318626880646, -0.2495945543050766, -0.3489338457584381, -0.4311169385910034 ]
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
I mean, the parquet is like: 00000-0143554 00001-0143554 00002-0143554 ... 00100-0143554 ... 09100-0143554 I just downloaded the first 9900 part of it. I can not load with load_dataset, it throw an error says my file is not same as parquet all amount. How could I load the only I have? ( I really don't want downlaod them all, cause, I don't need all, and pulus, its huge.... ) As I said, I have donwloaded about 9999... It's not about stream... I just wnat to konw how to load offline... part....
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more**
90
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more** I mean, the parquet is like: 00000-0143554 00001-0143554 00002-0143554 ... 00100-0143554 ... 09100-0143554 I just downloaded the first 9900 part of it. I can not load with load_dataset, it throw an error says my file is not same as parquet all amount. How could I load the only I have? ( I really don't want downlaod them all, cause, I don't need all, and pulus, its huge.... ) As I said, I have donwloaded about 9999... It's not about stream... I just wnat to konw how to load offline... part....
[ -0.3257424235343933, -0.32959890365600586, -0.030774660408496857, 0.4810560941696167, 0.2430637925863266, 0.002918832004070282, -0.1105833500623703, 0.35443198680877686, 0.08252911269664764, 0.1265896111726761, -0.07560878992080688, -0.06051463633775711, 0.0817796140909195, 0.46033138036727905, 0.045827846974134445, 0.009520646184682846, -0.057267703115940094, 0.37964916229248047, 0.18075452744960785, -0.12036149203777313, -0.11166755110025406, -0.003267034888267517, -0.14947018027305603, 0.021223530173301697, 0.15509448945522308, 0.1115327849984169, 0.020331794396042824, 0.017690379172563553, -0.3883877396583557, -0.06348586082458496, 0.23697207868099213, -0.3347074091434479, 0.3250105679035187, -0.0006416290998458862, -0.00012242738739587367, -0.11320333927869797, 0.30817896127700806, -0.2833765149116516, -0.24479463696479797, 0.048880159854888916, -0.14679184556007385, -0.22300028800964355, 0.1561422049999237, -0.4474351108074188, -0.18944847583770752, -0.23959240317344666, 0.020961269736289978, -0.11508914083242416, 0.3822307586669922, 0.3094967305660248, 0.0678420215845108, -0.18844959139823914, 0.23582063615322113, 0.12622113525867462, 0.34384769201278687, -0.22807858884334564, 0.15897075831890106, 0.1542457789182663, 0.5002176761627197, -0.038192011415958405, 0.1696893870830536, -0.12825816869735718, 0.028431108221411705, 0.22616203129291534, -0.08077118545770645, -0.016721438616514206, 0.291345477104187, -0.5333547592163086, 0.5168607831001282, 0.4887564182281494, 0.4184470474720001, 0.21669524908065796, 0.04022202640771866, -0.2911470830440521, -0.049658697098493576, -0.39396822452545166, -0.12657368183135986, 0.6433498859405518, -0.16815415024757385, 0.2268393486738205, -0.263729065656662, -0.22738690674304962, -0.20931297540664673, 0.2954578101634979, -0.2471647411584854, 0.03918003290891647, -0.11012227088212967, 0.06244536489248276, 0.19116733968257904, -0.10551416873931885, -0.11574780941009521, -0.13543365895748138, -0.1560656726360321, 0.23191319406032562, -0.16244368255138397, -0.1218118965625763, -0.4839085340499878, 0.12684400379657745, 0.34151384234428406, 0.09963401407003403, 0.01823475956916809, 0.23202717304229736, 0.23136471211910248, 0.10581108927726746, 0.4047575294971466, -0.05548090115189552, -0.15656206011772156, -0.07200562953948975, 0.09258048236370087, 0.11977054178714752, 0.0098133385181427, -0.17209392786026, -0.2669709026813507, 0.08855822682380676, -0.47956427931785583, -0.17877161502838135, -0.15560957789421082, -0.40176641941070557, -0.01588040217757225, -0.22107288241386414, 0.16682472825050354, -0.017552059143781662, 0.09170010685920715, 0.062119532376527786, 0.06596005707979202, 0.45996689796447754, -0.24387666583061218, 0.10122950375080109, -0.06306241452693939, -0.7578185796737671, -0.05276850238442421, -0.003906533122062683, -0.09601083397865295, -0.03680572658777237, 0.08117039501667023, -0.27333933115005493, 0.22169522941112518, 0.04754893109202385, 0.07966306060552597, -0.09450170397758484, 0.24227696657180786, -0.41223853826522827, -0.1462201178073883, 0.07520274817943573, 0.07915849983692169, 0.09789618849754333, 0.18843260407447815, 0.01848577708005905, -0.09277135878801346, 0.1312272548675537, -0.323695570230484, -0.2854238748550415, 0.03701367974281311, 0.07378135621547699, -0.1519753634929657, 0.1749933362007141, -0.7383393049240112, 0.2670440077781677, -0.11850465089082718, -0.06232626363635063, -0.21458151936531067, 0.05916199833154678, -0.18200567364692688, -0.13775506615638733, 0.5329059958457947, 0.20015890896320343, -0.3185778558254242, 0.07565872371196747, 0.03981625661253929, -0.09166382253170013, 0.6043390035629272, 0.23282819986343384, -0.4540769159793854, -0.06164778023958206, -0.17290328443050385, -0.20267057418823242, 0.6633792519569397, 0.24712404608726501, -0.19233468174934387, 0.651504397392273, 0.037413522601127625, -0.2417539656162262, 0.08828270435333252, 0.014207483269274235, 0.4255879819393158, 0.03703441470861435, 0.05737201124429703, 0.42169010639190674, -0.01953740231692791, -0.0012750383466482162, -0.30394047498703003, -0.38639554381370544, 0.11996017396450043, 0.30893436074256897, 0.09139002859592438, 0.3268367648124695, 0.3187069892883301, -0.10483743250370026, 0.2904774844646454, -0.09122361242771149, 0.21285681426525116, 0.1815291792154312, 0.06927262991666794, 0.33827126026153564, -0.049837686121463776, -0.2909861207008362, -0.38582056760787964, 0.1856936514377594, 0.04459109902381897, -0.6014483571052551, 0.24281474947929382, 0.1204601377248764, -0.11951307952404022, -0.33045244216918945, 0.1804458498954773, -0.03460972383618355, -0.03345206379890442, 0.046205855906009674, 0.016299091279506683, -0.35151877999305725, -0.3829432725906372, 0.11090581864118576, 0.0938493013381958, 0.04002493619918823, -0.3057295083999634, 0.25449684262275696, 0.19916851818561554, 0.05154722183942795, 0.24739289283752441, -0.4145636558532715, 0.25438448786735535, -0.2126881629228592, 0.014515215530991554, 0.24545538425445557, 0.11544173210859299, 0.029878489673137665, 0.2950609624385834, 0.14414113759994507, 0.05767130106687546, -0.1936580240726471, -0.028590911999344826, 0.0861106663942337, 0.11975453794002533, -0.009155813604593277, -0.17119106650352478, 0.18072295188903809, 0.07096866518259048, 0.22961503267288208, 0.020695582032203674, -0.15149414539337158, 0.26709458231925964, -0.13359275460243225, 0.093089759349823, 0.11398909986019135, 0.3515612483024597, 0.2226848155260086, -0.05721138417720795, 0.11462308466434479, -0.3873266279697418, -0.24716880917549133, 0.13089771568775177, -0.12393733859062195, -0.16225919127464294, 0.2400723695755005, -0.1791059970855713, -0.11446407437324524, -0.17632408440113068, -0.06807754933834076, -0.010764092206954956, 0.20384569466114044, 0.16998977959156036, 0.08860533684492111, 0.6097251772880554, -0.02796839363873005, 0.08836687356233597, 0.22642989456653595, -0.0636165663599968, 0.03270608186721802, 0.022882726043462753, -0.15421368181705475, -0.012915143743157387, 0.2549058794975281, 0.281808465719223, 0.08153047412633896, -0.14921726286411285, -0.0477718859910965, -0.2115093618631363, 0.019587263464927673, -0.13046032190322876, 0.2848234176635742, -0.16403728723526, 0.11047777533531189, -0.030505388975143433, 0.21069106459617615, 0.14402887225151062, -0.147491917014122, -0.4642500877380371, 0.32230687141418457, -0.1247611790895462, -0.34073206782341003, -0.17940956354141235, -0.23037691414356232, -0.24107253551483154, 0.04739449545741081, 0.24236206710338593, 0.32240161299705505, 0.03264101222157478, -0.07086299359798431, -0.18309490382671356, -0.3207804560661316, -0.08137780427932739, -0.12118104100227356, 0.2021753340959549, 0.059610478579998016, 0.02989257127046585, 0.4958689212799072, -0.04359200969338417, 0.04115082323551178, 0.05955646187067032, -0.06625206768512726, -0.03950434923171997, 0.056106582283973694, 0.06977778673171997, 0.4803583323955536, 0.017749618738889694, -0.21352484822273254, -0.226026713848114, -0.31587228178977966, 0.40721994638442993, 0.42242956161499023, 0.109901562333107, -0.43185457587242126, -0.18827152252197266, -0.28621208667755127, 0.05334288999438286, 0.08236570656299591, 0.02169894240796566, -0.4859285354614258, 0.31508296728134155, 0.18928243219852448, -0.3388781249523163, 0.1909857988357544, 0.011181887239217758, -0.1846567988395691, 0.3774820566177368, -0.4872562885284424, 0.08842653036117554, -0.12369179725646973, -0.38337966799736023, -0.4022606909275055, 0.018144827336072922, 0.0007364153861999512, -0.6231661438941956, 0.026662738993763924, 0.10455315560102463, 0.0342165008187294, -0.10092567652463913, 0.06157614663243294, 0.24543875455856323, 0.08138567209243774, 0.45356395840644836, 0.03508387878537178, 0.47617775201797485, -0.09927722811698914, 0.17180639505386353, 0.27198925614356995, -0.0176843348890543, 0.07887968420982361, -0.24083712697029114, 0.15470804274082184, 0.25673726201057434, 0.09379711747169495, -0.025177573785185814, 0.4539993405342102, -0.015511438250541687, -0.2528185546398163, -0.4901697039604187, -0.31053870916366577, -0.37339574098587036, 0.006183139979839325, 0.018338806927204132, 0.1442621499300003, 0.08330582827329636, -0.10190534591674805, -0.13554391264915466, 0.1339011937379837, -0.16376489400863647, 0.07802714407444, 0.025926664471626282, 0.11442060768604279, 0.14368249475955963, -0.2948724329471588, 0.3209594190120697, 0.20117083191871643, 0.22118377685546875, -0.34972211718559265, 0.14335042238235474, 0.0766763985157013, -0.04335084185004234, 0.1202034056186676, -0.08608873188495636, 0.7678964138031006, 0.2832832634449005, 0.47741949558258057, -0.10548844933509827, -0.23777459561824799, -0.45549941062927246, -0.03227877989411354, -0.10081876814365387, -0.23777896165847778, 0.4472772479057312, 0.4882808029651642, -0.5864805579185486, 0.12716540694236755, -0.1257975995540619, 0.4082018733024597, -0.19838815927505493, 0.037189796566963196, -0.25122806429862976, -0.025720341131091118, -0.21297837793827057, 0.14848142862319946, -0.003338756039738655, 0.1503390669822693, 0.2119978368282318, 0.08093492686748505, -0.22703856229782104, -0.10289490222930908, -0.17528076469898224, -0.015765385702252388, 0.20071861147880554, 0.09317175298929214, 0.10290117561817169, 0.1531362235546112, 0.43332940340042114, 0.35648930072784424, 0.331729531288147, 0.112281933426857, -0.25470051169395447, 0.3563406765460968, 0.020920172333717346, 0.21402820944786072, -0.08945111930370331, 0.01609152927994728, -0.2283860445022583, 0.15448743104934692, 0.23507429659366608, -0.074894480407238, 0.33880454301834106, -0.21340861916542053, -0.362344890832901, -0.3393937349319458, -0.47608205676078796, 0.450879842042923, 0.05347427353262901, 0.009121939539909363, -0.041419751942157745, 0.15912564098834991, -0.2035607099533081, 0.11640115827322006, 0.08454934507608414, 0.9618239998817444, -0.2652602791786194, 0.01822267845273018, -0.5918075442314148, -0.37470942735671997, 0.5635185241699219, -0.5436168313026428, -0.0915873572230339, -0.13198363780975342, -0.3942040503025055, -0.0920615941286087, -0.12954658269882202, -0.11433721333742142, 0.471443772315979, 0.21962562203407288, 0.6402521133422852, -0.11239246279001236, 0.25731831789016724, 0.19805128872394562, 0.20481428503990173, 0.12504352629184723, 0.06305092573165894, -0.30246657133102417, -0.015456799417734146, -0.05262038856744766, -0.10518831014633179, 0.030486151576042175, -0.17925256490707397, 0.045551981776952744, -0.07126656174659729, 0.16894282400608063, 0.35354211926460266, -0.43632516264915466, -0.061696700751781464, -0.20842362940311432, -0.32536590099334717, -0.03252015635371208, 0.22335147857666016, -0.029107674956321716, 0.03227474167943001, -0.33208081126213074, 0.03240089491009712, 0.15511032938957214, -0.1521981656551361, -0.2761957347393036, 0.28553035855293274, -0.30546101927757263, -0.18096593022346497, 0.0812126025557518, 0.15136131644248962, -0.17779408395290375, -0.030150985345244408, 0.049570828676223755, 0.17596569657325745, 0.2240726351737976, -0.03256071358919144, -0.2637649476528168, -0.18945029377937317, 0.1687333881855011, -0.03564735874533653, 0.0017020292580127716, 0.06921739876270294, -0.416023313999176, -0.0698789581656456, 0.16638390719890594, -0.2719171643257141, -0.07994484901428223, 0.3111512064933777, -0.026271536946296692, -0.13499274849891663, 0.29053795337677, -0.016769524663686752, -0.20261603593826294, -0.03527062386274338, -0.047091271728277206, 0.17252928018569946, -0.0212702713906765, -0.21357931196689606, 0.03612885624170303, 0.3290679454803467, 0.14658036828041077, -0.03731655701994896, 0.09650154411792755, -0.051564328372478485, 0.10289156436920166, -0.6643271446228027, -0.4238269031047821, 0.1659451127052307, -0.03767115995287895, 0.051373329013586044, 0.33598336577415466, -0.24690674245357513, 0.10148121416568756, 0.04050068557262421, -0.12882494926452637, 0.5058213472366333, -0.05711369216442108, 0.5351307988166809, 0.31797945499420166, 0.09961198270320892, -0.023556776344776154, 0.11546173691749573, 0.031353868544101715, 0.14655379951000214, -0.06599599868059158, -0.05977996438741684, 0.17733263969421387, 0.22047710418701172, 0.07120303809642792, -0.06108388304710388, -0.33694061636924744, -0.3245115876197815, -0.2320692539215088, 0.021123986691236496, 0.06456613540649414, -0.09982892125844955, 0.3009839653968811, -0.22516649961471558, 0.7396475076675415, 0.04520956799387932, -0.8186911940574646, 0.19639353454113007, -0.17176377773284912, 0.09569454938173294, 0.05203303322196007, 0.12256166338920593, 0.08590427786111832, -0.06872820854187012, -0.3254305422306061, -0.18029791116714478, 0.42674046754837036, -0.019817590713500977, 0.15326392650604248, -0.002579793334007263, 0.17059361934661865, 0.42040786147117615, 0.1801876425743103, 0.5699338912963867, -0.07691455632448196, 0.13071785867214203, 0.4537683129310608, 0.10202523320913315, -0.2188097983598709, -0.017799455672502518, 0.2509882152080536, -0.10310415923595428, -0.0623030848801136, 0.10088139772415161, -0.010352522134780884, -0.2509923577308655, -0.36009013652801514, -0.1256440281867981, 0.31312569975852966, 0.22890743613243103, 0.04037173464894295, 0.35273632407188416, -0.031390801072120667, -0.29910242557525635, -0.278218537569046, 0.4407801032066345, 0.10674256086349487, 0.42161446809768677, -0.15148857235908508, 0.007415942847728729, 0.30589759349823, -0.09894907474517822, -0.3119686543941498, -0.46196988224983215, -0.1867714524269104, 0.7826231718063354, 0.19314062595367432, -0.0788646712899208, -0.29597559571266174, -0.08523962646722794, 0.6286140084266663, -0.20711909234523773, 0.031044932082295418, 0.1706753522157669, 0.29209721088409424, 0.2146199345588684, -0.16334067285060883, -0.2653617262840271, -0.21749980747699738, 0.32570022344589233, 0.03499303758144379, -0.16611842811107635, -0.0717804878950119, 0.4212709069252014, 0.008618459105491638, -0.04421465843915939, -0.21209067106246948, 0.3922661244869232, 0.06717897206544876, -0.3877813518047333, 0.313437819480896, 0.07804214209318161, -0.1082940399646759, 0.4132440388202667, -0.2751525938510895, -0.12133358418941498, 0.0856616199016571, 0.06476959586143494, 0.05314325913786888, 0.3814011514186859, 0.02652079425752163, -0.20837301015853882, -0.11177203059196472, 0.38404029607772827, 0.4507315158843994, 0.26954421401023865, 0.0266378503292799, -0.05723971500992775, 0.06709716469049454, -0.12539584934711456, -0.18535040318965912, -0.5586889982223511, -0.0495961531996727, 0.47415784001350403, -0.23738467693328857, -0.10056352615356445, -0.2338027060031891, -0.2187708020210266, -0.24343188107013702, -0.27237817645072937, 0.024635212495923042, 0.18597853183746338, 0.4591074585914612, -0.021877247840166092, -0.10119247436523438, 0.2993127703666687, 0.13615864515304565, -0.05506117641925812, -0.28979313373565674, -0.471000075340271, -0.3542652726173401, 0.14245787262916565, -0.20283368229866028, 0.08577810227870941, 0.30549556016921997, 0.1307448297739029, 0.3299449682235718, 0.2878236174583435, -0.18219153583049774, 0.41397982835769653, 0.03044004738330841, 0.2554502487182617, 0.01385851576924324, -0.13902580738067627, 0.03289256989955902, 0.4347386360168457, -0.057154372334480286, -0.24174898862838745, 0.2604992687702179, -0.015241006389260292, -0.02732752077281475, 0.3310489058494568, -0.19467657804489136, -0.07447484135627747, -0.0026151947677135468, 0.08329711854457855, -0.05333086848258972, 0.36136746406555176, -0.09517529606819153, 0.16859975457191467, 0.16253145039081573, -0.02559182234108448, -0.0649518370628357, 0.3380484879016876, 0.0755612701177597, -0.23092985153198242, -0.23525512218475342, 0.11310626566410065, -0.2466799020767212, -0.08340425789356232, -0.3244766592979431, -0.007784579880535603, -0.14727544784545898, -0.48321905732154846, 0.3461526334285736, -0.08245155215263367, 0.060625914484262466, 0.004033233970403671, -0.209798663854599, -0.3932857811450958, -0.08086410164833069, -0.12576168775558472, 0.5477099418640137, -0.3479042053222656, -0.16716773808002472, -0.11786991357803345, 0.3841816782951355, 0.35367968678474426, 0.35258057713508606, -0.11534960567951202, 0.2892346680164337, 0.6204427480697632, -0.1594802439212799, -0.10227300226688385, 0.004674825817346573, -0.034138023853302, -0.17746810615062714, -0.023385312408208847, -0.020562902092933655, 0.3803086578845978, -0.2684721052646637, -0.34941619634628296, -0.3359682559967041 ]
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
Hi, @lucasjinreal. I am not sure of understanding your issue. What is the error message and stack trace you get? What version of `datasets` are you using? Could you provide a reproducible example? Without knowing all those details, I would naively say that you can load whatever number of Parquet files by using the "parquet" loader: https://huggingface.co/docs/datasets/loading#parquet ```python ds = load_dataset("parquet", data_files="data/train-001*-of-00314.parquet", split="train") ```
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more**
64
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more** Hi, @lucasjinreal. I am not sure of understanding your issue. What is the error message and stack trace you get? What version of `datasets` are you using? Could you provide a reproducible example? Without knowing all those details, I would naively say that you can load whatever number of Parquet files by using the "parquet" loader: https://huggingface.co/docs/datasets/loading#parquet ```python ds = load_dataset("parquet", data_files="data/train-001*-of-00314.parquet", split="train") ```
[ -0.20429030060768127, -0.4056858420372009, 0.012842480093240738, 0.5306616425514221, 0.3009801506996155, 0.012048207223415375, -0.1548215001821518, 0.49277055263519287, 0.1744457334280014, 0.10451056063175201, -0.11520453542470932, 0.005548469722270966, -0.024647079408168793, 0.37557753920555115, 0.0963752344250679, -0.05941183865070343, -0.08441958576440811, 0.31193965673446655, 0.14806832373142242, -0.11737054586410522, -0.25627630949020386, -0.0282630305737257, -0.0945105105638504, 0.050582170486450195, 0.04376879334449768, 0.21024425327777863, -0.05848448723554611, 0.10969598591327667, -0.2712625563144684, -0.14726471900939941, 0.2839982509613037, -0.35971134901046753, 0.2441907823085785, 0.04483494907617569, -0.00012340159446466714, -0.07225364446640015, 0.45698219537734985, -0.25357547402381897, -0.2476385533809662, -0.05796900391578674, -0.05736805498600006, -0.3680170476436615, 0.22100073099136353, -0.39211276173591614, -0.21512359380722046, -0.3029189109802246, -0.03141115605831146, -0.12610392272472382, 0.4584406018257141, 0.33620354533195496, 0.07280002534389496, -0.06338346004486084, 0.3115469813346863, 0.20727111399173737, 0.3848170340061188, -0.254963755607605, 0.1885729432106018, 0.12028676271438599, 0.6455916166305542, -0.015866052359342575, 0.2620546817779541, -0.06264129281044006, 0.04719384014606476, 0.2643141746520996, -0.05268212407827377, 0.036506909877061844, 0.2245386242866516, -0.618510365486145, 0.47833582758903503, 0.5152281522750854, 0.4227615296840668, 0.11290993541479111, -0.07471424341201782, -0.3401218354701996, -0.07553232461214066, -0.38041549921035767, -0.04955405741930008, 0.6571541428565979, -0.14887896180152893, 0.06911658495664597, -0.2583395838737488, -0.22218161821365356, -0.15007710456848145, 0.2863718569278717, -0.3221803903579712, 0.04610259458422661, -0.09235362708568573, 0.1451570689678192, 0.2278856784105301, -0.15710385143756866, -0.12879174947738647, -0.06757695227861404, -0.0036578625440597534, 0.35658949613571167, -0.3348929286003113, -0.16443295776844025, -0.3493897020816803, 0.19218809902668, 0.377536416053772, 0.15870893001556396, -0.16526341438293457, 0.22567668557167053, 0.15638534724712372, 0.1617041528224945, 0.4234625995159149, -0.18169142305850983, -0.18879443407058716, 0.07047909498214722, 0.09152001887559891, 0.030416550114750862, 0.05135336145758629, -0.10966246575117111, -0.24108923971652985, -0.04771450534462929, -0.5140296220779419, -0.18306735157966614, -0.022351309657096863, -0.3538198471069336, -0.028418757021427155, -0.11706876009702682, 0.1008443608880043, 0.0019358065910637379, 0.06714098155498505, 0.002804376184940338, 0.009326747618615627, 0.3358386158943176, -0.25323688983917236, 0.24568939208984375, -0.18915432691574097, -0.5896635055541992, -0.09002406895160675, 0.02049039863049984, -0.08887799829244614, -0.1733706295490265, 0.16901899874210358, -0.26425987482070923, 0.20577266812324524, 0.20064207911491394, 0.1385771632194519, -0.12377340346574783, 0.1763199418783188, -0.42366084456443787, -0.2276795506477356, 0.14368832111358643, 0.09750860929489136, 0.23950742185115814, 0.3531601130962372, 0.024625346064567566, -0.17092108726501465, 0.07229581475257874, -0.4076717793941498, -0.29123830795288086, 0.0157848559319973, 0.043021705001592636, -0.16297094523906708, 0.1805439442396164, -0.7187352776527405, 0.31069549918174744, -0.08764692395925522, 0.178971067070961, -0.2616431415081024, -0.029102347791194916, -0.26387152075767517, -0.12434664368629456, 0.4488341510295868, 0.3039981722831726, -0.2680072486400604, -0.01783452183008194, 0.1110580638051033, -0.06339076161384583, 0.5500050187110901, 0.34128043055534363, -0.4598222076892853, -0.183517187833786, -0.15021371841430664, -0.1147167980670929, 0.4272635579109192, 0.13616302609443665, -0.04407615214586258, 0.5089724659919739, 0.039367251098155975, -0.18097323179244995, 0.025189392268657684, -0.15513107180595398, 0.3646637499332428, -0.02688472531735897, 0.15384654700756073, 0.43819528818130493, 0.026846129447221756, -0.03574809432029724, -0.26067888736724854, -0.37752294540405273, 0.25517845153808594, 0.38144204020500183, 0.1671757996082306, 0.21700304746627808, 0.15297240018844604, -0.20467017590999603, 0.2571371793746948, -0.18902184069156647, 0.24882066249847412, 0.27507829666137695, 0.09767071902751923, 0.46596550941467285, -0.06165661662817001, -0.2919178307056427, -0.3142636716365814, 0.3122173249721527, 0.06049775332212448, -0.509649395942688, 0.2118104249238968, 0.21934814751148224, -0.07309584319591522, -0.25706401467323303, 0.14367754757404327, 0.029905326664447784, -0.028379375115036964, -0.005001448094844818, 0.06581993401050568, -0.2367365062236786, -0.35828667879104614, 0.1583721935749054, 0.001112503930926323, 0.18301674723625183, -0.2581712305545807, 0.3138309121131897, 0.2229214757680893, -0.04085478559136391, 0.31884610652923584, -0.3183209300041199, 0.3966929316520691, -0.23727257549762726, 0.1318296194076538, 0.22461897134780884, 0.18740591406822205, -0.03821885585784912, 0.1552828848361969, 0.11420159786939621, 0.12819328904151917, -0.08255470544099808, -0.053053006529808044, 0.13096804916858673, 0.13814836740493774, 0.024324551224708557, -0.1317603886127472, 0.23242318630218506, 0.03441285341978073, 0.3453751504421234, -0.009701691567897797, -0.04159429296851158, 0.2072172313928604, -0.16575394570827484, 0.09050653874874115, 0.20562633872032166, 0.40197107195854187, 0.12448601424694061, -0.142607182264328, 0.04808157682418823, -0.4630843698978424, -0.2721436619758606, 0.017304599285125732, -0.11237956583499908, -0.1996968388557434, 0.3243524134159088, -0.18231159448623657, -0.07303562760353088, -0.2047726809978485, -0.07343129068613052, -0.022656723856925964, 0.21311962604522705, 0.12472592294216156, -0.02515103854238987, 0.5300309062004089, 0.10190530866384506, 0.1270626038312912, 0.33273428678512573, -0.22002819180488586, 0.020751595497131348, -0.029477769508957863, -0.1769757717847824, -0.04342801496386528, 0.24484002590179443, 0.21909254789352417, 0.14373528957366943, -0.21380764245986938, -0.05271631479263306, -0.2518530786037445, 0.0019174888730049133, -0.1937229484319687, 0.28741955757141113, -0.1165117472410202, 0.0566970556974411, -0.08025625348091125, 0.12450528144836426, 0.16493076086044312, -0.1626858413219452, -0.4130014479160309, 0.20031285285949707, -0.19298167526721954, -0.24718786776065826, -0.19167140126228333, -0.08706267923116684, -0.2818567454814911, 0.025078143924474716, 0.1977178156375885, 0.2698003947734833, 0.036490727216005325, -0.19850559532642365, -0.15277375280857086, -0.3417147994041443, -0.0889434665441513, -0.08698554337024689, 0.017094101756811142, 0.06725834310054779, 0.05583222582936287, 0.5066498517990112, -0.048451658338308334, -0.020549964159727097, 0.1006825864315033, -0.02799118496477604, 0.024521438404917717, 0.07928428798913956, 0.07608988881111145, 0.4621911644935608, 0.04047395661473274, -0.1063179299235344, -0.2322203367948532, -0.29175275564193726, 0.3922543525695801, 0.5039920210838318, 0.057185787707567215, -0.43009862303733826, -0.14067639410495758, -0.30635184049606323, 0.012031709775328636, 0.04533059149980545, 0.08849358558654785, -0.3537512719631195, 0.35057517886161804, 0.22569511830806732, -0.3089025020599365, 0.18445104360580444, 0.04485595226287842, -0.27500680088996887, 0.29789239168167114, -0.36979401111602783, -0.03312833607196808, -0.2713659405708313, -0.3397148847579956, -0.45241785049438477, 0.2125454694032669, -0.07555481791496277, -0.5569011569023132, 0.03154539316892624, 0.09353131800889969, -0.17161574959754944, -0.1755392849445343, 0.09838853776454926, 0.13916411995887756, 0.1120474711060524, 0.4269079267978668, -0.004495423287153244, 0.5396876931190491, 0.06997552514076233, 0.13024960458278656, 0.2475893795490265, -0.04821380227804184, 0.15268617868423462, -0.1743343472480774, 0.05246108025312424, 0.2876887321472168, -0.00028195977210998535, 0.125595360994339, 0.423308789730072, 0.006517380475997925, -0.2334088683128357, -0.3691842555999756, -0.24683764576911926, -0.33969947695732117, -0.1320754885673523, 0.004277218133211136, 0.12156786024570465, 0.11112125217914581, -0.09235323965549469, -0.18456140160560608, 0.07348830997943878, -0.07515938580036163, 0.07564876973628998, 0.06389452517032623, 0.11177068948745728, 0.16689327359199524, -0.30316606163978577, 0.3100607097148895, 0.07376700639724731, 0.21669526398181915, -0.326614111661911, 0.14776507019996643, 0.052891675382852554, -0.018380774185061455, 0.2525653839111328, 0.01740005426108837, 0.8893339037895203, 0.22355161607265472, 0.42199134826660156, -0.04699862003326416, -0.37714633345603943, -0.5711728930473328, -0.02538204938173294, -0.12759798765182495, -0.028596743941307068, 0.3927529454231262, 0.49501487612724304, -0.6377739310264587, -0.0006214240565896034, -0.12088128924369812, 0.4586032032966614, -0.08924753218889236, 0.14936617016792297, -0.24168728291988373, -0.028445295989513397, -0.24459628760814667, 0.22918549180030823, 0.16524550318717957, 0.24468417465686798, 0.17777052521705627, 0.17688751220703125, -0.30452850461006165, -0.14140698313713074, -0.1096789538860321, -0.11652864515781403, 0.30045899748802185, 0.11946231871843338, 0.18936823308467865, 0.2791992425918579, 0.2419753074645996, 0.3045121133327484, 0.417076051235199, -0.013534296303987503, -0.3952033817768097, 0.23055264353752136, 0.08138056844472885, 0.2168179154396057, -0.010696008801460266, 0.039432547986507416, -0.10799812525510788, -0.036035723984241486, 0.22987951338291168, -0.06494639813899994, 0.36463114619255066, -0.03348714858293533, -0.2971073389053345, -0.3861362040042877, -0.5570151805877686, 0.3796252906322479, 0.07518571615219116, 0.038801804184913635, 0.012887682765722275, 0.33428317308425903, -0.15603531897068024, 0.0646151527762413, 0.04758286103606224, 0.8474516868591309, -0.30382639169692993, 0.04588235169649124, -0.5700826644897461, -0.443884015083313, 0.5811231136322021, -0.5156744718551636, -0.14677757024765015, -0.2171224057674408, -0.3233497440814972, -0.03615192323923111, -0.14062300324440002, -0.1907559633255005, 0.3358542323112488, 0.25413385033607483, 0.6332088708877563, -0.2061702460050583, 0.1459091603755951, 0.2295641154050827, 0.2133515477180481, 0.05767899751663208, 0.01283970382064581, -0.30924805998802185, 0.023295849561691284, -0.11227414011955261, -0.035584840923547745, 0.10808001458644867, -0.20371033251285553, 0.03012484684586525, -0.13116219639778137, 0.04098978638648987, 0.256287157535553, -0.46474719047546387, -0.08069298416376114, 0.030020099133253098, -0.39875882863998413, 0.1307002156972885, 0.22865058481693268, 0.030047990381717682, 0.17116022109985352, -0.35648348927497864, 0.0013744384050369263, 0.04003618657588959, -0.18429860472679138, -0.3166482150554657, 0.21646125614643097, -0.35746386647224426, -0.0885544866323471, 0.10113685578107834, 0.08848194777965546, -0.16263926029205322, -0.039262641221284866, -0.02261483669281006, 0.376173734664917, 0.2275087535381317, -0.009318932890892029, -0.2794540524482727, -0.2375907599925995, 0.2466575801372528, -0.10876265168190002, 0.0008755754679441452, 0.16891959309577942, -0.3530339300632477, -0.0020113810896873474, 0.09430354833602905, -0.2466447353363037, -0.01731591299176216, 0.2533155083656311, -0.006065383553504944, -0.04626395180821419, 0.3131290674209595, 0.042646992951631546, -0.2336714267730713, -0.029281172901391983, -0.124083012342453, 0.20561856031417847, -0.10686616599559784, -0.07554425299167633, 0.06298710405826569, 0.4336293935775757, -0.026787059381604195, -0.03132883831858635, 0.04162582755088806, -0.14691704511642456, 0.15740540623664856, -0.6777955889701843, -0.3270430862903595, 0.17049530148506165, -0.07803475856781006, 0.0799560472369194, 0.30677512288093567, -0.13876092433929443, 0.06686317175626755, -0.04506414383649826, -0.12436071038246155, 0.5837964415550232, -0.13185466825962067, 0.4585321545600891, 0.38704875111579895, 0.047810524702072144, -0.06958570331335068, 0.18184037506580353, 0.0010103210806846619, 0.0793784111738205, -0.050176531076431274, -0.07698284089565277, 0.06651097536087036, 0.18544568121433258, 0.06460513919591904, -0.12112965434789658, -0.2258850485086441, -0.2619982957839966, -0.14470192790031433, 0.05240118131041527, 0.06169033423066139, 0.03184909373521805, 0.198126882314682, -0.15754260122776031, 0.654762864112854, -0.012945950031280518, -0.6983363628387451, 0.21350058913230896, -0.1957613229751587, -0.003586500883102417, 0.10775229334831238, 0.13217395544052124, 0.14344246685504913, -0.0588555708527565, -0.29288771748542786, -0.10485606640577316, 0.3484140634536743, -0.0697382465004921, 0.06927481293678284, -0.05426015704870224, 0.17761585116386414, 0.4120321273803711, 0.24904924631118774, 0.7127720713615417, -0.14779219031333923, 0.15847980976104736, 0.4678761065006256, 0.08557047694921494, -0.1401572972536087, -0.19126205146312714, 0.26372015476226807, -0.04810304939746857, -0.009758781641721725, 0.18866798281669617, 0.06376175582408905, -0.286618173122406, -0.32226234674453735, -0.14522749185562134, 0.31446602940559387, 0.27947723865509033, 0.03518427163362503, 0.4142940938472748, -0.07835270464420319, -0.3986062705516815, -0.1434307098388672, 0.4666474461555481, 0.10035472363233566, 0.4478874206542969, -0.07585155218839645, -0.03374944627285004, 0.1847970187664032, -0.22475939989089966, -0.27117136120796204, -0.48295721411705017, -0.11540612578392029, 0.6297948360443115, 0.2032223492860794, -0.14309489727020264, -0.4064124524593353, 0.1030125766992569, 0.5613696575164795, -0.23653505742549896, 0.0017379466444253922, 0.2034820169210434, 0.2773234248161316, 0.0627899318933487, 0.06757955253124237, -0.2970800995826721, -0.2637757658958435, 0.39095014333724976, -0.02951965108513832, -0.26876944303512573, -0.07876269519329071, 0.32451117038726807, 0.006591275334358215, -0.20830664038658142, -0.16871187090873718, 0.3815697133541107, 0.014270283281803131, -0.37786009907722473, 0.2259223312139511, 0.020884327590465546, -0.16251470148563385, 0.37510135769844055, -0.25768962502479553, 0.09351146221160889, 0.06768667697906494, -0.013556644320487976, -0.02362368255853653, 0.3227240741252899, 0.08056113123893738, -0.14126518368721008, -0.018942661583423615, 0.24015749990940094, 0.3386843800544739, 0.3648178279399872, 0.010747453197836876, -0.07566826045513153, -0.05423359200358391, -0.268139511346817, -0.180457204580307, -0.5832450985908508, -0.027418486773967743, 0.3941175937652588, -0.1321047991514206, -0.20228293538093567, -0.2537042498588562, -0.22891005873680115, -0.2908066511154175, -0.18329060077667236, 0.07095678895711899, 0.16287490725517273, 0.4417991042137146, -0.02027878724038601, -0.1614903211593628, 0.31659644842147827, 0.15131229162216187, -0.06885228306055069, -0.42417803406715393, -0.4026755094528198, -0.26577097177505493, 0.046893276274204254, -0.30544230341911316, 0.045607611536979675, 0.4259525537490845, 0.05901612341403961, 0.21012336015701294, 0.24465452134609222, -0.2550159692764282, 0.3935483396053314, 0.05492866784334183, 0.3503163456916809, -0.03083110600709915, -0.09481346607208252, 0.04320085048675537, 0.37703022360801697, -0.012683949433267117, -0.1697499305009842, 0.2524559199810028, -0.15879330039024353, -0.02384764514863491, 0.16498525440692902, -0.17374996840953827, -0.08605971932411194, -0.07923071086406708, 0.037496984004974365, 0.04171856492757797, 0.39770397543907166, 0.009616777300834656, 0.11918642371892929, -0.0002547614276409149, -0.11693792790174484, -0.20709817111492157, 0.307107537984848, 0.007517216727137566, -0.2033267468214035, -0.23989923298358917, 0.03883437067270279, -0.2367883175611496, -0.02369743399322033, -0.1920815110206604, 0.13098594546318054, -0.05760340392589569, -0.3784558176994324, 0.31375575065612793, -0.07334117591381073, 0.1340041309595108, 0.11828701943159103, -0.20242559909820557, -0.28479713201522827, -0.08999542891979218, -0.19417166709899902, 0.5694968700408936, -0.4715712368488312, -0.3485126793384552, -0.19580966234207153, 0.32474014163017273, 0.313687801361084, 0.22393068671226501, -0.0926133319735527, 0.2721651494503021, 0.551087498664856, -0.11811428517103195, -0.2516963481903076, 0.09178584814071655, -0.013789335265755653, -0.2686619758605957, 0.03455578163266182, -0.06292495131492615, 0.42618826031684875, -0.15508830547332764, -0.2322893887758255, -0.32376551628112793 ]
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
@albertvillanova Not sure you have tested with this or not, but I have tried, the only error I got is it still laodding all parquet with a progress bar maxium to the whole number 014354, and it loads my 0 - 000999 part, then throws an error. Says Numinfo is not same. I am so confused,
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more**
56
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more** @albertvillanova Not sure you have tested with this or not, but I have tried, the only error I got is it still laodding all parquet with a progress bar maxium to the whole number 014354, and it loads my 0 - 000999 part, then throws an error. Says Numinfo is not same. I am so confused,
[ -0.25193583965301514, -0.41740682721138, -0.011996535584330559, 0.5046027898788452, 0.2603335380554199, -0.01766394078731537, -0.13745516538619995, 0.454632043838501, 0.018896576017141342, 0.12454808503389359, -0.1193847507238388, 0.02535063587129116, 0.10294146835803986, 0.39402052760124207, 0.17591577768325806, 0.04316463693976402, 0.02991247922182083, 0.3727268874645233, 0.11740856617689133, -0.1426759511232376, -0.3020463287830353, -0.0009813793003559113, -0.11015406250953674, 0.06595145165920258, 0.03210817649960518, 0.2862819731235504, -0.05218328535556793, 0.03809858858585358, -0.22985732555389404, -0.04899448901414871, 0.21068114042282104, -0.31196585297584534, 0.2564976215362549, 0.014205679297447205, -0.00012857811816502362, -0.12129062414169312, 0.4581194519996643, -0.27273568511009216, -0.18984080851078033, 0.055134378373622894, -0.03457268327474594, -0.2367120385169983, 0.12168747186660767, -0.43146950006484985, -0.2004767656326294, -0.08849596977233887, 0.06552189588546753, -0.13576576113700867, 0.45626944303512573, 0.3228355348110199, 0.0195748433470726, -0.20260527729988098, 0.21643151342868805, 0.13216263055801392, 0.38983380794525146, -0.34312134981155396, 0.17208321392536163, 0.1860295534133911, 0.7019299268722534, -0.018604064360260963, 0.24106580018997192, -0.12136922776699066, 0.11232195794582367, 0.15731783211231232, -0.14731523394584656, 0.004178420174866915, 0.4391184151172638, -0.5201995372772217, 0.46665799617767334, 0.5021325945854187, 0.46033862233161926, 0.18502673506736755, -0.0003685906995087862, -0.19520303606987, -0.11896403133869171, -0.39318886399269104, -0.04646981507539749, 0.5058197975158691, -0.13562674820423126, 0.19006241858005524, -0.2390095442533493, -0.22689858078956604, -0.19480033218860626, 0.2893003821372986, -0.38268402218818665, 0.14199408888816833, -0.06133875995874405, 0.07957504689693451, 0.22481293976306915, -0.12338422238826752, -0.07828663289546967, -0.020201798528432846, -0.05509776249527931, 0.24131521582603455, -0.19524206221103668, -0.2535669803619385, -0.4707067012786865, 0.16491389274597168, 0.42492711544036865, 0.14525358378887177, -0.10568224638700485, 0.3429131805896759, 0.1463976502418518, 0.14276042580604553, 0.41092824935913086, -0.19410347938537598, -0.11674628406763077, -0.08737936615943909, 0.12182457745075226, 0.05332348123192787, 0.05409398302435875, -0.0789608508348465, -0.23319968581199646, -0.05541374161839485, -0.5569798946380615, -0.1354866325855255, -0.1972193717956543, -0.4367927610874176, 0.08305846154689789, -0.1842808872461319, 0.26983925700187683, -0.03286624699831009, 0.08894672244787216, 0.010320499539375305, 0.05678580701351166, 0.3738100826740265, -0.40083742141723633, 0.19555875658988953, -0.08957601338624954, -0.6657777428627014, -0.0578942745923996, -0.054629918187856674, -0.13651175796985626, -0.016516180709004402, 0.15138663351535797, -0.15188078582286835, 0.17048336565494537, 0.12514731287956238, 0.1717049479484558, -0.06808703392744064, 0.2035529613494873, -0.48874741792678833, -0.20590633153915405, 0.016840625554323196, 0.023140467703342438, 0.14517401158809662, 0.24618877470493317, 0.10382869839668274, -0.1569174826145172, 0.1606859266757965, -0.3408522605895996, -0.2520603835582733, -0.013482557609677315, 0.007227463647723198, -0.1701960265636444, 0.1872861683368683, -0.5610165596008301, 0.33081763982772827, -0.08854690939188004, 0.041590962558984756, -0.2547159194946289, 0.005668597295880318, -0.2790835499763489, -0.1317542940378189, 0.45721685886383057, 0.23871909081935883, -0.27903661131858826, -0.011690784245729446, 0.13609355688095093, -0.11682568490505219, 0.6063652634620667, 0.25366121530532837, -0.3805122673511505, -0.31553328037261963, -0.15762633085250854, -0.1487424075603485, 0.5544476509094238, 0.24052119255065918, -0.05171508342027664, 0.5584545731544495, 0.02990517020225525, -0.3472929000854492, 0.11008986830711365, -0.036019664257764816, 0.2919217050075531, -0.09562665224075317, 0.13844120502471924, 0.38150250911712646, 0.038489166647195816, -0.10445127636194229, -0.28276583552360535, -0.3843960165977478, 0.19104664027690887, 0.3534807562828064, 0.12423792481422424, 0.29351532459259033, 0.265588641166687, -0.20267429947853088, 0.28477585315704346, -0.13870981335639954, 0.22864855825901031, 0.20810535550117493, 0.023164749145507812, 0.4230753183364868, -0.05505284294486046, -0.26756346225738525, -0.308191180229187, 0.21266970038414001, -0.0033806581050157547, -0.6035812497138977, 0.3541472554206848, 0.1643926203250885, -0.11350106447935104, -0.34728503227233887, 0.21511130034923553, 0.06775656342506409, -0.11675754934549332, 0.06772250682115555, 0.03938708081841469, -0.3168509900569916, -0.3333999216556549, 0.06515568494796753, 0.05342588573694229, 0.04653361439704895, -0.30524399876594543, 0.2813631594181061, 0.16547073423862457, -0.02020993083715439, 0.24409571290016174, -0.3094465732574463, 0.3699204623699188, -0.28693586587905884, 0.13772472739219666, 0.26412540674209595, 0.18339861929416656, -0.03367607295513153, 0.17578847706317902, 0.1445426195859909, 0.12630179524421692, -0.13727682828903198, -0.04182186722755432, 0.05922086909413338, 0.049225542694330215, -0.002648826688528061, -0.16190028190612793, 0.22335895895957947, 0.008955541998147964, 0.28228431940078735, -0.03102193959057331, -0.1546165645122528, 0.18044447898864746, -0.1760360449552536, 0.12453018873929977, 0.059266358613967896, 0.3198074698448181, 0.28119325637817383, -0.19385622441768646, 0.049390602856874466, -0.4291782081127167, -0.27022263407707214, 0.10154248028993607, -0.13651101291179657, -0.1705613136291504, 0.31090447306632996, -0.17114904522895813, -0.10639139264822006, -0.205539733171463, -0.2453995645046234, -0.08168704807758331, 0.19460472464561462, 0.18722596764564514, 0.0260408204048872, 0.5807671546936035, 0.025790322571992874, 0.13288623094558716, 0.27900540828704834, -0.09000004827976227, 0.07281890511512756, -0.08930566906929016, -0.22109510004520416, 0.024315789341926575, 0.24906736612319946, 0.2022477239370346, 0.06346223503351212, -0.18074357509613037, -0.1328202486038208, -0.21736805140972137, 0.0724044218659401, -0.21964198350906372, 0.3569679856300354, -0.10871626436710358, 0.06683862209320068, -0.08539953827857971, 0.13288715481758118, 0.23407408595085144, -0.12365167587995529, -0.5426267385482788, 0.2727694511413574, -0.22936567664146423, -0.21458877623081207, -0.3122771978378296, -0.18172357976436615, -0.288722425699234, -0.00345660001039505, 0.2008526474237442, 0.28716444969177246, -0.10701684653759003, -0.2036571502685547, -0.10080992430448532, -0.23370561003684998, -0.10484142601490021, -0.037579044699668884, 0.15026208758354187, 0.07086996734142303, -0.01063787192106247, 0.49416518211364746, -0.03326564282178879, 0.15413618087768555, -0.007832210510969162, -0.07498657703399658, -0.017685672268271446, -0.007610632106661797, 0.1211944967508316, 0.5086790919303894, 0.004461079835891724, -0.08805079013109207, -0.1902335286140442, -0.23838110268115997, 0.31277692317962646, 0.5617976784706116, 0.08044712990522385, -0.4931299388408661, -0.19461633265018463, -0.2791779935359955, 0.08458291739225388, 0.03859809413552284, 0.0031851858366280794, -0.36737555265426636, 0.44958627223968506, 0.2244446575641632, -0.29158303141593933, 0.0524170808494091, -0.029677610844373703, -0.3051278293132782, 0.26840704679489136, -0.370352566242218, 0.008620996959507465, -0.16862623393535614, -0.3972945511341095, -0.4962412118911743, 0.07020284980535507, -0.04392571747303009, -0.610601007938385, 0.05851013958454132, 0.09795909374952316, -0.1302034556865692, -0.17674720287322998, 0.12650521099567413, 0.19066698849201202, 0.13041263818740845, 0.42047563195228577, -0.020168766379356384, 0.45502007007598877, -0.016863636672496796, 0.08988020569086075, 0.2896139323711395, -0.1005202904343605, 0.07745885103940964, -0.19577336311340332, 0.23342213034629822, 0.3158641755580902, 0.12068182975053787, 0.0923391729593277, 0.462310791015625, -0.07021921128034592, -0.24241597950458527, -0.4281558096408844, -0.3028746545314789, -0.34033191204071045, 0.007091481238603592, 0.048901136964559555, 0.09168358147144318, 0.06588540226221085, -0.14667625725269318, -0.10426533222198486, 0.11217418313026428, -0.11392060667276382, 0.13997499644756317, 0.035329874604940414, 0.13428916037082672, 0.11961988359689713, -0.2680514454841614, 0.31795233488082886, 0.16260960698127747, 0.27778202295303345, -0.3003184497356415, 0.10756232589483261, 0.05392411723732948, -0.08846646547317505, 0.1758514642715454, -0.09531902521848679, 1.018569827079773, 0.15841500461101532, 0.4747527241706848, -0.018914010375738144, -0.253142774105072, -0.4324851632118225, -0.00035005807876586914, -0.08757787197828293, -0.17537270486354828, 0.4364961087703705, 0.6687847375869751, -0.60288405418396, 0.0754973366856575, -0.07824389636516571, 0.38100215792655945, -0.11685843765735626, 0.09083227068185806, -0.2689061164855957, 0.0471380352973938, -0.14179091155529022, 0.23756158351898193, 0.020903239026665688, 0.18569010496139526, 0.2017957866191864, 0.1244354397058487, -0.22719831764698029, -0.1896655559539795, -0.1240190714597702, 0.03970498591661453, 0.2344444990158081, 0.11372242867946625, 0.10822349786758423, 0.2762260437011719, 0.3288923501968384, 0.29946672916412354, 0.23933470249176025, 0.09892331063747406, -0.17818820476531982, 0.36475130915641785, -0.04598614200949669, 0.2584156095981598, -0.06556814908981323, 0.13626688718795776, -0.2517901659011841, 0.02403564192354679, 0.18414577841758728, 0.025165773928165436, 0.28868019580841064, -0.15159063041210175, -0.3489927053451538, -0.43879568576812744, -0.5011305809020996, 0.44417673349380493, 0.12359590828418732, 0.028578341007232666, -0.07927609980106354, 0.20150011777877808, -0.1535627245903015, 0.04108503833413124, 0.18131376802921295, 1.01944100856781, -0.27337419986724854, 0.05894697085022926, -0.6654288172721863, -0.4931427836418152, 0.5576114058494568, -0.5264782309532166, -0.1129097044467926, -0.247744619846344, -0.3125366270542145, -0.10069315135478973, -0.18748490512371063, -0.17206567525863647, 0.443615198135376, 0.16498972475528717, 0.6420155763626099, -0.24782401323318481, 0.20113058388233185, 0.2230803370475769, 0.1268482357263565, 0.14081497490406036, 0.08636745810508728, -0.11033421754837036, -0.034828491508960724, -0.03537934273481369, -0.11393843591213226, 0.02893795073032379, -0.18311139941215515, -0.019021354615688324, -0.08132001757621765, 0.1920865923166275, 0.3738937973976135, -0.39530909061431885, -0.1280362606048584, -0.050377149134874344, -0.4199947118759155, 0.04696899279952049, 0.1791677474975586, 0.1730060875415802, 0.016837244853377342, -0.33665624260902405, 0.03394046798348427, 0.17481458187103271, -0.1036870926618576, -0.24720978736877441, 0.2207798808813095, -0.2961477041244507, -0.16602453589439392, 0.03783290833234787, 0.13587798178195953, -0.13845279812812805, -0.03582928329706192, -0.050933435559272766, 0.26576709747314453, 0.24397489428520203, 0.004127425607293844, -0.21265621483325958, -0.16508950293064117, 0.17340578138828278, -0.1107257753610611, -0.029969990253448486, 0.058484841138124466, -0.32509422302246094, 0.019923988729715347, 0.05485852062702179, -0.28586459159851074, -0.032090794295072556, 0.288469523191452, 0.006504064425826073, -0.07816995680332184, 0.25234028697013855, -0.07900122553110123, -0.2321714162826538, -0.01825074478983879, -0.1270979344844818, 0.1864871233701706, -0.1023409366607666, -0.14992378652095795, 0.012359014712274075, 0.29328006505966187, 0.07093112915754318, -0.04605570062994957, 0.0326739177107811, -0.07871349900960922, 0.15927281975746155, -0.6432808637619019, -0.3827624022960663, 0.07977741956710815, -0.11555880308151245, 0.0680655688047409, 0.3017623722553253, -0.15527281165122986, 0.06784044206142426, -0.09818394482135773, -0.08401183784008026, 0.4949621260166168, -0.06822429597377777, 0.5133227109909058, 0.33680567145347595, 0.05228111892938614, -0.20342899858951569, 0.1700044870376587, -0.029026389122009277, 0.1981154978275299, -0.05632408708333969, -0.017203444615006447, 0.12026457488536835, 0.22069151699543, 0.05626095086336136, -0.0508323535323143, -0.3494637608528137, -0.18816788494586945, -0.1640968769788742, 0.12153316289186478, 0.005869194865226746, -0.13861995935440063, 0.2784218192100525, -0.18544474244117737, 0.6903858184814453, 0.05049091577529907, -0.7838791608810425, 0.1643109768629074, -0.08258326351642609, 0.1362581104040146, 0.021255167201161385, 0.22323590517044067, 0.07075837254524231, -0.09247592836618423, -0.29032614827156067, -0.10451798886060715, 0.4514184594154358, -0.05771896243095398, 0.005698487162590027, -0.013724200427532196, 0.13324978947639465, 0.4108276665210724, 0.12782248854637146, 0.7556062936782837, -0.1345500499010086, 0.0015513673424720764, 0.4882300794124603, 0.05474008619785309, -0.12454026937484741, -0.048070404678583145, 0.29821130633354187, -0.1290256679058075, -0.049486737698316574, 0.225319504737854, 0.08893534541130066, -0.2527276873588562, -0.22036682069301605, -0.15003350377082825, 0.24690866470336914, 0.22208552062511444, -0.010241981595754623, 0.4399202764034271, -0.0074630603194236755, -0.2803654670715332, -0.11028287559747696, 0.47651535272598267, 0.13272348046302795, 0.5038143992424011, -0.062074460089206696, 0.007184451445937157, 0.23075786232948303, -0.15948407351970673, -0.3153703510761261, -0.4111996293067932, -0.15717370808124542, 0.7405187487602234, 0.17468813061714172, -0.09463977068662643, -0.2044779360294342, 0.03389568626880646, 0.6470221281051636, -0.27107709646224976, -0.06774547696113586, 0.08767682313919067, 0.29910340905189514, 0.10474134981632233, -0.15077045559883118, -0.3354750871658325, -0.2759729325771332, 0.34242305159568787, -0.08652961254119873, -0.1292266696691513, -0.06582498550415039, 0.3742055892944336, 0.036300383508205414, -0.06993789225816727, -0.2104443609714508, 0.3430798649787903, 0.05541528761386871, -0.36866915225982666, 0.3309990167617798, 0.004991486668586731, -0.11688701808452606, 0.43493497371673584, -0.28823620080947876, -0.061363186687231064, 0.06202518194913864, 0.03980345278978348, -0.06413775682449341, 0.36450061202049255, 0.06765148043632507, -0.16261112689971924, -0.03705596178770065, 0.38960230350494385, 0.2879314124584198, 0.3245241343975067, -0.013072926551103592, -0.027127046138048172, 0.08036500960588455, -0.17850877344608307, -0.16725040972232819, -0.5382116436958313, -0.10754748433828354, 0.5101309418678284, -0.2234480381011963, -0.09479086101055145, -0.2740626931190491, -0.18230561912059784, -0.1778239607810974, -0.2945658266544342, 0.022125307470560074, 0.1665218472480774, 0.511996865272522, -0.05953624099493027, -0.02813001349568367, 0.2820424437522888, 0.0856659784913063, -0.14347940683364868, -0.3556656837463379, -0.4704703092575073, -0.3155597746372223, 0.1650385856628418, -0.13219745457172394, 0.1024189442396164, 0.33926063776016235, 0.07781145721673965, 0.2873077988624573, 0.2477789670228958, -0.15641550719738007, 0.389107882976532, 0.10261624306440353, 0.3286800682544708, 0.00043380260467529297, -0.07273858785629272, 0.054114725440740585, 0.4523024559020996, -0.07078695297241211, -0.2242366373538971, 0.34753522276878357, -0.09606686234474182, -0.0507948063313961, 0.23118668794631958, -0.2839266061782837, -0.08051300793886185, 0.040859468281269073, 0.16975072026252747, -0.006677286699414253, 0.3592730164527893, -0.0781143307685852, 0.22006936371326447, 0.10323833674192429, -0.04109469801187515, -0.1307971030473709, 0.2427227795124054, 0.05233928561210632, -0.3628573417663574, -0.229270800948143, 0.20456546545028687, -0.20162564516067505, -0.0941067487001419, -0.2601173520088196, 0.12481074780225754, 0.0030611976981163025, -0.46837499737739563, 0.38096702098846436, -0.16908183693885803, 0.08278407156467438, 0.135406494140625, -0.18060529232025146, -0.3656294345855713, -0.12123673409223557, -0.08722051233053207, 0.5188277959823608, -0.3641636371612549, -0.3575327694416046, -0.2060718536376953, 0.36308151483535767, 0.30473268032073975, 0.25861233472824097, 0.009439267218112946, 0.29255974292755127, 0.5938224792480469, -0.11166646331548691, -0.2256460338830948, 0.05907969921827316, 0.03407905623316765, -0.27509382367134094, -0.04187798500061035, -0.15736539661884308, 0.47918716073036194, -0.15410713851451874, -0.35154321789741516, -0.34452104568481445 ]
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
Yes, my code snippet works. Could you copy-paste your code and the output? Otherwise we are not able to know what the issue is.
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more**
24
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more** Yes, my code snippet works. Could you copy-paste your code and the output? Otherwise we are not able to know what the issue is.
[ -0.22639212012290955, -0.3674989938735962, -0.02464967593550682, 0.4938739538192749, 0.2488434612751007, 0.028043478727340698, -0.2086992710828781, 0.5061648488044739, 0.14250633120536804, 0.07289309799671173, -0.05195736140012741, 0.020781051367521286, 0.04758263751864433, 0.34436139464378357, 0.13329751789569855, 0.001870136708021164, -0.004790067672729492, 0.37909117341041565, 0.1422690451145172, -0.1224280297756195, -0.2600407600402832, -0.014867251738905907, -0.13005775213241577, 0.0279264934360981, 0.1288955807685852, 0.25840672850608826, -0.0004337690770626068, 0.01128552109003067, -0.28385740518569946, -0.09205897152423859, 0.23409871757030487, -0.3981553614139557, 0.22653426229953766, -0.03662308305501938, -0.00012554791464935988, -0.08771904557943344, 0.45753926038742065, -0.23076336085796356, -0.20609751343727112, 0.0017147064208984375, -0.09113023430109024, -0.26120129227638245, 0.1486559361219406, -0.4104556739330292, -0.2285914421081543, -0.20518064498901367, 0.06263530254364014, -0.14939063787460327, 0.44117408990859985, 0.36681461334228516, 0.05997427925467491, -0.17922541499137878, 0.24284867942333221, 0.18546907603740692, 0.4251636266708374, -0.26480424404144287, 0.17264094948768616, 0.10601945221424103, 0.6870118379592896, -0.005637256894260645, 0.21241235733032227, -0.10661299526691437, 0.07766925543546677, 0.16741347312927246, -0.13973724842071533, 0.025729097425937653, 0.24844413995742798, -0.5716923475265503, 0.4841104745864868, 0.4870908260345459, 0.4779942035675049, 0.15762686729431152, 0.020459717139601707, -0.2001265585422516, -0.09796272218227386, -0.304756760597229, -0.04716763645410538, 0.58673095703125, -0.10984960198402405, 0.1567842662334442, -0.26538997888565063, -0.26384809613227844, -0.18419206142425537, 0.27686959505081177, -0.308871328830719, 0.14496231079101562, -0.03483030945062637, 0.08510173857212067, 0.2102692425251007, -0.11996747553348541, -0.10539764910936356, -0.0737401619553566, -0.09666365385055542, 0.2598242461681366, -0.26740965247154236, -0.22098486125469208, -0.45195597410202026, 0.16731007397174835, 0.3771754503250122, 0.08819462358951569, -0.12080907821655273, 0.2527816593647003, 0.25542452931404114, 0.14826205372810364, 0.373216450214386, -0.19210772216320038, -0.14403247833251953, 0.019226837903261185, 0.06332285702228546, 0.006732646841555834, 0.01495843380689621, -0.10583672672510147, -0.23791494965553284, 0.015476160682737827, -0.5471057295799255, -0.19847950339317322, -0.1528836041688919, -0.37492045760154724, 0.04011225700378418, -0.18622846901416779, 0.19844135642051697, -0.058416854590177536, 0.08992276340723038, 0.04555555805563927, 0.03372430056333542, 0.3005426824092865, -0.3196154832839966, 0.21526148915290833, -0.0549396276473999, -0.7017092704772949, -0.09350258857011795, 0.02542658895254135, -0.11040844023227692, -0.10971661657094955, 0.14902812242507935, -0.18663811683654785, 0.1631958931684494, 0.14962922036647797, 0.14648661017417908, -0.11464706808328629, 0.18978410959243774, -0.5054700374603271, -0.17362076044082642, 0.043978501111269, 0.07146880030632019, 0.16941341757774353, 0.2751603126525879, 0.06974995136260986, -0.1444312334060669, 0.11584977805614471, -0.3961803913116455, -0.21757850050926208, -0.0048325564712285995, 0.03625435009598732, -0.11626490205526352, 0.15661665797233582, -0.628281831741333, 0.3181476891040802, -0.09311795979738235, 0.03159349039196968, -0.24654492735862732, -0.00929637998342514, -0.21738648414611816, -0.13159525394439697, 0.4467800557613373, 0.26804882287979126, -0.24763499200344086, 0.001066848635673523, 0.1129932552576065, -0.0633457601070404, 0.642958402633667, 0.2662266194820404, -0.4278371334075928, -0.24196618795394897, -0.12282431125640869, -0.1091807410120964, 0.5375445485115051, 0.22383809089660645, -0.040095098316669464, 0.6122515797615051, 0.015444621443748474, -0.2868799567222595, 0.11753873527050018, -0.09686939418315887, 0.3206581175327301, 0.0064581409096717834, 0.10016738623380661, 0.41001975536346436, 0.029515743255615234, -0.05752190947532654, -0.26135724782943726, -0.3823947608470917, 0.21107396483421326, 0.37338724732398987, 0.18129153549671173, 0.31911349296569824, 0.2694167494773865, -0.18314170837402344, 0.27823346853256226, -0.1411638706922531, 0.25204572081565857, 0.25844717025756836, 0.05991761386394501, 0.36688435077667236, -0.03902972862124443, -0.23286449909210205, -0.29788464307785034, 0.21565651893615723, 0.023219317197799683, -0.5935055613517761, 0.32651668787002563, 0.1805046796798706, -0.09187480062246323, -0.30491209030151367, 0.21062275767326355, 0.02106577157974243, -0.04210573807358742, -0.0056567564606666565, -0.012104935944080353, -0.27256208658218384, -0.30954059958457947, 0.08887791633605957, 0.025365838780999184, 0.07936109602451324, -0.2561485767364502, 0.2843857407569885, 0.2119518518447876, -0.015122703276574612, 0.28475984930992126, -0.36523184180259705, 0.37176764011383057, -0.2513903081417084, 0.08721572160720825, 0.2012653648853302, 0.14610899984836578, -0.02302955836057663, 0.20431774854660034, 0.10847046226263046, 0.09592270106077194, -0.15473005175590515, -0.0590539425611496, 0.07289260625839233, 0.126259908080101, 0.011191800236701965, -0.1644670069217682, 0.1466982662677765, 0.026776563376188278, 0.2808314561843872, -0.006836246699094772, -0.11453074961900711, 0.1776292771100998, -0.21639609336853027, 0.1408984661102295, 0.1651463806629181, 0.36959904432296753, 0.1883503645658493, -0.17439121007919312, 0.0836053192615509, -0.4080207943916321, -0.30707746744155884, 0.08976303040981293, -0.07158510386943817, -0.1482768952846527, 0.3546033203601837, -0.17695826292037964, -0.11382567137479782, -0.22141115367412567, -0.1436922401189804, -0.08593854308128357, 0.21615317463874817, 0.1559486836194992, -0.011543439701199532, 0.6272963285446167, 0.04924099147319794, 0.1684066355228424, 0.2574947476387024, -0.13654278218746185, 0.009736131876707077, -0.03554614633321762, -0.1706850677728653, 0.012126967310905457, 0.22113674879074097, 0.24568939208984375, 0.05070321261882782, -0.15923316776752472, -0.1146584078669548, -0.25459378957748413, 0.01188122108578682, -0.13510972261428833, 0.45592498779296875, -0.09425200521945953, 0.1248401403427124, -0.053238607943058014, 0.10576844215393066, 0.16718745231628418, -0.17452886700630188, -0.4690787196159363, 0.3079169690608978, -0.2154274880886078, -0.34750863909721375, -0.2894056439399719, -0.1269102841615677, -0.3007771670818329, 0.03372518718242645, 0.17324455082416534, 0.24784180521965027, -0.0925493910908699, -0.1629261076450348, -0.11775965243577957, -0.29275545477867126, -0.0540245920419693, -0.047947585582733154, 0.1462453454732895, 0.053050391376018524, -0.004301883280277252, 0.47170376777648926, -0.10569143295288086, 0.0732908621430397, -0.005319809541106224, -0.053151022642850876, 0.0009050983935594559, 0.05485033988952637, 0.1036272794008255, 0.4668484926223755, -0.021310966461896896, -0.1245577409863472, -0.19315092265605927, -0.2654697299003601, 0.3301490545272827, 0.47070083022117615, 0.07974748313426971, -0.4756593406200409, -0.16169387102127075, -0.3552745580673218, -0.0017122416757047176, 0.034786634147167206, 0.08725504577159882, -0.40925824642181396, 0.39943617582321167, 0.230840802192688, -0.32378578186035156, 0.0744914561510086, 0.0010057967156171799, -0.2619335949420929, 0.33334529399871826, -0.40265989303588867, 0.051984753459692, -0.2052680253982544, -0.40401753783226013, -0.5083211064338684, 0.08035026490688324, -0.02911064773797989, -0.5706194043159485, 0.01724882982671261, 0.06796727329492569, -0.10766729712486267, -0.11239732056856155, 0.13204210996627808, 0.13128694891929626, 0.12751799821853638, 0.40622955560684204, 0.017997857183218002, 0.4685640335083008, -0.03212092071771622, 0.122123122215271, 0.31939882040023804, -0.10159633308649063, 0.11149412393569946, -0.13037624955177307, 0.17387785017490387, 0.3094134032726288, 0.1182277724146843, 0.07351186126470566, 0.4438326954841614, -0.07202386856079102, -0.3334435522556305, -0.3995588421821594, -0.3010926842689514, -0.36887675523757935, 0.0042653679847717285, 0.07663898915052414, 0.10660286992788315, 0.11571842432022095, -0.0789455771446228, -0.17653757333755493, 0.12055917084217072, -0.1656779944896698, 0.07293671369552612, 0.01965918391942978, 0.1353309601545334, 0.14873023331165314, -0.22745966911315918, 0.27046746015548706, 0.20708492398262024, 0.19899725914001465, -0.3253823220729828, 0.16044753789901733, -0.0026732608675956726, -0.016063358634710312, 0.18651123344898224, -0.03142550215125084, 0.9364423155784607, 0.22267572581768036, 0.46534639596939087, -0.08798174560070038, -0.2925194799900055, -0.42630869150161743, -0.0015092045068740845, -0.10194219648838043, -0.16758780181407928, 0.3908442258834839, 0.54862380027771, -0.5806795358657837, 0.08955951035022736, -0.13241402804851532, 0.38508182764053345, -0.08620692789554596, 0.13876408338546753, -0.23604637384414673, 0.05827470123767853, -0.11730466037988663, 0.282329261302948, 0.09470061957836151, 0.19214622676372528, 0.1682000309228897, 0.11766958236694336, -0.28073403239250183, -0.1288503110408783, -0.1557958573102951, -0.0021766051650047302, 0.281971275806427, 0.06355142593383789, 0.1297941654920578, 0.20380020141601562, 0.2627541124820709, 0.286922812461853, 0.2859550714492798, 0.11102154850959778, -0.24382570385932922, 0.3249228596687317, 0.012925303541123867, 0.28360870480537415, -0.08333492279052734, 0.016684379428625107, -0.16916808485984802, 0.0052087921649217606, 0.20132502913475037, -0.020650699734687805, 0.3313647210597992, -0.1027485728263855, -0.35969120264053345, -0.3701459467411041, -0.48339641094207764, 0.3604206442832947, 0.059004444628953934, 0.022944770753383636, -0.04242575913667679, 0.2597622275352478, -0.17977958917617798, 0.08043409138917923, 0.11897601932287216, 0.8948262333869934, -0.25214117765426636, 0.02882607840001583, -0.6485199332237244, -0.4502636790275574, 0.6064161658287048, -0.5779557228088379, -0.0850706547498703, -0.19429761171340942, -0.3599768877029419, -0.06964670866727829, -0.18781116604804993, -0.16135510802268982, 0.428164005279541, 0.1709546446800232, 0.6148111820220947, -0.16332784295082092, 0.24944694340229034, 0.2659132182598114, 0.1845478117465973, 0.11610167473554611, 0.10226516425609589, -0.144324392080307, -0.01261826790869236, -0.08334936201572418, -0.14572465419769287, 0.0582817941904068, -0.22168907523155212, -0.0185239315032959, -0.1429590880870819, 0.1369991898536682, 0.39868515729904175, -0.404584139585495, -0.10984304547309875, -0.053803134709596634, -0.3838455080986023, 0.1321326345205307, 0.25168487429618835, -0.011783994734287262, 0.14726705849170685, -0.34635403752326965, 0.05352732166647911, 0.10267725586891174, -0.12054865062236786, -0.2853420674800873, 0.23522499203681946, -0.38321807980537415, -0.15126222372055054, 0.06533058732748032, 0.06175103411078453, -0.1649089753627777, -0.08057326823472977, -0.00910903513431549, 0.32610511779785156, 0.23810383677482605, -0.004760447423905134, -0.2502862513065338, -0.20681658387184143, 0.20246273279190063, -0.11804141104221344, -0.0018223058432340622, 0.11100354790687561, -0.32696983218193054, 0.008401282131671906, 0.14233236014842987, -0.30115169286727905, -0.0690595805644989, 0.26309695839881897, 0.026355504989624023, -0.05666065961122513, 0.31650492548942566, -0.0862095057964325, -0.24360911548137665, -0.046578388661146164, -0.13207963109016418, 0.1845758706331253, -0.09961383789777756, -0.15307185053825378, -0.02929801680147648, 0.34331661462783813, 0.024117285385727882, -0.14432145655155182, 0.016560371965169907, -0.06813741475343704, 0.15970617532730103, -0.6871230006217957, -0.28269416093826294, 0.15526533126831055, -0.1300051361322403, 0.02056642435491085, 0.32256075739860535, -0.17636215686798096, 0.0992802157998085, -0.06124819815158844, -0.10971951484680176, 0.5389384031295776, -0.12293711304664612, 0.5158116817474365, 0.32513102889060974, 0.101280577480793, -0.10240422934293747, 0.14626151323318481, 0.0015877746045589447, 0.12673796713352203, -0.025557130575180054, -0.05573909729719162, 0.1187187135219574, 0.19809778034687042, 0.06069957837462425, -0.020580923184752464, -0.3177546262741089, -0.2739410102367401, -0.1934025138616562, 0.09739662706851959, -0.027985084801912308, -0.13080526888370514, 0.2686517834663391, -0.1759706437587738, 0.6998838782310486, 0.020259186625480652, -0.7776172161102295, 0.19496463239192963, -0.18382981419563293, 0.06690847873687744, 0.05868309363722801, 0.20678503811359406, 0.14736904203891754, -0.0913209542632103, -0.33297914266586304, -0.15554508566856384, 0.42781388759613037, -0.02819245308637619, 0.046230047941207886, 0.003934144973754883, 0.14255554974079132, 0.3661791980266571, 0.12271219491958618, 0.7409993410110474, -0.135344997048378, 0.07053682208061218, 0.49287518858909607, 0.07922501116991043, -0.11222115159034729, -0.1323949247598648, 0.27069804072380066, -0.0844966247677803, -0.03827543184161186, 0.1452081948518753, 0.08844989538192749, -0.2607142925262451, -0.265269935131073, -0.15929463505744934, 0.34137699007987976, 0.30756479501724243, -0.00709071010351181, 0.40736135840415955, -0.017002031207084656, -0.31362786889076233, -0.21311639249324799, 0.48350435495376587, 0.11413239687681198, 0.48137199878692627, -0.04467158764600754, 0.010380259715020657, 0.26369142532348633, -0.14980442821979523, -0.3042275011539459, -0.40086477994918823, -0.1238546222448349, 0.683032751083374, 0.191653311252594, -0.10640154033899307, -0.31810685992240906, -0.04671283811330795, 0.6764411926269531, -0.2417754828929901, -0.019038908183574677, 0.08961966633796692, 0.3032861053943634, 0.14661161601543427, -0.03161889687180519, -0.328206330537796, -0.27403396368026733, 0.34002020955085754, -0.021974224597215652, -0.14462345838546753, -0.09685631096363068, 0.3573550581932068, 0.027553290128707886, -0.04381752759218216, -0.1620771288871765, 0.3892798125743866, 0.008428007364273071, -0.39916765689849854, 0.2707537114620209, -0.006920956075191498, -0.12428759038448334, 0.413260281085968, -0.289082795381546, -0.05591597780585289, 0.07669474929571152, 0.07795125246047974, -0.07137125730514526, 0.344084233045578, 0.03451298922300339, -0.17771556973457336, -0.02241877093911171, 0.4126744568347931, 0.3496851325035095, 0.2898586392402649, 0.013171890750527382, -0.044948697090148926, 0.029251612722873688, -0.21393035352230072, -0.22101768851280212, -0.5399529337882996, -0.11010961979627609, 0.5156817436218262, -0.2350379228591919, -0.12077713012695312, -0.29306864738464355, -0.1993604600429535, -0.22210170328617096, -0.2596856653690338, 0.05247541144490242, 0.1518860161304474, 0.46163231134414673, -0.03303538262844086, -0.04331887885928154, 0.309681236743927, 0.05532055348157883, -0.09286253899335861, -0.4112575650215149, -0.4749339818954468, -0.2167300581932068, 0.1598755121231079, -0.18911314010620117, 0.11029544472694397, 0.41902878880500793, 0.08119342476129532, 0.2601451277732849, 0.18136464059352875, -0.2150741070508957, 0.38559985160827637, 0.002777830697596073, 0.3326832950115204, -0.01431594230234623, -0.10711078345775604, 0.09019076824188232, 0.4545881450176239, -0.05961819738149643, -0.15708836913108826, 0.35849466919898987, -0.1255882978439331, -0.0224312711507082, 0.19928500056266785, -0.2974357604980469, -0.06871259212493896, -0.049942098557949066, 0.12752078473567963, -0.004905283451080322, 0.3810040056705475, -0.11606886237859726, 0.22504447400569916, 0.08899586647748947, -0.11661238223314285, -0.13363613188266754, 0.2838650941848755, 0.07423223555088043, -0.30042269825935364, -0.2437645047903061, 0.10896344482898712, -0.19664131104946136, -0.10049474984407425, -0.27531808614730835, 0.12749451398849487, -0.011710374616086483, -0.4264936149120331, 0.3742682635784149, -0.07877018302679062, 0.11873121559619904, 0.06654642522335052, -0.22051632404327393, -0.397713840007782, -0.11627328395843506, -0.16706471145153046, 0.5335085391998291, -0.43482068181037903, -0.33238303661346436, -0.17396825551986694, 0.3618467450141907, 0.31593942642211914, 0.25630518794059753, 0.01838953047990799, 0.25735658407211304, 0.5805137157440186, -0.13421860337257385, -0.1548265516757965, 0.06291848421096802, 0.05881057679653168, -0.1891966611146927, -0.0009902194142341614, -0.06011618673801422, 0.4271709620952606, -0.19214187562465668, -0.33231547474861145, -0.35761332511901855 ]
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
@albertvillanova Hi, thanks for the tracing of the issue. This is the output: ``` ython get_llava_recap_cc3m.py Generating train split: 3%|███▋ | 101910/3199866 [00:16<08:30, 6065.67 examples/s] Traceback (most recent call last): File "get_llava_recap_cc3m.py", line 31, in <module> dataset = load_dataset("llava-recap-cc3m/", data_files="data/train-0000*-of-00314.parquet") File "/usr/local/lib/python3.8/dist-packages/datasets/load.py", line 2582, in load_dataset builder_instance.download_and_prepare( File "/usr/local/lib/python3.8/dist-packages/datasets/builder.py", line 1005, in download_and_prepare self._download_and_prepare( File "/usr/local/lib/python3.8/dist-packages/datasets/builder.py", line 1118, in _download_and_prepare verify_splits(self.info.splits, split_dict) File "/usr/local/lib/python3.8/dist-packages/datasets/utils/info_utils.py", line 101, in verify_splits raise NonMatchingSplitsSizesError(str(bad_splits)) datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=156885281898.75, num_examples=3199866, shard_lengths=None, dataset_name=None), 'recorded': SplitInfo(name='train', num_bytes=4994080770, num_examples=101910, shard_lengths=[10191, 10291, 10291, 10291, 10291, 10191, 10191, 10291, 10291, 9591], dataset_name='llava-recap-cc3m')}] ``` this is my code: ``` dataset = load_dataset("llava-recap-cc3m/", data_files="data/train-0000*-of-00314.parquet") ``` My situation and requirements: 00314 is all, but I downlaode about 150, half of it, as you can see, i used `0000*-of-00314.` which should be at most 99 file being loaded. But it just fail. Can u understand my issue now? If so, then **do not** suggest me with stream, Just want to know, is there a way to load part if it...... **and please don't say you can not replicate my issue when you have downloaded them all**, my english is not good, but I think all situations and all prerequists I have addressed already.
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more**
199
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more** @albertvillanova Hi, thanks for the tracing of the issue. This is the output: ``` ython get_llava_recap_cc3m.py Generating train split: 3%|███▋ | 101910/3199866 [00:16<08:30, 6065.67 examples/s] Traceback (most recent call last): File "get_llava_recap_cc3m.py", line 31, in <module> dataset = load_dataset("llava-recap-cc3m/", data_files="data/train-0000*-of-00314.parquet") File "/usr/local/lib/python3.8/dist-packages/datasets/load.py", line 2582, in load_dataset builder_instance.download_and_prepare( File "/usr/local/lib/python3.8/dist-packages/datasets/builder.py", line 1005, in download_and_prepare self._download_and_prepare( File "/usr/local/lib/python3.8/dist-packages/datasets/builder.py", line 1118, in _download_and_prepare verify_splits(self.info.splits, split_dict) File "/usr/local/lib/python3.8/dist-packages/datasets/utils/info_utils.py", line 101, in verify_splits raise NonMatchingSplitsSizesError(str(bad_splits)) datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=156885281898.75, num_examples=3199866, shard_lengths=None, dataset_name=None), 'recorded': SplitInfo(name='train', num_bytes=4994080770, num_examples=101910, shard_lengths=[10191, 10291, 10291, 10291, 10291, 10191, 10191, 10291, 10291, 9591], dataset_name='llava-recap-cc3m')}] ``` this is my code: ``` dataset = load_dataset("llava-recap-cc3m/", data_files="data/train-0000*-of-00314.parquet") ``` My situation and requirements: 00314 is all, but I downlaode about 150, half of it, as you can see, i used `0000*-of-00314.` which should be at most 99 file being loaded. But it just fail. Can u understand my issue now? If so, then **do not** suggest me with stream, Just want to know, is there a way to load part if it...... **and please don't say you can not replicate my issue when you have downloaded them all**, my english is not good, but I think all situations and all prerequists I have addressed already.
[ -0.278819739818573, -0.3396080732345581, 0.04910251125693321, 0.5926240682601929, 0.31184840202331543, 0.03803887218236923, -0.11761699616909027, 0.5415985584259033, 0.03217961639165878, 0.06466780602931976, -0.10353775322437286, 0.1132921352982521, -0.006048382259905338, 0.3308176100254059, 0.06338223814964294, -0.03830418735742569, -0.08639334887266159, 0.3852238059043884, 0.16887356340885162, -0.12069588154554367, -0.25452494621276855, -0.0010566581040620804, -0.11483134329319, 0.06150520220398903, 0.028930308297276497, 0.20493833720684052, -0.020267127081751823, 0.09302593022584915, -0.22991330921649933, -0.23011308908462524, 0.24010483920574188, -0.40189310908317566, 0.1743212640285492, -0.03403382748365402, -0.00012581351620610803, 0.008114971220493317, 0.5096150636672974, -0.18981708586215973, -0.26413169503211975, -0.06527367234230042, -0.05115856975317001, -0.28567707538604736, 0.2484484612941742, -0.3992463946342468, -0.19774258136749268, -0.27334824204444885, -0.0996892899274826, -0.08290637284517288, 0.49640846252441406, 0.43029889464378357, 0.05353826656937599, -0.10566812008619308, 0.2353581041097641, 0.22549881041049957, 0.4835703670978546, -0.2629246115684509, 0.1436263471841812, 0.0648675337433815, 0.5847079753875732, -0.025612983852624893, 0.19069144129753113, -0.08954894542694092, 0.1022806316614151, 0.22978812456130981, -0.16973161697387695, 0.05566874518990517, 0.2589809000492096, -0.5241625308990479, 0.4703936278820038, 0.4563673436641693, 0.33535534143447876, 0.0811968445777893, -0.09845870733261108, -0.3536074757575989, -0.08405111730098724, -0.5142092108726501, -0.07308311015367508, 0.6830822229385376, -0.14987382292747498, 0.12234951555728912, -0.2495289295911789, -0.2003362774848938, -0.16126742959022522, 0.2568374574184418, -0.2875017523765564, 0.21022462844848633, -0.03143962472677231, 0.11250311136245728, 0.2192157804965973, -0.06876304745674133, -0.03928748890757561, -0.00351051427423954, -0.07310439646244049, 0.24336865544319153, -0.32439136505126953, -0.20200245082378387, -0.39002591371536255, 0.08858373016119003, 0.31212931871414185, 0.19951491057872772, -0.11174196004867554, 0.26310378313064575, 0.260882705450058, 0.15852859616279602, 0.4398794174194336, -0.18143150210380554, -0.2296123504638672, 0.232501819729805, 0.05745084211230278, 0.09234520047903061, 0.001367766410112381, -0.11675374954938889, -0.2530209422111511, -0.007199963554739952, -0.41360968351364136, -0.11062409728765488, -0.10001116991043091, -0.37608686089515686, -0.04035554826259613, -0.13828222453594208, 0.09058962017297745, 0.006582129281014204, 0.08215681463479996, 0.11086340248584747, -0.09875001013278961, 0.3960891366004944, -0.3315922021865845, 0.26736345887184143, -0.15324509143829346, -0.5192835330963135, -0.07597265392541885, 0.05977845937013626, -0.10468101501464844, -0.16174200177192688, 0.10872846841812134, -0.18118277192115784, 0.2356257140636444, 0.12939761579036713, 0.10817225277423859, -0.1847708821296692, 0.24163421988487244, -0.5090628266334534, -0.16038233041763306, 0.12471993267536163, 0.037068065255880356, 0.24482642114162445, 0.3042594790458679, 0.04447587579488754, -0.1666528284549713, 0.06899680942296982, -0.40899190306663513, -0.32681387662887573, -0.009042108431458473, 0.07615398615598679, -0.1308305859565735, 0.1935012936592102, -0.596752405166626, 0.22376440465450287, 0.034619130194187164, 0.1238332986831665, -0.2630789577960968, -0.0803576409816742, -0.1932629495859146, -0.15245844423770905, 0.48132023215293884, 0.2832098603248596, -0.23106200993061066, -0.014814823865890503, 0.04931200295686722, -0.0007729567587375641, 0.6719995737075806, 0.3149615228176117, -0.46299105882644653, -0.27489331364631653, -0.14693130552768707, -0.1259303241968155, 0.5048506855964661, 0.12835417687892914, -0.10641469061374664, 0.5753991603851318, 0.03792722523212433, -0.1970127671957016, 0.13771285116672516, -0.1617710143327713, 0.3551330268383026, -0.0026267515495419502, 0.1265595406293869, 0.4327050447463989, -0.032572127878665924, -0.023709889501333237, -0.34754478931427, -0.3660772740840912, 0.20258237421512604, 0.37548866868019104, 0.20806245505809784, 0.17604254186153412, 0.18943148851394653, -0.11626929044723511, 0.2834065556526184, -0.15296898782253265, 0.26872310042381287, 0.29351675510406494, 0.10818425565958023, 0.4129442572593689, -0.0819055363535881, -0.2361350953578949, -0.29315581917762756, 0.32922080159187317, 0.021904651075601578, -0.5722238421440125, 0.16966325044631958, 0.10986299812793732, -0.08414632827043533, -0.2738071382045746, 0.10529831051826477, -0.07627880573272705, -0.024805903434753418, 0.020443610846996307, 0.0649554431438446, -0.22054371237754822, -0.30396538972854614, 0.1593036651611328, -0.008087636902928352, 0.14615143835544586, -0.2059212625026703, 0.3443298041820526, 0.18090862035751343, -0.08778496831655502, 0.34104248881340027, -0.28596189618110657, 0.3780464828014374, -0.23918606340885162, 0.08044174313545227, 0.2550947666168213, 0.23388616740703583, 0.09576725959777832, 0.04792767018079758, -0.009564056992530823, 0.18571309745311737, -0.12217298150062561, -0.08640483021736145, 0.024394815787672997, 0.0599118247628212, 0.019629493355751038, -0.13082993030548096, 0.23141853511333466, 0.15341991186141968, 0.3643243908882141, 0.09844692051410675, -0.0407855361700058, 0.19769130647182465, -0.20135843753814697, 0.11911319941282272, 0.07330344617366791, 0.2710363268852234, 0.19414496421813965, -0.08146637678146362, 0.1064305528998375, -0.4256266951560974, -0.2663930654525757, 0.21129749715328217, -0.015409070998430252, -0.1483033001422882, 0.2989651560783386, -0.20729941129684448, -0.10978047549724579, -0.21953876316547394, 0.03048812225461006, -0.04523564875125885, 0.20354704558849335, 0.16634054481983185, -0.0017515718936920166, 0.4997716248035431, 0.039906684309244156, 0.15724022686481476, 0.37966954708099365, -0.07343175262212753, 0.10059966892004013, 0.020528240129351616, -0.17854516208171844, -0.06237851828336716, 0.16889721155166626, 0.3255442976951599, 0.19228269159793854, -0.20115593075752258, -0.05117453634738922, -0.33732473850250244, 0.05132652074098587, -0.2441258728504181, 0.3549041748046875, -0.021152649074792862, -0.02973845601081848, -0.09062346816062927, 0.0756181851029396, 0.14947660267353058, -0.0871758908033371, -0.41897284984588623, 0.07348757982254028, -0.18501965701580048, -0.2901478111743927, -0.2053672820329666, -0.19624964892864227, -0.3305438458919525, 0.01626572012901306, 0.19587980210781097, 0.21230360865592957, -0.0026137325912714005, -0.20447057485580444, -0.27592527866363525, -0.24631080031394958, -0.03980428725481033, -0.007789772003889084, 0.082828588783741, 0.040834691375494, 0.08708851784467697, 0.3974496126174927, -0.06026129052042961, -0.04683290049433708, 0.09040249139070511, -0.004617396742105484, -0.006340608932077885, 0.15916365385055542, 0.042894940823316574, 0.45594173669815063, -0.0019179731607437134, -0.22134912014007568, -0.22595332562923431, -0.325069785118103, 0.34194380044937134, 0.5548948645591736, 0.0950993150472641, -0.36010292172431946, -0.15021000802516937, -0.3222157657146454, -0.008650192990899086, 0.0649067759513855, 0.08859258145093918, -0.34124520421028137, 0.38300952315330505, 0.2133266180753708, -0.2681218087673187, 0.046888869255781174, -0.060263197869062424, -0.20237956941127777, 0.38896918296813965, -0.3851730227470398, 0.007224441505968571, -0.29736483097076416, -0.33739933371543884, -0.4741095304489136, 0.12770193815231323, -0.053725168108940125, -0.48549768328666687, 0.028556348755955696, 0.14504390954971313, -0.0764227882027626, -0.13510552048683167, 0.16613471508026123, 0.0956740528345108, 0.09836021810770035, 0.47574809193611145, 0.08987678587436676, 0.649617075920105, 0.09597918391227722, 0.09209373593330383, 0.294138103723526, -0.13476285338401794, 0.09239722788333893, -0.12207978218793869, 0.09346132725477219, 0.26963555812835693, -0.005864843726158142, 0.11792901158332825, 0.3743893504142761, -0.08765409886837006, -0.27088138461112976, -0.36123746633529663, -0.2118176519870758, -0.369716078042984, -0.0655040368437767, 0.020777329802513123, 0.04732696712017059, 0.1790527105331421, -0.10590201616287231, -0.06612619012594223, 0.1132468581199646, -0.11247815936803818, 0.09331171214580536, 0.01224670559167862, 0.11231386661529541, 0.16065815091133118, -0.22367306053638458, 0.22676022350788116, 0.07469318807125092, 0.15064242482185364, -0.262580007314682, 0.21349622309207916, 0.07896243035793304, -0.05219675600528717, 0.21252062916755676, -0.07709860801696777, 0.8604611158370972, 0.15627683699131012, 0.40576618909835815, -0.004724274389445782, -0.3888847827911377, -0.4624471068382263, -0.04438148811459541, -0.17186950147151947, -0.13263188302516937, 0.3700011372566223, 0.5624523162841797, -0.6671713590621948, 0.008044612593948841, -0.055703215301036835, 0.42518389225006104, -0.16305208206176758, 0.23144151270389557, -0.25104427337646484, -0.008630231022834778, -0.24521423876285553, 0.24926304817199707, 0.14990264177322388, 0.2355266511440277, 0.18351484835147858, 0.07797937095165253, -0.25840458273887634, -0.1688099503517151, -0.15452440083026886, -0.032138947397470474, 0.3687662184238434, 0.01904922164976597, 0.2341667115688324, 0.14706020057201385, 0.2604341506958008, 0.316236674785614, 0.3924289643764496, 0.07942099869251251, -0.3245394825935364, 0.21000078320503235, 0.03884265199303627, 0.2573172152042389, -0.03158482909202576, -0.06758886575698853, -0.07653837651014328, -0.0724082663655281, 0.2677759826183319, -0.008653693832457066, 0.34093108773231506, -0.003360235132277012, -0.3936661183834076, -0.401915043592453, -0.5447619557380676, 0.32913073897361755, 0.09897837042808533, 0.04940815269947052, -0.08864238858222961, 0.15153086185455322, -0.20426034927368164, 0.1067950502038002, 0.13586407899856567, 0.8347004055976868, -0.2785412073135376, 0.04022958129644394, -0.5070895552635193, -0.4949473738670349, 0.625176727771759, -0.4981454014778137, -0.06937512010335922, -0.27566367387771606, -0.2974134683609009, -0.014863239601254463, -0.18773280084133148, -0.17761963605880737, 0.3293575048446655, 0.1519274264574051, 0.6179929971694946, -0.2171240597963333, 0.16076794266700745, 0.23476263880729675, 0.26203271746635437, 0.03472403436899185, 0.010019229725003242, -0.2590162456035614, -0.024566566571593285, -0.11912298202514648, -0.12134324014186859, 0.11485784500837326, -0.1832609325647354, 0.024593960493803024, -0.1454087346792221, 0.051445454359054565, 0.3463241159915924, -0.49854862689971924, -0.056125327944755554, -0.04303595796227455, -0.46283525228500366, 0.15723596513271332, 0.1968984156847, -0.029080554842948914, 0.15916971862316132, -0.2938574552536011, 0.10125360637903214, 0.13045638799667358, -0.14941070973873138, -0.2204560786485672, 0.25432130694389343, -0.24275651574134827, -0.13104116916656494, 0.12038706988096237, 0.12186673283576965, -0.22364751994609833, -0.03258572146296501, 0.011727362871170044, 0.23952460289001465, 0.3668614625930786, 0.017272649332880974, -0.21915899217128754, -0.24521318078041077, 0.08904577791690826, -0.20337478816509247, -0.0024722274392843246, 0.07004028558731079, -0.37538594007492065, 0.011533617973327637, 0.060271039605140686, -0.3048132658004761, -0.07932725548744202, 0.24509921669960022, 0.09817031025886536, 0.10009065270423889, 0.4187294840812683, 0.03285149857401848, -0.21800385415554047, -0.0699675977230072, -0.19682323932647705, 0.2002682387828827, -0.17304416000843048, -0.04700005054473877, -0.021089382469654083, 0.34322667121887207, 0.06538799405097961, -0.09658753871917725, 0.030488673597574234, -0.06479992717504501, 0.05335775390267372, -0.7273651361465454, -0.3135342597961426, 0.1196231096982956, -0.11397473514080048, 0.06881261616945267, 0.2819362282752991, -0.00606902502477169, -0.038426533341407776, -0.0026533491909503937, -0.11269119381904602, 0.5299540758132935, -0.16896219551563263, 0.4988076388835907, 0.24168424308300018, -0.00881434977054596, -0.07100339233875275, 0.20883628726005554, 0.04353587329387665, 0.12104778736829758, 0.013403328135609627, -0.062082644551992416, 0.05251830443739891, 0.18627780675888062, 0.06026187539100647, -0.03343365341424942, -0.2946634590625763, -0.2181759625673294, -0.18162457644939423, 0.08912014961242676, 0.05597516521811485, -0.042769044637680054, 0.21074503660202026, -0.09683474898338318, 0.6558966636657715, -0.07005193084478378, -0.7439848184585571, 0.1684017926454544, -0.299439936876297, -0.04413886368274689, 0.07439378648996353, 0.234502375125885, 0.20295876264572144, -0.0645153820514679, -0.31448179483413696, -0.18764916062355042, 0.28551316261291504, -0.07969871908426285, 0.16977478563785553, -0.0635460615158081, 0.1266072541475296, 0.3572651445865631, 0.22039362788200378, 0.8312153220176697, -0.03994043916463852, 0.0796089917421341, 0.5137097835540771, 0.08101256191730499, -0.1870327889919281, -0.13823047280311584, 0.1788264960050583, -0.15226221084594727, 0.02082398161292076, 0.22854703664779663, 0.037071872502565384, -0.2661884129047394, -0.3474123477935791, -0.05350107327103615, 0.3546713888645172, 0.2829413414001465, 0.038044024258852005, 0.4930744767189026, -0.03016773797571659, -0.31619325280189514, -0.19182652235031128, 0.3865600526332855, 0.10697900503873825, 0.41052186489105225, -0.055358536541461945, 0.036106109619140625, 0.1478949785232544, -0.20886695384979248, -0.26580771803855896, -0.4379187524318695, -0.10069502890110016, 0.6672475934028625, 0.16049350798130035, -0.09732808917760849, -0.35742855072021484, 0.161452054977417, 0.6136133670806885, -0.22218620777130127, -0.06768372654914856, 0.17720696330070496, 0.22180050611495972, 0.08872458338737488, 0.034594498574733734, -0.31311097741127014, -0.3230627775192261, 0.38856229186058044, -0.033304546028375626, -0.1504707932472229, -0.07229816913604736, 0.3474913239479065, 0.030219007283449173, -0.18695835769176483, -0.10453031212091446, 0.3285732865333557, 0.09033000469207764, -0.46784043312072754, 0.27208462357521057, -0.005938410758972168, -0.1587495356798172, 0.2837883234024048, -0.3143928349018097, 0.04919220134615898, 0.08972277492284775, -0.0557103268802166, -0.14613786339759827, 0.4324227273464203, 0.03526557236909866, -0.13771605491638184, -0.024454306811094284, 0.2689080238342285, 0.39436835050582886, 0.3464372158050537, 0.007880628108978271, -0.07303038984537125, -0.058397237211465836, -0.2381976991891861, -0.26169347763061523, -0.5649850964546204, 0.05390823259949684, 0.48675239086151123, -0.2251177728176117, -0.08250131458044052, -0.14305782318115234, -0.24219971895217896, -0.34552082419395447, -0.20377272367477417, 0.056314125657081604, 0.17916861176490784, 0.3677259385585785, -0.02904064580798149, -0.10621120035648346, 0.3574153482913971, 0.13043689727783203, -0.18763425946235657, -0.4556451141834259, -0.4057936668395996, -0.3004933297634125, 0.11511430889368057, -0.2821090817451477, -0.01040838472545147, 0.4287043511867523, 0.10872818529605865, 0.1706421673297882, 0.21967299282550812, -0.19691409170627594, 0.5193307399749756, -0.007585217710584402, 0.29928216338157654, -0.07300066947937012, -0.11738689243793488, 0.018347151577472687, 0.32600703835487366, -0.059697188436985016, -0.22554999589920044, 0.30060747265815735, -0.09302904456853867, -0.03412238135933876, 0.1839747428894043, -0.23074698448181152, -0.010186141356825829, -0.07951152324676514, 0.09601270407438278, 0.07575002312660217, 0.3890710175037384, -0.07460647821426392, 0.1699102371931076, 0.0517076700925827, -0.16084200143814087, -0.13464616239070892, 0.31922420859336853, -0.00009809061884880066, -0.15461809933185577, -0.16944165527820587, 0.10187128186225891, -0.32960715889930725, -0.0880669355392456, -0.11564094573259354, 0.05316241458058357, 0.029384983703494072, -0.3278975486755371, 0.37192174792289734, -0.027464190497994423, 0.2016904056072235, 0.12822161614894867, -0.19086772203445435, -0.38945481181144714, -0.1250407099723816, -0.3419468104839325, 0.4836384356021881, -0.42564699053764343, -0.35245373845100403, -0.19720204174518585, 0.3549257516860962, 0.3245878219604492, 0.2537391185760498, -0.04440023750066757, 0.2507402002811432, 0.5800773501396179, -0.17654559016227722, -0.26644471287727356, 0.04320855811238289, 0.02983887307345867, -0.19160108268260956, 0.022441718727350235, -0.12417641282081604, 0.3666037619113922, -0.2013765424489975, -0.24680136144161224, -0.268964946269989 ]
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
I see you did not use the "parquet" loader as I suggested in my code snippet above: https://github.com/huggingface/datasets/issues/6979#issuecomment-2182031415 Please try passing "parquet" instead of "llava-recap-cc3m/" to `load_dataset`, and the complete path to data files in `data_files`: ```python load_dataset("parquet", data_files="llava-recap-cc3m/data/train-001*-of-00314.parquet") ```
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more**
40
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more** I see you did not use the "parquet" loader as I suggested in my code snippet above: https://github.com/huggingface/datasets/issues/6979#issuecomment-2182031415 Please try passing "parquet" instead of "llava-recap-cc3m/" to `load_dataset`, and the complete path to data files in `data_files`: ```python load_dataset("parquet", data_files="llava-recap-cc3m/data/train-001*-of-00314.parquet") ```
[ -0.2230970561504364, -0.4434782862663269, 0.018715057522058487, 0.5514918565750122, 0.2665776312351227, 0.020668871700763702, -0.22446309030056, 0.4753492474555969, 0.1895524263381958, 0.06845717877149582, -0.11812357604503632, 0.06310565769672394, 0.04462011903524399, 0.4138282239437103, 0.09835943579673767, -0.028449222445487976, -0.06806155294179916, 0.34507840871810913, 0.17654991149902344, -0.13520553708076477, -0.2640729546546936, 0.018401429057121277, -0.12612977623939514, 0.015309125185012817, 0.1151556745171547, 0.28534191846847534, -0.00487339124083519, 0.050018612295389175, -0.3050478398799896, -0.16508366167545319, 0.2828153967857361, -0.38880306482315063, 0.2667037844657898, -0.03287728875875473, -0.00012440270802471787, -0.09464196115732193, 0.44109851121902466, -0.2877272665500641, -0.21481545269489288, -0.03669305145740509, -0.048042044043540955, -0.3233560621738434, 0.2413395196199417, -0.38916757702827454, -0.23535946011543274, -0.27926474809646606, -0.07675869762897491, -0.08328531682491302, 0.41922253370285034, 0.3154962658882141, 0.06867177784442902, -0.13376949727535248, 0.307766318321228, 0.23897680640220642, 0.3844469487667084, -0.29094576835632324, 0.13485069572925568, 0.07879451662302017, 0.6426105499267578, -0.0008290624246001244, 0.27243098616600037, -0.06851905584335327, 0.03154708445072174, 0.2593545913696289, -0.09085109084844589, 0.049711424857378006, 0.20982283353805542, -0.5454123020172119, 0.5248483419418335, 0.4565024673938751, 0.3803383708000183, 0.04304484650492668, -0.07214690744876862, -0.31368789076805115, -0.06501419097185135, -0.49703148007392883, -0.026267118752002716, 0.629547119140625, -0.12160059809684753, 0.13371673226356506, -0.21994203329086304, -0.26213157176971436, -0.14491935074329376, 0.2748774290084839, -0.28848183155059814, 0.1486385464668274, -0.12743714451789856, 0.09252583980560303, 0.1914854496717453, -0.0921783298254013, -0.14528138935565948, -0.04290701448917389, -0.04196419194340706, 0.34317100048065186, -0.3337074816226959, -0.21113966405391693, -0.36723965406417847, 0.2186451256275177, 0.36905398964881897, 0.1677866280078888, -0.11160323023796082, 0.22632303833961487, 0.17044603824615479, 0.1320406198501587, 0.37715235352516174, -0.19196484982967377, -0.2028214931488037, 0.06105193495750427, 0.10866306722164154, 0.04759878292679787, 0.06746119260787964, -0.13550516963005066, -0.18916521966457367, 0.03376106545329094, -0.4681245684623718, -0.16106846928596497, -0.05136852711439133, -0.3965893089771271, -0.01936911977827549, -0.13374784588813782, 0.10650717467069626, -0.05317404121160507, 0.058709099888801575, 0.0186062790453434, -0.08811844140291214, 0.365906685590744, -0.27787572145462036, 0.25248321890830994, -0.15303684771060944, -0.5841293334960938, -0.08645126968622208, 0.010535984300076962, -0.0667298287153244, -0.11980023235082626, 0.13912275433540344, -0.2891882061958313, 0.21891722083091736, 0.18102559447288513, 0.11688125133514404, -0.09510651230812073, 0.15931501984596252, -0.4440055191516876, -0.18159443140029907, 0.12680582702159882, 0.06425619125366211, 0.21678996086120605, 0.3200920522212982, 0.06978309154510498, -0.2057466208934784, 0.08227697014808655, -0.42751991748809814, -0.22518059611320496, 0.04129191115498543, 0.06057576462626457, -0.17549103498458862, 0.15093162655830383, -0.733317494392395, 0.26131507754325867, -0.04778655618429184, 0.18819382786750793, -0.23698469996452332, 0.002900950610637665, -0.2542957067489624, -0.14316426217556, 0.47362276911735535, 0.22517287731170654, -0.24137236177921295, -0.0289907269179821, 0.1073172390460968, -0.02273864671587944, 0.603446900844574, 0.3211228549480438, -0.41014963388442993, -0.24350443482398987, -0.18709607422351837, -0.10631373524665833, 0.4703516364097595, 0.12880145013332367, -0.10993210226297379, 0.5194516777992249, 0.05136055499315262, -0.26304158568382263, 0.12918800115585327, -0.1357668936252594, 0.3790092468261719, -0.06917505711317062, 0.09987043589353561, 0.4760187268257141, 0.03718262538313866, -0.02673945017158985, -0.29561570286750793, -0.4069959819316864, 0.19026009738445282, 0.35256725549697876, 0.153312087059021, 0.23481273651123047, 0.15729594230651855, -0.2498774528503418, 0.26895689964294434, -0.160084530711174, 0.27027103304862976, 0.26814740896224976, 0.12702862918376923, 0.4490302801132202, -0.046981170773506165, -0.24940001964569092, -0.27419236302375793, 0.2937333583831787, 0.06938958913087845, -0.5398697257041931, 0.20036756992340088, 0.18331854045391083, -0.08703415840864182, -0.24451614916324615, 0.09721183776855469, -0.027795985341072083, -0.030839726328849792, 0.028111640363931656, 0.10766594111919403, -0.21197405457496643, -0.3617096245288849, 0.19878749549388885, 0.018809320405125618, 0.1358184814453125, -0.2648550868034363, 0.3123501241207123, 0.21570533514022827, -0.052522726356983185, 0.3309609591960907, -0.2957918643951416, 0.41620340943336487, -0.24809414148330688, 0.09404453635215759, 0.1519787311553955, 0.1986401230096817, 0.0026509761810302734, 0.15024882555007935, 0.069195955991745, 0.12603311240673065, -0.12688769400119781, -0.03240446001291275, 0.074117012321949, 0.11690251529216766, 0.009002484381198883, -0.07253176718950272, 0.25830549001693726, 0.12528455257415771, 0.343595951795578, 0.020967043936252594, -0.08390017598867416, 0.22026631236076355, -0.1861889660358429, 0.13991527259349823, 0.13863107562065125, 0.3469867706298828, 0.19494567811489105, -0.051848404109478, 0.059887394309043884, -0.4150831699371338, -0.28208911418914795, 0.11287382245063782, -0.05778621882200241, -0.19234320521354675, 0.3542470335960388, -0.223929762840271, -0.09083054214715958, -0.24891260266304016, -0.1056772768497467, -0.048408687114715576, 0.23877377808094025, 0.12607567012310028, -0.035786278545856476, 0.5617445111274719, 0.06278721243143082, 0.1569126546382904, 0.2969028353691101, -0.1975514441728592, 0.05426882952451706, -0.022548770532011986, -0.1502627730369568, -0.0417281799018383, 0.24503275752067566, 0.21418960392475128, 0.14313383400440216, -0.21453963220119476, -0.07787102460861206, -0.23036955296993256, 0.03543110191822052, -0.17033366858959198, 0.27949798107147217, -0.08840347826480865, 0.02378080226480961, -0.10220587253570557, 0.1616964191198349, 0.21224984526634216, -0.1759858876466751, -0.404489129781723, 0.14120225608348846, -0.19918058812618256, -0.3245809078216553, -0.26262152194976807, -0.12643757462501526, -0.24146926403045654, 0.026355981826782227, 0.15868434309959412, 0.20341743528842926, 0.014827804639935493, -0.1905042976140976, -0.18197883665561676, -0.3182007670402527, -0.0724407285451889, -0.06752070039510727, 0.030711859464645386, 0.03911459445953369, 0.06771787256002426, 0.471957266330719, -0.03646989166736603, 0.05409320443868637, 0.08040861785411835, -0.00772235170006752, -0.048715926706790924, 0.08981727063655853, 0.04617127776145935, 0.49404892325401306, 0.0273471437394619, -0.1308213770389557, -0.23881863057613373, -0.28309765458106995, 0.3508160710334778, 0.563936710357666, 0.06513049453496933, -0.4249206483364105, -0.17429803311824799, -0.3772365152835846, -0.004554706159979105, 0.09298352897167206, 0.037580456584692, -0.3459942936897278, 0.40920111536979675, 0.22903992235660553, -0.3044188916683197, 0.11084295809268951, -0.0389995314180851, -0.15237316489219666, 0.2796357274055481, -0.4136964678764343, -0.07983679324388504, -0.2699321210384369, -0.31400805711746216, -0.463093101978302, 0.20760609209537506, -0.08740226924419403, -0.5381176471710205, 0.04009813070297241, 0.12174975126981735, -0.10571964085102081, -0.20969441533088684, 0.14051516354084015, 0.14886856079101562, 0.11440644413232803, 0.4259668290615082, -0.004995632916688919, 0.5454953908920288, 0.038874272257089615, 0.16702868044376373, 0.3534042537212372, -0.014099543914198875, 0.103522390127182, -0.15565991401672363, 0.07404757291078568, 0.2777780592441559, 0.029205888509750366, 0.16973328590393066, 0.41595351696014404, -0.02454754337668419, -0.22504009306430817, -0.37924546003341675, -0.32272058725357056, -0.3669450581073761, -0.048417866230010986, -0.02059588022530079, 0.16754895448684692, 0.08856455236673355, -0.14566168189048767, -0.15296269953250885, 0.09278859198093414, -0.11554278433322906, 0.07412919402122498, 0.07429824024438858, 0.1470479667186737, 0.17655892670154572, -0.23405538499355316, 0.2713194787502289, 0.06541356444358826, 0.17933225631713867, -0.3823775053024292, 0.14042919874191284, 0.1061682254076004, -0.025544781237840652, 0.22163532674312592, -0.027579400688409805, 0.8449508547782898, 0.23330895602703094, 0.450306236743927, -0.03301895409822464, -0.3875986635684967, -0.5152567625045776, -0.004669666290283203, -0.14282675087451935, -0.07937747985124588, 0.3584430515766144, 0.5312884449958801, -0.6565876603126526, 0.006151665933430195, -0.11288775503635406, 0.4439307749271393, -0.1127203106880188, 0.12827913463115692, -0.2717278301715851, -0.053327709436416626, -0.2614549994468689, 0.24121835827827454, 0.15494059026241302, 0.2518242299556732, 0.21417385339736938, 0.16522857546806335, -0.28440919518470764, -0.211607426404953, -0.15176589787006378, -0.0664626806974411, 0.2848413586616516, 0.08079352229833603, 0.22278103232383728, 0.18614037334918976, 0.25343891978263855, 0.2562500834465027, 0.3954044580459595, 0.037955496460199356, -0.4122151732444763, 0.22149187326431274, 0.09448055922985077, 0.27560773491859436, -0.13239037990570068, -0.015195740386843681, -0.03573078662157059, -0.07247259467840195, 0.2372656613588333, -0.11730469018220901, 0.3051554262638092, -0.1015780121088028, -0.2995184361934662, -0.3793317973613739, -0.55535888671875, 0.4005611538887024, 0.0929512083530426, 0.04249046742916107, -0.03203754127025604, 0.27096453309059143, -0.19857650995254517, 0.09933385998010635, 0.10676120221614838, 0.7933569550514221, -0.2547752261161804, 0.0534200556576252, -0.5098494291305542, -0.4656004309654236, 0.5428738594055176, -0.43749356269836426, -0.12451957166194916, -0.2808072865009308, -0.2975142300128937, -0.041894856840372086, -0.16946940124034882, -0.14915528893470764, 0.29918044805526733, 0.18731223046779633, 0.6362072825431824, -0.1773611605167389, 0.06020618602633476, 0.24185875058174133, 0.2537115216255188, 0.06394490599632263, -0.011401180177927017, -0.32554516196250916, 0.01010088250041008, -0.11851467192173004, -0.03177730366587639, 0.1538088619709015, -0.19054067134857178, 0.015350494533777237, -0.14112824201583862, 0.09919586777687073, 0.2726871073246002, -0.46449288725852966, -0.1390373259782791, -0.008228853344917297, -0.4404888153076172, 0.1469734162092209, 0.25017932057380676, 0.04721386730670929, 0.14586926996707916, -0.30963611602783203, 0.018501458689570427, 0.043189793825149536, -0.15782824158668518, -0.27151572704315186, 0.2348322719335556, -0.34431108832359314, -0.11105059832334518, 0.09373196214437485, 0.07879768311977386, -0.1279800683259964, -0.03308180719614029, 0.03833143413066864, 0.3648297190666199, 0.2719404697418213, -0.015059251338243484, -0.2890089750289917, -0.2544965445995331, 0.18406279385089874, -0.13403183221817017, 0.0003228820860385895, 0.2218693047761917, -0.3843289017677307, -0.007473893463611603, 0.10598000884056091, -0.291698694229126, -0.07324327528476715, 0.277087926864624, 0.06699246913194656, -0.00345442071557045, 0.32175499200820923, 0.011626660823822021, -0.24238961935043335, -0.04704402759671211, -0.19557365775108337, 0.19360336661338806, -0.09563380479812622, -0.1268177479505539, 0.07093147933483124, 0.3476462960243225, 0.002540920628234744, -0.03236911818385124, 0.012937415391206741, -0.16735833883285522, 0.09940429031848907, -0.7345637083053589, -0.3501059412956238, 0.13622261583805084, -0.09520633518695831, 0.011740133166313171, 0.3552563488483429, -0.11594142019748688, 0.0017457101494073868, -0.000616852194070816, -0.11255553364753723, 0.558434784412384, -0.08513789623975754, 0.48082107305526733, 0.3508152663707733, 0.013860311359167099, -0.04831371828913689, 0.20990705490112305, 0.016684068366885185, 0.08699855208396912, -0.05972074717283249, -0.07739520072937012, 0.05811933055520058, 0.17433354258537292, 0.05499497056007385, -0.07789348810911179, -0.2888558804988861, -0.22595392167568207, -0.174187570810318, 0.050184402614831924, 0.0586724691092968, -0.017667733132839203, 0.2326146513223648, -0.09708936512470245, 0.6804551482200623, -0.07668132334947586, -0.7291564345359802, 0.18699531257152557, -0.2199769914150238, 0.0007481500506401062, 0.11668799072504044, 0.17030781507492065, 0.17000283300876617, -0.02799113467335701, -0.28456738591194153, -0.1670999825000763, 0.3434315621852875, -0.07252804189920425, 0.1283711940050125, -0.03305847942829132, 0.16547603905200958, 0.4253586530685425, 0.19948935508728027, 0.6951038241386414, -0.11015038192272186, 0.12047286331653595, 0.4970320463180542, 0.08499912917613983, -0.2009405940771103, -0.16913223266601562, 0.27573856711387634, -0.07458066195249557, -0.0020333044230937958, 0.21768689155578613, 0.04982355609536171, -0.24877269566059113, -0.35459470748901367, -0.13648951053619385, 0.40996915102005005, 0.312187135219574, -0.007631270214915276, 0.37820568680763245, -0.0136246457695961, -0.3336692750453949, -0.10011724382638931, 0.48480039834976196, 0.07077302038669586, 0.457932710647583, -0.0654233917593956, 0.018124721944332123, 0.17497554421424866, -0.18103735148906708, -0.2803199887275696, -0.47338899970054626, -0.020492475479841232, 0.6736664175987244, 0.19503623247146606, -0.11479151993989944, -0.34666404128074646, 0.08792999386787415, 0.6334002017974854, -0.20379716157913208, 0.016466571018099785, 0.17100544273853302, 0.2596108913421631, 0.097629114985466, 0.07671736925840378, -0.2665857970714569, -0.21502399444580078, 0.3779333829879761, -0.035238493233919144, -0.20000387728214264, -0.0960630476474762, 0.32899415493011475, 0.0026651471853256226, -0.15072943270206451, -0.17884543538093567, 0.39385199546813965, 0.06766672432422638, -0.39516180753707886, 0.2790940999984741, -0.010720238089561462, -0.12189693748950958, 0.29215943813323975, -0.27297160029411316, 0.0031579062342643738, 0.04924077168107033, 0.0264337956905365, -0.08011780679225922, 0.33343732357025146, 0.043158434331417084, -0.18450136482715607, -0.021930191665887833, 0.22139590978622437, 0.42837652564048767, 0.3212755024433136, 0.02317477948963642, -0.05283677205443382, -0.050617609173059464, -0.23066671192646027, -0.24149483442306519, -0.5579895973205566, -0.04312334209680557, 0.4455273747444153, -0.20491710305213928, -0.15322157740592957, -0.2309185266494751, -0.2155803143978119, -0.2432597130537033, -0.19896942377090454, 0.11440679430961609, 0.16799911856651306, 0.4045499861240387, -0.02442649006843567, -0.07201029360294342, 0.2883927822113037, 0.19000479578971863, -0.0986534133553505, -0.4574061632156372, -0.3906773328781128, -0.26260459423065186, 0.12491268664598465, -0.26682916283607483, 0.02606983669102192, 0.4184035062789917, 0.07046360522508621, 0.2622072994709015, 0.28104478120803833, -0.23132063448429108, 0.4791721999645233, 0.05675581097602844, 0.28306078910827637, -0.00832885131239891, -0.15006257593631744, 0.07806597650051117, 0.4054459035396576, -0.040984660387039185, -0.17607229948043823, 0.2790496051311493, -0.104380302131176, -0.006735265254974365, 0.11279048770666122, -0.16932637989521027, -0.07317042350769043, -0.050914131104946136, 0.05894976854324341, 0.0511932447552681, 0.3581223785877228, -0.10131922364234924, 0.12409207969903946, 0.10970662534236908, -0.04934104532003403, -0.18883921205997467, 0.31040140986442566, -0.0369727648794651, -0.21823002398014069, -0.22223269939422607, 0.027454480528831482, -0.2970321476459503, -0.022123150527477264, -0.19893500208854675, 0.0539260134100914, -0.045777685940265656, -0.32861393690109253, 0.37470507621765137, -0.10832829028367996, 0.07990121096372604, 0.12867103517055511, -0.23460832238197327, -0.35187092423439026, -0.11485572904348373, -0.19859714806079865, 0.4835730493068695, -0.4363250136375427, -0.285015732049942, -0.18628938496112823, 0.35225722193717957, 0.2408987283706665, 0.23250436782836914, -0.10762837529182434, 0.3230036497116089, 0.5717781782150269, -0.10190597921609879, -0.23803827166557312, 0.1008257120847702, 0.053215812891721725, -0.24334381520748138, 0.016385499387979507, -0.05517587065696716, 0.4621210992336273, -0.16205091774463654, -0.22889886796474457, -0.30506443977355957 ]
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
Let me explain that you get the error because of this content within the `dataset_info` YAML tag in the `llava-recap-cc3m/README.md`: ``` - name: train num_bytes: 156885281898.75 num_examples: 3199866 ``` By default, if there is that content in the README file, `load_dataset` performs a basic check to verify it the generated number of examples matches the expected one and raises a `NonMatchingSplitsSizesError` if that is not the case. You can avoid this basic check by passing `verification_mode="no_checks"`: ```python load_dataset("llava-recap-cc3m/", data_files="data/train-0000*-of-00314.parquet", verification_mode="no_checks") ```
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more**
81
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more** Let me explain that you get the error because of this content within the `dataset_info` YAML tag in the `llava-recap-cc3m/README.md`: ``` - name: train num_bytes: 156885281898.75 num_examples: 3199866 ``` By default, if there is that content in the README file, `load_dataset` performs a basic check to verify it the generated number of examples matches the expected one and raises a `NonMatchingSplitsSizesError` if that is not the case. You can avoid this basic check by passing `verification_mode="no_checks"`: ```python load_dataset("llava-recap-cc3m/", data_files="data/train-0000*-of-00314.parquet", verification_mode="no_checks") ```
[ -0.2922307550907135, -0.48077696561813354, 0.06674700975418091, 0.5589855313301086, 0.2602847218513489, 0.1175428107380867, -0.2198028415441513, 0.49307647347450256, 0.09347422420978546, 0.07749490439891815, 0.004213159903883934, 0.0609835684299469, -0.039214424788951874, 0.27872705459594727, 0.08498001098632812, 0.10966465622186661, -0.10372943431138992, 0.3475571870803833, 0.1717487871646881, -0.05412500351667404, -0.3007211983203888, 0.036003172397613525, -0.160793274641037, 0.0004666745662689209, 0.01988823339343071, 0.2751666009426117, 0.021397849544882774, 0.10315442085266113, -0.18530049920082092, -0.31352630257606506, 0.33136099576950073, -0.4856381118297577, 0.20294813811779022, -0.13391411304473877, -0.00012900786532554775, -0.07158096879720688, 0.5212306976318359, -0.3263551890850067, -0.2238709032535553, -0.13117675483226776, -0.19978177547454834, -0.3460672199726105, 0.20416776835918427, -0.3439037501811981, -0.1982797086238861, -0.12839998304843903, -0.011106392368674278, -0.17719632387161255, 0.4931067228317261, 0.39013776183128357, 0.019707713276147842, -0.14922772347927094, 0.1727212518453598, 0.21368297934532166, 0.5036868453025818, -0.32433629035949707, 0.11281339079141617, -0.014508699998259544, 0.5979182720184326, -0.1192847490310669, 0.2863399386405945, 0.03993111476302147, -0.06872518360614777, 0.23677027225494385, 0.006357632577419281, 0.033332500606775284, 0.43011537194252014, -0.4573768973350525, 0.5054356455802917, 0.5195143818855286, 0.5507011413574219, -0.03272067755460739, -0.05688188225030899, -0.4107120931148529, -0.12324453145265579, -0.4943560063838959, 0.0007489994168281555, 0.6781089901924133, -0.1318473368883133, 0.10964138805866241, -0.21696586906909943, -0.20617224276065826, -0.16272667050361633, 0.15593622624874115, -0.16799268126487732, 0.21048080921173096, 0.016752833500504494, 0.11374370753765106, 0.19810926914215088, -0.05990941822528839, 0.14310164749622345, 0.0555381216108799, -0.08038643002510071, 0.38147926330566406, -0.31635811924934387, -0.16417334973812103, -0.3408454954624176, 0.14196297526359558, 0.4086974859237671, 0.13715651631355286, 0.013899030163884163, 0.21428757905960083, 0.3291518986225128, 0.20251190662384033, 0.3858993649482727, -0.1859211027622223, -0.10905274003744125, 0.16163988411426544, -0.045993730425834656, 0.09308522939682007, 0.12855398654937744, -0.11562525480985641, -0.11704719066619873, -0.02086835354566574, -0.37990161776542664, -0.04341473430395126, -0.020176086574792862, -0.4794655442237854, -0.19319263100624084, -0.0702371820807457, -0.11645001918077469, -0.11693927645683289, -0.03569784387946129, 0.056970663368701935, -0.14047665894031525, 0.3117921054363251, -0.2762368619441986, 0.23283244669437408, -0.21333527565002441, -0.4986228346824646, -0.07844988256692886, 0.08277669548988342, -0.11227470636367798, -0.08483131974935532, 0.09745378792285919, -0.18634696304798126, 0.2687382996082306, 0.0904575064778328, 0.08856301009654999, -0.09112004935741425, 0.29050159454345703, -0.410935640335083, -0.2761628329753876, 0.09823401272296906, 0.0008901841938495636, 0.18094807863235474, 0.342987060546875, -0.07740182429552078, -0.2586415112018585, 0.12125687301158905, -0.37301257252693176, -0.33033064007759094, 0.2115100622177124, 0.06227149814367294, -0.2249058037996292, 0.16302308440208435, -0.44024065136909485, 0.23168984055519104, 0.09182558208703995, 0.032579582184553146, -0.2933855652809143, 0.015311621129512787, -0.19228370487689972, -0.15214063227176666, 0.38060879707336426, 0.38548123836517334, -0.20971623063087463, -0.09959545731544495, 0.13518217206001282, 0.05527111142873764, 0.6427027583122253, 0.2985670566558838, -0.38098302483558655, -0.30719631910324097, -0.18367521464824677, 0.03315821290016174, 0.41175559163093567, -0.017509883269667625, -0.19629912078380585, 0.5437328815460205, 0.1015763133764267, -0.09058908373117447, 0.19616839289665222, -0.08327604830265045, 0.3511716425418854, -0.10660754144191742, 0.10980542749166489, 0.3897821307182312, -0.020236527547240257, -0.14898884296417236, -0.4358062148094177, -0.41986337304115295, 0.28786590695381165, 0.25701600313186646, 0.1384611576795578, 0.13759556412696838, 0.1782839596271515, -0.00631949957460165, 0.22451359033584595, -0.14444051682949066, 0.2291346788406372, 0.30898070335388184, 0.13289105892181396, 0.4121866822242737, -0.06254015117883682, -0.2366156280040741, -0.3195594251155853, 0.2873592972755432, -0.038801588118076324, -0.433441162109375, 0.15613703429698944, 0.0613994225859642, -0.15189161896705627, -0.2543911933898926, 0.09441187232732773, -0.16277919709682465, -0.07895320653915405, 0.042681075632572174, 0.08808436989784241, -0.19467012584209442, -0.28525057435035706, 0.3967602252960205, 0.07353340089321136, 0.08265065401792526, -0.3246150314807892, 0.3129170536994934, 0.19384481012821198, -0.09688900411128998, 0.3590455949306488, -0.19669878482818604, 0.5043174624443054, -0.21406520903110504, 0.09735701233148575, 0.2579980492591858, 0.21842648088932037, 0.05918607860803604, 0.060626015067100525, 0.0894978791475296, 0.20446600019931793, -0.22849231958389282, -0.02627362497150898, 0.07498522847890854, 0.07781269401311874, 0.019788451492786407, -0.10814587026834488, 0.22782030701637268, 0.1262698620557785, 0.36278635263442993, 0.04846269637346268, -0.040014855563640594, 0.22901606559753418, -0.22976620495319366, 0.018573658540844917, 0.0036125853657722473, 0.4367513358592987, 0.1974632292985916, -0.1658015251159668, 0.038087598979473114, -0.4084687829017639, -0.32493457198143005, 0.18326318264007568, -0.050435829907655716, -0.1376609206199646, 0.2906348705291748, -0.2116929292678833, -0.07626187801361084, -0.18581056594848633, 0.049743372946977615, -0.04197235405445099, 0.21436646580696106, 0.05395616218447685, 0.0604282021522522, 0.32698750495910645, 0.05294310301542282, 0.09757617115974426, 0.26033252477645874, -0.025840481743216515, 0.14741787314414978, -0.07500356435775757, -0.07053402811288834, -0.06297029554843903, 0.18246443569660187, 0.2391912341117859, 0.22290851175785065, -0.2933861315250397, -0.0623529776930809, -0.32934755086898804, -0.000688694417476654, -0.24565058946609497, 0.38694846630096436, -0.1445852369070053, -0.03869955986738205, -0.05974423140287399, 0.11721569299697876, 0.17004802823066711, -0.06945616006851196, -0.32861578464508057, 0.10704070329666138, -0.24401113390922546, -0.27492839097976685, -0.23239026963710785, -0.27860501408576965, -0.2547304928302765, -0.03126143291592598, 0.21866028010845184, 0.15476056933403015, 0.0680982694029808, -0.37081822752952576, -0.2344142496585846, -0.3025941252708435, -0.11897613108158112, -0.015970900654792786, 0.06717809289693832, 0.10218333452939987, 0.17355306446552277, 0.3593701720237732, -0.043818846344947815, 0.058292925357818604, 0.09127658605575562, 0.05174262821674347, -0.051233746111392975, 0.15019290149211884, 0.10533001273870468, 0.47242993116378784, 0.047026585787534714, -0.17842450737953186, -0.25329288840293884, -0.2725795805454254, 0.1814243048429489, 0.5874625444412231, 0.1531718373298645, -0.3495446443557739, -0.1409359574317932, -0.3690572679042816, -0.057222407311201096, 0.08737511932849884, 0.005531361326575279, -0.18561606109142303, 0.3933201730251312, 0.24774926900863647, -0.2843632698059082, 0.17829841375350952, -0.06789982318878174, -0.0643976479768753, 0.4043760299682617, -0.48956483602523804, -0.06573579460382462, -0.20636579394340515, -0.4127574861049652, -0.48757922649383545, 0.12968756258487701, 0.0737353265285492, -0.33011162281036377, 0.07907223701477051, 0.08535230904817581, -0.16629883646965027, -0.1796162724494934, 0.20873388648033142, 0.25830450654029846, 0.13552166521549225, 0.5397135019302368, 0.0841832309961319, 0.667097270488739, 0.12308226525783539, 0.19917213916778564, 0.31870272755622864, -0.060329414904117584, 0.009665437042713165, -0.10008891671895981, 0.11665064096450806, 0.24022094905376434, 0.0004788041114807129, 0.11673814058303833, 0.320882111787796, -0.09327682852745056, -0.21988125145435333, -0.3857198655605316, -0.2304697185754776, -0.4314464330673218, 0.015392672270536423, 0.04565875977277756, 0.06657924503087997, 0.18337327241897583, -0.002022126689553261, -0.05168944224715233, 0.0921131819486618, -0.15004542469978333, 0.04678632318973541, 0.09554677456617355, 0.1739201545715332, 0.18616126477718353, -0.07799191027879715, 0.321571946144104, 0.005934007465839386, 0.3070873022079468, -0.295305073261261, 0.1593017578125, 0.07387515902519226, -0.08463005721569061, 0.19618725776672363, -0.16444003582000732, 0.7689140439033508, 0.0500468872487545, 0.37779921293258667, 0.027700070291757584, -0.3316662013530731, -0.5563303828239441, -0.08004393428564072, -0.18543793261051178, -0.07626271992921829, 0.27445775270462036, 0.491422563791275, -0.7580282092094421, 0.025197070091962814, -0.21722109615802765, 0.401033490896225, -0.12363670766353607, 0.26442044973373413, -0.285713255405426, -0.12130884826183319, -0.38229691982269287, 0.2178616225719452, 0.12983737885951996, 0.29265815019607544, 0.2811819612979889, 0.1713588535785675, -0.2869790494441986, -0.17580580711364746, -0.06322796642780304, -0.056819215416908264, 0.38525307178497314, 0.012579924426972866, 0.2525170147418976, 0.12684956192970276, 0.4165205657482147, 0.2814887762069702, 0.4040277302265167, 0.08868040144443512, -0.34500762820243835, 0.1350051462650299, 0.09609679877758026, 0.21988478302955627, 0.00621524453163147, 0.026539400219917297, -0.06609240919351578, -0.02992888167500496, 0.1428331434726715, -0.10807357728481293, 0.2774125039577484, -0.0804397463798523, -0.25306597352027893, -0.4588623046875, -0.5908795595169067, 0.38937291502952576, 0.14020250737667084, 0.009689033031463623, -0.09348475933074951, 0.10343972593545914, -0.22846806049346924, 0.05321763455867767, 0.3064514696598053, 0.9859201908111572, -0.24382050335407257, 0.0415077842772007, -0.4992554485797882, -0.5033328533172607, 0.5906312465667725, -0.5578240752220154, 0.052986469119787216, -0.2908412218093872, -0.26746243238449097, -0.06596983224153519, -0.20533894002437592, 0.00047231465578079224, 0.25852084159851074, 0.07770366966724396, 0.6086809635162354, -0.153830885887146, 0.01616726629436016, 0.229526549577713, 0.230560302734375, -0.03331941366195679, 0.04058056324720383, -0.2600691318511963, -0.06040645390748978, -0.18664854764938354, 0.01599033549427986, 0.06793595850467682, -0.17736805975437164, -0.012846536934375763, -0.23622187972068787, -0.025582946836948395, 0.31291908025741577, -0.47974422574043274, -0.18696288764476776, -0.0609823502600193, -0.4225168824195862, 0.18100431561470032, 0.2163013368844986, -0.015706703066825867, 0.09679807722568512, -0.35096535086631775, 0.15415263175964355, 0.030075110495090485, -0.1866355836391449, -0.1724695861339569, 0.2869214117527008, -0.2897716760635376, -0.1697121560573578, 0.09880726784467697, 0.1549997180700302, -0.17360293865203857, -0.08448982983827591, 0.03358778357505798, 0.19122260808944702, 0.337174654006958, -0.044767946004867554, -0.305708110332489, -0.124555304646492, 0.11373721063137054, -0.17074643075466156, -0.028913181275129318, 0.1642594337463379, -0.41075608134269714, 0.0240195132791996, -0.0009190142154693604, -0.292695015668869, -0.0937664806842804, 0.28064027428627014, 0.12560780346393585, -0.004182677716016769, 0.32657018303871155, -0.02537914365530014, -0.2610146403312683, -0.08048909902572632, -0.23572295904159546, 0.16714273393154144, -0.11568716168403625, -0.06823396682739258, -0.04059413820505142, 0.2490004152059555, 0.061954647302627563, 0.043424442410469055, 0.1727771908044815, -0.037735775113105774, 0.09974324703216553, -0.7747119069099426, -0.29138314723968506, 0.20000115036964417, -0.053262125700712204, 0.0344017818570137, 0.1803775429725647, -0.06254756450653076, -0.06233319640159607, 0.08027496188879013, -0.10079312324523926, 0.473455548286438, -0.15900564193725586, 0.5250614881515503, 0.3432772159576416, 0.040640078485012054, -0.02909475564956665, 0.20646686851978302, -0.006346048787236214, 0.17301905155181885, -0.09660376608371735, -0.037690669298172, 0.05663495883345604, 0.21250686049461365, 0.018476814031600952, -0.16138331592082977, -0.29420965909957886, -0.23462745547294617, -0.14053840935230255, 0.05374593660235405, -0.015797384083271027, -0.02838883176445961, 0.11286720633506775, -0.0187830850481987, 0.6180177330970764, -0.05268426239490509, -0.7297670245170593, 0.12025521695613861, -0.2634401321411133, 0.03427862003445625, 0.03144451230764389, 0.16489537060260773, 0.22456690669059753, 0.0017653405666351318, -0.20898844301700592, -0.142194926738739, 0.29355859756469727, -0.07445206493139267, 0.15915395319461823, -0.10232199728488922, 0.18031372129917145, 0.4497445225715637, 0.15480849146842957, 0.7649433612823486, -0.11167100816965103, 0.043606989085674286, 0.5666058659553528, 0.050128236413002014, -0.29737740755081177, -0.1930018961429596, 0.25440892577171326, -0.16038888692855835, -0.034926801919937134, 0.234706848859787, 0.08889925479888916, -0.21150623261928558, -0.35543859004974365, -0.026980416849255562, 0.4994260370731354, 0.20592623949050903, 0.0391106978058815, 0.5460518598556519, -0.02974548004567623, -0.2604399621486664, -0.21437911689281464, 0.34041541814804077, 0.1420065462589264, 0.41424548625946045, -0.2237427830696106, 0.04772315174341202, 0.12258508056402206, -0.0838482528924942, -0.3767574727535248, -0.4787191152572632, 0.03242350369691849, 0.7858203649520874, 0.29985976219177246, 0.023684069514274597, -0.2650318741798401, 0.12102852761745453, 0.6478959918022156, -0.1765899807214737, -0.03673684597015381, 0.13552017509937286, 0.21417564153671265, 0.06881801784038544, 0.06611929833889008, -0.30839887261390686, -0.2710152864456177, 0.35973790287971497, -0.008842714130878448, -0.14177905023097992, 0.009000763297080994, 0.2328566163778305, 0.010657034814357758, -0.11001920700073242, -0.11303137987852097, 0.315874308347702, 0.05604977533221245, -0.4955095052719116, 0.23331794142723083, -0.07805070281028748, -0.1842401623725891, 0.2914969027042389, -0.1962052285671234, 0.045614875853061676, 0.10352317988872528, -0.16853652894496918, -0.020235922187566757, 0.3547345697879791, 0.08247704058885574, -0.050650399178266525, 0.07729049026966095, 0.2705862522125244, 0.2984122037887573, 0.2677861452102661, -0.05695706605911255, -0.017312271520495415, 0.031916700303554535, -0.2366640716791153, -0.3004469573497772, -0.4790791869163513, -0.10710305720567703, 0.40287286043167114, -0.07966051995754242, -0.038227953016757965, -0.042049698531627655, -0.22158074378967285, -0.2711227536201477, -0.11321309208869934, 0.12924431264400482, 0.19886335730552673, 0.43535465002059937, -0.04164963588118553, -0.16067932546138763, 0.27375516295433044, 0.17892859876155853, -0.17958661913871765, -0.48694831132888794, -0.3275562524795532, -0.45403701066970825, 0.14508730173110962, -0.4280647933483124, -0.140229731798172, 0.4483366012573242, 0.09734812378883362, 0.19969476759433746, 0.27419325709342957, -0.1706705242395401, 0.6265144348144531, 0.062398843467235565, 0.29809021949768066, -0.08284745365381241, -0.19814032316207886, 0.10107900202274323, 0.30669966340065, 0.008773226290941238, -0.20118355751037598, 0.29470130801200867, -0.014964718371629715, -0.030311057344079018, 0.08143678307533264, -0.16067668795585632, -0.010032614693045616, 0.06934040784835815, 0.10885462909936905, 0.11181679368019104, 0.3981364667415619, -0.11760225892066956, 0.08861235529184341, 0.12006863951683044, -0.08465483039617538, -0.14000765979290009, 0.33382654190063477, 0.02826327458024025, -0.2010514885187149, -0.28971296548843384, 0.17799904942512512, -0.36642009019851685, 0.021598704159259796, -0.10308411717414856, 0.028405936434864998, -0.05487216264009476, -0.33738234639167786, 0.36183926463127136, -0.045532308518886566, 0.013428314588963985, 0.11977697163820267, -0.16042497754096985, -0.3220037519931793, -0.16730284690856934, -0.26021018624305725, 0.5655325651168823, -0.38589420914649963, -0.26800453662872314, -0.15371590852737427, 0.3552924394607544, 0.24755045771598816, 0.22399760782718658, -0.15309423208236694, 0.19877973198890686, 0.5523184537887573, -0.06609687209129333, -0.26982346177101135, 0.011518209241330624, 0.05827176943421364, -0.33392533659935, -0.019229698926210403, -0.18244510889053345, 0.4041004180908203, -0.18353326618671417, -0.18371988832950592, -0.3026798367500305 ]
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
And please, next time you have an issue, please fill the Bug template issue with all the necessary information: https://github.com/huggingface/datasets/issues/new?assignees=&labels=&projects=&template=bug-report.yml Otherwise it is very difficult for us to understand the underlying problem and to propose a pertinent solution.
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more**
38
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if they didn't support it, and I swear I wont using stupid parquet any more** And please, next time you have an issue, please fill the Bug template issue with all the necessary information: https://github.com/huggingface/datasets/issues/new?assignees=&labels=&projects=&template=bug-report.yml Otherwise it is very difficult for us to understand the underlying problem and to propose a pertinent solution.
[ -0.20022131502628326, -0.5131793022155762, 0.005359511822462082, 0.5359086990356445, 0.25890177488327026, 0.019373200833797455, -0.16990987956523895, 0.4545104503631592, 0.18223203718662262, 0.09800265729427338, -0.12148509174585342, -0.04475770145654678, 0.054107774049043655, 0.503585159778595, 0.13419514894485474, -0.08617354929447174, 0.0024694427847862244, 0.3300929069519043, 0.12580324709415436, -0.10048337280750275, -0.24380362033843994, 0.057968854904174805, -0.09370460361242294, 0.06059171259403229, 0.050678834319114685, 0.22630389034748077, -0.01756409928202629, 0.07998885214328766, -0.2928953766822815, -0.08249547332525253, 0.26885712146759033, -0.3628823459148407, 0.16622117161750793, -0.045549921691417694, -0.00012769123713951558, -0.04830942302942276, 0.4083491563796997, -0.23309104144573212, -0.17576736211776733, -0.007135272026062012, -0.023570261895656586, -0.2561975121498108, 0.16860082745552063, -0.34138548374176025, -0.22566840052604675, -0.2191888689994812, 0.0375194288790226, -0.07354222238063812, 0.47962862253189087, 0.24443328380584717, 0.03673538565635681, -0.06452815234661102, 0.23245735466480255, 0.17624640464782715, 0.39081844687461853, -0.17478585243225098, 0.17070165276527405, 0.14307045936584473, 0.6102957725524902, 0.005160534754395485, 0.17875584959983826, -0.06464141607284546, 0.12484051287174225, 0.1731135994195938, -0.05821787565946579, 0.024728156626224518, 0.13783472776412964, -0.5395594835281372, 0.4544401466846466, 0.5491936802864075, 0.4051021635532379, 0.10191550850868225, -0.08260912448167801, -0.3493647873401642, -0.1041366457939148, -0.314100980758667, 0.02050904929637909, 0.570000171661377, -0.14938463270664215, 0.18078798055648804, -0.289863646030426, -0.29123854637145996, -0.16943217813968658, 0.24512551724910736, -0.24032455682754517, 0.05142107233405113, -0.11290634423494339, 0.07318998873233795, 0.27152180671691895, -0.1311071366071701, -0.28446829319000244, 0.023286443203687668, -0.0629178136587143, 0.30574795603752136, -0.24153055250644684, -0.21970094740390778, -0.3673391342163086, 0.20466488599777222, 0.46846386790275574, 0.11747211217880249, -0.15383894741535187, 0.27304425835609436, 0.1655285805463791, 0.1408064365386963, 0.44966763257980347, -0.16858991980552673, -0.1536026895046234, -0.06696514785289764, 0.1526269018650055, 0.09777866303920746, 0.09942665696144104, -0.12402959913015366, -0.19255928695201874, -0.03441354259848595, -0.6197502017021179, -0.26812487840652466, -0.07851877808570862, -0.4193418323993683, 0.03464759886264801, -0.15760305523872375, 0.2640681564807892, -0.03235739842057228, 0.12782680988311768, 0.07395771145820618, -0.0005023761186748743, 0.27856600284576416, -0.2626640200614929, 0.24086599051952362, -0.08834508061408997, -0.6422985792160034, -0.081699438393116, -0.0021839141845703125, -0.13077349960803986, -0.08387503772974014, 0.15458530187606812, -0.32814735174179077, 0.23414848744869232, 0.18735092878341675, 0.16744020581245422, -0.08958975970745087, 0.15334056317806244, -0.4592207670211792, -0.23915880918502808, 0.0966397374868393, 0.033152613788843155, 0.18327733874320984, 0.29955893754959106, 0.09891560673713684, -0.18574243783950806, 0.04327775910496712, -0.39694350957870483, -0.2400686889886856, 0.010498501360416412, -0.00912249181419611, -0.15545150637626648, 0.18578894436359406, -0.7515168190002441, 0.3839617669582367, -0.10542299598455429, 0.05607489123940468, -0.24921056628227234, 0.09209214150905609, -0.27827292680740356, -0.09398198872804642, 0.4961794912815094, 0.31467312574386597, -0.16718201339244843, -0.14584171772003174, 0.22274568676948547, -0.1396196335554123, 0.5457685589790344, 0.4028402268886566, -0.40040603280067444, -0.23736914992332458, -0.18807542324066162, -0.07270628958940506, 0.4731231927871704, 0.19397364556789398, -0.01023382879793644, 0.5575999021530151, 0.011905275285243988, -0.20663274824619293, 0.15513953566551208, -0.13658101856708527, 0.3138139247894287, 0.0023941791150718927, 0.09866642206907272, 0.4517782926559448, 0.02635076642036438, -0.008080650120973587, -0.24310405552387238, -0.4041987955570221, 0.17116133868694305, 0.3635552227497101, 0.1791100949048996, 0.26936107873916626, 0.2381783127784729, -0.16193515062332153, 0.22612535953521729, -0.1784769892692566, 0.2585390508174896, 0.28211328387260437, 0.05702652782201767, 0.4367038607597351, -0.059736695140600204, -0.28631705045700073, -0.3881950080394745, 0.2644316554069519, 0.012842059135437012, -0.5844795107841492, 0.34364014863967896, 0.06154546141624451, -0.09366334229707718, -0.2916063070297241, 0.22941577434539795, -0.022961534559726715, -0.10213987529277802, -0.004305191338062286, 0.05941261723637581, -0.1991296410560608, -0.4078238308429718, 0.11837907880544662, -0.00904923491179943, 0.1709461510181427, -0.363616019487381, 0.2630700469017029, 0.25836271047592163, -0.010063179768621922, 0.2842159867286682, -0.2969619631767273, 0.3308626413345337, -0.2903314232826233, 0.13997802138328552, 0.2225782573223114, 0.11538709700107574, 0.07907525449991226, 0.19951125979423523, 0.12410780787467957, 0.15012502670288086, -0.11516804993152618, -0.11464246362447739, 0.016760462895035744, 0.05255231633782387, 0.026218250393867493, -0.2346598207950592, 0.2483440339565277, 0.049261584877967834, 0.23173034191131592, 0.00005725771188735962, -0.10448643565177917, 0.20648178458213806, -0.21930928528308868, 0.09595265239477158, 0.12096057832241058, 0.4169463515281677, 0.0721340924501419, -0.052768345922231674, 0.1136670634150505, -0.5205211639404297, -0.3116680681705475, 0.15047487616539001, -0.03774092346429825, -0.16922613978385925, 0.3590725362300873, -0.17143428325653076, -0.10456955432891846, -0.1866883784532547, -0.18017540872097015, -0.10327151417732239, 0.19593971967697144, 0.1833854764699936, 0.014918861910700798, 0.538200318813324, 0.05301222950220108, 0.13108354806900024, 0.20458893477916718, -0.2084338366985321, 0.06606971472501755, -0.008695665746927261, -0.14041681587696075, -0.11113451421260834, 0.2538551688194275, 0.22415049374103546, 0.0647411048412323, -0.22319729626178741, -0.11700571328401566, -0.2671263515949249, -0.004264809191226959, -0.17643263936042786, 0.3687822222709656, -0.17598193883895874, 0.13830338418483734, -0.03382200002670288, 0.19086666405200958, 0.13927124440670013, -0.17132730782032013, -0.3629721999168396, 0.3756692111492157, -0.24432823061943054, -0.2574756145477295, -0.3348221480846405, -0.09065970778465271, -0.22062039375305176, -0.002449510619044304, 0.2189638763666153, 0.23696845769882202, 0.0034226439893245697, -0.2539975345134735, -0.19972407817840576, -0.3554519712924957, -0.13193580508232117, 0.0008491575717926025, 0.08081977069377899, 0.10665546357631683, 0.06374414265155792, 0.49182814359664917, -0.033571016043424606, 0.07143346220254898, 0.06680980324745178, -0.049268096685409546, -0.06620077788829803, 0.05474796146154404, 0.09120882302522659, 0.46609094738960266, -0.03291734308004379, -0.07587052136659622, -0.16747421026229858, -0.2791159749031067, 0.48847758769989014, 0.40406277775764465, 0.07185282558202744, -0.3967638313770294, -0.18513160943984985, -0.28894299268722534, -0.15246054530143738, 0.09939856082201004, 0.05497797951102257, -0.5027731657028198, 0.36093148589134216, 0.2130565196275711, -0.3175007700920105, 0.07695946097373962, 0.0097217857837677, -0.26281437277793884, 0.2889242172241211, -0.4398474097251892, -0.07802815735340118, -0.18282170593738556, -0.32758283615112305, -0.3982067108154297, 0.1696832925081253, -0.008022971451282501, -0.5902150869369507, 0.04287559539079666, 0.08142290264368057, -0.1575857549905777, -0.1421756148338318, 0.12115589529275894, 0.1406472623348236, 0.1621534526348114, 0.4461289048194885, 0.013171818107366562, 0.6248340010643005, 0.0472402460873127, 0.12272369861602783, 0.34646376967430115, -0.12033148854970932, 0.1934272050857544, -0.1568850874900818, 0.1109619289636612, 0.29872965812683105, 0.049275971949100494, 0.1208101361989975, 0.4458059072494507, 0.031806349754333496, -0.20274683833122253, -0.3938886821269989, -0.3460771441459656, -0.32595983147621155, -0.030097026377916336, 0.06248817592859268, 0.2376403659582138, 0.13881486654281616, -0.07391087710857391, -0.20130157470703125, 0.09762035310268402, -0.10556173324584961, 0.11501675844192505, 0.14962221682071686, 0.18316617608070374, 0.18023161590099335, -0.27702784538269043, 0.288536936044693, 0.0794086903333664, 0.1922886073589325, -0.2800542414188385, 0.08188772201538086, -0.04955840855836868, -0.0035184212028980255, 0.22025996446609497, -0.02066732384264469, 0.9689526557922363, 0.2783525288105011, 0.4670711159706116, -0.12682516872882843, -0.4172459542751312, -0.41153237223625183, 0.04849408194422722, -0.10291703790426254, -0.18832582235336304, 0.4529830515384674, 0.6823011636734009, -0.6681355834007263, -0.03438699245452881, -0.10949429869651794, 0.3861408233642578, -0.13473819196224213, 0.1776195466518402, -0.26903200149536133, 0.04465677589178085, -0.18423396348953247, 0.3341061770915985, 0.11686789244413376, 0.1709309071302414, 0.2536722421646118, 0.13234485685825348, -0.3065207302570343, -0.11982230097055435, -0.14224974811077118, 0.026141077280044556, 0.2716268301010132, 0.10112889111042023, 0.16969697177410126, 0.2716315984725952, 0.29869627952575684, 0.3036089539527893, 0.41717633605003357, 0.06499844789505005, -0.3692310154438019, 0.25613167881965637, 0.07916074246168137, 0.26556628942489624, 0.023434966802597046, -0.01794588938355446, -0.14222615957260132, 0.054118454456329346, 0.26480332016944885, -0.0969712883234024, 0.33712849020957947, -0.07312388718128204, -0.2675062119960785, -0.36898139119148254, -0.43830159306526184, 0.3662596642971039, 0.04645064100623131, 0.017020568251609802, -0.031869322061538696, 0.39866942167282104, -0.15481317043304443, 0.03220663592219353, 0.0769149661064148, 0.9406271576881409, -0.24525637924671173, 0.08872765302658081, -0.562727153301239, -0.46417540311813354, 0.5954856872558594, -0.4867382049560547, -0.1170303225517273, -0.21184535324573517, -0.35702943801879883, -0.05985715612769127, -0.19209183752536774, -0.10580607503652573, 0.3326396942138672, 0.22736182808876038, 0.5943282246589661, -0.07190092653036118, 0.19608426094055176, 0.19383658468723297, 0.20890817046165466, 0.08539094775915146, -0.01353631541132927, -0.25360235571861267, -0.045101817697286606, -0.08595442771911621, -0.06836341321468353, 0.059478759765625, -0.2030869722366333, 0.09002174437046051, -0.17858067154884338, 0.055574819445610046, 0.28195953369140625, -0.45139336585998535, -0.19678911566734314, 0.10126090049743652, -0.40076714754104614, 0.11264292895793915, 0.25513145327568054, 0.06503497809171677, 0.11891607940196991, -0.3699738681316376, 0.02319803275167942, -0.011696338653564453, -0.13070468604564667, -0.34603485465049744, 0.2505660951137543, -0.2939160168170929, -0.1403266340494156, 0.09206926077604294, 0.008675135672092438, -0.18670958280563354, -0.06427877396345139, -0.03583358973264694, 0.2753743529319763, 0.14775638282299042, -0.047242697328329086, -0.2688755691051483, -0.22150498628616333, 0.25525641441345215, -0.13845691084861755, -0.034221161156892776, 0.1700877696275711, -0.3285164535045624, -0.06355103105306625, 0.131271630525589, -0.3002932667732239, -0.06976063549518585, 0.3121991753578186, -0.0753520280122757, -0.09301013499498367, 0.2556413412094116, -0.04852968081831932, -0.25760239362716675, -0.014903705567121506, -0.1106945276260376, 0.2389499545097351, -0.19234612584114075, -0.11034137010574341, 0.06622523814439774, 0.24904222786426544, -0.0683959499001503, -0.011230375617742538, 0.10385943949222565, -0.15482458472251892, 0.17936348915100098, -0.6856829524040222, -0.311351478099823, 0.2374320924282074, -0.09985290467739105, 0.03133837878704071, 0.3364059329032898, -0.16547483205795288, 0.08374407142400742, 0.00019237399101257324, -0.08923868834972382, 0.5584145188331604, -0.09287907183170319, 0.4370395541191101, 0.4158037602901459, 0.08242125809192657, -0.001187942922115326, 0.1340676248073578, -0.04201073199510574, 0.08080871403217316, -0.08181298524141312, -0.030515380203723907, 0.019769977778196335, 0.21699552237987518, 0.03715768828988075, -0.018215663731098175, -0.24094276130199432, -0.21530038118362427, -0.170858234167099, 0.032210495322942734, 0.11338838934898376, -0.030973104760050774, 0.2836708128452301, -0.19198203086853027, 0.642857551574707, 0.01717681810259819, -0.7419871091842651, 0.17979204654693604, -0.12286053597927094, -0.018633678555488586, 0.05966966971755028, 0.1380016803741455, 0.03326409310102463, -0.08063875883817673, -0.2614041268825531, -0.10569822043180466, 0.5058580040931702, -0.0830555334687233, 0.04495162144303322, 0.01290334016084671, 0.12608975172042847, 0.41203078627586365, 0.2054188847541809, 0.6691112518310547, -0.1174265444278717, 0.16401544213294983, 0.4940238296985626, 0.02817961387336254, -0.18040429055690765, -0.15241308510303497, 0.2978387773036957, -0.058237552642822266, -0.03294797241687775, 0.1691855937242508, 0.10599756240844727, -0.1909564733505249, -0.20390458405017853, -0.19301742315292358, 0.352636456489563, 0.29028260707855225, -0.04800872877240181, 0.33144092559814453, -0.06375908851623535, -0.3110279440879822, -0.10983862727880478, 0.544106125831604, 0.14753645658493042, 0.3756014108657837, -0.07875262945890427, 0.007316134870052338, 0.13551822304725647, -0.10948401689529419, -0.3020069897174835, -0.48031508922576904, -0.14108192920684814, 0.6709779500961304, 0.2599466145038605, -0.11916352063417435, -0.36403167247772217, 0.1907719075679779, 0.6290022134780884, -0.27523428201675415, -0.04001908376812935, 0.17817415297031403, 0.26061171293258667, 0.03809638321399689, 0.018958356231451035, -0.3382823169231415, -0.28668344020843506, 0.4172488749027252, -0.049228567630052567, -0.20281068980693817, -0.007680870592594147, 0.3197705149650574, 0.05867013707756996, -0.15221120417118073, -0.21684351563453674, 0.4092903733253479, 0.04439837485551834, -0.33793702721595764, 0.3464684784412384, -0.03835447132587433, -0.11078605055809021, 0.3932206332683563, -0.13561032712459564, -0.04152147099375725, 0.006604742258787155, 0.11876694858074188, -0.05487346276640892, 0.27624231576919556, 0.08682336658239365, -0.18833932280540466, 0.008248729631304741, 0.30945518612861633, 0.34535926580429077, 0.29760873317718506, -0.019624263048171997, -0.029217839241027832, 0.027351027354598045, -0.32127219438552856, -0.24382701516151428, -0.5879227519035339, -0.08079691976308823, 0.36921775341033936, -0.1658809334039688, -0.10917237401008606, -0.2907892167568207, -0.203209787607193, -0.24969853460788727, -0.2511681616306305, 0.10797427594661713, 0.15424180030822754, 0.44530901312828064, -0.04375860095024109, -0.013051297515630722, 0.2598375380039215, 0.15782268345355988, -0.08760321885347366, -0.363196462392807, -0.45004338026046753, -0.2988673150539398, 0.17178179323673248, -0.14508222043514252, 0.09792204201221466, 0.40754935145378113, 0.017121991142630577, 0.26934579014778137, 0.20113682746887207, -0.1925113946199417, 0.2927875220775604, 0.039489950984716415, 0.2530388832092285, 0.010163411498069763, -0.042095039039850235, 0.05585407465696335, 0.3837563991546631, -0.01589047722518444, -0.14894121885299683, 0.33990478515625, -0.0769515261054039, -0.09278856217861176, 0.20346160233020782, -0.15880858898162842, -0.15952815115451813, -0.13071271777153015, 0.09185315668582916, 0.02593848668038845, 0.32883745431900024, -0.14053285121917725, 0.17478778958320618, 0.05819585919380188, -0.13583339750766754, -0.1939866691827774, 0.2826555669307709, -0.019161738455295563, -0.2207263857126236, -0.27738839387893677, 0.0113749410957098, -0.24576595425605774, -0.048079267144203186, -0.16945946216583252, 0.09116198867559433, -0.11080465465784073, -0.35039666295051575, 0.3145734667778015, -0.12477541714906693, 0.1625189334154129, 0.19045326113700867, -0.2584761083126068, -0.3983674943447113, -0.10775436460971832, -0.15763001143932343, 0.5627015829086304, -0.45847561955451965, -0.2706747055053711, -0.15768934786319733, 0.35533541440963745, 0.3920994997024536, 0.12612713873386383, -0.12174014747142792, 0.2519714832305908, 0.47764456272125244, -0.09450654685497284, -0.1744113564491272, 0.08414563536643982, -0.019289610907435417, -0.23141837120056152, -0.026910968124866486, -0.04334511607885361, 0.4813506007194519, -0.19917528331279755, -0.20043466985225677, -0.33029550313949585 ]
https://github.com/huggingface/datasets/issues/6977
load json file error with v2.20.0
Thanks for reporting, @xiaoyaolangzhi. Indeed, we are currently requiring `pandas` >= 2.0.0. You will need to update pandas in your local environment: ``` pip install -U pandas ```
### Describe the bug ``` load_dataset(path="json", data_files="./test.json") ``` ``` Generating train split: 0 examples [00:00, ? examples/s] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/datasets/packaged_modules/json/json.py", line 132, in _generate_tables pa_table = paj.read_json( File "pyarrow/_json.pyx", line 308, in pyarrow._json.read_json File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status pyarrow.lib.ArrowInvalid: JSON parse error: Column() changed from object to array in row 0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1997, in _prepare_split_single for _, table in generator: File "/usr/local/lib/python3.10/dist-packages/datasets/packaged_modules/json/json.py", line 155, in _generate_tables df = pd.read_json(f, dtype_backend="pyarrow") File "/usr/local/lib/python3.10/dist-packages/pandas/util/_decorators.py", line 211, in wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/pandas/util/_decorators.py", line 331, in wrapper return func(*args, **kwargs) TypeError: read_json() got an unexpected keyword argument 'dtype_backend' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/app/t1.py", line 11, in <module> load_dataset(path=data_path, data_files="./t2.json") File "/usr/local/lib/python3.10/dist-packages/datasets/load.py", line 2616, in load_dataset builder_instance.download_and_prepare( File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1029, in download_and_prepare self._download_and_prepare( File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1124, in _download_and_prepare self._prepare_split(split_generator, **prepare_split_kwargs) File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1884, in _prepare_split for job_id, done, content in self._prepare_split_single( File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 2040, in _prepare_split_single raise DatasetGenerationError("An error occurred while generating the dataset") from e datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset ``` ``` import pandas as pd with open("./test.json", "r") as f: df = pd.read_json(f, dtype_backend="pyarrow") ``` ``` Traceback (most recent call last): File "/app/t3.py", line 3, in <module> df = pd.read_json(f, dtype_backend="pyarrow") File "/usr/local/lib/python3.10/dist-packages/pandas/util/_decorators.py", line 211, in wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/pandas/util/_decorators.py", line 331, in wrapper return func(*args, **kwargs) TypeError: read_json() got an unexpected keyword argument 'dtype_backend' ``` ### Steps to reproduce the bug . ### Expected behavior . ### Environment info ``` datasets 2.20.0 pandas 1.5.3 ```
28
load json file error with v2.20.0 ### Describe the bug ``` load_dataset(path="json", data_files="./test.json") ``` ``` Generating train split: 0 examples [00:00, ? examples/s] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/datasets/packaged_modules/json/json.py", line 132, in _generate_tables pa_table = paj.read_json( File "pyarrow/_json.pyx", line 308, in pyarrow._json.read_json File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status pyarrow.lib.ArrowInvalid: JSON parse error: Column() changed from object to array in row 0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1997, in _prepare_split_single for _, table in generator: File "/usr/local/lib/python3.10/dist-packages/datasets/packaged_modules/json/json.py", line 155, in _generate_tables df = pd.read_json(f, dtype_backend="pyarrow") File "/usr/local/lib/python3.10/dist-packages/pandas/util/_decorators.py", line 211, in wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/pandas/util/_decorators.py", line 331, in wrapper return func(*args, **kwargs) TypeError: read_json() got an unexpected keyword argument 'dtype_backend' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/app/t1.py", line 11, in <module> load_dataset(path=data_path, data_files="./t2.json") File "/usr/local/lib/python3.10/dist-packages/datasets/load.py", line 2616, in load_dataset builder_instance.download_and_prepare( File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1029, in download_and_prepare self._download_and_prepare( File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1124, in _download_and_prepare self._prepare_split(split_generator, **prepare_split_kwargs) File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1884, in _prepare_split for job_id, done, content in self._prepare_split_single( File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 2040, in _prepare_split_single raise DatasetGenerationError("An error occurred while generating the dataset") from e datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset ``` ``` import pandas as pd with open("./test.json", "r") as f: df = pd.read_json(f, dtype_backend="pyarrow") ``` ``` Traceback (most recent call last): File "/app/t3.py", line 3, in <module> df = pd.read_json(f, dtype_backend="pyarrow") File "/usr/local/lib/python3.10/dist-packages/pandas/util/_decorators.py", line 211, in wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/pandas/util/_decorators.py", line 331, in wrapper return func(*args, **kwargs) TypeError: read_json() got an unexpected keyword argument 'dtype_backend' ``` ### Steps to reproduce the bug . ### Expected behavior . ### Environment info ``` datasets 2.20.0 pandas 1.5.3 ``` Thanks for reporting, @xiaoyaolangzhi. Indeed, we are currently requiring `pandas` >= 2.0.0. You will need to update pandas in your local environment: ``` pip install -U pandas ```
[ -0.06933755427598953, 0.45719021558761597, -0.03216099739074707, 0.2189229279756546, 0.4231175184249878, -0.0032409876585006714, 0.5813358426094055, 0.7122802138328552, -0.22067081928253174, 0.11693383753299713, 0.0030927418265491724, 0.5666237473487854, -0.04973059892654419, 0.17136064171791077, -0.050248049199581146, -0.4724688231945038, 0.13418719172477722, 0.2932443618774414, 0.1312941312789917, 0.13058526813983917, -0.3339763879776001, 0.18472780287265778, -0.1595311164855957, 0.24578611552715302, -0.4432363510131836, -0.07054752111434937, -0.039399489760398865, 0.13165292143821716, -0.1327940672636032, -0.6169224977493286, 0.1252439320087433, -0.23104730248451233, 0.07393641024827957, 0.26341015100479126, -0.00011016869393642992, 0.317815899848938, 0.2630716562271118, -0.03227854520082474, -0.23448066413402557, -0.4149077534675598, 0.26777803897857666, -0.2611120343208313, 0.3877127468585968, -0.3158099949359894, 0.07526424527168274, -0.6875633597373962, -0.11031559109687805, 0.2459867000579834, 0.6089894771575928, 0.26301151514053345, 0.2048444151878357, -0.006321737542748451, 0.303335577249527, 0.0666128545999527, 0.4706580638885498, -0.07720372080802917, -0.04425612837076187, 0.3274807929992676, 0.018310241401195526, 0.04246092587709427, -0.3280583918094635, -0.047157250344753265, -0.034091703593730927, 0.06408122926950455, -0.036001212894916534, 0.14411857724189758, 0.2639503479003906, -0.10232502222061157, -0.11662106961011887, 0.1349470466375351, 0.5165297389030457, -0.2521229684352875, -0.3008471429347992, -0.14168715476989746, 0.015250492841005325, -0.2229408621788025, 0.322733074426651, 0.27626538276672363, -0.11787049472332001, 0.20627017319202423, 0.13463270664215088, 0.20112203061580658, -0.3323720693588257, 0.07171246409416199, -0.11744364351034164, -0.0922626256942749, 0.05698235332965851, 0.016178764402866364, -0.04079357162117958, -0.10471902787685394, 0.15511642396450043, 0.1245296522974968, -0.18496863543987274, 0.16665562987327576, -0.1866886019706726, -0.006280548870563507, 0.009794268757104874, -0.7636132836341858, 0.10170965641736984, 0.1777336299419403, 0.1135019063949585, -0.04360295832157135, 0.05754828825592995, 0.2623618543148041, 0.3828296959400177, 0.04133905470371246, -0.19817408919334412, -0.08940604329109192, 0.19955654442310333, 0.020944155752658844, -0.10888727009296417, -0.09211424738168716, -0.05281064286828041, -0.2918495237827301, 0.09211823344230652, 0.033359404653310776, 0.36115026473999023, -0.0751190185546875, -0.2719965875148773, 0.03349249064922333, -0.7840105295181274, -0.054523926228284836, -0.004259544424712658, 0.3708195686340332, 0.06961094588041306, 0.41994184255599976, 0.22698913514614105, 0.21766920387744904, -0.04706225171685219, -0.08913832902908325, -0.13300034403800964, 0.08945953845977783, 0.012846898287534714, -0.17331963777542114, 0.3204227089881897, 0.20232801139354706, 0.29411619901657104, 0.2858556807041168, -0.20631663501262665, -0.25948238372802734, 0.09595751017332077, -0.13940243422985077, -0.12609168887138367, 0.31626081466674805, 0.1685541868209839, -0.12565551698207855, -0.056216176599264145, -0.19550850987434387, -0.12016844749450684, 0.3699350357055664, -0.3202682137489319, -0.3225352168083191, -0.15079110860824585, 0.20025013387203217, 0.15922614932060242, 0.15314416587352753, -0.032096438109874725, 0.026357177644968033, -0.003453470766544342, -0.288664847612381, -0.11850839108228683, -0.016328372061252594, 0.10370336472988129, -0.40248942375183105, 0.0952630341053009, 0.008632838726043701, -0.6126621961593628, 0.005229093134403229, 0.35519999265670776, -0.09533916413784027, 0.04945322126150131, 0.07763028144836426, -0.33447539806365967, 0.3914923667907715, -0.18536092340946198, 0.25302815437316895, 0.25228968262672424, -0.032420430332422256, -0.18963073194026947, 0.20600107312202454, -0.19355420768260956, 0.05864793062210083, 0.25020864605903625, -0.18435995280742645, -0.02235541306436062, 0.1627291440963745, 0.28280872106552124, 0.06251311302185059, 0.07331741601228714, 0.2990730404853821, -0.19406796991825104, -0.2137203812599182, 0.1696023941040039, 0.15715602040290833, -0.011213161051273346, 0.0060725137591362, -0.006778813898563385, 0.04544169083237648, 0.27829709649086, -0.2739797830581665, -0.14790824055671692, 0.23831012845039368, 0.2624674141407013, -0.2021799236536026, 0.18333497643470764, 0.026430927217006683, -0.4343467354774475, 0.0005363114178180695, -0.37004876136779785, -0.04162456840276718, -0.3342740535736084, -0.08683925867080688, -0.17027750611305237, 0.02978554181754589, -0.1320382058620453, 0.05525635555386543, 0.21562154591083527, -0.20514485239982605, 0.03691943362355232, 0.2981928288936615, -0.2536100149154663, 0.06929630041122437, -0.24667714536190033, 0.16508013010025024, -0.09317955374717712, 0.474340558052063, -0.12653537094593048, -0.3728748857975006, 0.1329096108675003, 0.039936259388923645, 0.014685090631246567, -0.24613012373447418, -0.2970230281352997, 0.34063711762428284, 0.18990735709667206, 0.049351584166288376, -0.4219512939453125, 0.004073500633239746, 0.05427996814250946, 0.1746491938829422, -0.06292159110307693, 0.011625023558735847, 0.07559539377689362, -0.05060407146811485, -0.06356681883335114, 0.6246894001960754, -0.08974094688892365, -0.023339055478572845, 0.10625611245632172, -0.1655200719833374, 0.4269833564758301, -0.11404776573181152, 0.1742558628320694, 0.03623231500387192, -0.0007781945168972015, 0.3011021018028259, 0.17439284920692444, 0.08233869820833206, -0.2763133645057678, -0.0922061875462532, 0.6859885454177856, -0.052097953855991364, -0.08349331468343735, -0.00029838457703590393, -0.03955961763858795, -0.18168410658836365, 0.005982063710689545, 0.13334202766418457, 0.3296390175819397, 0.15696150064468384, -0.2778894901275635, 0.10104934126138687, -0.052913181483745575, -0.15688444674015045, 0.2870385944843292, 0.02866092324256897, 0.46628639101982117, 0.4062650203704834, 0.1906193494796753, -0.054154153913259506, -0.42836329340934753, -0.09968870878219604, 0.28209027647972107, 0.49462559819221497, -0.4209236204624176, 0.004212738946080208, -0.22314000129699707, 0.12596380710601807, -0.08746560662984848, -0.04291456937789917, 0.01455753669142723, -0.18648912012577057, 0.08017152547836304, 0.3682713508605957, -0.21057528257369995, 0.19013148546218872, 0.03899456188082695, 0.07780075073242188, 0.2149733006954193, 0.02461783029139042, -0.34875014424324036, -0.08256025612354279, -0.251097172498703, 0.09439155459403992, 0.33420121669769287, 0.05727962404489517, -0.02085188589990139, -0.15543565154075623, -0.12433742731809616, 0.14773018658161163, -0.06899534165859222, 0.09417718648910522, -0.03391037881374359, 0.02308584749698639, 0.1888207644224167, 0.22764302790164948, -0.13732391595840454, -0.3372063636779785, 0.30793267488479614, -0.09564872831106186, -0.4183369278907776, 0.3608866333961487, -0.14172613620758057, 0.036303434520959854, -0.08221381157636642, -0.5925597548484802, -0.029516926035284996, -0.3082600235939026, 0.4419431686401367, 0.03049863502383232, 0.25831738114356995, -0.014750893227756023, 0.3837509751319885, 0.24069789052009583, 0.18631750345230103, 0.012113162316381931, 0.0606507733464241, -0.22505143284797668, 0.07357819378376007, -0.2080441266298294, -0.26021286845207214, 0.2201387882232666, -0.023031646385788918, 0.009584881365299225, -0.13019709289073944, -0.15780626237392426, -0.137002632021904, 0.12120364606380463, 0.27257829904556274, -0.09532882273197174, -0.30053213238716125, 0.19039207696914673, 0.21549692749977112, -0.12728886306285858, 0.019504636526107788, 0.0213848277926445, 0.27900585532188416, 0.13667942583560944, -0.1130022183060646, -0.008136693388223648, 0.5408166646957397, 0.08490791916847229, 0.4649413228034973, -0.0025295745581388474, -0.11977854371070862, 0.37844017148017883, -0.14608824253082275, -0.07081972062587738, -0.19154459238052368, -0.10574198514223099, -0.19539062678813934, -0.17644134163856506, -0.016602985560894012, 0.06119776517152786, -0.1800607144832611, -0.3391444683074951, -0.06217343360185623, -0.09486779570579529, -0.5241336822509766, -0.12670211493968964, 0.16266648471355438, -0.15119494497776031, 0.10321914404630661, -0.1479320079088211, -0.00015043094754219055, -0.055873624980449677, 0.1482301652431488, -0.008407732471823692, -0.019578851759433746, 0.24288129806518555, -0.2772916853427887, -0.4385230541229248, -0.2810775339603424, -0.24697938561439514, 0.20633938908576965, 0.20466673374176025, 0.23397883772850037, 0.12883360683918, -0.048755280673503876, 0.20941466093063354, -0.42625439167022705, 0.8367850184440613, 0.01721864566206932, -0.09829944372177124, 0.30141884088516235, 0.21244198083877563, -0.24209430813789368, -0.15220509469509125, -0.09222596883773804, 0.2049282193183899, 0.3241342306137085, 0.26170891523361206, -0.20308247208595276, -0.44014981389045715, 0.36978062987327576, -0.04005935415625572, -0.23610559105873108, -0.1394577920436859, -0.17989490926265717, -0.2583544850349426, -0.27545610070228577, -0.013456419110298157, -0.0832972452044487, 0.46903008222579956, -0.2239966094493866, -0.3642490804195404, 0.01720958575606346, -0.20341399312019348, -0.20166979730129242, 0.19831570982933044, 0.34715989232063293, -0.2575644850730896, 0.11554737389087677, 0.020940937101840973, 0.4442431926727295, 0.6086245775222778, 0.22874927520751953, 0.02319386601448059, -0.16867595911026, 0.0621754452586174, -0.0640547052025795, 0.22631680965423584, 0.1810116320848465, -0.26236599683761597, 0.07423911243677139, -0.31848761439323425, -0.0005815103650093079, 0.16182366013526917, -0.35007646679878235, 0.5952115058898926, -0.17050473392009735, -0.09141191840171814, -0.2834344804286957, 0.4282934367656708, -0.0192440003156662, 0.10838179290294647, -0.04999580234289169, -0.22543810307979584, -0.13920193910598755, 0.6448756456375122, -0.0922192856669426, 0.5407503843307495, 0.03184179216623306, 0.045974381268024445, 0.7440213561058044, -0.1705997884273529, 0.27869337797164917, -0.701352596282959, 0.23739467561244965, -0.6507986783981323, 0.1302802562713623, -0.07934225350618362, -0.17746417224407196, 0.18756651878356934, 0.399621844291687, -0.10095734894275665, -0.05410878732800484, -0.11334571242332458, 0.11081746220588684, -0.0890403762459755, 0.23827016353607178, -0.10853222757577896, -0.0025069955736398697, -0.5223978757858276, 0.07083304971456528, 0.0014930255711078644, -0.24613991379737854, -0.046316660940647125, -0.27023178339004517, -0.20414626598358154, -0.21531334519386292, -0.039173729717731476, 0.20807144045829773, -0.09798755496740341, 0.27613383531570435, 0.2806739807128906, -0.1747545599937439, -0.10667531192302704, 0.10743459314107895, -0.21033059060573578, -0.20837755501270294, 0.03638998791575432, 0.19859904050827026, -0.13130691647529602, -0.06522470712661743, -0.02363455668091774, 0.12236401438713074, 0.38767048716545105, -0.1464308351278305, -0.3205539584159851, 0.23293644189834595, -0.3923010230064392, -0.4056355357170105, 0.11179763078689575, 0.01641528680920601, -0.00011952221393585205, -0.3682527542114258, -0.23435167968273163, -0.14557145535945892, -0.02939305640757084, -0.27328354120254517, 0.17975027859210968, -0.06744517385959625, -0.138773113489151, 0.07288885861635208, -0.20308269560337067, -0.1912471055984497, -0.015644166618585587, 0.33668696880340576, 0.17018428444862366, 0.3029676079750061, 0.6436678171157837, 0.11861445009708405, 0.021939218044281006, -0.19676941633224487, 0.26204347610473633, 0.3599945902824402, -0.562606692314148, 0.2995283603668213, 0.10394574701786041, 0.3181082010269165, 0.0833849161863327, 0.111443430185318, 0.013440482318401337, 0.27216437458992004, 0.015109766274690628, -0.38498756289482117, -0.3231164515018463, 0.28685110807418823, 0.1720626801252365, 0.1843937635421753, 0.2708438038825989, 0.38081929087638855, -0.08954223990440369, -0.10018718987703323, -0.29643088579177856, 0.26934587955474854, -0.21746022999286652, 0.042453862726688385, -0.25081244111061096, -0.1252155303955078, 0.026404501870274544, -0.058587513864040375, 0.2461472749710083, 0.20760011672973633, -0.0027354294434189796, -0.2445334494113922, -0.17288640141487122, 0.0838516429066658, 0.07214822620153427, 0.06101478636264801, -0.19242089986801147, 0.018667329102754593, -0.3567963242530823, 0.16446442902088165, 0.11484891176223755, 0.0955423042178154, -0.0004753395915031433, 0.24523009359836578, 0.22709986567497253, 0.05216401442885399, -0.113681860268116, -0.025401882827281952, -0.3059254586696625, 0.2297157198190689, 0.06828922033309937, 0.2751988172531128, -0.24287442862987518, 0.03805365413427353, -0.3669193685054779, 0.08286067843437195, -0.3589339256286621, 0.0532146692276001, 0.34608450531959534, -0.42348402738571167, -0.14088775217533112, -0.23416142165660858, 0.15543650090694427, 0.4103541672229767, -0.34531304240226746, 0.16729238629341125, 0.14022761583328247, 0.21852029860019684, -0.263963907957077, -0.05793453007936478, 0.27189967036247253, -0.09002065658569336, -0.09970860183238983, -0.10200763493776321, 0.19351205229759216, -0.11285366117954254, -0.0062345415353775024, 0.18542185425758362, 0.1271195113658905, 0.218637153506279, 0.08939558267593384, 0.6210962533950806, -0.02970988117158413, 0.12700104713439941, 0.06999673694372177, 0.1495893895626068, 0.34996676445007324, 0.3063369393348694, -0.023674584925174713, -0.12670093774795532, -0.1397947371006012, 0.18242396414279938, -0.20786136388778687, -0.3236747980117798, -0.24904800951480865, 0.4089242219924927, -0.17609792947769165, -0.01732766628265381, 0.09013081341981888, 0.36652907729148865, 0.19615113735198975, -0.176541268825531, -0.30075913667678833, 0.3581906259059906, -0.255372554063797, -0.09287767112255096, -0.3002030849456787, -0.34758761525154114, -0.17591492831707, 0.07071799039840698, -0.04659933224320412, 0.01840081810951233, -0.14086361229419708, 0.21769258379936218, -0.14225053787231445, -0.3342730402946472, 0.2981785833835602, 0.05354691669344902, 0.17745015025138855, -0.16015267372131348, 0.11253912001848221, 0.1104181781411171, -0.04893380403518677, -0.011220790445804596, 0.13800251483917236, 0.4195915162563324, 0.38618165254592896, -0.12232857942581177, -0.25847166776657104, -0.11803218722343445, -0.1436077207326889, 0.15753109753131866, 0.06060776486992836, 0.2546371519565582, -0.0882837176322937, 0.21732616424560547, 0.13697955012321472, -0.15725357830524445, -0.0026077628135681152, 0.3452911972999573, 0.3074333965778351, -0.1354968249797821, 0.3506060242652893, -0.11603790521621704, -0.2715190351009369, -0.06223638355731964, -0.1358049511909485, -0.20812684297561646, -0.3178025782108307, -0.0026840511709451675, 0.17732024192810059, 0.1189991757273674, 0.001229503657668829, 0.09410977363586426, -0.14381812512874603, 0.18437369167804718, 0.056491851806640625, 0.025087662041187286, -0.2435879111289978, -0.19278430938720703, -0.17920073866844177, 0.12285608053207397, -0.23323684930801392, 0.39196279644966125, 0.15180720388889313, 0.2063141018152237, -0.08492621034383774, 0.010396778583526611, 0.0238015279173851, 0.2677987217903137, -0.07372640073299408, 0.4905336797237396, -0.4642122983932495, 0.10802777111530304, 0.11545349657535553, -0.008815282955765724, -0.28059741854667664, -0.2469860315322876, 0.16059809923171997, 0.032249752432107925, 0.08745329827070236, -0.179213285446167, 0.031813398003578186, 0.2270904779434204, 0.10259293019771576, 0.4385962188243866, -0.00444597564637661, 0.1200634092092514, -0.04157964885234833, -0.10646551847457886, -0.042570244520902634, -0.38533857464790344, -0.13651682436466217, 0.34080132842063904, 0.039877865463495255, 0.508205771446228, 0.0758204311132431, 0.0935760885477066, -0.09891156852245331, 0.07161613553762436, -0.30539602041244507, -0.18207871913909912, -0.24547608196735382, 0.09149038046598434, -0.009731799364089966, 0.148167222738266, 0.04249447211623192, 0.0013171583414077759, 0.015296842902898788, 0.1507713794708252, -0.4358066916465759, -0.07966441661119461, 0.15099331736564636, -0.31355762481689453, -0.11732475459575653, 0.3185364603996277, 0.04489055275917053, -0.1080891415476799, 0.08117105811834335, -0.17852744460105896, -0.08227697014808655, 0.4540034532546997, -0.012674849480390549, -0.17993874847888947, 0.10545076429843903, 0.141914963722229, 0.01892026886343956, -0.1056409627199173, -0.06843613088130951, 0.0890079215168953, -0.2357664853334427, -0.248030424118042, -0.32967084646224976 ]
https://github.com/huggingface/datasets/issues/6961
Manual downloads should count as downloads
We're unlikely to add more features/support for datasets with python loading scripts, which include datasets with manual download. Sorry for the inconvenience
### Feature request I would like to request that manual downloads of data files from Hugging Face dataset repositories count as downloads of a dataset. According to the documentation for the Hugging Face Hub, that is currently not the case: https://huggingface.co/docs/hub/en/datasets-download-stats ### Motivation This would ensure that downloads are accurately reported to end users. ### Your contribution N/A
22
Manual downloads should count as downloads ### Feature request I would like to request that manual downloads of data files from Hugging Face dataset repositories count as downloads of a dataset. According to the documentation for the Hugging Face Hub, that is currently not the case: https://huggingface.co/docs/hub/en/datasets-download-stats ### Motivation This would ensure that downloads are accurately reported to end users. ### Your contribution N/A We're unlikely to add more features/support for datasets with python loading scripts, which include datasets with manual download. Sorry for the inconvenience
[ -0.1038682609796524, -0.36855047941207886, -0.10727691650390625, 0.16287986934185028, 0.17361174523830414, 0.11568938940763474, 0.17577767372131348, -0.14422112703323364, 0.1477762758731842, -0.08603067696094513, -0.19188061356544495, -0.10899198800325394, -0.2685455083847046, 0.6268167495727539, 0.4274466037750244, 0.0721413716673851, 0.07237519323825836, -0.19925695657730103, 0.04680950939655304, 0.06342745572328568, -0.0451141856610775, 0.31793826818466187, 0.06374967098236084, -0.1513204574584961, -0.12421442568302155, 0.08852986246347427, 0.08300227671861649, 0.0015411339700222015, -0.2844415307044983, -0.3035355806350708, 0.28123316168785095, 0.16533717513084412, 0.2108837366104126, 0.3196163773536682, -0.00011753833678085357, -0.16986322402954102, 0.05800184980034828, -0.14272336661815643, -0.4469320476055145, 0.0226052924990654, -0.19925141334533691, -0.104617178440094, 0.18233391642570496, 0.02297075092792511, 0.1756211817264557, 0.23543088138103485, 0.0392097570002079, -0.018517643213272095, -0.0006803721189498901, 0.22577151656150818, 0.13054345548152924, 0.6167213916778564, 0.14787018299102783, -0.03993500769138336, 0.1999337077140808, 0.8300646543502808, -0.1310306340456009, 0.5648449063301086, -0.0023327097296714783, 0.11966894567012787, 0.07934541255235672, 0.21682217717170715, 0.2547552287578583, -0.0009106174111366272, 0.5769565105438232, 0.28941547870635986, 0.04065842926502228, -0.39458563923835754, -0.1863330900669098, 0.2048499584197998, 0.46544525027275085, -0.41411569714546204, -0.443294495344162, -0.8061124086380005, -0.007707549259066582, 0.08329753577709198, -0.16832545399665833, 0.3364569842815399, -0.14985604584217072, 0.13163498044013977, -0.47485649585723877, -0.03670202195644379, 0.09511388838291168, 0.07272768765687943, 0.0021953657269477844, -0.18568190932273865, -0.16786660254001617, -0.03514721989631653, 0.10125129669904709, 0.08906898647546768, -0.138559490442276, -0.16465282440185547, 0.022855553776025772, 0.10539759695529938, 0.1017620861530304, -0.15434488654136658, 0.06847796589136124, 0.4719281792640686, 0.5509814023971558, 0.3944443464279175, 0.07739140093326569, -0.1576414704322815, -0.4661591947078705, 0.06435821950435638, 0.2695356607437134, -0.01424594596028328, 0.37871602177619934, -0.0633784681558609, 0.13666456937789917, 0.45167937874794006, 0.37710198760032654, -0.16493827104568481, 0.10516997426748276, 0.15565085411071777, -0.09419018030166626, -0.17554569244384766, 0.03555040434002876, -0.2245028018951416, -0.11649388819932938, -0.2554889917373657, 0.2296156883239746, -0.034249451011419296, 0.16762007772922516, 0.1194482147693634, 0.12430121004581451, 0.0485832579433918, -0.1177670881152153, 0.24594570696353912, 0.17687442898750305, -0.12751245498657227, -0.11885562539100647, -0.04720023646950722, 0.05775267258286476, 0.19871413707733154, 0.12592102587223053, -0.44424131512641907, 0.45887401700019836, -0.12906412780284882, 0.4196155071258545, -0.11978181451559067, -0.16788101196289062, 0.09113039076328278, 0.08169421553611755, 0.2602439224720001, -0.09623914957046509, -0.12751300632953644, 0.02503574639558792, -0.06408456712961197, -0.25285544991493225, -0.02444395422935486, -0.08046763390302658, -0.21929654479026794, 0.16887417435646057, 0.08810508251190186, -0.17215314507484436, -0.338122695684433, -0.4565414488315582, 0.2736251652240753, -0.01732778549194336, -0.07394865155220032, 0.2650585472583771, 0.2649673819541931, 0.04424269124865532, -0.07078630477190018, 0.06148011237382889, 0.5790672302246094, -0.1216149628162384, -0.3876810371875763, -0.01375315710902214, -0.41301387548446655, 0.09270304441452026, 0.013093672692775726, -0.3780873119831085, 0.1452409327030182, -0.41167521476745605, 0.1730235069990158, 0.04503340274095535, -0.5014548301696777, -0.28591910004615784, 0.12273864448070526, 0.03173808008432388, 0.17908518016338348, -0.026980482041835785, 0.1788586676120758, -0.004774769768118858, -0.18158577382564545, 0.04353581368923187, 0.11035613715648651, -0.17480699717998505, 0.06012880802154541, -0.11905260384082794, -0.47831490635871887, 0.03276442736387253, 0.1346939206123352, 0.2441754788160324, 0.05407552048563957, 0.20402953028678894, -0.1450958549976349, 0.4569143056869507, -0.06447824835777283, -0.10333327203989029, 0.01599813625216484, 0.14828482270240784, 0.014858901500701904, -0.08081118762493134, -0.1679651141166687, -0.4243764281272888, 0.1702185869216919, -0.2182963490486145, -0.05015385150909424, -0.03445109724998474, -0.47904330492019653, -0.4923730790615082, 0.025491124019026756, -0.004962991923093796, -0.20546424388885498, 0.01658705249428749, 0.1043013483285904, 0.024558447301387787, 0.21398544311523438, -0.2738862931728363, 0.5738869905471802, -0.15044425427913666, 0.34324514865875244, -0.23252885043621063, 0.24965249001979828, 0.24949496984481812, 0.09849444776773453, 0.11004109680652618, 0.2070959210395813, 0.0807037279009819, 0.04618558660149574, 0.23653480410575867, 0.1936277151107788, 0.019854191690683365, 0.3652051091194153, 0.4635203182697296, 0.07522623986005783, 0.3527548313140869, 0.16007821261882782, -0.14797252416610718, 0.12057967483997345, 0.2385701686143875, -0.028576213866472244, -0.4869636595249176, 0.13506731390953064, -0.14395737648010254, -0.043551914393901825, 0.1546856313943863, 0.027924781665205956, 0.07915526628494263, 0.21774998307228088, -0.6423934698104858, -0.2273135781288147, 0.028874754905700684, 0.06821446120738983, 0.07142402231693268, -0.1549975872039795, -0.3446059226989746, -0.027424044907093048, 0.3634370267391205, 0.018693402409553528, 0.020265202969312668, 0.4728708565235138, -0.3467278778553009, -0.15003105998039246, 0.266238808631897, -0.05769024044275284, 0.27829718589782715, 0.18027730286121368, 0.4010562300682068, 0.07077842205762863, 0.326858252286911, -0.1489890217781067, 0.07300923764705658, 0.23523391783237457, -0.33742740750312805, 0.051921676844358444, 0.008082287386059761, -0.2138887494802475, -0.48860839009284973, 0.08846987783908844, -0.13830597698688507, -0.060831137001514435, -0.5912470817565918, -0.25460749864578247, 0.21215610206127167, -0.2840462028980255, -0.09573470056056976, -0.18685390055179596, -0.46636998653411865, -0.23909907042980194, -0.19870202243328094, 0.22901412844657898, 0.09373664855957031, -0.18625697493553162, -0.22286945581436157, 0.35046324133872986, -0.38087019324302673, -0.2643650770187378, -0.11759456247091293, 0.14537949860095978, 0.01690075919032097, 0.08798757195472717, 0.19570383429527283, -0.1190197616815567, 0.6187673211097717, -0.7087743878364563, 0.20286694169044495, -0.44411447644233704, -0.15434984862804413, 0.12875086069107056, 0.11043056100606918, -0.01334761269390583, 0.15013621747493744, -0.013427972793579102, -0.1702251434326172, 0.03433171659708023, -0.16735859215259552, -0.1485229730606079, -0.10243044793605804, -0.35166460275650024, 0.12380392849445343, 0.28347355127334595, -0.1933039128780365, 0.1316230744123459, -0.437716543674469, -0.06262506544589996, 0.5460108518600464, 0.36690324544906616, -0.09108385443687439, 0.1402135044336319, -0.3421025574207306, 0.14756852388381958, -0.2623690962791443, -0.3244779407978058, -0.29252204298973083, -0.4483950138092041, 0.004316017031669617, -0.11224711686372757, -0.3229220509529114, 0.22180470824241638, -0.03778296709060669, -0.08107514679431915, 0.0747365653514862, -0.230368509888649, -0.4266647398471832, -0.08924205601215363, 0.4014420509338379, 0.12716606259346008, 0.34925147891044617, 0.3161035180091858, -0.0667814090847969, 0.11421407759189606, -0.04562060162425041, -0.1431255340576172, 0.06476865708827972, 0.3562775254249573, 0.1532984972000122, -0.1166994646191597, -0.0665750503540039, 0.20109280943870544, 0.3390697240829468, 0.4280194342136383, 0.06884554773569107, 0.38602539896965027, -0.13537511229515076, 0.38643601536750793, -0.08886439353227615, -0.13042056560516357, 0.12910941243171692, -0.18597018718719482, 0.1571272760629654, 0.3274434804916382, 0.34466713666915894, 0.1932222694158554, -0.21283678710460663, -0.0077908094972372055, -0.4528788626194, -0.09137507528066635, -0.3008805215358734, 0.06627169996500015, 0.23358139395713806, 0.13939031958580017, 0.006108894944190979, -0.1286679059267044, -0.08142253011465073, 0.13470393419265747, 0.5910017490386963, 0.43571096658706665, 0.15561844408512115, -0.0996432900428772, 0.2865869700908661, -0.6966068148612976, 0.1873902976512909, 0.10555364191532135, -0.19021259248256683, -0.029022224247455597, -0.10671403259038925, 0.1260179877281189, 0.08803007751703262, 0.41786372661590576, 0.013673262670636177, -0.124490886926651, -0.09434933960437775, -0.10541380196809769, -0.3440689146518707, 0.04242156818509102, -0.0686546117067337, -0.28312137722969055, 0.22470103204250336, 0.4235725998878479, -0.6755557656288147, 0.28856441378593445, 0.04675807058811188, 0.20742672681808472, 0.11902856826782227, -0.10431557893753052, -0.1147555410861969, -0.3638063669204712, -0.10304844379425049, -0.1593274176120758, 0.2537904381752014, -0.24192196130752563, -0.08637985587120056, -0.06710000336170197, -0.1131310760974884, 0.02740134298801422, 0.20530806481838226, -0.03362220525741577, 0.5151966214179993, 0.3498835265636444, 0.027704373002052307, 0.25350698828697205, 0.07150126993656158, 0.0832318514585495, 0.6045796871185303, -0.09467284381389618, -0.46260565519332886, -0.29623886942863464, -0.2994655966758728, 0.18440477550029755, 0.44560742378234863, -0.10239657014608383, -0.002440623939037323, 0.0543658584356308, 0.1288994550704956, -0.3274146318435669, 0.11836279183626175, 0.12068253755569458, 0.11236342787742615, -0.1958170235157013, -0.42610791325569153, 0.5040619969367981, 0.1392357498407364, -0.0001700669527053833, -0.10345280170440674, 0.19887086749076843, -0.34339189529418945, -0.346998393535614, 0.003293551504611969, 1.071637749671936, -0.10065855085849762, 0.35171905159950256, 0.2804040014743805, -0.29583001136779785, 0.5190747976303101, -0.28450995683670044, -0.004121722653508186, -0.34974849224090576, 0.0884762704372406, -0.29508641362190247, -0.03798927366733551, 0.13639482855796814, -0.12200386822223663, -0.2735114097595215, 0.2592655420303345, -0.13629023730754852, 0.16372385621070862, 0.015171922743320465, 0.17668932676315308, -0.30853334069252014, -0.3071180582046509, 0.0005999039858579636, 0.10383465886116028, 0.050707537680864334, 0.5522072315216064, -0.17631909251213074, -0.1667095124721527, -0.2259683907032013, -0.23747409880161285, -0.1709926724433899, -0.3446652591228485, 0.12820252776145935, -0.25876033306121826, -0.092529296875, -0.3249163031578064, -0.05422524735331535, 0.3824228346347809, 0.5336846113204956, -0.16687984764575958, -0.49426335096359253, -0.05849212780594826, -0.4037962853908539, 0.2477487176656723, 0.15609994530677795, 0.1619897484779358, -0.1157415360212326, -0.15169823169708252, 0.06101197749376297, -0.23870885372161865, -0.037529509514570236, -0.029166974127292633, -0.2705974876880646, 0.07998667657375336, -0.14209818840026855, -0.35449889302253723, -0.0881054699420929, 0.16759027540683746, 0.0353301502764225, -0.10051698982715607, 0.023311935365200043, 0.12566135823726654, -0.07844915241003036, 0.23181578516960144, -0.03933293744921684, -0.20962561666965485, -0.3523668348789215, 0.36538779735565186, -0.21570837497711182, -0.24625486135482788, -0.08414754271507263, -0.17182964086532593, -0.23561540246009827, -0.01157139427959919, 0.17556118965148926, 0.0773778036236763, -0.44408419728279114, 0.08956737071275711, 0.2777523696422577, 0.213186576962471, -0.2282724529504776, 0.20869502425193787, 0.26057004928588867, -0.12514659762382507, -0.017381127923727036, -0.11605817079544067, -0.40780866146087646, 0.017163708806037903, -0.049974504858255386, 0.06513009965419769, 0.16995307803153992, 0.06488439440727234, 0.4240044951438904, -0.3054471015930176, -0.21824496984481812, 0.05652385950088501, -0.023446574807167053, -0.08693430572748184, 0.28481724858283997, -0.053286053240299225, 0.3335214853286743, -0.06232497841119766, 0.02429349534213543, 0.22864581644535065, -0.20715218782424927, -0.11468815058469772, 0.08386078476905823, 0.16995488107204437, -0.028959937393665314, -0.031225642189383507, 0.13096119463443756, 0.3161380887031555, -0.302977979183197, -0.16415007412433624, 0.18505950272083282, 0.2918839156627655, 0.1227116584777832, 0.1217290610074997, 0.09544938057661057, 0.39908885955810547, -0.054478444159030914, 0.26656830310821533, 0.006056472659111023, 0.23626084625720978, -0.310293585062027, -0.028624027967453003, -0.08557850867509842, 0.19417709112167358, 0.326697438955307, 0.21408909559249878, 0.4270033836364746, 0.18975302577018738, 0.3153117895126343, -0.06443192064762115, 0.22023028135299683, -0.06003561243414879, 0.47897833585739136, 0.1527285873889923, 0.0401296466588974, 0.1408071368932724, 0.03140167146921158, 0.0865226536989212, -0.3198739290237427, -0.04724069684743881, 0.14252158999443054, 0.12882137298583984, -0.006496518850326538, 0.13938909769058228, 0.26943302154541016, 0.20090746879577637, -0.016101889312267303, 0.015021000057458878, 0.45354554057121277, 0.13781321048736572, 0.11383502185344696, 0.4000210762023926, 0.1090148389339447, 0.19239068031311035, 0.07259195297956467, 0.351716548204422, 0.13118761777877808, 0.04938776046037674, -0.33784639835357666, -0.06361806392669678, -0.24433565139770508, 0.13924595713615417, 0.22069379687309265, -0.32815971970558167, -0.14009788632392883, 0.1504916399717331, 0.15026073157787323, 0.16157343983650208, 0.10142922401428223, 0.4976159632205963, -0.04369652643799782, -0.08638263493776321, -0.39872318506240845, 0.028396105393767357, 0.06226629018783569, 0.012814901769161224, 0.2641022205352783, -0.3213719129562378, -0.1354968547821045, -0.014313800260424614, -0.09288150072097778, -0.31463897228240967, -0.04670996963977814, -0.05850978195667267, 0.001961439847946167, -0.39589253067970276, -0.1894819438457489, 0.09167922288179398, 0.2839440107345581, -0.22596649825572968, -0.26275184750556946, 0.06317521631717682, 0.09093377739191055, 0.25729435682296753, 0.3366769850254059, 0.20640945434570312, -0.19785021245479584, 0.31949499249458313, 0.20697994530200958, -0.07060790061950684, 0.17890116572380066, -0.2197304368019104, 0.01224089041352272, 0.2034398466348648, 0.16704200208187103, 0.28701305389404297, 0.1538180410861969, -0.0995326116681099, 0.1744704693555832, -0.48624300956726074, -0.16469518840312958, -0.6798011064529419, 0.4655073285102844, -0.5995091199874878, -0.041371412575244904, -0.1382923275232315, -0.11557868868112564, -0.021709222346544266, -0.11286391317844391, 0.15000727772712708, 0.05000500753521919, 0.16930383443832397, -0.07953636348247528, 0.028082888573408127, -0.016807962208986282, 0.1941993236541748, 0.23608732223510742, 0.14951291680335999, -0.1783362627029419, -0.16147944331169128, -0.510616660118103, -0.11120415478944778, 0.16974212229251862, -0.23534952104091644, -0.15232537686824799, -0.038861580193042755, 0.011686928570270538, 0.37491345405578613, 0.024715393781661987, 0.08592559397220612, 0.023443546146154404, -0.05802661180496216, 0.12248194217681885, -0.08056321740150452, -0.3438720703125, 0.061748698353767395, 0.09756627678871155, -0.1652921438217163, 0.3198108375072479, -0.2840075194835663, -0.09017153084278107, -0.021058466285467148, 0.24586504697799683, 0.14385497570037842, 0.04699582979083061, 0.45189714431762695, 0.08747505396604538, 0.2409142106771469, 0.03096124529838562, -0.02419259026646614, 0.02640249952673912, 0.026565635576844215, -0.3519391417503357, 0.2404351532459259, -0.43134015798568726, 0.26547348499298096, -0.311550110578537, -0.06042507663369179, -0.12708868086338043, 0.3795720338821411, 0.5535510182380676, 0.1280563324689865, -0.23690271377563477, -0.19527283310890198, 0.034446343779563904, -0.27187496423721313, 0.07498330622911453, 0.3939208686351776, -0.10174484550952911, -0.16535498201847076, 0.021686188876628876, -0.36797088384628296, 0.4705333709716797, 0.015556293539702892, 0.08299405872821808, -0.0974382683634758, 0.08538907021284103, 0.19511021673679352, -0.5168246626853943, -0.3098946511745453, 0.17186415195465088, 0.3990899920463562, 0.16026586294174194, 0.19957168400287628, 0.07145402580499649, -0.10009697079658508, -0.02832718938589096, -0.15135546028614044, 0.20962797105312347, -0.09747911244630814, 0.11728277802467346, 0.23700383305549622, -0.13874951004981995 ]
https://github.com/huggingface/datasets/issues/6958
My Private Dataset doesn't exist on the Hub or cannot be accessed
I have checked the API HTTP link. Repository Not Found for url: https://huggingface.co/api/datasets/xxx/xxx. ![image](https://github.com/huggingface/datasets/assets/39621324/4aceef59-0c65-4161-9665-676d25d73225) It just works fine.
### Describe the bug ``` File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on the Hub or cannot be accessed >>> dataset = load_dataset("xxxx", token=True) 404 error 404 Client Error. (Request ID: Root=xxxx) Repository Not Found for url: https://huggingface.co/api/datasets/xxx/xxx. Please make sure you specified the correct `repo_id` and `repo_type`. If you are trying to access a private or gated repo, make sure you are authenticated. Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 2593, in load_dataset builder_instance = load_dataset_builder( File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 2265, in load_dataset_builder dataset_module = dataset_module_factory( File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1910, in dataset_module_factory raise e1 from None File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on the Hub or cannot be accessed ``` ### Steps to reproduce the bug 123 ### Expected behavior 123 ### Environment info 123
18
My Private Dataset doesn't exist on the Hub or cannot be accessed ### Describe the bug ``` File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on the Hub or cannot be accessed >>> dataset = load_dataset("xxxx", token=True) 404 error 404 Client Error. (Request ID: Root=xxxx) Repository Not Found for url: https://huggingface.co/api/datasets/xxx/xxx. Please make sure you specified the correct `repo_id` and `repo_type`. If you are trying to access a private or gated repo, make sure you are authenticated. Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 2593, in load_dataset builder_instance = load_dataset_builder( File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 2265, in load_dataset_builder dataset_module = dataset_module_factory( File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1910, in dataset_module_factory raise e1 from None File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on the Hub or cannot be accessed ``` ### Steps to reproduce the bug 123 ### Expected behavior 123 ### Environment info 123 I have checked the API HTTP link. Repository Not Found for url: https://huggingface.co/api/datasets/xxx/xxx. ![image](https://github.com/huggingface/datasets/assets/39621324/4aceef59-0c65-4161-9665-676d25d73225) It just works fine.
[ -0.15427567064762115, -0.09437812119722366, -0.006820298731327057, 0.5615899562835693, 0.04682841897010803, 0.1300916075706482, 0.30762535333633423, 0.13233250379562378, -0.2375364601612091, 0.1407913714647293, -0.2417382448911667, 0.20495396852493286, -0.007244846783578396, 0.2511383593082428, 0.035289838910102844, 0.24713699519634247, -0.10297247022390366, 0.19824311137199402, 0.13608187437057495, -0.2275814563035965, -0.2197873592376709, 0.04367091506719589, -0.23364537954330444, 0.13835673034191132, -0.21395519375801086, -0.217753604054451, -0.0068912506103515625, 0.4750484824180603, -0.35520219802856445, -0.3083324134349823, 0.36020058393478394, 0.014175407588481903, 0.16278085112571716, 0.9211117625236511, -0.00011318537872284651, 0.1955348700284958, 0.2672542631626129, 0.05392374098300934, -0.48341771960258484, -0.1866091936826706, -0.7036959528923035, -0.058265432715415955, -0.07531636953353882, -0.12454657256603241, -0.136377215385437, -0.05413888022303581, -0.12695534527301788, -0.1520468145608902, 0.37270402908325195, 0.4340325891971588, 0.19995148479938507, 0.4155716896057129, 0.18634244799613953, -0.27370327711105347, 0.13795171678066254, 0.13580840826034546, -0.23266147077083588, 0.41424182057380676, -0.11891041696071625, 0.22436010837554932, 0.23530066013336182, 0.16258575022220612, -0.05066169053316116, -0.11252807080745697, 0.39107272028923035, 0.06289374083280563, -0.05041612684726715, -0.4117901623249054, 0.07295137643814087, 0.19144901633262634, 0.7688122987747192, -0.44305750727653503, -0.6106858253479004, 0.02515542507171631, 0.16080212593078613, -0.25467878580093384, 0.17272111773490906, 0.14873959124088287, 0.08475574851036072, 0.4206053912639618, -0.22426970303058624, -0.3554757237434387, -0.24960215389728546, 0.1243254542350769, -0.10566669702529907, 0.15424033999443054, -0.04052130505442619, 0.05845009535551071, -0.3250269889831543, -0.20192936062812805, 0.08327215164899826, -0.15679548680782318, 0.02923264354467392, 0.20421889424324036, -0.12880444526672363, -0.21129554510116577, 0.044297151267528534, 0.04186845198273659, 0.21016153693199158, 0.2529178559780121, -0.06372949481010437, -0.04684001952409744, -0.243673175573349, 0.0688379779458046, 0.07268761098384857, 0.25975361466407776, 0.1637757122516632, 0.49884870648384094, 0.5489606857299805, 0.2947360575199127, 0.16720274090766907, 0.06655064225196838, -0.23310209810733795, 0.11851475387811661, -0.19318222999572754, 0.031481921672821045, 0.5693351626396179, -0.22362172603607178, -0.22050422430038452, 0.11776311695575714, -0.18559247255325317, 0.13911893963813782, 0.3014272451400757, 0.44354048371315, 0.09049070626497269, -0.09326294809579849, -0.07049772143363953, 0.12115198373794556, -0.11979428678750992, -0.16407209634780884, -0.24792444705963135, -0.07191891968250275, -0.09862623363733292, 0.2724502384662628, 0.09395508468151093, -0.3373468220233917, 0.3338949978351593, 0.027266141027212143, 0.054309818893671036, -0.10528424382209778, -0.1921689212322235, -0.08585067093372345, -0.332927942276001, 0.2794344127178192, 0.08520767092704773, 0.0661756843328476, 0.043421968817710876, -0.24274751543998718, -0.0713062733411789, -0.1681358516216278, -0.30971401929855347, -0.489000141620636, -0.21584954857826233, 0.16308929026126862, -0.2841576337814331, 0.06158682703971863, -0.20475885272026062, -0.19284728169441223, 0.2303464114665985, -0.14760206639766693, 0.03145560622215271, 0.20789602398872375, -0.1608382910490036, -0.23721306025981903, 0.2275380939245224, 0.6517388820648193, -0.0661546140909195, 0.04891515523195267, 0.0642261952161789, -0.272969126701355, 0.028309546411037445, 0.01879740133881569, -0.11383756995201111, 0.2578752338886261, -0.32486608624458313, 0.026673786342144012, 0.3648831248283386, -0.4722280204296112, -0.7577558755874634, 0.08046229928731918, -0.21115224063396454, -0.21337303519248962, -0.03882496803998947, -0.1367347091436386, 0.006971736904233694, -0.10549328476190567, 0.2702634632587433, 0.1660493016242981, 0.18017739057540894, -0.05217885971069336, -0.20148254930973053, -0.22401537001132965, -0.1711689829826355, 0.16861368715763092, 0.0686192512512207, 0.08783123642206192, 0.24603983759880066, 0.1158924326300621, 0.20393362641334534, 0.02767433226108551, -0.07309725880622864, 0.2936079502105713, 0.35993242263793945, 0.008067790418863297, 0.034468069672584534, -0.14923086762428284, -0.283216655254364, 0.285293847322464, -0.3291078209877014, 0.1432911604642868, -0.12325465679168701, -0.14474661648273468, -0.5457690358161926, 0.035431720316410065, -0.40040355920791626, -0.18040569126605988, 0.14369016885757446, 0.22507166862487793, 0.0015805363655090332, 0.09054972231388092, -0.307054728269577, 0.3559882938861847, -0.14741314947605133, 0.17721351981163025, -0.4542360305786133, 0.42393171787261963, -0.0007121860980987549, -0.20079649984836578, 0.078477643430233, 0.5464627742767334, 0.42408129572868347, -0.037882547825574875, 0.06749860942363739, 0.3711053729057312, 0.10585946589708328, 0.09428548812866211, 0.38028955459594727, -0.0899113267660141, 0.40722984075546265, -0.2583083212375641, 0.19685156643390656, 0.13398458063602448, 0.1867026686668396, 0.25265955924987793, 0.03513611853122711, 0.09587258100509644, 0.0794665515422821, 0.015086032450199127, -0.06674482673406601, 0.06767845898866653, 0.261309951543808, -0.020453833043575287, -0.1169368103146553, -0.35932302474975586, 0.04444146156311035, 0.09729212522506714, 0.0977027416229248, -0.07619055360555649, 0.02705053985118866, 0.09374987334012985, 0.013577103614807129, -0.15117384493350983, 0.22888368368148804, -0.031061552464962006, -0.27996882796287537, -0.03661233186721802, 0.0554557740688324, 0.3415120244026184, 0.3994804620742798, 0.06995680928230286, -0.1678890436887741, 0.19520746171474457, 0.06097341701388359, -0.056164517998695374, 0.18613407015800476, 0.0857943519949913, 0.366827130317688, 0.13821953535079956, 0.17444583773612976, 0.05165679380297661, 0.13408982753753662, -0.2628316283226013, -0.004913901910185814, 0.4323823153972626, -0.43558430671691895, -0.1492634117603302, -0.22418168187141418, 0.0033811554312705994, 0.09983440488576889, -0.37874266505241394, -0.3030720353126526, -0.15218210220336914, -0.011214043945074081, -0.10411851108074188, 0.09320947527885437, 0.06002113223075867, -0.1970604658126831, 0.24436473846435547, 0.034561291337013245, -0.08728598803281784, -0.17711426317691803, -0.11950454115867615, -0.09673770517110825, -0.026194460690021515, 0.23543715476989746, 0.14794979989528656, 0.2594919800758362, -0.24336497485637665, -0.08953360468149185, -0.4056325852870941, -0.027401655912399292, 0.09563906490802765, 0.046245090663433075, 0.4915407598018646, 0.17888931930065155, 0.118196502327919, 0.3840959072113037, -0.007824379950761795, 0.25852450728416443, 0.0808124765753746, -0.21620334684848785, 0.09712197631597519, -0.12727446854114532, -0.020153608173131943, 0.019588496536016464, -0.15594837069511414, -0.42575234174728394, -0.3388025462627411, -0.06450870633125305, 0.044416893273591995, 0.2428717464208603, 0.17262886464595795, 0.039547838270664215, 0.35742121934890747, 0.041322141885757446, -0.06391624361276627, -0.24151617288589478, -0.45952609181404114, 0.32377225160598755, -0.381110280752182, -0.24429859220981598, 0.2423900067806244, -0.05731261149048805, 0.37712541222572327, -0.18626472353935242, -0.5511151552200317, -0.31072115898132324, -0.09625722467899323, 0.3372434973716736, -0.11376197636127472, -0.13140304386615753, 0.3006126284599304, -0.06469468772411346, 0.0011952165514230728, -0.19367504119873047, -0.4755825996398926, -0.18383687734603882, -0.08527842164039612, 0.2919793426990509, 0.10542391240596771, 0.2341749370098114, -0.10751979053020477, 0.6268138289451599, 0.5638413429260254, 0.03126506879925728, 0.23567909002304077, -0.0961991623044014, 0.3201872408390045, 0.020424671471118927, -0.4538308084011078, -0.015576866455376148, 0.24805696308612823, -0.11110688000917435, 0.26042962074279785, 0.15830537676811218, 0.04314994812011719, -0.36509692668914795, -0.6054589152336121, -0.48912957310676575, -0.17558503150939941, -0.5211285352706909, 0.11215554922819138, 0.19364875555038452, -0.004342816770076752, 0.22076332569122314, -0.21343421936035156, 0.009780138731002808, -0.04649132490158081, 0.29742586612701416, 0.040406666696071625, 0.13330762088298798, -0.08066639304161072, -0.04661272093653679, -0.3916860520839691, 0.331745982170105, -0.14384865760803223, 0.38040828704833984, -0.04958980903029442, 0.17803296446800232, 0.15314990282058716, -0.028404641896486282, 0.4395817518234253, -0.2063208371400833, 0.3264418840408325, 0.02741072326898575, -0.05829235166311264, -0.42830830812454224, -0.007527492940425873, 0.07771959900856018, 0.3823050260543823, 0.022328456863760948, 0.7686706781387329, -0.3455156683921814, -0.14818984270095825, 0.32956695556640625, -0.1375739872455597, -0.16846364736557007, -0.2978353202342987, -0.23116104304790497, -0.3692091405391693, -0.17673544585704803, -0.06135348230600357, -0.31043779850006104, 0.20541861653327942, 0.10795769840478897, -0.13177412748336792, 0.1459854692220688, -0.14560440182685852, 0.08535649627447128, 0.26289504766464233, 0.4037718176841736, 0.09040161967277527, 0.24822136759757996, 0.39841601252555847, -0.02004247158765793, 0.49708038568496704, 0.6064850687980652, 0.11403535306453705, -0.46315985918045044, -0.04857221990823746, -0.1011279970407486, 0.02392159402370453, 0.28753942251205444, -0.03428925946354866, -0.07412488013505936, 0.19468072056770325, 0.02584368735551834, -0.2653902471065521, -0.19558528065681458, 0.09430692344903946, -0.19271738827228546, -0.40660181641578674, -0.2220838963985443, 0.4308196008205414, -0.07480305433273315, 0.011997677385807037, 0.13111884891986847, 0.36127567291259766, -0.2919124662876129, 0.055267758667469025, -0.018905073404312134, 0.9781484603881836, 0.09794008731842041, -0.0937989205121994, 0.44713693857192993, -0.051537953317165375, 0.43420055508613586, -0.28677207231521606, 0.1892944574356079, -0.22838647663593292, -0.12911267578601837, -0.05443423613905907, -0.19602839648723602, 0.1519419550895691, -0.35715246200561523, -0.18988336622714996, 0.3120529353618622, -0.29755133390426636, 0.3793066143989563, -0.020151441916823387, -0.09440450370311737, -0.1855563521385193, 0.07310058176517487, -0.30758023262023926, 0.17680345475673676, -0.0951237827539444, 0.3356383740901947, -0.19702142477035522, -0.17521053552627563, -0.41904208064079285, -0.2061520516872406, -0.4156113862991333, 0.10346566885709763, -0.21661336719989777, -0.04103098809719086, 0.10618063807487488, -0.4267997741699219, 0.09490476548671722, 0.22377276420593262, 0.18105730414390564, 0.1443430632352829, -0.498180627822876, 0.07088014483451843, -0.41141605377197266, -0.01974431611597538, -0.18396493792533875, 0.12320688366889954, 0.16119712591171265, -0.20382565259933472, -0.4736323654651642, 0.1923283040523529, -0.08003728836774826, -0.07831598818302155, -0.052154749631881714, 0.23668760061264038, 0.15472300350666046, -0.2673895061016083, 0.18166795372962952, 0.0697435587644577, 0.14847742021083832, -0.33515748381614685, 0.11421293020248413, 0.08544282615184784, -0.2146049439907074, -0.08511128276586533, -0.10079023241996765, -0.15838177502155304, -0.011661563068628311, 0.35632604360580444, 0.05090177059173584, 0.05268343538045883, 0.48528018593788147, -0.009983643889427185, -0.09501436352729797, -0.2833838164806366, 0.31463298201560974, 0.055084649473428726, -0.2574784755706787, 0.024876683950424194, -0.04123272746801376, 0.09616526961326599, -0.005341883283108473, 0.022082269191741943, 0.1155722513794899, -0.21052971482276917, -0.0450403094291687, -0.5498785972595215, -0.18232756853103638, 0.02636062353849411, -0.26406601071357727, 0.16558894515037537, -0.05860661342740059, 0.2230389267206192, 0.0568154975771904, -0.1363528072834015, -0.3166394829750061, 0.23241181671619415, -0.6961200833320618, -0.0895984023809433, 0.10073241591453552, 0.06978113949298859, 0.14358972012996674, -0.1313629001379013, 0.0862991139292717, 0.03012508526444435, -0.27121567726135254, -0.1488921046257019, -0.09600111842155457, 0.15700970590114594, 0.08642822504043579, -0.1770426332950592, 0.11123351007699966, -0.15800237655639648, -0.09258651733398438, -0.022642020136117935, 0.2559458911418915, 0.2822638750076294, 0.18108594417572021, -0.10226423293352127, 0.32105696201324463, 0.21116000413894653, -0.3630940914154053, 0.303279846906662, 0.16280847787857056, 0.19616830348968506, 0.1212134063243866, 0.21949627995491028, -0.29614558815956116, -0.03235326707363129, 0.058497581630945206, 0.0047238171100616455, 0.15137402713298798, 0.21395343542099, 0.4052485227584839, -0.409601092338562, 0.08418527245521545, 0.4331294894218445, -0.013746116310358047, 0.11860628426074982, -0.20169050991535187, 0.14436748623847961, 0.11848961561918259, 0.17424659430980682, -0.28027430176734924, -0.04220281541347504, 0.2526250183582306, 0.14924882352352142, -0.07938732951879501, 0.11776089668273926, -0.040112536400556564, -0.014292515814304352, -0.04574497044086456, 0.17307674884796143, 0.5192350149154663, 0.02345045655965805, 0.24947406351566315, 0.2708370089530945, -0.24412859976291656, 0.052801039069890976, 0.1610162854194641, 0.1416683793067932, 0.00898384302854538, 0.5257214307785034, -0.21487146615982056, 0.39178764820098877, -0.06875770539045334, 0.18787595629692078, 0.1338287740945816, -0.5237078666687012, -0.09813764691352844, 0.013129204511642456, 0.1197240799665451, -0.21413162350654602, -0.2563284635543823, 0.12632936239242554, -0.297953724861145, 0.2610725462436676, -0.26499801874160767, 0.024802640080451965, -0.061744607985019684, 0.19337503612041473, -0.27462926506996155, -0.3018859922885895, 0.14050252735614777, -0.2645176649093628, 0.010491162538528442, -0.4537656903266907, -0.1704348921775818, -0.059996962547302246, -0.3771290183067322, -0.357600599527359, 0.022964294999837875, 0.45002201199531555, -0.09359151870012283, -0.1934615671634674, 0.32487356662750244, 0.19999125599861145, 0.07114893943071365, -0.08885644376277924, 0.43179231882095337, 0.34044888615608215, 0.21113590896129608, 0.045832935720682144, 0.09296635538339615, 0.17168240249156952, -0.06438752263784409, 0.03134521096944809, 0.15191243588924408, -0.03488650918006897, 0.05408265069127083, 0.038175664842128754, 0.16780021786689758, -0.05161375179886818, -0.06312298774719238, 0.1124885231256485, 0.42242440581321716, -0.18746042251586914, 0.4139483571052551, -0.39752209186553955, -0.13977906107902527, -0.08045034855604172, 0.09765773266553879, -0.30893081426620483, 0.3227328062057495, 0.4888925850391388, 0.1544281542301178, 0.10594537854194641, -0.12791678309440613, 0.06165540963411331, -0.23837962746620178, 0.30113470554351807, 0.5001949071884155, 0.10728958249092102, -0.18476133048534393, -0.014428719878196716, -0.24198861420154572, 0.3568759858608246, 0.02428201399743557, -0.15131565928459167, 0.054155103862285614, 0.12647567689418793, -0.12137328833341599, 0.0111280158162117, 0.49275124073028564, -0.06257562339305878, 0.18481220304965973, 0.04670824483036995, -0.29806941747665405, -0.15520071983337402, -0.14728312194347382, -0.09122167527675629, 0.10796867311000824, -0.346236914396286, 0.1945330798625946, -0.14807982742786407, 0.02330460399389267, 0.10880879312753677, -0.02340298891067505, 0.15967302024364471, -0.41450437903404236, 0.6865342855453491, 0.08063346147537231, 0.1028437614440918, 0.08124607801437378, -0.09269870817661285, -0.5932140350341797, -0.21136178076267242, -0.19694702327251434, -0.04242366552352905, 0.1094197928905487, 0.08110897988080978, -0.3071659803390503, -0.14614249765872955, -0.24973395466804504, 0.3319612741470337, 0.010274715721607208, 0.20791120827198029, 0.09385782480239868, 0.29078158736228943, -0.15597742795944214, -0.2487066090106964, 0.13256065547466278, -0.06747738271951675, -0.04459203779697418, 0.1112951785326004, -0.1641407012939453, -0.030254587531089783, 0.7311733961105347, -0.26818951964378357, -0.1444505751132965, -0.006665036082267761, 0.4820961356163025, 0.011000506579875946, -0.26180553436279297, -0.27449753880500793, 0.17542842030525208, 0.360397607088089, 0.08620508015155792, -0.2519150674343109, 0.09973351657390594, -0.07732333242893219, 0.06718224287033081, 0.03584740683436394, 0.11278379708528519, -0.19022005796432495, -0.06870125234127045, 0.34415873885154724, -0.09123708307743073 ]
https://github.com/huggingface/datasets/issues/6958
My Private Dataset doesn't exist on the Hub or cannot be accessed
https://github.com/huggingface/datasets/blob/main/templates/new_dataset_script.py#L81 can not use this, too complex. I just need a def to load my file to a dict
### Describe the bug ``` File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on the Hub or cannot be accessed >>> dataset = load_dataset("xxxx", token=True) 404 error 404 Client Error. (Request ID: Root=xxxx) Repository Not Found for url: https://huggingface.co/api/datasets/xxx/xxx. Please make sure you specified the correct `repo_id` and `repo_type`. If you are trying to access a private or gated repo, make sure you are authenticated. Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 2593, in load_dataset builder_instance = load_dataset_builder( File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 2265, in load_dataset_builder dataset_module = dataset_module_factory( File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1910, in dataset_module_factory raise e1 from None File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on the Hub or cannot be accessed ``` ### Steps to reproduce the bug 123 ### Expected behavior 123 ### Environment info 123
19
My Private Dataset doesn't exist on the Hub or cannot be accessed ### Describe the bug ``` File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on the Hub or cannot be accessed >>> dataset = load_dataset("xxxx", token=True) 404 error 404 Client Error. (Request ID: Root=xxxx) Repository Not Found for url: https://huggingface.co/api/datasets/xxx/xxx. Please make sure you specified the correct `repo_id` and `repo_type`. If you are trying to access a private or gated repo, make sure you are authenticated. Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 2593, in load_dataset builder_instance = load_dataset_builder( File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 2265, in load_dataset_builder dataset_module = dataset_module_factory( File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1910, in dataset_module_factory raise e1 from None File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on the Hub or cannot be accessed ``` ### Steps to reproduce the bug 123 ### Expected behavior 123 ### Environment info 123 https://github.com/huggingface/datasets/blob/main/templates/new_dataset_script.py#L81 can not use this, too complex. I just need a def to load my file to a dict
[ -0.15427567064762115, -0.09437812119722366, -0.006820298731327057, 0.5615899562835693, 0.04682841897010803, 0.1300916075706482, 0.30762535333633423, 0.13233250379562378, -0.2375364601612091, 0.1407913714647293, -0.2417382448911667, 0.20495396852493286, -0.007244846783578396, 0.2511383593082428, 0.035289838910102844, 0.24713699519634247, -0.10297247022390366, 0.19824311137199402, 0.13608187437057495, -0.2275814563035965, -0.2197873592376709, 0.04367091506719589, -0.23364537954330444, 0.13835673034191132, -0.21395519375801086, -0.217753604054451, -0.0068912506103515625, 0.4750484824180603, -0.35520219802856445, -0.3083324134349823, 0.36020058393478394, 0.014175407588481903, 0.16278085112571716, 0.9211117625236511, -0.00011318537872284651, 0.1955348700284958, 0.2672542631626129, 0.05392374098300934, -0.48341771960258484, -0.1866091936826706, -0.7036959528923035, -0.058265432715415955, -0.07531636953353882, -0.12454657256603241, -0.136377215385437, -0.05413888022303581, -0.12695534527301788, -0.1520468145608902, 0.37270402908325195, 0.4340325891971588, 0.19995148479938507, 0.4155716896057129, 0.18634244799613953, -0.27370327711105347, 0.13795171678066254, 0.13580840826034546, -0.23266147077083588, 0.41424182057380676, -0.11891041696071625, 0.22436010837554932, 0.23530066013336182, 0.16258575022220612, -0.05066169053316116, -0.11252807080745697, 0.39107272028923035, 0.06289374083280563, -0.05041612684726715, -0.4117901623249054, 0.07295137643814087, 0.19144901633262634, 0.7688122987747192, -0.44305750727653503, -0.6106858253479004, 0.02515542507171631, 0.16080212593078613, -0.25467878580093384, 0.17272111773490906, 0.14873959124088287, 0.08475574851036072, 0.4206053912639618, -0.22426970303058624, -0.3554757237434387, -0.24960215389728546, 0.1243254542350769, -0.10566669702529907, 0.15424033999443054, -0.04052130505442619, 0.05845009535551071, -0.3250269889831543, -0.20192936062812805, 0.08327215164899826, -0.15679548680782318, 0.02923264354467392, 0.20421889424324036, -0.12880444526672363, -0.21129554510116577, 0.044297151267528534, 0.04186845198273659, 0.21016153693199158, 0.2529178559780121, -0.06372949481010437, -0.04684001952409744, -0.243673175573349, 0.0688379779458046, 0.07268761098384857, 0.25975361466407776, 0.1637757122516632, 0.49884870648384094, 0.5489606857299805, 0.2947360575199127, 0.16720274090766907, 0.06655064225196838, -0.23310209810733795, 0.11851475387811661, -0.19318222999572754, 0.031481921672821045, 0.5693351626396179, -0.22362172603607178, -0.22050422430038452, 0.11776311695575714, -0.18559247255325317, 0.13911893963813782, 0.3014272451400757, 0.44354048371315, 0.09049070626497269, -0.09326294809579849, -0.07049772143363953, 0.12115198373794556, -0.11979428678750992, -0.16407209634780884, -0.24792444705963135, -0.07191891968250275, -0.09862623363733292, 0.2724502384662628, 0.09395508468151093, -0.3373468220233917, 0.3338949978351593, 0.027266141027212143, 0.054309818893671036, -0.10528424382209778, -0.1921689212322235, -0.08585067093372345, -0.332927942276001, 0.2794344127178192, 0.08520767092704773, 0.0661756843328476, 0.043421968817710876, -0.24274751543998718, -0.0713062733411789, -0.1681358516216278, -0.30971401929855347, -0.489000141620636, -0.21584954857826233, 0.16308929026126862, -0.2841576337814331, 0.06158682703971863, -0.20475885272026062, -0.19284728169441223, 0.2303464114665985, -0.14760206639766693, 0.03145560622215271, 0.20789602398872375, -0.1608382910490036, -0.23721306025981903, 0.2275380939245224, 0.6517388820648193, -0.0661546140909195, 0.04891515523195267, 0.0642261952161789, -0.272969126701355, 0.028309546411037445, 0.01879740133881569, -0.11383756995201111, 0.2578752338886261, -0.32486608624458313, 0.026673786342144012, 0.3648831248283386, -0.4722280204296112, -0.7577558755874634, 0.08046229928731918, -0.21115224063396454, -0.21337303519248962, -0.03882496803998947, -0.1367347091436386, 0.006971736904233694, -0.10549328476190567, 0.2702634632587433, 0.1660493016242981, 0.18017739057540894, -0.05217885971069336, -0.20148254930973053, -0.22401537001132965, -0.1711689829826355, 0.16861368715763092, 0.0686192512512207, 0.08783123642206192, 0.24603983759880066, 0.1158924326300621, 0.20393362641334534, 0.02767433226108551, -0.07309725880622864, 0.2936079502105713, 0.35993242263793945, 0.008067790418863297, 0.034468069672584534, -0.14923086762428284, -0.283216655254364, 0.285293847322464, -0.3291078209877014, 0.1432911604642868, -0.12325465679168701, -0.14474661648273468, -0.5457690358161926, 0.035431720316410065, -0.40040355920791626, -0.18040569126605988, 0.14369016885757446, 0.22507166862487793, 0.0015805363655090332, 0.09054972231388092, -0.307054728269577, 0.3559882938861847, -0.14741314947605133, 0.17721351981163025, -0.4542360305786133, 0.42393171787261963, -0.0007121860980987549, -0.20079649984836578, 0.078477643430233, 0.5464627742767334, 0.42408129572868347, -0.037882547825574875, 0.06749860942363739, 0.3711053729057312, 0.10585946589708328, 0.09428548812866211, 0.38028955459594727, -0.0899113267660141, 0.40722984075546265, -0.2583083212375641, 0.19685156643390656, 0.13398458063602448, 0.1867026686668396, 0.25265955924987793, 0.03513611853122711, 0.09587258100509644, 0.0794665515422821, 0.015086032450199127, -0.06674482673406601, 0.06767845898866653, 0.261309951543808, -0.020453833043575287, -0.1169368103146553, -0.35932302474975586, 0.04444146156311035, 0.09729212522506714, 0.0977027416229248, -0.07619055360555649, 0.02705053985118866, 0.09374987334012985, 0.013577103614807129, -0.15117384493350983, 0.22888368368148804, -0.031061552464962006, -0.27996882796287537, -0.03661233186721802, 0.0554557740688324, 0.3415120244026184, 0.3994804620742798, 0.06995680928230286, -0.1678890436887741, 0.19520746171474457, 0.06097341701388359, -0.056164517998695374, 0.18613407015800476, 0.0857943519949913, 0.366827130317688, 0.13821953535079956, 0.17444583773612976, 0.05165679380297661, 0.13408982753753662, -0.2628316283226013, -0.004913901910185814, 0.4323823153972626, -0.43558430671691895, -0.1492634117603302, -0.22418168187141418, 0.0033811554312705994, 0.09983440488576889, -0.37874266505241394, -0.3030720353126526, -0.15218210220336914, -0.011214043945074081, -0.10411851108074188, 0.09320947527885437, 0.06002113223075867, -0.1970604658126831, 0.24436473846435547, 0.034561291337013245, -0.08728598803281784, -0.17711426317691803, -0.11950454115867615, -0.09673770517110825, -0.026194460690021515, 0.23543715476989746, 0.14794979989528656, 0.2594919800758362, -0.24336497485637665, -0.08953360468149185, -0.4056325852870941, -0.027401655912399292, 0.09563906490802765, 0.046245090663433075, 0.4915407598018646, 0.17888931930065155, 0.118196502327919, 0.3840959072113037, -0.007824379950761795, 0.25852450728416443, 0.0808124765753746, -0.21620334684848785, 0.09712197631597519, -0.12727446854114532, -0.020153608173131943, 0.019588496536016464, -0.15594837069511414, -0.42575234174728394, -0.3388025462627411, -0.06450870633125305, 0.044416893273591995, 0.2428717464208603, 0.17262886464595795, 0.039547838270664215, 0.35742121934890747, 0.041322141885757446, -0.06391624361276627, -0.24151617288589478, -0.45952609181404114, 0.32377225160598755, -0.381110280752182, -0.24429859220981598, 0.2423900067806244, -0.05731261149048805, 0.37712541222572327, -0.18626472353935242, -0.5511151552200317, -0.31072115898132324, -0.09625722467899323, 0.3372434973716736, -0.11376197636127472, -0.13140304386615753, 0.3006126284599304, -0.06469468772411346, 0.0011952165514230728, -0.19367504119873047, -0.4755825996398926, -0.18383687734603882, -0.08527842164039612, 0.2919793426990509, 0.10542391240596771, 0.2341749370098114, -0.10751979053020477, 0.6268138289451599, 0.5638413429260254, 0.03126506879925728, 0.23567909002304077, -0.0961991623044014, 0.3201872408390045, 0.020424671471118927, -0.4538308084011078, -0.015576866455376148, 0.24805696308612823, -0.11110688000917435, 0.26042962074279785, 0.15830537676811218, 0.04314994812011719, -0.36509692668914795, -0.6054589152336121, -0.48912957310676575, -0.17558503150939941, -0.5211285352706909, 0.11215554922819138, 0.19364875555038452, -0.004342816770076752, 0.22076332569122314, -0.21343421936035156, 0.009780138731002808, -0.04649132490158081, 0.29742586612701416, 0.040406666696071625, 0.13330762088298798, -0.08066639304161072, -0.04661272093653679, -0.3916860520839691, 0.331745982170105, -0.14384865760803223, 0.38040828704833984, -0.04958980903029442, 0.17803296446800232, 0.15314990282058716, -0.028404641896486282, 0.4395817518234253, -0.2063208371400833, 0.3264418840408325, 0.02741072326898575, -0.05829235166311264, -0.42830830812454224, -0.007527492940425873, 0.07771959900856018, 0.3823050260543823, 0.022328456863760948, 0.7686706781387329, -0.3455156683921814, -0.14818984270095825, 0.32956695556640625, -0.1375739872455597, -0.16846364736557007, -0.2978353202342987, -0.23116104304790497, -0.3692091405391693, -0.17673544585704803, -0.06135348230600357, -0.31043779850006104, 0.20541861653327942, 0.10795769840478897, -0.13177412748336792, 0.1459854692220688, -0.14560440182685852, 0.08535649627447128, 0.26289504766464233, 0.4037718176841736, 0.09040161967277527, 0.24822136759757996, 0.39841601252555847, -0.02004247158765793, 0.49708038568496704, 0.6064850687980652, 0.11403535306453705, -0.46315985918045044, -0.04857221990823746, -0.1011279970407486, 0.02392159402370453, 0.28753942251205444, -0.03428925946354866, -0.07412488013505936, 0.19468072056770325, 0.02584368735551834, -0.2653902471065521, -0.19558528065681458, 0.09430692344903946, -0.19271738827228546, -0.40660181641578674, -0.2220838963985443, 0.4308196008205414, -0.07480305433273315, 0.011997677385807037, 0.13111884891986847, 0.36127567291259766, -0.2919124662876129, 0.055267758667469025, -0.018905073404312134, 0.9781484603881836, 0.09794008731842041, -0.0937989205121994, 0.44713693857192993, -0.051537953317165375, 0.43420055508613586, -0.28677207231521606, 0.1892944574356079, -0.22838647663593292, -0.12911267578601837, -0.05443423613905907, -0.19602839648723602, 0.1519419550895691, -0.35715246200561523, -0.18988336622714996, 0.3120529353618622, -0.29755133390426636, 0.3793066143989563, -0.020151441916823387, -0.09440450370311737, -0.1855563521385193, 0.07310058176517487, -0.30758023262023926, 0.17680345475673676, -0.0951237827539444, 0.3356383740901947, -0.19702142477035522, -0.17521053552627563, -0.41904208064079285, -0.2061520516872406, -0.4156113862991333, 0.10346566885709763, -0.21661336719989777, -0.04103098809719086, 0.10618063807487488, -0.4267997741699219, 0.09490476548671722, 0.22377276420593262, 0.18105730414390564, 0.1443430632352829, -0.498180627822876, 0.07088014483451843, -0.41141605377197266, -0.01974431611597538, -0.18396493792533875, 0.12320688366889954, 0.16119712591171265, -0.20382565259933472, -0.4736323654651642, 0.1923283040523529, -0.08003728836774826, -0.07831598818302155, -0.052154749631881714, 0.23668760061264038, 0.15472300350666046, -0.2673895061016083, 0.18166795372962952, 0.0697435587644577, 0.14847742021083832, -0.33515748381614685, 0.11421293020248413, 0.08544282615184784, -0.2146049439907074, -0.08511128276586533, -0.10079023241996765, -0.15838177502155304, -0.011661563068628311, 0.35632604360580444, 0.05090177059173584, 0.05268343538045883, 0.48528018593788147, -0.009983643889427185, -0.09501436352729797, -0.2833838164806366, 0.31463298201560974, 0.055084649473428726, -0.2574784755706787, 0.024876683950424194, -0.04123272746801376, 0.09616526961326599, -0.005341883283108473, 0.022082269191741943, 0.1155722513794899, -0.21052971482276917, -0.0450403094291687, -0.5498785972595215, -0.18232756853103638, 0.02636062353849411, -0.26406601071357727, 0.16558894515037537, -0.05860661342740059, 0.2230389267206192, 0.0568154975771904, -0.1363528072834015, -0.3166394829750061, 0.23241181671619415, -0.6961200833320618, -0.0895984023809433, 0.10073241591453552, 0.06978113949298859, 0.14358972012996674, -0.1313629001379013, 0.0862991139292717, 0.03012508526444435, -0.27121567726135254, -0.1488921046257019, -0.09600111842155457, 0.15700970590114594, 0.08642822504043579, -0.1770426332950592, 0.11123351007699966, -0.15800237655639648, -0.09258651733398438, -0.022642020136117935, 0.2559458911418915, 0.2822638750076294, 0.18108594417572021, -0.10226423293352127, 0.32105696201324463, 0.21116000413894653, -0.3630940914154053, 0.303279846906662, 0.16280847787857056, 0.19616830348968506, 0.1212134063243866, 0.21949627995491028, -0.29614558815956116, -0.03235326707363129, 0.058497581630945206, 0.0047238171100616455, 0.15137402713298798, 0.21395343542099, 0.4052485227584839, -0.409601092338562, 0.08418527245521545, 0.4331294894218445, -0.013746116310358047, 0.11860628426074982, -0.20169050991535187, 0.14436748623847961, 0.11848961561918259, 0.17424659430980682, -0.28027430176734924, -0.04220281541347504, 0.2526250183582306, 0.14924882352352142, -0.07938732951879501, 0.11776089668273926, -0.040112536400556564, -0.014292515814304352, -0.04574497044086456, 0.17307674884796143, 0.5192350149154663, 0.02345045655965805, 0.24947406351566315, 0.2708370089530945, -0.24412859976291656, 0.052801039069890976, 0.1610162854194641, 0.1416683793067932, 0.00898384302854538, 0.5257214307785034, -0.21487146615982056, 0.39178764820098877, -0.06875770539045334, 0.18787595629692078, 0.1338287740945816, -0.5237078666687012, -0.09813764691352844, 0.013129204511642456, 0.1197240799665451, -0.21413162350654602, -0.2563284635543823, 0.12632936239242554, -0.297953724861145, 0.2610725462436676, -0.26499801874160767, 0.024802640080451965, -0.061744607985019684, 0.19337503612041473, -0.27462926506996155, -0.3018859922885895, 0.14050252735614777, -0.2645176649093628, 0.010491162538528442, -0.4537656903266907, -0.1704348921775818, -0.059996962547302246, -0.3771290183067322, -0.357600599527359, 0.022964294999837875, 0.45002201199531555, -0.09359151870012283, -0.1934615671634674, 0.32487356662750244, 0.19999125599861145, 0.07114893943071365, -0.08885644376277924, 0.43179231882095337, 0.34044888615608215, 0.21113590896129608, 0.045832935720682144, 0.09296635538339615, 0.17168240249156952, -0.06438752263784409, 0.03134521096944809, 0.15191243588924408, -0.03488650918006897, 0.05408265069127083, 0.038175664842128754, 0.16780021786689758, -0.05161375179886818, -0.06312298774719238, 0.1124885231256485, 0.42242440581321716, -0.18746042251586914, 0.4139483571052551, -0.39752209186553955, -0.13977906107902527, -0.08045034855604172, 0.09765773266553879, -0.30893081426620483, 0.3227328062057495, 0.4888925850391388, 0.1544281542301178, 0.10594537854194641, -0.12791678309440613, 0.06165540963411331, -0.23837962746620178, 0.30113470554351807, 0.5001949071884155, 0.10728958249092102, -0.18476133048534393, -0.014428719878196716, -0.24198861420154572, 0.3568759858608246, 0.02428201399743557, -0.15131565928459167, 0.054155103862285614, 0.12647567689418793, -0.12137328833341599, 0.0111280158162117, 0.49275124073028564, -0.06257562339305878, 0.18481220304965973, 0.04670824483036995, -0.29806941747665405, -0.15520071983337402, -0.14728312194347382, -0.09122167527675629, 0.10796867311000824, -0.346236914396286, 0.1945330798625946, -0.14807982742786407, 0.02330460399389267, 0.10880879312753677, -0.02340298891067505, 0.15967302024364471, -0.41450437903404236, 0.6865342855453491, 0.08063346147537231, 0.1028437614440918, 0.08124607801437378, -0.09269870817661285, -0.5932140350341797, -0.21136178076267242, -0.19694702327251434, -0.04242366552352905, 0.1094197928905487, 0.08110897988080978, -0.3071659803390503, -0.14614249765872955, -0.24973395466804504, 0.3319612741470337, 0.010274715721607208, 0.20791120827198029, 0.09385782480239868, 0.29078158736228943, -0.15597742795944214, -0.2487066090106964, 0.13256065547466278, -0.06747738271951675, -0.04459203779697418, 0.1112951785326004, -0.1641407012939453, -0.030254587531089783, 0.7311733961105347, -0.26818951964378357, -0.1444505751132965, -0.006665036082267761, 0.4820961356163025, 0.011000506579875946, -0.26180553436279297, -0.27449753880500793, 0.17542842030525208, 0.360397607088089, 0.08620508015155792, -0.2519150674343109, 0.09973351657390594, -0.07732333242893219, 0.06718224287033081, 0.03584740683436394, 0.11278379708528519, -0.19022005796432495, -0.06870125234127045, 0.34415873885154724, -0.09123708307743073 ]
https://github.com/huggingface/datasets/issues/6951
load_dataset() should load all subsets, if no specific subset is specified
Feel free to open a PR in `m-a-p/COIG-CQIA` to define a default subset. Currently there is no default. You can find some documentation at https://huggingface.co/docs/hub/datasets-manual-configuration#multiple-configurations
### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```--------------------------------------------------------------------------- ValueError Traceback (most recent call last) [<ipython-input-10-c0cb49385da6>](https://localhost:8080/#) in <cell line: 2>() 1 from datasets import load_dataset ----> 2 dataset = load_dataset("m-a-p/COIG-CQIA") 3 frames [/usr/local/lib/python3.10/dist-packages/datasets/builder.py](https://localhost:8080/#) in _create_builder_config(self, config_name, custom_features, **config_kwargs) 582 if not config_kwargs: 583 example_of_usage = f"load_dataset('{self.dataset_name}', '{self.BUILDER_CONFIGS[0].name}')" --> 584 raise ValueError( 585 "Config name is missing." 586 f"\nPlease pick one among the available configs: {list(self.builder_configs.keys())}" ValueError: Config name is missing. Please pick one among the available configs: ['chinese_traditional', 'coig_pc', 'exam', 'finance', 'douban', 'human_value', 'logi_qa', 'ruozhiba', 'segmentfault', 'wiki', 'wikihow', 'xhs', 'zhihu'] Example of usage: `load_dataset('coig-cqia', 'chinese_traditional')` ``` This means a dataset cannot contain all the subsets at the same time. I guess one workaround is to manually specify the subset files like in [here](https://huggingface.co/datasets/m-a-p/COIG-CQIA/discussions/1#658698b44bb41498f75c5622), which is clumsy. ### Motivation Ideally, if not subset is specified, the API should just try to load all subsets. This makes it much easier to handle datasets w/ subsets. ### Your contribution Not sure since I'm not familiar w/ the lib src.
25
load_dataset() should load all subsets, if no specific subset is specified ### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```--------------------------------------------------------------------------- ValueError Traceback (most recent call last) [<ipython-input-10-c0cb49385da6>](https://localhost:8080/#) in <cell line: 2>() 1 from datasets import load_dataset ----> 2 dataset = load_dataset("m-a-p/COIG-CQIA") 3 frames [/usr/local/lib/python3.10/dist-packages/datasets/builder.py](https://localhost:8080/#) in _create_builder_config(self, config_name, custom_features, **config_kwargs) 582 if not config_kwargs: 583 example_of_usage = f"load_dataset('{self.dataset_name}', '{self.BUILDER_CONFIGS[0].name}')" --> 584 raise ValueError( 585 "Config name is missing." 586 f"\nPlease pick one among the available configs: {list(self.builder_configs.keys())}" ValueError: Config name is missing. Please pick one among the available configs: ['chinese_traditional', 'coig_pc', 'exam', 'finance', 'douban', 'human_value', 'logi_qa', 'ruozhiba', 'segmentfault', 'wiki', 'wikihow', 'xhs', 'zhihu'] Example of usage: `load_dataset('coig-cqia', 'chinese_traditional')` ``` This means a dataset cannot contain all the subsets at the same time. I guess one workaround is to manually specify the subset files like in [here](https://huggingface.co/datasets/m-a-p/COIG-CQIA/discussions/1#658698b44bb41498f75c5622), which is clumsy. ### Motivation Ideally, if not subset is specified, the API should just try to load all subsets. This makes it much easier to handle datasets w/ subsets. ### Your contribution Not sure since I'm not familiar w/ the lib src. Feel free to open a PR in `m-a-p/COIG-CQIA` to define a default subset. Currently there is no default. You can find some documentation at https://huggingface.co/docs/hub/datasets-manual-configuration#multiple-configurations
[ -0.4091421961784363, -0.07037521153688431, -0.13517147302627563, 0.17581580579280853, 0.029934324324131012, 0.17260676622390747, 0.554303765296936, 0.44273942708969116, 0.19543197751045227, 0.3112321197986603, -0.028206272050738335, 0.3462783098220825, -0.035520218312740326, 0.18763893842697144, 0.03476790711283684, -0.07341214269399643, -0.18508583307266235, 0.34758710861206055, -0.10687899589538574, -0.002184022217988968, -0.29324859380722046, 0.06745733320713043, -0.16095706820487976, 0.06412824988365173, -0.1851140856742859, -0.04667852818965912, 0.12414175271987915, 0.15195581316947937, -0.15308816730976105, -0.5492324829101562, 0.21078139543533325, 0.12078386545181274, -0.022259755060076714, 0.060339637100696564, -0.00010431573173264042, 0.05863167345523834, 0.20045939087867737, -0.09436248987913132, -0.6495085954666138, -0.23065023124217987, -0.5079612135887146, -0.21744608879089355, 0.21722394227981567, -0.3400077223777771, -0.14120155572891235, 0.02538524940609932, -0.10434678196907043, -0.14288492500782013, 0.33144670724868774, 0.35285788774490356, 0.26386165618896484, 0.47984227538108826, -0.1471720188856125, -0.20682352781295776, 0.1253127157688141, 0.045632630586624146, -0.20359429717063904, 0.14535626769065857, 0.151504248380661, -0.03795522451400757, 0.01409178227186203, 0.23256675899028778, -0.13665156066417694, 0.18670988082885742, 0.2890152633190155, -0.20765158534049988, 0.14981643855571747, -0.48738470673561096, 0.07682579755783081, 0.2850781977176666, 0.670986533164978, -0.16547027230262756, -0.2713497579097748, -0.4082982540130615, -0.08507169038057327, -0.3246136009693146, -0.06617886573076248, 0.06885319203138351, -0.3859289288520813, -0.04382889345288277, -0.27022916078567505, -0.08867120742797852, -0.12366877496242523, 0.11906721442937851, -0.33641448616981506, 0.2620365023612976, -0.1266649216413498, 0.060134533792734146, -0.02058771625161171, -0.00102321058511734, 0.09965692460536957, -0.2581299841403961, 0.010613109916448593, 0.04317542165517807, -0.42821136116981506, -0.2471664547920227, 0.3318162262439728, -0.21242523193359375, 0.08135001361370087, 0.3484053611755371, -0.01897941157221794, 0.14163297414779663, 0.18844157457351685, 0.22303766012191772, 0.1707548201084137, 0.08034680783748627, 0.4256281852722168, 0.10908986628055573, 0.08578237891197205, 0.0753251239657402, -0.060598962008953094, 0.10147818922996521, -0.2255307286977768, -0.12253564596176147, 0.036649491637945175, 0.022801324725151062, 0.38315194845199585, 0.013749625533819199, -0.43318063020706177, 0.03224245086312294, 0.04263143986463547, -0.22356046736240387, 0.17055773735046387, 0.43719834089279175, -0.09366398304700851, -0.10786402970552444, -0.08095280826091766, 0.1379035860300064, -0.28221383690834045, -0.19312721490859985, -0.2991056442260742, 0.03988592326641083, -0.06326114386320114, -0.07260669022798538, 0.24362067878246307, -0.3061828017234802, 0.3718884587287903, -0.06985656917095184, -0.006084904074668884, -0.012875523418188095, 0.21244056522846222, -0.08769875764846802, -0.042892925441265106, 0.28150975704193115, -0.016581187024712563, -0.08505911380052567, 0.2915087938308716, 0.05556248128414154, -0.1954023241996765, 0.3352046608924866, -0.09563649445772171, -0.36369332671165466, -0.11512002348899841, 0.3140096366405487, -0.18943998217582703, -0.06304938346147537, -0.1844252645969391, 0.18008364737033844, 0.062150757759809494, -0.028623338788747787, -0.08362215012311935, -0.04626847058534622, -0.20575189590454102, -0.2741678059101105, 0.4543144404888153, 0.642479419708252, -0.23947320878505707, -0.2829956114292145, -0.12197698652744293, -0.17634627223014832, -0.19051039218902588, -0.060328055173158646, -0.3491949141025543, 0.40424251556396484, -0.15497948229312897, 0.006870634853839874, 0.6327856183052063, 0.00432615727186203, -0.17660270631313324, 0.269530326128006, -0.01278708130121231, 0.04488706588745117, 0.038799211382865906, -0.0038921525701880455, 0.07425761222839355, -0.019541367888450623, 0.2226743996143341, 0.21890975534915924, 0.028025280684232712, -0.05546876788139343, 0.0556398443877697, -0.18815793097019196, 0.0571243092417717, 0.2649630606174469, 0.3006953001022339, 0.16992485523223877, 0.10488623380661011, -0.10014785826206207, 0.26337292790412903, -0.20562416315078735, -0.13880038261413574, 0.1493852436542511, 0.16578015685081482, 0.15733712911605835, -0.1576819121837616, -0.3121143579483032, -0.45302486419677734, 0.4381944537162781, -0.005816590040922165, -0.10592716932296753, 0.027430415153503418, 0.03216688334941864, -0.4061155915260315, 0.07320784777402878, -0.29312315583229065, -0.013211101293563843, 0.18380963802337646, 0.3923928737640381, -0.013701062649488449, -0.2548786699771881, -0.43766579031944275, 0.0828070417046547, -0.106991708278656, 0.0949338898062706, -0.3188786804676056, 0.28404414653778076, 0.008940085768699646, -0.007509100250899792, 0.10129697620868683, 0.07722251862287521, 0.21424388885498047, -0.029724111780524254, 0.021340390667319298, 0.21572914719581604, 0.05166273191571236, -0.16566185653209686, -0.24051448702812195, -0.10174776613712311, -0.03436679393053055, 0.11463116109371185, 0.1397538036108017, -0.1041940450668335, 0.17873874306678772, 0.02466009557247162, -0.19490545988082886, 0.35910525918006897, 0.1234361082315445, 0.21895630657672882, 0.08674158155918121, -0.005433565005660057, 0.11021862924098969, -0.13600914180278778, -0.13711465895175934, -0.3379097580909729, 0.012621350586414337, 0.13214658200740814, 0.21232470870018005, 0.22775188088417053, -0.34261736273765564, -0.016186192631721497, 0.32232603430747986, -0.07096636295318604, 0.04294674098491669, 0.08991654217243195, 0.03390609472990036, 0.10658308118581772, 0.13204973936080933, -0.001615915447473526, 0.35365957021713257, 0.3258823752403259, -0.13353218138217926, -0.1599922627210617, 0.022462937980890274, -0.09338413178920746, 0.2860974669456482, 0.14406535029411316, 0.23433375358581543, 0.08652888983488083, 0.042188744992017746, -0.14105035364627838, -0.31902340054512024, -0.1956968903541565, 0.1337961107492447, 0.03947439789772034, -0.3755183815956116, -0.012378847226500511, -0.20951321721076965, -0.06250176578760147, 0.023704752326011658, -0.19158270955085754, -0.013663440942764282, -0.2512795031070709, -0.04915989190340042, 0.16927215456962585, -0.15573176741600037, 0.2660607099533081, -0.30652254819869995, 0.15325714647769928, 0.06696997582912445, -0.34752362966537476, 0.011353440582752228, -0.1064218282699585, -0.10699684172868729, 0.22126545011997223, 0.03520023822784424, -0.02838277816772461, 0.40725746750831604, -0.23492197692394257, -0.04704959690570831, -0.19618788361549377, -0.14205613732337952, 0.2903353273868561, -0.17141978442668915, 0.27466490864753723, 0.1665632128715515, 0.2311014086008072, 0.16450488567352295, -0.34815460443496704, 0.4084303081035614, 0.4089158773422241, -0.12336361408233643, 0.1895972043275833, 0.1352521926164627, -0.08730658888816833, 0.07748517394065857, -0.40725812315940857, -0.2100871056318283, -0.48810821771621704, 0.039169445633888245, 0.4007410407066345, 0.3367556929588318, 0.5569782257080078, 0.21427950263023376, 0.004336145706474781, -0.14729706943035126, 0.22892794013023376, -0.1349707692861557, -0.18240679800510406, 0.29540154337882996, -0.13674181699752808, -0.09223279356956482, -0.12216053903102875, -0.13775832951068878, 0.13900944590568542, 0.09422163665294647, -0.5006142258644104, 0.006211739964783192, -0.3727198541164398, 0.4017784297466278, -0.12059129774570465, 0.07382531464099884, 0.2511572241783142, 0.27107203006744385, -0.17047373950481415, -0.05552776902914047, -0.3172314763069153, 0.05459603667259216, 0.04081950709223747, 0.07195845246315002, -0.0077441781759262085, 0.309480220079422, -0.12218675017356873, 0.5914710164070129, 0.10787585377693176, -0.0028225481510162354, 0.358465313911438, -0.20057950913906097, 0.3313576281070709, -0.19459420442581177, -0.5170276761054993, 0.19202792644500732, 0.09831608831882477, -0.016540657728910446, 0.1892511546611786, -0.10445240885019302, -0.07471204549074173, -0.32539501786231995, -0.2661534547805786, -0.0943366289138794, -0.2693534791469574, 0.14799639582633972, -0.18883536756038666, 0.28649649024009705, 0.004151016473770142, 0.2535404562950134, -0.3528437614440918, 0.17191830277442932, -0.1803227961063385, 0.1125815138220787, 0.307244211435318, -0.1411779671907425, -0.21339456737041473, 0.14739467203617096, -0.2298680543899536, 0.1063132956624031, -0.176447331905365, 0.060236457735300064, -0.09637574106454849, -0.10680625587701797, -0.08070167899131775, 0.17565153539180756, 0.2532593011856079, -0.06709078699350357, 0.19995078444480896, 0.3265708386898041, -0.1713726669549942, -0.33063820004463196, -0.03621968626976013, -0.06824665516614914, 0.261623352766037, -0.06402803957462311, 0.2698907256126404, -0.2658900022506714, -0.2933991849422455, 0.4445362091064453, 0.36143985390663147, -0.20904019474983215, -0.2570941150188446, -0.25081732869148254, -0.16686737537384033, -0.47347399592399597, 0.027131810784339905, -0.15512964129447937, 0.1629391759634018, 0.2514953911304474, -0.0988839715719223, -0.0978156104683876, -0.137960284948349, 0.08530744165182114, 0.28643694519996643, 0.11986542493104935, 0.2109483778476715, 0.14635784924030304, -0.2053382694721222, -0.03276775777339935, 0.24907954037189484, 0.5245509743690491, 0.04705043137073517, -0.28950873017311096, 0.010928903706371784, 0.11131778359413147, 0.31098368763923645, 0.18080277740955353, -0.12913237512111664, -0.07510759681463242, -0.027494210749864578, 0.21834085881710052, -0.11635997146368027, 0.07234372198581696, 0.1211133524775505, -0.12486632168292999, -0.16144903004169464, -0.5974166393280029, 0.4711538255214691, -0.2281598001718521, 0.024629943072795868, 0.2796221375465393, -0.06956669688224792, -0.2503662109375, 0.28936296701431274, 0.1913224756717682, 0.6369068622589111, 0.27115339040756226, -0.06875193119049072, 0.4547263979911804, 0.15938544273376465, 0.2659998834133148, 0.0026853233575820923, 0.1697012335062027, -0.3926279842853546, -0.19884592294692993, -0.005346028134226799, -0.14687903225421906, 0.2582056224346161, 0.26979267597198486, -0.1771206557750702, 0.2350831925868988, -0.14271901547908783, 0.3004680573940277, 0.16409385204315186, 0.21305087208747864, -0.2630053162574768, -0.21706604957580566, -0.32724785804748535, 0.21173298358917236, -0.08005253970623016, 0.25279656052589417, -0.0051554967649281025, -0.03757703676819801, 0.1095486432313919, -0.13961583375930786, -0.1266416609287262, 0.12571334838867188, -0.42533281445503235, 0.17635321617126465, -0.1007421463727951, -0.1457149088382721, 0.15115632116794586, 0.19874036312103271, -0.07974410057067871, 0.29456475377082825, 0.000969940796494484, 0.2709693908691406, 0.06411943584680557, 0.05528406426310539, -0.1846751868724823, -0.019246511161327362, 0.295804500579834, -0.10983658581972122, -0.30401909351348877, 0.21297839283943176, -0.21043209731578827, -0.048385217785835266, 0.039984703063964844, 0.18112701177597046, 0.16160935163497925, -0.41808632016181946, -0.3261195421218872, -0.050050824880599976, 0.12786172330379486, -0.2375982105731964, 0.20757701992988586, -0.05027484893798828, -0.13818547129631042, 0.11176151037216187, -0.12236383557319641, -0.18960240483283997, -0.09708210825920105, 0.09465573728084564, 0.08963783830404282, 0.05458121746778488, 0.5527044534683228, 0.09314534068107605, -0.05287192016839981, -0.37773582339286804, 0.1308329701423645, 0.13069219887256622, -0.0806075781583786, 0.2202085256576538, 0.1364726424217224, 0.0007304847240447998, -0.031866494566202164, 0.437296986579895, 0.03396262228488922, 0.059739045798778534, 0.09254328906536102, -0.31448066234588623, -0.19495825469493866, -0.00043564289808273315, 0.030403880402445793, 0.29274773597717285, 0.0016347765922546387, 0.0348472073674202, -0.009420477785170078, 0.15045538544654846, -0.45348289608955383, -0.1514609307050705, -0.4301261901855469, 0.24268701672554016, 0.0379876010119915, 0.028448181226849556, -0.05085353925824165, -0.00557888625189662, 0.25379499793052673, -0.20977431535720825, -0.285490483045578, -0.37018823623657227, -0.08752644062042236, 0.10947614908218384, -0.006384776905179024, 0.012343758717179298, 0.029570668935775757, -0.09003648906946182, -0.11549758911132812, -0.24616867303848267, 0.16107496619224548, 0.10363990813493729, -0.04815801978111267, 0.17329995334148407, 0.04768329858779907, 0.01684754341840744, -0.11747314780950546, 0.11299671977758408, -0.11641116440296173, 0.13116391003131866, 0.14635226130485535, 0.22442442178726196, 0.002643862273544073, -0.019032787531614304, -0.057917267084121704, 0.1393566131591797, -0.0817539244890213, 0.00046952441334724426, 0.17295265197753906, -0.25575125217437744, -0.03429579362273216, 0.0654008686542511, 0.27403703331947327, 0.3483244776725769, -0.08761660754680634, 0.15033987164497375, -0.02508346363902092, 0.3441272974014282, -0.42471298575401306, -0.13299541175365448, 0.2109757661819458, -0.22663044929504395, 0.37213000655174255, 0.25718000531196594, 0.03798825666308403, -0.09963855147361755, 0.17930659651756287, -0.0021581966429948807, 0.1437925100326538, -0.01515224575996399, 0.2438252866268158, 0.5112255215644836, 0.04654089733958244, -0.1523122489452362, 0.30598315596580505, 0.26707613468170166, 0.2634917199611664, 0.24428293108940125, -0.16192755103111267, 0.10204795002937317, 0.06101018190383911, -0.007505122572183609, -0.01650048792362213, -0.5231812000274658, 0.5263923406600952, 0.0580020472407341, -0.14321689307689667, -0.1154608502984047, -0.06785425543785095, -0.08062285929918289, -0.1719934195280075, 0.060501884669065475, -0.2071124017238617, 0.2637144923210144, -0.2600288391113281, -0.07503663003444672, -0.431338369846344, -0.3597641885280609, -0.1574704945087433, -0.07602521032094955, 0.02944209612905979, -0.5828275680541992, -0.031244128942489624, -0.0597761869430542, -0.04713369905948639, -0.36031052470207214, 0.24318623542785645, 0.1715448796749115, -0.10348231345415115, -0.3986307382583618, 0.25582805275917053, 0.264965295791626, -0.031086400151252747, -0.0048399195075035095, 0.2985447347164154, 0.47150328755378723, 0.1860429346561432, 0.17981590330600739, 0.111478291451931, -0.013377372175455093, -0.23558904230594635, -0.22227860987186432, -0.021080821752548218, -0.1448490470647812, 0.37319549918174744, 0.46912312507629395, 0.3198518753051758, -0.29300543665885925, 0.007948115468025208, 0.10622824728488922, -0.20294341444969177, -0.5564060211181641, 0.22109907865524292, 0.15419870615005493, -0.1975584626197815, -0.04996539652347565, -0.02658286690711975, -0.40510132908821106, -0.16730698943138123, 0.5586975812911987, 0.16461756825447083, 0.13638466596603394, -0.012473326176404953, 0.14642779529094696, -0.12823477387428284, 0.41412732005119324, -0.16120418906211853, 0.04260310158133507, -0.41045039892196655, 0.07181274890899658, -0.4656650722026825, -0.09072832018136978, -0.034736957401037216, -0.1848537027835846, 0.43468979001045227, 0.13174745440483093, 0.23197153210639954, 0.25895148515701294, -0.08640943467617035, 0.27448832988739014, 0.310767263174057, 0.12378032505512238, -0.3300630450248718, -0.12652844190597534, 0.17275559902191162, 0.21433313190937042, -0.049598805606365204, -0.29239410161972046, 0.1667487472295761, -0.35472872853279114, 0.19045615196228027, -0.13827846944332123, -0.21974098682403564, 0.5895887613296509, -0.09293784201145172, 0.39402419328689575, -0.008831912651658058, 0.4293965995311737, -0.1761626899242401, 0.0032773856073617935, 0.00977754220366478, -0.1891346573829651, -0.19112840294837952, 0.08972834795713425, 0.1841033697128296, 0.36839306354522705, -0.03914858028292656, -0.0192292258143425, -0.39342814683914185, 0.2106931209564209, 0.051264919340610504, -0.18116097152233124, 0.08057022094726562, 0.09469941258430481, 0.003644794225692749, 0.08146863430738449, 0.1105516254901886, 0.13231629133224487, -0.05284340679645538, 0.17227335274219513, -0.23045006394386292, -0.40181827545166016, 0.537592887878418, -0.2715422213077545, -0.521044135093689, -0.13337667286396027, 0.1893044412136078, 0.2041340172290802, 0.09751760214567184, -0.2606784999370575, 0.1858690083026886, 0.5040067434310913, -0.20108062028884888, -0.12133514881134033, 0.2098439335823059, -0.0633695125579834, 0.12403228878974915, -0.013149388134479523, 0.2982320487499237, -0.052830494940280914, -0.33517375588417053, -0.25136739015579224, -0.30501991510391235 ]
https://github.com/huggingface/datasets/issues/6951
load_dataset() should load all subsets, if no specific subset is specified
@lhoestq Whilst having a default subset readily available (e.g. `all`) by the dataset author is an ideal solution, it is not always the reality. Without the ability to fork the dataset, this can be problematic. As far as I know, it is not possible at all to specify multiple subsets in a generalized programmatic way without hard coding subset names for a specific dataset. Even the ability to fetch subset names and loop over them would be sufficient.
### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```--------------------------------------------------------------------------- ValueError Traceback (most recent call last) [<ipython-input-10-c0cb49385da6>](https://localhost:8080/#) in <cell line: 2>() 1 from datasets import load_dataset ----> 2 dataset = load_dataset("m-a-p/COIG-CQIA") 3 frames [/usr/local/lib/python3.10/dist-packages/datasets/builder.py](https://localhost:8080/#) in _create_builder_config(self, config_name, custom_features, **config_kwargs) 582 if not config_kwargs: 583 example_of_usage = f"load_dataset('{self.dataset_name}', '{self.BUILDER_CONFIGS[0].name}')" --> 584 raise ValueError( 585 "Config name is missing." 586 f"\nPlease pick one among the available configs: {list(self.builder_configs.keys())}" ValueError: Config name is missing. Please pick one among the available configs: ['chinese_traditional', 'coig_pc', 'exam', 'finance', 'douban', 'human_value', 'logi_qa', 'ruozhiba', 'segmentfault', 'wiki', 'wikihow', 'xhs', 'zhihu'] Example of usage: `load_dataset('coig-cqia', 'chinese_traditional')` ``` This means a dataset cannot contain all the subsets at the same time. I guess one workaround is to manually specify the subset files like in [here](https://huggingface.co/datasets/m-a-p/COIG-CQIA/discussions/1#658698b44bb41498f75c5622), which is clumsy. ### Motivation Ideally, if not subset is specified, the API should just try to load all subsets. This makes it much easier to handle datasets w/ subsets. ### Your contribution Not sure since I'm not familiar w/ the lib src.
78
load_dataset() should load all subsets, if no specific subset is specified ### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```--------------------------------------------------------------------------- ValueError Traceback (most recent call last) [<ipython-input-10-c0cb49385da6>](https://localhost:8080/#) in <cell line: 2>() 1 from datasets import load_dataset ----> 2 dataset = load_dataset("m-a-p/COIG-CQIA") 3 frames [/usr/local/lib/python3.10/dist-packages/datasets/builder.py](https://localhost:8080/#) in _create_builder_config(self, config_name, custom_features, **config_kwargs) 582 if not config_kwargs: 583 example_of_usage = f"load_dataset('{self.dataset_name}', '{self.BUILDER_CONFIGS[0].name}')" --> 584 raise ValueError( 585 "Config name is missing." 586 f"\nPlease pick one among the available configs: {list(self.builder_configs.keys())}" ValueError: Config name is missing. Please pick one among the available configs: ['chinese_traditional', 'coig_pc', 'exam', 'finance', 'douban', 'human_value', 'logi_qa', 'ruozhiba', 'segmentfault', 'wiki', 'wikihow', 'xhs', 'zhihu'] Example of usage: `load_dataset('coig-cqia', 'chinese_traditional')` ``` This means a dataset cannot contain all the subsets at the same time. I guess one workaround is to manually specify the subset files like in [here](https://huggingface.co/datasets/m-a-p/COIG-CQIA/discussions/1#658698b44bb41498f75c5622), which is clumsy. ### Motivation Ideally, if not subset is specified, the API should just try to load all subsets. This makes it much easier to handle datasets w/ subsets. ### Your contribution Not sure since I'm not familiar w/ the lib src. @lhoestq Whilst having a default subset readily available (e.g. `all`) by the dataset author is an ideal solution, it is not always the reality. Without the ability to fork the dataset, this can be problematic. As far as I know, it is not possible at all to specify multiple subsets in a generalized programmatic way without hard coding subset names for a specific dataset. Even the ability to fetch subset names and loop over them would be sufficient.
[ -0.4091421961784363, -0.07037521153688431, -0.13517147302627563, 0.17581580579280853, 0.029934324324131012, 0.17260676622390747, 0.554303765296936, 0.44273942708969116, 0.19543197751045227, 0.3112321197986603, -0.028206272050738335, 0.3462783098220825, -0.035520218312740326, 0.18763893842697144, 0.03476790711283684, -0.07341214269399643, -0.18508583307266235, 0.34758710861206055, -0.10687899589538574, -0.002184022217988968, -0.29324859380722046, 0.06745733320713043, -0.16095706820487976, 0.06412824988365173, -0.1851140856742859, -0.04667852818965912, 0.12414175271987915, 0.15195581316947937, -0.15308816730976105, -0.5492324829101562, 0.21078139543533325, 0.12078386545181274, -0.022259755060076714, 0.060339637100696564, -0.00010431573173264042, 0.05863167345523834, 0.20045939087867737, -0.09436248987913132, -0.6495085954666138, -0.23065023124217987, -0.5079612135887146, -0.21744608879089355, 0.21722394227981567, -0.3400077223777771, -0.14120155572891235, 0.02538524940609932, -0.10434678196907043, -0.14288492500782013, 0.33144670724868774, 0.35285788774490356, 0.26386165618896484, 0.47984227538108826, -0.1471720188856125, -0.20682352781295776, 0.1253127157688141, 0.045632630586624146, -0.20359429717063904, 0.14535626769065857, 0.151504248380661, -0.03795522451400757, 0.01409178227186203, 0.23256675899028778, -0.13665156066417694, 0.18670988082885742, 0.2890152633190155, -0.20765158534049988, 0.14981643855571747, -0.48738470673561096, 0.07682579755783081, 0.2850781977176666, 0.670986533164978, -0.16547027230262756, -0.2713497579097748, -0.4082982540130615, -0.08507169038057327, -0.3246136009693146, -0.06617886573076248, 0.06885319203138351, -0.3859289288520813, -0.04382889345288277, -0.27022916078567505, -0.08867120742797852, -0.12366877496242523, 0.11906721442937851, -0.33641448616981506, 0.2620365023612976, -0.1266649216413498, 0.060134533792734146, -0.02058771625161171, -0.00102321058511734, 0.09965692460536957, -0.2581299841403961, 0.010613109916448593, 0.04317542165517807, -0.42821136116981506, -0.2471664547920227, 0.3318162262439728, -0.21242523193359375, 0.08135001361370087, 0.3484053611755371, -0.01897941157221794, 0.14163297414779663, 0.18844157457351685, 0.22303766012191772, 0.1707548201084137, 0.08034680783748627, 0.4256281852722168, 0.10908986628055573, 0.08578237891197205, 0.0753251239657402, -0.060598962008953094, 0.10147818922996521, -0.2255307286977768, -0.12253564596176147, 0.036649491637945175, 0.022801324725151062, 0.38315194845199585, 0.013749625533819199, -0.43318063020706177, 0.03224245086312294, 0.04263143986463547, -0.22356046736240387, 0.17055773735046387, 0.43719834089279175, -0.09366398304700851, -0.10786402970552444, -0.08095280826091766, 0.1379035860300064, -0.28221383690834045, -0.19312721490859985, -0.2991056442260742, 0.03988592326641083, -0.06326114386320114, -0.07260669022798538, 0.24362067878246307, -0.3061828017234802, 0.3718884587287903, -0.06985656917095184, -0.006084904074668884, -0.012875523418188095, 0.21244056522846222, -0.08769875764846802, -0.042892925441265106, 0.28150975704193115, -0.016581187024712563, -0.08505911380052567, 0.2915087938308716, 0.05556248128414154, -0.1954023241996765, 0.3352046608924866, -0.09563649445772171, -0.36369332671165466, -0.11512002348899841, 0.3140096366405487, -0.18943998217582703, -0.06304938346147537, -0.1844252645969391, 0.18008364737033844, 0.062150757759809494, -0.028623338788747787, -0.08362215012311935, -0.04626847058534622, -0.20575189590454102, -0.2741678059101105, 0.4543144404888153, 0.642479419708252, -0.23947320878505707, -0.2829956114292145, -0.12197698652744293, -0.17634627223014832, -0.19051039218902588, -0.060328055173158646, -0.3491949141025543, 0.40424251556396484, -0.15497948229312897, 0.006870634853839874, 0.6327856183052063, 0.00432615727186203, -0.17660270631313324, 0.269530326128006, -0.01278708130121231, 0.04488706588745117, 0.038799211382865906, -0.0038921525701880455, 0.07425761222839355, -0.019541367888450623, 0.2226743996143341, 0.21890975534915924, 0.028025280684232712, -0.05546876788139343, 0.0556398443877697, -0.18815793097019196, 0.0571243092417717, 0.2649630606174469, 0.3006953001022339, 0.16992485523223877, 0.10488623380661011, -0.10014785826206207, 0.26337292790412903, -0.20562416315078735, -0.13880038261413574, 0.1493852436542511, 0.16578015685081482, 0.15733712911605835, -0.1576819121837616, -0.3121143579483032, -0.45302486419677734, 0.4381944537162781, -0.005816590040922165, -0.10592716932296753, 0.027430415153503418, 0.03216688334941864, -0.4061155915260315, 0.07320784777402878, -0.29312315583229065, -0.013211101293563843, 0.18380963802337646, 0.3923928737640381, -0.013701062649488449, -0.2548786699771881, -0.43766579031944275, 0.0828070417046547, -0.106991708278656, 0.0949338898062706, -0.3188786804676056, 0.28404414653778076, 0.008940085768699646, -0.007509100250899792, 0.10129697620868683, 0.07722251862287521, 0.21424388885498047, -0.029724111780524254, 0.021340390667319298, 0.21572914719581604, 0.05166273191571236, -0.16566185653209686, -0.24051448702812195, -0.10174776613712311, -0.03436679393053055, 0.11463116109371185, 0.1397538036108017, -0.1041940450668335, 0.17873874306678772, 0.02466009557247162, -0.19490545988082886, 0.35910525918006897, 0.1234361082315445, 0.21895630657672882, 0.08674158155918121, -0.005433565005660057, 0.11021862924098969, -0.13600914180278778, -0.13711465895175934, -0.3379097580909729, 0.012621350586414337, 0.13214658200740814, 0.21232470870018005, 0.22775188088417053, -0.34261736273765564, -0.016186192631721497, 0.32232603430747986, -0.07096636295318604, 0.04294674098491669, 0.08991654217243195, 0.03390609472990036, 0.10658308118581772, 0.13204973936080933, -0.001615915447473526, 0.35365957021713257, 0.3258823752403259, -0.13353218138217926, -0.1599922627210617, 0.022462937980890274, -0.09338413178920746, 0.2860974669456482, 0.14406535029411316, 0.23433375358581543, 0.08652888983488083, 0.042188744992017746, -0.14105035364627838, -0.31902340054512024, -0.1956968903541565, 0.1337961107492447, 0.03947439789772034, -0.3755183815956116, -0.012378847226500511, -0.20951321721076965, -0.06250176578760147, 0.023704752326011658, -0.19158270955085754, -0.013663440942764282, -0.2512795031070709, -0.04915989190340042, 0.16927215456962585, -0.15573176741600037, 0.2660607099533081, -0.30652254819869995, 0.15325714647769928, 0.06696997582912445, -0.34752362966537476, 0.011353440582752228, -0.1064218282699585, -0.10699684172868729, 0.22126545011997223, 0.03520023822784424, -0.02838277816772461, 0.40725746750831604, -0.23492197692394257, -0.04704959690570831, -0.19618788361549377, -0.14205613732337952, 0.2903353273868561, -0.17141978442668915, 0.27466490864753723, 0.1665632128715515, 0.2311014086008072, 0.16450488567352295, -0.34815460443496704, 0.4084303081035614, 0.4089158773422241, -0.12336361408233643, 0.1895972043275833, 0.1352521926164627, -0.08730658888816833, 0.07748517394065857, -0.40725812315940857, -0.2100871056318283, -0.48810821771621704, 0.039169445633888245, 0.4007410407066345, 0.3367556929588318, 0.5569782257080078, 0.21427950263023376, 0.004336145706474781, -0.14729706943035126, 0.22892794013023376, -0.1349707692861557, -0.18240679800510406, 0.29540154337882996, -0.13674181699752808, -0.09223279356956482, -0.12216053903102875, -0.13775832951068878, 0.13900944590568542, 0.09422163665294647, -0.5006142258644104, 0.006211739964783192, -0.3727198541164398, 0.4017784297466278, -0.12059129774570465, 0.07382531464099884, 0.2511572241783142, 0.27107203006744385, -0.17047373950481415, -0.05552776902914047, -0.3172314763069153, 0.05459603667259216, 0.04081950709223747, 0.07195845246315002, -0.0077441781759262085, 0.309480220079422, -0.12218675017356873, 0.5914710164070129, 0.10787585377693176, -0.0028225481510162354, 0.358465313911438, -0.20057950913906097, 0.3313576281070709, -0.19459420442581177, -0.5170276761054993, 0.19202792644500732, 0.09831608831882477, -0.016540657728910446, 0.1892511546611786, -0.10445240885019302, -0.07471204549074173, -0.32539501786231995, -0.2661534547805786, -0.0943366289138794, -0.2693534791469574, 0.14799639582633972, -0.18883536756038666, 0.28649649024009705, 0.004151016473770142, 0.2535404562950134, -0.3528437614440918, 0.17191830277442932, -0.1803227961063385, 0.1125815138220787, 0.307244211435318, -0.1411779671907425, -0.21339456737041473, 0.14739467203617096, -0.2298680543899536, 0.1063132956624031, -0.176447331905365, 0.060236457735300064, -0.09637574106454849, -0.10680625587701797, -0.08070167899131775, 0.17565153539180756, 0.2532593011856079, -0.06709078699350357, 0.19995078444480896, 0.3265708386898041, -0.1713726669549942, -0.33063820004463196, -0.03621968626976013, -0.06824665516614914, 0.261623352766037, -0.06402803957462311, 0.2698907256126404, -0.2658900022506714, -0.2933991849422455, 0.4445362091064453, 0.36143985390663147, -0.20904019474983215, -0.2570941150188446, -0.25081732869148254, -0.16686737537384033, -0.47347399592399597, 0.027131810784339905, -0.15512964129447937, 0.1629391759634018, 0.2514953911304474, -0.0988839715719223, -0.0978156104683876, -0.137960284948349, 0.08530744165182114, 0.28643694519996643, 0.11986542493104935, 0.2109483778476715, 0.14635784924030304, -0.2053382694721222, -0.03276775777339935, 0.24907954037189484, 0.5245509743690491, 0.04705043137073517, -0.28950873017311096, 0.010928903706371784, 0.11131778359413147, 0.31098368763923645, 0.18080277740955353, -0.12913237512111664, -0.07510759681463242, -0.027494210749864578, 0.21834085881710052, -0.11635997146368027, 0.07234372198581696, 0.1211133524775505, -0.12486632168292999, -0.16144903004169464, -0.5974166393280029, 0.4711538255214691, -0.2281598001718521, 0.024629943072795868, 0.2796221375465393, -0.06956669688224792, -0.2503662109375, 0.28936296701431274, 0.1913224756717682, 0.6369068622589111, 0.27115339040756226, -0.06875193119049072, 0.4547263979911804, 0.15938544273376465, 0.2659998834133148, 0.0026853233575820923, 0.1697012335062027, -0.3926279842853546, -0.19884592294692993, -0.005346028134226799, -0.14687903225421906, 0.2582056224346161, 0.26979267597198486, -0.1771206557750702, 0.2350831925868988, -0.14271901547908783, 0.3004680573940277, 0.16409385204315186, 0.21305087208747864, -0.2630053162574768, -0.21706604957580566, -0.32724785804748535, 0.21173298358917236, -0.08005253970623016, 0.25279656052589417, -0.0051554967649281025, -0.03757703676819801, 0.1095486432313919, -0.13961583375930786, -0.1266416609287262, 0.12571334838867188, -0.42533281445503235, 0.17635321617126465, -0.1007421463727951, -0.1457149088382721, 0.15115632116794586, 0.19874036312103271, -0.07974410057067871, 0.29456475377082825, 0.000969940796494484, 0.2709693908691406, 0.06411943584680557, 0.05528406426310539, -0.1846751868724823, -0.019246511161327362, 0.295804500579834, -0.10983658581972122, -0.30401909351348877, 0.21297839283943176, -0.21043209731578827, -0.048385217785835266, 0.039984703063964844, 0.18112701177597046, 0.16160935163497925, -0.41808632016181946, -0.3261195421218872, -0.050050824880599976, 0.12786172330379486, -0.2375982105731964, 0.20757701992988586, -0.05027484893798828, -0.13818547129631042, 0.11176151037216187, -0.12236383557319641, -0.18960240483283997, -0.09708210825920105, 0.09465573728084564, 0.08963783830404282, 0.05458121746778488, 0.5527044534683228, 0.09314534068107605, -0.05287192016839981, -0.37773582339286804, 0.1308329701423645, 0.13069219887256622, -0.0806075781583786, 0.2202085256576538, 0.1364726424217224, 0.0007304847240447998, -0.031866494566202164, 0.437296986579895, 0.03396262228488922, 0.059739045798778534, 0.09254328906536102, -0.31448066234588623, -0.19495825469493866, -0.00043564289808273315, 0.030403880402445793, 0.29274773597717285, 0.0016347765922546387, 0.0348472073674202, -0.009420477785170078, 0.15045538544654846, -0.45348289608955383, -0.1514609307050705, -0.4301261901855469, 0.24268701672554016, 0.0379876010119915, 0.028448181226849556, -0.05085353925824165, -0.00557888625189662, 0.25379499793052673, -0.20977431535720825, -0.285490483045578, -0.37018823623657227, -0.08752644062042236, 0.10947614908218384, -0.006384776905179024, 0.012343758717179298, 0.029570668935775757, -0.09003648906946182, -0.11549758911132812, -0.24616867303848267, 0.16107496619224548, 0.10363990813493729, -0.04815801978111267, 0.17329995334148407, 0.04768329858779907, 0.01684754341840744, -0.11747314780950546, 0.11299671977758408, -0.11641116440296173, 0.13116391003131866, 0.14635226130485535, 0.22442442178726196, 0.002643862273544073, -0.019032787531614304, -0.057917267084121704, 0.1393566131591797, -0.0817539244890213, 0.00046952441334724426, 0.17295265197753906, -0.25575125217437744, -0.03429579362273216, 0.0654008686542511, 0.27403703331947327, 0.3483244776725769, -0.08761660754680634, 0.15033987164497375, -0.02508346363902092, 0.3441272974014282, -0.42471298575401306, -0.13299541175365448, 0.2109757661819458, -0.22663044929504395, 0.37213000655174255, 0.25718000531196594, 0.03798825666308403, -0.09963855147361755, 0.17930659651756287, -0.0021581966429948807, 0.1437925100326538, -0.01515224575996399, 0.2438252866268158, 0.5112255215644836, 0.04654089733958244, -0.1523122489452362, 0.30598315596580505, 0.26707613468170166, 0.2634917199611664, 0.24428293108940125, -0.16192755103111267, 0.10204795002937317, 0.06101018190383911, -0.007505122572183609, -0.01650048792362213, -0.5231812000274658, 0.5263923406600952, 0.0580020472407341, -0.14321689307689667, -0.1154608502984047, -0.06785425543785095, -0.08062285929918289, -0.1719934195280075, 0.060501884669065475, -0.2071124017238617, 0.2637144923210144, -0.2600288391113281, -0.07503663003444672, -0.431338369846344, -0.3597641885280609, -0.1574704945087433, -0.07602521032094955, 0.02944209612905979, -0.5828275680541992, -0.031244128942489624, -0.0597761869430542, -0.04713369905948639, -0.36031052470207214, 0.24318623542785645, 0.1715448796749115, -0.10348231345415115, -0.3986307382583618, 0.25582805275917053, 0.264965295791626, -0.031086400151252747, -0.0048399195075035095, 0.2985447347164154, 0.47150328755378723, 0.1860429346561432, 0.17981590330600739, 0.111478291451931, -0.013377372175455093, -0.23558904230594635, -0.22227860987186432, -0.021080821752548218, -0.1448490470647812, 0.37319549918174744, 0.46912312507629395, 0.3198518753051758, -0.29300543665885925, 0.007948115468025208, 0.10622824728488922, -0.20294341444969177, -0.5564060211181641, 0.22109907865524292, 0.15419870615005493, -0.1975584626197815, -0.04996539652347565, -0.02658286690711975, -0.40510132908821106, -0.16730698943138123, 0.5586975812911987, 0.16461756825447083, 0.13638466596603394, -0.012473326176404953, 0.14642779529094696, -0.12823477387428284, 0.41412732005119324, -0.16120418906211853, 0.04260310158133507, -0.41045039892196655, 0.07181274890899658, -0.4656650722026825, -0.09072832018136978, -0.034736957401037216, -0.1848537027835846, 0.43468979001045227, 0.13174745440483093, 0.23197153210639954, 0.25895148515701294, -0.08640943467617035, 0.27448832988739014, 0.310767263174057, 0.12378032505512238, -0.3300630450248718, -0.12652844190597534, 0.17275559902191162, 0.21433313190937042, -0.049598805606365204, -0.29239410161972046, 0.1667487472295761, -0.35472872853279114, 0.19045615196228027, -0.13827846944332123, -0.21974098682403564, 0.5895887613296509, -0.09293784201145172, 0.39402419328689575, -0.008831912651658058, 0.4293965995311737, -0.1761626899242401, 0.0032773856073617935, 0.00977754220366478, -0.1891346573829651, -0.19112840294837952, 0.08972834795713425, 0.1841033697128296, 0.36839306354522705, -0.03914858028292656, -0.0192292258143425, -0.39342814683914185, 0.2106931209564209, 0.051264919340610504, -0.18116097152233124, 0.08057022094726562, 0.09469941258430481, 0.003644794225692749, 0.08146863430738449, 0.1105516254901886, 0.13231629133224487, -0.05284340679645538, 0.17227335274219513, -0.23045006394386292, -0.40181827545166016, 0.537592887878418, -0.2715422213077545, -0.521044135093689, -0.13337667286396027, 0.1893044412136078, 0.2041340172290802, 0.09751760214567184, -0.2606784999370575, 0.1858690083026886, 0.5040067434310913, -0.20108062028884888, -0.12133514881134033, 0.2098439335823059, -0.0633695125579834, 0.12403228878974915, -0.013149388134479523, 0.2982320487499237, -0.052830494940280914, -0.33517375588417053, -0.25136739015579224, -0.30501991510391235 ]
https://github.com/huggingface/datasets/issues/6951
load_dataset() should load all subsets, if no specific subset is specified
Please note that each subset can have different feature columns, thus making it impossible to load them all into a unique Dataset instance. That is why subsets were created: to support different but related datasets to coexist in a single dataset repository. If you would like to programmatically get the list of subset names, you can use `datasets.get_dataset_config_names`: https://huggingface.co/docs/datasets/v2.20.0/en/load_hub#configurations
### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```--------------------------------------------------------------------------- ValueError Traceback (most recent call last) [<ipython-input-10-c0cb49385da6>](https://localhost:8080/#) in <cell line: 2>() 1 from datasets import load_dataset ----> 2 dataset = load_dataset("m-a-p/COIG-CQIA") 3 frames [/usr/local/lib/python3.10/dist-packages/datasets/builder.py](https://localhost:8080/#) in _create_builder_config(self, config_name, custom_features, **config_kwargs) 582 if not config_kwargs: 583 example_of_usage = f"load_dataset('{self.dataset_name}', '{self.BUILDER_CONFIGS[0].name}')" --> 584 raise ValueError( 585 "Config name is missing." 586 f"\nPlease pick one among the available configs: {list(self.builder_configs.keys())}" ValueError: Config name is missing. Please pick one among the available configs: ['chinese_traditional', 'coig_pc', 'exam', 'finance', 'douban', 'human_value', 'logi_qa', 'ruozhiba', 'segmentfault', 'wiki', 'wikihow', 'xhs', 'zhihu'] Example of usage: `load_dataset('coig-cqia', 'chinese_traditional')` ``` This means a dataset cannot contain all the subsets at the same time. I guess one workaround is to manually specify the subset files like in [here](https://huggingface.co/datasets/m-a-p/COIG-CQIA/discussions/1#658698b44bb41498f75c5622), which is clumsy. ### Motivation Ideally, if not subset is specified, the API should just try to load all subsets. This makes it much easier to handle datasets w/ subsets. ### Your contribution Not sure since I'm not familiar w/ the lib src.
59
load_dataset() should load all subsets, if no specific subset is specified ### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```--------------------------------------------------------------------------- ValueError Traceback (most recent call last) [<ipython-input-10-c0cb49385da6>](https://localhost:8080/#) in <cell line: 2>() 1 from datasets import load_dataset ----> 2 dataset = load_dataset("m-a-p/COIG-CQIA") 3 frames [/usr/local/lib/python3.10/dist-packages/datasets/builder.py](https://localhost:8080/#) in _create_builder_config(self, config_name, custom_features, **config_kwargs) 582 if not config_kwargs: 583 example_of_usage = f"load_dataset('{self.dataset_name}', '{self.BUILDER_CONFIGS[0].name}')" --> 584 raise ValueError( 585 "Config name is missing." 586 f"\nPlease pick one among the available configs: {list(self.builder_configs.keys())}" ValueError: Config name is missing. Please pick one among the available configs: ['chinese_traditional', 'coig_pc', 'exam', 'finance', 'douban', 'human_value', 'logi_qa', 'ruozhiba', 'segmentfault', 'wiki', 'wikihow', 'xhs', 'zhihu'] Example of usage: `load_dataset('coig-cqia', 'chinese_traditional')` ``` This means a dataset cannot contain all the subsets at the same time. I guess one workaround is to manually specify the subset files like in [here](https://huggingface.co/datasets/m-a-p/COIG-CQIA/discussions/1#658698b44bb41498f75c5622), which is clumsy. ### Motivation Ideally, if not subset is specified, the API should just try to load all subsets. This makes it much easier to handle datasets w/ subsets. ### Your contribution Not sure since I'm not familiar w/ the lib src. Please note that each subset can have different feature columns, thus making it impossible to load them all into a unique Dataset instance. That is why subsets were created: to support different but related datasets to coexist in a single dataset repository. If you would like to programmatically get the list of subset names, you can use `datasets.get_dataset_config_names`: https://huggingface.co/docs/datasets/v2.20.0/en/load_hub#configurations
[ -0.4091421961784363, -0.07037521153688431, -0.13517147302627563, 0.17581580579280853, 0.029934324324131012, 0.17260676622390747, 0.554303765296936, 0.44273942708969116, 0.19543197751045227, 0.3112321197986603, -0.028206272050738335, 0.3462783098220825, -0.035520218312740326, 0.18763893842697144, 0.03476790711283684, -0.07341214269399643, -0.18508583307266235, 0.34758710861206055, -0.10687899589538574, -0.002184022217988968, -0.29324859380722046, 0.06745733320713043, -0.16095706820487976, 0.06412824988365173, -0.1851140856742859, -0.04667852818965912, 0.12414175271987915, 0.15195581316947937, -0.15308816730976105, -0.5492324829101562, 0.21078139543533325, 0.12078386545181274, -0.022259755060076714, 0.060339637100696564, -0.00010431573173264042, 0.05863167345523834, 0.20045939087867737, -0.09436248987913132, -0.6495085954666138, -0.23065023124217987, -0.5079612135887146, -0.21744608879089355, 0.21722394227981567, -0.3400077223777771, -0.14120155572891235, 0.02538524940609932, -0.10434678196907043, -0.14288492500782013, 0.33144670724868774, 0.35285788774490356, 0.26386165618896484, 0.47984227538108826, -0.1471720188856125, -0.20682352781295776, 0.1253127157688141, 0.045632630586624146, -0.20359429717063904, 0.14535626769065857, 0.151504248380661, -0.03795522451400757, 0.01409178227186203, 0.23256675899028778, -0.13665156066417694, 0.18670988082885742, 0.2890152633190155, -0.20765158534049988, 0.14981643855571747, -0.48738470673561096, 0.07682579755783081, 0.2850781977176666, 0.670986533164978, -0.16547027230262756, -0.2713497579097748, -0.4082982540130615, -0.08507169038057327, -0.3246136009693146, -0.06617886573076248, 0.06885319203138351, -0.3859289288520813, -0.04382889345288277, -0.27022916078567505, -0.08867120742797852, -0.12366877496242523, 0.11906721442937851, -0.33641448616981506, 0.2620365023612976, -0.1266649216413498, 0.060134533792734146, -0.02058771625161171, -0.00102321058511734, 0.09965692460536957, -0.2581299841403961, 0.010613109916448593, 0.04317542165517807, -0.42821136116981506, -0.2471664547920227, 0.3318162262439728, -0.21242523193359375, 0.08135001361370087, 0.3484053611755371, -0.01897941157221794, 0.14163297414779663, 0.18844157457351685, 0.22303766012191772, 0.1707548201084137, 0.08034680783748627, 0.4256281852722168, 0.10908986628055573, 0.08578237891197205, 0.0753251239657402, -0.060598962008953094, 0.10147818922996521, -0.2255307286977768, -0.12253564596176147, 0.036649491637945175, 0.022801324725151062, 0.38315194845199585, 0.013749625533819199, -0.43318063020706177, 0.03224245086312294, 0.04263143986463547, -0.22356046736240387, 0.17055773735046387, 0.43719834089279175, -0.09366398304700851, -0.10786402970552444, -0.08095280826091766, 0.1379035860300064, -0.28221383690834045, -0.19312721490859985, -0.2991056442260742, 0.03988592326641083, -0.06326114386320114, -0.07260669022798538, 0.24362067878246307, -0.3061828017234802, 0.3718884587287903, -0.06985656917095184, -0.006084904074668884, -0.012875523418188095, 0.21244056522846222, -0.08769875764846802, -0.042892925441265106, 0.28150975704193115, -0.016581187024712563, -0.08505911380052567, 0.2915087938308716, 0.05556248128414154, -0.1954023241996765, 0.3352046608924866, -0.09563649445772171, -0.36369332671165466, -0.11512002348899841, 0.3140096366405487, -0.18943998217582703, -0.06304938346147537, -0.1844252645969391, 0.18008364737033844, 0.062150757759809494, -0.028623338788747787, -0.08362215012311935, -0.04626847058534622, -0.20575189590454102, -0.2741678059101105, 0.4543144404888153, 0.642479419708252, -0.23947320878505707, -0.2829956114292145, -0.12197698652744293, -0.17634627223014832, -0.19051039218902588, -0.060328055173158646, -0.3491949141025543, 0.40424251556396484, -0.15497948229312897, 0.006870634853839874, 0.6327856183052063, 0.00432615727186203, -0.17660270631313324, 0.269530326128006, -0.01278708130121231, 0.04488706588745117, 0.038799211382865906, -0.0038921525701880455, 0.07425761222839355, -0.019541367888450623, 0.2226743996143341, 0.21890975534915924, 0.028025280684232712, -0.05546876788139343, 0.0556398443877697, -0.18815793097019196, 0.0571243092417717, 0.2649630606174469, 0.3006953001022339, 0.16992485523223877, 0.10488623380661011, -0.10014785826206207, 0.26337292790412903, -0.20562416315078735, -0.13880038261413574, 0.1493852436542511, 0.16578015685081482, 0.15733712911605835, -0.1576819121837616, -0.3121143579483032, -0.45302486419677734, 0.4381944537162781, -0.005816590040922165, -0.10592716932296753, 0.027430415153503418, 0.03216688334941864, -0.4061155915260315, 0.07320784777402878, -0.29312315583229065, -0.013211101293563843, 0.18380963802337646, 0.3923928737640381, -0.013701062649488449, -0.2548786699771881, -0.43766579031944275, 0.0828070417046547, -0.106991708278656, 0.0949338898062706, -0.3188786804676056, 0.28404414653778076, 0.008940085768699646, -0.007509100250899792, 0.10129697620868683, 0.07722251862287521, 0.21424388885498047, -0.029724111780524254, 0.021340390667319298, 0.21572914719581604, 0.05166273191571236, -0.16566185653209686, -0.24051448702812195, -0.10174776613712311, -0.03436679393053055, 0.11463116109371185, 0.1397538036108017, -0.1041940450668335, 0.17873874306678772, 0.02466009557247162, -0.19490545988082886, 0.35910525918006897, 0.1234361082315445, 0.21895630657672882, 0.08674158155918121, -0.005433565005660057, 0.11021862924098969, -0.13600914180278778, -0.13711465895175934, -0.3379097580909729, 0.012621350586414337, 0.13214658200740814, 0.21232470870018005, 0.22775188088417053, -0.34261736273765564, -0.016186192631721497, 0.32232603430747986, -0.07096636295318604, 0.04294674098491669, 0.08991654217243195, 0.03390609472990036, 0.10658308118581772, 0.13204973936080933, -0.001615915447473526, 0.35365957021713257, 0.3258823752403259, -0.13353218138217926, -0.1599922627210617, 0.022462937980890274, -0.09338413178920746, 0.2860974669456482, 0.14406535029411316, 0.23433375358581543, 0.08652888983488083, 0.042188744992017746, -0.14105035364627838, -0.31902340054512024, -0.1956968903541565, 0.1337961107492447, 0.03947439789772034, -0.3755183815956116, -0.012378847226500511, -0.20951321721076965, -0.06250176578760147, 0.023704752326011658, -0.19158270955085754, -0.013663440942764282, -0.2512795031070709, -0.04915989190340042, 0.16927215456962585, -0.15573176741600037, 0.2660607099533081, -0.30652254819869995, 0.15325714647769928, 0.06696997582912445, -0.34752362966537476, 0.011353440582752228, -0.1064218282699585, -0.10699684172868729, 0.22126545011997223, 0.03520023822784424, -0.02838277816772461, 0.40725746750831604, -0.23492197692394257, -0.04704959690570831, -0.19618788361549377, -0.14205613732337952, 0.2903353273868561, -0.17141978442668915, 0.27466490864753723, 0.1665632128715515, 0.2311014086008072, 0.16450488567352295, -0.34815460443496704, 0.4084303081035614, 0.4089158773422241, -0.12336361408233643, 0.1895972043275833, 0.1352521926164627, -0.08730658888816833, 0.07748517394065857, -0.40725812315940857, -0.2100871056318283, -0.48810821771621704, 0.039169445633888245, 0.4007410407066345, 0.3367556929588318, 0.5569782257080078, 0.21427950263023376, 0.004336145706474781, -0.14729706943035126, 0.22892794013023376, -0.1349707692861557, -0.18240679800510406, 0.29540154337882996, -0.13674181699752808, -0.09223279356956482, -0.12216053903102875, -0.13775832951068878, 0.13900944590568542, 0.09422163665294647, -0.5006142258644104, 0.006211739964783192, -0.3727198541164398, 0.4017784297466278, -0.12059129774570465, 0.07382531464099884, 0.2511572241783142, 0.27107203006744385, -0.17047373950481415, -0.05552776902914047, -0.3172314763069153, 0.05459603667259216, 0.04081950709223747, 0.07195845246315002, -0.0077441781759262085, 0.309480220079422, -0.12218675017356873, 0.5914710164070129, 0.10787585377693176, -0.0028225481510162354, 0.358465313911438, -0.20057950913906097, 0.3313576281070709, -0.19459420442581177, -0.5170276761054993, 0.19202792644500732, 0.09831608831882477, -0.016540657728910446, 0.1892511546611786, -0.10445240885019302, -0.07471204549074173, -0.32539501786231995, -0.2661534547805786, -0.0943366289138794, -0.2693534791469574, 0.14799639582633972, -0.18883536756038666, 0.28649649024009705, 0.004151016473770142, 0.2535404562950134, -0.3528437614440918, 0.17191830277442932, -0.1803227961063385, 0.1125815138220787, 0.307244211435318, -0.1411779671907425, -0.21339456737041473, 0.14739467203617096, -0.2298680543899536, 0.1063132956624031, -0.176447331905365, 0.060236457735300064, -0.09637574106454849, -0.10680625587701797, -0.08070167899131775, 0.17565153539180756, 0.2532593011856079, -0.06709078699350357, 0.19995078444480896, 0.3265708386898041, -0.1713726669549942, -0.33063820004463196, -0.03621968626976013, -0.06824665516614914, 0.261623352766037, -0.06402803957462311, 0.2698907256126404, -0.2658900022506714, -0.2933991849422455, 0.4445362091064453, 0.36143985390663147, -0.20904019474983215, -0.2570941150188446, -0.25081732869148254, -0.16686737537384033, -0.47347399592399597, 0.027131810784339905, -0.15512964129447937, 0.1629391759634018, 0.2514953911304474, -0.0988839715719223, -0.0978156104683876, -0.137960284948349, 0.08530744165182114, 0.28643694519996643, 0.11986542493104935, 0.2109483778476715, 0.14635784924030304, -0.2053382694721222, -0.03276775777339935, 0.24907954037189484, 0.5245509743690491, 0.04705043137073517, -0.28950873017311096, 0.010928903706371784, 0.11131778359413147, 0.31098368763923645, 0.18080277740955353, -0.12913237512111664, -0.07510759681463242, -0.027494210749864578, 0.21834085881710052, -0.11635997146368027, 0.07234372198581696, 0.1211133524775505, -0.12486632168292999, -0.16144903004169464, -0.5974166393280029, 0.4711538255214691, -0.2281598001718521, 0.024629943072795868, 0.2796221375465393, -0.06956669688224792, -0.2503662109375, 0.28936296701431274, 0.1913224756717682, 0.6369068622589111, 0.27115339040756226, -0.06875193119049072, 0.4547263979911804, 0.15938544273376465, 0.2659998834133148, 0.0026853233575820923, 0.1697012335062027, -0.3926279842853546, -0.19884592294692993, -0.005346028134226799, -0.14687903225421906, 0.2582056224346161, 0.26979267597198486, -0.1771206557750702, 0.2350831925868988, -0.14271901547908783, 0.3004680573940277, 0.16409385204315186, 0.21305087208747864, -0.2630053162574768, -0.21706604957580566, -0.32724785804748535, 0.21173298358917236, -0.08005253970623016, 0.25279656052589417, -0.0051554967649281025, -0.03757703676819801, 0.1095486432313919, -0.13961583375930786, -0.1266416609287262, 0.12571334838867188, -0.42533281445503235, 0.17635321617126465, -0.1007421463727951, -0.1457149088382721, 0.15115632116794586, 0.19874036312103271, -0.07974410057067871, 0.29456475377082825, 0.000969940796494484, 0.2709693908691406, 0.06411943584680557, 0.05528406426310539, -0.1846751868724823, -0.019246511161327362, 0.295804500579834, -0.10983658581972122, -0.30401909351348877, 0.21297839283943176, -0.21043209731578827, -0.048385217785835266, 0.039984703063964844, 0.18112701177597046, 0.16160935163497925, -0.41808632016181946, -0.3261195421218872, -0.050050824880599976, 0.12786172330379486, -0.2375982105731964, 0.20757701992988586, -0.05027484893798828, -0.13818547129631042, 0.11176151037216187, -0.12236383557319641, -0.18960240483283997, -0.09708210825920105, 0.09465573728084564, 0.08963783830404282, 0.05458121746778488, 0.5527044534683228, 0.09314534068107605, -0.05287192016839981, -0.37773582339286804, 0.1308329701423645, 0.13069219887256622, -0.0806075781583786, 0.2202085256576538, 0.1364726424217224, 0.0007304847240447998, -0.031866494566202164, 0.437296986579895, 0.03396262228488922, 0.059739045798778534, 0.09254328906536102, -0.31448066234588623, -0.19495825469493866, -0.00043564289808273315, 0.030403880402445793, 0.29274773597717285, 0.0016347765922546387, 0.0348472073674202, -0.009420477785170078, 0.15045538544654846, -0.45348289608955383, -0.1514609307050705, -0.4301261901855469, 0.24268701672554016, 0.0379876010119915, 0.028448181226849556, -0.05085353925824165, -0.00557888625189662, 0.25379499793052673, -0.20977431535720825, -0.285490483045578, -0.37018823623657227, -0.08752644062042236, 0.10947614908218384, -0.006384776905179024, 0.012343758717179298, 0.029570668935775757, -0.09003648906946182, -0.11549758911132812, -0.24616867303848267, 0.16107496619224548, 0.10363990813493729, -0.04815801978111267, 0.17329995334148407, 0.04768329858779907, 0.01684754341840744, -0.11747314780950546, 0.11299671977758408, -0.11641116440296173, 0.13116391003131866, 0.14635226130485535, 0.22442442178726196, 0.002643862273544073, -0.019032787531614304, -0.057917267084121704, 0.1393566131591797, -0.0817539244890213, 0.00046952441334724426, 0.17295265197753906, -0.25575125217437744, -0.03429579362273216, 0.0654008686542511, 0.27403703331947327, 0.3483244776725769, -0.08761660754680634, 0.15033987164497375, -0.02508346363902092, 0.3441272974014282, -0.42471298575401306, -0.13299541175365448, 0.2109757661819458, -0.22663044929504395, 0.37213000655174255, 0.25718000531196594, 0.03798825666308403, -0.09963855147361755, 0.17930659651756287, -0.0021581966429948807, 0.1437925100326538, -0.01515224575996399, 0.2438252866268158, 0.5112255215644836, 0.04654089733958244, -0.1523122489452362, 0.30598315596580505, 0.26707613468170166, 0.2634917199611664, 0.24428293108940125, -0.16192755103111267, 0.10204795002937317, 0.06101018190383911, -0.007505122572183609, -0.01650048792362213, -0.5231812000274658, 0.5263923406600952, 0.0580020472407341, -0.14321689307689667, -0.1154608502984047, -0.06785425543785095, -0.08062285929918289, -0.1719934195280075, 0.060501884669065475, -0.2071124017238617, 0.2637144923210144, -0.2600288391113281, -0.07503663003444672, -0.431338369846344, -0.3597641885280609, -0.1574704945087433, -0.07602521032094955, 0.02944209612905979, -0.5828275680541992, -0.031244128942489624, -0.0597761869430542, -0.04713369905948639, -0.36031052470207214, 0.24318623542785645, 0.1715448796749115, -0.10348231345415115, -0.3986307382583618, 0.25582805275917053, 0.264965295791626, -0.031086400151252747, -0.0048399195075035095, 0.2985447347164154, 0.47150328755378723, 0.1860429346561432, 0.17981590330600739, 0.111478291451931, -0.013377372175455093, -0.23558904230594635, -0.22227860987186432, -0.021080821752548218, -0.1448490470647812, 0.37319549918174744, 0.46912312507629395, 0.3198518753051758, -0.29300543665885925, 0.007948115468025208, 0.10622824728488922, -0.20294341444969177, -0.5564060211181641, 0.22109907865524292, 0.15419870615005493, -0.1975584626197815, -0.04996539652347565, -0.02658286690711975, -0.40510132908821106, -0.16730698943138123, 0.5586975812911987, 0.16461756825447083, 0.13638466596603394, -0.012473326176404953, 0.14642779529094696, -0.12823477387428284, 0.41412732005119324, -0.16120418906211853, 0.04260310158133507, -0.41045039892196655, 0.07181274890899658, -0.4656650722026825, -0.09072832018136978, -0.034736957401037216, -0.1848537027835846, 0.43468979001045227, 0.13174745440483093, 0.23197153210639954, 0.25895148515701294, -0.08640943467617035, 0.27448832988739014, 0.310767263174057, 0.12378032505512238, -0.3300630450248718, -0.12652844190597534, 0.17275559902191162, 0.21433313190937042, -0.049598805606365204, -0.29239410161972046, 0.1667487472295761, -0.35472872853279114, 0.19045615196228027, -0.13827846944332123, -0.21974098682403564, 0.5895887613296509, -0.09293784201145172, 0.39402419328689575, -0.008831912651658058, 0.4293965995311737, -0.1761626899242401, 0.0032773856073617935, 0.00977754220366478, -0.1891346573829651, -0.19112840294837952, 0.08972834795713425, 0.1841033697128296, 0.36839306354522705, -0.03914858028292656, -0.0192292258143425, -0.39342814683914185, 0.2106931209564209, 0.051264919340610504, -0.18116097152233124, 0.08057022094726562, 0.09469941258430481, 0.003644794225692749, 0.08146863430738449, 0.1105516254901886, 0.13231629133224487, -0.05284340679645538, 0.17227335274219513, -0.23045006394386292, -0.40181827545166016, 0.537592887878418, -0.2715422213077545, -0.521044135093689, -0.13337667286396027, 0.1893044412136078, 0.2041340172290802, 0.09751760214567184, -0.2606784999370575, 0.1858690083026886, 0.5040067434310913, -0.20108062028884888, -0.12133514881134033, 0.2098439335823059, -0.0633695125579834, 0.12403228878974915, -0.013149388134479523, 0.2982320487499237, -0.052830494940280914, -0.33517375588417053, -0.25136739015579224, -0.30501991510391235 ]
https://github.com/huggingface/datasets/issues/6950
`Dataset.with_format` behaves inconsistently with documentation
Hi ! It seems the documentation was outdated in this paragraph I fixed it here: https://github.com/huggingface/datasets/pull/6956
### Describe the bug The actual behavior of the interface `Dataset.with_format` is inconsistent with the documentation. https://huggingface.co/docs/datasets/use_with_pytorch#n-dimensional-arrays https://huggingface.co/docs/datasets/v2.19.0/en/use_with_tensorflow#n-dimensional-arrays > If your dataset consists of N-dimensional arrays, you will see that by default they are considered as nested lists. > In particular, a PyTorch formatted dataset outputs nested lists instead of a single tensor. > A TensorFlow formatted dataset outputs a RaggedTensor instead of a single tensor. But I get a single tensor by default, which is inconsistent with the description. Actually the current behavior seems more reasonable to me. Therefore, the document needs to be modified. ### Steps to reproduce the bug ```python >>> from datasets import Dataset >>> data = [[[1, 2],[3, 4]],[[5, 6],[7, 8]]] >>> ds = Dataset.from_dict({"data": data}) >>> ds = ds.with_format("torch") >>> ds[0] {'data': tensor([[1, 2], [3, 4]])} >>> ds = ds.with_format("tf") >>> ds[0] {'data': <tf.Tensor: shape=(2, 2), dtype=int64, numpy= array([[1, 2], [3, 4]])>} ``` ### Expected behavior ```python >>> from datasets import Dataset >>> data = [[[1, 2],[3, 4]],[[5, 6],[7, 8]]] >>> ds = Dataset.from_dict({"data": data}) >>> ds = ds.with_format("torch") >>> ds[0] {'data': [tensor([1, 2]), tensor([3, 4])]} >>> ds = ds.with_format("tf") >>> ds[0] {'data': <tf.RaggedTensor [[1, 2], [3, 4]]>} ``` ### Environment info datasets==2.19.1 torch==2.1.0 tensorflow==2.13.1
16
`Dataset.with_format` behaves inconsistently with documentation ### Describe the bug The actual behavior of the interface `Dataset.with_format` is inconsistent with the documentation. https://huggingface.co/docs/datasets/use_with_pytorch#n-dimensional-arrays https://huggingface.co/docs/datasets/v2.19.0/en/use_with_tensorflow#n-dimensional-arrays > If your dataset consists of N-dimensional arrays, you will see that by default they are considered as nested lists. > In particular, a PyTorch formatted dataset outputs nested lists instead of a single tensor. > A TensorFlow formatted dataset outputs a RaggedTensor instead of a single tensor. But I get a single tensor by default, which is inconsistent with the description. Actually the current behavior seems more reasonable to me. Therefore, the document needs to be modified. ### Steps to reproduce the bug ```python >>> from datasets import Dataset >>> data = [[[1, 2],[3, 4]],[[5, 6],[7, 8]]] >>> ds = Dataset.from_dict({"data": data}) >>> ds = ds.with_format("torch") >>> ds[0] {'data': tensor([[1, 2], [3, 4]])} >>> ds = ds.with_format("tf") >>> ds[0] {'data': <tf.Tensor: shape=(2, 2), dtype=int64, numpy= array([[1, 2], [3, 4]])>} ``` ### Expected behavior ```python >>> from datasets import Dataset >>> data = [[[1, 2],[3, 4]],[[5, 6],[7, 8]]] >>> ds = Dataset.from_dict({"data": data}) >>> ds = ds.with_format("torch") >>> ds[0] {'data': [tensor([1, 2]), tensor([3, 4])]} >>> ds = ds.with_format("tf") >>> ds[0] {'data': <tf.RaggedTensor [[1, 2], [3, 4]]>} ``` ### Environment info datasets==2.19.1 torch==2.1.0 tensorflow==2.13.1 Hi ! It seems the documentation was outdated in this paragraph I fixed it here: https://github.com/huggingface/datasets/pull/6956
[ -0.14098818600177765, -0.8504533171653748, 0.04622528329491615, 0.36737358570098877, 0.1451461911201477, -0.06568746268749237, 0.5341942310333252, 0.17983390390872955, 0.1833527535200119, 0.16439074277877808, -0.15243518352508545, 0.4518921375274658, -0.10131584107875824, 0.12216348201036453, 0.1607181429862976, -0.39651310443878174, 0.1950821429491043, -0.02058589458465576, -0.22450169920921326, 0.05001328885555267, 0.007744688540697098, 0.13397328555583954, -0.21548423171043396, -0.14115367829799652, -0.27515456080436707, -0.12176341563463211, -0.10281096398830414, 0.008560054004192352, 0.010934035293757915, -0.25053051114082336, 0.4986211657524109, 0.046569474041461945, -0.09748920798301697, 0.6672680377960205, -0.0001125795824918896, 0.16664926707744598, 0.15052033960819244, 0.06582498550415039, -0.011862066574394703, -0.21938906610012054, 0.4378058612346649, -0.38094446063041687, 0.1770976334810257, -0.31320980191230774, -0.299528032541275, -0.4361855983734131, -0.057802923023700714, -0.07567883282899857, 0.4484267830848694, 0.17566795647144318, 0.2026403397321701, 0.5451523065567017, 0.25199395418167114, -0.026786809787154198, -0.1614013910293579, 0.15825241804122925, -0.04213777929544449, 0.26656022667884827, -0.027591295540332794, 0.1939045786857605, 0.00824575126171112, 0.27685248851776123, -0.15669097006320953, 0.1783590018749237, 0.32786524295806885, 0.1988019496202469, -0.3209228813648224, -0.15727733075618744, -0.15876251459121704, 0.3622358441352844, 0.3231652081012726, -0.17255467176437378, -0.389247864484787, -0.19243603944778442, -0.18877966701984406, -0.3377310335636139, 0.11220142245292664, 0.11196726560592651, -0.008294239640235901, 0.09012170881032944, -0.21878156065940857, 0.25980791449546814, -0.33132150769233704, 0.4304713010787964, -0.1425715982913971, 0.06508253514766693, -0.22812993824481964, 0.09847407788038254, -0.0472646988928318, -0.031108595430850983, -0.09626069664955139, -0.16086100041866302, 0.21990114450454712, 0.1275273710489273, -0.1269824355840683, 0.06228886544704437, 0.09942980110645294, -0.3609258532524109, 0.3309279978275299, -0.08769222348928452, 0.033072613179683685, 0.25559568405151367, -0.2071426659822464, 0.21679431200027466, 0.11578088998794556, 0.22934560477733612, 0.0034600868821144104, 0.009495466016232967, 0.09698226302862167, 0.1630532592535019, 0.3200794756412506, -0.0006120279431343079, 0.21639704704284668, -0.09407516568899155, -0.05643817037343979, -0.27005255222320557, 0.40128815174102783, 0.1340494155883789, -0.23208634555339813, -0.0970575362443924, -0.37237992882728577, -0.11225235462188721, -0.033386074006557465, 0.23247084021568298, -0.28334441781044006, 0.16364187002182007, 0.1954815685749054, 0.12308871746063232, -0.1398729681968689, 0.19212037324905396, -0.28364673256874084, -0.0936088114976883, -0.07807193696498871, -0.16749624907970428, 0.06275860965251923, -0.35764434933662415, 0.2082211822271347, 0.41408151388168335, 0.37159472703933716, -0.07860039174556732, -0.19887349009513855, 0.07506649196147919, 0.37661048769950867, 0.10115540027618408, -0.2855306565761566, 0.1363018900156021, 0.06818031519651413, 0.006375409662723541, -0.15717720985412598, -0.05074935406446457, -0.4248615801334381, -0.29257428646087646, -0.30994999408721924, 0.16104388236999512, -0.1442435085773468, 0.12501129508018494, 0.227392315864563, 0.2391941100358963, 0.16395743191242218, -0.09088167548179626, -0.04632586985826492, -0.11895465850830078, -0.45933136343955994, -0.23692992329597473, 0.3174320459365845, -0.03865902125835419, -0.1789764165878296, -0.20712411403656006, 0.41587868332862854, 0.1417199820280075, 0.16117678582668304, 0.4548344612121582, -0.22922644019126892, 0.00018431991338729858, -0.30068206787109375, 0.006719835102558136, 0.17241674661636353, -0.1492471545934677, -0.35608023405075073, 0.09442491829395294, 0.014622300863265991, 0.33032187819480896, 0.12903578579425812, 0.011240674182772636, 0.12767046689987183, 0.2157752364873886, 0.19406792521476746, 0.18538719415664673, 0.17171397805213928, -0.02209656685590744, -0.2507737874984741, -0.09150966256856918, 0.20489536225795746, 0.003520062193274498, -0.2825741171836853, -0.19441774487495422, -0.25304704904556274, -0.04447785019874573, 0.45566585659980774, 0.0005638822913169861, -0.16278019547462463, 0.21657304465770721, 0.13936127722263336, 0.15611952543258667, 0.16555967926979065, -0.2758837044239044, -0.6464887261390686, 0.1724134385585785, 0.23598897457122803, 0.16248252987861633, 0.05586753040552139, -0.2336300164461136, -0.10531865805387497, 0.0033589713275432587, -0.19787313044071198, -0.21380525827407837, 0.1262367069721222, 0.08968943357467651, -0.04818790405988693, 0.0144161656498909, -0.2797105014324188, 0.12994073331356049, -0.19221623241901398, 0.1258682757616043, -0.40154269337654114, 0.27640500664711, -0.057204246520996094, -0.17559762299060822, -0.09066842496395111, 0.34265249967575073, 0.05827254801988602, -0.17268094420433044, 0.05251694843173027, 0.3505295515060425, 0.031180890277028084, -0.15811200439929962, -0.8453709483146667, 0.13951686024665833, 0.36425527930259705, -0.04285023361444473, -0.17395302653312683, 0.23290765285491943, -0.11016911268234253, 0.082598976790905, -0.3389911949634552, 0.26045936346054077, 0.1041201502084732, 0.10604523867368698, -0.12686213850975037, 0.027601974084973335, 0.12088599801063538, 0.06314410269260406, -0.18032331764698029, -0.2705979645252228, 0.22287869453430176, -0.25129303336143494, 0.2556792199611664, -0.020263148471713066, -0.6058074831962585, 0.1652332842350006, 0.4420454502105713, -0.12701484560966492, 0.0000858306884765625, 0.11901647597551346, -0.13395372033119202, -0.009974190965294838, 0.06914825737476349, -0.23040036857128143, 0.23876971006393433, 0.23703935742378235, 0.06128830462694168, 0.07308032363653183, -0.30417880415916443, -0.1793515831232071, 0.05907418578863144, 0.006364397704601288, -0.1670060157775879, -0.03460422158241272, 0.2041684091091156, 0.07720396667718887, -0.27809640765190125, 0.04576598480343819, -0.18649981915950775, -0.033644646406173706, -0.35380446910858154, 0.14760811626911163, -0.3247658312320709, -0.3762085735797882, -0.4859960377216339, -0.20140887796878815, -0.2768590450286865, -0.1332496553659439, -0.04558219015598297, 0.2996533513069153, -0.14815554022789001, 0.33301517367362976, 0.633608877658844, 0.13669949769973755, 0.25418931245803833, 0.02483951859176159, -0.09761001914739609, 0.15773361921310425, -0.2059299647808075, -0.012902110815048218, -0.07252291589975357, -0.23537729680538177, 0.28775322437286377, 0.045396849513053894, -0.14696498215198517, -0.2689353823661804, -0.5274158120155334, 0.3164147734642029, -0.06351017951965332, 0.09905554354190826, 0.3693424463272095, 0.3467295169830322, -0.02927209436893463, -0.21599794924259186, 0.28461697697639465, -0.18754060566425323, -0.1767607480287552, 0.1473134607076645, -0.003509712405502796, 0.05773882195353508, -0.36583423614501953, -0.3189888000488281, -0.020447982475161552, -0.33583521842956543, 0.33332425355911255, -0.129489928483963, 0.18747064471244812, 0.5303512811660767, 0.11899271607398987, 0.0860210508108139, -0.22849121689796448, 0.22581638395786285, -0.24136853218078613, -0.189149871468544, 0.2680230736732483, -0.17192260921001434, -0.5703409314155579, -0.17468208074569702, -0.03943697735667229, 0.014193825423717499, 0.2641766667366028, -0.27741456031799316, -0.5186289548873901, -0.14187070727348328, 0.24473819136619568, -0.09770984947681427, 0.3167867958545685, 0.30524128675460815, -0.016417473554611206, -0.017079409211874008, -0.08588610589504242, -0.11135175824165344, 0.23817133903503418, -0.0313287079334259, -0.12937211990356445, 0.04238058626651764, 0.25654223561286926, 0.2871244251728058, 0.22785165905952454, 0.3622048795223236, -0.4699711501598358, -0.031635306775569916, -0.21574194729328156, 0.3944740295410156, -0.08904235810041428, -0.23554763197898865, 0.10028208047151566, -0.030217111110687256, 0.21647831797599792, 0.17272064089775085, -0.08823374658823013, -0.051874756813049316, 0.09112638235092163, 0.14400739967823029, -0.049616675823926926, -0.1284361034631729, 0.20672884583473206, 0.028073599562048912, 0.28965142369270325, -0.12314839661121368, 0.1883423924446106, 0.03357358276844025, -0.12848520278930664, 0.013487381860613823, 0.15813346207141876, 0.14961732923984528, 0.14795973896980286, -0.40098071098327637, -0.08140991628170013, -0.3445306718349457, 0.27887386083602905, 0.16164708137512207, 0.3832772374153137, -0.020991992205381393, -0.08591148257255554, -0.037631526589393616, 0.26547324657440186, 0.66309654712677, 0.23056696355342865, -0.21021054685115814, 0.00405845046043396, -0.2483997941017151, -0.717051088809967, -0.05744000896811485, -0.21901513636112213, 0.048964694142341614, 0.053665466606616974, 0.626608669757843, -0.4650963842868805, -0.33397945761680603, 0.2300831377506256, 0.2628397047519684, -0.12540458142757416, -0.19963569939136505, -0.2489851415157318, -0.29233673214912415, -0.07093910872936249, 0.018458612263202667, 0.16223573684692383, 0.09366872906684875, 0.03522070497274399, -0.12659478187561035, -0.15356029570102692, -0.18489328026771545, -0.0587039440870285, -0.16398970782756805, 0.41809722781181335, 0.18351858854293823, -0.0011799391359090805, 0.35732606053352356, 0.38523557782173157, 0.12997481226921082, 0.05385064706206322, -0.24018123745918274, -0.28707781434059143, -0.14538097381591797, 0.02998487278819084, 0.019624680280685425, 0.24136009812355042, -0.09168282896280289, 0.2056031972169876, -0.07232693582773209, 0.21479976177215576, -0.31025996804237366, 0.2973095774650574, 0.5274115800857544, 0.19551882147789001, -0.20719709992408752, -0.5085216760635376, 0.2911647856235504, 0.11505746841430664, 0.17181845009326935, 0.5216485261917114, 0.1909700632095337, -0.10495608299970627, 0.2254534512758255, -0.04903172701597214, 0.6780509352684021, 0.142682746052742, 0.4009034037590027, 0.7354581952095032, -0.17836174368858337, 0.5527933835983276, 0.008937101811170578, 0.23900538682937622, -0.16265922784805298, -0.3966856896877289, -0.03376566991209984, -0.13905981183052063, 0.0779641717672348, 0.0523771233856678, -0.11889924108982086, 0.11898397654294968, -0.06706345081329346, 0.3072667419910431, 0.0020016655325889587, 0.11778956651687622, 0.0917414054274559, -0.2668150067329407, -0.4072284698486328, 0.0635351687669754, -0.17692695558071136, 0.10165956616401672, -0.035477105528116226, -0.12665143609046936, 0.04733875021338463, -0.2492843121290207, -0.026401817798614502, -0.16876065731048584, -0.3466235399246216, 0.2124808132648468, 0.18217825889587402, -0.6044883728027344, 0.0055722426623106, 0.36137402057647705, 0.10821640491485596, 0.07352186739444733, -0.09834969788789749, -0.17775996029376984, -0.12929418683052063, 0.0035530920140445232, -0.07569378614425659, -0.31298527121543884, 0.38374581933021545, -0.030924348160624504, -0.027715936303138733, -0.11738190799951553, 0.020796403288841248, 0.06328295171260834, -0.03828953951597214, 0.2398514449596405, -0.3256063461303711, -0.29573357105255127, -0.20259378850460052, -0.011987045407295227, 0.12448418140411377, -0.10166342556476593, 0.10474571585655212, 0.2933635115623474, -0.19614964723587036, 0.06198694184422493, 0.09582574665546417, -0.1672508418560028, -0.1910591721534729, 0.3900195360183716, 0.11129413545131683, -0.11828163266181946, 0.332404226064682, 0.1854895055294037, -0.18417955935001373, -0.016323568299412727, -0.04869920387864113, 0.360236257314682, -0.32381707429885864, 0.0708799883723259, -0.12359213083982468, 0.13687215745449066, -0.2827124297618866, 0.25472167134284973, 0.046155594289302826, -0.007894419133663177, -0.12466549873352051, -0.12227259576320648, -0.28128060698509216, 0.26839733123779297, 0.08690440654754639, 0.3718537986278534, 0.22253456711769104, 0.25885483622550964, -0.026141468435525894, -0.09374808520078659, -0.3386111855506897, 0.0366080105304718, 0.27984634041786194, 0.05574426054954529, 0.08601538091897964, -0.025640904903411865, 0.32215654850006104, -0.25526416301727295, 0.10801780223846436, 0.09786775708198547, -0.2168758064508438, -0.18781855702400208, -0.2617591321468353, 0.041707843542099, -0.07345199584960938, -0.23744162917137146, 0.14521349966526031, -0.02587890625, -0.13212057948112488, -0.24262195825576782, 0.35005688667297363, 0.26596206426620483, -0.05838032066822052, 0.19683778285980225, -0.16775311529636383, 0.32088881731033325, -0.012488985434174538, -0.10793055593967438, -0.023018956184387207, 0.08203230053186417, 0.16661520302295685, -0.042676955461502075, -0.20471064746379852, -0.08882395178079605, -0.00009035745461005718, 0.09524817019701004, 0.1340699940919876, -0.03559520095586777, 0.2152603268623352, -0.2745058536529541, -0.1893264651298523, -0.0923909991979599, 0.5992534160614014, 0.1312432438135147, -0.29410240054130554, -0.02958403341472149, 0.03902558982372284, 0.21369633078575134, -0.14425401389598846, -0.2535436153411865, 0.292479932308197, 0.18197481334209442, 0.2925056219100952, 0.2265583574771881, 0.06767536699771881, 0.25669705867767334, -0.19682668149471283, 0.1572626233100891, 0.06964969635009766, -0.07031432539224625, 0.3019525706768036, 0.13441255688667297, -0.05934302508831024, 0.10315786302089691, 0.0569833442568779, 0.05618211627006531, 0.3137243688106537, 0.06705062836408615, 0.3592712879180908, 0.4785173535346985, 0.12572425603866577, -0.09058913588523865, 0.36052876710891724, -0.16009318828582764, -0.2918596565723419, -0.13711687922477722, -0.03958427906036377, 0.13248515129089355, -0.08081309497356415, 0.44356489181518555, -0.31055355072021484, -0.38883015513420105, 0.01976850815117359, 0.006047334522008896, -0.21665874123573303, 0.1222352534532547, 0.04434805363416672, -0.00435396283864975, 0.07200387120246887, -0.21545375883579254, -0.09376782178878784, -0.2247905284166336, 0.16661641001701355, -0.042042337357997894, -0.051551684737205505, -0.11235737800598145, -0.2001243531703949, 0.25405290722846985, 0.20497918128967285, 0.0391971580684185, 0.30786997079849243, 0.3764258623123169, -0.23178303241729736, -0.2011975646018982, 0.3222264051437378, 0.39248618483543396, 0.010560199618339539, 0.15939919650554657, 0.08959870040416718, -0.07485426962375641, -0.058797553181648254, 0.020332951098680496, 0.12251938134431839, -0.00422234833240509, -0.07993891835212708, 0.28023257851600647, 0.15466755628585815, -0.20192278921604156, 0.20782026648521423, -0.10355699062347412, 0.20727156102657318, -0.461551308631897, 0.15422670543193817, -0.40124616026878357, -0.26521268486976624, -0.10011625289916992, -0.22820627689361572, -0.35310477018356323, 0.015377037227153778, 0.6184979677200317, 0.36685386300086975, 0.09266289323568344, -0.11263617873191833, 0.10982480645179749, 0.1687113642692566, 0.5778986811637878, 0.023786842823028564, 0.3341454565525055, 0.08772580325603485, -0.20803070068359375, -0.30479753017425537, 0.2450849413871765, -0.028731737285852432, 0.15862783789634705, -0.009221948683261871, 0.08573473244905472, 0.09284168481826782, -0.007516324520111084, 0.05999475345015526, -0.37145891785621643, 0.20037075877189636, 0.14705926179885864, -0.2630883455276489, -0.18190985918045044, -0.27999448776245117, -0.05083274841308594, 0.17483925819396973, -0.1303974688053131, 0.15784306824207306, -0.22356384992599487, 0.08718942850828171, -0.0513758510351181, 0.4505794644355774, -0.15384899079799652, 0.019353333860635757, 0.043192218989133835, 0.16761302947998047, 0.26167261600494385, -0.06804339587688446, -0.2956700921058655, -0.1198001354932785, 0.06972064822912216, -0.3145676851272583, 0.6156624555587769, -0.06996318697929382, 0.5117186307907104, -0.13977095484733582, -0.48896631598472595, -0.24065104126930237, 0.37356749176979065, 0.22464372217655182, -0.416977196931839, -0.08849693834781647, 0.2519708275794983, -0.14940962195396423, -0.15728114545345306, 0.28542181849479675, 0.7320587038993835, -0.06811048090457916, -0.019715195521712303, -0.09988972544670105, -0.4382573068141937, 0.5814223289489746, -0.5384768843650818, -0.1700575053691864, -0.05556726083159447, 0.07646729052066803, 0.17392072081565857, -0.062420301139354706, -0.5753077268600464, -0.060198619961738586, 0.25342032313346863, -0.17878687381744385, -0.30195528268814087, 0.1505817472934723, 0.08905164897441864, -0.02369629219174385, -0.09787310659885406, 0.7474339008331299, 0.38678184151649475, -0.42916339635849, 0.18943358957767487, -0.3285778760910034 ]
https://github.com/huggingface/datasets/issues/6949
load_dataset error
Hi, @lion-ops. In our Continuous Integration we have many tests on loading JSON files and all of them work properly. Could you please share your "train.json" file, so that we can try to reproduce the issue you have?
### Describe the bug Why does the program get stuck when I use load_dataset method, and it still gets stuck after loading for several hours? In fact, my json file is only 21m, and I can load it in one go using open('', 'r'). ### Steps to reproduce the bug 1. pip install datasets==2.19.2 2. from datasets import Dataset, DatasetDict, NamedSplit, Split, load_dataset 3. data = load_dataset('json', data_files='train.json') ### Expected behavior It is able to load my json correctly ### Environment info datasets==2.19.2
38
load_dataset error ### Describe the bug Why does the program get stuck when I use load_dataset method, and it still gets stuck after loading for several hours? In fact, my json file is only 21m, and I can load it in one go using open('', 'r'). ### Steps to reproduce the bug 1. pip install datasets==2.19.2 2. from datasets import Dataset, DatasetDict, NamedSplit, Split, load_dataset 3. data = load_dataset('json', data_files='train.json') ### Expected behavior It is able to load my json correctly ### Environment info datasets==2.19.2 Hi, @lion-ops. In our Continuous Integration we have many tests on loading JSON files and all of them work properly. Could you please share your "train.json" file, so that we can try to reproduce the issue you have?
[ -0.23484677076339722, -0.053065165877342224, -0.09888695180416107, 0.3112257122993469, 0.36609506607055664, 0.18837383389472961, 0.2913392186164856, 0.39364364743232727, 0.21029119193553925, 0.0901610478758812, 0.22338902950286865, 0.539984405040741, -0.022340942174196243, 0.27762705087661743, -0.11389027535915375, -0.18780355155467987, 0.09600017219781876, 0.056091248989105225, 0.17854522168636322, 0.06596661359071732, -0.2250734269618988, 0.2986888289451599, -0.1880009025335312, -0.04938802123069763, -0.40556395053863525, -0.11489865928888321, 0.1674765944480896, 0.2108619213104248, -0.17547497153282166, -0.6913220882415771, 0.3993304371833801, -0.18695800006389618, 0.033503931015729904, 0.6631093621253967, -0.00011554675438674167, -0.012771327048540115, 0.5554730892181396, 0.00146389938890934, -0.39141178131103516, -0.45470136404037476, -0.150386780500412, -0.4339461922645569, 0.4812336266040802, -0.19606995582580566, -0.008332492783665657, -0.24038131535053253, -0.1411377340555191, -0.05614416301250458, 0.6808346509933472, 0.2203996181488037, 0.1363983154296875, -0.03652254119515419, 0.25082316994667053, -0.017496023327112198, 0.0067096129059791565, -0.11499753594398499, 0.007343405857682228, 0.33631089329719543, 0.23083046078681946, 0.11378447711467743, 0.285734087228775, 0.07448089122772217, -0.10784273594617844, 0.06297390162944794, 0.1587505340576172, -0.24180419743061066, -0.042973361909389496, -0.20671088993549347, -0.03897404670715332, 0.28325149416923523, 0.5543473958969116, 0.058218229562044144, -0.2940431535243988, -0.29921674728393555, -0.1287795603275299, -0.06409306079149246, 0.4196317195892334, 0.38473182916641235, -0.04854422062635422, 0.15711915493011475, -0.03401081636548042, -0.26683151721954346, -0.0870034247636795, -0.01930554211139679, -0.14121004939079285, 0.028300728648900986, -0.03272644057869911, 0.31526491045951843, 0.3372900187969208, -0.05741450935602188, 0.07731394469738007, -0.16694219410419464, -0.19801996648311615, 0.1066126599907875, -0.47374969720840454, 0.08697263896465302, -0.05204024165868759, 0.11094004660844803, 0.011385519057512283, 0.09518137574195862, -0.02888447791337967, 0.002254379913210869, -0.22659648954868317, 0.25454506278038025, 0.4012565612792969, 0.1665501892566681, -0.19022250175476074, 0.1587674766778946, 0.19670788943767548, -0.2106608897447586, -0.18002459406852722, -0.024732492864131927, -0.11564578860998154, -0.19385850429534912, -0.06468150019645691, -0.1913992166519165, 0.045541636645793915, -0.1948689967393875, -0.09385398775339127, 0.10924006998538971, -0.20989739894866943, -0.020801829174160957, -0.032253291457891464, 0.3967400789260864, -0.3470396399497986, 0.3620436191558838, 0.18432627618312836, 0.0899866446852684, -0.11053761839866638, 0.18208032846450806, 0.04418792575597763, 0.03230704367160797, -0.07348822802305222, -0.32923075556755066, 0.15639130771160126, -0.1381317675113678, 0.18363092839717865, 0.0014998149126768112, -0.18362633883953094, -0.17565198242664337, 0.306068480014801, -0.1032557338476181, -0.2552426755428314, 0.3810864984989166, 0.03867662325501442, 0.08891496062278748, 0.03129728510975838, -0.08696667104959488, -0.28507670760154724, 0.34377551078796387, -0.42669403553009033, -0.19992151856422424, -0.14588922262191772, 0.15183839201927185, -0.10514745116233826, 0.10406884551048279, -0.5578356385231018, -0.04586602374911308, -0.07637790590524673, -0.26734793186187744, -0.08713123947381973, -0.34060394763946533, 0.19014619290828705, -0.1360371708869934, -0.02112552337348461, 0.027855955064296722, -0.5181045532226562, 0.09189970791339874, -0.1082780659198761, -0.16778074204921722, -0.03481275588274002, 0.2474503070116043, -0.21725814044475555, 0.39505359530448914, -0.13113202154636383, 0.12458880245685577, 0.18751324713230133, -0.38595297932624817, -0.3133142292499542, 0.3895705044269562, -0.23714867234230042, 0.02565057761967182, 0.004337519407272339, 0.07867302000522614, 0.03376775234937668, 0.10370476543903351, 0.18867769837379456, 0.39484691619873047, 0.08799600601196289, 0.10580093413591385, -0.22032798826694489, -0.2908949553966522, -0.02342478558421135, 0.4164573848247528, -0.32269933819770813, -0.22257110476493835, -0.04213825613260269, 0.24100841581821442, 0.3698595464229584, 0.022087235003709793, -0.1143304631114006, 0.4326145648956299, 0.29361993074417114, 0.20050875842571259, 0.1703675240278244, -0.09978540986776352, -0.296864777803421, 0.12583264708518982, 0.32024767994880676, -0.11820073425769806, -0.008305884897708893, 0.0033547282218933105, -0.3312016725540161, 0.12040121108293533, -0.3116685748100281, 0.07973640412092209, 0.007508318871259689, -0.1658395528793335, 0.13353866338729858, 0.2501339316368103, -0.1302933245897293, 0.5048508048057556, -0.04626800864934921, 0.14257779717445374, -0.5416527390480042, 0.19272565841674805, -0.033639878034591675, -0.04079944267868996, 0.1447426974773407, 0.049499981105327606, 0.03909463435411453, -0.4539807438850403, -0.2727760672569275, 0.3243507146835327, 0.14494425058364868, 0.04630988463759422, -0.028167568147182465, -0.20037637650966644, 0.03519362956285477, -0.15632687509059906, -0.11687441915273666, 0.44089749455451965, 0.15034237504005432, -0.12231102585792542, -0.1537436544895172, 0.0011534243822097778, -0.22442813217639923, 0.37236422300338745, -0.09817124903202057, -0.041985057294368744, 0.30353444814682007, -0.14179354906082153, -0.13330966234207153, 0.2071392834186554, 0.5463433861732483, 0.07310937345027924, 0.3328671157360077, 0.0971505343914032, -0.1635594367980957, -0.22526422142982483, 0.6349772810935974, -0.10096496343612671, -0.14849692583084106, 0.2825930714607239, 0.20883587002754211, 0.03008568286895752, -0.08593492954969406, 0.3610316216945648, 0.2811880111694336, 0.15456771850585938, -0.3252592384815216, -0.03323858976364136, 0.12997359037399292, -0.16814078390598297, 0.20009618997573853, 0.02341468632221222, 0.2359970510005951, 0.27341440320014954, 0.11452417075634003, -0.08507400751113892, -0.03330201283097267, -0.43922722339630127, 0.02070428617298603, 0.3149647116661072, -0.03016132488846779, 0.07914850115776062, -0.21955306828022003, 0.4109661281108856, -0.05278699845075607, -0.10173334181308746, -0.009798265993595123, -0.15614157915115356, -0.2207282930612564, 0.12250441312789917, 0.17864347994327545, 0.15209928154945374, -0.07531601935625076, -0.10517634451389313, 0.139214426279068, -0.21031993627548218, -0.2864202558994293, -0.20366738736629486, -0.14767375588417053, -0.12535831332206726, 0.3518744111061096, -0.06689928472042084, 0.16075259447097778, -0.15934763848781586, -0.2390325367450714, 0.19303011894226074, -0.1639440953731537, -0.02463124692440033, -0.11642804741859436, 0.4119916558265686, 0.21067404747009277, 0.4021283984184265, -0.08334901928901672, -0.05686117336153984, 0.2790093421936035, 0.04581606388092041, -0.16425271332263947, -0.0012257564812898636, 0.10076909512281418, 0.12404371052980423, 0.03406118229031563, -0.5024118423461914, -0.41155338287353516, -0.43124303221702576, 0.6427561640739441, -0.22395463287830353, -0.07550252974033356, -0.11956170946359634, 0.2231113314628601, 0.13520972430706024, 0.04805285483598709, -0.04834485054016113, -0.0702565535902977, -0.4216580390930176, 0.28963786363601685, -0.1385858803987503, -0.288374662399292, 0.24051892757415771, 0.005531728267669678, 0.20903699100017548, -0.27901262044906616, -0.6479564905166626, 0.2146351933479309, -0.21524903178215027, 0.03090294823050499, -0.3595806956291199, -0.04357076436281204, 0.12720203399658203, -0.05644797906279564, 0.011307952925562859, -0.02866836078464985, -0.16264896094799042, 0.029668346047401428, 0.009910957887768745, 0.17781215906143188, 0.14375317096710205, 0.7809910178184509, -0.15406174957752228, 0.38368117809295654, 0.24910810589790344, 0.16662225127220154, 0.10098803043365479, 0.09122540056705475, 0.11571317911148071, -0.3509742021560669, -0.19966867566108704, -0.03772483393549919, -0.11338546872138977, -0.27506017684936523, -0.019533559679985046, 0.15280583500862122, -0.11458224803209305, -0.14412054419517517, -0.14906026422977448, -0.277183473110199, -0.0054368674755096436, 0.06343931704759598, -0.087850421667099, 0.03288921341300011, 0.09116216003894806, 0.005858883261680603, 0.09240619838237762, 0.027916070073843002, -0.06115680932998657, -0.012890718877315521, 0.1567806750535965, 0.015164723619818687, -0.537712574005127, -0.2800196409225464, -0.18778938055038452, 0.14302386343479156, -0.19650503993034363, 0.18919451534748077, -0.08318331092596054, 0.3365783989429474, 0.2872928977012634, -0.3866744041442871, 0.6835415959358215, 0.08792165666818619, 0.09533533453941345, 0.0935724675655365, 0.04227106273174286, -0.6156121492385864, -0.0148782879114151, 0.16790607571601868, 0.24998970329761505, 0.47270670533180237, 0.32306498289108276, -0.5648117661476135, -0.1975218653678894, 0.018043018877506256, 0.3455531597137451, -0.1615922600030899, -0.3272002041339874, -0.2191091626882553, -0.13545510172843933, -0.47244033217430115, 0.04002577066421509, -0.03521247208118439, 0.3006669580936432, -0.0416574701666832, -0.37035804986953735, -0.12455986440181732, 0.008135475218296051, 0.012326382100582123, -0.009098159149289131, 0.2975481152534485, -0.17284545302391052, 0.47198206186294556, 0.1549757719039917, 0.06104530394077301, 0.21675412356853485, 0.5197896957397461, 0.006803430616855621, 0.01597888022661209, -0.08759735524654388, -0.03106427565217018, 0.27305418252944946, 0.013611137866973877, -0.13190804421901703, -0.09502922743558884, -0.029049981385469437, 0.3519984483718872, -0.10552597045898438, 0.21843655407428741, 0.2715170979499817, 0.15565936267375946, -0.4387955963611603, -0.5476081967353821, 0.5010615587234497, 0.1545642614364624, 0.10060589015483856, 0.3549869656562805, -0.11867573857307434, 0.0408015251159668, 0.4227146506309509, -0.31475168466567993, 0.5990359783172607, -0.051819898188114166, 0.1283472329378128, 0.2821258306503296, -0.13945713639259338, 0.06965702027082443, -0.5047987699508667, 0.02786184661090374, -0.4206194281578064, 0.25816428661346436, -0.0029582958668470383, -0.2460784912109375, 0.01827992871403694, 0.23830975592136383, -0.16209423542022705, 0.10260740667581558, -0.07039634883403778, -0.29830697178840637, -0.29990631341934204, 0.5726420283317566, -0.22642065584659576, -0.1471678465604782, -0.5479243397712708, 0.1266781985759735, -0.13148193061351776, -0.02335747703909874, 0.014703396707773209, -0.037603069096803665, -0.1240123063325882, -0.21568353474140167, -0.1565672755241394, 0.09789184480905533, -0.07022590190172195, 0.07376042008399963, 0.07916108518838882, -0.38481730222702026, 0.12003305554389954, 0.32618483901023865, -0.37629520893096924, 0.21631145477294922, -0.11502711474895477, 0.4718751609325409, -0.500495433807373, -0.2572782039642334, 0.13661126792430878, 0.05058789998292923, 0.09259259700775146, -0.1092798113822937, -0.22553172707557678, 0.042495302855968475, -0.5057357549667358, -0.3200796842575073, 0.105174720287323, 0.45103198289871216, 0.03759482502937317, -0.20553982257843018, -0.6556902527809143, -0.1063985675573349, 0.08232653141021729, -0.14705409109592438, 0.10836814343929291, 0.21700456738471985, -0.12320456653833389, 0.3756447434425354, -0.005746811628341675, -0.2405286729335785, -0.15250010788440704, 0.2910137176513672, -0.08087844401597977, 0.1648937612771988, 0.7251724004745483, 0.17122358083724976, -0.05399765446782112, -0.17322108149528503, 0.43715226650238037, 0.43212267756462097, -0.15089631080627441, 0.3082059323787689, -0.0012120569590479136, 0.1653931587934494, 0.06189849227666855, 0.20626096427440643, 0.0925028920173645, -0.31827864050865173, -0.002335410565137863, -0.5674278736114502, -0.4162835478782654, 0.13079363107681274, 0.0976744294166565, 0.0642123743891716, 0.15895715355873108, -0.025313563644886017, -0.10234307497739792, -0.026018528267741203, -0.17842236161231995, 0.28264564275741577, -0.29999759793281555, 0.04971792548894882, 0.13301138579845428, -0.10884254425764084, 0.23735420405864716, -0.035877980291843414, 0.11004829406738281, 0.15071699023246765, -0.11728818714618683, -0.21212169528007507, -0.21166753768920898, 0.09245090186595917, 0.16816535592079163, 0.06062684208154678, -0.13972365856170654, -0.4594656825065613, -0.11985933780670166, -0.015373658388853073, -0.05477726086974144, -0.003495190292596817, 0.11718365550041199, -0.11675423383712769, -0.09251908957958221, 0.07306961715221405, 0.060667477548122406, 0.2665727734565735, -0.029894255101680756, 0.2733670473098755, 0.21614761650562286, 0.03168834000825882, 0.14813373982906342, 0.1164083182811737, -0.5491731762886047, -0.08150555938482285, 0.15973323583602905, 0.17213988304138184, 0.22260835766792297, -0.5217963457107544, 0.201923206448555, 0.23753182590007782, 0.42358073592185974, 0.6262656450271606, -0.31456393003463745, 0.14094474911689758, 0.23165777325630188, 0.15757019817829132, -0.10320046544075012, -0.031905144453048706, 0.2423538714647293, 0.014007850550115108, -0.17618662118911743, -0.07585210353136063, -0.03923488035798073, -0.20764487981796265, -0.17893452942371368, 0.31316253542900085, 0.4039795398712158, -0.028049740940332413, 0.11655452847480774, 0.3855564296245575, -0.16814343631267548, -0.031831253319978714, 0.27166637778282166, 0.11902686953544617, 0.2530803978443146, 0.7354885935783386, 0.019079789519309998, 0.28721070289611816, 0.22625133395195007, 0.39064332842826843, -0.23235848546028137, -0.14517079293727875, -0.30189061164855957, 0.1600431203842163, -0.029891788959503174, 0.011234249919652939, 0.10677200555801392, 0.3269202709197998, -0.35363566875457764, -0.17077946662902832, -0.3070865571498871, 0.15925855934619904, -0.01853194087743759, -0.001289105974137783, 0.3083326518535614, 0.036922015249729156, 0.039188235998153687, 0.2719491422176361, -0.01027357205748558, 0.0720653384923935, 0.10302875190973282, 0.3093303442001343, 0.0020919963717460632, -0.40125328302383423, 0.06592348217964172, 0.12922346591949463, 0.02101573348045349, -0.19747018814086914, 0.05520690232515335, 0.04522328078746796, -0.11768075823783875, -0.021939344704151154, 0.018465248867869377, 0.40480896830558777, 0.454532265663147, -0.07771819829940796, -0.13412010669708252, -0.3068847358226776, -0.08801843225955963, 0.08134832233190536, 0.43611353635787964, 0.017425887286663055, 0.24147294461727142, 0.28474897146224976, 0.1045980229973793, -0.16998042166233063, -0.01329105719923973, 0.07175440341234207, 0.142752006649971, -0.4279349446296692, 0.2374683916568756, -0.10217899084091187, -0.19843941926956177, -0.20315708220005035, -0.034024111926555634, -0.4191436469554901, 0.061146825551986694, 0.11433137953281403, 0.14978516101837158, -0.10347798466682434, -0.3457017242908478, 0.05608315020799637, -0.41712984442710876, 0.3439900279045105, 0.1693970113992691, 0.1759069412946701, -0.21118617057800293, -0.2761145234107971, -0.6695301532745361, -0.27339446544647217, -0.4424842596054077, -0.16518470644950867, 0.1854459047317505, 0.06690745055675507, -0.17082732915878296, 0.07965266704559326, 0.08187834918498993, 0.04085196182131767, 0.10091305524110794, 0.30906981229782104, -0.2345968633890152, -0.13857018947601318, 0.05169524997472763, 0.20570430159568787, -0.024966279044747353, -0.3187144696712494, 0.05076753720641136, -0.03557705134153366, -0.06658241897821426, -0.11973409354686737, -0.15964803099632263, 0.03531927987933159, 0.13759639859199524, 0.6935862302780151, 0.018498100340366364, 0.2809525430202484, 0.07789362221956253, -0.10494797676801682, -0.01801786944270134, -0.15879490971565247, 0.023460276424884796, 0.17554819583892822, 0.01692437380552292, 0.5219461917877197, -0.38279879093170166, 0.31883567571640015, -0.20115460455417633, -0.10403390973806381, -0.2991865277290344, -0.18261347711086273, -0.09767797589302063, -0.2007807493209839, 0.007138445973396301, 0.293894499540329, 0.141938254237175, 0.4146465063095093, 0.15014012157917023, 0.16926415264606476, -0.2873550057411194, -0.029017601162195206, 0.4315188527107239, -0.15692836046218872, -0.3188517391681671, 0.28847336769104004, -0.08563168346881866, 0.12314476072788239, -0.08760841935873032, -0.2676377594470978, 0.094375379383564, 0.31513163447380066, 0.04663724824786186, -0.19393517076969147, 0.045134518295526505, 0.1294604390859604, 0.01821594312787056, -0.04597834497690201, 0.34756898880004883, 0.08210015296936035, -0.1859288364648819, 0.2234727442264557, 0.014687173068523407 ]
https://github.com/huggingface/datasets/issues/6949
load_dataset error
> Hi, @lion-ops. > > In our Continuous Integration we have many tests on loading JSON files and all of them work properly. > > Could you please share your "train.json" file, so that we can try to reproduce the issue you have? Thank you for your reply. I can load it normally in another server. Is it possible that the disk of my server is a network disk in the LAN, so it will be downloaded from the LAN and get stuck?
### Describe the bug Why does the program get stuck when I use load_dataset method, and it still gets stuck after loading for several hours? In fact, my json file is only 21m, and I can load it in one go using open('', 'r'). ### Steps to reproduce the bug 1. pip install datasets==2.19.2 2. from datasets import Dataset, DatasetDict, NamedSplit, Split, load_dataset 3. data = load_dataset('json', data_files='train.json') ### Expected behavior It is able to load my json correctly ### Environment info datasets==2.19.2
83
load_dataset error ### Describe the bug Why does the program get stuck when I use load_dataset method, and it still gets stuck after loading for several hours? In fact, my json file is only 21m, and I can load it in one go using open('', 'r'). ### Steps to reproduce the bug 1. pip install datasets==2.19.2 2. from datasets import Dataset, DatasetDict, NamedSplit, Split, load_dataset 3. data = load_dataset('json', data_files='train.json') ### Expected behavior It is able to load my json correctly ### Environment info datasets==2.19.2 > Hi, @lion-ops. > > In our Continuous Integration we have many tests on loading JSON files and all of them work properly. > > Could you please share your "train.json" file, so that we can try to reproduce the issue you have? Thank you for your reply. I can load it normally in another server. Is it possible that the disk of my server is a network disk in the LAN, so it will be downloaded from the LAN and get stuck?
[ -0.1941034495830536, -0.09163274616003036, -0.1015826165676117, 0.3155893087387085, 0.2822381854057312, 0.16326147317886353, 0.3309028446674347, 0.31814953684806824, 0.29122239351272583, 0.12277227640151978, 0.22967812418937683, 0.5177155137062073, -0.002191421575844288, 0.25192078948020935, -0.058107517659664154, -0.13243302702903748, 0.09378952533006668, 0.08318649977445602, 0.09126800298690796, -0.030003169551491737, -0.20101073384284973, 0.27040645480155945, -0.13988852500915527, -0.041254669427871704, -0.38568228483200073, -0.18005411326885223, 0.16187618672847748, 0.22849217057228088, -0.14715638756752014, -0.630078911781311, 0.4277924597263336, -0.1776963621377945, 0.055580973625183105, 0.6575623154640198, -0.00011497841478558257, 0.02368193119764328, 0.48039114475250244, 0.004419172182679176, -0.4216420650482178, -0.4346456527709961, -0.09387824684381485, -0.4377231299877167, 0.46684467792510986, -0.2691061794757843, 0.07003801316022873, -0.16195692121982574, -0.1236041933298111, -0.04708386957645416, 0.6337668299674988, 0.21082301437854767, 0.1288047879934311, 0.02119392901659012, 0.13517315685749054, -0.03884375840425491, -0.05115719884634018, -0.16170570254325867, -0.01967841573059559, 0.3939383029937744, 0.2705311179161072, 0.15825042128562927, 0.24817487597465515, 0.030183877795934677, -0.03562793508172035, 0.09401573240756989, 0.15516048669815063, -0.2032894641160965, 0.01864159107208252, -0.18196886777877808, -0.046717382967472076, 0.27525821328163147, 0.5875580906867981, 0.0908343568444252, -0.3064922094345093, -0.2493380308151245, -0.10186295956373215, 0.0076149869710206985, 0.48533663153648376, 0.37384650111198425, -0.10723838210105896, 0.18482868373394012, -0.12594939768314362, -0.3283153176307678, -0.13049009442329407, -0.019785776734352112, -0.16867923736572266, -0.04669302701950073, -0.04848315566778183, 0.32782113552093506, 0.2918643653392792, 0.01868239976465702, 0.08951228111982346, -0.19855323433876038, -0.11718487739562988, 0.09235023707151413, -0.48058241605758667, 0.08350931107997894, -0.05555541068315506, 0.1764412224292755, 0.018270015716552734, 0.11208024621009827, -0.026241037994623184, -0.044295452535152435, -0.2952175438404083, 0.2324867844581604, 0.3949076533317566, 0.18698737025260925, -0.24314972758293152, 0.08651715517044067, 0.1693870723247528, -0.16193519532680511, -0.17735721170902252, -0.03275410085916519, -0.1571442037820816, -0.23225188255310059, -0.016808001324534416, -0.24776595830917358, 0.023174691945314407, -0.18078190088272095, -0.035513777285814285, 0.12114713340997696, -0.08568374067544937, 0.0025493442080914974, -0.042378295212984085, 0.3850952386856079, -0.33707576990127563, 0.3669215142726898, 0.13815711438655853, 0.09823238104581833, -0.08887064456939697, 0.2139466106891632, 0.060386162251234055, -0.018059000372886658, -0.05236860364675522, -0.2775750160217285, 0.1350385695695877, -0.12933850288391113, 0.14059893786907196, -0.0021833861246705055, -0.17979444563388824, -0.13997706770896912, 0.26279416680336, -0.07729536294937134, -0.17845550179481506, 0.361477792263031, 0.06697694957256317, 0.11203379184007645, 0.025932755321264267, -0.03985097259283066, -0.31407639384269714, 0.3310202658176422, -0.43404620885849, -0.17720933258533478, -0.13794593513011932, 0.12498421221971512, -0.11984218657016754, 0.060292620211839676, -0.5374256372451782, -0.1539771407842636, -0.133958101272583, -0.28358888626098633, -0.06573943048715591, -0.29620611667633057, 0.16917932033538818, -0.10362724959850311, -0.05029600113630295, 0.001986265182495117, -0.5577982664108276, 0.10531684756278992, -0.14115029573440552, -0.19905813038349152, -0.029940344393253326, 0.2707165479660034, -0.21123406291007996, 0.4077620804309845, -0.14038832485675812, 0.1300499439239502, 0.21770936250686646, -0.41463205218315125, -0.42059558629989624, 0.47727108001708984, -0.33118051290512085, 0.0032191406935453415, 0.026038356125354767, 0.05512795224785805, 0.09890282154083252, 0.16211315989494324, 0.1415891796350479, 0.4195287823677063, 0.1022053137421608, 0.09075940400362015, -0.24290616810321808, -0.37132367491722107, -0.06690821051597595, 0.421185165643692, -0.3236556351184845, -0.18908154964447021, 0.009536080062389374, 0.2050633281469345, 0.374824196100235, 0.051381196826696396, -0.037563763558864594, 0.471962034702301, 0.29244181513786316, 0.21079383790493011, 0.14804592728614807, -0.08002579212188721, -0.28201308846473694, 0.13832280039787292, 0.3868606388568878, -0.12161135673522949, 0.00016281753778457642, 0.014059964567422867, -0.4089846611022949, 0.0784827470779419, -0.3060421943664551, 0.13008877635002136, -0.005655322223901749, -0.08766080439090729, 0.16804078221321106, 0.2547300159931183, -0.14411762356758118, 0.499574214220047, -0.04632388800382614, 0.09451982378959656, -0.48392659425735474, 0.24709899723529816, -0.07654078304767609, -0.008602960966527462, 0.10493367910385132, 0.009540848433971405, 0.0039913468062877655, -0.4513830840587616, -0.2847999334335327, 0.3050362169742584, 0.060552727431058884, 0.06437088549137115, 0.11220332980155945, -0.2118949443101883, 0.0713668093085289, -0.14650429785251617, -0.04334238916635513, 0.42865103483200073, 0.19486837089061737, -0.06548412889242172, -0.16884654760360718, -0.03449012339115143, -0.2753009796142578, 0.3553817570209503, -0.10201536118984222, -0.004011979326605797, 0.3132238984107971, -0.11911185085773468, -0.1263505071401596, 0.22389397025108337, 0.5460420846939087, 0.012207758612930775, 0.4524290859699249, 0.07026270776987076, -0.17181876301765442, -0.19724416732788086, 0.6521705389022827, -0.10209643840789795, -0.09337831288576126, 0.3045085072517395, 0.2387659251689911, 0.0709005668759346, -0.099761001765728, 0.4219306409358978, 0.2710959315299988, 0.12323521822690964, -0.27585145831108093, -0.051812998950481415, 0.10609246045351028, -0.17180559039115906, 0.15415799617767334, -0.013254553079605103, 0.26492464542388916, 0.2835801839828491, 0.039203159511089325, -0.07836327701807022, -0.03644707053899765, -0.4350256025791168, 0.06862352788448334, 0.26529374718666077, -0.02033274993300438, 0.09668907523155212, -0.23237678408622742, 0.4210144877433777, -0.1190580278635025, -0.1059134230017662, -0.034493062645196915, -0.11543650180101395, -0.2306107133626938, 0.10347364842891693, 0.16604246199131012, 0.18357737362384796, -0.06736460328102112, -0.05319608747959137, 0.09878791868686676, -0.1856902837753296, -0.24107441306114197, -0.18732427060604095, -0.19195884466171265, -0.13660086691379547, 0.31513306498527527, -0.10237426310777664, 0.16883079707622528, -0.208366259932518, -0.2648163437843323, 0.12248621881008148, -0.07760649919509888, -0.024221904575824738, -0.06720380485057831, 0.36374321579933167, 0.19377213716506958, 0.4900999665260315, -0.18784324824810028, -0.0838584378361702, 0.2703763544559479, -0.008869771845638752, -0.1760544776916504, -0.03260565549135208, 0.11993463337421417, 0.12956565618515015, 0.020012877881526947, -0.5514079928398132, -0.5134192705154419, -0.4015437364578247, 0.6404390931129456, -0.2409829944372177, -0.03766646236181259, -0.13280002772808075, 0.17724372446537018, 0.13890506327152252, 0.0663619339466095, -0.011098889634013176, -0.07865730673074722, -0.5243098139762878, 0.2922990620136261, -0.10579332709312439, -0.3337134122848511, 0.1937243938446045, 0.005507428199052811, 0.20555298030376434, -0.23835532367229462, -0.703833281993866, 0.17839787900447845, -0.2017976939678192, 0.09337681531906128, -0.3443443477153778, -0.0008088033646345139, 0.15259574353694916, -0.062034737318754196, 0.02811933122575283, -0.012240935117006302, -0.15362979471683502, 0.04270458593964577, 0.020966535434126854, 0.16693271696567535, 0.1748456358909607, 0.7425788044929504, -0.13970544934272766, 0.39799928665161133, 0.1475193351507187, 0.22733038663864136, 0.18356558680534363, 0.0880923867225647, 0.16603460907936096, -0.3046641945838928, -0.20823268592357635, -0.0011082601267844439, -0.13478106260299683, -0.3358845114707947, 0.016832277178764343, 0.1183134913444519, -0.1614963263273239, -0.13544926047325134, -0.19719913601875305, -0.35714954137802124, -0.028490986675024033, 0.05250496417284012, -0.09672814607620239, 0.01857895776629448, 0.10889928042888641, 0.018763333559036255, 0.06024781987071037, 0.055674344301223755, -0.0468781441450119, 0.02884521335363388, 0.16364985704421997, 0.019248083233833313, -0.580400288105011, -0.2702985405921936, -0.18353503942489624, 0.07181879132986069, -0.20398668944835663, 0.2795313596725464, -0.14900758862495422, 0.3402358889579773, 0.30860453844070435, -0.37050288915634155, 0.6820680499076843, 0.08833301067352295, 0.1655110865831375, 0.0525725819170475, 0.05533304810523987, -0.6436296105384827, -0.02960214391350746, 0.14741116762161255, 0.21486523747444153, 0.4719047546386719, 0.352029025554657, -0.5060237050056458, -0.163552388548851, -0.07100456207990646, 0.3777632415294647, -0.19982218742370605, -0.316109299659729, -0.23817135393619537, -0.13288897275924683, -0.5082919001579285, 0.04298944026231766, -0.07287881523370743, 0.3168579339981079, -0.04409181326627731, -0.31968817114830017, -0.09144168347120285, 0.1054021343588829, -0.04445783793926239, 0.0037471912801265717, 0.26287519931793213, -0.16657932102680206, 0.47675591707229614, 0.16176334023475647, 0.17412926256656647, 0.15644821524620056, 0.4711483418941498, -0.04078633710741997, 0.04986116290092468, -0.04469185322523117, -0.07939689606428146, 0.2490779459476471, 0.06058991700410843, -0.07909832149744034, -0.1950211524963379, 0.03443954512476921, 0.31483879685401917, -0.11707500368356705, 0.19782021641731262, 0.19633932411670685, 0.15963318943977356, -0.40394702553749084, -0.45902949571609497, 0.5398725271224976, 0.1623876690864563, 0.06397242844104767, 0.31529903411865234, -0.041916295886039734, 0.037917137145996094, 0.4276800751686096, -0.3602765202522278, 0.6311547160148621, -0.021691009402275085, 0.14527517557144165, 0.21871429681777954, -0.14530086517333984, 0.06884486973285675, -0.4998733401298523, 0.002177487127482891, -0.38557159900665283, 0.18156801164150238, -0.038353271782398224, -0.23004624247550964, -0.017977431416511536, 0.34300118684768677, -0.1553923338651657, 0.12337236851453781, -0.05991638824343681, -0.32284894585609436, -0.28189483284950256, 0.5282332897186279, -0.21262942254543304, -0.18726693093776703, -0.5845746397972107, 0.10431468486785889, -0.07549981772899628, 0.06605638563632965, -0.02991105243563652, -0.03670059144496918, -0.17368577420711517, -0.1896602213382721, -0.11475586891174316, 0.102136991918087, -0.05458996817469597, 0.08064783364534378, 0.09483842551708221, -0.3632311224937439, 0.03512457013130188, 0.29379603266716003, -0.320687472820282, 0.22471444308757782, -0.10591615736484528, 0.4504971504211426, -0.4955015182495117, -0.23622283339500427, 0.15950985252857208, 0.061689719557762146, 0.06784757226705551, -0.13683493435382843, -0.31335797905921936, -0.00016764551401138306, -0.5140478014945984, -0.295285165309906, 0.20533782243728638, 0.4242289662361145, 0.047940801829099655, -0.1338704377412796, -0.6486626863479614, -0.14285430312156677, 0.090670645236969, -0.12194858491420746, 0.09970346093177795, 0.2104511708021164, -0.1407880038022995, 0.4185123145580292, 0.028252029791474342, -0.22124657034873962, -0.11871665716171265, 0.37801364064216614, -0.12647023797035217, 0.18634873628616333, 0.6909631490707397, 0.08814539015293121, -0.0629381537437439, -0.19329044222831726, 0.44291120767593384, 0.3849929869174957, -0.18482694029808044, 0.20231527090072632, -0.05479419603943825, 0.15438209474086761, -0.022603729739785194, 0.16758057475090027, 0.22617749869823456, -0.2803137004375458, -0.07190054655075073, -0.5944294929504395, -0.388081818819046, 0.1216316819190979, 0.14627116918563843, 0.07511918991804123, 0.2551063001155853, -0.08484704792499542, -0.006658448837697506, -0.06567060202360153, -0.18000592291355133, 0.2708893418312073, -0.3518064022064209, 0.04636911302804947, 0.17424844205379486, -0.12301608175039291, 0.2650873064994812, -0.07237225770950317, 0.09364873915910721, 0.11513202637434006, -0.03549648076295853, -0.19615179300308228, -0.14099113643169403, 0.10579648613929749, 0.16728457808494568, 0.02961154840886593, -0.15927158296108246, -0.484188973903656, -0.12770424783229828, 0.052257388830184937, -0.08014512062072754, -0.051714763045310974, 0.13265015184879303, -0.13873951137065887, -0.14182238280773163, 0.12875959277153015, -0.02857348322868347, 0.3228626847267151, -0.03357376158237457, 0.3068912923336029, 0.16734491288661957, 0.07194150984287262, 0.15499937534332275, 0.10089163482189178, -0.5819343328475952, -0.10850576311349869, 0.21465346217155457, 0.20504215359687805, 0.21423977613449097, -0.5113787055015564, 0.2100832760334015, 0.3403448462486267, 0.42586198449134827, 0.5903738737106323, -0.29094958305358887, 0.01730235107243061, 0.26532071828842163, 0.1717376410961151, -0.07587727904319763, -0.07547373324632645, 0.29117974638938904, 0.02591860666871071, -0.19968931376934052, -0.05594304949045181, -0.016516737639904022, -0.28280991315841675, -0.1936434656381607, 0.31859609484672546, 0.4041634202003479, -0.06538356840610504, 0.1191660612821579, 0.4199962615966797, -0.1173696517944336, 0.023550748825073242, 0.23286908864974976, 0.14810515940189362, 0.23331871628761292, 0.7610222697257996, -0.0722145065665245, 0.23911115527153015, 0.19294965267181396, 0.39126041531562805, -0.1943698227405548, -0.12256994843482971, -0.23861943185329437, 0.13223664462566376, -0.03396442532539368, -0.0633607730269432, 0.1086345687508583, 0.28800860047340393, -0.40317296981811523, -0.24798117578029633, -0.3542441725730896, 0.17464850842952728, -0.04793842136859894, 0.025138959288597107, 0.268438458442688, 0.04451874643564224, 0.07223129272460938, 0.26514512300491333, -0.01018127053976059, 0.058081164956092834, 0.15499132871627808, 0.3625516891479492, 0.015959233045578003, -0.3737427592277527, 0.015033379197120667, 0.12367427349090576, 0.0008122622966766357, -0.17478269338607788, 0.07556827366352081, 0.051207225769758224, -0.0962999016046524, -0.0654737800359726, 0.06042764335870743, 0.3383120596408844, 0.42143014073371887, -0.039203278720378876, -0.12457037717103958, -0.2412184625864029, -0.0668770968914032, 0.056417062878608704, 0.3910504877567291, -0.01895340532064438, 0.2378518283367157, 0.35932034254074097, 0.10201214253902435, -0.14462032914161682, 0.004829768091440201, 0.05765977129340172, 0.12713466584682465, -0.39044293761253357, 0.18563498556613922, -0.10250720381736755, -0.16883206367492676, -0.24398183822631836, -0.014657385647296906, -0.43262144923210144, 0.17266258597373962, 0.13670231401920319, 0.10535484552383423, -0.08905056864023209, -0.3496629595756531, 0.044868603348731995, -0.4336230456829071, 0.3879449665546417, 0.23326778411865234, 0.15833373367786407, -0.20344683527946472, -0.2938988208770752, -0.7117307186126709, -0.21311825513839722, -0.41848844289779663, -0.20436030626296997, 0.18547040224075317, 0.14893503487110138, -0.21870261430740356, 0.09844428300857544, 0.05827672779560089, 0.0768461525440216, 0.033524882048368454, 0.3625848591327667, -0.240033820271492, -0.1275070309638977, 0.0850086510181427, 0.206623837351799, -0.04613327234983444, -0.40282943844795227, 0.0811930000782013, -0.06408548355102539, -0.07885535061359406, -0.0618126317858696, -0.151404470205307, -0.02289530634880066, 0.20681804418563843, 0.6839787364006042, 0.004377629607915878, 0.28942519426345825, 0.10645288974046707, -0.12372947484254837, -0.023386497050523758, -0.13072720170021057, 0.01791837438941002, 0.17642617225646973, 0.012676352635025978, 0.42635759711265564, -0.3753240406513214, 0.4019739627838135, -0.19598355889320374, -0.0691448301076889, -0.23661170899868011, -0.07903929799795151, -0.025008227676153183, -0.28146257996559143, 0.026082374155521393, 0.23030085861682892, 0.2138938456773758, 0.3586357831954956, 0.1802634745836258, 0.1919155865907669, -0.2931913733482361, -0.021518860012292862, 0.34693455696105957, -0.12541396915912628, -0.30745065212249756, 0.2246115803718567, -0.022834450006484985, 0.09448328614234924, -0.10830426961183548, -0.22760090231895447, 0.1069854125380516, 0.31626996397972107, 0.029072526842355728, -0.15133941173553467, -0.0307493694126606, 0.11486919224262238, 0.047791387885808945, -0.006597407162189484, 0.42492014169692993, -0.013247400522232056, -0.21972687542438507, 0.18511463701725006, 0.0020047202706336975 ]
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
Hello, Are you sure you are really using datasets version 2.19.2? We just made the patch release yesterday specifically to fix this issue: - #6925 I can't reproduce the error: ```python In [1]: from datasets import load_dataset In [2]: ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') Downloading readme: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 41.1k/41.1k [00:00<00:00, 596kB/s] Downloading data: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 40.7M/40.7M [00:04<00:00, 8.50MB/s] Generating validation split: 45576 examples [00:01, 44956.75 examples/s] In [3]: ds Out[3]: Dataset({ features: ['text', 'timestamp', 'url'], num_rows: 45576 }) ```
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2
78
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2 Hello, Are you sure you are really using datasets version 2.19.2? We just made the patch release yesterday specifically to fix this issue: - #6925 I can't reproduce the error: ```python In [1]: from datasets import load_dataset In [2]: ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') Downloading readme: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 41.1k/41.1k [00:00<00:00, 596kB/s] Downloading data: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 40.7M/40.7M [00:04<00:00, 8.50MB/s] Generating validation split: 45576 examples [00:01, 44956.75 examples/s] In [3]: ds Out[3]: Dataset({ features: ['text', 'timestamp', 'url'], num_rows: 45576 }) ```
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.1673109382390976, 0.09469642490148544, -0.12878842651844025, 0.07063333690166473, 0.32241034507751465, 0.02620493248105049, 0.19688363373279572, -0.20495252311229706, 0.2669195234775543, -0.4299952983856201, -0.05025388300418854, -0.5118574500083923, 0.1403893232345581, -0.07259971648454666, 0.3794679641723633, 0.02385059744119644, -0.6958081722259521, 0.44850096106529236, -0.20207393169403076, 0.2992042601108551, 0.49243301153182983, -0.00012066363706253469, 0.01928948611021042, 0.3469124436378479, -0.08317720890045166, -0.11738654971122742, -0.05980360507965088, -0.14499206840991974, -0.19902335107326508, 0.022213812917470932, -0.2882561981678009, -0.014482324942946434, -0.32274869084358215, 0.015865202993154526, -0.01316012442111969, 0.28171390295028687, 0.5431941747665405, 0.1330081820487976, 0.1479310244321823, 0.39817681908607483, -0.1542314738035202, 0.07552634924650192, -0.27447015047073364, -0.01908506453037262, 0.23912999033927917, -0.08974960446357727, -0.07092311978340149, 0.2659449577331543, 0.13223052024841309, -0.2828100025653839, -0.17826257646083832, 0.2492561936378479, -0.017540816217660904, -0.11171411722898483, -0.3811374008655548, 0.31400471925735474, 0.13975772261619568, 0.42582520842552185, -0.38074347376823425, -0.38033801317214966, -0.1683962643146515, 0.20151138305664062, -0.022123482078313828, 0.4386742413043976, 0.006013292353600264, 0.25066131353378296, 0.16168321669101715, -0.04256672412157059, -0.09226145595312119, -0.17877313494682312, 0.19423139095306396, -0.10208393633365631, -0.024914659559726715, -0.09587426483631134, 0.04586704075336456, 0.2314188927412033, -0.10027109086513519, 0.04329567775130272, -0.04045218974351883, -0.31813836097717285, 0.22126537561416626, -0.3310926556587219, -0.04149278253316879, 0.021100010722875595, 0.37260234355926514, 0.04357099533081055, -0.03800217807292938, -0.15389499068260193, -0.15865910053253174, -0.21904052793979645, 0.04323819652199745, -0.2167455106973648, 0.0561506487429142, 0.10338110476732254, 0.23301638662815094, 0.18303918838500977, 0.10128527134656906, -0.020585210993885994, -0.2543068826198578, -0.1281110793352127, -0.495686411857605, -0.14644773304462433, 0.30492228269577026, 0.44477009773254395, -0.4531577527523041, -0.5866712331771851, 0.26064440608024597, -0.42576807737350464, -0.03383442759513855, 0.10021638125181198, 0.36175599694252014, -0.13488446176052094, 0.34633806347846985, 0.05167446285486221, 0.2822863459587097, -0.1180596724152565, -0.20207518339157104, -0.1771644502878189, 0.1411392241716385, -0.19642393290996552, 0.07668192684650421, 0.22601382434368134, -0.4352952241897583, 0.31519436836242676, 0.10053573548793793, 0.3195825219154358, 0.024610884487628937, -0.03942642733454704, -0.06250287592411041, -0.3420781195163727, 0.29523801803588867, -0.2975321114063263, 0.03572583198547363, 0.1402018517255783, -0.2860606610774994, -0.06302879750728607, 0.18216350674629211, -0.32619377970695496, -0.02672683820128441, -0.18541967868804932, 0.052909623831510544, -0.1444951295852661, 0.05327868461608887, -0.4641789495944977, -0.034403253346681595, -0.09688795357942581, -0.27016761898994446, 0.09257107228040695, -0.18675367534160614, 0.21426188945770264, -0.24912060797214508, 0.1467367559671402, 0.6955875754356384, -0.5375068783760071, -0.07292602956295013, 0.1932041496038437, -0.05842846259474754, 0.035234034061431885, 0.10900452733039856, -0.1654689460992813, 0.13702718913555145, -0.3446011543273926, -0.10282328724861145, 0.15042896568775177, -0.4401116967201233, -0.6035734415054321, 0.10642585903406143, 0.013413652777671814, 0.22816316783428192, 0.12718459963798523, -0.03874368593096733, -0.4771975576877594, -0.023053469136357307, -0.10390527546405792, -0.30530285835266113, -0.012857554480433464, -0.13113047182559967, -0.23246614634990692, -0.15119221806526184, 0.5078813433647156, 0.07603226602077484, 0.2369411736726761, 0.08104918897151947, 0.13708731532096863, 0.1925928145647049, 0.2370634377002716, -0.2821579873561859, -0.22671422362327576, 0.0899062305688858, 0.29176875948905945, -0.03146445006132126, 0.04327007010579109, -0.04735543951392174, -0.652544379234314, 0.3559955060482025, 0.03991517424583435, -0.09408517181873322, 0.14504382014274597, -0.08631426095962524, -0.1655561923980713, -0.25147074460983276, -0.2675711214542389, -0.2202230989933014, -0.019351119175553322, -0.016915977001190186, 0.017483461648225784, 0.06582993268966675, -0.27473998069763184, 0.6899194717407227, -0.3939708173274994, 0.14065279066562653, -0.2124442160129547, 0.5503130555152893, -0.03201579302549362, 0.059807199984788895, -0.012553738430142403, 0.13051466643810272, 0.30562469363212585, -0.09303276985883713, -0.07941249758005142, 0.3704999089241028, 0.006911961827427149, 0.16692501306533813, -0.05065783113241196, 0.25168687105178833, 0.26661309599876404, -0.2968882918357849, 0.2391955852508545, 0.2839130163192749, 0.05913250148296356, 0.05797424167394638, 0.005060840398073196, 0.24801266193389893, 0.10853447020053864, 0.1219538152217865, 0.05764736980199814, -0.17246036231517792, 0.17578260600566864, -0.05663055181503296, 0.12039273232221603, -0.0433434396982193, 0.024791203439235687, 0.09358195960521698, 0.5590724945068359, -0.14896759390830994, -0.2962900996208191, -0.13456660509109497, 0.4552347958087921, 0.14434154331684113, -0.13991641998291016, -0.026227131485939026, -0.11647037416696548, 0.14453095197677612, 0.21291103959083557, 0.10801537334918976, 0.3510432839393616, 0.2801332473754883, -0.5974588990211487, 0.22917574644088745, -0.12576045095920563, -0.0784912258386612, 0.16016629338264465, -0.07382656633853912, 0.07491812855005264, 0.3334081470966339, 0.0019282088615000248, 0.19912923872470856, -0.2173793613910675, -0.39564934372901917, -0.2351122349500656, 0.2192082405090332, -0.4444912075996399, 0.010945873335003853, -0.21578606963157654, -0.1543773114681244, -0.07392406463623047, 0.04753128066658974, -0.06849750876426697, -0.13562317192554474, -0.11906704306602478, 0.1703486293554306, 0.08466315269470215, 0.03125852346420288, -0.6403214931488037, 0.01372922956943512, -0.10076966136693954, -0.1925148218870163, -0.18880145251750946, 0.14538413286209106, -0.17631614208221436, -0.010183773934841156, 0.4653300940990448, -0.13922373950481415, 0.07035437226295471, -0.49369925260543823, 0.02268737554550171, -0.21780750155448914, -0.5930320620536804, -0.06939332187175751, -0.10381197929382324, 0.23391598463058472, 0.126523956656456, 0.11554829031229019, -0.04536612331867218, -0.3656386137008667, 0.16471140086650848, 0.026804188266396523, -0.17205987870693207, 0.1776982545852661, -0.07045034319162369, -0.14960931241512299, 0.09931671619415283, -0.7325296998023987, 0.06186218559741974, -0.21140071749687195, 0.17415395379066467, 0.08074897527694702, 0.02521970123052597, 0.2991049587726593, 0.1805073469877243, 0.307908833026886, 0.08367352187633514, -0.18202131986618042, 0.010981274768710136, -0.2159576416015625, 0.3450257480144501, 0.03751088306307793, -0.1181052178144455, 0.16258791089057922, 0.0450231209397316, 0.15126389265060425, -0.07289328426122665, -0.4477995038032532, 0.016055237501859665, -0.2131376564502716, 0.33122336864471436, -0.12799137830734253, -0.15406621992588043, 0.3858329951763153, 0.03730813413858414, 0.12066580355167389, -0.15293461084365845, -0.027093948796391487, -0.1205233708024025, 0.2460719347000122, 0.19039607048034668, -0.22846141457557678, 0.5267710089683533, -0.21337635815143585, 0.1943134367465973, 0.2366066575050354, -0.14358949661254883, 0.3200841248035431, -0.17547549307346344, 0.5637099742889404, -0.374299019575119, -0.3002450466156006, 0.17194733023643494, 0.25916585326194763, 0.039200492203235626, -0.03866566717624664, -0.16318657994270325, -0.03205063194036484, -0.23924417793750763, -0.12447941303253174, -0.4805607199668884, 0.044979777187108994, -0.13710801303386688, 0.10707380622625351, 0.07221794873476028, 0.00023132190108299255, 0.1654784381389618, 0.1553042232990265, -0.18448886275291443, 0.20680354535579681, 0.3229154348373413, 0.2776373028755188, -0.05239993333816528, -0.7211449146270752, -0.3382638394832611, -0.33248433470726013, 0.4898707866668701, 0.15872885286808014, 0.09349950402975082, 0.16168782114982605, -0.04446743428707123, -0.1535758227109909, -0.20246872305870056, 0.5855938196182251, -0.2085537165403366, -0.15689823031425476, 0.3103548288345337, 0.09779070317745209, -0.144226536154747, -0.21549326181411743, -0.15339675545692444, 0.35497212409973145, 0.06769520789384842, 0.44606512784957886, -0.012783072888851166, -0.17859682440757751, 0.32916632294654846, 0.39623141288757324, -0.10084369033575058, 0.012522722594439983, -0.2164147049188614, 0.15831851959228516, 0.03815337270498276, -0.038844890892505646, -0.1345280110836029, 0.3791518211364746, -0.17897719144821167, -0.18548530340194702, -0.11116273701190948, -0.34299954771995544, 0.29436856508255005, 0.32736676931381226, 0.5280426144599915, 0.032372910529375076, 0.2896404266357422, 0.2594362199306488, 0.025546390563249588, 0.813024640083313, 0.3938734531402588, 0.09700299799442291, -0.16714584827423096, -0.1696544885635376, 0.1400681436061859, 0.2687196433544159, 0.158284530043602, -0.13553428649902344, 0.016789279878139496, -0.1615501344203949, 0.0685495063662529, -0.10237594693899155, 0.12742917239665985, 0.3834613859653473, 0.06662273406982422, -0.4211311936378479, -0.3310449421405792, 0.37849047780036926, -0.04159644991159439, 0.06444208323955536, 0.23167026042938232, 0.3991468548774719, -0.28051865100860596, -0.14158283174037933, -0.06993842869997025, 0.7818910479545593, 0.1888568103313446, -0.021638687700033188, 0.19186854362487793, -0.09989118576049805, 0.30720314383506775, -0.459031879901886, 0.12848913669586182, -0.4941147267818451, -0.17331606149673462, -0.10538969933986664, -0.1505172699689865, 0.2728251814842224, 0.20999574661254883, -0.253799706697464, 0.4802767038345337, -0.2117661088705063, 0.23737984895706177, -0.09534399956464767, 0.05760101228952408, -0.16801901161670685, 0.25554516911506653, -0.43884992599487305, 0.02699108049273491, 0.10594606399536133, 0.11452294886112213, -0.2314448356628418, 0.008271612226963043, -0.04769138619303703, -0.3490656614303589, -0.25006914138793945, 0.38084158301353455, -0.46623557806015015, 0.029804427176713943, 0.3340104818344116, -0.23817680776119232, 0.16812583804130554, 0.40198859572410583, 0.3803263306617737, 0.2154344767332077, -0.3112197518348694, 0.19210611283779144, -0.3263019621372223, -0.08456164598464966, 0.22025974094867706, 0.0536632239818573, 0.061833471059799194, 0.04313310235738754, -0.32807767391204834, 0.25284287333488464, -0.09328986704349518, -0.24625074863433838, -0.17961646616458893, -0.011658705770969391, -0.038385048508644104, -0.19487406313419342, -0.2396782487630844, 0.20479410886764526, 0.044827889651060104, -0.2937813401222229, 0.06940848380327225, -0.25055044889450073, 0.09080768376588821, -0.07375732809305191, 0.09955155104398727, -0.3038039207458496, 0.005049481987953186, 0.364831805229187, -0.20864492654800415, -0.20678751170635223, 0.3426254093647003, -0.03812296688556671, -0.11980237066745758, -0.2006416618824005, 0.13849708437919617, 0.36888518929481506, -0.40817150473594666, -0.03545752540230751, 0.0491519533097744, 0.2197423130273819, 0.16326451301574707, 0.16427694261074066, 0.2157881259918213, -0.1765475571155548, 0.17065204679965973, -0.36845678091049194, -0.3288734257221222, 0.4158748388290405, 0.011359531432390213, 0.19417399168014526, 0.029639892280101776, 0.1662595272064209, 0.001107214018702507, -0.14559175074100494, -0.17908841371536255, 0.10977235436439514, 0.01751823164522648, 0.05696380138397217, -0.05286532640457153, 0.26533856987953186, 0.4178846478462219, -0.007606327999383211, 0.07748520374298096, 0.06420212984085083, 0.0036086412146687508, -0.1160660982131958, -0.14117537438869476, 0.16353467106819153, 0.10173472762107849, 0.01773945614695549, 0.07958688586950302, -0.0039025358855724335, 0.04279405623674393, -0.21024154126644135, 0.3398745357990265, 0.2861105501651764, 0.09775926917791367, 0.40198683738708496, 0.36421114206314087, -0.10018058866262436, -0.1780906617641449, 0.13998109102249146, 0.04036015272140503, 0.17873722314834595, 0.1127701997756958, 0.13480211794376373, -0.021079659461975098, 0.07906801998615265, 0.18076935410499573, 0.213412344455719, -0.3061069846153259, 0.214528888463974, 0.04603289067745209, -0.304535448551178, 0.11340565979480743, 0.18224933743476868, -0.060641203075647354, 0.48235559463500977, -0.1592118740081787, 0.1251029521226883, 0.39255303144454956, 0.1670965999364853, -0.41053295135498047, -0.07996223866939545, 0.32610613107681274, 0.08820538967847824, -0.07786692678928375, 0.017463691532611847, 0.011662308126688004, -0.36288902163505554, 0.37056970596313477, 0.20260107517242432, 0.27336594462394714, -0.10349589586257935, 0.4147837162017822, 0.4607183039188385, 0.08928601443767548, -0.10097014904022217, 0.2551831305027008, -0.17657597362995148, 0.25185883045196533, 0.6028957962989807, -0.15398302674293518, 0.10235487669706345, 0.05931699275970459, 0.2546626627445221, 0.0828360915184021, -0.3712722361087799, -0.5648518800735474, 0.2252015918493271, -0.13383466005325317, 0.01972772926092148, 0.040877941995859146, 0.40940433740615845, 0.17511260509490967, -0.07257742434740067, -0.3387376666069031, -0.2950591444969177, -0.24094492197036743, 0.06125553324818611, -0.048667967319488525, -0.39748427271842957, -0.06548172235488892, 0.026994425803422928, -0.051775526255369186, -0.11366336047649384, 0.27537718415260315, -0.06408514082431793, -0.404360294342041, -0.15767565369606018, 0.18155595660209656, 0.37276142835617065, 0.09641104191541672, -0.1554260104894638, 0.2109927535057068, 0.2434033751487732, 0.03292182460427284, 0.08297418802976608, 0.29364874958992004, 0.4390777051448822, 0.2707827091217041, 0.05060660466551781, -0.01621018722653389, 0.18598292768001556, -0.11949718743562698, 0.15814441442489624, 0.20075982809066772, -0.30768322944641113, 0.09850050508975983, -0.01740395650267601, 0.1406882256269455, -0.06385967135429382, 0.19443678855895996, -0.12976400554180145, 0.22686313092708588, -0.532724916934967, 0.07162871211767197, -0.1680387556552887, -0.10884374380111694, -0.12903046607971191, 0.22895359992980957, -0.333189994096756, -0.2267201542854309, 0.2730574309825897, 0.06936207413673401, 0.009592164307832718, 0.2673299312591553, 0.03266995772719383, -0.15973274409770966, 0.15364694595336914, 0.2203376442193985, 0.15984874963760376, -0.29031941294670105, -0.3306838274002075, -0.4528311789035797, 0.00855991244316101, 0.026859130710363388, 0.3244035243988037, -0.20155858993530273, -0.11409763246774673, -0.2526094615459442, -0.02886722981929779, 0.4957997798919678, 0.04034644365310669, 0.2946101427078247, 0.004561007022857666, -0.42161792516708374, -0.04315909370779991, 0.20885266363620758, -0.05194767564535141, -0.04269643872976303, -0.5033798217773438, -0.1376316398382187, 0.08641179651021957, -0.09984798729419708, -0.15372134745121002, 0.13674162328243256, -0.16653066873550415, 0.023983702063560486, 0.8094243407249451, 0.0855741798877716, 0.6356728076934814, -0.10314077138900757, -0.012256872840225697, -0.4340739846229553, -0.5135287642478943, 0.040885500609874725, 0.09606985002756119, 0.028228413313627243, 0.5386804342269897, -0.40883493423461914, -0.11444643139839172, -0.12336253374814987, 0.2872782349586487, 0.08475111424922943, 0.14293259382247925, -0.35204750299453735, 0.04950695484876633, -0.34726181626319885, 0.04756177216768265, -0.2015838623046875, 0.09372001886367798, 0.06344207376241684, -0.03364303335547447, -0.13188576698303223, -0.2346055507659912, 0.5741701126098633, -0.31822100281715393, 0.017196588218212128, -0.20539633929729462, 0.16087646782398224, 0.19501513242721558, -0.24939987063407898, -0.37660184502601624, 0.1034565344452858, 0.5223572254180908, 0.21953681111335754, -0.2243412286043167, 0.3346847891807556, -0.11965794861316681, -0.06567592173814774, 0.11322501301765442, 0.19633156061172485, 0.07418203353881836, -0.22253546118736267, 0.09397116303443909, -0.31466585397720337 ]
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
> Hello, > > Are you sure you are really using datasets version 2.19.2? We just made the patch release yesterday specifically to fix this issue: > > * [Fix NonMatchingSplitsSizesError/ExpectedMoreSplits when passing data_dir/data_files in no-code Hub datasets #6925](https://github.com/huggingface/datasets/pull/6925) > > I can't reproduce the error: > > ```python > In [1]: from datasets import load_dataset > > In [2]: ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') > Downloading readme: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 41.1k/41.1k [00:00<00:00, 596kB/s] > Downloading data: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 40.7M/40.7M [00:04<00:00, 8.50MB/s] > Generating validation split: 45576 examples [00:01, 44956.75 examples/s] > > In [3]: ds > Out[3]: > Dataset({ > features: ['text', 'timestamp', 'url'], > num_rows: 45576 > }) > ``` Thank you for your reply,ExpectedMoreSplits was encountered in datasets version 2.12.2. After I updated the version, that is, datasets version 2.19.2, I encountered the FileNotFoundError problem mentioned above.
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2
138
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2 > Hello, > > Are you sure you are really using datasets version 2.19.2? We just made the patch release yesterday specifically to fix this issue: > > * [Fix NonMatchingSplitsSizesError/ExpectedMoreSplits when passing data_dir/data_files in no-code Hub datasets #6925](https://github.com/huggingface/datasets/pull/6925) > > I can't reproduce the error: > > ```python > In [1]: from datasets import load_dataset > > In [2]: ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') > Downloading readme: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 41.1k/41.1k [00:00<00:00, 596kB/s] > Downloading data: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 40.7M/40.7M [00:04<00:00, 8.50MB/s] > Generating validation split: 45576 examples [00:01, 44956.75 examples/s] > > In [3]: ds > Out[3]: > Dataset({ > features: ['text', 'timestamp', 'url'], > num_rows: 45576 > }) > ``` Thank you for your reply,ExpectedMoreSplits was encountered in datasets version 2.12.2. After I updated the version, that is, datasets version 2.19.2, I encountered the FileNotFoundError problem mentioned above.
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.1673109382390976, 0.09469642490148544, -0.12878842651844025, 0.07063333690166473, 0.32241034507751465, 0.02620493248105049, 0.19688363373279572, -0.20495252311229706, 0.2669195234775543, -0.4299952983856201, -0.05025388300418854, -0.5118574500083923, 0.1403893232345581, -0.07259971648454666, 0.3794679641723633, 0.02385059744119644, -0.6958081722259521, 0.44850096106529236, -0.20207393169403076, 0.2992042601108551, 0.49243301153182983, -0.00012066363706253469, 0.01928948611021042, 0.3469124436378479, -0.08317720890045166, -0.11738654971122742, -0.05980360507965088, -0.14499206840991974, -0.19902335107326508, 0.022213812917470932, -0.2882561981678009, -0.014482324942946434, -0.32274869084358215, 0.015865202993154526, -0.01316012442111969, 0.28171390295028687, 0.5431941747665405, 0.1330081820487976, 0.1479310244321823, 0.39817681908607483, -0.1542314738035202, 0.07552634924650192, -0.27447015047073364, -0.01908506453037262, 0.23912999033927917, -0.08974960446357727, -0.07092311978340149, 0.2659449577331543, 0.13223052024841309, -0.2828100025653839, -0.17826257646083832, 0.2492561936378479, -0.017540816217660904, -0.11171411722898483, -0.3811374008655548, 0.31400471925735474, 0.13975772261619568, 0.42582520842552185, -0.38074347376823425, -0.38033801317214966, -0.1683962643146515, 0.20151138305664062, -0.022123482078313828, 0.4386742413043976, 0.006013292353600264, 0.25066131353378296, 0.16168321669101715, -0.04256672412157059, -0.09226145595312119, -0.17877313494682312, 0.19423139095306396, -0.10208393633365631, -0.024914659559726715, -0.09587426483631134, 0.04586704075336456, 0.2314188927412033, -0.10027109086513519, 0.04329567775130272, -0.04045218974351883, -0.31813836097717285, 0.22126537561416626, -0.3310926556587219, -0.04149278253316879, 0.021100010722875595, 0.37260234355926514, 0.04357099533081055, -0.03800217807292938, -0.15389499068260193, -0.15865910053253174, -0.21904052793979645, 0.04323819652199745, -0.2167455106973648, 0.0561506487429142, 0.10338110476732254, 0.23301638662815094, 0.18303918838500977, 0.10128527134656906, -0.020585210993885994, -0.2543068826198578, -0.1281110793352127, -0.495686411857605, -0.14644773304462433, 0.30492228269577026, 0.44477009773254395, -0.4531577527523041, -0.5866712331771851, 0.26064440608024597, -0.42576807737350464, -0.03383442759513855, 0.10021638125181198, 0.36175599694252014, -0.13488446176052094, 0.34633806347846985, 0.05167446285486221, 0.2822863459587097, -0.1180596724152565, -0.20207518339157104, -0.1771644502878189, 0.1411392241716385, -0.19642393290996552, 0.07668192684650421, 0.22601382434368134, -0.4352952241897583, 0.31519436836242676, 0.10053573548793793, 0.3195825219154358, 0.024610884487628937, -0.03942642733454704, -0.06250287592411041, -0.3420781195163727, 0.29523801803588867, -0.2975321114063263, 0.03572583198547363, 0.1402018517255783, -0.2860606610774994, -0.06302879750728607, 0.18216350674629211, -0.32619377970695496, -0.02672683820128441, -0.18541967868804932, 0.052909623831510544, -0.1444951295852661, 0.05327868461608887, -0.4641789495944977, -0.034403253346681595, -0.09688795357942581, -0.27016761898994446, 0.09257107228040695, -0.18675367534160614, 0.21426188945770264, -0.24912060797214508, 0.1467367559671402, 0.6955875754356384, -0.5375068783760071, -0.07292602956295013, 0.1932041496038437, -0.05842846259474754, 0.035234034061431885, 0.10900452733039856, -0.1654689460992813, 0.13702718913555145, -0.3446011543273926, -0.10282328724861145, 0.15042896568775177, -0.4401116967201233, -0.6035734415054321, 0.10642585903406143, 0.013413652777671814, 0.22816316783428192, 0.12718459963798523, -0.03874368593096733, -0.4771975576877594, -0.023053469136357307, -0.10390527546405792, -0.30530285835266113, -0.012857554480433464, -0.13113047182559967, -0.23246614634990692, -0.15119221806526184, 0.5078813433647156, 0.07603226602077484, 0.2369411736726761, 0.08104918897151947, 0.13708731532096863, 0.1925928145647049, 0.2370634377002716, -0.2821579873561859, -0.22671422362327576, 0.0899062305688858, 0.29176875948905945, -0.03146445006132126, 0.04327007010579109, -0.04735543951392174, -0.652544379234314, 0.3559955060482025, 0.03991517424583435, -0.09408517181873322, 0.14504382014274597, -0.08631426095962524, -0.1655561923980713, -0.25147074460983276, -0.2675711214542389, -0.2202230989933014, -0.019351119175553322, -0.016915977001190186, 0.017483461648225784, 0.06582993268966675, -0.27473998069763184, 0.6899194717407227, -0.3939708173274994, 0.14065279066562653, -0.2124442160129547, 0.5503130555152893, -0.03201579302549362, 0.059807199984788895, -0.012553738430142403, 0.13051466643810272, 0.30562469363212585, -0.09303276985883713, -0.07941249758005142, 0.3704999089241028, 0.006911961827427149, 0.16692501306533813, -0.05065783113241196, 0.25168687105178833, 0.26661309599876404, -0.2968882918357849, 0.2391955852508545, 0.2839130163192749, 0.05913250148296356, 0.05797424167394638, 0.005060840398073196, 0.24801266193389893, 0.10853447020053864, 0.1219538152217865, 0.05764736980199814, -0.17246036231517792, 0.17578260600566864, -0.05663055181503296, 0.12039273232221603, -0.0433434396982193, 0.024791203439235687, 0.09358195960521698, 0.5590724945068359, -0.14896759390830994, -0.2962900996208191, -0.13456660509109497, 0.4552347958087921, 0.14434154331684113, -0.13991641998291016, -0.026227131485939026, -0.11647037416696548, 0.14453095197677612, 0.21291103959083557, 0.10801537334918976, 0.3510432839393616, 0.2801332473754883, -0.5974588990211487, 0.22917574644088745, -0.12576045095920563, -0.0784912258386612, 0.16016629338264465, -0.07382656633853912, 0.07491812855005264, 0.3334081470966339, 0.0019282088615000248, 0.19912923872470856, -0.2173793613910675, -0.39564934372901917, -0.2351122349500656, 0.2192082405090332, -0.4444912075996399, 0.010945873335003853, -0.21578606963157654, -0.1543773114681244, -0.07392406463623047, 0.04753128066658974, -0.06849750876426697, -0.13562317192554474, -0.11906704306602478, 0.1703486293554306, 0.08466315269470215, 0.03125852346420288, -0.6403214931488037, 0.01372922956943512, -0.10076966136693954, -0.1925148218870163, -0.18880145251750946, 0.14538413286209106, -0.17631614208221436, -0.010183773934841156, 0.4653300940990448, -0.13922373950481415, 0.07035437226295471, -0.49369925260543823, 0.02268737554550171, -0.21780750155448914, -0.5930320620536804, -0.06939332187175751, -0.10381197929382324, 0.23391598463058472, 0.126523956656456, 0.11554829031229019, -0.04536612331867218, -0.3656386137008667, 0.16471140086650848, 0.026804188266396523, -0.17205987870693207, 0.1776982545852661, -0.07045034319162369, -0.14960931241512299, 0.09931671619415283, -0.7325296998023987, 0.06186218559741974, -0.21140071749687195, 0.17415395379066467, 0.08074897527694702, 0.02521970123052597, 0.2991049587726593, 0.1805073469877243, 0.307908833026886, 0.08367352187633514, -0.18202131986618042, 0.010981274768710136, -0.2159576416015625, 0.3450257480144501, 0.03751088306307793, -0.1181052178144455, 0.16258791089057922, 0.0450231209397316, 0.15126389265060425, -0.07289328426122665, -0.4477995038032532, 0.016055237501859665, -0.2131376564502716, 0.33122336864471436, -0.12799137830734253, -0.15406621992588043, 0.3858329951763153, 0.03730813413858414, 0.12066580355167389, -0.15293461084365845, -0.027093948796391487, -0.1205233708024025, 0.2460719347000122, 0.19039607048034668, -0.22846141457557678, 0.5267710089683533, -0.21337635815143585, 0.1943134367465973, 0.2366066575050354, -0.14358949661254883, 0.3200841248035431, -0.17547549307346344, 0.5637099742889404, -0.374299019575119, -0.3002450466156006, 0.17194733023643494, 0.25916585326194763, 0.039200492203235626, -0.03866566717624664, -0.16318657994270325, -0.03205063194036484, -0.23924417793750763, -0.12447941303253174, -0.4805607199668884, 0.044979777187108994, -0.13710801303386688, 0.10707380622625351, 0.07221794873476028, 0.00023132190108299255, 0.1654784381389618, 0.1553042232990265, -0.18448886275291443, 0.20680354535579681, 0.3229154348373413, 0.2776373028755188, -0.05239993333816528, -0.7211449146270752, -0.3382638394832611, -0.33248433470726013, 0.4898707866668701, 0.15872885286808014, 0.09349950402975082, 0.16168782114982605, -0.04446743428707123, -0.1535758227109909, -0.20246872305870056, 0.5855938196182251, -0.2085537165403366, -0.15689823031425476, 0.3103548288345337, 0.09779070317745209, -0.144226536154747, -0.21549326181411743, -0.15339675545692444, 0.35497212409973145, 0.06769520789384842, 0.44606512784957886, -0.012783072888851166, -0.17859682440757751, 0.32916632294654846, 0.39623141288757324, -0.10084369033575058, 0.012522722594439983, -0.2164147049188614, 0.15831851959228516, 0.03815337270498276, -0.038844890892505646, -0.1345280110836029, 0.3791518211364746, -0.17897719144821167, -0.18548530340194702, -0.11116273701190948, -0.34299954771995544, 0.29436856508255005, 0.32736676931381226, 0.5280426144599915, 0.032372910529375076, 0.2896404266357422, 0.2594362199306488, 0.025546390563249588, 0.813024640083313, 0.3938734531402588, 0.09700299799442291, -0.16714584827423096, -0.1696544885635376, 0.1400681436061859, 0.2687196433544159, 0.158284530043602, -0.13553428649902344, 0.016789279878139496, -0.1615501344203949, 0.0685495063662529, -0.10237594693899155, 0.12742917239665985, 0.3834613859653473, 0.06662273406982422, -0.4211311936378479, -0.3310449421405792, 0.37849047780036926, -0.04159644991159439, 0.06444208323955536, 0.23167026042938232, 0.3991468548774719, -0.28051865100860596, -0.14158283174037933, -0.06993842869997025, 0.7818910479545593, 0.1888568103313446, -0.021638687700033188, 0.19186854362487793, -0.09989118576049805, 0.30720314383506775, -0.459031879901886, 0.12848913669586182, -0.4941147267818451, -0.17331606149673462, -0.10538969933986664, -0.1505172699689865, 0.2728251814842224, 0.20999574661254883, -0.253799706697464, 0.4802767038345337, -0.2117661088705063, 0.23737984895706177, -0.09534399956464767, 0.05760101228952408, -0.16801901161670685, 0.25554516911506653, -0.43884992599487305, 0.02699108049273491, 0.10594606399536133, 0.11452294886112213, -0.2314448356628418, 0.008271612226963043, -0.04769138619303703, -0.3490656614303589, -0.25006914138793945, 0.38084158301353455, -0.46623557806015015, 0.029804427176713943, 0.3340104818344116, -0.23817680776119232, 0.16812583804130554, 0.40198859572410583, 0.3803263306617737, 0.2154344767332077, -0.3112197518348694, 0.19210611283779144, -0.3263019621372223, -0.08456164598464966, 0.22025974094867706, 0.0536632239818573, 0.061833471059799194, 0.04313310235738754, -0.32807767391204834, 0.25284287333488464, -0.09328986704349518, -0.24625074863433838, -0.17961646616458893, -0.011658705770969391, -0.038385048508644104, -0.19487406313419342, -0.2396782487630844, 0.20479410886764526, 0.044827889651060104, -0.2937813401222229, 0.06940848380327225, -0.25055044889450073, 0.09080768376588821, -0.07375732809305191, 0.09955155104398727, -0.3038039207458496, 0.005049481987953186, 0.364831805229187, -0.20864492654800415, -0.20678751170635223, 0.3426254093647003, -0.03812296688556671, -0.11980237066745758, -0.2006416618824005, 0.13849708437919617, 0.36888518929481506, -0.40817150473594666, -0.03545752540230751, 0.0491519533097744, 0.2197423130273819, 0.16326451301574707, 0.16427694261074066, 0.2157881259918213, -0.1765475571155548, 0.17065204679965973, -0.36845678091049194, -0.3288734257221222, 0.4158748388290405, 0.011359531432390213, 0.19417399168014526, 0.029639892280101776, 0.1662595272064209, 0.001107214018702507, -0.14559175074100494, -0.17908841371536255, 0.10977235436439514, 0.01751823164522648, 0.05696380138397217, -0.05286532640457153, 0.26533856987953186, 0.4178846478462219, -0.007606327999383211, 0.07748520374298096, 0.06420212984085083, 0.0036086412146687508, -0.1160660982131958, -0.14117537438869476, 0.16353467106819153, 0.10173472762107849, 0.01773945614695549, 0.07958688586950302, -0.0039025358855724335, 0.04279405623674393, -0.21024154126644135, 0.3398745357990265, 0.2861105501651764, 0.09775926917791367, 0.40198683738708496, 0.36421114206314087, -0.10018058866262436, -0.1780906617641449, 0.13998109102249146, 0.04036015272140503, 0.17873722314834595, 0.1127701997756958, 0.13480211794376373, -0.021079659461975098, 0.07906801998615265, 0.18076935410499573, 0.213412344455719, -0.3061069846153259, 0.214528888463974, 0.04603289067745209, -0.304535448551178, 0.11340565979480743, 0.18224933743476868, -0.060641203075647354, 0.48235559463500977, -0.1592118740081787, 0.1251029521226883, 0.39255303144454956, 0.1670965999364853, -0.41053295135498047, -0.07996223866939545, 0.32610613107681274, 0.08820538967847824, -0.07786692678928375, 0.017463691532611847, 0.011662308126688004, -0.36288902163505554, 0.37056970596313477, 0.20260107517242432, 0.27336594462394714, -0.10349589586257935, 0.4147837162017822, 0.4607183039188385, 0.08928601443767548, -0.10097014904022217, 0.2551831305027008, -0.17657597362995148, 0.25185883045196533, 0.6028957962989807, -0.15398302674293518, 0.10235487669706345, 0.05931699275970459, 0.2546626627445221, 0.0828360915184021, -0.3712722361087799, -0.5648518800735474, 0.2252015918493271, -0.13383466005325317, 0.01972772926092148, 0.040877941995859146, 0.40940433740615845, 0.17511260509490967, -0.07257742434740067, -0.3387376666069031, -0.2950591444969177, -0.24094492197036743, 0.06125553324818611, -0.048667967319488525, -0.39748427271842957, -0.06548172235488892, 0.026994425803422928, -0.051775526255369186, -0.11366336047649384, 0.27537718415260315, -0.06408514082431793, -0.404360294342041, -0.15767565369606018, 0.18155595660209656, 0.37276142835617065, 0.09641104191541672, -0.1554260104894638, 0.2109927535057068, 0.2434033751487732, 0.03292182460427284, 0.08297418802976608, 0.29364874958992004, 0.4390777051448822, 0.2707827091217041, 0.05060660466551781, -0.01621018722653389, 0.18598292768001556, -0.11949718743562698, 0.15814441442489624, 0.20075982809066772, -0.30768322944641113, 0.09850050508975983, -0.01740395650267601, 0.1406882256269455, -0.06385967135429382, 0.19443678855895996, -0.12976400554180145, 0.22686313092708588, -0.532724916934967, 0.07162871211767197, -0.1680387556552887, -0.10884374380111694, -0.12903046607971191, 0.22895359992980957, -0.333189994096756, -0.2267201542854309, 0.2730574309825897, 0.06936207413673401, 0.009592164307832718, 0.2673299312591553, 0.03266995772719383, -0.15973274409770966, 0.15364694595336914, 0.2203376442193985, 0.15984874963760376, -0.29031941294670105, -0.3306838274002075, -0.4528311789035797, 0.00855991244316101, 0.026859130710363388, 0.3244035243988037, -0.20155858993530273, -0.11409763246774673, -0.2526094615459442, -0.02886722981929779, 0.4957997798919678, 0.04034644365310669, 0.2946101427078247, 0.004561007022857666, -0.42161792516708374, -0.04315909370779991, 0.20885266363620758, -0.05194767564535141, -0.04269643872976303, -0.5033798217773438, -0.1376316398382187, 0.08641179651021957, -0.09984798729419708, -0.15372134745121002, 0.13674162328243256, -0.16653066873550415, 0.023983702063560486, 0.8094243407249451, 0.0855741798877716, 0.6356728076934814, -0.10314077138900757, -0.012256872840225697, -0.4340739846229553, -0.5135287642478943, 0.040885500609874725, 0.09606985002756119, 0.028228413313627243, 0.5386804342269897, -0.40883493423461914, -0.11444643139839172, -0.12336253374814987, 0.2872782349586487, 0.08475111424922943, 0.14293259382247925, -0.35204750299453735, 0.04950695484876633, -0.34726181626319885, 0.04756177216768265, -0.2015838623046875, 0.09372001886367798, 0.06344207376241684, -0.03364303335547447, -0.13188576698303223, -0.2346055507659912, 0.5741701126098633, -0.31822100281715393, 0.017196588218212128, -0.20539633929729462, 0.16087646782398224, 0.19501513242721558, -0.24939987063407898, -0.37660184502601624, 0.1034565344452858, 0.5223572254180908, 0.21953681111335754, -0.2243412286043167, 0.3346847891807556, -0.11965794861316681, -0.06567592173814774, 0.11322501301765442, 0.19633156061172485, 0.07418203353881836, -0.22253546118736267, 0.09397116303443909, -0.31466585397720337 ]
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
That might be due to a corrupted cache. Please, retry loading the dataset passing: `download_mode="force_redownload"` ```python ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") ``` It the above command does not fix the issue, then you will need to fix the cache manually, by removing the corresponding directory inside `~/.cache/huggingface/`.
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2
49
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2 That might be due to a corrupted cache. Please, retry loading the dataset passing: `download_mode="force_redownload"` ```python ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") ``` It the above command does not fix the issue, then you will need to fix the cache manually, by removing the corresponding directory inside `~/.cache/huggingface/`.
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.1673109382390976, 0.09469642490148544, -0.12878842651844025, 0.07063333690166473, 0.32241034507751465, 0.02620493248105049, 0.19688363373279572, -0.20495252311229706, 0.2669195234775543, -0.4299952983856201, -0.05025388300418854, -0.5118574500083923, 0.1403893232345581, -0.07259971648454666, 0.3794679641723633, 0.02385059744119644, -0.6958081722259521, 0.44850096106529236, -0.20207393169403076, 0.2992042601108551, 0.49243301153182983, -0.00012066363706253469, 0.01928948611021042, 0.3469124436378479, -0.08317720890045166, -0.11738654971122742, -0.05980360507965088, -0.14499206840991974, -0.19902335107326508, 0.022213812917470932, -0.2882561981678009, -0.014482324942946434, -0.32274869084358215, 0.015865202993154526, -0.01316012442111969, 0.28171390295028687, 0.5431941747665405, 0.1330081820487976, 0.1479310244321823, 0.39817681908607483, -0.1542314738035202, 0.07552634924650192, -0.27447015047073364, -0.01908506453037262, 0.23912999033927917, -0.08974960446357727, -0.07092311978340149, 0.2659449577331543, 0.13223052024841309, -0.2828100025653839, -0.17826257646083832, 0.2492561936378479, -0.017540816217660904, -0.11171411722898483, -0.3811374008655548, 0.31400471925735474, 0.13975772261619568, 0.42582520842552185, -0.38074347376823425, -0.38033801317214966, -0.1683962643146515, 0.20151138305664062, -0.022123482078313828, 0.4386742413043976, 0.006013292353600264, 0.25066131353378296, 0.16168321669101715, -0.04256672412157059, -0.09226145595312119, -0.17877313494682312, 0.19423139095306396, -0.10208393633365631, -0.024914659559726715, -0.09587426483631134, 0.04586704075336456, 0.2314188927412033, -0.10027109086513519, 0.04329567775130272, -0.04045218974351883, -0.31813836097717285, 0.22126537561416626, -0.3310926556587219, -0.04149278253316879, 0.021100010722875595, 0.37260234355926514, 0.04357099533081055, -0.03800217807292938, -0.15389499068260193, -0.15865910053253174, -0.21904052793979645, 0.04323819652199745, -0.2167455106973648, 0.0561506487429142, 0.10338110476732254, 0.23301638662815094, 0.18303918838500977, 0.10128527134656906, -0.020585210993885994, -0.2543068826198578, -0.1281110793352127, -0.495686411857605, -0.14644773304462433, 0.30492228269577026, 0.44477009773254395, -0.4531577527523041, -0.5866712331771851, 0.26064440608024597, -0.42576807737350464, -0.03383442759513855, 0.10021638125181198, 0.36175599694252014, -0.13488446176052094, 0.34633806347846985, 0.05167446285486221, 0.2822863459587097, -0.1180596724152565, -0.20207518339157104, -0.1771644502878189, 0.1411392241716385, -0.19642393290996552, 0.07668192684650421, 0.22601382434368134, -0.4352952241897583, 0.31519436836242676, 0.10053573548793793, 0.3195825219154358, 0.024610884487628937, -0.03942642733454704, -0.06250287592411041, -0.3420781195163727, 0.29523801803588867, -0.2975321114063263, 0.03572583198547363, 0.1402018517255783, -0.2860606610774994, -0.06302879750728607, 0.18216350674629211, -0.32619377970695496, -0.02672683820128441, -0.18541967868804932, 0.052909623831510544, -0.1444951295852661, 0.05327868461608887, -0.4641789495944977, -0.034403253346681595, -0.09688795357942581, -0.27016761898994446, 0.09257107228040695, -0.18675367534160614, 0.21426188945770264, -0.24912060797214508, 0.1467367559671402, 0.6955875754356384, -0.5375068783760071, -0.07292602956295013, 0.1932041496038437, -0.05842846259474754, 0.035234034061431885, 0.10900452733039856, -0.1654689460992813, 0.13702718913555145, -0.3446011543273926, -0.10282328724861145, 0.15042896568775177, -0.4401116967201233, -0.6035734415054321, 0.10642585903406143, 0.013413652777671814, 0.22816316783428192, 0.12718459963798523, -0.03874368593096733, -0.4771975576877594, -0.023053469136357307, -0.10390527546405792, -0.30530285835266113, -0.012857554480433464, -0.13113047182559967, -0.23246614634990692, -0.15119221806526184, 0.5078813433647156, 0.07603226602077484, 0.2369411736726761, 0.08104918897151947, 0.13708731532096863, 0.1925928145647049, 0.2370634377002716, -0.2821579873561859, -0.22671422362327576, 0.0899062305688858, 0.29176875948905945, -0.03146445006132126, 0.04327007010579109, -0.04735543951392174, -0.652544379234314, 0.3559955060482025, 0.03991517424583435, -0.09408517181873322, 0.14504382014274597, -0.08631426095962524, -0.1655561923980713, -0.25147074460983276, -0.2675711214542389, -0.2202230989933014, -0.019351119175553322, -0.016915977001190186, 0.017483461648225784, 0.06582993268966675, -0.27473998069763184, 0.6899194717407227, -0.3939708173274994, 0.14065279066562653, -0.2124442160129547, 0.5503130555152893, -0.03201579302549362, 0.059807199984788895, -0.012553738430142403, 0.13051466643810272, 0.30562469363212585, -0.09303276985883713, -0.07941249758005142, 0.3704999089241028, 0.006911961827427149, 0.16692501306533813, -0.05065783113241196, 0.25168687105178833, 0.26661309599876404, -0.2968882918357849, 0.2391955852508545, 0.2839130163192749, 0.05913250148296356, 0.05797424167394638, 0.005060840398073196, 0.24801266193389893, 0.10853447020053864, 0.1219538152217865, 0.05764736980199814, -0.17246036231517792, 0.17578260600566864, -0.05663055181503296, 0.12039273232221603, -0.0433434396982193, 0.024791203439235687, 0.09358195960521698, 0.5590724945068359, -0.14896759390830994, -0.2962900996208191, -0.13456660509109497, 0.4552347958087921, 0.14434154331684113, -0.13991641998291016, -0.026227131485939026, -0.11647037416696548, 0.14453095197677612, 0.21291103959083557, 0.10801537334918976, 0.3510432839393616, 0.2801332473754883, -0.5974588990211487, 0.22917574644088745, -0.12576045095920563, -0.0784912258386612, 0.16016629338264465, -0.07382656633853912, 0.07491812855005264, 0.3334081470966339, 0.0019282088615000248, 0.19912923872470856, -0.2173793613910675, -0.39564934372901917, -0.2351122349500656, 0.2192082405090332, -0.4444912075996399, 0.010945873335003853, -0.21578606963157654, -0.1543773114681244, -0.07392406463623047, 0.04753128066658974, -0.06849750876426697, -0.13562317192554474, -0.11906704306602478, 0.1703486293554306, 0.08466315269470215, 0.03125852346420288, -0.6403214931488037, 0.01372922956943512, -0.10076966136693954, -0.1925148218870163, -0.18880145251750946, 0.14538413286209106, -0.17631614208221436, -0.010183773934841156, 0.4653300940990448, -0.13922373950481415, 0.07035437226295471, -0.49369925260543823, 0.02268737554550171, -0.21780750155448914, -0.5930320620536804, -0.06939332187175751, -0.10381197929382324, 0.23391598463058472, 0.126523956656456, 0.11554829031229019, -0.04536612331867218, -0.3656386137008667, 0.16471140086650848, 0.026804188266396523, -0.17205987870693207, 0.1776982545852661, -0.07045034319162369, -0.14960931241512299, 0.09931671619415283, -0.7325296998023987, 0.06186218559741974, -0.21140071749687195, 0.17415395379066467, 0.08074897527694702, 0.02521970123052597, 0.2991049587726593, 0.1805073469877243, 0.307908833026886, 0.08367352187633514, -0.18202131986618042, 0.010981274768710136, -0.2159576416015625, 0.3450257480144501, 0.03751088306307793, -0.1181052178144455, 0.16258791089057922, 0.0450231209397316, 0.15126389265060425, -0.07289328426122665, -0.4477995038032532, 0.016055237501859665, -0.2131376564502716, 0.33122336864471436, -0.12799137830734253, -0.15406621992588043, 0.3858329951763153, 0.03730813413858414, 0.12066580355167389, -0.15293461084365845, -0.027093948796391487, -0.1205233708024025, 0.2460719347000122, 0.19039607048034668, -0.22846141457557678, 0.5267710089683533, -0.21337635815143585, 0.1943134367465973, 0.2366066575050354, -0.14358949661254883, 0.3200841248035431, -0.17547549307346344, 0.5637099742889404, -0.374299019575119, -0.3002450466156006, 0.17194733023643494, 0.25916585326194763, 0.039200492203235626, -0.03866566717624664, -0.16318657994270325, -0.03205063194036484, -0.23924417793750763, -0.12447941303253174, -0.4805607199668884, 0.044979777187108994, -0.13710801303386688, 0.10707380622625351, 0.07221794873476028, 0.00023132190108299255, 0.1654784381389618, 0.1553042232990265, -0.18448886275291443, 0.20680354535579681, 0.3229154348373413, 0.2776373028755188, -0.05239993333816528, -0.7211449146270752, -0.3382638394832611, -0.33248433470726013, 0.4898707866668701, 0.15872885286808014, 0.09349950402975082, 0.16168782114982605, -0.04446743428707123, -0.1535758227109909, -0.20246872305870056, 0.5855938196182251, -0.2085537165403366, -0.15689823031425476, 0.3103548288345337, 0.09779070317745209, -0.144226536154747, -0.21549326181411743, -0.15339675545692444, 0.35497212409973145, 0.06769520789384842, 0.44606512784957886, -0.012783072888851166, -0.17859682440757751, 0.32916632294654846, 0.39623141288757324, -0.10084369033575058, 0.012522722594439983, -0.2164147049188614, 0.15831851959228516, 0.03815337270498276, -0.038844890892505646, -0.1345280110836029, 0.3791518211364746, -0.17897719144821167, -0.18548530340194702, -0.11116273701190948, -0.34299954771995544, 0.29436856508255005, 0.32736676931381226, 0.5280426144599915, 0.032372910529375076, 0.2896404266357422, 0.2594362199306488, 0.025546390563249588, 0.813024640083313, 0.3938734531402588, 0.09700299799442291, -0.16714584827423096, -0.1696544885635376, 0.1400681436061859, 0.2687196433544159, 0.158284530043602, -0.13553428649902344, 0.016789279878139496, -0.1615501344203949, 0.0685495063662529, -0.10237594693899155, 0.12742917239665985, 0.3834613859653473, 0.06662273406982422, -0.4211311936378479, -0.3310449421405792, 0.37849047780036926, -0.04159644991159439, 0.06444208323955536, 0.23167026042938232, 0.3991468548774719, -0.28051865100860596, -0.14158283174037933, -0.06993842869997025, 0.7818910479545593, 0.1888568103313446, -0.021638687700033188, 0.19186854362487793, -0.09989118576049805, 0.30720314383506775, -0.459031879901886, 0.12848913669586182, -0.4941147267818451, -0.17331606149673462, -0.10538969933986664, -0.1505172699689865, 0.2728251814842224, 0.20999574661254883, -0.253799706697464, 0.4802767038345337, -0.2117661088705063, 0.23737984895706177, -0.09534399956464767, 0.05760101228952408, -0.16801901161670685, 0.25554516911506653, -0.43884992599487305, 0.02699108049273491, 0.10594606399536133, 0.11452294886112213, -0.2314448356628418, 0.008271612226963043, -0.04769138619303703, -0.3490656614303589, -0.25006914138793945, 0.38084158301353455, -0.46623557806015015, 0.029804427176713943, 0.3340104818344116, -0.23817680776119232, 0.16812583804130554, 0.40198859572410583, 0.3803263306617737, 0.2154344767332077, -0.3112197518348694, 0.19210611283779144, -0.3263019621372223, -0.08456164598464966, 0.22025974094867706, 0.0536632239818573, 0.061833471059799194, 0.04313310235738754, -0.32807767391204834, 0.25284287333488464, -0.09328986704349518, -0.24625074863433838, -0.17961646616458893, -0.011658705770969391, -0.038385048508644104, -0.19487406313419342, -0.2396782487630844, 0.20479410886764526, 0.044827889651060104, -0.2937813401222229, 0.06940848380327225, -0.25055044889450073, 0.09080768376588821, -0.07375732809305191, 0.09955155104398727, -0.3038039207458496, 0.005049481987953186, 0.364831805229187, -0.20864492654800415, -0.20678751170635223, 0.3426254093647003, -0.03812296688556671, -0.11980237066745758, -0.2006416618824005, 0.13849708437919617, 0.36888518929481506, -0.40817150473594666, -0.03545752540230751, 0.0491519533097744, 0.2197423130273819, 0.16326451301574707, 0.16427694261074066, 0.2157881259918213, -0.1765475571155548, 0.17065204679965973, -0.36845678091049194, -0.3288734257221222, 0.4158748388290405, 0.011359531432390213, 0.19417399168014526, 0.029639892280101776, 0.1662595272064209, 0.001107214018702507, -0.14559175074100494, -0.17908841371536255, 0.10977235436439514, 0.01751823164522648, 0.05696380138397217, -0.05286532640457153, 0.26533856987953186, 0.4178846478462219, -0.007606327999383211, 0.07748520374298096, 0.06420212984085083, 0.0036086412146687508, -0.1160660982131958, -0.14117537438869476, 0.16353467106819153, 0.10173472762107849, 0.01773945614695549, 0.07958688586950302, -0.0039025358855724335, 0.04279405623674393, -0.21024154126644135, 0.3398745357990265, 0.2861105501651764, 0.09775926917791367, 0.40198683738708496, 0.36421114206314087, -0.10018058866262436, -0.1780906617641449, 0.13998109102249146, 0.04036015272140503, 0.17873722314834595, 0.1127701997756958, 0.13480211794376373, -0.021079659461975098, 0.07906801998615265, 0.18076935410499573, 0.213412344455719, -0.3061069846153259, 0.214528888463974, 0.04603289067745209, -0.304535448551178, 0.11340565979480743, 0.18224933743476868, -0.060641203075647354, 0.48235559463500977, -0.1592118740081787, 0.1251029521226883, 0.39255303144454956, 0.1670965999364853, -0.41053295135498047, -0.07996223866939545, 0.32610613107681274, 0.08820538967847824, -0.07786692678928375, 0.017463691532611847, 0.011662308126688004, -0.36288902163505554, 0.37056970596313477, 0.20260107517242432, 0.27336594462394714, -0.10349589586257935, 0.4147837162017822, 0.4607183039188385, 0.08928601443767548, -0.10097014904022217, 0.2551831305027008, -0.17657597362995148, 0.25185883045196533, 0.6028957962989807, -0.15398302674293518, 0.10235487669706345, 0.05931699275970459, 0.2546626627445221, 0.0828360915184021, -0.3712722361087799, -0.5648518800735474, 0.2252015918493271, -0.13383466005325317, 0.01972772926092148, 0.040877941995859146, 0.40940433740615845, 0.17511260509490967, -0.07257742434740067, -0.3387376666069031, -0.2950591444969177, -0.24094492197036743, 0.06125553324818611, -0.048667967319488525, -0.39748427271842957, -0.06548172235488892, 0.026994425803422928, -0.051775526255369186, -0.11366336047649384, 0.27537718415260315, -0.06408514082431793, -0.404360294342041, -0.15767565369606018, 0.18155595660209656, 0.37276142835617065, 0.09641104191541672, -0.1554260104894638, 0.2109927535057068, 0.2434033751487732, 0.03292182460427284, 0.08297418802976608, 0.29364874958992004, 0.4390777051448822, 0.2707827091217041, 0.05060660466551781, -0.01621018722653389, 0.18598292768001556, -0.11949718743562698, 0.15814441442489624, 0.20075982809066772, -0.30768322944641113, 0.09850050508975983, -0.01740395650267601, 0.1406882256269455, -0.06385967135429382, 0.19443678855895996, -0.12976400554180145, 0.22686313092708588, -0.532724916934967, 0.07162871211767197, -0.1680387556552887, -0.10884374380111694, -0.12903046607971191, 0.22895359992980957, -0.333189994096756, -0.2267201542854309, 0.2730574309825897, 0.06936207413673401, 0.009592164307832718, 0.2673299312591553, 0.03266995772719383, -0.15973274409770966, 0.15364694595336914, 0.2203376442193985, 0.15984874963760376, -0.29031941294670105, -0.3306838274002075, -0.4528311789035797, 0.00855991244316101, 0.026859130710363388, 0.3244035243988037, -0.20155858993530273, -0.11409763246774673, -0.2526094615459442, -0.02886722981929779, 0.4957997798919678, 0.04034644365310669, 0.2946101427078247, 0.004561007022857666, -0.42161792516708374, -0.04315909370779991, 0.20885266363620758, -0.05194767564535141, -0.04269643872976303, -0.5033798217773438, -0.1376316398382187, 0.08641179651021957, -0.09984798729419708, -0.15372134745121002, 0.13674162328243256, -0.16653066873550415, 0.023983702063560486, 0.8094243407249451, 0.0855741798877716, 0.6356728076934814, -0.10314077138900757, -0.012256872840225697, -0.4340739846229553, -0.5135287642478943, 0.040885500609874725, 0.09606985002756119, 0.028228413313627243, 0.5386804342269897, -0.40883493423461914, -0.11444643139839172, -0.12336253374814987, 0.2872782349586487, 0.08475111424922943, 0.14293259382247925, -0.35204750299453735, 0.04950695484876633, -0.34726181626319885, 0.04756177216768265, -0.2015838623046875, 0.09372001886367798, 0.06344207376241684, -0.03364303335547447, -0.13188576698303223, -0.2346055507659912, 0.5741701126098633, -0.31822100281715393, 0.017196588218212128, -0.20539633929729462, 0.16087646782398224, 0.19501513242721558, -0.24939987063407898, -0.37660184502601624, 0.1034565344452858, 0.5223572254180908, 0.21953681111335754, -0.2243412286043167, 0.3346847891807556, -0.11965794861316681, -0.06567592173814774, 0.11322501301765442, 0.19633156061172485, 0.07418203353881836, -0.22253546118736267, 0.09397116303443909, -0.31466585397720337 ]
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
> That might be due to a corrupted cache. > > Please, retry loading the dataset passing: `download_mode="force_redownload"` > > ```python > ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") > ``` > > It the above command does not fix the issue, then you will need to fix the cache manually, by removing the corresponding directory inside `~/.cache/huggingface/`. The two methods you mentioned above can not solve this problem, but the command line interface shows Downloading readme: 41.1kB [00:00, 281kB/s], and then FileNotFoundError appears. It is worth noting that I have no problem loading other datasets with the initial method, such as wikitext datasets
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2
104
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2 > That might be due to a corrupted cache. > > Please, retry loading the dataset passing: `download_mode="force_redownload"` > > ```python > ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") > ``` > > It the above command does not fix the issue, then you will need to fix the cache manually, by removing the corresponding directory inside `~/.cache/huggingface/`. The two methods you mentioned above can not solve this problem, but the command line interface shows Downloading readme: 41.1kB [00:00, 281kB/s], and then FileNotFoundError appears. It is worth noting that I have no problem loading other datasets with the initial method, such as wikitext datasets
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.1673109382390976, 0.09469642490148544, -0.12878842651844025, 0.07063333690166473, 0.32241034507751465, 0.02620493248105049, 0.19688363373279572, -0.20495252311229706, 0.2669195234775543, -0.4299952983856201, -0.05025388300418854, -0.5118574500083923, 0.1403893232345581, -0.07259971648454666, 0.3794679641723633, 0.02385059744119644, -0.6958081722259521, 0.44850096106529236, -0.20207393169403076, 0.2992042601108551, 0.49243301153182983, -0.00012066363706253469, 0.01928948611021042, 0.3469124436378479, -0.08317720890045166, -0.11738654971122742, -0.05980360507965088, -0.14499206840991974, -0.19902335107326508, 0.022213812917470932, -0.2882561981678009, -0.014482324942946434, -0.32274869084358215, 0.015865202993154526, -0.01316012442111969, 0.28171390295028687, 0.5431941747665405, 0.1330081820487976, 0.1479310244321823, 0.39817681908607483, -0.1542314738035202, 0.07552634924650192, -0.27447015047073364, -0.01908506453037262, 0.23912999033927917, -0.08974960446357727, -0.07092311978340149, 0.2659449577331543, 0.13223052024841309, -0.2828100025653839, -0.17826257646083832, 0.2492561936378479, -0.017540816217660904, -0.11171411722898483, -0.3811374008655548, 0.31400471925735474, 0.13975772261619568, 0.42582520842552185, -0.38074347376823425, -0.38033801317214966, -0.1683962643146515, 0.20151138305664062, -0.022123482078313828, 0.4386742413043976, 0.006013292353600264, 0.25066131353378296, 0.16168321669101715, -0.04256672412157059, -0.09226145595312119, -0.17877313494682312, 0.19423139095306396, -0.10208393633365631, -0.024914659559726715, -0.09587426483631134, 0.04586704075336456, 0.2314188927412033, -0.10027109086513519, 0.04329567775130272, -0.04045218974351883, -0.31813836097717285, 0.22126537561416626, -0.3310926556587219, -0.04149278253316879, 0.021100010722875595, 0.37260234355926514, 0.04357099533081055, -0.03800217807292938, -0.15389499068260193, -0.15865910053253174, -0.21904052793979645, 0.04323819652199745, -0.2167455106973648, 0.0561506487429142, 0.10338110476732254, 0.23301638662815094, 0.18303918838500977, 0.10128527134656906, -0.020585210993885994, -0.2543068826198578, -0.1281110793352127, -0.495686411857605, -0.14644773304462433, 0.30492228269577026, 0.44477009773254395, -0.4531577527523041, -0.5866712331771851, 0.26064440608024597, -0.42576807737350464, -0.03383442759513855, 0.10021638125181198, 0.36175599694252014, -0.13488446176052094, 0.34633806347846985, 0.05167446285486221, 0.2822863459587097, -0.1180596724152565, -0.20207518339157104, -0.1771644502878189, 0.1411392241716385, -0.19642393290996552, 0.07668192684650421, 0.22601382434368134, -0.4352952241897583, 0.31519436836242676, 0.10053573548793793, 0.3195825219154358, 0.024610884487628937, -0.03942642733454704, -0.06250287592411041, -0.3420781195163727, 0.29523801803588867, -0.2975321114063263, 0.03572583198547363, 0.1402018517255783, -0.2860606610774994, -0.06302879750728607, 0.18216350674629211, -0.32619377970695496, -0.02672683820128441, -0.18541967868804932, 0.052909623831510544, -0.1444951295852661, 0.05327868461608887, -0.4641789495944977, -0.034403253346681595, -0.09688795357942581, -0.27016761898994446, 0.09257107228040695, -0.18675367534160614, 0.21426188945770264, -0.24912060797214508, 0.1467367559671402, 0.6955875754356384, -0.5375068783760071, -0.07292602956295013, 0.1932041496038437, -0.05842846259474754, 0.035234034061431885, 0.10900452733039856, -0.1654689460992813, 0.13702718913555145, -0.3446011543273926, -0.10282328724861145, 0.15042896568775177, -0.4401116967201233, -0.6035734415054321, 0.10642585903406143, 0.013413652777671814, 0.22816316783428192, 0.12718459963798523, -0.03874368593096733, -0.4771975576877594, -0.023053469136357307, -0.10390527546405792, -0.30530285835266113, -0.012857554480433464, -0.13113047182559967, -0.23246614634990692, -0.15119221806526184, 0.5078813433647156, 0.07603226602077484, 0.2369411736726761, 0.08104918897151947, 0.13708731532096863, 0.1925928145647049, 0.2370634377002716, -0.2821579873561859, -0.22671422362327576, 0.0899062305688858, 0.29176875948905945, -0.03146445006132126, 0.04327007010579109, -0.04735543951392174, -0.652544379234314, 0.3559955060482025, 0.03991517424583435, -0.09408517181873322, 0.14504382014274597, -0.08631426095962524, -0.1655561923980713, -0.25147074460983276, -0.2675711214542389, -0.2202230989933014, -0.019351119175553322, -0.016915977001190186, 0.017483461648225784, 0.06582993268966675, -0.27473998069763184, 0.6899194717407227, -0.3939708173274994, 0.14065279066562653, -0.2124442160129547, 0.5503130555152893, -0.03201579302549362, 0.059807199984788895, -0.012553738430142403, 0.13051466643810272, 0.30562469363212585, -0.09303276985883713, -0.07941249758005142, 0.3704999089241028, 0.006911961827427149, 0.16692501306533813, -0.05065783113241196, 0.25168687105178833, 0.26661309599876404, -0.2968882918357849, 0.2391955852508545, 0.2839130163192749, 0.05913250148296356, 0.05797424167394638, 0.005060840398073196, 0.24801266193389893, 0.10853447020053864, 0.1219538152217865, 0.05764736980199814, -0.17246036231517792, 0.17578260600566864, -0.05663055181503296, 0.12039273232221603, -0.0433434396982193, 0.024791203439235687, 0.09358195960521698, 0.5590724945068359, -0.14896759390830994, -0.2962900996208191, -0.13456660509109497, 0.4552347958087921, 0.14434154331684113, -0.13991641998291016, -0.026227131485939026, -0.11647037416696548, 0.14453095197677612, 0.21291103959083557, 0.10801537334918976, 0.3510432839393616, 0.2801332473754883, -0.5974588990211487, 0.22917574644088745, -0.12576045095920563, -0.0784912258386612, 0.16016629338264465, -0.07382656633853912, 0.07491812855005264, 0.3334081470966339, 0.0019282088615000248, 0.19912923872470856, -0.2173793613910675, -0.39564934372901917, -0.2351122349500656, 0.2192082405090332, -0.4444912075996399, 0.010945873335003853, -0.21578606963157654, -0.1543773114681244, -0.07392406463623047, 0.04753128066658974, -0.06849750876426697, -0.13562317192554474, -0.11906704306602478, 0.1703486293554306, 0.08466315269470215, 0.03125852346420288, -0.6403214931488037, 0.01372922956943512, -0.10076966136693954, -0.1925148218870163, -0.18880145251750946, 0.14538413286209106, -0.17631614208221436, -0.010183773934841156, 0.4653300940990448, -0.13922373950481415, 0.07035437226295471, -0.49369925260543823, 0.02268737554550171, -0.21780750155448914, -0.5930320620536804, -0.06939332187175751, -0.10381197929382324, 0.23391598463058472, 0.126523956656456, 0.11554829031229019, -0.04536612331867218, -0.3656386137008667, 0.16471140086650848, 0.026804188266396523, -0.17205987870693207, 0.1776982545852661, -0.07045034319162369, -0.14960931241512299, 0.09931671619415283, -0.7325296998023987, 0.06186218559741974, -0.21140071749687195, 0.17415395379066467, 0.08074897527694702, 0.02521970123052597, 0.2991049587726593, 0.1805073469877243, 0.307908833026886, 0.08367352187633514, -0.18202131986618042, 0.010981274768710136, -0.2159576416015625, 0.3450257480144501, 0.03751088306307793, -0.1181052178144455, 0.16258791089057922, 0.0450231209397316, 0.15126389265060425, -0.07289328426122665, -0.4477995038032532, 0.016055237501859665, -0.2131376564502716, 0.33122336864471436, -0.12799137830734253, -0.15406621992588043, 0.3858329951763153, 0.03730813413858414, 0.12066580355167389, -0.15293461084365845, -0.027093948796391487, -0.1205233708024025, 0.2460719347000122, 0.19039607048034668, -0.22846141457557678, 0.5267710089683533, -0.21337635815143585, 0.1943134367465973, 0.2366066575050354, -0.14358949661254883, 0.3200841248035431, -0.17547549307346344, 0.5637099742889404, -0.374299019575119, -0.3002450466156006, 0.17194733023643494, 0.25916585326194763, 0.039200492203235626, -0.03866566717624664, -0.16318657994270325, -0.03205063194036484, -0.23924417793750763, -0.12447941303253174, -0.4805607199668884, 0.044979777187108994, -0.13710801303386688, 0.10707380622625351, 0.07221794873476028, 0.00023132190108299255, 0.1654784381389618, 0.1553042232990265, -0.18448886275291443, 0.20680354535579681, 0.3229154348373413, 0.2776373028755188, -0.05239993333816528, -0.7211449146270752, -0.3382638394832611, -0.33248433470726013, 0.4898707866668701, 0.15872885286808014, 0.09349950402975082, 0.16168782114982605, -0.04446743428707123, -0.1535758227109909, -0.20246872305870056, 0.5855938196182251, -0.2085537165403366, -0.15689823031425476, 0.3103548288345337, 0.09779070317745209, -0.144226536154747, -0.21549326181411743, -0.15339675545692444, 0.35497212409973145, 0.06769520789384842, 0.44606512784957886, -0.012783072888851166, -0.17859682440757751, 0.32916632294654846, 0.39623141288757324, -0.10084369033575058, 0.012522722594439983, -0.2164147049188614, 0.15831851959228516, 0.03815337270498276, -0.038844890892505646, -0.1345280110836029, 0.3791518211364746, -0.17897719144821167, -0.18548530340194702, -0.11116273701190948, -0.34299954771995544, 0.29436856508255005, 0.32736676931381226, 0.5280426144599915, 0.032372910529375076, 0.2896404266357422, 0.2594362199306488, 0.025546390563249588, 0.813024640083313, 0.3938734531402588, 0.09700299799442291, -0.16714584827423096, -0.1696544885635376, 0.1400681436061859, 0.2687196433544159, 0.158284530043602, -0.13553428649902344, 0.016789279878139496, -0.1615501344203949, 0.0685495063662529, -0.10237594693899155, 0.12742917239665985, 0.3834613859653473, 0.06662273406982422, -0.4211311936378479, -0.3310449421405792, 0.37849047780036926, -0.04159644991159439, 0.06444208323955536, 0.23167026042938232, 0.3991468548774719, -0.28051865100860596, -0.14158283174037933, -0.06993842869997025, 0.7818910479545593, 0.1888568103313446, -0.021638687700033188, 0.19186854362487793, -0.09989118576049805, 0.30720314383506775, -0.459031879901886, 0.12848913669586182, -0.4941147267818451, -0.17331606149673462, -0.10538969933986664, -0.1505172699689865, 0.2728251814842224, 0.20999574661254883, -0.253799706697464, 0.4802767038345337, -0.2117661088705063, 0.23737984895706177, -0.09534399956464767, 0.05760101228952408, -0.16801901161670685, 0.25554516911506653, -0.43884992599487305, 0.02699108049273491, 0.10594606399536133, 0.11452294886112213, -0.2314448356628418, 0.008271612226963043, -0.04769138619303703, -0.3490656614303589, -0.25006914138793945, 0.38084158301353455, -0.46623557806015015, 0.029804427176713943, 0.3340104818344116, -0.23817680776119232, 0.16812583804130554, 0.40198859572410583, 0.3803263306617737, 0.2154344767332077, -0.3112197518348694, 0.19210611283779144, -0.3263019621372223, -0.08456164598464966, 0.22025974094867706, 0.0536632239818573, 0.061833471059799194, 0.04313310235738754, -0.32807767391204834, 0.25284287333488464, -0.09328986704349518, -0.24625074863433838, -0.17961646616458893, -0.011658705770969391, -0.038385048508644104, -0.19487406313419342, -0.2396782487630844, 0.20479410886764526, 0.044827889651060104, -0.2937813401222229, 0.06940848380327225, -0.25055044889450073, 0.09080768376588821, -0.07375732809305191, 0.09955155104398727, -0.3038039207458496, 0.005049481987953186, 0.364831805229187, -0.20864492654800415, -0.20678751170635223, 0.3426254093647003, -0.03812296688556671, -0.11980237066745758, -0.2006416618824005, 0.13849708437919617, 0.36888518929481506, -0.40817150473594666, -0.03545752540230751, 0.0491519533097744, 0.2197423130273819, 0.16326451301574707, 0.16427694261074066, 0.2157881259918213, -0.1765475571155548, 0.17065204679965973, -0.36845678091049194, -0.3288734257221222, 0.4158748388290405, 0.011359531432390213, 0.19417399168014526, 0.029639892280101776, 0.1662595272064209, 0.001107214018702507, -0.14559175074100494, -0.17908841371536255, 0.10977235436439514, 0.01751823164522648, 0.05696380138397217, -0.05286532640457153, 0.26533856987953186, 0.4178846478462219, -0.007606327999383211, 0.07748520374298096, 0.06420212984085083, 0.0036086412146687508, -0.1160660982131958, -0.14117537438869476, 0.16353467106819153, 0.10173472762107849, 0.01773945614695549, 0.07958688586950302, -0.0039025358855724335, 0.04279405623674393, -0.21024154126644135, 0.3398745357990265, 0.2861105501651764, 0.09775926917791367, 0.40198683738708496, 0.36421114206314087, -0.10018058866262436, -0.1780906617641449, 0.13998109102249146, 0.04036015272140503, 0.17873722314834595, 0.1127701997756958, 0.13480211794376373, -0.021079659461975098, 0.07906801998615265, 0.18076935410499573, 0.213412344455719, -0.3061069846153259, 0.214528888463974, 0.04603289067745209, -0.304535448551178, 0.11340565979480743, 0.18224933743476868, -0.060641203075647354, 0.48235559463500977, -0.1592118740081787, 0.1251029521226883, 0.39255303144454956, 0.1670965999364853, -0.41053295135498047, -0.07996223866939545, 0.32610613107681274, 0.08820538967847824, -0.07786692678928375, 0.017463691532611847, 0.011662308126688004, -0.36288902163505554, 0.37056970596313477, 0.20260107517242432, 0.27336594462394714, -0.10349589586257935, 0.4147837162017822, 0.4607183039188385, 0.08928601443767548, -0.10097014904022217, 0.2551831305027008, -0.17657597362995148, 0.25185883045196533, 0.6028957962989807, -0.15398302674293518, 0.10235487669706345, 0.05931699275970459, 0.2546626627445221, 0.0828360915184021, -0.3712722361087799, -0.5648518800735474, 0.2252015918493271, -0.13383466005325317, 0.01972772926092148, 0.040877941995859146, 0.40940433740615845, 0.17511260509490967, -0.07257742434740067, -0.3387376666069031, -0.2950591444969177, -0.24094492197036743, 0.06125553324818611, -0.048667967319488525, -0.39748427271842957, -0.06548172235488892, 0.026994425803422928, -0.051775526255369186, -0.11366336047649384, 0.27537718415260315, -0.06408514082431793, -0.404360294342041, -0.15767565369606018, 0.18155595660209656, 0.37276142835617065, 0.09641104191541672, -0.1554260104894638, 0.2109927535057068, 0.2434033751487732, 0.03292182460427284, 0.08297418802976608, 0.29364874958992004, 0.4390777051448822, 0.2707827091217041, 0.05060660466551781, -0.01621018722653389, 0.18598292768001556, -0.11949718743562698, 0.15814441442489624, 0.20075982809066772, -0.30768322944641113, 0.09850050508975983, -0.01740395650267601, 0.1406882256269455, -0.06385967135429382, 0.19443678855895996, -0.12976400554180145, 0.22686313092708588, -0.532724916934967, 0.07162871211767197, -0.1680387556552887, -0.10884374380111694, -0.12903046607971191, 0.22895359992980957, -0.333189994096756, -0.2267201542854309, 0.2730574309825897, 0.06936207413673401, 0.009592164307832718, 0.2673299312591553, 0.03266995772719383, -0.15973274409770966, 0.15364694595336914, 0.2203376442193985, 0.15984874963760376, -0.29031941294670105, -0.3306838274002075, -0.4528311789035797, 0.00855991244316101, 0.026859130710363388, 0.3244035243988037, -0.20155858993530273, -0.11409763246774673, -0.2526094615459442, -0.02886722981929779, 0.4957997798919678, 0.04034644365310669, 0.2946101427078247, 0.004561007022857666, -0.42161792516708374, -0.04315909370779991, 0.20885266363620758, -0.05194767564535141, -0.04269643872976303, -0.5033798217773438, -0.1376316398382187, 0.08641179651021957, -0.09984798729419708, -0.15372134745121002, 0.13674162328243256, -0.16653066873550415, 0.023983702063560486, 0.8094243407249451, 0.0855741798877716, 0.6356728076934814, -0.10314077138900757, -0.012256872840225697, -0.4340739846229553, -0.5135287642478943, 0.040885500609874725, 0.09606985002756119, 0.028228413313627243, 0.5386804342269897, -0.40883493423461914, -0.11444643139839172, -0.12336253374814987, 0.2872782349586487, 0.08475111424922943, 0.14293259382247925, -0.35204750299453735, 0.04950695484876633, -0.34726181626319885, 0.04756177216768265, -0.2015838623046875, 0.09372001886367798, 0.06344207376241684, -0.03364303335547447, -0.13188576698303223, -0.2346055507659912, 0.5741701126098633, -0.31822100281715393, 0.017196588218212128, -0.20539633929729462, 0.16087646782398224, 0.19501513242721558, -0.24939987063407898, -0.37660184502601624, 0.1034565344452858, 0.5223572254180908, 0.21953681111335754, -0.2243412286043167, 0.3346847891807556, -0.11965794861316681, -0.06567592173814774, 0.11322501301765442, 0.19633156061172485, 0.07418203353881836, -0.22253546118736267, 0.09397116303443909, -0.31466585397720337 ]
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
> The two methods you mentioned above can not solve this problem, but the command line interface shows Downloading readme: 41.1kB [00:00, 281kB/s], and then FileNotFoundError appears. Same issue encountered.
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2
30
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2 > The two methods you mentioned above can not solve this problem, but the command line interface shows Downloading readme: 41.1kB [00:00, 281kB/s], and then FileNotFoundError appears. Same issue encountered.
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.1673109382390976, 0.09469642490148544, -0.12878842651844025, 0.07063333690166473, 0.32241034507751465, 0.02620493248105049, 0.19688363373279572, -0.20495252311229706, 0.2669195234775543, -0.4299952983856201, -0.05025388300418854, -0.5118574500083923, 0.1403893232345581, -0.07259971648454666, 0.3794679641723633, 0.02385059744119644, -0.6958081722259521, 0.44850096106529236, -0.20207393169403076, 0.2992042601108551, 0.49243301153182983, -0.00012066363706253469, 0.01928948611021042, 0.3469124436378479, -0.08317720890045166, -0.11738654971122742, -0.05980360507965088, -0.14499206840991974, -0.19902335107326508, 0.022213812917470932, -0.2882561981678009, -0.014482324942946434, -0.32274869084358215, 0.015865202993154526, -0.01316012442111969, 0.28171390295028687, 0.5431941747665405, 0.1330081820487976, 0.1479310244321823, 0.39817681908607483, -0.1542314738035202, 0.07552634924650192, -0.27447015047073364, -0.01908506453037262, 0.23912999033927917, -0.08974960446357727, -0.07092311978340149, 0.2659449577331543, 0.13223052024841309, -0.2828100025653839, -0.17826257646083832, 0.2492561936378479, -0.017540816217660904, -0.11171411722898483, -0.3811374008655548, 0.31400471925735474, 0.13975772261619568, 0.42582520842552185, -0.38074347376823425, -0.38033801317214966, -0.1683962643146515, 0.20151138305664062, -0.022123482078313828, 0.4386742413043976, 0.006013292353600264, 0.25066131353378296, 0.16168321669101715, -0.04256672412157059, -0.09226145595312119, -0.17877313494682312, 0.19423139095306396, -0.10208393633365631, -0.024914659559726715, -0.09587426483631134, 0.04586704075336456, 0.2314188927412033, -0.10027109086513519, 0.04329567775130272, -0.04045218974351883, -0.31813836097717285, 0.22126537561416626, -0.3310926556587219, -0.04149278253316879, 0.021100010722875595, 0.37260234355926514, 0.04357099533081055, -0.03800217807292938, -0.15389499068260193, -0.15865910053253174, -0.21904052793979645, 0.04323819652199745, -0.2167455106973648, 0.0561506487429142, 0.10338110476732254, 0.23301638662815094, 0.18303918838500977, 0.10128527134656906, -0.020585210993885994, -0.2543068826198578, -0.1281110793352127, -0.495686411857605, -0.14644773304462433, 0.30492228269577026, 0.44477009773254395, -0.4531577527523041, -0.5866712331771851, 0.26064440608024597, -0.42576807737350464, -0.03383442759513855, 0.10021638125181198, 0.36175599694252014, -0.13488446176052094, 0.34633806347846985, 0.05167446285486221, 0.2822863459587097, -0.1180596724152565, -0.20207518339157104, -0.1771644502878189, 0.1411392241716385, -0.19642393290996552, 0.07668192684650421, 0.22601382434368134, -0.4352952241897583, 0.31519436836242676, 0.10053573548793793, 0.3195825219154358, 0.024610884487628937, -0.03942642733454704, -0.06250287592411041, -0.3420781195163727, 0.29523801803588867, -0.2975321114063263, 0.03572583198547363, 0.1402018517255783, -0.2860606610774994, -0.06302879750728607, 0.18216350674629211, -0.32619377970695496, -0.02672683820128441, -0.18541967868804932, 0.052909623831510544, -0.1444951295852661, 0.05327868461608887, -0.4641789495944977, -0.034403253346681595, -0.09688795357942581, -0.27016761898994446, 0.09257107228040695, -0.18675367534160614, 0.21426188945770264, -0.24912060797214508, 0.1467367559671402, 0.6955875754356384, -0.5375068783760071, -0.07292602956295013, 0.1932041496038437, -0.05842846259474754, 0.035234034061431885, 0.10900452733039856, -0.1654689460992813, 0.13702718913555145, -0.3446011543273926, -0.10282328724861145, 0.15042896568775177, -0.4401116967201233, -0.6035734415054321, 0.10642585903406143, 0.013413652777671814, 0.22816316783428192, 0.12718459963798523, -0.03874368593096733, -0.4771975576877594, -0.023053469136357307, -0.10390527546405792, -0.30530285835266113, -0.012857554480433464, -0.13113047182559967, -0.23246614634990692, -0.15119221806526184, 0.5078813433647156, 0.07603226602077484, 0.2369411736726761, 0.08104918897151947, 0.13708731532096863, 0.1925928145647049, 0.2370634377002716, -0.2821579873561859, -0.22671422362327576, 0.0899062305688858, 0.29176875948905945, -0.03146445006132126, 0.04327007010579109, -0.04735543951392174, -0.652544379234314, 0.3559955060482025, 0.03991517424583435, -0.09408517181873322, 0.14504382014274597, -0.08631426095962524, -0.1655561923980713, -0.25147074460983276, -0.2675711214542389, -0.2202230989933014, -0.019351119175553322, -0.016915977001190186, 0.017483461648225784, 0.06582993268966675, -0.27473998069763184, 0.6899194717407227, -0.3939708173274994, 0.14065279066562653, -0.2124442160129547, 0.5503130555152893, -0.03201579302549362, 0.059807199984788895, -0.012553738430142403, 0.13051466643810272, 0.30562469363212585, -0.09303276985883713, -0.07941249758005142, 0.3704999089241028, 0.006911961827427149, 0.16692501306533813, -0.05065783113241196, 0.25168687105178833, 0.26661309599876404, -0.2968882918357849, 0.2391955852508545, 0.2839130163192749, 0.05913250148296356, 0.05797424167394638, 0.005060840398073196, 0.24801266193389893, 0.10853447020053864, 0.1219538152217865, 0.05764736980199814, -0.17246036231517792, 0.17578260600566864, -0.05663055181503296, 0.12039273232221603, -0.0433434396982193, 0.024791203439235687, 0.09358195960521698, 0.5590724945068359, -0.14896759390830994, -0.2962900996208191, -0.13456660509109497, 0.4552347958087921, 0.14434154331684113, -0.13991641998291016, -0.026227131485939026, -0.11647037416696548, 0.14453095197677612, 0.21291103959083557, 0.10801537334918976, 0.3510432839393616, 0.2801332473754883, -0.5974588990211487, 0.22917574644088745, -0.12576045095920563, -0.0784912258386612, 0.16016629338264465, -0.07382656633853912, 0.07491812855005264, 0.3334081470966339, 0.0019282088615000248, 0.19912923872470856, -0.2173793613910675, -0.39564934372901917, -0.2351122349500656, 0.2192082405090332, -0.4444912075996399, 0.010945873335003853, -0.21578606963157654, -0.1543773114681244, -0.07392406463623047, 0.04753128066658974, -0.06849750876426697, -0.13562317192554474, -0.11906704306602478, 0.1703486293554306, 0.08466315269470215, 0.03125852346420288, -0.6403214931488037, 0.01372922956943512, -0.10076966136693954, -0.1925148218870163, -0.18880145251750946, 0.14538413286209106, -0.17631614208221436, -0.010183773934841156, 0.4653300940990448, -0.13922373950481415, 0.07035437226295471, -0.49369925260543823, 0.02268737554550171, -0.21780750155448914, -0.5930320620536804, -0.06939332187175751, -0.10381197929382324, 0.23391598463058472, 0.126523956656456, 0.11554829031229019, -0.04536612331867218, -0.3656386137008667, 0.16471140086650848, 0.026804188266396523, -0.17205987870693207, 0.1776982545852661, -0.07045034319162369, -0.14960931241512299, 0.09931671619415283, -0.7325296998023987, 0.06186218559741974, -0.21140071749687195, 0.17415395379066467, 0.08074897527694702, 0.02521970123052597, 0.2991049587726593, 0.1805073469877243, 0.307908833026886, 0.08367352187633514, -0.18202131986618042, 0.010981274768710136, -0.2159576416015625, 0.3450257480144501, 0.03751088306307793, -0.1181052178144455, 0.16258791089057922, 0.0450231209397316, 0.15126389265060425, -0.07289328426122665, -0.4477995038032532, 0.016055237501859665, -0.2131376564502716, 0.33122336864471436, -0.12799137830734253, -0.15406621992588043, 0.3858329951763153, 0.03730813413858414, 0.12066580355167389, -0.15293461084365845, -0.027093948796391487, -0.1205233708024025, 0.2460719347000122, 0.19039607048034668, -0.22846141457557678, 0.5267710089683533, -0.21337635815143585, 0.1943134367465973, 0.2366066575050354, -0.14358949661254883, 0.3200841248035431, -0.17547549307346344, 0.5637099742889404, -0.374299019575119, -0.3002450466156006, 0.17194733023643494, 0.25916585326194763, 0.039200492203235626, -0.03866566717624664, -0.16318657994270325, -0.03205063194036484, -0.23924417793750763, -0.12447941303253174, -0.4805607199668884, 0.044979777187108994, -0.13710801303386688, 0.10707380622625351, 0.07221794873476028, 0.00023132190108299255, 0.1654784381389618, 0.1553042232990265, -0.18448886275291443, 0.20680354535579681, 0.3229154348373413, 0.2776373028755188, -0.05239993333816528, -0.7211449146270752, -0.3382638394832611, -0.33248433470726013, 0.4898707866668701, 0.15872885286808014, 0.09349950402975082, 0.16168782114982605, -0.04446743428707123, -0.1535758227109909, -0.20246872305870056, 0.5855938196182251, -0.2085537165403366, -0.15689823031425476, 0.3103548288345337, 0.09779070317745209, -0.144226536154747, -0.21549326181411743, -0.15339675545692444, 0.35497212409973145, 0.06769520789384842, 0.44606512784957886, -0.012783072888851166, -0.17859682440757751, 0.32916632294654846, 0.39623141288757324, -0.10084369033575058, 0.012522722594439983, -0.2164147049188614, 0.15831851959228516, 0.03815337270498276, -0.038844890892505646, -0.1345280110836029, 0.3791518211364746, -0.17897719144821167, -0.18548530340194702, -0.11116273701190948, -0.34299954771995544, 0.29436856508255005, 0.32736676931381226, 0.5280426144599915, 0.032372910529375076, 0.2896404266357422, 0.2594362199306488, 0.025546390563249588, 0.813024640083313, 0.3938734531402588, 0.09700299799442291, -0.16714584827423096, -0.1696544885635376, 0.1400681436061859, 0.2687196433544159, 0.158284530043602, -0.13553428649902344, 0.016789279878139496, -0.1615501344203949, 0.0685495063662529, -0.10237594693899155, 0.12742917239665985, 0.3834613859653473, 0.06662273406982422, -0.4211311936378479, -0.3310449421405792, 0.37849047780036926, -0.04159644991159439, 0.06444208323955536, 0.23167026042938232, 0.3991468548774719, -0.28051865100860596, -0.14158283174037933, -0.06993842869997025, 0.7818910479545593, 0.1888568103313446, -0.021638687700033188, 0.19186854362487793, -0.09989118576049805, 0.30720314383506775, -0.459031879901886, 0.12848913669586182, -0.4941147267818451, -0.17331606149673462, -0.10538969933986664, -0.1505172699689865, 0.2728251814842224, 0.20999574661254883, -0.253799706697464, 0.4802767038345337, -0.2117661088705063, 0.23737984895706177, -0.09534399956464767, 0.05760101228952408, -0.16801901161670685, 0.25554516911506653, -0.43884992599487305, 0.02699108049273491, 0.10594606399536133, 0.11452294886112213, -0.2314448356628418, 0.008271612226963043, -0.04769138619303703, -0.3490656614303589, -0.25006914138793945, 0.38084158301353455, -0.46623557806015015, 0.029804427176713943, 0.3340104818344116, -0.23817680776119232, 0.16812583804130554, 0.40198859572410583, 0.3803263306617737, 0.2154344767332077, -0.3112197518348694, 0.19210611283779144, -0.3263019621372223, -0.08456164598464966, 0.22025974094867706, 0.0536632239818573, 0.061833471059799194, 0.04313310235738754, -0.32807767391204834, 0.25284287333488464, -0.09328986704349518, -0.24625074863433838, -0.17961646616458893, -0.011658705770969391, -0.038385048508644104, -0.19487406313419342, -0.2396782487630844, 0.20479410886764526, 0.044827889651060104, -0.2937813401222229, 0.06940848380327225, -0.25055044889450073, 0.09080768376588821, -0.07375732809305191, 0.09955155104398727, -0.3038039207458496, 0.005049481987953186, 0.364831805229187, -0.20864492654800415, -0.20678751170635223, 0.3426254093647003, -0.03812296688556671, -0.11980237066745758, -0.2006416618824005, 0.13849708437919617, 0.36888518929481506, -0.40817150473594666, -0.03545752540230751, 0.0491519533097744, 0.2197423130273819, 0.16326451301574707, 0.16427694261074066, 0.2157881259918213, -0.1765475571155548, 0.17065204679965973, -0.36845678091049194, -0.3288734257221222, 0.4158748388290405, 0.011359531432390213, 0.19417399168014526, 0.029639892280101776, 0.1662595272064209, 0.001107214018702507, -0.14559175074100494, -0.17908841371536255, 0.10977235436439514, 0.01751823164522648, 0.05696380138397217, -0.05286532640457153, 0.26533856987953186, 0.4178846478462219, -0.007606327999383211, 0.07748520374298096, 0.06420212984085083, 0.0036086412146687508, -0.1160660982131958, -0.14117537438869476, 0.16353467106819153, 0.10173472762107849, 0.01773945614695549, 0.07958688586950302, -0.0039025358855724335, 0.04279405623674393, -0.21024154126644135, 0.3398745357990265, 0.2861105501651764, 0.09775926917791367, 0.40198683738708496, 0.36421114206314087, -0.10018058866262436, -0.1780906617641449, 0.13998109102249146, 0.04036015272140503, 0.17873722314834595, 0.1127701997756958, 0.13480211794376373, -0.021079659461975098, 0.07906801998615265, 0.18076935410499573, 0.213412344455719, -0.3061069846153259, 0.214528888463974, 0.04603289067745209, -0.304535448551178, 0.11340565979480743, 0.18224933743476868, -0.060641203075647354, 0.48235559463500977, -0.1592118740081787, 0.1251029521226883, 0.39255303144454956, 0.1670965999364853, -0.41053295135498047, -0.07996223866939545, 0.32610613107681274, 0.08820538967847824, -0.07786692678928375, 0.017463691532611847, 0.011662308126688004, -0.36288902163505554, 0.37056970596313477, 0.20260107517242432, 0.27336594462394714, -0.10349589586257935, 0.4147837162017822, 0.4607183039188385, 0.08928601443767548, -0.10097014904022217, 0.2551831305027008, -0.17657597362995148, 0.25185883045196533, 0.6028957962989807, -0.15398302674293518, 0.10235487669706345, 0.05931699275970459, 0.2546626627445221, 0.0828360915184021, -0.3712722361087799, -0.5648518800735474, 0.2252015918493271, -0.13383466005325317, 0.01972772926092148, 0.040877941995859146, 0.40940433740615845, 0.17511260509490967, -0.07257742434740067, -0.3387376666069031, -0.2950591444969177, -0.24094492197036743, 0.06125553324818611, -0.048667967319488525, -0.39748427271842957, -0.06548172235488892, 0.026994425803422928, -0.051775526255369186, -0.11366336047649384, 0.27537718415260315, -0.06408514082431793, -0.404360294342041, -0.15767565369606018, 0.18155595660209656, 0.37276142835617065, 0.09641104191541672, -0.1554260104894638, 0.2109927535057068, 0.2434033751487732, 0.03292182460427284, 0.08297418802976608, 0.29364874958992004, 0.4390777051448822, 0.2707827091217041, 0.05060660466551781, -0.01621018722653389, 0.18598292768001556, -0.11949718743562698, 0.15814441442489624, 0.20075982809066772, -0.30768322944641113, 0.09850050508975983, -0.01740395650267601, 0.1406882256269455, -0.06385967135429382, 0.19443678855895996, -0.12976400554180145, 0.22686313092708588, -0.532724916934967, 0.07162871211767197, -0.1680387556552887, -0.10884374380111694, -0.12903046607971191, 0.22895359992980957, -0.333189994096756, -0.2267201542854309, 0.2730574309825897, 0.06936207413673401, 0.009592164307832718, 0.2673299312591553, 0.03266995772719383, -0.15973274409770966, 0.15364694595336914, 0.2203376442193985, 0.15984874963760376, -0.29031941294670105, -0.3306838274002075, -0.4528311789035797, 0.00855991244316101, 0.026859130710363388, 0.3244035243988037, -0.20155858993530273, -0.11409763246774673, -0.2526094615459442, -0.02886722981929779, 0.4957997798919678, 0.04034644365310669, 0.2946101427078247, 0.004561007022857666, -0.42161792516708374, -0.04315909370779991, 0.20885266363620758, -0.05194767564535141, -0.04269643872976303, -0.5033798217773438, -0.1376316398382187, 0.08641179651021957, -0.09984798729419708, -0.15372134745121002, 0.13674162328243256, -0.16653066873550415, 0.023983702063560486, 0.8094243407249451, 0.0855741798877716, 0.6356728076934814, -0.10314077138900757, -0.012256872840225697, -0.4340739846229553, -0.5135287642478943, 0.040885500609874725, 0.09606985002756119, 0.028228413313627243, 0.5386804342269897, -0.40883493423461914, -0.11444643139839172, -0.12336253374814987, 0.2872782349586487, 0.08475111424922943, 0.14293259382247925, -0.35204750299453735, 0.04950695484876633, -0.34726181626319885, 0.04756177216768265, -0.2015838623046875, 0.09372001886367798, 0.06344207376241684, -0.03364303335547447, -0.13188576698303223, -0.2346055507659912, 0.5741701126098633, -0.31822100281715393, 0.017196588218212128, -0.20539633929729462, 0.16087646782398224, 0.19501513242721558, -0.24939987063407898, -0.37660184502601624, 0.1034565344452858, 0.5223572254180908, 0.21953681111335754, -0.2243412286043167, 0.3346847891807556, -0.11965794861316681, -0.06567592173814774, 0.11322501301765442, 0.19633156061172485, 0.07418203353881836, -0.22253546118736267, 0.09397116303443909, -0.31466585397720337 ]
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
I really think the issue is caused by a corrupted cache, between versions 2.12.0 (there does not exist 2.12.2 version) and 2.19.2. Are you sure you removed all the corresponding corrupted directories within the cache? You can easily check if the issue is caused by a corrupted cache by removing the entire cache: ```shell mv ~/.cache/huggingface ~/.cache/huggingface.bak ``` and then reloading the dataset: ```python ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") ```
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2
72
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2 I really think the issue is caused by a corrupted cache, between versions 2.12.0 (there does not exist 2.12.2 version) and 2.19.2. Are you sure you removed all the corresponding corrupted directories within the cache? You can easily check if the issue is caused by a corrupted cache by removing the entire cache: ```shell mv ~/.cache/huggingface ~/.cache/huggingface.bak ``` and then reloading the dataset: ```python ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") ```
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.1673109382390976, 0.09469642490148544, -0.12878842651844025, 0.07063333690166473, 0.32241034507751465, 0.02620493248105049, 0.19688363373279572, -0.20495252311229706, 0.2669195234775543, -0.4299952983856201, -0.05025388300418854, -0.5118574500083923, 0.1403893232345581, -0.07259971648454666, 0.3794679641723633, 0.02385059744119644, -0.6958081722259521, 0.44850096106529236, -0.20207393169403076, 0.2992042601108551, 0.49243301153182983, -0.00012066363706253469, 0.01928948611021042, 0.3469124436378479, -0.08317720890045166, -0.11738654971122742, -0.05980360507965088, -0.14499206840991974, -0.19902335107326508, 0.022213812917470932, -0.2882561981678009, -0.014482324942946434, -0.32274869084358215, 0.015865202993154526, -0.01316012442111969, 0.28171390295028687, 0.5431941747665405, 0.1330081820487976, 0.1479310244321823, 0.39817681908607483, -0.1542314738035202, 0.07552634924650192, -0.27447015047073364, -0.01908506453037262, 0.23912999033927917, -0.08974960446357727, -0.07092311978340149, 0.2659449577331543, 0.13223052024841309, -0.2828100025653839, -0.17826257646083832, 0.2492561936378479, -0.017540816217660904, -0.11171411722898483, -0.3811374008655548, 0.31400471925735474, 0.13975772261619568, 0.42582520842552185, -0.38074347376823425, -0.38033801317214966, -0.1683962643146515, 0.20151138305664062, -0.022123482078313828, 0.4386742413043976, 0.006013292353600264, 0.25066131353378296, 0.16168321669101715, -0.04256672412157059, -0.09226145595312119, -0.17877313494682312, 0.19423139095306396, -0.10208393633365631, -0.024914659559726715, -0.09587426483631134, 0.04586704075336456, 0.2314188927412033, -0.10027109086513519, 0.04329567775130272, -0.04045218974351883, -0.31813836097717285, 0.22126537561416626, -0.3310926556587219, -0.04149278253316879, 0.021100010722875595, 0.37260234355926514, 0.04357099533081055, -0.03800217807292938, -0.15389499068260193, -0.15865910053253174, -0.21904052793979645, 0.04323819652199745, -0.2167455106973648, 0.0561506487429142, 0.10338110476732254, 0.23301638662815094, 0.18303918838500977, 0.10128527134656906, -0.020585210993885994, -0.2543068826198578, -0.1281110793352127, -0.495686411857605, -0.14644773304462433, 0.30492228269577026, 0.44477009773254395, -0.4531577527523041, -0.5866712331771851, 0.26064440608024597, -0.42576807737350464, -0.03383442759513855, 0.10021638125181198, 0.36175599694252014, -0.13488446176052094, 0.34633806347846985, 0.05167446285486221, 0.2822863459587097, -0.1180596724152565, -0.20207518339157104, -0.1771644502878189, 0.1411392241716385, -0.19642393290996552, 0.07668192684650421, 0.22601382434368134, -0.4352952241897583, 0.31519436836242676, 0.10053573548793793, 0.3195825219154358, 0.024610884487628937, -0.03942642733454704, -0.06250287592411041, -0.3420781195163727, 0.29523801803588867, -0.2975321114063263, 0.03572583198547363, 0.1402018517255783, -0.2860606610774994, -0.06302879750728607, 0.18216350674629211, -0.32619377970695496, -0.02672683820128441, -0.18541967868804932, 0.052909623831510544, -0.1444951295852661, 0.05327868461608887, -0.4641789495944977, -0.034403253346681595, -0.09688795357942581, -0.27016761898994446, 0.09257107228040695, -0.18675367534160614, 0.21426188945770264, -0.24912060797214508, 0.1467367559671402, 0.6955875754356384, -0.5375068783760071, -0.07292602956295013, 0.1932041496038437, -0.05842846259474754, 0.035234034061431885, 0.10900452733039856, -0.1654689460992813, 0.13702718913555145, -0.3446011543273926, -0.10282328724861145, 0.15042896568775177, -0.4401116967201233, -0.6035734415054321, 0.10642585903406143, 0.013413652777671814, 0.22816316783428192, 0.12718459963798523, -0.03874368593096733, -0.4771975576877594, -0.023053469136357307, -0.10390527546405792, -0.30530285835266113, -0.012857554480433464, -0.13113047182559967, -0.23246614634990692, -0.15119221806526184, 0.5078813433647156, 0.07603226602077484, 0.2369411736726761, 0.08104918897151947, 0.13708731532096863, 0.1925928145647049, 0.2370634377002716, -0.2821579873561859, -0.22671422362327576, 0.0899062305688858, 0.29176875948905945, -0.03146445006132126, 0.04327007010579109, -0.04735543951392174, -0.652544379234314, 0.3559955060482025, 0.03991517424583435, -0.09408517181873322, 0.14504382014274597, -0.08631426095962524, -0.1655561923980713, -0.25147074460983276, -0.2675711214542389, -0.2202230989933014, -0.019351119175553322, -0.016915977001190186, 0.017483461648225784, 0.06582993268966675, -0.27473998069763184, 0.6899194717407227, -0.3939708173274994, 0.14065279066562653, -0.2124442160129547, 0.5503130555152893, -0.03201579302549362, 0.059807199984788895, -0.012553738430142403, 0.13051466643810272, 0.30562469363212585, -0.09303276985883713, -0.07941249758005142, 0.3704999089241028, 0.006911961827427149, 0.16692501306533813, -0.05065783113241196, 0.25168687105178833, 0.26661309599876404, -0.2968882918357849, 0.2391955852508545, 0.2839130163192749, 0.05913250148296356, 0.05797424167394638, 0.005060840398073196, 0.24801266193389893, 0.10853447020053864, 0.1219538152217865, 0.05764736980199814, -0.17246036231517792, 0.17578260600566864, -0.05663055181503296, 0.12039273232221603, -0.0433434396982193, 0.024791203439235687, 0.09358195960521698, 0.5590724945068359, -0.14896759390830994, -0.2962900996208191, -0.13456660509109497, 0.4552347958087921, 0.14434154331684113, -0.13991641998291016, -0.026227131485939026, -0.11647037416696548, 0.14453095197677612, 0.21291103959083557, 0.10801537334918976, 0.3510432839393616, 0.2801332473754883, -0.5974588990211487, 0.22917574644088745, -0.12576045095920563, -0.0784912258386612, 0.16016629338264465, -0.07382656633853912, 0.07491812855005264, 0.3334081470966339, 0.0019282088615000248, 0.19912923872470856, -0.2173793613910675, -0.39564934372901917, -0.2351122349500656, 0.2192082405090332, -0.4444912075996399, 0.010945873335003853, -0.21578606963157654, -0.1543773114681244, -0.07392406463623047, 0.04753128066658974, -0.06849750876426697, -0.13562317192554474, -0.11906704306602478, 0.1703486293554306, 0.08466315269470215, 0.03125852346420288, -0.6403214931488037, 0.01372922956943512, -0.10076966136693954, -0.1925148218870163, -0.18880145251750946, 0.14538413286209106, -0.17631614208221436, -0.010183773934841156, 0.4653300940990448, -0.13922373950481415, 0.07035437226295471, -0.49369925260543823, 0.02268737554550171, -0.21780750155448914, -0.5930320620536804, -0.06939332187175751, -0.10381197929382324, 0.23391598463058472, 0.126523956656456, 0.11554829031229019, -0.04536612331867218, -0.3656386137008667, 0.16471140086650848, 0.026804188266396523, -0.17205987870693207, 0.1776982545852661, -0.07045034319162369, -0.14960931241512299, 0.09931671619415283, -0.7325296998023987, 0.06186218559741974, -0.21140071749687195, 0.17415395379066467, 0.08074897527694702, 0.02521970123052597, 0.2991049587726593, 0.1805073469877243, 0.307908833026886, 0.08367352187633514, -0.18202131986618042, 0.010981274768710136, -0.2159576416015625, 0.3450257480144501, 0.03751088306307793, -0.1181052178144455, 0.16258791089057922, 0.0450231209397316, 0.15126389265060425, -0.07289328426122665, -0.4477995038032532, 0.016055237501859665, -0.2131376564502716, 0.33122336864471436, -0.12799137830734253, -0.15406621992588043, 0.3858329951763153, 0.03730813413858414, 0.12066580355167389, -0.15293461084365845, -0.027093948796391487, -0.1205233708024025, 0.2460719347000122, 0.19039607048034668, -0.22846141457557678, 0.5267710089683533, -0.21337635815143585, 0.1943134367465973, 0.2366066575050354, -0.14358949661254883, 0.3200841248035431, -0.17547549307346344, 0.5637099742889404, -0.374299019575119, -0.3002450466156006, 0.17194733023643494, 0.25916585326194763, 0.039200492203235626, -0.03866566717624664, -0.16318657994270325, -0.03205063194036484, -0.23924417793750763, -0.12447941303253174, -0.4805607199668884, 0.044979777187108994, -0.13710801303386688, 0.10707380622625351, 0.07221794873476028, 0.00023132190108299255, 0.1654784381389618, 0.1553042232990265, -0.18448886275291443, 0.20680354535579681, 0.3229154348373413, 0.2776373028755188, -0.05239993333816528, -0.7211449146270752, -0.3382638394832611, -0.33248433470726013, 0.4898707866668701, 0.15872885286808014, 0.09349950402975082, 0.16168782114982605, -0.04446743428707123, -0.1535758227109909, -0.20246872305870056, 0.5855938196182251, -0.2085537165403366, -0.15689823031425476, 0.3103548288345337, 0.09779070317745209, -0.144226536154747, -0.21549326181411743, -0.15339675545692444, 0.35497212409973145, 0.06769520789384842, 0.44606512784957886, -0.012783072888851166, -0.17859682440757751, 0.32916632294654846, 0.39623141288757324, -0.10084369033575058, 0.012522722594439983, -0.2164147049188614, 0.15831851959228516, 0.03815337270498276, -0.038844890892505646, -0.1345280110836029, 0.3791518211364746, -0.17897719144821167, -0.18548530340194702, -0.11116273701190948, -0.34299954771995544, 0.29436856508255005, 0.32736676931381226, 0.5280426144599915, 0.032372910529375076, 0.2896404266357422, 0.2594362199306488, 0.025546390563249588, 0.813024640083313, 0.3938734531402588, 0.09700299799442291, -0.16714584827423096, -0.1696544885635376, 0.1400681436061859, 0.2687196433544159, 0.158284530043602, -0.13553428649902344, 0.016789279878139496, -0.1615501344203949, 0.0685495063662529, -0.10237594693899155, 0.12742917239665985, 0.3834613859653473, 0.06662273406982422, -0.4211311936378479, -0.3310449421405792, 0.37849047780036926, -0.04159644991159439, 0.06444208323955536, 0.23167026042938232, 0.3991468548774719, -0.28051865100860596, -0.14158283174037933, -0.06993842869997025, 0.7818910479545593, 0.1888568103313446, -0.021638687700033188, 0.19186854362487793, -0.09989118576049805, 0.30720314383506775, -0.459031879901886, 0.12848913669586182, -0.4941147267818451, -0.17331606149673462, -0.10538969933986664, -0.1505172699689865, 0.2728251814842224, 0.20999574661254883, -0.253799706697464, 0.4802767038345337, -0.2117661088705063, 0.23737984895706177, -0.09534399956464767, 0.05760101228952408, -0.16801901161670685, 0.25554516911506653, -0.43884992599487305, 0.02699108049273491, 0.10594606399536133, 0.11452294886112213, -0.2314448356628418, 0.008271612226963043, -0.04769138619303703, -0.3490656614303589, -0.25006914138793945, 0.38084158301353455, -0.46623557806015015, 0.029804427176713943, 0.3340104818344116, -0.23817680776119232, 0.16812583804130554, 0.40198859572410583, 0.3803263306617737, 0.2154344767332077, -0.3112197518348694, 0.19210611283779144, -0.3263019621372223, -0.08456164598464966, 0.22025974094867706, 0.0536632239818573, 0.061833471059799194, 0.04313310235738754, -0.32807767391204834, 0.25284287333488464, -0.09328986704349518, -0.24625074863433838, -0.17961646616458893, -0.011658705770969391, -0.038385048508644104, -0.19487406313419342, -0.2396782487630844, 0.20479410886764526, 0.044827889651060104, -0.2937813401222229, 0.06940848380327225, -0.25055044889450073, 0.09080768376588821, -0.07375732809305191, 0.09955155104398727, -0.3038039207458496, 0.005049481987953186, 0.364831805229187, -0.20864492654800415, -0.20678751170635223, 0.3426254093647003, -0.03812296688556671, -0.11980237066745758, -0.2006416618824005, 0.13849708437919617, 0.36888518929481506, -0.40817150473594666, -0.03545752540230751, 0.0491519533097744, 0.2197423130273819, 0.16326451301574707, 0.16427694261074066, 0.2157881259918213, -0.1765475571155548, 0.17065204679965973, -0.36845678091049194, -0.3288734257221222, 0.4158748388290405, 0.011359531432390213, 0.19417399168014526, 0.029639892280101776, 0.1662595272064209, 0.001107214018702507, -0.14559175074100494, -0.17908841371536255, 0.10977235436439514, 0.01751823164522648, 0.05696380138397217, -0.05286532640457153, 0.26533856987953186, 0.4178846478462219, -0.007606327999383211, 0.07748520374298096, 0.06420212984085083, 0.0036086412146687508, -0.1160660982131958, -0.14117537438869476, 0.16353467106819153, 0.10173472762107849, 0.01773945614695549, 0.07958688586950302, -0.0039025358855724335, 0.04279405623674393, -0.21024154126644135, 0.3398745357990265, 0.2861105501651764, 0.09775926917791367, 0.40198683738708496, 0.36421114206314087, -0.10018058866262436, -0.1780906617641449, 0.13998109102249146, 0.04036015272140503, 0.17873722314834595, 0.1127701997756958, 0.13480211794376373, -0.021079659461975098, 0.07906801998615265, 0.18076935410499573, 0.213412344455719, -0.3061069846153259, 0.214528888463974, 0.04603289067745209, -0.304535448551178, 0.11340565979480743, 0.18224933743476868, -0.060641203075647354, 0.48235559463500977, -0.1592118740081787, 0.1251029521226883, 0.39255303144454956, 0.1670965999364853, -0.41053295135498047, -0.07996223866939545, 0.32610613107681274, 0.08820538967847824, -0.07786692678928375, 0.017463691532611847, 0.011662308126688004, -0.36288902163505554, 0.37056970596313477, 0.20260107517242432, 0.27336594462394714, -0.10349589586257935, 0.4147837162017822, 0.4607183039188385, 0.08928601443767548, -0.10097014904022217, 0.2551831305027008, -0.17657597362995148, 0.25185883045196533, 0.6028957962989807, -0.15398302674293518, 0.10235487669706345, 0.05931699275970459, 0.2546626627445221, 0.0828360915184021, -0.3712722361087799, -0.5648518800735474, 0.2252015918493271, -0.13383466005325317, 0.01972772926092148, 0.040877941995859146, 0.40940433740615845, 0.17511260509490967, -0.07257742434740067, -0.3387376666069031, -0.2950591444969177, -0.24094492197036743, 0.06125553324818611, -0.048667967319488525, -0.39748427271842957, -0.06548172235488892, 0.026994425803422928, -0.051775526255369186, -0.11366336047649384, 0.27537718415260315, -0.06408514082431793, -0.404360294342041, -0.15767565369606018, 0.18155595660209656, 0.37276142835617065, 0.09641104191541672, -0.1554260104894638, 0.2109927535057068, 0.2434033751487732, 0.03292182460427284, 0.08297418802976608, 0.29364874958992004, 0.4390777051448822, 0.2707827091217041, 0.05060660466551781, -0.01621018722653389, 0.18598292768001556, -0.11949718743562698, 0.15814441442489624, 0.20075982809066772, -0.30768322944641113, 0.09850050508975983, -0.01740395650267601, 0.1406882256269455, -0.06385967135429382, 0.19443678855895996, -0.12976400554180145, 0.22686313092708588, -0.532724916934967, 0.07162871211767197, -0.1680387556552887, -0.10884374380111694, -0.12903046607971191, 0.22895359992980957, -0.333189994096756, -0.2267201542854309, 0.2730574309825897, 0.06936207413673401, 0.009592164307832718, 0.2673299312591553, 0.03266995772719383, -0.15973274409770966, 0.15364694595336914, 0.2203376442193985, 0.15984874963760376, -0.29031941294670105, -0.3306838274002075, -0.4528311789035797, 0.00855991244316101, 0.026859130710363388, 0.3244035243988037, -0.20155858993530273, -0.11409763246774673, -0.2526094615459442, -0.02886722981929779, 0.4957997798919678, 0.04034644365310669, 0.2946101427078247, 0.004561007022857666, -0.42161792516708374, -0.04315909370779991, 0.20885266363620758, -0.05194767564535141, -0.04269643872976303, -0.5033798217773438, -0.1376316398382187, 0.08641179651021957, -0.09984798729419708, -0.15372134745121002, 0.13674162328243256, -0.16653066873550415, 0.023983702063560486, 0.8094243407249451, 0.0855741798877716, 0.6356728076934814, -0.10314077138900757, -0.012256872840225697, -0.4340739846229553, -0.5135287642478943, 0.040885500609874725, 0.09606985002756119, 0.028228413313627243, 0.5386804342269897, -0.40883493423461914, -0.11444643139839172, -0.12336253374814987, 0.2872782349586487, 0.08475111424922943, 0.14293259382247925, -0.35204750299453735, 0.04950695484876633, -0.34726181626319885, 0.04756177216768265, -0.2015838623046875, 0.09372001886367798, 0.06344207376241684, -0.03364303335547447, -0.13188576698303223, -0.2346055507659912, 0.5741701126098633, -0.31822100281715393, 0.017196588218212128, -0.20539633929729462, 0.16087646782398224, 0.19501513242721558, -0.24939987063407898, -0.37660184502601624, 0.1034565344452858, 0.5223572254180908, 0.21953681111335754, -0.2243412286043167, 0.3346847891807556, -0.11965794861316681, -0.06567592173814774, 0.11322501301765442, 0.19633156061172485, 0.07418203353881836, -0.22253546118736267, 0.09397116303443909, -0.31466585397720337 ]
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
@albertvillanova Thanks for the reply. I tried removing the entire cache and reloading the dataset as you suggest. However, the same issue still exists. As a test, I switch to a new platform, which (is a Windows system and) hasn't downloaded huggingface dataset before, and the dataset is loaded successfully. So I think "a corrupted cache" explanation makes sense. I wonder, besides `~/.cache/huggingface`, is there any other directory that may save the cache thing? As a side note, I am using `datasets==2.20.0` and proxy `export HF_ENDPOINT=https://hf-mirror.com`.
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2
86
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2 @albertvillanova Thanks for the reply. I tried removing the entire cache and reloading the dataset as you suggest. However, the same issue still exists. As a test, I switch to a new platform, which (is a Windows system and) hasn't downloaded huggingface dataset before, and the dataset is loaded successfully. So I think "a corrupted cache" explanation makes sense. I wonder, besides `~/.cache/huggingface`, is there any other directory that may save the cache thing? As a side note, I am using `datasets==2.20.0` and proxy `export HF_ENDPOINT=https://hf-mirror.com`.
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.1673109382390976, 0.09469642490148544, -0.12878842651844025, 0.07063333690166473, 0.32241034507751465, 0.02620493248105049, 0.19688363373279572, -0.20495252311229706, 0.2669195234775543, -0.4299952983856201, -0.05025388300418854, -0.5118574500083923, 0.1403893232345581, -0.07259971648454666, 0.3794679641723633, 0.02385059744119644, -0.6958081722259521, 0.44850096106529236, -0.20207393169403076, 0.2992042601108551, 0.49243301153182983, -0.00012066363706253469, 0.01928948611021042, 0.3469124436378479, -0.08317720890045166, -0.11738654971122742, -0.05980360507965088, -0.14499206840991974, -0.19902335107326508, 0.022213812917470932, -0.2882561981678009, -0.014482324942946434, -0.32274869084358215, 0.015865202993154526, -0.01316012442111969, 0.28171390295028687, 0.5431941747665405, 0.1330081820487976, 0.1479310244321823, 0.39817681908607483, -0.1542314738035202, 0.07552634924650192, -0.27447015047073364, -0.01908506453037262, 0.23912999033927917, -0.08974960446357727, -0.07092311978340149, 0.2659449577331543, 0.13223052024841309, -0.2828100025653839, -0.17826257646083832, 0.2492561936378479, -0.017540816217660904, -0.11171411722898483, -0.3811374008655548, 0.31400471925735474, 0.13975772261619568, 0.42582520842552185, -0.38074347376823425, -0.38033801317214966, -0.1683962643146515, 0.20151138305664062, -0.022123482078313828, 0.4386742413043976, 0.006013292353600264, 0.25066131353378296, 0.16168321669101715, -0.04256672412157059, -0.09226145595312119, -0.17877313494682312, 0.19423139095306396, -0.10208393633365631, -0.024914659559726715, -0.09587426483631134, 0.04586704075336456, 0.2314188927412033, -0.10027109086513519, 0.04329567775130272, -0.04045218974351883, -0.31813836097717285, 0.22126537561416626, -0.3310926556587219, -0.04149278253316879, 0.021100010722875595, 0.37260234355926514, 0.04357099533081055, -0.03800217807292938, -0.15389499068260193, -0.15865910053253174, -0.21904052793979645, 0.04323819652199745, -0.2167455106973648, 0.0561506487429142, 0.10338110476732254, 0.23301638662815094, 0.18303918838500977, 0.10128527134656906, -0.020585210993885994, -0.2543068826198578, -0.1281110793352127, -0.495686411857605, -0.14644773304462433, 0.30492228269577026, 0.44477009773254395, -0.4531577527523041, -0.5866712331771851, 0.26064440608024597, -0.42576807737350464, -0.03383442759513855, 0.10021638125181198, 0.36175599694252014, -0.13488446176052094, 0.34633806347846985, 0.05167446285486221, 0.2822863459587097, -0.1180596724152565, -0.20207518339157104, -0.1771644502878189, 0.1411392241716385, -0.19642393290996552, 0.07668192684650421, 0.22601382434368134, -0.4352952241897583, 0.31519436836242676, 0.10053573548793793, 0.3195825219154358, 0.024610884487628937, -0.03942642733454704, -0.06250287592411041, -0.3420781195163727, 0.29523801803588867, -0.2975321114063263, 0.03572583198547363, 0.1402018517255783, -0.2860606610774994, -0.06302879750728607, 0.18216350674629211, -0.32619377970695496, -0.02672683820128441, -0.18541967868804932, 0.052909623831510544, -0.1444951295852661, 0.05327868461608887, -0.4641789495944977, -0.034403253346681595, -0.09688795357942581, -0.27016761898994446, 0.09257107228040695, -0.18675367534160614, 0.21426188945770264, -0.24912060797214508, 0.1467367559671402, 0.6955875754356384, -0.5375068783760071, -0.07292602956295013, 0.1932041496038437, -0.05842846259474754, 0.035234034061431885, 0.10900452733039856, -0.1654689460992813, 0.13702718913555145, -0.3446011543273926, -0.10282328724861145, 0.15042896568775177, -0.4401116967201233, -0.6035734415054321, 0.10642585903406143, 0.013413652777671814, 0.22816316783428192, 0.12718459963798523, -0.03874368593096733, -0.4771975576877594, -0.023053469136357307, -0.10390527546405792, -0.30530285835266113, -0.012857554480433464, -0.13113047182559967, -0.23246614634990692, -0.15119221806526184, 0.5078813433647156, 0.07603226602077484, 0.2369411736726761, 0.08104918897151947, 0.13708731532096863, 0.1925928145647049, 0.2370634377002716, -0.2821579873561859, -0.22671422362327576, 0.0899062305688858, 0.29176875948905945, -0.03146445006132126, 0.04327007010579109, -0.04735543951392174, -0.652544379234314, 0.3559955060482025, 0.03991517424583435, -0.09408517181873322, 0.14504382014274597, -0.08631426095962524, -0.1655561923980713, -0.25147074460983276, -0.2675711214542389, -0.2202230989933014, -0.019351119175553322, -0.016915977001190186, 0.017483461648225784, 0.06582993268966675, -0.27473998069763184, 0.6899194717407227, -0.3939708173274994, 0.14065279066562653, -0.2124442160129547, 0.5503130555152893, -0.03201579302549362, 0.059807199984788895, -0.012553738430142403, 0.13051466643810272, 0.30562469363212585, -0.09303276985883713, -0.07941249758005142, 0.3704999089241028, 0.006911961827427149, 0.16692501306533813, -0.05065783113241196, 0.25168687105178833, 0.26661309599876404, -0.2968882918357849, 0.2391955852508545, 0.2839130163192749, 0.05913250148296356, 0.05797424167394638, 0.005060840398073196, 0.24801266193389893, 0.10853447020053864, 0.1219538152217865, 0.05764736980199814, -0.17246036231517792, 0.17578260600566864, -0.05663055181503296, 0.12039273232221603, -0.0433434396982193, 0.024791203439235687, 0.09358195960521698, 0.5590724945068359, -0.14896759390830994, -0.2962900996208191, -0.13456660509109497, 0.4552347958087921, 0.14434154331684113, -0.13991641998291016, -0.026227131485939026, -0.11647037416696548, 0.14453095197677612, 0.21291103959083557, 0.10801537334918976, 0.3510432839393616, 0.2801332473754883, -0.5974588990211487, 0.22917574644088745, -0.12576045095920563, -0.0784912258386612, 0.16016629338264465, -0.07382656633853912, 0.07491812855005264, 0.3334081470966339, 0.0019282088615000248, 0.19912923872470856, -0.2173793613910675, -0.39564934372901917, -0.2351122349500656, 0.2192082405090332, -0.4444912075996399, 0.010945873335003853, -0.21578606963157654, -0.1543773114681244, -0.07392406463623047, 0.04753128066658974, -0.06849750876426697, -0.13562317192554474, -0.11906704306602478, 0.1703486293554306, 0.08466315269470215, 0.03125852346420288, -0.6403214931488037, 0.01372922956943512, -0.10076966136693954, -0.1925148218870163, -0.18880145251750946, 0.14538413286209106, -0.17631614208221436, -0.010183773934841156, 0.4653300940990448, -0.13922373950481415, 0.07035437226295471, -0.49369925260543823, 0.02268737554550171, -0.21780750155448914, -0.5930320620536804, -0.06939332187175751, -0.10381197929382324, 0.23391598463058472, 0.126523956656456, 0.11554829031229019, -0.04536612331867218, -0.3656386137008667, 0.16471140086650848, 0.026804188266396523, -0.17205987870693207, 0.1776982545852661, -0.07045034319162369, -0.14960931241512299, 0.09931671619415283, -0.7325296998023987, 0.06186218559741974, -0.21140071749687195, 0.17415395379066467, 0.08074897527694702, 0.02521970123052597, 0.2991049587726593, 0.1805073469877243, 0.307908833026886, 0.08367352187633514, -0.18202131986618042, 0.010981274768710136, -0.2159576416015625, 0.3450257480144501, 0.03751088306307793, -0.1181052178144455, 0.16258791089057922, 0.0450231209397316, 0.15126389265060425, -0.07289328426122665, -0.4477995038032532, 0.016055237501859665, -0.2131376564502716, 0.33122336864471436, -0.12799137830734253, -0.15406621992588043, 0.3858329951763153, 0.03730813413858414, 0.12066580355167389, -0.15293461084365845, -0.027093948796391487, -0.1205233708024025, 0.2460719347000122, 0.19039607048034668, -0.22846141457557678, 0.5267710089683533, -0.21337635815143585, 0.1943134367465973, 0.2366066575050354, -0.14358949661254883, 0.3200841248035431, -0.17547549307346344, 0.5637099742889404, -0.374299019575119, -0.3002450466156006, 0.17194733023643494, 0.25916585326194763, 0.039200492203235626, -0.03866566717624664, -0.16318657994270325, -0.03205063194036484, -0.23924417793750763, -0.12447941303253174, -0.4805607199668884, 0.044979777187108994, -0.13710801303386688, 0.10707380622625351, 0.07221794873476028, 0.00023132190108299255, 0.1654784381389618, 0.1553042232990265, -0.18448886275291443, 0.20680354535579681, 0.3229154348373413, 0.2776373028755188, -0.05239993333816528, -0.7211449146270752, -0.3382638394832611, -0.33248433470726013, 0.4898707866668701, 0.15872885286808014, 0.09349950402975082, 0.16168782114982605, -0.04446743428707123, -0.1535758227109909, -0.20246872305870056, 0.5855938196182251, -0.2085537165403366, -0.15689823031425476, 0.3103548288345337, 0.09779070317745209, -0.144226536154747, -0.21549326181411743, -0.15339675545692444, 0.35497212409973145, 0.06769520789384842, 0.44606512784957886, -0.012783072888851166, -0.17859682440757751, 0.32916632294654846, 0.39623141288757324, -0.10084369033575058, 0.012522722594439983, -0.2164147049188614, 0.15831851959228516, 0.03815337270498276, -0.038844890892505646, -0.1345280110836029, 0.3791518211364746, -0.17897719144821167, -0.18548530340194702, -0.11116273701190948, -0.34299954771995544, 0.29436856508255005, 0.32736676931381226, 0.5280426144599915, 0.032372910529375076, 0.2896404266357422, 0.2594362199306488, 0.025546390563249588, 0.813024640083313, 0.3938734531402588, 0.09700299799442291, -0.16714584827423096, -0.1696544885635376, 0.1400681436061859, 0.2687196433544159, 0.158284530043602, -0.13553428649902344, 0.016789279878139496, -0.1615501344203949, 0.0685495063662529, -0.10237594693899155, 0.12742917239665985, 0.3834613859653473, 0.06662273406982422, -0.4211311936378479, -0.3310449421405792, 0.37849047780036926, -0.04159644991159439, 0.06444208323955536, 0.23167026042938232, 0.3991468548774719, -0.28051865100860596, -0.14158283174037933, -0.06993842869997025, 0.7818910479545593, 0.1888568103313446, -0.021638687700033188, 0.19186854362487793, -0.09989118576049805, 0.30720314383506775, -0.459031879901886, 0.12848913669586182, -0.4941147267818451, -0.17331606149673462, -0.10538969933986664, -0.1505172699689865, 0.2728251814842224, 0.20999574661254883, -0.253799706697464, 0.4802767038345337, -0.2117661088705063, 0.23737984895706177, -0.09534399956464767, 0.05760101228952408, -0.16801901161670685, 0.25554516911506653, -0.43884992599487305, 0.02699108049273491, 0.10594606399536133, 0.11452294886112213, -0.2314448356628418, 0.008271612226963043, -0.04769138619303703, -0.3490656614303589, -0.25006914138793945, 0.38084158301353455, -0.46623557806015015, 0.029804427176713943, 0.3340104818344116, -0.23817680776119232, 0.16812583804130554, 0.40198859572410583, 0.3803263306617737, 0.2154344767332077, -0.3112197518348694, 0.19210611283779144, -0.3263019621372223, -0.08456164598464966, 0.22025974094867706, 0.0536632239818573, 0.061833471059799194, 0.04313310235738754, -0.32807767391204834, 0.25284287333488464, -0.09328986704349518, -0.24625074863433838, -0.17961646616458893, -0.011658705770969391, -0.038385048508644104, -0.19487406313419342, -0.2396782487630844, 0.20479410886764526, 0.044827889651060104, -0.2937813401222229, 0.06940848380327225, -0.25055044889450073, 0.09080768376588821, -0.07375732809305191, 0.09955155104398727, -0.3038039207458496, 0.005049481987953186, 0.364831805229187, -0.20864492654800415, -0.20678751170635223, 0.3426254093647003, -0.03812296688556671, -0.11980237066745758, -0.2006416618824005, 0.13849708437919617, 0.36888518929481506, -0.40817150473594666, -0.03545752540230751, 0.0491519533097744, 0.2197423130273819, 0.16326451301574707, 0.16427694261074066, 0.2157881259918213, -0.1765475571155548, 0.17065204679965973, -0.36845678091049194, -0.3288734257221222, 0.4158748388290405, 0.011359531432390213, 0.19417399168014526, 0.029639892280101776, 0.1662595272064209, 0.001107214018702507, -0.14559175074100494, -0.17908841371536255, 0.10977235436439514, 0.01751823164522648, 0.05696380138397217, -0.05286532640457153, 0.26533856987953186, 0.4178846478462219, -0.007606327999383211, 0.07748520374298096, 0.06420212984085083, 0.0036086412146687508, -0.1160660982131958, -0.14117537438869476, 0.16353467106819153, 0.10173472762107849, 0.01773945614695549, 0.07958688586950302, -0.0039025358855724335, 0.04279405623674393, -0.21024154126644135, 0.3398745357990265, 0.2861105501651764, 0.09775926917791367, 0.40198683738708496, 0.36421114206314087, -0.10018058866262436, -0.1780906617641449, 0.13998109102249146, 0.04036015272140503, 0.17873722314834595, 0.1127701997756958, 0.13480211794376373, -0.021079659461975098, 0.07906801998615265, 0.18076935410499573, 0.213412344455719, -0.3061069846153259, 0.214528888463974, 0.04603289067745209, -0.304535448551178, 0.11340565979480743, 0.18224933743476868, -0.060641203075647354, 0.48235559463500977, -0.1592118740081787, 0.1251029521226883, 0.39255303144454956, 0.1670965999364853, -0.41053295135498047, -0.07996223866939545, 0.32610613107681274, 0.08820538967847824, -0.07786692678928375, 0.017463691532611847, 0.011662308126688004, -0.36288902163505554, 0.37056970596313477, 0.20260107517242432, 0.27336594462394714, -0.10349589586257935, 0.4147837162017822, 0.4607183039188385, 0.08928601443767548, -0.10097014904022217, 0.2551831305027008, -0.17657597362995148, 0.25185883045196533, 0.6028957962989807, -0.15398302674293518, 0.10235487669706345, 0.05931699275970459, 0.2546626627445221, 0.0828360915184021, -0.3712722361087799, -0.5648518800735474, 0.2252015918493271, -0.13383466005325317, 0.01972772926092148, 0.040877941995859146, 0.40940433740615845, 0.17511260509490967, -0.07257742434740067, -0.3387376666069031, -0.2950591444969177, -0.24094492197036743, 0.06125553324818611, -0.048667967319488525, -0.39748427271842957, -0.06548172235488892, 0.026994425803422928, -0.051775526255369186, -0.11366336047649384, 0.27537718415260315, -0.06408514082431793, -0.404360294342041, -0.15767565369606018, 0.18155595660209656, 0.37276142835617065, 0.09641104191541672, -0.1554260104894638, 0.2109927535057068, 0.2434033751487732, 0.03292182460427284, 0.08297418802976608, 0.29364874958992004, 0.4390777051448822, 0.2707827091217041, 0.05060660466551781, -0.01621018722653389, 0.18598292768001556, -0.11949718743562698, 0.15814441442489624, 0.20075982809066772, -0.30768322944641113, 0.09850050508975983, -0.01740395650267601, 0.1406882256269455, -0.06385967135429382, 0.19443678855895996, -0.12976400554180145, 0.22686313092708588, -0.532724916934967, 0.07162871211767197, -0.1680387556552887, -0.10884374380111694, -0.12903046607971191, 0.22895359992980957, -0.333189994096756, -0.2267201542854309, 0.2730574309825897, 0.06936207413673401, 0.009592164307832718, 0.2673299312591553, 0.03266995772719383, -0.15973274409770966, 0.15364694595336914, 0.2203376442193985, 0.15984874963760376, -0.29031941294670105, -0.3306838274002075, -0.4528311789035797, 0.00855991244316101, 0.026859130710363388, 0.3244035243988037, -0.20155858993530273, -0.11409763246774673, -0.2526094615459442, -0.02886722981929779, 0.4957997798919678, 0.04034644365310669, 0.2946101427078247, 0.004561007022857666, -0.42161792516708374, -0.04315909370779991, 0.20885266363620758, -0.05194767564535141, -0.04269643872976303, -0.5033798217773438, -0.1376316398382187, 0.08641179651021957, -0.09984798729419708, -0.15372134745121002, 0.13674162328243256, -0.16653066873550415, 0.023983702063560486, 0.8094243407249451, 0.0855741798877716, 0.6356728076934814, -0.10314077138900757, -0.012256872840225697, -0.4340739846229553, -0.5135287642478943, 0.040885500609874725, 0.09606985002756119, 0.028228413313627243, 0.5386804342269897, -0.40883493423461914, -0.11444643139839172, -0.12336253374814987, 0.2872782349586487, 0.08475111424922943, 0.14293259382247925, -0.35204750299453735, 0.04950695484876633, -0.34726181626319885, 0.04756177216768265, -0.2015838623046875, 0.09372001886367798, 0.06344207376241684, -0.03364303335547447, -0.13188576698303223, -0.2346055507659912, 0.5741701126098633, -0.31822100281715393, 0.017196588218212128, -0.20539633929729462, 0.16087646782398224, 0.19501513242721558, -0.24939987063407898, -0.37660184502601624, 0.1034565344452858, 0.5223572254180908, 0.21953681111335754, -0.2243412286043167, 0.3346847891807556, -0.11965794861316681, -0.06567592173814774, 0.11322501301765442, 0.19633156061172485, 0.07418203353881836, -0.22253546118736267, 0.09397116303443909, -0.31466585397720337 ]
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
Ho @ZhangGe6, As far as I know, that directory is the only one where the cache is saved, unless you configured another one. You can check it: ```python import datasets.config print(datasets.config.HF_CACHE_HOME) # ~/.cache/huggingface print(datasets.config.HF_DATASETS_CACHE) # ~/.cache/huggingface/datasets print(datasets.config.HF_MODULES_CACHE) # ~/.cache/huggingface/modules print(datasets.config.DOWNLOADED_DATASETS_PATH) # ~/.cache/huggingface/datasets/downloads print(datasets.config.EXTRACTED_DATASETS_PATH) # ~/.cache/huggingface/datasets/downloads/extracted ``` Additionally, `datasets` uses `huggingface_hub`, but its cache directory should also be inside `~/.cache/huggingface`, unless you configured another one. You can check it: ```python import huggingface_hub.constants print(huggingface_hub.constants.HF_HOME) # ~/.cache/huggingface print(huggingface_hub.constants.HF_HUB_CACHE) # ~/.cache/huggingface/hub ```
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2
78
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2 Ho @ZhangGe6, As far as I know, that directory is the only one where the cache is saved, unless you configured another one. You can check it: ```python import datasets.config print(datasets.config.HF_CACHE_HOME) # ~/.cache/huggingface print(datasets.config.HF_DATASETS_CACHE) # ~/.cache/huggingface/datasets print(datasets.config.HF_MODULES_CACHE) # ~/.cache/huggingface/modules print(datasets.config.DOWNLOADED_DATASETS_PATH) # ~/.cache/huggingface/datasets/downloads print(datasets.config.EXTRACTED_DATASETS_PATH) # ~/.cache/huggingface/datasets/downloads/extracted ``` Additionally, `datasets` uses `huggingface_hub`, but its cache directory should also be inside `~/.cache/huggingface`, unless you configured another one. You can check it: ```python import huggingface_hub.constants print(huggingface_hub.constants.HF_HOME) # ~/.cache/huggingface print(huggingface_hub.constants.HF_HUB_CACHE) # ~/.cache/huggingface/hub ```
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.1673109382390976, 0.09469642490148544, -0.12878842651844025, 0.07063333690166473, 0.32241034507751465, 0.02620493248105049, 0.19688363373279572, -0.20495252311229706, 0.2669195234775543, -0.4299952983856201, -0.05025388300418854, -0.5118574500083923, 0.1403893232345581, -0.07259971648454666, 0.3794679641723633, 0.02385059744119644, -0.6958081722259521, 0.44850096106529236, -0.20207393169403076, 0.2992042601108551, 0.49243301153182983, -0.00012066363706253469, 0.01928948611021042, 0.3469124436378479, -0.08317720890045166, -0.11738654971122742, -0.05980360507965088, -0.14499206840991974, -0.19902335107326508, 0.022213812917470932, -0.2882561981678009, -0.014482324942946434, -0.32274869084358215, 0.015865202993154526, -0.01316012442111969, 0.28171390295028687, 0.5431941747665405, 0.1330081820487976, 0.1479310244321823, 0.39817681908607483, -0.1542314738035202, 0.07552634924650192, -0.27447015047073364, -0.01908506453037262, 0.23912999033927917, -0.08974960446357727, -0.07092311978340149, 0.2659449577331543, 0.13223052024841309, -0.2828100025653839, -0.17826257646083832, 0.2492561936378479, -0.017540816217660904, -0.11171411722898483, -0.3811374008655548, 0.31400471925735474, 0.13975772261619568, 0.42582520842552185, -0.38074347376823425, -0.38033801317214966, -0.1683962643146515, 0.20151138305664062, -0.022123482078313828, 0.4386742413043976, 0.006013292353600264, 0.25066131353378296, 0.16168321669101715, -0.04256672412157059, -0.09226145595312119, -0.17877313494682312, 0.19423139095306396, -0.10208393633365631, -0.024914659559726715, -0.09587426483631134, 0.04586704075336456, 0.2314188927412033, -0.10027109086513519, 0.04329567775130272, -0.04045218974351883, -0.31813836097717285, 0.22126537561416626, -0.3310926556587219, -0.04149278253316879, 0.021100010722875595, 0.37260234355926514, 0.04357099533081055, -0.03800217807292938, -0.15389499068260193, -0.15865910053253174, -0.21904052793979645, 0.04323819652199745, -0.2167455106973648, 0.0561506487429142, 0.10338110476732254, 0.23301638662815094, 0.18303918838500977, 0.10128527134656906, -0.020585210993885994, -0.2543068826198578, -0.1281110793352127, -0.495686411857605, -0.14644773304462433, 0.30492228269577026, 0.44477009773254395, -0.4531577527523041, -0.5866712331771851, 0.26064440608024597, -0.42576807737350464, -0.03383442759513855, 0.10021638125181198, 0.36175599694252014, -0.13488446176052094, 0.34633806347846985, 0.05167446285486221, 0.2822863459587097, -0.1180596724152565, -0.20207518339157104, -0.1771644502878189, 0.1411392241716385, -0.19642393290996552, 0.07668192684650421, 0.22601382434368134, -0.4352952241897583, 0.31519436836242676, 0.10053573548793793, 0.3195825219154358, 0.024610884487628937, -0.03942642733454704, -0.06250287592411041, -0.3420781195163727, 0.29523801803588867, -0.2975321114063263, 0.03572583198547363, 0.1402018517255783, -0.2860606610774994, -0.06302879750728607, 0.18216350674629211, -0.32619377970695496, -0.02672683820128441, -0.18541967868804932, 0.052909623831510544, -0.1444951295852661, 0.05327868461608887, -0.4641789495944977, -0.034403253346681595, -0.09688795357942581, -0.27016761898994446, 0.09257107228040695, -0.18675367534160614, 0.21426188945770264, -0.24912060797214508, 0.1467367559671402, 0.6955875754356384, -0.5375068783760071, -0.07292602956295013, 0.1932041496038437, -0.05842846259474754, 0.035234034061431885, 0.10900452733039856, -0.1654689460992813, 0.13702718913555145, -0.3446011543273926, -0.10282328724861145, 0.15042896568775177, -0.4401116967201233, -0.6035734415054321, 0.10642585903406143, 0.013413652777671814, 0.22816316783428192, 0.12718459963798523, -0.03874368593096733, -0.4771975576877594, -0.023053469136357307, -0.10390527546405792, -0.30530285835266113, -0.012857554480433464, -0.13113047182559967, -0.23246614634990692, -0.15119221806526184, 0.5078813433647156, 0.07603226602077484, 0.2369411736726761, 0.08104918897151947, 0.13708731532096863, 0.1925928145647049, 0.2370634377002716, -0.2821579873561859, -0.22671422362327576, 0.0899062305688858, 0.29176875948905945, -0.03146445006132126, 0.04327007010579109, -0.04735543951392174, -0.652544379234314, 0.3559955060482025, 0.03991517424583435, -0.09408517181873322, 0.14504382014274597, -0.08631426095962524, -0.1655561923980713, -0.25147074460983276, -0.2675711214542389, -0.2202230989933014, -0.019351119175553322, -0.016915977001190186, 0.017483461648225784, 0.06582993268966675, -0.27473998069763184, 0.6899194717407227, -0.3939708173274994, 0.14065279066562653, -0.2124442160129547, 0.5503130555152893, -0.03201579302549362, 0.059807199984788895, -0.012553738430142403, 0.13051466643810272, 0.30562469363212585, -0.09303276985883713, -0.07941249758005142, 0.3704999089241028, 0.006911961827427149, 0.16692501306533813, -0.05065783113241196, 0.25168687105178833, 0.26661309599876404, -0.2968882918357849, 0.2391955852508545, 0.2839130163192749, 0.05913250148296356, 0.05797424167394638, 0.005060840398073196, 0.24801266193389893, 0.10853447020053864, 0.1219538152217865, 0.05764736980199814, -0.17246036231517792, 0.17578260600566864, -0.05663055181503296, 0.12039273232221603, -0.0433434396982193, 0.024791203439235687, 0.09358195960521698, 0.5590724945068359, -0.14896759390830994, -0.2962900996208191, -0.13456660509109497, 0.4552347958087921, 0.14434154331684113, -0.13991641998291016, -0.026227131485939026, -0.11647037416696548, 0.14453095197677612, 0.21291103959083557, 0.10801537334918976, 0.3510432839393616, 0.2801332473754883, -0.5974588990211487, 0.22917574644088745, -0.12576045095920563, -0.0784912258386612, 0.16016629338264465, -0.07382656633853912, 0.07491812855005264, 0.3334081470966339, 0.0019282088615000248, 0.19912923872470856, -0.2173793613910675, -0.39564934372901917, -0.2351122349500656, 0.2192082405090332, -0.4444912075996399, 0.010945873335003853, -0.21578606963157654, -0.1543773114681244, -0.07392406463623047, 0.04753128066658974, -0.06849750876426697, -0.13562317192554474, -0.11906704306602478, 0.1703486293554306, 0.08466315269470215, 0.03125852346420288, -0.6403214931488037, 0.01372922956943512, -0.10076966136693954, -0.1925148218870163, -0.18880145251750946, 0.14538413286209106, -0.17631614208221436, -0.010183773934841156, 0.4653300940990448, -0.13922373950481415, 0.07035437226295471, -0.49369925260543823, 0.02268737554550171, -0.21780750155448914, -0.5930320620536804, -0.06939332187175751, -0.10381197929382324, 0.23391598463058472, 0.126523956656456, 0.11554829031229019, -0.04536612331867218, -0.3656386137008667, 0.16471140086650848, 0.026804188266396523, -0.17205987870693207, 0.1776982545852661, -0.07045034319162369, -0.14960931241512299, 0.09931671619415283, -0.7325296998023987, 0.06186218559741974, -0.21140071749687195, 0.17415395379066467, 0.08074897527694702, 0.02521970123052597, 0.2991049587726593, 0.1805073469877243, 0.307908833026886, 0.08367352187633514, -0.18202131986618042, 0.010981274768710136, -0.2159576416015625, 0.3450257480144501, 0.03751088306307793, -0.1181052178144455, 0.16258791089057922, 0.0450231209397316, 0.15126389265060425, -0.07289328426122665, -0.4477995038032532, 0.016055237501859665, -0.2131376564502716, 0.33122336864471436, -0.12799137830734253, -0.15406621992588043, 0.3858329951763153, 0.03730813413858414, 0.12066580355167389, -0.15293461084365845, -0.027093948796391487, -0.1205233708024025, 0.2460719347000122, 0.19039607048034668, -0.22846141457557678, 0.5267710089683533, -0.21337635815143585, 0.1943134367465973, 0.2366066575050354, -0.14358949661254883, 0.3200841248035431, -0.17547549307346344, 0.5637099742889404, -0.374299019575119, -0.3002450466156006, 0.17194733023643494, 0.25916585326194763, 0.039200492203235626, -0.03866566717624664, -0.16318657994270325, -0.03205063194036484, -0.23924417793750763, -0.12447941303253174, -0.4805607199668884, 0.044979777187108994, -0.13710801303386688, 0.10707380622625351, 0.07221794873476028, 0.00023132190108299255, 0.1654784381389618, 0.1553042232990265, -0.18448886275291443, 0.20680354535579681, 0.3229154348373413, 0.2776373028755188, -0.05239993333816528, -0.7211449146270752, -0.3382638394832611, -0.33248433470726013, 0.4898707866668701, 0.15872885286808014, 0.09349950402975082, 0.16168782114982605, -0.04446743428707123, -0.1535758227109909, -0.20246872305870056, 0.5855938196182251, -0.2085537165403366, -0.15689823031425476, 0.3103548288345337, 0.09779070317745209, -0.144226536154747, -0.21549326181411743, -0.15339675545692444, 0.35497212409973145, 0.06769520789384842, 0.44606512784957886, -0.012783072888851166, -0.17859682440757751, 0.32916632294654846, 0.39623141288757324, -0.10084369033575058, 0.012522722594439983, -0.2164147049188614, 0.15831851959228516, 0.03815337270498276, -0.038844890892505646, -0.1345280110836029, 0.3791518211364746, -0.17897719144821167, -0.18548530340194702, -0.11116273701190948, -0.34299954771995544, 0.29436856508255005, 0.32736676931381226, 0.5280426144599915, 0.032372910529375076, 0.2896404266357422, 0.2594362199306488, 0.025546390563249588, 0.813024640083313, 0.3938734531402588, 0.09700299799442291, -0.16714584827423096, -0.1696544885635376, 0.1400681436061859, 0.2687196433544159, 0.158284530043602, -0.13553428649902344, 0.016789279878139496, -0.1615501344203949, 0.0685495063662529, -0.10237594693899155, 0.12742917239665985, 0.3834613859653473, 0.06662273406982422, -0.4211311936378479, -0.3310449421405792, 0.37849047780036926, -0.04159644991159439, 0.06444208323955536, 0.23167026042938232, 0.3991468548774719, -0.28051865100860596, -0.14158283174037933, -0.06993842869997025, 0.7818910479545593, 0.1888568103313446, -0.021638687700033188, 0.19186854362487793, -0.09989118576049805, 0.30720314383506775, -0.459031879901886, 0.12848913669586182, -0.4941147267818451, -0.17331606149673462, -0.10538969933986664, -0.1505172699689865, 0.2728251814842224, 0.20999574661254883, -0.253799706697464, 0.4802767038345337, -0.2117661088705063, 0.23737984895706177, -0.09534399956464767, 0.05760101228952408, -0.16801901161670685, 0.25554516911506653, -0.43884992599487305, 0.02699108049273491, 0.10594606399536133, 0.11452294886112213, -0.2314448356628418, 0.008271612226963043, -0.04769138619303703, -0.3490656614303589, -0.25006914138793945, 0.38084158301353455, -0.46623557806015015, 0.029804427176713943, 0.3340104818344116, -0.23817680776119232, 0.16812583804130554, 0.40198859572410583, 0.3803263306617737, 0.2154344767332077, -0.3112197518348694, 0.19210611283779144, -0.3263019621372223, -0.08456164598464966, 0.22025974094867706, 0.0536632239818573, 0.061833471059799194, 0.04313310235738754, -0.32807767391204834, 0.25284287333488464, -0.09328986704349518, -0.24625074863433838, -0.17961646616458893, -0.011658705770969391, -0.038385048508644104, -0.19487406313419342, -0.2396782487630844, 0.20479410886764526, 0.044827889651060104, -0.2937813401222229, 0.06940848380327225, -0.25055044889450073, 0.09080768376588821, -0.07375732809305191, 0.09955155104398727, -0.3038039207458496, 0.005049481987953186, 0.364831805229187, -0.20864492654800415, -0.20678751170635223, 0.3426254093647003, -0.03812296688556671, -0.11980237066745758, -0.2006416618824005, 0.13849708437919617, 0.36888518929481506, -0.40817150473594666, -0.03545752540230751, 0.0491519533097744, 0.2197423130273819, 0.16326451301574707, 0.16427694261074066, 0.2157881259918213, -0.1765475571155548, 0.17065204679965973, -0.36845678091049194, -0.3288734257221222, 0.4158748388290405, 0.011359531432390213, 0.19417399168014526, 0.029639892280101776, 0.1662595272064209, 0.001107214018702507, -0.14559175074100494, -0.17908841371536255, 0.10977235436439514, 0.01751823164522648, 0.05696380138397217, -0.05286532640457153, 0.26533856987953186, 0.4178846478462219, -0.007606327999383211, 0.07748520374298096, 0.06420212984085083, 0.0036086412146687508, -0.1160660982131958, -0.14117537438869476, 0.16353467106819153, 0.10173472762107849, 0.01773945614695549, 0.07958688586950302, -0.0039025358855724335, 0.04279405623674393, -0.21024154126644135, 0.3398745357990265, 0.2861105501651764, 0.09775926917791367, 0.40198683738708496, 0.36421114206314087, -0.10018058866262436, -0.1780906617641449, 0.13998109102249146, 0.04036015272140503, 0.17873722314834595, 0.1127701997756958, 0.13480211794376373, -0.021079659461975098, 0.07906801998615265, 0.18076935410499573, 0.213412344455719, -0.3061069846153259, 0.214528888463974, 0.04603289067745209, -0.304535448551178, 0.11340565979480743, 0.18224933743476868, -0.060641203075647354, 0.48235559463500977, -0.1592118740081787, 0.1251029521226883, 0.39255303144454956, 0.1670965999364853, -0.41053295135498047, -0.07996223866939545, 0.32610613107681274, 0.08820538967847824, -0.07786692678928375, 0.017463691532611847, 0.011662308126688004, -0.36288902163505554, 0.37056970596313477, 0.20260107517242432, 0.27336594462394714, -0.10349589586257935, 0.4147837162017822, 0.4607183039188385, 0.08928601443767548, -0.10097014904022217, 0.2551831305027008, -0.17657597362995148, 0.25185883045196533, 0.6028957962989807, -0.15398302674293518, 0.10235487669706345, 0.05931699275970459, 0.2546626627445221, 0.0828360915184021, -0.3712722361087799, -0.5648518800735474, 0.2252015918493271, -0.13383466005325317, 0.01972772926092148, 0.040877941995859146, 0.40940433740615845, 0.17511260509490967, -0.07257742434740067, -0.3387376666069031, -0.2950591444969177, -0.24094492197036743, 0.06125553324818611, -0.048667967319488525, -0.39748427271842957, -0.06548172235488892, 0.026994425803422928, -0.051775526255369186, -0.11366336047649384, 0.27537718415260315, -0.06408514082431793, -0.404360294342041, -0.15767565369606018, 0.18155595660209656, 0.37276142835617065, 0.09641104191541672, -0.1554260104894638, 0.2109927535057068, 0.2434033751487732, 0.03292182460427284, 0.08297418802976608, 0.29364874958992004, 0.4390777051448822, 0.2707827091217041, 0.05060660466551781, -0.01621018722653389, 0.18598292768001556, -0.11949718743562698, 0.15814441442489624, 0.20075982809066772, -0.30768322944641113, 0.09850050508975983, -0.01740395650267601, 0.1406882256269455, -0.06385967135429382, 0.19443678855895996, -0.12976400554180145, 0.22686313092708588, -0.532724916934967, 0.07162871211767197, -0.1680387556552887, -0.10884374380111694, -0.12903046607971191, 0.22895359992980957, -0.333189994096756, -0.2267201542854309, 0.2730574309825897, 0.06936207413673401, 0.009592164307832718, 0.2673299312591553, 0.03266995772719383, -0.15973274409770966, 0.15364694595336914, 0.2203376442193985, 0.15984874963760376, -0.29031941294670105, -0.3306838274002075, -0.4528311789035797, 0.00855991244316101, 0.026859130710363388, 0.3244035243988037, -0.20155858993530273, -0.11409763246774673, -0.2526094615459442, -0.02886722981929779, 0.4957997798919678, 0.04034644365310669, 0.2946101427078247, 0.004561007022857666, -0.42161792516708374, -0.04315909370779991, 0.20885266363620758, -0.05194767564535141, -0.04269643872976303, -0.5033798217773438, -0.1376316398382187, 0.08641179651021957, -0.09984798729419708, -0.15372134745121002, 0.13674162328243256, -0.16653066873550415, 0.023983702063560486, 0.8094243407249451, 0.0855741798877716, 0.6356728076934814, -0.10314077138900757, -0.012256872840225697, -0.4340739846229553, -0.5135287642478943, 0.040885500609874725, 0.09606985002756119, 0.028228413313627243, 0.5386804342269897, -0.40883493423461914, -0.11444643139839172, -0.12336253374814987, 0.2872782349586487, 0.08475111424922943, 0.14293259382247925, -0.35204750299453735, 0.04950695484876633, -0.34726181626319885, 0.04756177216768265, -0.2015838623046875, 0.09372001886367798, 0.06344207376241684, -0.03364303335547447, -0.13188576698303223, -0.2346055507659912, 0.5741701126098633, -0.31822100281715393, 0.017196588218212128, -0.20539633929729462, 0.16087646782398224, 0.19501513242721558, -0.24939987063407898, -0.37660184502601624, 0.1034565344452858, 0.5223572254180908, 0.21953681111335754, -0.2243412286043167, 0.3346847891807556, -0.11965794861316681, -0.06567592173814774, 0.11322501301765442, 0.19633156061172485, 0.07418203353881836, -0.22253546118736267, 0.09397116303443909, -0.31466585397720337 ]
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
@albertvillanova I checked the directories you listed, and find that they are the same as the ones you provided. I am going to find more clues and will update what I find here.
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2
33
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2 @albertvillanova I checked the directories you listed, and find that they are the same as the ones you provided. I am going to find more clues and will update what I find here.
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.1673109382390976, 0.09469642490148544, -0.12878842651844025, 0.07063333690166473, 0.32241034507751465, 0.02620493248105049, 0.19688363373279572, -0.20495252311229706, 0.2669195234775543, -0.4299952983856201, -0.05025388300418854, -0.5118574500083923, 0.1403893232345581, -0.07259971648454666, 0.3794679641723633, 0.02385059744119644, -0.6958081722259521, 0.44850096106529236, -0.20207393169403076, 0.2992042601108551, 0.49243301153182983, -0.00012066363706253469, 0.01928948611021042, 0.3469124436378479, -0.08317720890045166, -0.11738654971122742, -0.05980360507965088, -0.14499206840991974, -0.19902335107326508, 0.022213812917470932, -0.2882561981678009, -0.014482324942946434, -0.32274869084358215, 0.015865202993154526, -0.01316012442111969, 0.28171390295028687, 0.5431941747665405, 0.1330081820487976, 0.1479310244321823, 0.39817681908607483, -0.1542314738035202, 0.07552634924650192, -0.27447015047073364, -0.01908506453037262, 0.23912999033927917, -0.08974960446357727, -0.07092311978340149, 0.2659449577331543, 0.13223052024841309, -0.2828100025653839, -0.17826257646083832, 0.2492561936378479, -0.017540816217660904, -0.11171411722898483, -0.3811374008655548, 0.31400471925735474, 0.13975772261619568, 0.42582520842552185, -0.38074347376823425, -0.38033801317214966, -0.1683962643146515, 0.20151138305664062, -0.022123482078313828, 0.4386742413043976, 0.006013292353600264, 0.25066131353378296, 0.16168321669101715, -0.04256672412157059, -0.09226145595312119, -0.17877313494682312, 0.19423139095306396, -0.10208393633365631, -0.024914659559726715, -0.09587426483631134, 0.04586704075336456, 0.2314188927412033, -0.10027109086513519, 0.04329567775130272, -0.04045218974351883, -0.31813836097717285, 0.22126537561416626, -0.3310926556587219, -0.04149278253316879, 0.021100010722875595, 0.37260234355926514, 0.04357099533081055, -0.03800217807292938, -0.15389499068260193, -0.15865910053253174, -0.21904052793979645, 0.04323819652199745, -0.2167455106973648, 0.0561506487429142, 0.10338110476732254, 0.23301638662815094, 0.18303918838500977, 0.10128527134656906, -0.020585210993885994, -0.2543068826198578, -0.1281110793352127, -0.495686411857605, -0.14644773304462433, 0.30492228269577026, 0.44477009773254395, -0.4531577527523041, -0.5866712331771851, 0.26064440608024597, -0.42576807737350464, -0.03383442759513855, 0.10021638125181198, 0.36175599694252014, -0.13488446176052094, 0.34633806347846985, 0.05167446285486221, 0.2822863459587097, -0.1180596724152565, -0.20207518339157104, -0.1771644502878189, 0.1411392241716385, -0.19642393290996552, 0.07668192684650421, 0.22601382434368134, -0.4352952241897583, 0.31519436836242676, 0.10053573548793793, 0.3195825219154358, 0.024610884487628937, -0.03942642733454704, -0.06250287592411041, -0.3420781195163727, 0.29523801803588867, -0.2975321114063263, 0.03572583198547363, 0.1402018517255783, -0.2860606610774994, -0.06302879750728607, 0.18216350674629211, -0.32619377970695496, -0.02672683820128441, -0.18541967868804932, 0.052909623831510544, -0.1444951295852661, 0.05327868461608887, -0.4641789495944977, -0.034403253346681595, -0.09688795357942581, -0.27016761898994446, 0.09257107228040695, -0.18675367534160614, 0.21426188945770264, -0.24912060797214508, 0.1467367559671402, 0.6955875754356384, -0.5375068783760071, -0.07292602956295013, 0.1932041496038437, -0.05842846259474754, 0.035234034061431885, 0.10900452733039856, -0.1654689460992813, 0.13702718913555145, -0.3446011543273926, -0.10282328724861145, 0.15042896568775177, -0.4401116967201233, -0.6035734415054321, 0.10642585903406143, 0.013413652777671814, 0.22816316783428192, 0.12718459963798523, -0.03874368593096733, -0.4771975576877594, -0.023053469136357307, -0.10390527546405792, -0.30530285835266113, -0.012857554480433464, -0.13113047182559967, -0.23246614634990692, -0.15119221806526184, 0.5078813433647156, 0.07603226602077484, 0.2369411736726761, 0.08104918897151947, 0.13708731532096863, 0.1925928145647049, 0.2370634377002716, -0.2821579873561859, -0.22671422362327576, 0.0899062305688858, 0.29176875948905945, -0.03146445006132126, 0.04327007010579109, -0.04735543951392174, -0.652544379234314, 0.3559955060482025, 0.03991517424583435, -0.09408517181873322, 0.14504382014274597, -0.08631426095962524, -0.1655561923980713, -0.25147074460983276, -0.2675711214542389, -0.2202230989933014, -0.019351119175553322, -0.016915977001190186, 0.017483461648225784, 0.06582993268966675, -0.27473998069763184, 0.6899194717407227, -0.3939708173274994, 0.14065279066562653, -0.2124442160129547, 0.5503130555152893, -0.03201579302549362, 0.059807199984788895, -0.012553738430142403, 0.13051466643810272, 0.30562469363212585, -0.09303276985883713, -0.07941249758005142, 0.3704999089241028, 0.006911961827427149, 0.16692501306533813, -0.05065783113241196, 0.25168687105178833, 0.26661309599876404, -0.2968882918357849, 0.2391955852508545, 0.2839130163192749, 0.05913250148296356, 0.05797424167394638, 0.005060840398073196, 0.24801266193389893, 0.10853447020053864, 0.1219538152217865, 0.05764736980199814, -0.17246036231517792, 0.17578260600566864, -0.05663055181503296, 0.12039273232221603, -0.0433434396982193, 0.024791203439235687, 0.09358195960521698, 0.5590724945068359, -0.14896759390830994, -0.2962900996208191, -0.13456660509109497, 0.4552347958087921, 0.14434154331684113, -0.13991641998291016, -0.026227131485939026, -0.11647037416696548, 0.14453095197677612, 0.21291103959083557, 0.10801537334918976, 0.3510432839393616, 0.2801332473754883, -0.5974588990211487, 0.22917574644088745, -0.12576045095920563, -0.0784912258386612, 0.16016629338264465, -0.07382656633853912, 0.07491812855005264, 0.3334081470966339, 0.0019282088615000248, 0.19912923872470856, -0.2173793613910675, -0.39564934372901917, -0.2351122349500656, 0.2192082405090332, -0.4444912075996399, 0.010945873335003853, -0.21578606963157654, -0.1543773114681244, -0.07392406463623047, 0.04753128066658974, -0.06849750876426697, -0.13562317192554474, -0.11906704306602478, 0.1703486293554306, 0.08466315269470215, 0.03125852346420288, -0.6403214931488037, 0.01372922956943512, -0.10076966136693954, -0.1925148218870163, -0.18880145251750946, 0.14538413286209106, -0.17631614208221436, -0.010183773934841156, 0.4653300940990448, -0.13922373950481415, 0.07035437226295471, -0.49369925260543823, 0.02268737554550171, -0.21780750155448914, -0.5930320620536804, -0.06939332187175751, -0.10381197929382324, 0.23391598463058472, 0.126523956656456, 0.11554829031229019, -0.04536612331867218, -0.3656386137008667, 0.16471140086650848, 0.026804188266396523, -0.17205987870693207, 0.1776982545852661, -0.07045034319162369, -0.14960931241512299, 0.09931671619415283, -0.7325296998023987, 0.06186218559741974, -0.21140071749687195, 0.17415395379066467, 0.08074897527694702, 0.02521970123052597, 0.2991049587726593, 0.1805073469877243, 0.307908833026886, 0.08367352187633514, -0.18202131986618042, 0.010981274768710136, -0.2159576416015625, 0.3450257480144501, 0.03751088306307793, -0.1181052178144455, 0.16258791089057922, 0.0450231209397316, 0.15126389265060425, -0.07289328426122665, -0.4477995038032532, 0.016055237501859665, -0.2131376564502716, 0.33122336864471436, -0.12799137830734253, -0.15406621992588043, 0.3858329951763153, 0.03730813413858414, 0.12066580355167389, -0.15293461084365845, -0.027093948796391487, -0.1205233708024025, 0.2460719347000122, 0.19039607048034668, -0.22846141457557678, 0.5267710089683533, -0.21337635815143585, 0.1943134367465973, 0.2366066575050354, -0.14358949661254883, 0.3200841248035431, -0.17547549307346344, 0.5637099742889404, -0.374299019575119, -0.3002450466156006, 0.17194733023643494, 0.25916585326194763, 0.039200492203235626, -0.03866566717624664, -0.16318657994270325, -0.03205063194036484, -0.23924417793750763, -0.12447941303253174, -0.4805607199668884, 0.044979777187108994, -0.13710801303386688, 0.10707380622625351, 0.07221794873476028, 0.00023132190108299255, 0.1654784381389618, 0.1553042232990265, -0.18448886275291443, 0.20680354535579681, 0.3229154348373413, 0.2776373028755188, -0.05239993333816528, -0.7211449146270752, -0.3382638394832611, -0.33248433470726013, 0.4898707866668701, 0.15872885286808014, 0.09349950402975082, 0.16168782114982605, -0.04446743428707123, -0.1535758227109909, -0.20246872305870056, 0.5855938196182251, -0.2085537165403366, -0.15689823031425476, 0.3103548288345337, 0.09779070317745209, -0.144226536154747, -0.21549326181411743, -0.15339675545692444, 0.35497212409973145, 0.06769520789384842, 0.44606512784957886, -0.012783072888851166, -0.17859682440757751, 0.32916632294654846, 0.39623141288757324, -0.10084369033575058, 0.012522722594439983, -0.2164147049188614, 0.15831851959228516, 0.03815337270498276, -0.038844890892505646, -0.1345280110836029, 0.3791518211364746, -0.17897719144821167, -0.18548530340194702, -0.11116273701190948, -0.34299954771995544, 0.29436856508255005, 0.32736676931381226, 0.5280426144599915, 0.032372910529375076, 0.2896404266357422, 0.2594362199306488, 0.025546390563249588, 0.813024640083313, 0.3938734531402588, 0.09700299799442291, -0.16714584827423096, -0.1696544885635376, 0.1400681436061859, 0.2687196433544159, 0.158284530043602, -0.13553428649902344, 0.016789279878139496, -0.1615501344203949, 0.0685495063662529, -0.10237594693899155, 0.12742917239665985, 0.3834613859653473, 0.06662273406982422, -0.4211311936378479, -0.3310449421405792, 0.37849047780036926, -0.04159644991159439, 0.06444208323955536, 0.23167026042938232, 0.3991468548774719, -0.28051865100860596, -0.14158283174037933, -0.06993842869997025, 0.7818910479545593, 0.1888568103313446, -0.021638687700033188, 0.19186854362487793, -0.09989118576049805, 0.30720314383506775, -0.459031879901886, 0.12848913669586182, -0.4941147267818451, -0.17331606149673462, -0.10538969933986664, -0.1505172699689865, 0.2728251814842224, 0.20999574661254883, -0.253799706697464, 0.4802767038345337, -0.2117661088705063, 0.23737984895706177, -0.09534399956464767, 0.05760101228952408, -0.16801901161670685, 0.25554516911506653, -0.43884992599487305, 0.02699108049273491, 0.10594606399536133, 0.11452294886112213, -0.2314448356628418, 0.008271612226963043, -0.04769138619303703, -0.3490656614303589, -0.25006914138793945, 0.38084158301353455, -0.46623557806015015, 0.029804427176713943, 0.3340104818344116, -0.23817680776119232, 0.16812583804130554, 0.40198859572410583, 0.3803263306617737, 0.2154344767332077, -0.3112197518348694, 0.19210611283779144, -0.3263019621372223, -0.08456164598464966, 0.22025974094867706, 0.0536632239818573, 0.061833471059799194, 0.04313310235738754, -0.32807767391204834, 0.25284287333488464, -0.09328986704349518, -0.24625074863433838, -0.17961646616458893, -0.011658705770969391, -0.038385048508644104, -0.19487406313419342, -0.2396782487630844, 0.20479410886764526, 0.044827889651060104, -0.2937813401222229, 0.06940848380327225, -0.25055044889450073, 0.09080768376588821, -0.07375732809305191, 0.09955155104398727, -0.3038039207458496, 0.005049481987953186, 0.364831805229187, -0.20864492654800415, -0.20678751170635223, 0.3426254093647003, -0.03812296688556671, -0.11980237066745758, -0.2006416618824005, 0.13849708437919617, 0.36888518929481506, -0.40817150473594666, -0.03545752540230751, 0.0491519533097744, 0.2197423130273819, 0.16326451301574707, 0.16427694261074066, 0.2157881259918213, -0.1765475571155548, 0.17065204679965973, -0.36845678091049194, -0.3288734257221222, 0.4158748388290405, 0.011359531432390213, 0.19417399168014526, 0.029639892280101776, 0.1662595272064209, 0.001107214018702507, -0.14559175074100494, -0.17908841371536255, 0.10977235436439514, 0.01751823164522648, 0.05696380138397217, -0.05286532640457153, 0.26533856987953186, 0.4178846478462219, -0.007606327999383211, 0.07748520374298096, 0.06420212984085083, 0.0036086412146687508, -0.1160660982131958, -0.14117537438869476, 0.16353467106819153, 0.10173472762107849, 0.01773945614695549, 0.07958688586950302, -0.0039025358855724335, 0.04279405623674393, -0.21024154126644135, 0.3398745357990265, 0.2861105501651764, 0.09775926917791367, 0.40198683738708496, 0.36421114206314087, -0.10018058866262436, -0.1780906617641449, 0.13998109102249146, 0.04036015272140503, 0.17873722314834595, 0.1127701997756958, 0.13480211794376373, -0.021079659461975098, 0.07906801998615265, 0.18076935410499573, 0.213412344455719, -0.3061069846153259, 0.214528888463974, 0.04603289067745209, -0.304535448551178, 0.11340565979480743, 0.18224933743476868, -0.060641203075647354, 0.48235559463500977, -0.1592118740081787, 0.1251029521226883, 0.39255303144454956, 0.1670965999364853, -0.41053295135498047, -0.07996223866939545, 0.32610613107681274, 0.08820538967847824, -0.07786692678928375, 0.017463691532611847, 0.011662308126688004, -0.36288902163505554, 0.37056970596313477, 0.20260107517242432, 0.27336594462394714, -0.10349589586257935, 0.4147837162017822, 0.4607183039188385, 0.08928601443767548, -0.10097014904022217, 0.2551831305027008, -0.17657597362995148, 0.25185883045196533, 0.6028957962989807, -0.15398302674293518, 0.10235487669706345, 0.05931699275970459, 0.2546626627445221, 0.0828360915184021, -0.3712722361087799, -0.5648518800735474, 0.2252015918493271, -0.13383466005325317, 0.01972772926092148, 0.040877941995859146, 0.40940433740615845, 0.17511260509490967, -0.07257742434740067, -0.3387376666069031, -0.2950591444969177, -0.24094492197036743, 0.06125553324818611, -0.048667967319488525, -0.39748427271842957, -0.06548172235488892, 0.026994425803422928, -0.051775526255369186, -0.11366336047649384, 0.27537718415260315, -0.06408514082431793, -0.404360294342041, -0.15767565369606018, 0.18155595660209656, 0.37276142835617065, 0.09641104191541672, -0.1554260104894638, 0.2109927535057068, 0.2434033751487732, 0.03292182460427284, 0.08297418802976608, 0.29364874958992004, 0.4390777051448822, 0.2707827091217041, 0.05060660466551781, -0.01621018722653389, 0.18598292768001556, -0.11949718743562698, 0.15814441442489624, 0.20075982809066772, -0.30768322944641113, 0.09850050508975983, -0.01740395650267601, 0.1406882256269455, -0.06385967135429382, 0.19443678855895996, -0.12976400554180145, 0.22686313092708588, -0.532724916934967, 0.07162871211767197, -0.1680387556552887, -0.10884374380111694, -0.12903046607971191, 0.22895359992980957, -0.333189994096756, -0.2267201542854309, 0.2730574309825897, 0.06936207413673401, 0.009592164307832718, 0.2673299312591553, 0.03266995772719383, -0.15973274409770966, 0.15364694595336914, 0.2203376442193985, 0.15984874963760376, -0.29031941294670105, -0.3306838274002075, -0.4528311789035797, 0.00855991244316101, 0.026859130710363388, 0.3244035243988037, -0.20155858993530273, -0.11409763246774673, -0.2526094615459442, -0.02886722981929779, 0.4957997798919678, 0.04034644365310669, 0.2946101427078247, 0.004561007022857666, -0.42161792516708374, -0.04315909370779991, 0.20885266363620758, -0.05194767564535141, -0.04269643872976303, -0.5033798217773438, -0.1376316398382187, 0.08641179651021957, -0.09984798729419708, -0.15372134745121002, 0.13674162328243256, -0.16653066873550415, 0.023983702063560486, 0.8094243407249451, 0.0855741798877716, 0.6356728076934814, -0.10314077138900757, -0.012256872840225697, -0.4340739846229553, -0.5135287642478943, 0.040885500609874725, 0.09606985002756119, 0.028228413313627243, 0.5386804342269897, -0.40883493423461914, -0.11444643139839172, -0.12336253374814987, 0.2872782349586487, 0.08475111424922943, 0.14293259382247925, -0.35204750299453735, 0.04950695484876633, -0.34726181626319885, 0.04756177216768265, -0.2015838623046875, 0.09372001886367798, 0.06344207376241684, -0.03364303335547447, -0.13188576698303223, -0.2346055507659912, 0.5741701126098633, -0.31822100281715393, 0.017196588218212128, -0.20539633929729462, 0.16087646782398224, 0.19501513242721558, -0.24939987063407898, -0.37660184502601624, 0.1034565344452858, 0.5223572254180908, 0.21953681111335754, -0.2243412286043167, 0.3346847891807556, -0.11965794861316681, -0.06567592173814774, 0.11322501301765442, 0.19633156061172485, 0.07418203353881836, -0.22253546118736267, 0.09397116303443909, -0.31466585397720337 ]
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
I've had a similar problem, and for some reason decreasing the number of workers in the dataloader solved it
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2
19
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2 I've had a similar problem, and for some reason decreasing the number of workers in the dataloader solved it
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.1673109382390976, 0.09469642490148544, -0.12878842651844025, 0.07063333690166473, 0.32241034507751465, 0.02620493248105049, 0.19688363373279572, -0.20495252311229706, 0.2669195234775543, -0.4299952983856201, -0.05025388300418854, -0.5118574500083923, 0.1403893232345581, -0.07259971648454666, 0.3794679641723633, 0.02385059744119644, -0.6958081722259521, 0.44850096106529236, -0.20207393169403076, 0.2992042601108551, 0.49243301153182983, -0.00012066363706253469, 0.01928948611021042, 0.3469124436378479, -0.08317720890045166, -0.11738654971122742, -0.05980360507965088, -0.14499206840991974, -0.19902335107326508, 0.022213812917470932, -0.2882561981678009, -0.014482324942946434, -0.32274869084358215, 0.015865202993154526, -0.01316012442111969, 0.28171390295028687, 0.5431941747665405, 0.1330081820487976, 0.1479310244321823, 0.39817681908607483, -0.1542314738035202, 0.07552634924650192, -0.27447015047073364, -0.01908506453037262, 0.23912999033927917, -0.08974960446357727, -0.07092311978340149, 0.2659449577331543, 0.13223052024841309, -0.2828100025653839, -0.17826257646083832, 0.2492561936378479, -0.017540816217660904, -0.11171411722898483, -0.3811374008655548, 0.31400471925735474, 0.13975772261619568, 0.42582520842552185, -0.38074347376823425, -0.38033801317214966, -0.1683962643146515, 0.20151138305664062, -0.022123482078313828, 0.4386742413043976, 0.006013292353600264, 0.25066131353378296, 0.16168321669101715, -0.04256672412157059, -0.09226145595312119, -0.17877313494682312, 0.19423139095306396, -0.10208393633365631, -0.024914659559726715, -0.09587426483631134, 0.04586704075336456, 0.2314188927412033, -0.10027109086513519, 0.04329567775130272, -0.04045218974351883, -0.31813836097717285, 0.22126537561416626, -0.3310926556587219, -0.04149278253316879, 0.021100010722875595, 0.37260234355926514, 0.04357099533081055, -0.03800217807292938, -0.15389499068260193, -0.15865910053253174, -0.21904052793979645, 0.04323819652199745, -0.2167455106973648, 0.0561506487429142, 0.10338110476732254, 0.23301638662815094, 0.18303918838500977, 0.10128527134656906, -0.020585210993885994, -0.2543068826198578, -0.1281110793352127, -0.495686411857605, -0.14644773304462433, 0.30492228269577026, 0.44477009773254395, -0.4531577527523041, -0.5866712331771851, 0.26064440608024597, -0.42576807737350464, -0.03383442759513855, 0.10021638125181198, 0.36175599694252014, -0.13488446176052094, 0.34633806347846985, 0.05167446285486221, 0.2822863459587097, -0.1180596724152565, -0.20207518339157104, -0.1771644502878189, 0.1411392241716385, -0.19642393290996552, 0.07668192684650421, 0.22601382434368134, -0.4352952241897583, 0.31519436836242676, 0.10053573548793793, 0.3195825219154358, 0.024610884487628937, -0.03942642733454704, -0.06250287592411041, -0.3420781195163727, 0.29523801803588867, -0.2975321114063263, 0.03572583198547363, 0.1402018517255783, -0.2860606610774994, -0.06302879750728607, 0.18216350674629211, -0.32619377970695496, -0.02672683820128441, -0.18541967868804932, 0.052909623831510544, -0.1444951295852661, 0.05327868461608887, -0.4641789495944977, -0.034403253346681595, -0.09688795357942581, -0.27016761898994446, 0.09257107228040695, -0.18675367534160614, 0.21426188945770264, -0.24912060797214508, 0.1467367559671402, 0.6955875754356384, -0.5375068783760071, -0.07292602956295013, 0.1932041496038437, -0.05842846259474754, 0.035234034061431885, 0.10900452733039856, -0.1654689460992813, 0.13702718913555145, -0.3446011543273926, -0.10282328724861145, 0.15042896568775177, -0.4401116967201233, -0.6035734415054321, 0.10642585903406143, 0.013413652777671814, 0.22816316783428192, 0.12718459963798523, -0.03874368593096733, -0.4771975576877594, -0.023053469136357307, -0.10390527546405792, -0.30530285835266113, -0.012857554480433464, -0.13113047182559967, -0.23246614634990692, -0.15119221806526184, 0.5078813433647156, 0.07603226602077484, 0.2369411736726761, 0.08104918897151947, 0.13708731532096863, 0.1925928145647049, 0.2370634377002716, -0.2821579873561859, -0.22671422362327576, 0.0899062305688858, 0.29176875948905945, -0.03146445006132126, 0.04327007010579109, -0.04735543951392174, -0.652544379234314, 0.3559955060482025, 0.03991517424583435, -0.09408517181873322, 0.14504382014274597, -0.08631426095962524, -0.1655561923980713, -0.25147074460983276, -0.2675711214542389, -0.2202230989933014, -0.019351119175553322, -0.016915977001190186, 0.017483461648225784, 0.06582993268966675, -0.27473998069763184, 0.6899194717407227, -0.3939708173274994, 0.14065279066562653, -0.2124442160129547, 0.5503130555152893, -0.03201579302549362, 0.059807199984788895, -0.012553738430142403, 0.13051466643810272, 0.30562469363212585, -0.09303276985883713, -0.07941249758005142, 0.3704999089241028, 0.006911961827427149, 0.16692501306533813, -0.05065783113241196, 0.25168687105178833, 0.26661309599876404, -0.2968882918357849, 0.2391955852508545, 0.2839130163192749, 0.05913250148296356, 0.05797424167394638, 0.005060840398073196, 0.24801266193389893, 0.10853447020053864, 0.1219538152217865, 0.05764736980199814, -0.17246036231517792, 0.17578260600566864, -0.05663055181503296, 0.12039273232221603, -0.0433434396982193, 0.024791203439235687, 0.09358195960521698, 0.5590724945068359, -0.14896759390830994, -0.2962900996208191, -0.13456660509109497, 0.4552347958087921, 0.14434154331684113, -0.13991641998291016, -0.026227131485939026, -0.11647037416696548, 0.14453095197677612, 0.21291103959083557, 0.10801537334918976, 0.3510432839393616, 0.2801332473754883, -0.5974588990211487, 0.22917574644088745, -0.12576045095920563, -0.0784912258386612, 0.16016629338264465, -0.07382656633853912, 0.07491812855005264, 0.3334081470966339, 0.0019282088615000248, 0.19912923872470856, -0.2173793613910675, -0.39564934372901917, -0.2351122349500656, 0.2192082405090332, -0.4444912075996399, 0.010945873335003853, -0.21578606963157654, -0.1543773114681244, -0.07392406463623047, 0.04753128066658974, -0.06849750876426697, -0.13562317192554474, -0.11906704306602478, 0.1703486293554306, 0.08466315269470215, 0.03125852346420288, -0.6403214931488037, 0.01372922956943512, -0.10076966136693954, -0.1925148218870163, -0.18880145251750946, 0.14538413286209106, -0.17631614208221436, -0.010183773934841156, 0.4653300940990448, -0.13922373950481415, 0.07035437226295471, -0.49369925260543823, 0.02268737554550171, -0.21780750155448914, -0.5930320620536804, -0.06939332187175751, -0.10381197929382324, 0.23391598463058472, 0.126523956656456, 0.11554829031229019, -0.04536612331867218, -0.3656386137008667, 0.16471140086650848, 0.026804188266396523, -0.17205987870693207, 0.1776982545852661, -0.07045034319162369, -0.14960931241512299, 0.09931671619415283, -0.7325296998023987, 0.06186218559741974, -0.21140071749687195, 0.17415395379066467, 0.08074897527694702, 0.02521970123052597, 0.2991049587726593, 0.1805073469877243, 0.307908833026886, 0.08367352187633514, -0.18202131986618042, 0.010981274768710136, -0.2159576416015625, 0.3450257480144501, 0.03751088306307793, -0.1181052178144455, 0.16258791089057922, 0.0450231209397316, 0.15126389265060425, -0.07289328426122665, -0.4477995038032532, 0.016055237501859665, -0.2131376564502716, 0.33122336864471436, -0.12799137830734253, -0.15406621992588043, 0.3858329951763153, 0.03730813413858414, 0.12066580355167389, -0.15293461084365845, -0.027093948796391487, -0.1205233708024025, 0.2460719347000122, 0.19039607048034668, -0.22846141457557678, 0.5267710089683533, -0.21337635815143585, 0.1943134367465973, 0.2366066575050354, -0.14358949661254883, 0.3200841248035431, -0.17547549307346344, 0.5637099742889404, -0.374299019575119, -0.3002450466156006, 0.17194733023643494, 0.25916585326194763, 0.039200492203235626, -0.03866566717624664, -0.16318657994270325, -0.03205063194036484, -0.23924417793750763, -0.12447941303253174, -0.4805607199668884, 0.044979777187108994, -0.13710801303386688, 0.10707380622625351, 0.07221794873476028, 0.00023132190108299255, 0.1654784381389618, 0.1553042232990265, -0.18448886275291443, 0.20680354535579681, 0.3229154348373413, 0.2776373028755188, -0.05239993333816528, -0.7211449146270752, -0.3382638394832611, -0.33248433470726013, 0.4898707866668701, 0.15872885286808014, 0.09349950402975082, 0.16168782114982605, -0.04446743428707123, -0.1535758227109909, -0.20246872305870056, 0.5855938196182251, -0.2085537165403366, -0.15689823031425476, 0.3103548288345337, 0.09779070317745209, -0.144226536154747, -0.21549326181411743, -0.15339675545692444, 0.35497212409973145, 0.06769520789384842, 0.44606512784957886, -0.012783072888851166, -0.17859682440757751, 0.32916632294654846, 0.39623141288757324, -0.10084369033575058, 0.012522722594439983, -0.2164147049188614, 0.15831851959228516, 0.03815337270498276, -0.038844890892505646, -0.1345280110836029, 0.3791518211364746, -0.17897719144821167, -0.18548530340194702, -0.11116273701190948, -0.34299954771995544, 0.29436856508255005, 0.32736676931381226, 0.5280426144599915, 0.032372910529375076, 0.2896404266357422, 0.2594362199306488, 0.025546390563249588, 0.813024640083313, 0.3938734531402588, 0.09700299799442291, -0.16714584827423096, -0.1696544885635376, 0.1400681436061859, 0.2687196433544159, 0.158284530043602, -0.13553428649902344, 0.016789279878139496, -0.1615501344203949, 0.0685495063662529, -0.10237594693899155, 0.12742917239665985, 0.3834613859653473, 0.06662273406982422, -0.4211311936378479, -0.3310449421405792, 0.37849047780036926, -0.04159644991159439, 0.06444208323955536, 0.23167026042938232, 0.3991468548774719, -0.28051865100860596, -0.14158283174037933, -0.06993842869997025, 0.7818910479545593, 0.1888568103313446, -0.021638687700033188, 0.19186854362487793, -0.09989118576049805, 0.30720314383506775, -0.459031879901886, 0.12848913669586182, -0.4941147267818451, -0.17331606149673462, -0.10538969933986664, -0.1505172699689865, 0.2728251814842224, 0.20999574661254883, -0.253799706697464, 0.4802767038345337, -0.2117661088705063, 0.23737984895706177, -0.09534399956464767, 0.05760101228952408, -0.16801901161670685, 0.25554516911506653, -0.43884992599487305, 0.02699108049273491, 0.10594606399536133, 0.11452294886112213, -0.2314448356628418, 0.008271612226963043, -0.04769138619303703, -0.3490656614303589, -0.25006914138793945, 0.38084158301353455, -0.46623557806015015, 0.029804427176713943, 0.3340104818344116, -0.23817680776119232, 0.16812583804130554, 0.40198859572410583, 0.3803263306617737, 0.2154344767332077, -0.3112197518348694, 0.19210611283779144, -0.3263019621372223, -0.08456164598464966, 0.22025974094867706, 0.0536632239818573, 0.061833471059799194, 0.04313310235738754, -0.32807767391204834, 0.25284287333488464, -0.09328986704349518, -0.24625074863433838, -0.17961646616458893, -0.011658705770969391, -0.038385048508644104, -0.19487406313419342, -0.2396782487630844, 0.20479410886764526, 0.044827889651060104, -0.2937813401222229, 0.06940848380327225, -0.25055044889450073, 0.09080768376588821, -0.07375732809305191, 0.09955155104398727, -0.3038039207458496, 0.005049481987953186, 0.364831805229187, -0.20864492654800415, -0.20678751170635223, 0.3426254093647003, -0.03812296688556671, -0.11980237066745758, -0.2006416618824005, 0.13849708437919617, 0.36888518929481506, -0.40817150473594666, -0.03545752540230751, 0.0491519533097744, 0.2197423130273819, 0.16326451301574707, 0.16427694261074066, 0.2157881259918213, -0.1765475571155548, 0.17065204679965973, -0.36845678091049194, -0.3288734257221222, 0.4158748388290405, 0.011359531432390213, 0.19417399168014526, 0.029639892280101776, 0.1662595272064209, 0.001107214018702507, -0.14559175074100494, -0.17908841371536255, 0.10977235436439514, 0.01751823164522648, 0.05696380138397217, -0.05286532640457153, 0.26533856987953186, 0.4178846478462219, -0.007606327999383211, 0.07748520374298096, 0.06420212984085083, 0.0036086412146687508, -0.1160660982131958, -0.14117537438869476, 0.16353467106819153, 0.10173472762107849, 0.01773945614695549, 0.07958688586950302, -0.0039025358855724335, 0.04279405623674393, -0.21024154126644135, 0.3398745357990265, 0.2861105501651764, 0.09775926917791367, 0.40198683738708496, 0.36421114206314087, -0.10018058866262436, -0.1780906617641449, 0.13998109102249146, 0.04036015272140503, 0.17873722314834595, 0.1127701997756958, 0.13480211794376373, -0.021079659461975098, 0.07906801998615265, 0.18076935410499573, 0.213412344455719, -0.3061069846153259, 0.214528888463974, 0.04603289067745209, -0.304535448551178, 0.11340565979480743, 0.18224933743476868, -0.060641203075647354, 0.48235559463500977, -0.1592118740081787, 0.1251029521226883, 0.39255303144454956, 0.1670965999364853, -0.41053295135498047, -0.07996223866939545, 0.32610613107681274, 0.08820538967847824, -0.07786692678928375, 0.017463691532611847, 0.011662308126688004, -0.36288902163505554, 0.37056970596313477, 0.20260107517242432, 0.27336594462394714, -0.10349589586257935, 0.4147837162017822, 0.4607183039188385, 0.08928601443767548, -0.10097014904022217, 0.2551831305027008, -0.17657597362995148, 0.25185883045196533, 0.6028957962989807, -0.15398302674293518, 0.10235487669706345, 0.05931699275970459, 0.2546626627445221, 0.0828360915184021, -0.3712722361087799, -0.5648518800735474, 0.2252015918493271, -0.13383466005325317, 0.01972772926092148, 0.040877941995859146, 0.40940433740615845, 0.17511260509490967, -0.07257742434740067, -0.3387376666069031, -0.2950591444969177, -0.24094492197036743, 0.06125553324818611, -0.048667967319488525, -0.39748427271842957, -0.06548172235488892, 0.026994425803422928, -0.051775526255369186, -0.11366336047649384, 0.27537718415260315, -0.06408514082431793, -0.404360294342041, -0.15767565369606018, 0.18155595660209656, 0.37276142835617065, 0.09641104191541672, -0.1554260104894638, 0.2109927535057068, 0.2434033751487732, 0.03292182460427284, 0.08297418802976608, 0.29364874958992004, 0.4390777051448822, 0.2707827091217041, 0.05060660466551781, -0.01621018722653389, 0.18598292768001556, -0.11949718743562698, 0.15814441442489624, 0.20075982809066772, -0.30768322944641113, 0.09850050508975983, -0.01740395650267601, 0.1406882256269455, -0.06385967135429382, 0.19443678855895996, -0.12976400554180145, 0.22686313092708588, -0.532724916934967, 0.07162871211767197, -0.1680387556552887, -0.10884374380111694, -0.12903046607971191, 0.22895359992980957, -0.333189994096756, -0.2267201542854309, 0.2730574309825897, 0.06936207413673401, 0.009592164307832718, 0.2673299312591553, 0.03266995772719383, -0.15973274409770966, 0.15364694595336914, 0.2203376442193985, 0.15984874963760376, -0.29031941294670105, -0.3306838274002075, -0.4528311789035797, 0.00855991244316101, 0.026859130710363388, 0.3244035243988037, -0.20155858993530273, -0.11409763246774673, -0.2526094615459442, -0.02886722981929779, 0.4957997798919678, 0.04034644365310669, 0.2946101427078247, 0.004561007022857666, -0.42161792516708374, -0.04315909370779991, 0.20885266363620758, -0.05194767564535141, -0.04269643872976303, -0.5033798217773438, -0.1376316398382187, 0.08641179651021957, -0.09984798729419708, -0.15372134745121002, 0.13674162328243256, -0.16653066873550415, 0.023983702063560486, 0.8094243407249451, 0.0855741798877716, 0.6356728076934814, -0.10314077138900757, -0.012256872840225697, -0.4340739846229553, -0.5135287642478943, 0.040885500609874725, 0.09606985002756119, 0.028228413313627243, 0.5386804342269897, -0.40883493423461914, -0.11444643139839172, -0.12336253374814987, 0.2872782349586487, 0.08475111424922943, 0.14293259382247925, -0.35204750299453735, 0.04950695484876633, -0.34726181626319885, 0.04756177216768265, -0.2015838623046875, 0.09372001886367798, 0.06344207376241684, -0.03364303335547447, -0.13188576698303223, -0.2346055507659912, 0.5741701126098633, -0.31822100281715393, 0.017196588218212128, -0.20539633929729462, 0.16087646782398224, 0.19501513242721558, -0.24939987063407898, -0.37660184502601624, 0.1034565344452858, 0.5223572254180908, 0.21953681111335754, -0.2243412286043167, 0.3346847891807556, -0.11965794861316681, -0.06567592173814774, 0.11322501301765442, 0.19633156061172485, 0.07418203353881836, -0.22253546118736267, 0.09397116303443909, -0.31466585397720337 ]
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
Hi folks. Finally, I find it is a network issue that causes huggingface hub unreachable (in China). To run the following script ```python from datasets import load_dataset ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") ``` Without setting `export HF_ENDPOINT=https://hf-mirror.com`, I get the following error log ```bash Traceback (most recent call last): File ".\demo.py", line 8, in <module> ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") File "D:\SoftwareInstall\Python\lib\site-packages\datasets\load.py", line 2594, in load_dataset builder_instance = load_dataset_builder( File "D:\SoftwareInstall\Python\lib\site-packages\datasets\load.py", line 2266, in load_dataset_builder dataset_module = dataset_module_factory( File "D:\SoftwareInstall\Python\lib\site-packages\datasets\load.py", line 1914, in dataset_module_factory raise e1 from None File "D:\SoftwareInstall\Python\lib\site-packages\datasets\load.py", line 1845, in dataset_module_factory raise ConnectionError(f"Couldn't reach '{path}' on the Hub ({e.__class__.__name__})") from e ConnectionError: Couldn't reach 'allenai/c4' on the Hub (ConnectionError) ``` After setting `export HF_ENDPOINT=https://hf-mirror.com`, I get the following error, which is exactly the same as what we are debugging in this issue ```bash Downloading readme: 41.1kB [00:00, 41.1MB/s] Traceback (most recent call last): File ".\demo.py", line 8, in <module> ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") File "D:\SoftwareInstall\Python\lib\site-packages\datasets\load.py", line 2594, in loa builder_instance = load_dataset_builder( File "D:\SoftwareInstall\Python\lib\site-packages\datasets\load.py", line 2266, in load_dataset_builder dataset_module = dataset_module_factory( raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at C:\Users\ZhangGe\Desktop\allenai\c4\c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454eed extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns',pm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ``` **Using a proxy software that avoids the internet access restrictions imposed by China, I can download the dataset using the same script** ```bash Downloading readme: 100%|███████████████████████████████████████████| 41.1k/41.1k [00:00<00:00, 312kB/s] Downloading data: 100%|████████████████████████████████████████████| 40.7M/40.7M [00:19<00:00, 2.07MB/s] Generating validation split: 45576 examples [00:00, 54883.48 examples/s] ``` So `allenai/c4` is still unreachable even after setting `export HF_ENDPOINT=https://hf-mirror.com`.
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2
427
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2 Hi folks. Finally, I find it is a network issue that causes huggingface hub unreachable (in China). To run the following script ```python from datasets import load_dataset ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") ``` Without setting `export HF_ENDPOINT=https://hf-mirror.com`, I get the following error log ```bash Traceback (most recent call last): File ".\demo.py", line 8, in <module> ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") File "D:\SoftwareInstall\Python\lib\site-packages\datasets\load.py", line 2594, in load_dataset builder_instance = load_dataset_builder( File "D:\SoftwareInstall\Python\lib\site-packages\datasets\load.py", line 2266, in load_dataset_builder dataset_module = dataset_module_factory( File "D:\SoftwareInstall\Python\lib\site-packages\datasets\load.py", line 1914, in dataset_module_factory raise e1 from None File "D:\SoftwareInstall\Python\lib\site-packages\datasets\load.py", line 1845, in dataset_module_factory raise ConnectionError(f"Couldn't reach '{path}' on the Hub ({e.__class__.__name__})") from e ConnectionError: Couldn't reach 'allenai/c4' on the Hub (ConnectionError) ``` After setting `export HF_ENDPOINT=https://hf-mirror.com`, I get the following error, which is exactly the same as what we are debugging in this issue ```bash Downloading readme: 41.1kB [00:00, 41.1MB/s] Traceback (most recent call last): File ".\demo.py", line 8, in <module> ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") File "D:\SoftwareInstall\Python\lib\site-packages\datasets\load.py", line 2594, in loa builder_instance = load_dataset_builder( File "D:\SoftwareInstall\Python\lib\site-packages\datasets\load.py", line 2266, in load_dataset_builder dataset_module = dataset_module_factory( raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at C:\Users\ZhangGe\Desktop\allenai\c4\c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454eed extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns',pm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ``` **Using a proxy software that avoids the internet access restrictions imposed by China, I can download the dataset using the same script** ```bash Downloading readme: 100%|███████████████████████████████████████████| 41.1k/41.1k [00:00<00:00, 312kB/s] Downloading data: 100%|████████████████████████████████████████████| 40.7M/40.7M [00:19<00:00, 2.07MB/s] Generating validation split: 45576 examples [00:00, 54883.48 examples/s] ``` So `allenai/c4` is still unreachable even after setting `export HF_ENDPOINT=https://hf-mirror.com`.
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.1673109382390976, 0.09469642490148544, -0.12878842651844025, 0.07063333690166473, 0.32241034507751465, 0.02620493248105049, 0.19688363373279572, -0.20495252311229706, 0.2669195234775543, -0.4299952983856201, -0.05025388300418854, -0.5118574500083923, 0.1403893232345581, -0.07259971648454666, 0.3794679641723633, 0.02385059744119644, -0.6958081722259521, 0.44850096106529236, -0.20207393169403076, 0.2992042601108551, 0.49243301153182983, -0.00012066363706253469, 0.01928948611021042, 0.3469124436378479, -0.08317720890045166, -0.11738654971122742, -0.05980360507965088, -0.14499206840991974, -0.19902335107326508, 0.022213812917470932, -0.2882561981678009, -0.014482324942946434, -0.32274869084358215, 0.015865202993154526, -0.01316012442111969, 0.28171390295028687, 0.5431941747665405, 0.1330081820487976, 0.1479310244321823, 0.39817681908607483, -0.1542314738035202, 0.07552634924650192, -0.27447015047073364, -0.01908506453037262, 0.23912999033927917, -0.08974960446357727, -0.07092311978340149, 0.2659449577331543, 0.13223052024841309, -0.2828100025653839, -0.17826257646083832, 0.2492561936378479, -0.017540816217660904, -0.11171411722898483, -0.3811374008655548, 0.31400471925735474, 0.13975772261619568, 0.42582520842552185, -0.38074347376823425, -0.38033801317214966, -0.1683962643146515, 0.20151138305664062, -0.022123482078313828, 0.4386742413043976, 0.006013292353600264, 0.25066131353378296, 0.16168321669101715, -0.04256672412157059, -0.09226145595312119, -0.17877313494682312, 0.19423139095306396, -0.10208393633365631, -0.024914659559726715, -0.09587426483631134, 0.04586704075336456, 0.2314188927412033, -0.10027109086513519, 0.04329567775130272, -0.04045218974351883, -0.31813836097717285, 0.22126537561416626, -0.3310926556587219, -0.04149278253316879, 0.021100010722875595, 0.37260234355926514, 0.04357099533081055, -0.03800217807292938, -0.15389499068260193, -0.15865910053253174, -0.21904052793979645, 0.04323819652199745, -0.2167455106973648, 0.0561506487429142, 0.10338110476732254, 0.23301638662815094, 0.18303918838500977, 0.10128527134656906, -0.020585210993885994, -0.2543068826198578, -0.1281110793352127, -0.495686411857605, -0.14644773304462433, 0.30492228269577026, 0.44477009773254395, -0.4531577527523041, -0.5866712331771851, 0.26064440608024597, -0.42576807737350464, -0.03383442759513855, 0.10021638125181198, 0.36175599694252014, -0.13488446176052094, 0.34633806347846985, 0.05167446285486221, 0.2822863459587097, -0.1180596724152565, -0.20207518339157104, -0.1771644502878189, 0.1411392241716385, -0.19642393290996552, 0.07668192684650421, 0.22601382434368134, -0.4352952241897583, 0.31519436836242676, 0.10053573548793793, 0.3195825219154358, 0.024610884487628937, -0.03942642733454704, -0.06250287592411041, -0.3420781195163727, 0.29523801803588867, -0.2975321114063263, 0.03572583198547363, 0.1402018517255783, -0.2860606610774994, -0.06302879750728607, 0.18216350674629211, -0.32619377970695496, -0.02672683820128441, -0.18541967868804932, 0.052909623831510544, -0.1444951295852661, 0.05327868461608887, -0.4641789495944977, -0.034403253346681595, -0.09688795357942581, -0.27016761898994446, 0.09257107228040695, -0.18675367534160614, 0.21426188945770264, -0.24912060797214508, 0.1467367559671402, 0.6955875754356384, -0.5375068783760071, -0.07292602956295013, 0.1932041496038437, -0.05842846259474754, 0.035234034061431885, 0.10900452733039856, -0.1654689460992813, 0.13702718913555145, -0.3446011543273926, -0.10282328724861145, 0.15042896568775177, -0.4401116967201233, -0.6035734415054321, 0.10642585903406143, 0.013413652777671814, 0.22816316783428192, 0.12718459963798523, -0.03874368593096733, -0.4771975576877594, -0.023053469136357307, -0.10390527546405792, -0.30530285835266113, -0.012857554480433464, -0.13113047182559967, -0.23246614634990692, -0.15119221806526184, 0.5078813433647156, 0.07603226602077484, 0.2369411736726761, 0.08104918897151947, 0.13708731532096863, 0.1925928145647049, 0.2370634377002716, -0.2821579873561859, -0.22671422362327576, 0.0899062305688858, 0.29176875948905945, -0.03146445006132126, 0.04327007010579109, -0.04735543951392174, -0.652544379234314, 0.3559955060482025, 0.03991517424583435, -0.09408517181873322, 0.14504382014274597, -0.08631426095962524, -0.1655561923980713, -0.25147074460983276, -0.2675711214542389, -0.2202230989933014, -0.019351119175553322, -0.016915977001190186, 0.017483461648225784, 0.06582993268966675, -0.27473998069763184, 0.6899194717407227, -0.3939708173274994, 0.14065279066562653, -0.2124442160129547, 0.5503130555152893, -0.03201579302549362, 0.059807199984788895, -0.012553738430142403, 0.13051466643810272, 0.30562469363212585, -0.09303276985883713, -0.07941249758005142, 0.3704999089241028, 0.006911961827427149, 0.16692501306533813, -0.05065783113241196, 0.25168687105178833, 0.26661309599876404, -0.2968882918357849, 0.2391955852508545, 0.2839130163192749, 0.05913250148296356, 0.05797424167394638, 0.005060840398073196, 0.24801266193389893, 0.10853447020053864, 0.1219538152217865, 0.05764736980199814, -0.17246036231517792, 0.17578260600566864, -0.05663055181503296, 0.12039273232221603, -0.0433434396982193, 0.024791203439235687, 0.09358195960521698, 0.5590724945068359, -0.14896759390830994, -0.2962900996208191, -0.13456660509109497, 0.4552347958087921, 0.14434154331684113, -0.13991641998291016, -0.026227131485939026, -0.11647037416696548, 0.14453095197677612, 0.21291103959083557, 0.10801537334918976, 0.3510432839393616, 0.2801332473754883, -0.5974588990211487, 0.22917574644088745, -0.12576045095920563, -0.0784912258386612, 0.16016629338264465, -0.07382656633853912, 0.07491812855005264, 0.3334081470966339, 0.0019282088615000248, 0.19912923872470856, -0.2173793613910675, -0.39564934372901917, -0.2351122349500656, 0.2192082405090332, -0.4444912075996399, 0.010945873335003853, -0.21578606963157654, -0.1543773114681244, -0.07392406463623047, 0.04753128066658974, -0.06849750876426697, -0.13562317192554474, -0.11906704306602478, 0.1703486293554306, 0.08466315269470215, 0.03125852346420288, -0.6403214931488037, 0.01372922956943512, -0.10076966136693954, -0.1925148218870163, -0.18880145251750946, 0.14538413286209106, -0.17631614208221436, -0.010183773934841156, 0.4653300940990448, -0.13922373950481415, 0.07035437226295471, -0.49369925260543823, 0.02268737554550171, -0.21780750155448914, -0.5930320620536804, -0.06939332187175751, -0.10381197929382324, 0.23391598463058472, 0.126523956656456, 0.11554829031229019, -0.04536612331867218, -0.3656386137008667, 0.16471140086650848, 0.026804188266396523, -0.17205987870693207, 0.1776982545852661, -0.07045034319162369, -0.14960931241512299, 0.09931671619415283, -0.7325296998023987, 0.06186218559741974, -0.21140071749687195, 0.17415395379066467, 0.08074897527694702, 0.02521970123052597, 0.2991049587726593, 0.1805073469877243, 0.307908833026886, 0.08367352187633514, -0.18202131986618042, 0.010981274768710136, -0.2159576416015625, 0.3450257480144501, 0.03751088306307793, -0.1181052178144455, 0.16258791089057922, 0.0450231209397316, 0.15126389265060425, -0.07289328426122665, -0.4477995038032532, 0.016055237501859665, -0.2131376564502716, 0.33122336864471436, -0.12799137830734253, -0.15406621992588043, 0.3858329951763153, 0.03730813413858414, 0.12066580355167389, -0.15293461084365845, -0.027093948796391487, -0.1205233708024025, 0.2460719347000122, 0.19039607048034668, -0.22846141457557678, 0.5267710089683533, -0.21337635815143585, 0.1943134367465973, 0.2366066575050354, -0.14358949661254883, 0.3200841248035431, -0.17547549307346344, 0.5637099742889404, -0.374299019575119, -0.3002450466156006, 0.17194733023643494, 0.25916585326194763, 0.039200492203235626, -0.03866566717624664, -0.16318657994270325, -0.03205063194036484, -0.23924417793750763, -0.12447941303253174, -0.4805607199668884, 0.044979777187108994, -0.13710801303386688, 0.10707380622625351, 0.07221794873476028, 0.00023132190108299255, 0.1654784381389618, 0.1553042232990265, -0.18448886275291443, 0.20680354535579681, 0.3229154348373413, 0.2776373028755188, -0.05239993333816528, -0.7211449146270752, -0.3382638394832611, -0.33248433470726013, 0.4898707866668701, 0.15872885286808014, 0.09349950402975082, 0.16168782114982605, -0.04446743428707123, -0.1535758227109909, -0.20246872305870056, 0.5855938196182251, -0.2085537165403366, -0.15689823031425476, 0.3103548288345337, 0.09779070317745209, -0.144226536154747, -0.21549326181411743, -0.15339675545692444, 0.35497212409973145, 0.06769520789384842, 0.44606512784957886, -0.012783072888851166, -0.17859682440757751, 0.32916632294654846, 0.39623141288757324, -0.10084369033575058, 0.012522722594439983, -0.2164147049188614, 0.15831851959228516, 0.03815337270498276, -0.038844890892505646, -0.1345280110836029, 0.3791518211364746, -0.17897719144821167, -0.18548530340194702, -0.11116273701190948, -0.34299954771995544, 0.29436856508255005, 0.32736676931381226, 0.5280426144599915, 0.032372910529375076, 0.2896404266357422, 0.2594362199306488, 0.025546390563249588, 0.813024640083313, 0.3938734531402588, 0.09700299799442291, -0.16714584827423096, -0.1696544885635376, 0.1400681436061859, 0.2687196433544159, 0.158284530043602, -0.13553428649902344, 0.016789279878139496, -0.1615501344203949, 0.0685495063662529, -0.10237594693899155, 0.12742917239665985, 0.3834613859653473, 0.06662273406982422, -0.4211311936378479, -0.3310449421405792, 0.37849047780036926, -0.04159644991159439, 0.06444208323955536, 0.23167026042938232, 0.3991468548774719, -0.28051865100860596, -0.14158283174037933, -0.06993842869997025, 0.7818910479545593, 0.1888568103313446, -0.021638687700033188, 0.19186854362487793, -0.09989118576049805, 0.30720314383506775, -0.459031879901886, 0.12848913669586182, -0.4941147267818451, -0.17331606149673462, -0.10538969933986664, -0.1505172699689865, 0.2728251814842224, 0.20999574661254883, -0.253799706697464, 0.4802767038345337, -0.2117661088705063, 0.23737984895706177, -0.09534399956464767, 0.05760101228952408, -0.16801901161670685, 0.25554516911506653, -0.43884992599487305, 0.02699108049273491, 0.10594606399536133, 0.11452294886112213, -0.2314448356628418, 0.008271612226963043, -0.04769138619303703, -0.3490656614303589, -0.25006914138793945, 0.38084158301353455, -0.46623557806015015, 0.029804427176713943, 0.3340104818344116, -0.23817680776119232, 0.16812583804130554, 0.40198859572410583, 0.3803263306617737, 0.2154344767332077, -0.3112197518348694, 0.19210611283779144, -0.3263019621372223, -0.08456164598464966, 0.22025974094867706, 0.0536632239818573, 0.061833471059799194, 0.04313310235738754, -0.32807767391204834, 0.25284287333488464, -0.09328986704349518, -0.24625074863433838, -0.17961646616458893, -0.011658705770969391, -0.038385048508644104, -0.19487406313419342, -0.2396782487630844, 0.20479410886764526, 0.044827889651060104, -0.2937813401222229, 0.06940848380327225, -0.25055044889450073, 0.09080768376588821, -0.07375732809305191, 0.09955155104398727, -0.3038039207458496, 0.005049481987953186, 0.364831805229187, -0.20864492654800415, -0.20678751170635223, 0.3426254093647003, -0.03812296688556671, -0.11980237066745758, -0.2006416618824005, 0.13849708437919617, 0.36888518929481506, -0.40817150473594666, -0.03545752540230751, 0.0491519533097744, 0.2197423130273819, 0.16326451301574707, 0.16427694261074066, 0.2157881259918213, -0.1765475571155548, 0.17065204679965973, -0.36845678091049194, -0.3288734257221222, 0.4158748388290405, 0.011359531432390213, 0.19417399168014526, 0.029639892280101776, 0.1662595272064209, 0.001107214018702507, -0.14559175074100494, -0.17908841371536255, 0.10977235436439514, 0.01751823164522648, 0.05696380138397217, -0.05286532640457153, 0.26533856987953186, 0.4178846478462219, -0.007606327999383211, 0.07748520374298096, 0.06420212984085083, 0.0036086412146687508, -0.1160660982131958, -0.14117537438869476, 0.16353467106819153, 0.10173472762107849, 0.01773945614695549, 0.07958688586950302, -0.0039025358855724335, 0.04279405623674393, -0.21024154126644135, 0.3398745357990265, 0.2861105501651764, 0.09775926917791367, 0.40198683738708496, 0.36421114206314087, -0.10018058866262436, -0.1780906617641449, 0.13998109102249146, 0.04036015272140503, 0.17873722314834595, 0.1127701997756958, 0.13480211794376373, -0.021079659461975098, 0.07906801998615265, 0.18076935410499573, 0.213412344455719, -0.3061069846153259, 0.214528888463974, 0.04603289067745209, -0.304535448551178, 0.11340565979480743, 0.18224933743476868, -0.060641203075647354, 0.48235559463500977, -0.1592118740081787, 0.1251029521226883, 0.39255303144454956, 0.1670965999364853, -0.41053295135498047, -0.07996223866939545, 0.32610613107681274, 0.08820538967847824, -0.07786692678928375, 0.017463691532611847, 0.011662308126688004, -0.36288902163505554, 0.37056970596313477, 0.20260107517242432, 0.27336594462394714, -0.10349589586257935, 0.4147837162017822, 0.4607183039188385, 0.08928601443767548, -0.10097014904022217, 0.2551831305027008, -0.17657597362995148, 0.25185883045196533, 0.6028957962989807, -0.15398302674293518, 0.10235487669706345, 0.05931699275970459, 0.2546626627445221, 0.0828360915184021, -0.3712722361087799, -0.5648518800735474, 0.2252015918493271, -0.13383466005325317, 0.01972772926092148, 0.040877941995859146, 0.40940433740615845, 0.17511260509490967, -0.07257742434740067, -0.3387376666069031, -0.2950591444969177, -0.24094492197036743, 0.06125553324818611, -0.048667967319488525, -0.39748427271842957, -0.06548172235488892, 0.026994425803422928, -0.051775526255369186, -0.11366336047649384, 0.27537718415260315, -0.06408514082431793, -0.404360294342041, -0.15767565369606018, 0.18155595660209656, 0.37276142835617065, 0.09641104191541672, -0.1554260104894638, 0.2109927535057068, 0.2434033751487732, 0.03292182460427284, 0.08297418802976608, 0.29364874958992004, 0.4390777051448822, 0.2707827091217041, 0.05060660466551781, -0.01621018722653389, 0.18598292768001556, -0.11949718743562698, 0.15814441442489624, 0.20075982809066772, -0.30768322944641113, 0.09850050508975983, -0.01740395650267601, 0.1406882256269455, -0.06385967135429382, 0.19443678855895996, -0.12976400554180145, 0.22686313092708588, -0.532724916934967, 0.07162871211767197, -0.1680387556552887, -0.10884374380111694, -0.12903046607971191, 0.22895359992980957, -0.333189994096756, -0.2267201542854309, 0.2730574309825897, 0.06936207413673401, 0.009592164307832718, 0.2673299312591553, 0.03266995772719383, -0.15973274409770966, 0.15364694595336914, 0.2203376442193985, 0.15984874963760376, -0.29031941294670105, -0.3306838274002075, -0.4528311789035797, 0.00855991244316101, 0.026859130710363388, 0.3244035243988037, -0.20155858993530273, -0.11409763246774673, -0.2526094615459442, -0.02886722981929779, 0.4957997798919678, 0.04034644365310669, 0.2946101427078247, 0.004561007022857666, -0.42161792516708374, -0.04315909370779991, 0.20885266363620758, -0.05194767564535141, -0.04269643872976303, -0.5033798217773438, -0.1376316398382187, 0.08641179651021957, -0.09984798729419708, -0.15372134745121002, 0.13674162328243256, -0.16653066873550415, 0.023983702063560486, 0.8094243407249451, 0.0855741798877716, 0.6356728076934814, -0.10314077138900757, -0.012256872840225697, -0.4340739846229553, -0.5135287642478943, 0.040885500609874725, 0.09606985002756119, 0.028228413313627243, 0.5386804342269897, -0.40883493423461914, -0.11444643139839172, -0.12336253374814987, 0.2872782349586487, 0.08475111424922943, 0.14293259382247925, -0.35204750299453735, 0.04950695484876633, -0.34726181626319885, 0.04756177216768265, -0.2015838623046875, 0.09372001886367798, 0.06344207376241684, -0.03364303335547447, -0.13188576698303223, -0.2346055507659912, 0.5741701126098633, -0.31822100281715393, 0.017196588218212128, -0.20539633929729462, 0.16087646782398224, 0.19501513242721558, -0.24939987063407898, -0.37660184502601624, 0.1034565344452858, 0.5223572254180908, 0.21953681111335754, -0.2243412286043167, 0.3346847891807556, -0.11965794861316681, -0.06567592173814774, 0.11322501301765442, 0.19633156061172485, 0.07418203353881836, -0.22253546118736267, 0.09397116303443909, -0.31466585397720337 ]
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
Thanks for the investigation: so finally it is an issue with the specific endpoint you are using. You properly opened an issue in their repo, so they can fix it. I am closing this issue here.
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2
36
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation') 3. raise FileNotFoundError( FileNotFoundError: Couldn't find a dataset script at local_path/c4_val/allenai/c4/c4.py or any data file in the same directory. Couldn't find 'allenai/c4' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/allenai/c4@1588ec454efa1a09f29cd18ddd04fe05fc8653a2/en/c4-validation.00003-of-00008.json.gz' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.tar', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.h5', '.hdf', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.H5', '.HDF', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.zip'] ### Expected behavior The data was successfully imported ### Environment info python version 3.9 datasets version 2.19.2 Thanks for the investigation: so finally it is an issue with the specific endpoint you are using. You properly opened an issue in their repo, so they can fix it. I am closing this issue here.
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.1673109382390976, 0.09469642490148544, -0.12878842651844025, 0.07063333690166473, 0.32241034507751465, 0.02620493248105049, 0.19688363373279572, -0.20495252311229706, 0.2669195234775543, -0.4299952983856201, -0.05025388300418854, -0.5118574500083923, 0.1403893232345581, -0.07259971648454666, 0.3794679641723633, 0.02385059744119644, -0.6958081722259521, 0.44850096106529236, -0.20207393169403076, 0.2992042601108551, 0.49243301153182983, -0.00012066363706253469, 0.01928948611021042, 0.3469124436378479, -0.08317720890045166, -0.11738654971122742, -0.05980360507965088, -0.14499206840991974, -0.19902335107326508, 0.022213812917470932, -0.2882561981678009, -0.014482324942946434, -0.32274869084358215, 0.015865202993154526, -0.01316012442111969, 0.28171390295028687, 0.5431941747665405, 0.1330081820487976, 0.1479310244321823, 0.39817681908607483, -0.1542314738035202, 0.07552634924650192, -0.27447015047073364, -0.01908506453037262, 0.23912999033927917, -0.08974960446357727, -0.07092311978340149, 0.2659449577331543, 0.13223052024841309, -0.2828100025653839, -0.17826257646083832, 0.2492561936378479, -0.017540816217660904, -0.11171411722898483, -0.3811374008655548, 0.31400471925735474, 0.13975772261619568, 0.42582520842552185, -0.38074347376823425, -0.38033801317214966, -0.1683962643146515, 0.20151138305664062, -0.022123482078313828, 0.4386742413043976, 0.006013292353600264, 0.25066131353378296, 0.16168321669101715, -0.04256672412157059, -0.09226145595312119, -0.17877313494682312, 0.19423139095306396, -0.10208393633365631, -0.024914659559726715, -0.09587426483631134, 0.04586704075336456, 0.2314188927412033, -0.10027109086513519, 0.04329567775130272, -0.04045218974351883, -0.31813836097717285, 0.22126537561416626, -0.3310926556587219, -0.04149278253316879, 0.021100010722875595, 0.37260234355926514, 0.04357099533081055, -0.03800217807292938, -0.15389499068260193, -0.15865910053253174, -0.21904052793979645, 0.04323819652199745, -0.2167455106973648, 0.0561506487429142, 0.10338110476732254, 0.23301638662815094, 0.18303918838500977, 0.10128527134656906, -0.020585210993885994, -0.2543068826198578, -0.1281110793352127, -0.495686411857605, -0.14644773304462433, 0.30492228269577026, 0.44477009773254395, -0.4531577527523041, -0.5866712331771851, 0.26064440608024597, -0.42576807737350464, -0.03383442759513855, 0.10021638125181198, 0.36175599694252014, -0.13488446176052094, 0.34633806347846985, 0.05167446285486221, 0.2822863459587097, -0.1180596724152565, -0.20207518339157104, -0.1771644502878189, 0.1411392241716385, -0.19642393290996552, 0.07668192684650421, 0.22601382434368134, -0.4352952241897583, 0.31519436836242676, 0.10053573548793793, 0.3195825219154358, 0.024610884487628937, -0.03942642733454704, -0.06250287592411041, -0.3420781195163727, 0.29523801803588867, -0.2975321114063263, 0.03572583198547363, 0.1402018517255783, -0.2860606610774994, -0.06302879750728607, 0.18216350674629211, -0.32619377970695496, -0.02672683820128441, -0.18541967868804932, 0.052909623831510544, -0.1444951295852661, 0.05327868461608887, -0.4641789495944977, -0.034403253346681595, -0.09688795357942581, -0.27016761898994446, 0.09257107228040695, -0.18675367534160614, 0.21426188945770264, -0.24912060797214508, 0.1467367559671402, 0.6955875754356384, -0.5375068783760071, -0.07292602956295013, 0.1932041496038437, -0.05842846259474754, 0.035234034061431885, 0.10900452733039856, -0.1654689460992813, 0.13702718913555145, -0.3446011543273926, -0.10282328724861145, 0.15042896568775177, -0.4401116967201233, -0.6035734415054321, 0.10642585903406143, 0.013413652777671814, 0.22816316783428192, 0.12718459963798523, -0.03874368593096733, -0.4771975576877594, -0.023053469136357307, -0.10390527546405792, -0.30530285835266113, -0.012857554480433464, -0.13113047182559967, -0.23246614634990692, -0.15119221806526184, 0.5078813433647156, 0.07603226602077484, 0.2369411736726761, 0.08104918897151947, 0.13708731532096863, 0.1925928145647049, 0.2370634377002716, -0.2821579873561859, -0.22671422362327576, 0.0899062305688858, 0.29176875948905945, -0.03146445006132126, 0.04327007010579109, -0.04735543951392174, -0.652544379234314, 0.3559955060482025, 0.03991517424583435, -0.09408517181873322, 0.14504382014274597, -0.08631426095962524, -0.1655561923980713, -0.25147074460983276, -0.2675711214542389, -0.2202230989933014, -0.019351119175553322, -0.016915977001190186, 0.017483461648225784, 0.06582993268966675, -0.27473998069763184, 0.6899194717407227, -0.3939708173274994, 0.14065279066562653, -0.2124442160129547, 0.5503130555152893, -0.03201579302549362, 0.059807199984788895, -0.012553738430142403, 0.13051466643810272, 0.30562469363212585, -0.09303276985883713, -0.07941249758005142, 0.3704999089241028, 0.006911961827427149, 0.16692501306533813, -0.05065783113241196, 0.25168687105178833, 0.26661309599876404, -0.2968882918357849, 0.2391955852508545, 0.2839130163192749, 0.05913250148296356, 0.05797424167394638, 0.005060840398073196, 0.24801266193389893, 0.10853447020053864, 0.1219538152217865, 0.05764736980199814, -0.17246036231517792, 0.17578260600566864, -0.05663055181503296, 0.12039273232221603, -0.0433434396982193, 0.024791203439235687, 0.09358195960521698, 0.5590724945068359, -0.14896759390830994, -0.2962900996208191, -0.13456660509109497, 0.4552347958087921, 0.14434154331684113, -0.13991641998291016, -0.026227131485939026, -0.11647037416696548, 0.14453095197677612, 0.21291103959083557, 0.10801537334918976, 0.3510432839393616, 0.2801332473754883, -0.5974588990211487, 0.22917574644088745, -0.12576045095920563, -0.0784912258386612, 0.16016629338264465, -0.07382656633853912, 0.07491812855005264, 0.3334081470966339, 0.0019282088615000248, 0.19912923872470856, -0.2173793613910675, -0.39564934372901917, -0.2351122349500656, 0.2192082405090332, -0.4444912075996399, 0.010945873335003853, -0.21578606963157654, -0.1543773114681244, -0.07392406463623047, 0.04753128066658974, -0.06849750876426697, -0.13562317192554474, -0.11906704306602478, 0.1703486293554306, 0.08466315269470215, 0.03125852346420288, -0.6403214931488037, 0.01372922956943512, -0.10076966136693954, -0.1925148218870163, -0.18880145251750946, 0.14538413286209106, -0.17631614208221436, -0.010183773934841156, 0.4653300940990448, -0.13922373950481415, 0.07035437226295471, -0.49369925260543823, 0.02268737554550171, -0.21780750155448914, -0.5930320620536804, -0.06939332187175751, -0.10381197929382324, 0.23391598463058472, 0.126523956656456, 0.11554829031229019, -0.04536612331867218, -0.3656386137008667, 0.16471140086650848, 0.026804188266396523, -0.17205987870693207, 0.1776982545852661, -0.07045034319162369, -0.14960931241512299, 0.09931671619415283, -0.7325296998023987, 0.06186218559741974, -0.21140071749687195, 0.17415395379066467, 0.08074897527694702, 0.02521970123052597, 0.2991049587726593, 0.1805073469877243, 0.307908833026886, 0.08367352187633514, -0.18202131986618042, 0.010981274768710136, -0.2159576416015625, 0.3450257480144501, 0.03751088306307793, -0.1181052178144455, 0.16258791089057922, 0.0450231209397316, 0.15126389265060425, -0.07289328426122665, -0.4477995038032532, 0.016055237501859665, -0.2131376564502716, 0.33122336864471436, -0.12799137830734253, -0.15406621992588043, 0.3858329951763153, 0.03730813413858414, 0.12066580355167389, -0.15293461084365845, -0.027093948796391487, -0.1205233708024025, 0.2460719347000122, 0.19039607048034668, -0.22846141457557678, 0.5267710089683533, -0.21337635815143585, 0.1943134367465973, 0.2366066575050354, -0.14358949661254883, 0.3200841248035431, -0.17547549307346344, 0.5637099742889404, -0.374299019575119, -0.3002450466156006, 0.17194733023643494, 0.25916585326194763, 0.039200492203235626, -0.03866566717624664, -0.16318657994270325, -0.03205063194036484, -0.23924417793750763, -0.12447941303253174, -0.4805607199668884, 0.044979777187108994, -0.13710801303386688, 0.10707380622625351, 0.07221794873476028, 0.00023132190108299255, 0.1654784381389618, 0.1553042232990265, -0.18448886275291443, 0.20680354535579681, 0.3229154348373413, 0.2776373028755188, -0.05239993333816528, -0.7211449146270752, -0.3382638394832611, -0.33248433470726013, 0.4898707866668701, 0.15872885286808014, 0.09349950402975082, 0.16168782114982605, -0.04446743428707123, -0.1535758227109909, -0.20246872305870056, 0.5855938196182251, -0.2085537165403366, -0.15689823031425476, 0.3103548288345337, 0.09779070317745209, -0.144226536154747, -0.21549326181411743, -0.15339675545692444, 0.35497212409973145, 0.06769520789384842, 0.44606512784957886, -0.012783072888851166, -0.17859682440757751, 0.32916632294654846, 0.39623141288757324, -0.10084369033575058, 0.012522722594439983, -0.2164147049188614, 0.15831851959228516, 0.03815337270498276, -0.038844890892505646, -0.1345280110836029, 0.3791518211364746, -0.17897719144821167, -0.18548530340194702, -0.11116273701190948, -0.34299954771995544, 0.29436856508255005, 0.32736676931381226, 0.5280426144599915, 0.032372910529375076, 0.2896404266357422, 0.2594362199306488, 0.025546390563249588, 0.813024640083313, 0.3938734531402588, 0.09700299799442291, -0.16714584827423096, -0.1696544885635376, 0.1400681436061859, 0.2687196433544159, 0.158284530043602, -0.13553428649902344, 0.016789279878139496, -0.1615501344203949, 0.0685495063662529, -0.10237594693899155, 0.12742917239665985, 0.3834613859653473, 0.06662273406982422, -0.4211311936378479, -0.3310449421405792, 0.37849047780036926, -0.04159644991159439, 0.06444208323955536, 0.23167026042938232, 0.3991468548774719, -0.28051865100860596, -0.14158283174037933, -0.06993842869997025, 0.7818910479545593, 0.1888568103313446, -0.021638687700033188, 0.19186854362487793, -0.09989118576049805, 0.30720314383506775, -0.459031879901886, 0.12848913669586182, -0.4941147267818451, -0.17331606149673462, -0.10538969933986664, -0.1505172699689865, 0.2728251814842224, 0.20999574661254883, -0.253799706697464, 0.4802767038345337, -0.2117661088705063, 0.23737984895706177, -0.09534399956464767, 0.05760101228952408, -0.16801901161670685, 0.25554516911506653, -0.43884992599487305, 0.02699108049273491, 0.10594606399536133, 0.11452294886112213, -0.2314448356628418, 0.008271612226963043, -0.04769138619303703, -0.3490656614303589, -0.25006914138793945, 0.38084158301353455, -0.46623557806015015, 0.029804427176713943, 0.3340104818344116, -0.23817680776119232, 0.16812583804130554, 0.40198859572410583, 0.3803263306617737, 0.2154344767332077, -0.3112197518348694, 0.19210611283779144, -0.3263019621372223, -0.08456164598464966, 0.22025974094867706, 0.0536632239818573, 0.061833471059799194, 0.04313310235738754, -0.32807767391204834, 0.25284287333488464, -0.09328986704349518, -0.24625074863433838, -0.17961646616458893, -0.011658705770969391, -0.038385048508644104, -0.19487406313419342, -0.2396782487630844, 0.20479410886764526, 0.044827889651060104, -0.2937813401222229, 0.06940848380327225, -0.25055044889450073, 0.09080768376588821, -0.07375732809305191, 0.09955155104398727, -0.3038039207458496, 0.005049481987953186, 0.364831805229187, -0.20864492654800415, -0.20678751170635223, 0.3426254093647003, -0.03812296688556671, -0.11980237066745758, -0.2006416618824005, 0.13849708437919617, 0.36888518929481506, -0.40817150473594666, -0.03545752540230751, 0.0491519533097744, 0.2197423130273819, 0.16326451301574707, 0.16427694261074066, 0.2157881259918213, -0.1765475571155548, 0.17065204679965973, -0.36845678091049194, -0.3288734257221222, 0.4158748388290405, 0.011359531432390213, 0.19417399168014526, 0.029639892280101776, 0.1662595272064209, 0.001107214018702507, -0.14559175074100494, -0.17908841371536255, 0.10977235436439514, 0.01751823164522648, 0.05696380138397217, -0.05286532640457153, 0.26533856987953186, 0.4178846478462219, -0.007606327999383211, 0.07748520374298096, 0.06420212984085083, 0.0036086412146687508, -0.1160660982131958, -0.14117537438869476, 0.16353467106819153, 0.10173472762107849, 0.01773945614695549, 0.07958688586950302, -0.0039025358855724335, 0.04279405623674393, -0.21024154126644135, 0.3398745357990265, 0.2861105501651764, 0.09775926917791367, 0.40198683738708496, 0.36421114206314087, -0.10018058866262436, -0.1780906617641449, 0.13998109102249146, 0.04036015272140503, 0.17873722314834595, 0.1127701997756958, 0.13480211794376373, -0.021079659461975098, 0.07906801998615265, 0.18076935410499573, 0.213412344455719, -0.3061069846153259, 0.214528888463974, 0.04603289067745209, -0.304535448551178, 0.11340565979480743, 0.18224933743476868, -0.060641203075647354, 0.48235559463500977, -0.1592118740081787, 0.1251029521226883, 0.39255303144454956, 0.1670965999364853, -0.41053295135498047, -0.07996223866939545, 0.32610613107681274, 0.08820538967847824, -0.07786692678928375, 0.017463691532611847, 0.011662308126688004, -0.36288902163505554, 0.37056970596313477, 0.20260107517242432, 0.27336594462394714, -0.10349589586257935, 0.4147837162017822, 0.4607183039188385, 0.08928601443767548, -0.10097014904022217, 0.2551831305027008, -0.17657597362995148, 0.25185883045196533, 0.6028957962989807, -0.15398302674293518, 0.10235487669706345, 0.05931699275970459, 0.2546626627445221, 0.0828360915184021, -0.3712722361087799, -0.5648518800735474, 0.2252015918493271, -0.13383466005325317, 0.01972772926092148, 0.040877941995859146, 0.40940433740615845, 0.17511260509490967, -0.07257742434740067, -0.3387376666069031, -0.2950591444969177, -0.24094492197036743, 0.06125553324818611, -0.048667967319488525, -0.39748427271842957, -0.06548172235488892, 0.026994425803422928, -0.051775526255369186, -0.11366336047649384, 0.27537718415260315, -0.06408514082431793, -0.404360294342041, -0.15767565369606018, 0.18155595660209656, 0.37276142835617065, 0.09641104191541672, -0.1554260104894638, 0.2109927535057068, 0.2434033751487732, 0.03292182460427284, 0.08297418802976608, 0.29364874958992004, 0.4390777051448822, 0.2707827091217041, 0.05060660466551781, -0.01621018722653389, 0.18598292768001556, -0.11949718743562698, 0.15814441442489624, 0.20075982809066772, -0.30768322944641113, 0.09850050508975983, -0.01740395650267601, 0.1406882256269455, -0.06385967135429382, 0.19443678855895996, -0.12976400554180145, 0.22686313092708588, -0.532724916934967, 0.07162871211767197, -0.1680387556552887, -0.10884374380111694, -0.12903046607971191, 0.22895359992980957, -0.333189994096756, -0.2267201542854309, 0.2730574309825897, 0.06936207413673401, 0.009592164307832718, 0.2673299312591553, 0.03266995772719383, -0.15973274409770966, 0.15364694595336914, 0.2203376442193985, 0.15984874963760376, -0.29031941294670105, -0.3306838274002075, -0.4528311789035797, 0.00855991244316101, 0.026859130710363388, 0.3244035243988037, -0.20155858993530273, -0.11409763246774673, -0.2526094615459442, -0.02886722981929779, 0.4957997798919678, 0.04034644365310669, 0.2946101427078247, 0.004561007022857666, -0.42161792516708374, -0.04315909370779991, 0.20885266363620758, -0.05194767564535141, -0.04269643872976303, -0.5033798217773438, -0.1376316398382187, 0.08641179651021957, -0.09984798729419708, -0.15372134745121002, 0.13674162328243256, -0.16653066873550415, 0.023983702063560486, 0.8094243407249451, 0.0855741798877716, 0.6356728076934814, -0.10314077138900757, -0.012256872840225697, -0.4340739846229553, -0.5135287642478943, 0.040885500609874725, 0.09606985002756119, 0.028228413313627243, 0.5386804342269897, -0.40883493423461914, -0.11444643139839172, -0.12336253374814987, 0.2872782349586487, 0.08475111424922943, 0.14293259382247925, -0.35204750299453735, 0.04950695484876633, -0.34726181626319885, 0.04756177216768265, -0.2015838623046875, 0.09372001886367798, 0.06344207376241684, -0.03364303335547447, -0.13188576698303223, -0.2346055507659912, 0.5741701126098633, -0.31822100281715393, 0.017196588218212128, -0.20539633929729462, 0.16087646782398224, 0.19501513242721558, -0.24939987063407898, -0.37660184502601624, 0.1034565344452858, 0.5223572254180908, 0.21953681111335754, -0.2243412286043167, 0.3346847891807556, -0.11965794861316681, -0.06567592173814774, 0.11322501301765442, 0.19633156061172485, 0.07418203353881836, -0.22253546118736267, 0.09397116303443909, -0.31466585397720337 ]
https://github.com/huggingface/datasets/issues/6918
NonMatchingSplitsSizesError when using data_dir
I confirm there is a bug for data-based Hub datasets when the user passes `data_dir`, which was introduced by PR: - #6714
### Describe the bug Loading a dataset from with a data_dir argument generates a NonMatchingSplitsSizesError if there are multiple directories in the dataset. This appears to happen because the expected split is calculated based on the data in all the directories whereas the recorded split is calculated based on the data in the directory specified using the data_dir argument. This is recent behavior. Until the past few weeks loading using the data_dir argument worked without any issue. ### Steps to reproduce the bug Simple test dataset available here: https://huggingface.co/datasets/srehaag/hf-bug-temp The dataset contains two directories "data1" and "data2", each with a file called "train.parquet" with a 2 x 5 table. from datasets import load_dataset dataset = load_dataset("srehaag/hf-bug-temp", data_dir = "data1") Generates: --------------------------------------------------------------------------- NonMatchingSplitsSizesError Traceback (most recent call last) Cell In[3], <a href='vscode-notebook-cell:?execution_count=3&line=2'>line 2</a> <a href='vscode-notebook-cell:?execution_count=3&line=1'>1</a> from datasets import load_dataset ----> <a href='vscode-notebook-cell:?execution_count=3&line=2'>2</a> dataset = load_dataset("srehaag/hf-bug-temp", data_dir = "data1") File ~/.python/current/lib/python3.10/site-packages/datasets/load.py:2609, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs) <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2606'>2606</a> return builder_instance.as_streaming_dataset(split=split) <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2608'>2608</a> # Download and prepare data -> <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2609'>2609</a> builder_instance.download_and_prepare( <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2610'>2610</a> download_config=download_config, <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2611'>2611</a> download_mode=download_mode, <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2612'>2612</a> verification_mode=verification_mode, <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2613'>2613</a> num_proc=num_proc, <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2614'>2614</a> storage_options=storage_options, <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2615'>2615</a> ) <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2617'>2617</a> # Build dataset for splits <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2618'>2618</a> keep_in_memory = ( <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2619'>2619</a> keep_in_memory if keep_in_memory is not None else is_small_dataset(builder_instance.info.dataset_size) <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2620'>2620</a> ) File ~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1027, in DatasetBuilder.download_and_prepare(self, output_dir, download_config, download_mode, verification_mode, ignore_verifications, try_from_hf_gcs, dl_manager, base_path, use_auth_token, file_format, max_shard_size, num_proc, storage_options, **download_and_prepare_kwargs) <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1025'>1025</a> if num_proc is not None: <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1026'>1026</a> prepare_split_kwargs["num_proc"] = num_proc -> <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1027'>1027</a> self._download_and_prepare( <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1028'>1028</a> dl_manager=dl_manager, <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1029'>1029</a> verification_mode=verification_mode, <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1030'>1030</a> **prepare_split_kwargs, <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1031'>1031</a> **download_and_prepare_kwargs, <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1032'>1032</a> ) <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1033'>1033</a> # Sync info <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1034'>1034</a> self.info.dataset_size = sum(split.num_bytes for split in self.info.splits.values()) File ~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1140, in DatasetBuilder._download_and_prepare(self, dl_manager, verification_mode, **prepare_split_kwargs) <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1137'>1137</a> dl_manager.manage_extracted_files() <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1139'>1139</a> if verification_mode == VerificationMode.BASIC_CHECKS or verification_mode == VerificationMode.ALL_CHECKS: -> <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1140'>1140</a> verify_splits(self.info.splits, split_dict) <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1142'>1142</a> # Update the info object with the splits. <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1143'>1143</a> self.info.splits = split_dict File ~/.python/current/lib/python3.10/site-packages/datasets/utils/info_utils.py:101, in verify_splits(expected_splits, recorded_splits) <a href='~/.python/current/lib/python3.10/site-packages/datasets/utils/info_utils.py:95'>95</a> bad_splits = [ <a href='~/.python/current/lib/python3.10/site-packages/datasets/utils/info_utils.py:96'>96</a> {"expected": expected_splits[name], "recorded": recorded_splits[name]} <a href='~/.python/current/lib/python3.10/site-packages/datasets/utils/info_utils.py:97'>97</a> for name in expected_splits <a href='~/.python/current/lib/python3.10/site-packages/datasets/utils/info_utils.py:98'>98</a> if expected_splits[name].num_examples != recorded_splits[name].num_examples <a href='~/.python/current/lib/python3.10/site-packages/datasets/utils/info_utils.py:99'>99</a> ] <a href='~/.python/current/lib/python3.10/site-packages/datasets/utils/info_utils.py:100'>100</a> if len(bad_splits) > 0: --> <a href='~/.python/current/lib/python3.10/site-packages/datasets/utils/info_utils.py:101'>101</a> raise NonMatchingSplitsSizesError(str(bad_splits)) <a href='~/.python/current/lib/python3.10/site-packages/datasets/utils/info_utils.py:102'>102</a> logger.info("All the splits matched successfully.") NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=212, num_examples=10, shard_lengths=None, dataset_name=None), 'recorded': SplitInfo(name='train', num_bytes=106, num_examples=5, shard_lengths=None, dataset_name='hf-bug-temp')}] __________ By contrast, this loads the data from both data1/train.parquet and data2/train.parquet without any error message: from datasets import load_dataset dataset = load_dataset("srehaag/hf-bug-temp") ### Expected behavior Should load the 5 x 2 table from data1/train.parquet without error message. ### Environment info Used Codespaces to simplify environment (see details below), but bug is present across various configurations. - `datasets` version: 2.19.1 - Platform: Linux-6.5.0-1021-azure-x86_64-with-glibc2.31 - Python version: 3.10.13 - `huggingface_hub` version: 0.23.1 - PyArrow version: 16.1.0 - Pandas version: 2.2.2 - `fsspec` version: 2024.3.1
22
NonMatchingSplitsSizesError when using data_dir ### Describe the bug Loading a dataset from with a data_dir argument generates a NonMatchingSplitsSizesError if there are multiple directories in the dataset. This appears to happen because the expected split is calculated based on the data in all the directories whereas the recorded split is calculated based on the data in the directory specified using the data_dir argument. This is recent behavior. Until the past few weeks loading using the data_dir argument worked without any issue. ### Steps to reproduce the bug Simple test dataset available here: https://huggingface.co/datasets/srehaag/hf-bug-temp The dataset contains two directories "data1" and "data2", each with a file called "train.parquet" with a 2 x 5 table. from datasets import load_dataset dataset = load_dataset("srehaag/hf-bug-temp", data_dir = "data1") Generates: --------------------------------------------------------------------------- NonMatchingSplitsSizesError Traceback (most recent call last) Cell In[3], <a href='vscode-notebook-cell:?execution_count=3&line=2'>line 2</a> <a href='vscode-notebook-cell:?execution_count=3&line=1'>1</a> from datasets import load_dataset ----> <a href='vscode-notebook-cell:?execution_count=3&line=2'>2</a> dataset = load_dataset("srehaag/hf-bug-temp", data_dir = "data1") File ~/.python/current/lib/python3.10/site-packages/datasets/load.py:2609, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs) <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2606'>2606</a> return builder_instance.as_streaming_dataset(split=split) <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2608'>2608</a> # Download and prepare data -> <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2609'>2609</a> builder_instance.download_and_prepare( <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2610'>2610</a> download_config=download_config, <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2611'>2611</a> download_mode=download_mode, <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2612'>2612</a> verification_mode=verification_mode, <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2613'>2613</a> num_proc=num_proc, <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2614'>2614</a> storage_options=storage_options, <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2615'>2615</a> ) <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2617'>2617</a> # Build dataset for splits <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2618'>2618</a> keep_in_memory = ( <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2619'>2619</a> keep_in_memory if keep_in_memory is not None else is_small_dataset(builder_instance.info.dataset_size) <a href='~/.python/current/lib/python3.10/site-packages/datasets/load.py:2620'>2620</a> ) File ~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1027, in DatasetBuilder.download_and_prepare(self, output_dir, download_config, download_mode, verification_mode, ignore_verifications, try_from_hf_gcs, dl_manager, base_path, use_auth_token, file_format, max_shard_size, num_proc, storage_options, **download_and_prepare_kwargs) <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1025'>1025</a> if num_proc is not None: <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1026'>1026</a> prepare_split_kwargs["num_proc"] = num_proc -> <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1027'>1027</a> self._download_and_prepare( <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1028'>1028</a> dl_manager=dl_manager, <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1029'>1029</a> verification_mode=verification_mode, <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1030'>1030</a> **prepare_split_kwargs, <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1031'>1031</a> **download_and_prepare_kwargs, <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1032'>1032</a> ) <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1033'>1033</a> # Sync info <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1034'>1034</a> self.info.dataset_size = sum(split.num_bytes for split in self.info.splits.values()) File ~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1140, in DatasetBuilder._download_and_prepare(self, dl_manager, verification_mode, **prepare_split_kwargs) <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1137'>1137</a> dl_manager.manage_extracted_files() <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1139'>1139</a> if verification_mode == VerificationMode.BASIC_CHECKS or verification_mode == VerificationMode.ALL_CHECKS: -> <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1140'>1140</a> verify_splits(self.info.splits, split_dict) <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1142'>1142</a> # Update the info object with the splits. <a href='~/.python/current/lib/python3.10/site-packages/datasets/builder.py:1143'>1143</a> self.info.splits = split_dict File ~/.python/current/lib/python3.10/site-packages/datasets/utils/info_utils.py:101, in verify_splits(expected_splits, recorded_splits) <a href='~/.python/current/lib/python3.10/site-packages/datasets/utils/info_utils.py:95'>95</a> bad_splits = [ <a href='~/.python/current/lib/python3.10/site-packages/datasets/utils/info_utils.py:96'>96</a> {"expected": expected_splits[name], "recorded": recorded_splits[name]} <a href='~/.python/current/lib/python3.10/site-packages/datasets/utils/info_utils.py:97'>97</a> for name in expected_splits <a href='~/.python/current/lib/python3.10/site-packages/datasets/utils/info_utils.py:98'>98</a> if expected_splits[name].num_examples != recorded_splits[name].num_examples <a href='~/.python/current/lib/python3.10/site-packages/datasets/utils/info_utils.py:99'>99</a> ] <a href='~/.python/current/lib/python3.10/site-packages/datasets/utils/info_utils.py:100'>100</a> if len(bad_splits) > 0: --> <a href='~/.python/current/lib/python3.10/site-packages/datasets/utils/info_utils.py:101'>101</a> raise NonMatchingSplitsSizesError(str(bad_splits)) <a href='~/.python/current/lib/python3.10/site-packages/datasets/utils/info_utils.py:102'>102</a> logger.info("All the splits matched successfully.") NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=212, num_examples=10, shard_lengths=None, dataset_name=None), 'recorded': SplitInfo(name='train', num_bytes=106, num_examples=5, shard_lengths=None, dataset_name='hf-bug-temp')}] __________ By contrast, this loads the data from both data1/train.parquet and data2/train.parquet without any error message: from datasets import load_dataset dataset = load_dataset("srehaag/hf-bug-temp") ### Expected behavior Should load the 5 x 2 table from data1/train.parquet without error message. ### Environment info Used Codespaces to simplify environment (see details below), but bug is present across various configurations. - `datasets` version: 2.19.1 - Platform: Linux-6.5.0-1021-azure-x86_64-with-glibc2.31 - Python version: 3.10.13 - `huggingface_hub` version: 0.23.1 - PyArrow version: 16.1.0 - Pandas version: 2.2.2 - `fsspec` version: 2024.3.1 I confirm there is a bug for data-based Hub datasets when the user passes `data_dir`, which was introduced by PR: - #6714
[ -0.4367188513278961, -0.034657709300518036, 0.05221470817923546, 0.48634594678878784, 0.22373579442501068, -0.09071817994117737, 0.17425194382667542, 0.2126016765832901, 0.07993270456790924, 0.3061354160308838, 0.014042005874216557, 0.17526932060718536, -0.11278300732374191, -0.11737965792417526, -0.3886156380176544, 0.1198572963476181, -0.0226905420422554, 0.05152573063969612, -0.20126232504844666, 0.11536471545696259, -0.2979738116264343, 0.2612665891647339, -0.12998825311660767, -0.3082442879676819, -0.3241714537143707, 0.20235177874565125, -0.2770659625530243, 0.29847514629364014, 0.23837323486804962, -0.3157263994216919, 0.4749716520309448, -0.1520339697599411, 0.21839438378810883, 0.5267001986503601, -0.0001213870637002401, 0.1217534989118576, 0.32963401079177856, -0.2646424174308777, -0.3042609989643097, -0.3936043977737427, -0.41894885897636414, -0.37250611186027527, 0.0878787711262703, -0.17805969715118408, -0.06344006210565567, 0.2488681674003601, -0.01118210144340992, -0.3944389224052429, 0.19476318359375, 0.06225365027785301, 0.12532716989517212, 0.04446747899055481, -0.4395139515399933, -0.07767102122306824, 0.17890706658363342, 0.2562280595302582, -0.04959612339735031, 0.0718630850315094, -0.09542620182037354, -0.2278188318014145, -0.21863502264022827, 0.17843593657016754, -0.03838013857603073, 0.22653861343860626, 0.2777256369590759, 0.28719785809516907, 0.22836264967918396, 0.03372788801789284, -0.11891346424818039, 0.15370111167430878, 0.5490003228187561, -0.18525844812393188, -0.07515446096658707, -0.48684972524642944, -0.31352564692497253, -0.08771035075187683, 0.3017129898071289, 0.14758943021297455, -0.07268752157688141, -0.004142429679632187, 0.036903269588947296, 0.12903475761413574, -0.1205277293920517, -0.06149670481681824, 0.22769874334335327, 0.25855958461761475, 0.09719136357307434, 0.11967171728610992, 0.2805929183959961, 0.20742204785346985, 0.31028062105178833, -0.21851970255374908, 0.10378038883209229, 0.10418706387281418, -0.3019968569278717, 0.08315753936767578, 0.0007750615477561951, -0.014822237193584442, 0.1507311761379242, 0.2689984440803528, 0.29016751050949097, -0.17555475234985352, 0.2368013709783554, -0.0810898169875145, 0.38474056124687195, -0.01987772062420845, 0.07970157265663147, 0.4792945086956024, 0.06737879663705826, 0.1953744888305664, -0.05372663959860802, 0.025583622977137566, 0.20796459913253784, -0.2129984200000763, -0.03568614274263382, 0.2811194658279419, 0.2483144849538803, -0.16106390953063965, -0.5769846439361572, -0.07273384928703308, -0.4054044485092163, -0.1889248788356781, 0.09735117852687836, 0.21935534477233887, 0.18205370008945465, 0.2844047546386719, -0.09696395695209503, 0.25602272152900696, -0.24684689939022064, 0.011860211379826069, -0.28546836972236633, -0.12394408881664276, -0.2914740741252899, -0.004719337448477745, 0.051428552716970444, 0.11736932396888733, -0.028090432286262512, 0.16691431403160095, 0.13202939927577972, -0.2881852388381958, 0.012951115146279335, -0.2331443727016449, -0.04023806005716324, 0.08795499056577682, -0.09918408840894699, 0.18405364453792572, 0.18063893914222717, 0.09350040555000305, -0.21988463401794434, 0.239770770072937, -0.15286147594451904, -0.3279324173927307, 0.27746275067329407, 0.12486086785793304, -0.21169422566890717, 0.08084270358085632, -0.1372797191143036, 0.24087725579738617, 0.07894020527601242, -0.2334955781698227, -0.059787534177303314, -0.19373078644275665, -0.09725068509578705, -0.2615501284599304, 0.03779962658882141, 0.8047043681144714, -0.12689454853534698, -0.11657735705375671, 0.03720366209745407, -0.19796258211135864, 0.5817205309867859, 0.3874375820159912, -0.14408929646015167, 0.06889085471630096, -0.5224524736404419, 0.24986283481121063, 0.039999306201934814, -0.3588707447052002, -0.5197358727455139, 0.5565608739852905, -0.08157863467931747, 0.30905580520629883, 0.33493855595588684, 0.22856801748275757, 0.11324628442525864, -0.19999225437641144, -0.09666089713573456, 0.3995870351791382, -0.19640128314495087, 0.06693585216999054, -0.3791959285736084, -0.1324503868818283, 0.435815691947937, 0.020836707204580307, 0.10929886251688004, -0.08036153763532639, 0.15115201473236084, 0.3408218324184418, 0.36812251806259155, -0.18245923519134521, -0.06823647022247314, 0.3135770559310913, 0.045395031571388245, 0.251517653465271, -0.07517760246992111, -0.2542046010494232, -0.5657731294631958, 0.15790116786956787, 0.030436519533395767, -0.04645301401615143, -0.11544057726860046, -0.12790998816490173, -0.04991395026445389, -0.21552759408950806, -0.27644336223602295, -0.12697681784629822, 0.031007029116153717, 0.290530800819397, 0.20443694293498993, -0.13329680263996124, 0.17583154141902924, 0.609500527381897, 0.06607503443956375, 0.21575531363487244, -0.22957974672317505, 0.721254825592041, 0.02710433304309845, -0.32773181796073914, 0.05970504879951477, 0.18906405568122864, 0.4205869138240814, -0.29262033104896545, -0.14075753092765808, 0.5188920497894287, 0.2508014142513275, 0.13644030690193176, -0.11997831612825394, -0.08230124413967133, 0.1491810530424118, -0.13334915041923523, -0.043232209980487823, 0.33772513270378113, 0.10424134880304337, -0.07936251908540726, -0.11659996956586838, 0.301039457321167, -0.3564651906490326, 0.3089544475078583, 0.005090795457363129, -0.019670341163873672, 0.07351575791835785, 0.009309802204370499, 0.1280456930398941, -0.24935753643512726, 0.6058615446090698, 0.11483487486839294, -0.024345941841602325, -0.0002009086310863495, -0.19953882694244385, -0.01857607811689377, 0.11021161079406738, -0.1086646169424057, 0.05254192650318146, 0.012284670025110245, 0.01726587489247322, -0.08464664220809937, -0.04054173827171326, 0.5286059379577637, 0.6324163675308228, 0.20839212834835052, 0.07097896188497543, -0.06314028799533844, -0.23164911568164825, -0.29160985350608826, 0.22487317025661469, 0.05675078183412552, 0.22074781358242035, 0.38056203722953796, -0.004616555292159319, -0.01858142390847206, -0.38393720984458923, -0.08959151804447174, 0.15898612141609192, 0.22416086494922638, -0.29342228174209595, 0.06667109578847885, -0.4752362072467804, -0.31966567039489746, -0.27911385893821716, -0.06191325560212135, -0.20970599353313446, -0.415917307138443, -0.14175620675086975, 0.008191775530576706, -0.195110023021698, 0.16879425942897797, 0.009836927056312561, -0.012233749032020569, -0.10564969480037689, -0.37034159898757935, -0.264309287071228, -0.10944303870201111, -0.17630335688591003, -0.10968512296676636, 0.2518044412136078, -0.06114795058965683, 0.27399569749832153, -0.27788403630256653, -0.1260424554347992, -0.3780547082424164, -0.0789015144109726, -0.023110300302505493, -0.10930788516998291, 0.22695249319076538, 0.3312820792198181, -0.21006204187870026, 0.3578401207923889, -0.03668918088078499, 0.30575281381607056, -0.252327561378479, -0.024431627243757248, 0.20535270869731903, 0.2354394942522049, 0.3489169478416443, -0.11689208447933197, -0.29541683197021484, -0.1077716127038002, -0.29522836208343506, -0.013618037104606628, 0.01780380681157112, 0.09237383306026459, -0.23911334574222565, -0.10694193840026855, -0.030307326465845108, -0.14113490283489227, -0.14304092526435852, -0.25441789627075195, 0.20179232954978943, 0.13275109231472015, 0.040070801973342896, -0.12198938429355621, -0.14369723200798035, 0.07416141778230667, 0.0075021833181381226, 0.27683180570602417, -0.3910475969314575, -0.18290676176548004, -0.21173341572284698, 0.18936984241008759, -0.22560563683509827, -0.04441191256046295, 0.4079122841358185, -0.03592502325773239, 0.03377799689769745, -0.18745672702789307, -0.2972884774208069, 0.0839529037475586, 0.06845283508300781, 0.2435327172279358, -0.24744603037834167, 0.5222826600074768, 0.16182100772857666, 0.696153461933136, 0.41337111592292786, 0.13321053981781006, 0.1767224371433258, -0.09644780308008194, 0.29928699135780334, -0.06432794779539108, -0.11509421467781067, 0.20427705347537994, -0.02592356503009796, -0.150518536567688, 0.1841042935848236, -0.07054292410612106, -0.0534612238407135, -0.029589764773845673, -0.21927735209465027, -0.2045230269432068, -0.22578762471675873, 0.09338577836751938, -0.3162405788898468, 0.15739578008651733, 0.15660713613033295, 0.2535178065299988, 0.03424482420086861, -0.2020488977432251, -0.12207257747650146, 0.33859187364578247, 0.207053542137146, -0.019558338448405266, 0.13820776343345642, 0.19833342730998993, -0.21895718574523926, 0.36537402868270874, 0.1587371677160263, 0.24986498057842255, -0.09528853744268417, -0.1552102267742157, 0.07252617180347443, -0.16942429542541504, 0.687918484210968, -0.32554957270622253, 0.14823570847511292, -0.038327042013406754, -0.11068560183048248, -0.5252718925476074, -0.08994452655315399, -0.28331053256988525, 0.12254273146390915, 0.2234431356191635, 0.582967221736908, -0.4247119724750519, -0.2369517683982849, 0.009281294420361519, 0.23279982805252075, -0.03444284945726395, -0.017065275460481644, -0.17069457471370697, -0.2077018916606903, -0.12205173820257187, 0.10313015431165695, 0.07141922414302826, 0.2313683032989502, 0.1264510154724121, 0.053946834057569504, -0.003323035314679146, -0.29864397644996643, 0.05383455753326416, -0.15592193603515625, 0.2709929347038269, -0.2749817371368408, 0.2700873613357544, 0.28936129808425903, 0.33417177200317383, 0.39851295948028564, 0.5050708055496216, -0.1993316113948822, -0.3639153242111206, 0.14941617846488953, 0.06239111348986626, 0.10313014686107635, 0.5002821683883667, 0.013472030870616436, -0.07798432558774948, -0.39614880084991455, 0.04165944829583168, -0.4853803217411041, -0.18432247638702393, 0.2071114182472229, 0.06785611808300018, -0.3147629499435425, -0.3890765309333801, 0.4262430965900421, 0.19837044179439545, -0.18269319832324982, -0.043118759989738464, -0.003027401864528656, -0.41743409633636475, 0.22157570719718933, -0.02563723921775818, 0.6756945252418518, 0.10991886258125305, 0.09455736726522446, 0.2078319489955902, -0.6008598804473877, 0.55336594581604, -0.09013555198907852, 0.28484779596328735, -0.2736992835998535, -0.16842491924762726, -0.055601056665182114, -0.401542991399765, 0.23205506801605225, 0.07407673448324203, -0.19182446599006653, 0.5144620537757874, -0.19826559722423553, 0.06421063840389252, -0.1839413046836853, 0.07711055874824524, -0.24199333786964417, -0.09017612040042877, -0.06501873582601547, 0.058101557195186615, -0.1914060413837433, 0.26183217763900757, -0.08613113313913345, -0.12146516144275665, -0.06932191550731659, -0.28202828764915466, -0.30460360646247864, 0.2573569118976593, -0.481018602848053, 0.14804624021053314, -0.1697489321231842, -0.4052990674972534, 0.04706602171063423, 0.18782900273799896, 0.09149452298879623, -0.27111488580703735, -0.08303335309028625, 0.06800011545419693, -0.2807699739933014, 0.29861170053482056, -0.03922915831208229, -0.18829262256622314, 0.09659663587808609, 0.150887131690979, 0.10061667114496231, -0.2667630612850189, -0.24144428968429565, -0.43910646438598633, -0.14333698153495789, 0.13352200388908386, -0.13386322557926178, -0.3268415331840515, 0.04351644590497017, 0.0076530203223228455, 0.02489938959479332, -0.2531391680240631, 0.05737661197781563, -0.0071562305092811584, -0.12153784930706024, 0.16234037280082703, -0.35113731026649475, -0.26967358589172363, -0.2101200670003891, 0.3023243844509125, 0.13677465915679932, -0.00609125941991806, 0.23979970812797546, -0.13714757561683655, -0.26125097274780273, -0.2607559859752655, 0.21733510494232178, 0.08302553743124008, -0.4146246612071991, 0.4843592345714569, -0.40455949306488037, 0.1756371110677719, 0.3171141445636749, -0.01968388631939888, 0.36038416624069214, -0.012048333883285522, -0.2661914527416229, -0.37668314576148987, 0.036544330418109894, 0.03989196568727493, -0.12716834247112274, 0.2356865257024765, -0.06799408793449402, 0.3451545834541321, -0.04777771979570389, -0.03517182916402817, -0.21396513283252716, 0.1017250195145607, -0.0031028930097818375, 0.14600813388824463, 0.08185486495494843, -0.1046125665307045, 0.38578468561172485, 0.1010642945766449, 0.036112457513809204, 0.27212053537368774, -0.14527590572834015, -0.030613278970122337, -0.013796736486256123, 0.1387605518102646, 0.023564616218209267, 0.22332873940467834, -0.31322696805000305, -0.15956847369670868, 0.0003827400505542755, -0.18752418458461761, 0.14050951600074768, 0.17297247052192688, -0.27510666847229004, 0.15440164506435394, 0.05276964604854584, -0.01042427122592926, 0.019026976078748703, 0.24611429870128632, -0.35539090633392334, 0.314297080039978, -0.20703640580177307, 0.31795400381088257, -0.19836623966693878, 0.017720714211463928, -0.15359793603420258, 0.049150869250297546, -0.02088429033756256, 0.19205352663993835, 0.22228217124938965, -0.24658788740634918, -0.058031681925058365, 0.18237772583961487, 0.3856988549232483, 0.3611644208431244, -0.016806144267320633, -0.22654157876968384, 0.14952605962753296, 0.0802084431052208, -0.1737944483757019, -0.1103772446513176, 0.14585155248641968, 0.0727357342839241, 0.17323262989521027, 0.5777921080589294, 0.1786055862903595, -0.020509131252765656, -0.3285881280899048, -0.025947244837880135, 0.6326489448547363, -0.14998960494995117, 0.2351936399936676, 0.8041303157806396, 0.021085914224386215, 0.1134977787733078, 0.2762609124183655, -0.10986997187137604, 0.33382314443588257, 0.7477772235870361, -0.1897886097431183, 0.5101926326751709, -0.08694759756326675, 0.03507694602012634, -0.17320773005485535, -0.19413478672504425, -0.23181869089603424, 0.2536177933216095, -0.12138256430625916, 0.2116442620754242, -0.12053179740905762, 0.33706632256507874, -0.7565476894378662, 0.0750986859202385, -0.2896427810192108, -0.1554681360721588, -0.22632122039794922, -0.06997859477996826, -0.004198119044303894, -0.13956576585769653, -0.1511993110179901, -0.08676391839981079, -0.080937460064888, 0.17438235878944397, 0.31788381934165955, -0.0000031366944313049316, 0.29753515124320984, -0.003814341500401497, -0.025171108543872833, 0.20143717527389526, 0.08663913607597351, -0.34450414776802063, 0.1283082216978073, -0.2913627028465271, -0.11789640784263611, 0.25701597332954407, 0.37675371766090393, 0.46494078636169434, 0.2590472400188446, -0.3132357895374298, -0.14495530724525452, -0.004923414438962936, 0.1412423700094223, 0.02475138008594513, 0.4800381362438202, -0.10654035210609436, 0.0698823630809784, 0.40309539437294006, -0.010001268237829208, -0.08838672935962677, 0.20087137818336487, 0.18260633945465088, 0.058842238038778305, -0.2504892349243164, 0.4923730492591858, -0.30121293663978577, 0.29740381240844727, 0.18271222710609436, 0.1584179401397705, -0.34065917134284973, -0.3057159185409546, 0.1211438924074173, -0.12629501521587372, 0.3245559632778168, 0.3459634482860565, 0.04426119476556778, -0.18085052073001862, 0.3224036395549774, 0.08552607893943787, -0.32489457726478577, -0.36254554986953735, -0.019974417984485626, -0.6064670085906982, -0.0535050705075264, -0.29947444796562195, 0.007417531684041023, -0.10643958300352097, 0.3614576458930969, -0.12047915905714035, 0.09193594008684158, 0.45029938220977783, 0.27136439085006714, -0.019153308123350143, 0.1697022169828415, -0.34530043601989746, -0.3044781982898712, -0.18758080899715424, -0.33561307191848755, 0.0905795618891716, -0.501083254814148, 0.057662010192871094, 0.3936881721019745, 0.004848461598157883, 0.022522544488310814, 0.005605272948741913, 0.15035924315452576, 0.11645227670669556, 0.23200994729995728, 0.4101146459579468, 0.32817548513412476, -0.0007035583257675171, -0.1932104527950287, -0.1927412450313568, -0.41284120082855225, -0.08859989047050476, 0.17873477935791016, 0.08265139162540436, 0.17138221859931946, -0.519717812538147, 0.23351259529590607, -0.3478085696697235, -0.023690858855843544, 0.1745249480009079, 0.22429004311561584, -0.3394487202167511, 0.15470659732818604, -0.3027728796005249, 0.10728204995393753, -0.005999675951898098, 0.5167285203933716, 0.03705637902021408, 0.19203245639801025, -0.18096020817756653, -0.2552049458026886, 0.38016071915626526, -0.04340890049934387, -0.24531075358390808, -0.02651534602046013, 0.2852281928062439, 0.18713411688804626, 0.014891810715198517, -0.2824854850769043, -0.05579674616456032, 0.39022743701934814, 0.1914142668247223, -0.19909976422786713, -0.08667770028114319, -0.09165555238723755, -0.26093214750289917, 0.048830028623342514, -0.10400164127349854, 0.2369990050792694, -0.376997172832489, 0.6821032166481018, -0.04002930968999863 ]
https://github.com/huggingface/datasets/issues/6912
Add MedImg for streaming
@mariosasko, @lhoestq, @albertvillanova Hello! Can anyone help? or can you guys suggest who can help with this?
### Feature request Host the MedImg dataset (similar to Imagenet but for biomedical images). ### Motivation There is a clear need for biomedical image foundation models and large scale biomedical datasets that are easily streamable. This would be an excellent tool for the biomedical community. ### Your contribution MedImg can be found [here](https://www.cuilab.cn/medimg/#).
17
Add MedImg for streaming ### Feature request Host the MedImg dataset (similar to Imagenet but for biomedical images). ### Motivation There is a clear need for biomedical image foundation models and large scale biomedical datasets that are easily streamable. This would be an excellent tool for the biomedical community. ### Your contribution MedImg can be found [here](https://www.cuilab.cn/medimg/#). @mariosasko, @lhoestq, @albertvillanova Hello! Can anyone help? or can you guys suggest who can help with this?
[ -0.2861972153186798, -0.3213261365890503, -0.09918093681335449, -0.2420905977487564, 0.07295873761177063, 0.05930160731077194, 0.2898709774017334, 0.10640892386436462, 0.034616198390722275, 0.13778111338615417, 0.07374624162912369, -0.2378767877817154, -0.3054817020893097, 0.3824470043182373, 0.39726537466049194, -0.2387578785419464, 0.005046427249908447, 0.20038658380508423, -0.013155847787857056, -0.021383654326200485, 0.12566125392913818, -0.058439262211322784, -0.3973954916000366, -0.03607448935508728, 0.17990076541900635, -0.016218150034546852, 0.05442338436841965, -0.07095954567193985, -0.45321792364120483, -0.1384618878364563, -0.14178331196308136, 0.1350351721048355, -0.13296246528625488, 0.329454630613327, -0.00010649995238054544, -0.2475828230381012, 0.04255492240190506, -0.03398418799042702, -0.2993137538433075, -0.07299880683422089, 0.00029385462403297424, -0.07669026404619217, -0.28872495889663696, -0.08708728104829788, -0.06632205843925476, -0.1398327648639679, 0.16768135130405426, -0.08330818265676498, 0.12004487961530685, 0.174620121717453, 0.20643095672130585, 0.16938656568527222, -0.18120120465755463, -0.09569335728883743, 0.04540647938847542, 0.3004663586616516, -0.25634536147117615, 0.11370497941970825, 0.5948314666748047, 0.08981423825025558, 0.10415515303611755, 0.5433383584022522, -0.4829740822315216, -0.2576933205127716, 0.1523599624633789, -0.10949589312076569, 0.049212582409381866, -0.3900412321090698, -0.23543646931648254, 0.33003807067871094, 0.31732311844825745, -0.10283178836107254, -0.12865875661373138, -0.008280754089355469, 0.23970995843410492, -0.15393301844596863, -0.39697664976119995, 0.2645014822483063, -0.0921885073184967, 0.14335724711418152, -0.37081587314605713, -0.2733997702598572, -0.4069703221321106, 0.14401917159557343, 0.28630316257476807, -0.06728367507457733, 0.026026498526334763, 0.07047802954912186, -0.1680542379617691, 0.11651811003684998, 0.20455357432365417, -0.0320836566388607, 0.07828690111637115, -0.0014721257612109184, -0.2571352422237396, -0.17173293232917786, -0.2072337567806244, 0.10584933310747147, 0.3339150846004486, 0.0446702241897583, 0.26393336057662964, -0.059296391904354095, 0.21109282970428467, 0.20031899213790894, -0.12285642325878143, -0.31531479954719543, -0.43185949325561523, -0.005848015658557415, 0.02329074591398239, 0.15343767404556274, 0.035665806382894516, -0.07675839215517044, 0.02786920964717865, 0.4255654513835907, -0.0729459747672081, -0.25528958439826965, -0.08729062229394913, -0.005318678915500641, 0.11872231215238571, -0.11902324110269547, 0.1091473326086998, 0.08506786078214645, 0.152911975979805, -0.04323197901248932, -0.10192787647247314, 0.110186867415905, 0.2363126128911972, 0.13694196939468384, 0.08928567171096802, -0.39762598276138306, -0.022097328677773476, -0.08536370098590851, -0.10298039019107819, 0.24390046298503876, 0.15917177498340607, -0.05929702892899513, 0.007736590690910816, -0.049939803779125214, 0.5450101494789124, 0.12010422348976135, 0.36718201637268066, 0.067864790558815, 0.20092381536960602, 0.23161204159259796, -0.022566892206668854, -0.12875507771968842, -0.0470401905477047, 0.2750450372695923, -0.009285755455493927, -0.13337713479995728, -0.2047877013683319, -0.3789770305156708, -0.4232214093208313, 0.1760248839855194, 0.14403793215751648, 0.13389913737773895, -0.1460544466972351, 0.3079209625720978, -0.4714931547641754, -0.5076894164085388, -0.05185125023126602, 0.22671492397785187, -0.25583454966545105, -0.17961625754833221, 0.2894914150238037, -0.06806260347366333, 0.05618106201291084, -0.08242153376340866, -0.3132181167602539, 0.22759900987148285, 0.10870236903429031, -0.024760328233242035, -0.11043081432580948, 0.03915843740105629, -0.012695123441517353, 0.19550932943820953, 0.3518204092979431, -0.32993054389953613, -0.28486672043800354, 0.052222296595573425, -0.30130112171173096, -0.2805979549884796, 0.17635905742645264, 0.6186082363128662, 0.5104776620864868, -0.094463050365448, -0.24176055192947388, 0.7229042053222656, -0.14279043674468994, -0.012361221015453339, -0.13795793056488037, -0.38695234060287476, -0.2076360285282135, 0.3957723379135132, 0.0828617736697197, -0.007435627281665802, 0.3315463960170746, 0.1802757978439331, 0.21370908617973328, 0.0012943074107170105, 0.05533861368894577, -0.2880539298057556, 0.28465864062309265, -0.0738113522529602, 0.10630468279123306, -0.25830158591270447, -0.13676613569259644, -0.121465303003788, 0.09749706089496613, 0.3076763451099396, 0.011686503887176514, -0.14338082075119019, 0.016904931515455246, -0.05157875269651413, 0.24321110546588898, 0.11525121331214905, 0.2203485369682312, 0.0369449220597744, -0.11162830889225006, 0.06621359288692474, -0.33005157113075256, 0.5544577240943909, -0.1857709288597107, 0.10857027024030685, -0.15809936821460724, 0.5085968971252441, -0.05583151429891586, -0.11147899925708771, 0.14466574788093567, -0.11832406371831894, -0.1201394721865654, 0.3093405067920685, 0.09630532562732697, 0.19254159927368164, -0.52471524477005, 0.307167112827301, 0.48337239027023315, 0.3073100447654724, 0.17445702850818634, -0.7410295605659485, 0.3171592950820923, -0.2719995379447937, 0.10477076470851898, 0.032234907150268555, 0.043235212564468384, -0.1469762772321701, 0.05649545043706894, 0.11040735989809036, -0.05159677565097809, 0.2812255322933197, -0.0551038458943367, -0.1049700379371643, -0.2648608088493347, -0.08997340500354767, 0.018875770270824432, 0.22712837159633636, -0.44199585914611816, -0.4841582179069519, -0.30488091707229614, 0.08928108215332031, 0.0320739708840847, -0.12980380654335022, 0.07183744758367538, -0.10254205018281937, -0.27211955189704895, -0.06258915364742279, 0.26345524191856384, -0.01950317993760109, 0.059692561626434326, 0.34592950344085693, 0.05182486027479172, 0.22881805896759033, 0.10911664366722107, -0.05996329337358475, 0.22758400440216064, 0.12569168210029602, -0.08002181351184845, -0.10745628923177719, -0.10150157660245895, 0.049394529312849045, -0.18125858902931213, -0.06982415914535522, 0.03391958773136139, -0.22862666845321655, -0.04558277875185013, -0.02425568364560604, 0.08847949653863907, -0.3063361942768097, 0.26067066192626953, -0.20669592916965485, -0.17108401656150818, -0.09334972500801086, 0.1311151534318924, 0.14717967808246613, 0.25618627667427063, 0.11387422680854797, -0.5216599702835083, 0.8148008584976196, -0.0791560709476471, -0.005380822345614433, -0.19509601593017578, 0.20506280660629272, 0.10178283601999283, 0.17873229086399078, -0.14288239181041718, 0.20475345849990845, 0.5803233981132507, -0.06087283790111542, 0.22711360454559326, -0.1946486532688141, -0.3500334918498993, 0.2565733790397644, -0.08282466977834702, 0.44801947474479675, 0.04626704752445221, 0.34479081630706787, 0.06908604502677917, 0.043396029621362686, -0.022999368607997894, -0.23300115764141083, 0.0837031826376915, 0.041597411036491394, -0.006693162024021149, 0.09217818826436996, -0.015286831185221672, 0.08344586938619614, -0.2978323698043823, -0.4163018763065338, -0.24662743508815765, -0.23925554752349854, 0.1798769235610962, 0.06742114573717117, 0.22703129053115845, -0.12947241961956024, -0.1994371861219406, 0.19009171426296234, -0.18693110346794128, -0.5618927478790283, 0.27046480774879456, -0.15757997334003448, -0.11447954177856445, -0.041264891624450684, 0.0903683751821518, 0.2683408260345459, 0.30306750535964966, -0.5597629547119141, 0.11560431867837906, 0.3231775760650635, -0.015627004206180573, 0.23142647743225098, -0.051322974264621735, 0.011184602975845337, -0.049404729157686234, -0.08597494661808014, -0.1564689576625824, -0.1345762312412262, -0.29710882902145386, 0.168738454580307, 0.23661425709724426, 0.3220616281032562, 0.2564436197280884, 0.24783706665039062, 0.24512144923210144, 0.070730060338974, 0.035687267780303955, 0.2439093142747879, 0.047558218240737915, 0.1631011962890625, -0.007613532245159149, -0.3684747815132141, 0.25267353653907776, -0.08076600730419159, 0.021580543369054794, 0.0959811881184578, 0.2058226466178894, -0.08369182795286179, -0.22818158566951752, 0.019869070500135422, -0.39582595229148865, -0.059670932590961456, 0.14981696009635925, 0.10245589911937714, 0.23670107126235962, -0.15912504494190216, -0.37280991673469543, -0.14970751106739044, -0.18468043208122253, 0.008396243676543236, 0.5219383239746094, 0.2814699709415436, 0.024356968700885773, 0.02416406199336052, 0.28830987215042114, -0.12051575630903244, 0.09459489583969116, -0.23766681551933289, -0.13413944840431213, -0.187092125415802, 0.012653648853302002, 0.0042396485805511475, 0.14333319664001465, 0.11230061948299408, -0.8400758504867554, -0.149079367518425, -0.11446414887905121, 0.2877066731452942, -0.10651960968971252, 0.06317618489265442, 0.10107754170894623, -0.1306130439043045, 0.17397189140319824, 0.38318896293640137, -0.2345016598701477, 0.0063967108726501465, 0.4985259473323822, 0.047832097858190536, -0.08975648134946823, -0.40902718901634216, 0.05008946731686592, 0.03594566881656647, -0.17269858717918396, -0.09222277253866196, -0.043104998767375946, -0.1924191266298294, 0.21382342278957367, -0.3170808255672455, 0.11666519194841385, 0.13602399826049805, 0.2100253403186798, -0.05961735546588898, -0.10381844639778137, 0.12142372876405716, 0.10627672076225281, 0.20437294244766235, 0.024742577224969864, -0.16933587193489075, 0.29628556966781616, -0.0576593391597271, -0.015608474612236023, -0.09374377131462097, 0.027683794498443604, 0.2626101076602936, 0.26986265182495117, 0.32179489731788635, 0.16706843674182892, 0.8395766019821167, 0.2699021100997925, -0.3011167049407959, 0.20423784852027893, 0.41236209869384766, -0.3458676040172577, -0.2605215311050415, -0.5849241018295288, 0.380886971950531, 0.07806110382080078, -0.038828104734420776, 0.4887597858905792, 0.14531199634075165, -0.007193276658654213, -0.03158200532197952, 0.2715407609939575, 1.2545182704925537, -0.06226547807455063, -0.02974807098507881, -0.11619604378938675, -0.2834078073501587, 0.06913440674543381, -0.19909560680389404, 0.04915811866521835, -0.2239222377538681, -0.4312369227409363, -0.200707346200943, -0.13042885065078735, -0.09483639150857925, -0.029847584664821625, -0.38012126088142395, -0.059367235749959946, 0.13813762366771698, 0.5041199326515198, 0.1478111892938614, 0.2825976014137268, -0.15645840764045715, -0.406165212392807, 0.030819766223430634, 0.1928650140762329, -0.17183473706245422, -0.1843210607767105, 0.05811060965061188, -0.44983547925949097, 0.13120248913764954, -0.015340154990553856, -0.20971649885177612, 0.17232123017311096, -0.1801547110080719, -0.06901150196790695, -0.7243078351020813, 0.0043119341135025024, -0.1722918450832367, -0.3283960819244385, -0.26214516162872314, 0.3431839942932129, -0.12344026565551758, 0.09060505032539368, 0.22972583770751953, -0.1488838791847229, -0.21708953380584717, -0.2609879672527313, 0.41226863861083984, -0.27759841084480286, -0.2766841650009155, 0.2896389961242676, 0.2580537497997284, -0.27817362546920776, -0.20862868428230286, -0.06037712097167969, 0.5748657584190369, 0.15276046097278595, 0.09164795279502869, 0.30993881821632385, -0.13534556329250336, -0.0032708756625652313, 0.1510014832019806, 0.16015326976776123, -0.1428225189447403, 0.24401283264160156, 0.13548369705677032, -0.0019107162952423096, -0.14001280069351196, -0.07972802966833115, 0.15547415614128113, -0.10202086716890335, -0.11519533395767212, 0.11434787511825562, -0.15229539573192596, -0.1827770471572876, -0.1818142533302307, 0.14062055945396423, -0.4618895649909973, -0.2618364691734314, -0.09444999694824219, -0.1270281970500946, -0.06620616465806961, -0.17197003960609436, 0.08781829476356506, -0.45606279373168945, -0.30868422985076904, 0.010676190257072449, -0.3188094198703766, 0.2062501758337021, -0.24041344225406647, 0.21639978885650635, 0.062386080622673035, -0.412641316652298, 0.03516920655965805, 0.06741876900196075, -0.4034809470176697, 0.09963101148605347, 0.23993641138076782, -0.053842075169086456, 0.003303293138742447, 0.015148382633924484, 0.18007312715053558, -0.048551540821790695, 0.11580444872379303, -0.15823212265968323, -0.2187424898147583, -0.1807907521724701, 0.00988166406750679, 0.13318955898284912, 0.14609865844249725, -0.14740236103534698, -0.18378056585788727, -0.32488662004470825, -0.29532262682914734, 0.08657949417829514, 0.08017154037952423, -0.12601900100708008, 0.08923359960317612, -0.27860623598098755, 0.02390538901090622, -0.26550546288490295, 0.20097003877162933, 0.3650300204753876, 0.03616625443100929, 0.21363329887390137, 0.23866839706897736, -0.012712139636278152, 0.18285290896892548, -0.2017398178577423, -0.06841087341308594, 0.25170832872390747, -0.034989550709724426, -0.0061615221202373505, 0.7490160465240479, 0.030510706827044487, 0.044568371027708054, -0.08005969226360321, 0.2922256886959076, -0.06630083918571472, -0.21388360857963562, 0.000677991658449173, -0.09538350254297256, 0.24760133028030396, -0.18932877480983734, -0.08229277282953262, -0.0741930902004242, 0.10489796847105026, 0.1280609369277954, 0.14636626839637756, 0.35038644075393677, 0.0282541885972023, -0.45737046003341675, -0.00004869513213634491, 0.4547935724258423, 0.09949221462011337, 0.1615424007177353, 0.13206608593463898, 0.15556542575359344, 0.11438602209091187, -0.2749863266944885, 0.19308224320411682, -0.010307572782039642, -0.04423801600933075, -0.029387131333351135, 0.41327032446861267, 0.20868033170700073, -0.0938364714384079, 0.20602281391620636, 0.3523262143135071, 0.2336236536502838, 0.12158291041851044, -0.021617919206619263, 0.323020875453949, 0.10312306880950928, -0.03467695415019989, 0.0787501409649849, -0.1399204581975937, -0.09568273276090622, 0.2786616384983063, 0.2657349407672882, 0.4401393532752991, -0.3885951042175293, 0.07825703173875809, -0.14603766798973083, -0.14516891539096832, 0.13883854448795319, -0.027655065059661865, 0.06536570936441422, 0.31723225116729736, 0.07535631954669952, 0.10083836317062378, -0.3129176199436188, 0.5341629981994629, 0.22286346554756165, -0.359048068523407, -0.12007571011781693, 0.3510008454322815, 0.30186402797698975, 0.4133799970149994, 0.38725703954696655, 0.3317600190639496, 0.11062358319759369, 0.08038979768753052, 0.15449407696723938, 0.22755743563175201, -0.15422838926315308, 0.04767327755689621, -0.014824509620666504, 0.11091706901788712, 0.12309321761131287, 0.060368675738573074, 0.18906645476818085, -0.19783736765384674, -0.022321078926324844, -0.06416408717632294, -0.004481317475438118, -0.09057222306728363, -0.23583939671516418, 0.20056051015853882, -0.045839015394449234, -0.3463006317615509, -0.023068740963935852, -0.4936942160129547, 0.41837745904922485, 0.6010880470275879, -0.3072066903114319, -0.09015423059463501, -0.07691826671361923, 0.11006900668144226, 0.19349151849746704, 0.2502680718898773, 0.22734282910823822, 0.11796166002750397, -0.016917861998081207, -0.29661256074905396, -0.3063593804836273, -0.08448430150747299, -0.10228133201599121, 0.03056906722486019, 0.13696418702602386, 0.0005911234766244888, 0.3658490777015686, 0.05327477306127548, 0.21189506351947784, -0.30854761600494385, -0.2333764135837555, 0.3073822855949402, -0.10871085524559021, -0.016940534114837646, 0.25585120916366577, 0.5287410020828247, -0.07740694284439087, 0.06869590282440186, 0.17111589014530182, 0.15346083045005798, 0.20256799459457397, -0.08018599450588226, 0.03140311688184738, -0.07322736084461212, -0.0712277814745903, 0.5734372138977051, -0.12442122399806976, 0.11597742140293121, -0.2617162764072418, -0.3929315209388733, -0.16239048540592194, 0.2610572278499603, -0.21952100098133087, -0.0359676256775856, 0.21127016842365265, 0.21685482561588287, 0.10624726116657257, -0.39392271637916565, -0.21231591701507568, -0.25303205847740173, -0.12242678552865982, -0.365995854139328, -0.12122728675603867, -0.17856435477733612, 0.17647454142570496, 0.1726098358631134, -0.23754660785198212, -0.08369872719049454, -0.11541904509067535, -0.0521744042634964, -0.2051231563091278, -0.35722169280052185, 0.4433540105819702, 0.07799388468265533, -0.09173674881458282, -0.19461582601070404, 0.15852618217468262, -0.028555840253829956, 0.43531498312950134, -0.6267547011375427, 0.11432614177465439, 0.2230893075466156, 0.01151411421597004, 0.3415187895298004, 0.5236212611198425, 0.30860069394111633, 0.13169977068901062, -0.037142373621463776, -0.13380172848701477, -0.12650224566459656, -0.27007442712783813, -0.1387794315814972, 0.002850472927093506 ]
https://github.com/huggingface/datasets/issues/6912
Add MedImg for streaming
Hi ! Feel free to download the dataset and create a `Dataset` object with it. Then your'll be able to use `push_to_hub()` to upload the dataset to HF in Parquet format and make it streamable :)
### Feature request Host the MedImg dataset (similar to Imagenet but for biomedical images). ### Motivation There is a clear need for biomedical image foundation models and large scale biomedical datasets that are easily streamable. This would be an excellent tool for the biomedical community. ### Your contribution MedImg can be found [here](https://www.cuilab.cn/medimg/#).
36
Add MedImg for streaming ### Feature request Host the MedImg dataset (similar to Imagenet but for biomedical images). ### Motivation There is a clear need for biomedical image foundation models and large scale biomedical datasets that are easily streamable. This would be an excellent tool for the biomedical community. ### Your contribution MedImg can be found [here](https://www.cuilab.cn/medimg/#). Hi ! Feel free to download the dataset and create a `Dataset` object with it. Then your'll be able to use `push_to_hub()` to upload the dataset to HF in Parquet format and make it streamable :)
[ -0.4164353907108307, -0.25585418939590454, -0.04407283291220665, -0.28593242168426514, -0.01625608280301094, 0.010793253779411316, 0.14317403733730316, 0.29300716519355774, 0.07656009495258331, 0.19295969605445862, -0.0932362750172615, -0.12234219908714294, -0.23415006697177887, 0.4246217906475067, 0.3545006513595581, -0.11997492611408234, 0.045008584856987, 0.27261093258857727, -0.019196800887584686, -0.0722508579492569, 0.07409323751926422, -0.0647084042429924, -0.12630772590637207, 0.008364945650100708, 0.17985135316848755, -0.06910531967878342, -0.08395508676767349, 0.12743425369262695, -0.2982478737831116, -0.1373642235994339, -0.14764107763767242, 0.26069310307502747, 0.03604904189705849, 0.2189725935459137, -0.00010170623863814399, -0.09884977340698242, 0.0065260156989097595, -0.004407700151205063, -0.2771231234073639, -0.11407613754272461, 0.03749909996986389, -0.11990199983119965, -0.2025025337934494, -0.1418466567993164, -0.10279671102762222, -0.17727315425872803, 0.2766784429550171, 0.05674003064632416, 0.19589093327522278, 0.170575350522995, 0.23005515336990356, 0.1926669329404831, -0.1615239828824997, -0.035218462347984314, 0.17799408733844757, 0.26705223321914673, -0.2379567176103592, 0.045872315764427185, 0.3502758741378784, 0.0700073391199112, -0.010036982595920563, 0.4768437147140503, -0.21882769465446472, -0.11778898537158966, 0.30050867795944214, -0.06859882920980453, -0.042206212878227234, -0.36785563826560974, -0.1801576316356659, 0.3686523139476776, 0.0908612459897995, -0.19425460696220398, -0.12575234472751617, -0.011966798454523087, 0.014313340187072754, -0.15572808682918549, -0.32538843154907227, 0.39924928545951843, -0.04969565197825432, 0.04955460503697395, -0.18175576627254486, -0.35887351632118225, -0.4295169711112976, 0.11777699738740921, 0.10884988307952881, 0.0058569759130477905, 0.02399595081806183, -0.0383434072136879, -0.12080556154251099, 0.1059429869055748, 0.23461399972438812, -0.1012156754732132, 0.07336173951625824, -0.06309696286916733, -0.23987750709056854, -0.14859193563461304, -0.2333144247531891, 0.1302337646484375, 0.4338756501674652, -0.23496590554714203, 0.1035042256116867, 0.06459876894950867, 0.10581996291875839, 0.24370530247688293, 0.00043915584683418274, -0.49345073103904724, -0.40985801815986633, 0.0060890428721904755, 0.038531575351953506, 0.24755176901817322, -0.05518755316734314, -0.08464863151311874, 0.1354960948228836, 0.4385559856891632, -0.10901689529418945, -0.4225563108921051, -0.09041202068328857, -0.12151678651571274, 0.05462748557329178, -0.05452676862478256, 0.20537462830543518, 0.23503784835338593, 0.027984632179141045, 0.22049489617347717, -0.12324021011590958, 0.09310224652290344, 0.09568007290363312, 0.20540624856948853, -0.050607576966285706, -0.4414302110671997, -0.07529129087924957, 0.022082051262259483, -0.042751893401145935, 0.26993435621261597, 0.045787084847688675, -0.13839559257030487, -0.07485003024339676, -0.07378192245960236, 0.5711207389831543, 0.20612913370132446, 0.3337225914001465, -0.09651264548301697, 0.2616671323776245, 0.20383208990097046, 0.05338939651846886, -0.23392456769943237, 0.05631595104932785, 0.08524708449840546, -0.05589975416660309, -0.2461388111114502, -0.2852157950401306, -0.29470258951187134, -0.386959969997406, 0.18737617135047913, 0.257254958152771, 0.059538379311561584, -0.28310298919677734, 0.29025304317474365, -0.5339632630348206, -0.409421443939209, -0.20301315188407898, 0.11481864750385284, -0.21413901448249817, -0.17782776057720184, 0.262533575296402, 0.10159044712781906, -0.09377865493297577, -0.02924308553338051, -0.16630692780017853, 0.30382677912712097, 0.1663273721933365, -0.008854541927576065, -0.1100224107503891, 0.03167156130075455, -0.1473781168460846, 0.2630550265312195, 0.3467293083667755, -0.3591926097869873, -0.21952617168426514, 0.11149684339761734, -0.08545362204313278, -0.1780862659215927, 0.014162890613079071, 0.46186840534210205, 0.6045453548431396, -0.1234745904803276, -0.20671206712722778, 0.5846301317214966, -0.08452154695987701, 0.15932366251945496, -0.10724256932735443, -0.3613845109939575, -0.24367345869541168, 0.45926371216773987, 0.11880490183830261, 0.07900107651948929, 0.3859785795211792, 0.18513135612010956, 0.3425050973892212, -0.18547269701957703, 0.11652059108018875, -0.17301076650619507, 0.2500799000263214, 0.1208098828792572, -0.04091500863432884, -0.21115773916244507, -0.12972214818000793, -0.06963218748569489, -0.07847034186124802, 0.26792508363723755, -0.07386142015457153, -0.22428517043590546, 0.05850163847208023, -0.040591880679130554, 0.1289549171924591, -0.011017609387636185, 0.26368725299835205, 0.09527105838060379, -0.24217821657657623, 0.014768023043870926, -0.3094716966152191, 0.679166853427887, -0.20243138074874878, 0.08551628142595291, -0.05029736086726189, 0.6756818294525146, -0.06598454713821411, -0.0771620124578476, 0.21125003695487976, -0.19838961958885193, -0.04879844933748245, 0.15844500064849854, 0.13292929530143738, 0.37008389830589294, -0.2933763265609741, 0.2264421284198761, 0.5108038783073425, 0.33170920610427856, 0.20281122624874115, -0.5794548988342285, 0.29710426926612854, -0.2526264488697052, 0.00005482137203216553, 0.08540535718202591, -0.1445750892162323, -0.02217911183834076, 0.23115848004817963, 0.03565291687846184, 0.054681211709976196, 0.1269422322511673, 0.050677590072155, -0.007713973522186279, -0.14266753196716309, -0.017587073147296906, -0.04236985370516777, 0.07351727783679962, -0.34932741522789, -0.4767104387283325, -0.37218859791755676, 0.25280851125717163, 0.3490164279937744, 0.02997816726565361, 0.10906857997179031, 0.062293123453855515, -0.149716317653656, -0.0963173359632492, 0.33621418476104736, -0.08973556756973267, -0.07878075540065765, 0.3921166658401489, -0.06970493495464325, 0.2670077681541443, -0.047125451266765594, 0.03708995133638382, 0.11039017885923386, -0.08618825674057007, -0.012023994699120522, -0.09878764301538467, 0.0878131315112114, -0.04245063289999962, -0.38523563742637634, -0.13371139764785767, -0.1228286400437355, -0.2581251561641693, -0.003058493137359619, 0.06823184341192245, 0.017707454040646553, -0.2098146378993988, 0.2828828692436218, 0.1913163810968399, -0.2478475272655487, -0.1999974548816681, 0.15819014608860016, 0.29341551661491394, 0.20907874405384064, -0.005116987973451614, -0.4227202832698822, 0.7195109724998474, -0.13227707147598267, 0.02923830784857273, -0.24505752325057983, 0.15275587141513824, 0.007397422567009926, 0.17924880981445312, -0.19466494023799896, 0.2827123701572418, 0.5892956256866455, 0.030632151290774345, 0.1701543778181076, -0.3719879686832428, -0.2729911208152771, 0.32001522183418274, 0.0037434957921504974, 0.22575785219669342, -0.020726986229419708, 0.3417385220527649, -0.08935841172933578, 0.0335409976541996, -0.023690206930041313, -0.20584695041179657, 0.10539098083972931, 0.09981212764978409, 0.0118391839787364, 0.10906744748353958, 0.11516006290912628, 0.16606703400611877, -0.3784196078777313, -0.5100342035293579, -0.3255718946456909, -0.09033200144767761, 0.13809549808502197, -0.03709868714213371, 0.09847576916217804, -0.10655950009822845, -0.19546924531459808, 0.06008913367986679, -0.20488525927066803, -0.4729050099849701, 0.2647259533405304, -0.2742241322994232, -0.2941147983074188, -0.05841325223445892, 0.16769032180309296, 0.104596346616745, 0.36030709743499756, -0.6070225238800049, -0.08737627416849136, 0.25805339217185974, 0.06894755363464355, 0.10436473041772842, -0.04566559940576553, 0.07304759323596954, -0.03708108142018318, -0.1304331123828888, -0.20479735732078552, -0.04089084640145302, -0.2256174385547638, 0.305446058511734, 0.13763007521629333, 0.1742161214351654, 0.2670241594314575, 0.22698447108268738, 0.20504415035247803, 0.043040093034505844, -0.06223347410559654, 0.5824508666992188, -0.010469747707247734, 0.183268204331398, -0.11103980988264084, -0.12915921211242676, 0.2636537253856659, -0.09798718988895416, -0.020220795646309853, 0.19266065955162048, 0.10068253427743912, -0.13758565485477448, -0.16233696043491364, -0.08072413504123688, -0.40760496258735657, -0.11234763264656067, 0.07995675504207611, 0.11725256592035294, 0.2848048210144043, -0.11084254086017609, -0.31843453645706177, -0.14086280763149261, -0.2484200894832611, 0.2535957396030426, 0.4413537383079529, 0.26159974932670593, 0.07245583087205887, 0.15893615782260895, 0.3224756121635437, -0.21970754861831665, 0.0226309671998024, -0.17486684024333954, -0.14894935488700867, -0.27799203991889954, 0.003262083977460861, 0.010047227144241333, -0.1278422623872757, 0.31576043367385864, -0.7029335498809814, 0.0069267526268959045, -0.14740149676799774, 0.15560579299926758, -0.1556066870689392, 0.05192765220999718, -0.0016231536865234375, -0.19463656842708588, -0.020124714821577072, 0.5420145988464355, -0.3307839035987854, -0.025565551593899727, 0.20146118104457855, -0.057193610817193985, -0.1645755022764206, -0.14098192751407623, 0.04377339407801628, -0.01051868125796318, -0.2524445056915283, -0.07649021595716476, -0.13440698385238647, -0.1814362108707428, 0.255145788192749, -0.2503603994846344, 0.038591548800468445, 0.1469835340976715, -0.0010398998856544495, 0.18595176935195923, 0.0820913314819336, 0.08955380320549011, -0.04214662313461304, 0.10642071813344955, 0.2039325088262558, -0.00883142463862896, 0.3323335349559784, 0.032372891902923584, -0.09402506053447723, 0.05309321731328964, 0.053820427507162094, 0.0541297011077404, 0.2673461139202118, 0.35752999782562256, 0.13530871272087097, 0.6161631345748901, 0.3854749798774719, -0.3689423203468323, 0.24920494854450226, 0.39467835426330566, -0.3441467881202698, -0.2527438700199127, -0.3501024842262268, 0.40994149446487427, -0.08488227427005768, 0.004871450364589691, 0.22134891152381897, 0.3862253427505493, -0.014321250841021538, 0.24577604234218597, 0.391019344329834, 1.0780110359191895, -0.13965938985347748, 0.13072727620601654, -0.059188880026340485, -0.5012676119804382, 0.11042551696300507, -0.5756940245628357, -0.03171367198228836, -0.2479507476091385, -0.34700995683670044, -0.1978434920310974, -0.0016482770442962646, -0.1320396363735199, 0.07496140152215958, -0.3853587806224823, 0.03405388817191124, 0.30433887243270874, 0.3706398010253906, 0.029292624443769455, 0.32189688086509705, -0.12721505761146545, -0.4446375370025635, -0.24921688437461853, 0.2898133397102356, -0.1469043642282486, -0.3053058981895447, -0.08368078619241714, -0.3650315999984741, 0.2334364354610443, 0.13044238090515137, -0.04577875882387161, 0.2506980299949646, 0.024256642907857895, -0.04447610676288605, -0.5920310020446777, 0.11462324857711792, -0.18756403028964996, -0.3733753263950348, 0.010561317205429077, 0.23119258880615234, -0.14263273775577545, 0.11940839886665344, 0.06776080280542374, -0.04845685511827469, -0.18302714824676514, -0.1980293244123459, 0.37322354316711426, -0.32314515113830566, -0.17053520679473877, 0.26492369174957275, 0.23519247770309448, -0.3316720128059387, -0.08942146599292755, -0.10624387860298157, 0.42121297121047974, 0.16422909498214722, 0.19145594537258148, 0.22908318042755127, -0.1369883269071579, -0.025521546602249146, 0.16526052355766296, -0.05750812590122223, -0.0762673169374466, 0.05654709413647652, 0.21293647587299347, 0.05928395688533783, -0.19973745942115784, -0.025931738317012787, 0.04863038659095764, 0.09736795723438263, -0.12389349937438965, 0.09464964270591736, -0.23819316923618317, -0.2115214765071869, -0.1633726954460144, 0.2088242769241333, -0.335467129945755, -0.1722538322210312, -0.19105245172977448, -0.21546140313148499, -0.06726896017789841, -0.009615723043680191, 0.08217334747314453, -0.4658215045928955, -0.24719680845737457, -0.05361179634928703, -0.23264695703983307, 0.22570966184139252, -0.18008139729499817, 0.24472294747829437, 0.21104466915130615, -0.30095160007476807, 0.0009599309414625168, 0.025350777432322502, -0.445695698261261, 0.0022894907742738724, 0.031987667083740234, -0.00073997862637043, -0.07942656427621841, 0.0829019546508789, 0.137948140501976, -0.04075801745057106, 0.15704345703125, -0.06628935784101486, -0.34770581126213074, -0.21409478783607483, -0.13032600283622742, 0.07746770977973938, 0.19910335540771484, -0.027202190831303596, -0.1994958519935608, -0.28579944372177124, -0.25081706047058105, 0.02719222940504551, 0.2452162802219391, -0.17688316106796265, -0.0051716044545173645, -0.2357081025838852, 0.3890056014060974, -0.32698768377304077, 0.1330696940422058, 0.2124861478805542, 0.2103216052055359, 0.26115942001342773, 0.053995776921510696, -0.06817986071109772, 0.06461644917726517, -0.2702866792678833, -0.07017017900943756, 0.4134886860847473, 0.20011058449745178, -0.04762141406536102, 0.6092034578323364, 0.021748613566160202, 0.005039706826210022, -0.1495129019021988, 0.4180857837200165, -0.11141988635063171, -0.1620464026927948, -0.1335742175579071, 0.06667719781398773, 0.282737135887146, -0.17061921954154968, -0.19319204986095428, -0.055841121822595596, -0.11053530871868134, 0.24115771055221558, 0.11623071879148483, 0.3080013692378998, 0.16635213792324066, -0.4301263093948364, 0.069547638297081, 0.43425601720809937, -0.07784052938222885, -0.03687930852174759, 0.020469125360250473, 0.12483741343021393, 0.14993412792682648, -0.278901070356369, 0.09579235315322876, 0.016637146472930908, 0.20394867658615112, 0.06397070735692978, 0.42383211851119995, 0.38430020213127136, -0.06749457120895386, 0.35216864943504333, 0.2714498043060303, 0.08515358716249466, 0.06507908552885056, 0.1089644581079483, 0.3322850167751312, 0.020463064312934875, -0.22045376896858215, 0.26640358567237854, -0.4259171783924103, -0.12560425698757172, 0.29461127519607544, 0.24778351187705994, 0.29939162731170654, -0.23931416869163513, -0.010868392884731293, -0.23351070284843445, 0.023045767098665237, 0.12230584025382996, -0.05386858433485031, 0.0419326052069664, 0.30388015508651733, 0.20275110006332397, 0.14127252995967865, -0.19392231106758118, 0.37372463941574097, 0.28629744052886963, -0.18873555958271027, -0.025647373870015144, 0.23941922187805176, 0.15094731748104095, 0.299030601978302, 0.30790629982948303, 0.2983158528804779, 0.07997997105121613, 0.052763212472200394, 0.18970564007759094, 0.2886601686477661, -0.12868832051753998, 0.005288161337375641, -0.24684756994247437, 0.10410363227128983, 0.1497190296649933, 0.2894412577152252, 0.23254013061523438, -0.2135973423719406, -0.049012187868356705, -0.21685023605823517, -0.07614043354988098, -0.032695427536964417, -0.19965660572052002, 0.265438050031662, 0.027602538466453552, -0.23638641834259033, -0.07476115971803665, -0.5479507446289062, 0.204557865858078, 0.3604201674461365, -0.3070579469203949, 0.0496579110622406, -0.015965625643730164, 0.14333567023277283, 0.08555276691913605, 0.39719465374946594, 0.22859714925289154, 0.08551501482725143, 0.05072030797600746, -0.33739161491394043, -0.32616445422172546, 0.04033050686120987, -0.33375799655914307, -0.13505855202674866, 0.1316060572862625, 0.17721161246299744, 0.33775943517684937, -0.0056331828236579895, 0.06982126832008362, -0.1831832230091095, -0.23937228322029114, 0.32755064964294434, -0.09787750244140625, 0.004330873489379883, 0.1566862165927887, 0.4328160583972931, -0.13055488467216492, -0.07258252799510956, 0.26503393054008484, 0.20946629345417023, 0.23329231142997742, 0.15400098264217377, 0.03293628245592117, -0.08238638937473297, -0.5034688711166382, 0.5403183102607727, -0.16849519312381744, -0.014693588018417358, -0.4417755603790283, -0.43173056840896606, -0.08094611763954163, 0.09756370633840561, -0.2780154347419739, -0.14598232507705688, 0.07863036543130875, 0.35125988721847534, 0.30333787202835083, -0.38387662172317505, -0.18590348958969116, -0.10243850946426392, -0.08239714056253433, -0.1994728446006775, -0.03055456094443798, -0.08041737973690033, 0.20719268918037415, 0.15989923477172852, -0.17940683662891388, 0.00515332818031311, -0.07368546724319458, -0.11144225299358368, -0.10589056462049484, -0.42236047983169556, 0.46371743083000183, 0.03041664883494377, -0.13427864015102386, -0.04080495238304138, 0.13623124361038208, -0.08072466403245926, 0.330759197473526, -0.5366234183311462, 0.06401600688695908, 0.11627472937107086, -0.06958890706300735, 0.26369616389274597, 0.4607813060283661, 0.2600639760494232, 0.06194399669766426, -0.07103170454502106, -0.1949004828929901, -0.08576654642820358, -0.257267028093338, -0.06379431486129761, -0.09692800045013428 ]
https://github.com/huggingface/datasets/issues/6912
Add MedImg for streaming
> Hi ! Feel free to download the dataset and create a `Dataset` object with it. > > Then your'll be able to use `push_to_hub()` to upload the dataset to HF in Parquet format and make it streamable :) The dataset is several TB in total, which I do not have the resources to handle.
### Feature request Host the MedImg dataset (similar to Imagenet but for biomedical images). ### Motivation There is a clear need for biomedical image foundation models and large scale biomedical datasets that are easily streamable. This would be an excellent tool for the biomedical community. ### Your contribution MedImg can be found [here](https://www.cuilab.cn/medimg/#).
55
Add MedImg for streaming ### Feature request Host the MedImg dataset (similar to Imagenet but for biomedical images). ### Motivation There is a clear need for biomedical image foundation models and large scale biomedical datasets that are easily streamable. This would be an excellent tool for the biomedical community. ### Your contribution MedImg can be found [here](https://www.cuilab.cn/medimg/#). > Hi ! Feel free to download the dataset and create a `Dataset` object with it. > > Then your'll be able to use `push_to_hub()` to upload the dataset to HF in Parquet format and make it streamable :) The dataset is several TB in total, which I do not have the resources to handle.
[ -0.41037753224372864, -0.2665448784828186, -0.044674526900053024, -0.2591034173965454, -0.020679425448179245, 0.02880268543958664, 0.16566380858421326, 0.2962283194065094, 0.07153855264186859, 0.18816135823726654, -0.0778123140335083, -0.12670128047466278, -0.27610868215560913, 0.4179266095161438, 0.35212063789367676, -0.13176767528057098, 0.04541013762354851, 0.26047617197036743, -0.03350485861301422, -0.0719728097319603, 0.081387460231781, -0.052914880216121674, -0.15099740028381348, -0.013755470514297485, 0.18083663284778595, -0.06598770618438721, -0.0836932510137558, 0.12917166948318481, -0.3142958879470825, -0.12957553565502167, -0.15783853828907013, 0.2205425351858139, 0.02684822306036949, 0.24040332436561584, -0.00010169354936806485, -0.1246194839477539, 0.00005964934825897217, -0.018568579107522964, -0.3024001121520996, -0.10393857955932617, 0.05614206939935684, -0.1260833889245987, -0.22734537720680237, -0.1539078652858734, -0.10270695388317108, -0.17641696333885193, 0.2411830723285675, 0.041055887937545776, 0.18902508914470673, 0.1759251207113266, 0.2321263998746872, 0.19087524712085724, -0.1455414742231369, -0.044149260967969894, 0.16547465324401855, 0.25907188653945923, -0.2444915473461151, 0.06180870160460472, 0.3819153904914856, 0.07865223288536072, -0.0032447800040245056, 0.5052154064178467, -0.26953157782554626, -0.12715397775173187, 0.2858865261077881, -0.08025319129228592, -0.009153410792350769, -0.35899198055267334, -0.19297444820404053, 0.3727431893348694, 0.09480990469455719, -0.20327910780906677, -0.12734682857990265, -0.03027329593896866, 0.042833320796489716, -0.16561254858970642, -0.3188491761684418, 0.38315844535827637, -0.04768316447734833, 0.0674009844660759, -0.1858181357383728, -0.3414094150066376, -0.41233527660369873, 0.11479693651199341, 0.1217600554227829, -0.023982636630535126, -0.007188825868070126, -0.03466258943080902, -0.12856584787368774, 0.10831636935472488, 0.1849822998046875, -0.08451807498931885, 0.0852370634675026, -0.06941971182823181, -0.2538394331932068, -0.15670359134674072, -0.2346334457397461, 0.12733446061611176, 0.4307059645652771, -0.1893295794725418, 0.1072223111987114, 0.03761245310306549, 0.13143442571163177, 0.24717694520950317, -0.026742156594991684, -0.47154784202575684, -0.46220237016677856, -0.00827061664313078, 0.011866956949234009, 0.22583742439746857, -0.0598660483956337, -0.06931677460670471, 0.12236079573631287, 0.43172287940979004, -0.11596006155014038, -0.4119323492050171, -0.09572624415159225, -0.11528635025024414, 0.06913717836141586, -0.07262562960386276, 0.21288949251174927, 0.21530237793922424, 0.031205713748931885, 0.17327821254730225, -0.13080929219722748, 0.10166680067777634, 0.10884512960910797, 0.18143489956855774, -0.0367315337061882, -0.4560011327266693, -0.06924604624509811, 0.01020994782447815, -0.04914514720439911, 0.27541667222976685, 0.06861227750778198, -0.12313693761825562, -0.08511168509721756, -0.05962710082530975, 0.5672867894172668, 0.19687983393669128, 0.3298702538013458, -0.07883089780807495, 0.27043575048446655, 0.21444103121757507, 0.011870503425598145, -0.22621861100196838, 0.0542067289352417, 0.10927250981330872, -0.05618774890899658, -0.24307143688201904, -0.2784205377101898, -0.3127835988998413, -0.42751267552375793, 0.1849149912595749, 0.23101769387722015, 0.07328712940216064, -0.2852257490158081, 0.2945103943347931, -0.5333350300788879, -0.42072880268096924, -0.1888016164302826, 0.12644875049591064, -0.23232309520244598, -0.17693766951560974, 0.28068870306015015, 0.09608739614486694, -0.041782740503549576, -0.0489952452480793, -0.16981031000614166, 0.3240435719490051, 0.1845935583114624, 0.006189174950122833, -0.09528745710849762, 0.01678530126810074, -0.14009664952754974, 0.2397070676088333, 0.3368094563484192, -0.34226858615875244, -0.23300819098949432, 0.11810174584388733, -0.11901286244392395, -0.19663874804973602, 0.026859812438488007, 0.44504132866859436, 0.6170245409011841, -0.13544930517673492, -0.21316799521446228, 0.6139697432518005, -0.08654133230447769, 0.1486039161682129, -0.1558227837085724, -0.3805328905582428, -0.25519436597824097, 0.4621080756187439, 0.10664496570825577, 0.04837634786963463, 0.37478938698768616, 0.19456982612609863, 0.3340705335140228, -0.1586787849664688, 0.12211797386407852, -0.17945988476276398, 0.2295597791671753, 0.08528045564889908, -0.017274759709835052, -0.24621638655662537, -0.13593995571136475, -0.07821740210056305, -0.05344494432210922, 0.2892194390296936, -0.06005258858203888, -0.19946987926959991, 0.057987771928310394, -0.047697048634290695, 0.15907584130764008, 0.02581748552620411, 0.252962201833725, 0.10366322845220566, -0.2162102311849594, 0.010884679853916168, -0.31673434376716614, 0.6438068747520447, -0.20946432650089264, 0.10084347426891327, -0.06011432036757469, 0.6550494432449341, -0.0512724369764328, -0.0841318815946579, 0.24114152789115906, -0.17978054285049438, -0.07926013320684433, 0.15953846275806427, 0.1268833875656128, 0.33311110734939575, -0.33673492074012756, 0.2431495636701584, 0.47698283195495605, 0.3529253304004669, 0.20906727015972137, -0.6100044846534729, 0.29534950852394104, -0.2572667896747589, 0.014146673493087292, 0.09016720205545425, -0.13157039880752563, -0.03390046954154968, 0.20258155465126038, 0.050052572041749954, 0.043105967342853546, 0.14663159847259521, 0.025439279153943062, -0.026250503957271576, -0.15360581874847412, -0.026186466217041016, -0.029124949127435684, 0.08342127501964569, -0.35960960388183594, -0.4584856331348419, -0.34907135367393494, 0.2422177791595459, 0.3143370449542999, 0.004805237054824829, 0.11069701611995697, 0.05411536991596222, -0.1619201898574829, -0.10792604833841324, 0.30171453952789307, -0.09899022430181503, -0.07293166220188141, 0.3926744759082794, -0.03437702730298042, 0.25700241327285767, -0.025261394679546356, 0.039776310324668884, 0.1272120177745819, -0.06044338643550873, -0.014245549216866493, -0.07171418517827988, 0.08149923384189606, -0.013308771885931492, -0.35233795642852783, -0.13195376098155975, -0.09249559044837952, -0.24367237091064453, 0.0195440836250782, 0.05815029889345169, 0.03376191854476929, -0.19925004243850708, 0.2696002125740051, 0.1488046497106552, -0.23685571551322937, -0.1605357527732849, 0.14650395512580872, 0.26500508189201355, 0.2140486240386963, -0.0046777306124567986, -0.44695866107940674, 0.7184340357780457, -0.13747134804725647, -0.0029647648334503174, -0.23414011299610138, 0.15571938455104828, 0.011951306834816933, 0.18247678875923157, -0.15964968502521515, 0.28922948241233826, 0.5862410664558411, 0.01307980902493, 0.17741793394088745, -0.3435749411582947, -0.28641173243522644, 0.312912255525589, -0.009768910706043243, 0.2424568086862564, -0.015994161367416382, 0.33771848678588867, -0.07402382045984268, 0.04591343179345131, -0.024316061288118362, -0.22171896696090698, 0.11523352563381195, 0.1041022464632988, 0.007751717232167721, 0.11876681447029114, 0.10138246417045593, 0.151250422000885, -0.3714085519313812, -0.5087786316871643, -0.3002650737762451, -0.10677888989448547, 0.14734597504138947, -0.028390314429998398, 0.11837786436080933, -0.10211852937936783, -0.18369276821613312, 0.11518559604883194, -0.189716637134552, -0.49353712797164917, 0.2718387842178345, -0.2387673556804657, -0.25549235939979553, -0.06504780054092407, 0.1532798558473587, 0.12490952014923096, 0.3425372838973999, -0.6161413192749023, -0.033432427793741226, 0.25757691264152527, 0.04712313041090965, 0.10088643431663513, -0.03987500071525574, 0.06131317466497421, -0.032336343079805374, -0.13534915447235107, -0.1819228231906891, -0.05069897696375847, -0.24693700671195984, 0.30442723631858826, 0.15688341856002808, 0.17980635166168213, 0.24944502115249634, 0.2344980239868164, 0.1972419023513794, 0.05825800076127052, -0.030858252197504044, 0.535720944404602, 0.015311735682189465, 0.1738288849592209, -0.10215773433446884, -0.16386860609054565, 0.2988705039024353, -0.10387614369392395, -0.02806471474468708, 0.2050478756427765, 0.12964630126953125, -0.13856251537799835, -0.16112977266311646, -0.09676310420036316, -0.3969891369342804, -0.12611249089241028, 0.10938244313001633, 0.1264612078666687, 0.2778640389442444, -0.14175330102443695, -0.3456934094429016, -0.14426332712173462, -0.2410328984260559, 0.2470044493675232, 0.46594297885894775, 0.24825161695480347, 0.07987221330404282, 0.15056297183036804, 0.33983922004699707, -0.17960679531097412, 0.023815318942070007, -0.1894037127494812, -0.1446576565504074, -0.2658904194831848, -0.009960213676095009, -0.0002566725015640259, -0.09959504753351212, 0.3000031113624573, -0.6997222304344177, 0.0012530386447906494, -0.11968295276165009, 0.18485687673091888, -0.1524847000837326, 0.04710625484585762, 0.012365620583295822, -0.213102787733078, 0.0021668076515197754, 0.5576503276824951, -0.32512736320495605, -0.037209104746580124, 0.24722841382026672, -0.012051224708557129, -0.13342241942882538, -0.17167086899280548, 0.050365518778562546, -0.012451358139514923, -0.26418188214302063, -0.05090629309415817, -0.11300097405910492, -0.15933233499526978, 0.26181110739707947, -0.24006551504135132, 0.0295230895280838, 0.14388707280158997, 0.025962255895137787, 0.14504070580005646, 0.044806260615587234, 0.09012562036514282, -0.011151459068059921, 0.10656639188528061, 0.1854686290025711, -0.02752816490828991, 0.33549702167510986, 0.012111715972423553, -0.0745527595281601, 0.04607737809419632, 0.06869649887084961, 0.05866222828626633, 0.2640226483345032, 0.3613862991333008, 0.12539830803871155, 0.6394816637039185, 0.3964000344276428, -0.38508617877960205, 0.2512668967247009, 0.37129873037338257, -0.32539841532707214, -0.2740308344364166, -0.36603081226348877, 0.4054502546787262, -0.04793412238359451, -0.0015421658754348755, 0.24923521280288696, 0.35971081256866455, 0.00032312236726284027, 0.24265307188034058, 0.3869737386703491, 1.115373134613037, -0.159389466047287, 0.11283645033836365, -0.06501974165439606, -0.47694432735443115, 0.10617899894714355, -0.5555709600448608, -0.03396228328347206, -0.232212632894516, -0.369233101606369, -0.19248579442501068, -0.01011272519826889, -0.11110229045152664, 0.07655511051416397, -0.38664543628692627, 0.018913334235548973, 0.2966000437736511, 0.3938155174255371, 0.05831662565469742, 0.32734689116477966, -0.15034200251102448, -0.46697336435317993, -0.24131810665130615, 0.2809062898159027, -0.15487200021743774, -0.29405149817466736, -0.04460788518190384, -0.3930138945579529, 0.24109101295471191, 0.11647894978523254, -0.08085499703884125, 0.2502656877040863, -0.025245554745197296, -0.06001404672861099, -0.6048783659934998, 0.10758571326732635, -0.1620263010263443, -0.3885490894317627, -0.019084997475147247, 0.25398802757263184, -0.13882431387901306, 0.10370691120624542, 0.07220225036144257, -0.07872641831636429, -0.1865871250629425, -0.21404790878295898, 0.39249715209007263, -0.3116338849067688, -0.18616846203804016, 0.25135987997055054, 0.23284882307052612, -0.3040919899940491, -0.07662004977464676, -0.08389729261398315, 0.4748101234436035, 0.18431909382343292, 0.20044712722301483, 0.2218121439218521, -0.1657552868127823, -0.03440937399864197, 0.16397252678871155, -0.039500266313552856, -0.08911994844675064, 0.11344428360462189, 0.19033221900463104, 0.026350542902946472, -0.20594431459903717, -0.045657508075237274, 0.07058295607566833, 0.08226152509450912, -0.131631001830101, 0.11147822439670563, -0.22899934649467468, -0.22092920541763306, -0.17029741406440735, 0.19370603561401367, -0.3473135530948639, -0.15614905953407288, -0.17247608304023743, -0.21123307943344116, -0.05036460608243942, -0.010874669998884201, 0.1047874465584755, -0.4780012369155884, -0.26682212948799133, -0.04903016984462738, -0.24570344388484955, 0.2232883870601654, -0.18225447833538055, 0.2512606978416443, 0.2184416651725769, -0.3168686330318451, -0.007559817284345627, 0.03708019107580185, -0.44774046540260315, 0.03913257271051407, 0.04911593347787857, -0.005745604634284973, -0.07578033208847046, 0.04982785880565643, 0.16885854303836823, -0.0343816876411438, 0.1529795080423355, -0.07036261260509491, -0.31869301199913025, -0.2226233184337616, -0.12225224077701569, 0.0821416974067688, 0.1951589286327362, -0.03485104441642761, -0.1943102926015854, -0.28779685497283936, -0.25596916675567627, 0.01846226677298546, 0.23099187016487122, -0.17076894640922546, 0.010013304650783539, -0.2727806568145752, 0.3386532962322235, -0.3264620006084442, 0.13324211537837982, 0.22636854648590088, 0.19286292791366577, 0.24880610406398773, 0.06755629181861877, -0.0668264776468277, 0.07657525688409805, -0.2646029591560364, -0.0565914660692215, 0.40353313088417053, 0.18618029356002808, -0.05354683846235275, 0.6465365886688232, 0.015770088881254196, -0.0096559077501297, -0.1257152408361435, 0.3859414756298065, -0.1223466694355011, -0.15534797310829163, -0.12136346101760864, 0.050317633897066116, 0.2828429937362671, -0.17498598992824554, -0.1735783964395523, -0.065752312541008, -0.07750362902879715, 0.250902384519577, 0.13807463645935059, 0.32652589678764343, 0.12949474155902863, -0.4716756343841553, 0.06083682179450989, 0.4381922781467438, -0.05812728404998779, -0.026323378086090088, 0.04566594213247299, 0.1400187611579895, 0.1409922093153, -0.2724478840827942, 0.12505780160427094, 0.04248793423175812, 0.15934912860393524, 0.052588801831007004, 0.4269026219844818, 0.36974698305130005, -0.0813320130109787, 0.31945696473121643, 0.2743076980113983, 0.12690789997577667, 0.07426997274160385, 0.11969679594039917, 0.33362480998039246, 0.012306034564971924, -0.18727192282676697, 0.25754210352897644, -0.4163498878479004, -0.12683361768722534, 0.28213080763816833, 0.2587120831012726, 0.3213096857070923, -0.23837795853614807, 0.014460109174251556, -0.24008026719093323, 0.02230406552553177, 0.09406888484954834, -0.05909877270460129, 0.04545038938522339, 0.3200550079345703, 0.21352197229862213, 0.12779222428798676, -0.22539201378822327, 0.41881516575813293, 0.28250652551651, -0.218340665102005, -0.036621421575546265, 0.26140284538269043, 0.1593494713306427, 0.2898608446121216, 0.3043665587902069, 0.3262343406677246, 0.0847121924161911, 0.051712967455387115, 0.1773213893175125, 0.28669559955596924, -0.11465393006801605, -0.00042269565165042877, -0.20746169984340668, 0.08724841475486755, 0.1305682212114334, 0.2568306028842926, 0.22472341358661652, -0.2217942476272583, -0.08553631603717804, -0.2283596247434616, -0.09019726514816284, -0.034309469163417816, -0.21091702580451965, 0.2560839056968689, 0.031972624361515045, -0.2798525393009186, -0.053416140377521515, -0.5624867081642151, 0.22389329969882965, 0.4019012451171875, -0.3194141685962677, 0.03830678388476372, 0.008205605670809746, 0.14427243173122406, 0.10105261206626892, 0.3745916783809662, 0.2428712397813797, 0.089962437748909, 0.03422660753130913, -0.328512042760849, -0.3085361123085022, 0.025212109088897705, -0.30681008100509644, -0.11083987355232239, 0.13430136442184448, 0.1670452505350113, 0.36172741651535034, 0.016511397436261177, 0.07710409164428711, -0.18756519258022308, -0.2414768487215042, 0.33435285091400146, -0.0975424200296402, 0.008737515658140182, 0.15813878178596497, 0.4384651780128479, -0.11528586596250534, -0.07724908739328384, 0.2687761187553406, 0.21203960478305817, 0.23249277472496033, 0.1075485423207283, 0.023441262543201447, -0.10982923209667206, -0.46922871470451355, 0.5235997438430786, -0.16224977374076843, -0.02099565416574478, -0.4230364263057709, -0.45816874504089355, -0.09924286603927612, 0.14508603513240814, -0.2821039855480194, -0.1085488423705101, 0.08315639197826385, 0.3335900902748108, 0.27780550718307495, -0.38154834508895874, -0.18477310240268707, -0.13457195460796356, -0.07904864847660065, -0.21053902804851532, -0.04289755970239639, -0.09812570363283157, 0.21680283546447754, 0.17016816139221191, -0.1873786747455597, 0.010064426809549332, -0.06602413952350616, -0.10139086842536926, -0.11055132001638412, -0.41539135575294495, 0.4745502471923828, 0.02093048021197319, -0.1300942301750183, -0.07405959814786911, 0.1629713922739029, -0.07260940223932266, 0.340340256690979, -0.5694085359573364, 0.0752093568444252, 0.1206388920545578, -0.03833107650279999, 0.26997289061546326, 0.4826972186565399, 0.2683424949645996, 0.07894863188266754, -0.08387720584869385, -0.19262081384658813, -0.10404398292303085, -0.24106180667877197, -0.07975756376981735, -0.08217228949069977 ]
https://github.com/huggingface/datasets/issues/6908
Fail to load "stas/c4-en-10k" dataset since 2.16 version
I am not able to reproduce the error with datasets 2.19.1: ```python In [1]: from datasets import load_dataset; ds = load_dataset("stas/c4-en-10k", streaming=True); item = next(iter(ds["train"])); item Out[1]: {'text': 'Beginners BBQ Class Taking Place in Missoula!\nDo you want to get better at making delicious BBQ? You will have the opportunity, put this on your calendar now. Thursday, September 22nd join World Class BBQ Champion, Tony Balay from Lonestar Smoke Rangers. He will be teaching a beginner level class for everyone who wants to get better with their culinary skills.\nHe will teach you everything you need to know to compete in a KCBS BBQ competition, including techniques, recipes, timelines, meat selection and trimming, plus smoker and fire information.\nThe cost to be in the class is $35 per person, and for spectators it is free. Included in the cost will be either a t-shirt or apron and you will be tasting samples of each meat that is prepared.'} In [2]: from datasets import load_dataset; ds = load_dataset("stas/c4-en-10k", download_mode="force_redownload"); ds Downloading data: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 13.3M/13.3M [00:00<00:00, 18.7MB/s] Generating train split: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 10000/10000 [00:00<00:00, 78548.55 examples/s] Out[2]: DatasetDict({ train: Dataset({ features: ['text'], num_rows: 10000 }) }) ``` Looking at your error traceback, I notice that the code line numbers do not correspond to the ones of datasets 2.19.1. Additionally, I can't reproduce the issue with `HfFileSystem`: ```python In [1]: from huggingface_hub import HfFileSystem In [2]: fs = HfFileSystem() In [3]: with fs.open("datasets/stas/c4-en-10k/c4-en-10k.py", "rb") as f: ...: data = f.read() ...: In [4]: data[:20] Out[4]: b'# coding=utf-8\n# Cop' ``` Could you please verify the `datasets` and `huggingface_hub` versions you are indeed using? ```python import datasets; print(datasets.__version__) import huggingface_hub; print(huggingface_hub.__version__) ```
### Describe the bug When update datasets library to version 2.16+ ( I test it on 2.16, 2.19.0 and 2.19.1), using the following code to load stas/c4-en-10k dataset ```python from datasets import load_dataset, Dataset dataset = load_dataset('stas/c4-en-10k') ``` and then it raise UnicodeDecodeError like ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/*/conda3/envs/watermark/lib/python3.10/site-packages/datasets/load.py", line 2523, in load_dataset builder_instance = load_dataset_builder( File "/home/*/conda3/envs/watermark/lib/python3.10/site-packages/datasets/load.py", line 2195, in load_dataset_builder dataset_module = dataset_module_factory( File "/home/*/conda3/envs/watermark/lib/python3.10/site-packages/datasets/load.py", line 1846, in dataset_module_factory raise e1 from None File "/home/*/conda3/envs/watermark/lib/python3.10/site-packages/datasets/load.py", line 1798, in dataset_module_factory can_load_config_from_parquet_export = "DEFAULT_CONFIG_NAME" not in f.read() File "/home/*/conda3/envs/watermark/lib/python3.10/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte ``` I found that fs.open loads a gzip file and parses it like plain text using utf-8 encoder. ```python fs = HfFileSystem('https://huggingface.co') fs.open("datasets/stas/c4-en-10k/c4-en-10k.py", "rb") data = fs.read() # data is gzip bytes begin with b'\x1f\x8b\x08\x00\x00\tn\x88\x00...' data2 = unzip_gzip_bytes(data) # data2 is what we want: '# coding=utf-8\n# Copyright 2020 The HuggingFace Datasets...' ``` ### Steps to reproduce the bug 1. Install datasets between version 2.16 and 2.19 2. Use `datasets.load_dataset` method to load `stas/c4-en-10k` dataset. ### Expected behavior Load dataset normally. ### Environment info Platform = Linux-5.4.0-159-generic-x86_64-with-glibc2.35 Python = 3.10.14 Datasets = 2.19
273
Fail to load "stas/c4-en-10k" dataset since 2.16 version ### Describe the bug When update datasets library to version 2.16+ ( I test it on 2.16, 2.19.0 and 2.19.1), using the following code to load stas/c4-en-10k dataset ```python from datasets import load_dataset, Dataset dataset = load_dataset('stas/c4-en-10k') ``` and then it raise UnicodeDecodeError like ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/*/conda3/envs/watermark/lib/python3.10/site-packages/datasets/load.py", line 2523, in load_dataset builder_instance = load_dataset_builder( File "/home/*/conda3/envs/watermark/lib/python3.10/site-packages/datasets/load.py", line 2195, in load_dataset_builder dataset_module = dataset_module_factory( File "/home/*/conda3/envs/watermark/lib/python3.10/site-packages/datasets/load.py", line 1846, in dataset_module_factory raise e1 from None File "/home/*/conda3/envs/watermark/lib/python3.10/site-packages/datasets/load.py", line 1798, in dataset_module_factory can_load_config_from_parquet_export = "DEFAULT_CONFIG_NAME" not in f.read() File "/home/*/conda3/envs/watermark/lib/python3.10/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte ``` I found that fs.open loads a gzip file and parses it like plain text using utf-8 encoder. ```python fs = HfFileSystem('https://huggingface.co') fs.open("datasets/stas/c4-en-10k/c4-en-10k.py", "rb") data = fs.read() # data is gzip bytes begin with b'\x1f\x8b\x08\x00\x00\tn\x88\x00...' data2 = unzip_gzip_bytes(data) # data2 is what we want: '# coding=utf-8\n# Copyright 2020 The HuggingFace Datasets...' ``` ### Steps to reproduce the bug 1. Install datasets between version 2.16 and 2.19 2. Use `datasets.load_dataset` method to load `stas/c4-en-10k` dataset. ### Expected behavior Load dataset normally. ### Environment info Platform = Linux-5.4.0-159-generic-x86_64-with-glibc2.35 Python = 3.10.14 Datasets = 2.19 I am not able to reproduce the error with datasets 2.19.1: ```python In [1]: from datasets import load_dataset; ds = load_dataset("stas/c4-en-10k", streaming=True); item = next(iter(ds["train"])); item Out[1]: {'text': 'Beginners BBQ Class Taking Place in Missoula!\nDo you want to get better at making delicious BBQ? You will have the opportunity, put this on your calendar now. Thursday, September 22nd join World Class BBQ Champion, Tony Balay from Lonestar Smoke Rangers. He will be teaching a beginner level class for everyone who wants to get better with their culinary skills.\nHe will teach you everything you need to know to compete in a KCBS BBQ competition, including techniques, recipes, timelines, meat selection and trimming, plus smoker and fire information.\nThe cost to be in the class is $35 per person, and for spectators it is free. Included in the cost will be either a t-shirt or apron and you will be tasting samples of each meat that is prepared.'} In [2]: from datasets import load_dataset; ds = load_dataset("stas/c4-en-10k", download_mode="force_redownload"); ds Downloading data: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 13.3M/13.3M [00:00<00:00, 18.7MB/s] Generating train split: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 10000/10000 [00:00<00:00, 78548.55 examples/s] Out[2]: DatasetDict({ train: Dataset({ features: ['text'], num_rows: 10000 }) }) ``` Looking at your error traceback, I notice that the code line numbers do not correspond to the ones of datasets 2.19.1. Additionally, I can't reproduce the issue with `HfFileSystem`: ```python In [1]: from huggingface_hub import HfFileSystem In [2]: fs = HfFileSystem() In [3]: with fs.open("datasets/stas/c4-en-10k/c4-en-10k.py", "rb") as f: ...: data = f.read() ...: In [4]: data[:20] Out[4]: b'# coding=utf-8\n# Cop' ``` Could you please verify the `datasets` and `huggingface_hub` versions you are indeed using? ```python import datasets; print(datasets.__version__) import huggingface_hub; print(huggingface_hub.__version__) ```
[ -0.42146602272987366, 0.3764933943748474, -0.07404647767543793, 0.36731088161468506, 0.4450117349624634, -0.05591262876987457, 0.2454860359430313, 0.30949077010154724, -0.20614676177501678, -0.0361345112323761, -0.0010704058222472668, 0.3222656548023224, -0.11977250128984451, 0.1919136345386505, 0.10070402175188065, 0.1461528092622757, 0.09009310603141785, 0.15275084972381592, -0.2393588125705719, 0.02909635752439499, -0.1844346970319748, 0.16989965736865997, -0.06656120717525482, 0.02641749382019043, 0.012540450319647789, -0.06312797218561172, 0.1807003617286682, 0.18421903252601624, -0.1207394078373909, -0.7738022804260254, 0.2486961930990219, 0.12332136929035187, 0.5087645053863525, 0.5234087109565735, -0.00012076660641469061, -0.0297243595123291, 0.4660956859588623, -0.058570705354213715, -0.5225491523742676, -0.13056744635105133, -0.3983694314956665, -0.1323731541633606, -0.04810921102762222, -0.032801248133182526, -0.014248432591557503, -0.3032413125038147, -0.12593352794647217, -1.0723556280136108, 0.0649183988571167, 0.3722001910209656, 0.2066199779510498, 0.07006650418043137, 0.13796904683113098, 0.12514102458953857, -0.07000311464071274, -0.11888359487056732, 0.15869511663913727, 0.11438392102718353, 0.2118908166885376, 0.16039015352725983, -0.060024626553058624, 0.2923983335494995, 0.009824564680457115, -0.08295193314552307, 0.053372640162706375, -0.09786681830883026, 0.03774459287524223, -0.14969100058078766, 0.5942685008049011, 0.06241481751203537, 0.6034812331199646, -0.2370780110359192, -0.5183154344558716, 0.09885532408952713, -0.02097282186150551, -0.29601725935935974, 0.3343432545661926, 0.07329703867435455, 0.17562070488929749, 0.05893555283546448, 0.03413670137524605, -0.1991957426071167, -0.12856242060661316, -0.001525089144706726, -0.035013966262340546, 0.13883142173290253, -0.19441114366054535, 0.07474828511476517, -0.07709841430187225, -0.4168189764022827, -0.03030075877904892, 0.006691925227642059, -0.15091082453727722, 0.4261482357978821, -0.30368879437446594, 0.2237977683544159, -0.08655152469873428, -0.18753790855407715, 0.061728447675704956, -0.05441395938396454, 0.023227408528327942, 0.08802735805511475, -0.12485236674547195, -0.10899453610181808, 0.1220899373292923, 0.12779907882213593, 0.18133985996246338, 0.10523658990859985, 0.392747700214386, 0.1972939819097519, 0.11885058879852295, -0.03033764660358429, -0.14152124524116516, -0.00910987425595522, -0.10348019003868103, 0.16989821195602417, 0.43191587924957275, -0.2586217224597931, -0.3026459515094757, 0.3818835914134979, -0.1015767753124237, -0.23711305856704712, -0.15227073431015015, 0.19539503753185272, -0.16855598986148834, 0.4325200021266937, 0.09042064845561981, 0.10103059560060501, -0.13703584671020508, -0.12371066957712173, -0.1571936011314392, -0.20657992362976074, 0.11972469091415405, 0.05465623736381531, 0.030603189021348953, -0.6226823329925537, 0.19600427150726318, 0.2060348391532898, -0.15170413255691528, 0.1385732740163803, -0.28870904445648193, -0.06480526924133301, -0.04299025982618332, 0.11390987038612366, -0.16322851181030273, 0.2257988452911377, -0.0034327954053878784, -0.48671960830688477, 0.03078032284975052, 0.1581740528345108, -0.011841073632240295, -0.1446235179901123, -0.43436264991760254, 0.1654253453016281, 0.10512465238571167, 0.05699563026428223, -0.42882105708122253, 0.11706167459487915, 0.15268684923648834, -0.015978770330548286, -0.03574959188699722, -0.14752399921417236, -0.028811868280172348, -0.05647256225347519, 0.3303025960922241, 0.546800971031189, -0.45498883724212646, 0.07109585404396057, 0.10311959683895111, 0.03596675023436546, 0.29879987239837646, 0.010812792927026749, 0.07622315734624863, -0.2944125235080719, -0.2814927101135254, 0.014360465109348297, 0.12160508334636688, -0.2651378810405731, -0.21277329325675964, 0.23492644727230072, 0.11189080774784088, 0.13549283146858215, 0.13595062494277954, -0.32933375239372253, 0.26685234904289246, -0.0005961338756605983, 0.0224202461540699, 0.11197150498628616, -0.026206819340586662, 0.10197681933641434, -0.2080863118171692, -0.3639965057373047, 0.49153387546539307, 0.19855137169361115, 0.09210534393787384, -0.09878670424222946, 0.3514021933078766, 0.052392080426216125, 0.2779111862182617, -0.17833013832569122, 0.01914680190384388, 0.024466268718242645, 0.2225019335746765, -0.1092471331357956, 0.20832476019859314, -0.18766942620277405, -0.37157654762268066, 0.18940427899360657, 0.17007344961166382, -0.021987833082675934, -0.19959194958209991, -0.020345663651823997, -0.12357887625694275, 0.017608853057026863, -0.16080701351165771, -0.13673973083496094, 0.07351843267679214, 0.33952781558036804, -0.10124768316745758, 0.33940595388412476, -0.18849807977676392, 0.4150942862033844, -0.28836357593536377, 0.0027852565981447697, -0.008941460400819778, 0.2457774132490158, -0.005492040887475014, -0.101797915995121, 0.1645127534866333, 0.15500739216804504, 0.17588654160499573, -0.173385888338089, -0.30933085083961487, 0.2861733138561249, 0.294497013092041, 0.2643963396549225, -0.3533158004283905, 0.1669466644525528, 0.43221041560173035, -0.28223299980163574, 0.1203189566731453, 0.43746450543403625, 0.14567317068576813, 0.022701844573020935, 0.48068419098854065, -0.06361550092697144, -0.06552636623382568, 0.14433203637599945, 0.39090943336486816, -0.08583126962184906, 0.3198518455028534, 0.13884375989437103, 0.07830333709716797, -0.24388618767261505, 0.06618603318929672, -0.27328404784202576, 0.7477883100509644, -0.006015414372086525, -0.3532721698284149, 0.1798035353422165, 0.501366913318634, -0.01723840832710266, -0.20388206839561462, 0.22715285420417786, -0.117320217192173, -0.13441374897956848, 0.30478450655937195, 0.06938345730304718, 0.06414644420146942, 0.04534005746245384, -0.14623884856700897, 0.07187049835920334, 0.2441903054714203, 0.03468452766537666, 0.37221771478652954, -0.2592964768409729, 0.10278433561325073, 0.15638509392738342, 0.0662764236330986, 0.28734105825424194, -0.24199780821800232, 0.0176873579621315, -0.021458575502038002, 0.29874899983406067, -0.32305243611335754, 0.08815933763980865, -0.39320462942123413, -0.09961121529340744, -0.28220313787460327, -0.10176260024309158, -0.20942379534244537, 0.10450858622789383, -0.24010775983333588, 0.11333748698234558, -0.03676958382129669, 0.2742897868156433, -0.25257501006126404, 0.14204710721969604, 0.1710944026708603, -0.020046228542923927, -0.17762109637260437, 0.11865624040365219, -0.44568145275115967, 0.05320795252919197, 0.3832121193408966, -0.041771117597818375, 0.13092128932476044, -0.11527106910943985, -0.013843216001987457, -0.37229645252227783, -0.5591986775398254, -0.003040473908185959, 0.05632203817367554, 0.2733817994594574, 0.1982867419719696, -0.03735831379890442, 0.052290402352809906, -0.3620986342430115, 0.07145046442747116, -0.21577732264995575, -0.20863285660743713, -0.06534203886985779, -0.30509623885154724, -0.16178631782531738, -0.12846727669239044, -0.5173270106315613, -0.2616415023803711, -0.32565903663635254, -0.0012355223298072815, -0.1617017388343811, 0.09769662469625473, 0.3136889934539795, -0.14766177535057068, 0.10725768655538559, 0.34415093064308167, 0.059122681617736816, -0.1887342929840088, -0.19742518663406372, 0.16665998101234436, -0.17536255717277527, -0.4086301922798157, -0.01878184825181961, 0.1472402811050415, 0.2697204649448395, 0.01962028257548809, -0.35399389266967773, 0.4846240282058716, -0.22234399616718292, 0.20876535773277283, -0.3671763241291046, -0.025721220299601555, 0.26753783226013184, 0.18527324497699738, 0.10924680531024933, -0.14279955625534058, -0.14654265344142914, 0.029266245663166046, -0.04565100371837616, 0.022367216646671295, 0.20342180132865906, 0.3693378269672394, -0.07055772840976715, 0.21784642338752747, 0.21795940399169922, -0.23401205241680145, 0.45227885246276855, 0.0003787856549024582, 0.22010596096515656, -0.15250897407531738, -0.3897532820701599, 0.07555989176034927, 0.09124299883842468, 0.024121519178152084, 0.30277106165885925, -0.12999004125595093, -0.15517286956310272, -0.05593379586935043, -0.1260913461446762, -0.19744223356246948, 0.03938189521431923, -0.002437891438603401, -0.29037028551101685, 0.338677316904068, 0.06121603772044182, 0.0756058618426323, 0.20142781734466553, -0.16738978028297424, -0.03782367706298828, 0.282270610332489, 0.3019731044769287, 0.2082708179950714, -0.3407664895057678, 0.03257165476679802, -0.34178394079208374, 0.2607614994049072, 0.4393460154533386, 0.6222188472747803, 0.08553251624107361, -0.001389831304550171, -0.04953208565711975, -0.24818314611911774, 0.11187922209501266, 0.0011435430496931076, 0.21464410424232483, 0.28983816504478455, -0.003171488642692566, -0.3760194778442383, -0.028504110872745514, 0.1337319314479828, -0.05252200365066528, 0.20676572620868683, 0.18498648703098297, -0.25050652027130127, -0.34096911549568176, -0.007627997547388077, 0.23537728190422058, -0.028554581105709076, 0.29387685656547546, -0.26310455799102783, -0.47414618730545044, -0.07271271198987961, -0.039498843252658844, -0.16075074672698975, 0.5593662858009338, -0.16120687127113342, 0.07542650401592255, -0.06762094050645828, -0.33318591117858887, -0.05264641344547272, 0.1650564968585968, 0.30841925740242004, 0.02754693292081356, 0.36663180589675903, 0.19677850604057312, -0.07966230809688568, 0.6191347241401672, 0.4736103415489197, -0.06673069298267365, -0.3237711191177368, -0.046871937811374664, -0.013134161941707134, 0.2029949128627777, 0.07340990751981735, -0.3497503995895386, 0.1340610384941101, 0.004371689632534981, -0.07860735058784485, -0.24538975954055786, 0.07202144712209702, -0.013917678967118263, 0.15801241993904114, -0.4450967013835907, -0.4939623475074768, 0.1666591465473175, -0.22063644230365753, -0.01369207352399826, 0.2948242127895355, 0.25651657581329346, -0.43350860476493835, 0.18990039825439453, 0.00303640216588974, 0.49411898851394653, 0.10849076509475708, -0.014942798763513565, 0.11805598437786102, -0.32620859146118164, 0.054217629134655, 0.0024834536015987396, -0.27210837602615356, -0.3981826603412628, -0.10350164026021957, -0.06298382580280304, 0.14681878685951233, 0.5150058269500732, -0.015359826385974884, -0.20505291223526, 0.17138071358203888, -0.0490594282746315, 0.26096460223197937, 0.4193204641342163, 0.3732634484767914, -0.2634959816932678, -0.04439520090818405, -0.49278610944747925, 0.11350314319133759, -0.2619481086730957, -0.2137027382850647, -0.012647058814764023, 0.06425201892852783, 0.17988640069961548, -0.5999218225479126, -0.3151623010635376, 0.17563003301620483, -0.42662617564201355, 0.22891588509082794, -0.15595239400863647, -0.23528584837913513, 0.3273587226867676, 0.3111408054828644, 0.330863893032074, 0.16588155925273895, 0.0020543187856674194, 0.060311876237392426, -0.16425734758377075, 0.24231046438217163, 0.1377444863319397, 0.07162488996982574, 0.04728154093027115, -0.08662004768848419, -0.20452919602394104, -0.04649779945611954, -0.04383810609579086, -0.36411231756210327, 0.18963676691055298, -0.05330938100814819, -0.14546003937721252, 0.08426215499639511, 0.07237264513969421, -0.0442454069852829, 0.20703937113285065, -0.12043227255344391, 0.08747860789299011, -0.07571917772293091, 0.021135713905096054, 0.08844801038503647, 0.05625952035188675, -0.17090991139411926, -0.18546389043331146, 0.43151143193244934, -0.09712734073400497, 0.08920812606811523, 0.5029889345169067, 0.04030194506049156, -0.19410952925682068, -0.148598313331604, -0.06282640993595123, -0.09740988165140152, -0.1612885594367981, -0.08066774904727936, -0.145744189620018, 0.017460227012634277, -0.0657968819141388, 0.26146167516708374, -0.03564121574163437, -0.007611170411109924, 0.1568957418203354, -0.5041954517364502, -0.245696559548378, 0.02000892162322998, -0.17780794203281403, 0.042223744094371796, 0.10617100447416306, 0.08921192586421967, -0.41378501057624817, -0.06599637120962143, -0.2089717537164688, 0.33760419487953186, 0.07280513644218445, 0.12022624909877777, 0.19111378490924835, 0.040398307144641876, 0.2781047224998474, -0.1139647513628006, 0.1278737485408783, 0.12833300232887268, -0.0011837920174002647, -0.11378119140863419, -0.35879915952682495, 0.10218215733766556, 0.05382703244686127, -0.47538357973098755, -0.08414916694164276, -0.2303541898727417, -0.24900224804878235, 0.03601977229118347, 0.2789379954338074, 0.27160555124282837, -0.1672508865594864, 0.1752607822418213, 0.03798498213291168, 0.08030518889427185, -0.12310484796762466, 0.22029390931129456, -0.14868447184562683, 0.37077009677886963, 0.10940887778997421, 0.39610958099365234, 0.04681498557329178, -0.049577679485082626, 0.06323523074388504, 0.08585866540670395, -0.016968585550785065, -0.01306893303990364, 0.34464597702026367, -0.3356877565383911, 0.03500516340136528, 0.25004249811172485, -0.0965123102068901, 0.27829664945602417, -0.16653947532176971, -0.23870012164115906, 0.15159231424331665, 0.14346997439861298, -0.25076091289520264, -0.1579674780368805, -0.23286983370780945, -0.1912919133901596, -0.196706622838974, 0.2055872678756714, 0.4393623471260071, -0.30994316935539246, 0.2659715712070465, 0.1702793538570404, 0.5373218655586243, 0.08198058605194092, 0.45752623677253723, 0.2756264805793762, -0.13313637673854828, 0.16099464893341064, -0.08142871409654617, -0.07494331896305084, -0.18291202187538147, 0.3307453989982605, -0.44373035430908203, 0.24930663406848907, 0.35502511262893677, 0.3149506151676178, -0.15695950388908386, -0.425101637840271, 0.06587641686201096, 0.23209528625011444, -0.3421245813369751, 0.014574147760868073, 0.2589814364910126, 0.11136788129806519, -0.007548541761934757, -0.15340061485767365, 0.015910105779767036, -0.06267538666725159, -0.18021216988563538, -0.01563405804336071, 0.09155729413032532, -0.1595984697341919, -0.04935547336935997, 0.0511968620121479, -0.09691295027732849, 0.03595264256000519, 0.36015626788139343, 0.11095280945301056, -0.2639586329460144, -0.40348729491233826, -0.45146363973617554, 0.09309050440788269, -0.07350751012563705, -0.05520612746477127, 0.514522135257721, 0.5033189058303833, -0.028780698776245117, 0.26678356528282166, 0.3985658884048462, 0.3685721158981323, 0.38645896315574646, -0.01162329874932766, -0.004647042602300644, 0.0008886847645044327, 0.030702175572514534, 0.022850453853607178, 0.3500615954399109, -0.08823148906230927, -0.022649511694908142, 0.03637731820344925, 0.07968134433031082, -0.021444302052259445, 0.07719545066356659, 0.11099883913993835, 0.20647108554840088, -0.1850307434797287, 0.1626725196838379, -0.052264876663684845, 0.2821611166000366, -0.092516228556633, 0.18747954070568085, -0.054758187383413315, 0.11468775570392609, 0.5836641192436218, 0.13705645501613617, 0.13105198740959167, -0.1461167186498642, 0.047436781227588654, 0.1248401403427124, 0.23527655005455017, 0.297859787940979, 0.052890680730342865, -0.007116648368537426, -0.433851420879364, -0.5613092184066772, 0.024689972400665283, 0.22637596726417542, 0.21492443978786469, -0.07210670411586761, -0.13959850370883942, 0.055289726704359055, -0.08679809421300888, 0.3991192579269409, 0.016847029328346252, 0.1483023762702942, -0.11350491642951965, -0.1726171225309372, -0.010485004633665085, 0.09196795523166656, 0.10309512913227081, -0.40730321407318115, -0.5232093930244446, 0.23315367102622986, 0.029494933784008026, 0.03434392064809799, -0.28451794385910034, 0.1482742577791214, -0.042333923280239105, -0.4499373733997345, 0.3931976854801178, 0.23547141253948212, 0.5365952849388123, -0.2799544036388397, -0.3480324149131775, -0.12211747467517853, -0.3179760277271271, -0.14699284732341766, 0.25438472628593445, 0.09793078899383545, 0.5916787385940552, -0.03670267015695572, -0.4226026237010956, -0.41298964619636536, 0.4512317180633545, -0.1340000331401825, 0.3323228657245636, -0.4985007047653198, 0.3806096315383911, -0.18890991806983948, -0.16656093299388885, -0.12127365916967392, 0.13118760287761688, 0.117693230509758, 0.21927109360694885, -0.12723907828330994, -0.4354096055030823, 0.38477087020874023, -0.6944723725318909, -0.21628187596797943, -0.19577032327651978, 0.0745869129896164, 0.03169991448521614, -0.22216974198818207, -0.5241628289222717, 0.11565650254487991, 0.3917487561702728, -0.09166166931390762, -0.24775080382823944, 0.20615655183792114, -0.0007533645257353783, 0.08126433193683624, -0.19335073232650757, 0.4100892245769501, 0.0753365084528923, -0.08251724392175674, 0.06886829435825348, -0.3381638526916504 ]
https://github.com/huggingface/datasets/issues/6908
Fail to load "stas/c4-en-10k" dataset since 2.16 version
Thanks for your reply! After I update the datasets version from 2.15.0 back to 2.19.1 again, it seems everything work well. Sorry for bordering you!
### Describe the bug When update datasets library to version 2.16+ ( I test it on 2.16, 2.19.0 and 2.19.1), using the following code to load stas/c4-en-10k dataset ```python from datasets import load_dataset, Dataset dataset = load_dataset('stas/c4-en-10k') ``` and then it raise UnicodeDecodeError like ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/*/conda3/envs/watermark/lib/python3.10/site-packages/datasets/load.py", line 2523, in load_dataset builder_instance = load_dataset_builder( File "/home/*/conda3/envs/watermark/lib/python3.10/site-packages/datasets/load.py", line 2195, in load_dataset_builder dataset_module = dataset_module_factory( File "/home/*/conda3/envs/watermark/lib/python3.10/site-packages/datasets/load.py", line 1846, in dataset_module_factory raise e1 from None File "/home/*/conda3/envs/watermark/lib/python3.10/site-packages/datasets/load.py", line 1798, in dataset_module_factory can_load_config_from_parquet_export = "DEFAULT_CONFIG_NAME" not in f.read() File "/home/*/conda3/envs/watermark/lib/python3.10/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte ``` I found that fs.open loads a gzip file and parses it like plain text using utf-8 encoder. ```python fs = HfFileSystem('https://huggingface.co') fs.open("datasets/stas/c4-en-10k/c4-en-10k.py", "rb") data = fs.read() # data is gzip bytes begin with b'\x1f\x8b\x08\x00\x00\tn\x88\x00...' data2 = unzip_gzip_bytes(data) # data2 is what we want: '# coding=utf-8\n# Copyright 2020 The HuggingFace Datasets...' ``` ### Steps to reproduce the bug 1. Install datasets between version 2.16 and 2.19 2. Use `datasets.load_dataset` method to load `stas/c4-en-10k` dataset. ### Expected behavior Load dataset normally. ### Environment info Platform = Linux-5.4.0-159-generic-x86_64-with-glibc2.35 Python = 3.10.14 Datasets = 2.19
25
Fail to load "stas/c4-en-10k" dataset since 2.16 version ### Describe the bug When update datasets library to version 2.16+ ( I test it on 2.16, 2.19.0 and 2.19.1), using the following code to load stas/c4-en-10k dataset ```python from datasets import load_dataset, Dataset dataset = load_dataset('stas/c4-en-10k') ``` and then it raise UnicodeDecodeError like ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/*/conda3/envs/watermark/lib/python3.10/site-packages/datasets/load.py", line 2523, in load_dataset builder_instance = load_dataset_builder( File "/home/*/conda3/envs/watermark/lib/python3.10/site-packages/datasets/load.py", line 2195, in load_dataset_builder dataset_module = dataset_module_factory( File "/home/*/conda3/envs/watermark/lib/python3.10/site-packages/datasets/load.py", line 1846, in dataset_module_factory raise e1 from None File "/home/*/conda3/envs/watermark/lib/python3.10/site-packages/datasets/load.py", line 1798, in dataset_module_factory can_load_config_from_parquet_export = "DEFAULT_CONFIG_NAME" not in f.read() File "/home/*/conda3/envs/watermark/lib/python3.10/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte ``` I found that fs.open loads a gzip file and parses it like plain text using utf-8 encoder. ```python fs = HfFileSystem('https://huggingface.co') fs.open("datasets/stas/c4-en-10k/c4-en-10k.py", "rb") data = fs.read() # data is gzip bytes begin with b'\x1f\x8b\x08\x00\x00\tn\x88\x00...' data2 = unzip_gzip_bytes(data) # data2 is what we want: '# coding=utf-8\n# Copyright 2020 The HuggingFace Datasets...' ``` ### Steps to reproduce the bug 1. Install datasets between version 2.16 and 2.19 2. Use `datasets.load_dataset` method to load `stas/c4-en-10k` dataset. ### Expected behavior Load dataset normally. ### Environment info Platform = Linux-5.4.0-159-generic-x86_64-with-glibc2.35 Python = 3.10.14 Datasets = 2.19 Thanks for your reply! After I update the datasets version from 2.15.0 back to 2.19.1 again, it seems everything work well. Sorry for bordering you!
[ -0.42146602272987366, 0.3764933943748474, -0.07404647767543793, 0.36731088161468506, 0.4450117349624634, -0.05591262876987457, 0.2454860359430313, 0.30949077010154724, -0.20614676177501678, -0.0361345112323761, -0.0010704058222472668, 0.3222656548023224, -0.11977250128984451, 0.1919136345386505, 0.10070402175188065, 0.1461528092622757, 0.09009310603141785, 0.15275084972381592, -0.2393588125705719, 0.02909635752439499, -0.1844346970319748, 0.16989965736865997, -0.06656120717525482, 0.02641749382019043, 0.012540450319647789, -0.06312797218561172, 0.1807003617286682, 0.18421903252601624, -0.1207394078373909, -0.7738022804260254, 0.2486961930990219, 0.12332136929035187, 0.5087645053863525, 0.5234087109565735, -0.00012076660641469061, -0.0297243595123291, 0.4660956859588623, -0.058570705354213715, -0.5225491523742676, -0.13056744635105133, -0.3983694314956665, -0.1323731541633606, -0.04810921102762222, -0.032801248133182526, -0.014248432591557503, -0.3032413125038147, -0.12593352794647217, -1.0723556280136108, 0.0649183988571167, 0.3722001910209656, 0.2066199779510498, 0.07006650418043137, 0.13796904683113098, 0.12514102458953857, -0.07000311464071274, -0.11888359487056732, 0.15869511663913727, 0.11438392102718353, 0.2118908166885376, 0.16039015352725983, -0.060024626553058624, 0.2923983335494995, 0.009824564680457115, -0.08295193314552307, 0.053372640162706375, -0.09786681830883026, 0.03774459287524223, -0.14969100058078766, 0.5942685008049011, 0.06241481751203537, 0.6034812331199646, -0.2370780110359192, -0.5183154344558716, 0.09885532408952713, -0.02097282186150551, -0.29601725935935974, 0.3343432545661926, 0.07329703867435455, 0.17562070488929749, 0.05893555283546448, 0.03413670137524605, -0.1991957426071167, -0.12856242060661316, -0.001525089144706726, -0.035013966262340546, 0.13883142173290253, -0.19441114366054535, 0.07474828511476517, -0.07709841430187225, -0.4168189764022827, -0.03030075877904892, 0.006691925227642059, -0.15091082453727722, 0.4261482357978821, -0.30368879437446594, 0.2237977683544159, -0.08655152469873428, -0.18753790855407715, 0.061728447675704956, -0.05441395938396454, 0.023227408528327942, 0.08802735805511475, -0.12485236674547195, -0.10899453610181808, 0.1220899373292923, 0.12779907882213593, 0.18133985996246338, 0.10523658990859985, 0.392747700214386, 0.1972939819097519, 0.11885058879852295, -0.03033764660358429, -0.14152124524116516, -0.00910987425595522, -0.10348019003868103, 0.16989821195602417, 0.43191587924957275, -0.2586217224597931, -0.3026459515094757, 0.3818835914134979, -0.1015767753124237, -0.23711305856704712, -0.15227073431015015, 0.19539503753185272, -0.16855598986148834, 0.4325200021266937, 0.09042064845561981, 0.10103059560060501, -0.13703584671020508, -0.12371066957712173, -0.1571936011314392, -0.20657992362976074, 0.11972469091415405, 0.05465623736381531, 0.030603189021348953, -0.6226823329925537, 0.19600427150726318, 0.2060348391532898, -0.15170413255691528, 0.1385732740163803, -0.28870904445648193, -0.06480526924133301, -0.04299025982618332, 0.11390987038612366, -0.16322851181030273, 0.2257988452911377, -0.0034327954053878784, -0.48671960830688477, 0.03078032284975052, 0.1581740528345108, -0.011841073632240295, -0.1446235179901123, -0.43436264991760254, 0.1654253453016281, 0.10512465238571167, 0.05699563026428223, -0.42882105708122253, 0.11706167459487915, 0.15268684923648834, -0.015978770330548286, -0.03574959188699722, -0.14752399921417236, -0.028811868280172348, -0.05647256225347519, 0.3303025960922241, 0.546800971031189, -0.45498883724212646, 0.07109585404396057, 0.10311959683895111, 0.03596675023436546, 0.29879987239837646, 0.010812792927026749, 0.07622315734624863, -0.2944125235080719, -0.2814927101135254, 0.014360465109348297, 0.12160508334636688, -0.2651378810405731, -0.21277329325675964, 0.23492644727230072, 0.11189080774784088, 0.13549283146858215, 0.13595062494277954, -0.32933375239372253, 0.26685234904289246, -0.0005961338756605983, 0.0224202461540699, 0.11197150498628616, -0.026206819340586662, 0.10197681933641434, -0.2080863118171692, -0.3639965057373047, 0.49153387546539307, 0.19855137169361115, 0.09210534393787384, -0.09878670424222946, 0.3514021933078766, 0.052392080426216125, 0.2779111862182617, -0.17833013832569122, 0.01914680190384388, 0.024466268718242645, 0.2225019335746765, -0.1092471331357956, 0.20832476019859314, -0.18766942620277405, -0.37157654762268066, 0.18940427899360657, 0.17007344961166382, -0.021987833082675934, -0.19959194958209991, -0.020345663651823997, -0.12357887625694275, 0.017608853057026863, -0.16080701351165771, -0.13673973083496094, 0.07351843267679214, 0.33952781558036804, -0.10124768316745758, 0.33940595388412476, -0.18849807977676392, 0.4150942862033844, -0.28836357593536377, 0.0027852565981447697, -0.008941460400819778, 0.2457774132490158, -0.005492040887475014, -0.101797915995121, 0.1645127534866333, 0.15500739216804504, 0.17588654160499573, -0.173385888338089, -0.30933085083961487, 0.2861733138561249, 0.294497013092041, 0.2643963396549225, -0.3533158004283905, 0.1669466644525528, 0.43221041560173035, -0.28223299980163574, 0.1203189566731453, 0.43746450543403625, 0.14567317068576813, 0.022701844573020935, 0.48068419098854065, -0.06361550092697144, -0.06552636623382568, 0.14433203637599945, 0.39090943336486816, -0.08583126962184906, 0.3198518455028534, 0.13884375989437103, 0.07830333709716797, -0.24388618767261505, 0.06618603318929672, -0.27328404784202576, 0.7477883100509644, -0.006015414372086525, -0.3532721698284149, 0.1798035353422165, 0.501366913318634, -0.01723840832710266, -0.20388206839561462, 0.22715285420417786, -0.117320217192173, -0.13441374897956848, 0.30478450655937195, 0.06938345730304718, 0.06414644420146942, 0.04534005746245384, -0.14623884856700897, 0.07187049835920334, 0.2441903054714203, 0.03468452766537666, 0.37221771478652954, -0.2592964768409729, 0.10278433561325073, 0.15638509392738342, 0.0662764236330986, 0.28734105825424194, -0.24199780821800232, 0.0176873579621315, -0.021458575502038002, 0.29874899983406067, -0.32305243611335754, 0.08815933763980865, -0.39320462942123413, -0.09961121529340744, -0.28220313787460327, -0.10176260024309158, -0.20942379534244537, 0.10450858622789383, -0.24010775983333588, 0.11333748698234558, -0.03676958382129669, 0.2742897868156433, -0.25257501006126404, 0.14204710721969604, 0.1710944026708603, -0.020046228542923927, -0.17762109637260437, 0.11865624040365219, -0.44568145275115967, 0.05320795252919197, 0.3832121193408966, -0.041771117597818375, 0.13092128932476044, -0.11527106910943985, -0.013843216001987457, -0.37229645252227783, -0.5591986775398254, -0.003040473908185959, 0.05632203817367554, 0.2733817994594574, 0.1982867419719696, -0.03735831379890442, 0.052290402352809906, -0.3620986342430115, 0.07145046442747116, -0.21577732264995575, -0.20863285660743713, -0.06534203886985779, -0.30509623885154724, -0.16178631782531738, -0.12846727669239044, -0.5173270106315613, -0.2616415023803711, -0.32565903663635254, -0.0012355223298072815, -0.1617017388343811, 0.09769662469625473, 0.3136889934539795, -0.14766177535057068, 0.10725768655538559, 0.34415093064308167, 0.059122681617736816, -0.1887342929840088, -0.19742518663406372, 0.16665998101234436, -0.17536255717277527, -0.4086301922798157, -0.01878184825181961, 0.1472402811050415, 0.2697204649448395, 0.01962028257548809, -0.35399389266967773, 0.4846240282058716, -0.22234399616718292, 0.20876535773277283, -0.3671763241291046, -0.025721220299601555, 0.26753783226013184, 0.18527324497699738, 0.10924680531024933, -0.14279955625534058, -0.14654265344142914, 0.029266245663166046, -0.04565100371837616, 0.022367216646671295, 0.20342180132865906, 0.3693378269672394, -0.07055772840976715, 0.21784642338752747, 0.21795940399169922, -0.23401205241680145, 0.45227885246276855, 0.0003787856549024582, 0.22010596096515656, -0.15250897407531738, -0.3897532820701599, 0.07555989176034927, 0.09124299883842468, 0.024121519178152084, 0.30277106165885925, -0.12999004125595093, -0.15517286956310272, -0.05593379586935043, -0.1260913461446762, -0.19744223356246948, 0.03938189521431923, -0.002437891438603401, -0.29037028551101685, 0.338677316904068, 0.06121603772044182, 0.0756058618426323, 0.20142781734466553, -0.16738978028297424, -0.03782367706298828, 0.282270610332489, 0.3019731044769287, 0.2082708179950714, -0.3407664895057678, 0.03257165476679802, -0.34178394079208374, 0.2607614994049072, 0.4393460154533386, 0.6222188472747803, 0.08553251624107361, -0.001389831304550171, -0.04953208565711975, -0.24818314611911774, 0.11187922209501266, 0.0011435430496931076, 0.21464410424232483, 0.28983816504478455, -0.003171488642692566, -0.3760194778442383, -0.028504110872745514, 0.1337319314479828, -0.05252200365066528, 0.20676572620868683, 0.18498648703098297, -0.25050652027130127, -0.34096911549568176, -0.007627997547388077, 0.23537728190422058, -0.028554581105709076, 0.29387685656547546, -0.26310455799102783, -0.47414618730545044, -0.07271271198987961, -0.039498843252658844, -0.16075074672698975, 0.5593662858009338, -0.16120687127113342, 0.07542650401592255, -0.06762094050645828, -0.33318591117858887, -0.05264641344547272, 0.1650564968585968, 0.30841925740242004, 0.02754693292081356, 0.36663180589675903, 0.19677850604057312, -0.07966230809688568, 0.6191347241401672, 0.4736103415489197, -0.06673069298267365, -0.3237711191177368, -0.046871937811374664, -0.013134161941707134, 0.2029949128627777, 0.07340990751981735, -0.3497503995895386, 0.1340610384941101, 0.004371689632534981, -0.07860735058784485, -0.24538975954055786, 0.07202144712209702, -0.013917678967118263, 0.15801241993904114, -0.4450967013835907, -0.4939623475074768, 0.1666591465473175, -0.22063644230365753, -0.01369207352399826, 0.2948242127895355, 0.25651657581329346, -0.43350860476493835, 0.18990039825439453, 0.00303640216588974, 0.49411898851394653, 0.10849076509475708, -0.014942798763513565, 0.11805598437786102, -0.32620859146118164, 0.054217629134655, 0.0024834536015987396, -0.27210837602615356, -0.3981826603412628, -0.10350164026021957, -0.06298382580280304, 0.14681878685951233, 0.5150058269500732, -0.015359826385974884, -0.20505291223526, 0.17138071358203888, -0.0490594282746315, 0.26096460223197937, 0.4193204641342163, 0.3732634484767914, -0.2634959816932678, -0.04439520090818405, -0.49278610944747925, 0.11350314319133759, -0.2619481086730957, -0.2137027382850647, -0.012647058814764023, 0.06425201892852783, 0.17988640069961548, -0.5999218225479126, -0.3151623010635376, 0.17563003301620483, -0.42662617564201355, 0.22891588509082794, -0.15595239400863647, -0.23528584837913513, 0.3273587226867676, 0.3111408054828644, 0.330863893032074, 0.16588155925273895, 0.0020543187856674194, 0.060311876237392426, -0.16425734758377075, 0.24231046438217163, 0.1377444863319397, 0.07162488996982574, 0.04728154093027115, -0.08662004768848419, -0.20452919602394104, -0.04649779945611954, -0.04383810609579086, -0.36411231756210327, 0.18963676691055298, -0.05330938100814819, -0.14546003937721252, 0.08426215499639511, 0.07237264513969421, -0.0442454069852829, 0.20703937113285065, -0.12043227255344391, 0.08747860789299011, -0.07571917772293091, 0.021135713905096054, 0.08844801038503647, 0.05625952035188675, -0.17090991139411926, -0.18546389043331146, 0.43151143193244934, -0.09712734073400497, 0.08920812606811523, 0.5029889345169067, 0.04030194506049156, -0.19410952925682068, -0.148598313331604, -0.06282640993595123, -0.09740988165140152, -0.1612885594367981, -0.08066774904727936, -0.145744189620018, 0.017460227012634277, -0.0657968819141388, 0.26146167516708374, -0.03564121574163437, -0.007611170411109924, 0.1568957418203354, -0.5041954517364502, -0.245696559548378, 0.02000892162322998, -0.17780794203281403, 0.042223744094371796, 0.10617100447416306, 0.08921192586421967, -0.41378501057624817, -0.06599637120962143, -0.2089717537164688, 0.33760419487953186, 0.07280513644218445, 0.12022624909877777, 0.19111378490924835, 0.040398307144641876, 0.2781047224998474, -0.1139647513628006, 0.1278737485408783, 0.12833300232887268, -0.0011837920174002647, -0.11378119140863419, -0.35879915952682495, 0.10218215733766556, 0.05382703244686127, -0.47538357973098755, -0.08414916694164276, -0.2303541898727417, -0.24900224804878235, 0.03601977229118347, 0.2789379954338074, 0.27160555124282837, -0.1672508865594864, 0.1752607822418213, 0.03798498213291168, 0.08030518889427185, -0.12310484796762466, 0.22029390931129456, -0.14868447184562683, 0.37077009677886963, 0.10940887778997421, 0.39610958099365234, 0.04681498557329178, -0.049577679485082626, 0.06323523074388504, 0.08585866540670395, -0.016968585550785065, -0.01306893303990364, 0.34464597702026367, -0.3356877565383911, 0.03500516340136528, 0.25004249811172485, -0.0965123102068901, 0.27829664945602417, -0.16653947532176971, -0.23870012164115906, 0.15159231424331665, 0.14346997439861298, -0.25076091289520264, -0.1579674780368805, -0.23286983370780945, -0.1912919133901596, -0.196706622838974, 0.2055872678756714, 0.4393623471260071, -0.30994316935539246, 0.2659715712070465, 0.1702793538570404, 0.5373218655586243, 0.08198058605194092, 0.45752623677253723, 0.2756264805793762, -0.13313637673854828, 0.16099464893341064, -0.08142871409654617, -0.07494331896305084, -0.18291202187538147, 0.3307453989982605, -0.44373035430908203, 0.24930663406848907, 0.35502511262893677, 0.3149506151676178, -0.15695950388908386, -0.425101637840271, 0.06587641686201096, 0.23209528625011444, -0.3421245813369751, 0.014574147760868073, 0.2589814364910126, 0.11136788129806519, -0.007548541761934757, -0.15340061485767365, 0.015910105779767036, -0.06267538666725159, -0.18021216988563538, -0.01563405804336071, 0.09155729413032532, -0.1595984697341919, -0.04935547336935997, 0.0511968620121479, -0.09691295027732849, 0.03595264256000519, 0.36015626788139343, 0.11095280945301056, -0.2639586329460144, -0.40348729491233826, -0.45146363973617554, 0.09309050440788269, -0.07350751012563705, -0.05520612746477127, 0.514522135257721, 0.5033189058303833, -0.028780698776245117, 0.26678356528282166, 0.3985658884048462, 0.3685721158981323, 0.38645896315574646, -0.01162329874932766, -0.004647042602300644, 0.0008886847645044327, 0.030702175572514534, 0.022850453853607178, 0.3500615954399109, -0.08823148906230927, -0.022649511694908142, 0.03637731820344925, 0.07968134433031082, -0.021444302052259445, 0.07719545066356659, 0.11099883913993835, 0.20647108554840088, -0.1850307434797287, 0.1626725196838379, -0.052264876663684845, 0.2821611166000366, -0.092516228556633, 0.18747954070568085, -0.054758187383413315, 0.11468775570392609, 0.5836641192436218, 0.13705645501613617, 0.13105198740959167, -0.1461167186498642, 0.047436781227588654, 0.1248401403427124, 0.23527655005455017, 0.297859787940979, 0.052890680730342865, -0.007116648368537426, -0.433851420879364, -0.5613092184066772, 0.024689972400665283, 0.22637596726417542, 0.21492443978786469, -0.07210670411586761, -0.13959850370883942, 0.055289726704359055, -0.08679809421300888, 0.3991192579269409, 0.016847029328346252, 0.1483023762702942, -0.11350491642951965, -0.1726171225309372, -0.010485004633665085, 0.09196795523166656, 0.10309512913227081, -0.40730321407318115, -0.5232093930244446, 0.23315367102622986, 0.029494933784008026, 0.03434392064809799, -0.28451794385910034, 0.1482742577791214, -0.042333923280239105, -0.4499373733997345, 0.3931976854801178, 0.23547141253948212, 0.5365952849388123, -0.2799544036388397, -0.3480324149131775, -0.12211747467517853, -0.3179760277271271, -0.14699284732341766, 0.25438472628593445, 0.09793078899383545, 0.5916787385940552, -0.03670267015695572, -0.4226026237010956, -0.41298964619636536, 0.4512317180633545, -0.1340000331401825, 0.3323228657245636, -0.4985007047653198, 0.3806096315383911, -0.18890991806983948, -0.16656093299388885, -0.12127365916967392, 0.13118760287761688, 0.117693230509758, 0.21927109360694885, -0.12723907828330994, -0.4354096055030823, 0.38477087020874023, -0.6944723725318909, -0.21628187596797943, -0.19577032327651978, 0.0745869129896164, 0.03169991448521614, -0.22216974198818207, -0.5241628289222717, 0.11565650254487991, 0.3917487561702728, -0.09166166931390762, -0.24775080382823944, 0.20615655183792114, -0.0007533645257353783, 0.08126433193683624, -0.19335073232650757, 0.4100892245769501, 0.0753365084528923, -0.08251724392175674, 0.06886829435825348, -0.3381638526916504 ]
https://github.com/huggingface/datasets/issues/6907
Support the deserialization of json lines files comprised of lists
Update: I ended up deciding to go back to use lines of dictionaries instead of arrays, not because of this issue as my users would be capable of downloading my corpus without `datasets`, but the speed and storage savings are not currently worth breaking my API and harming the backwards compatibility of each new revision. With that said, for a static dataset that is not regularly updated like mine, and particularly for extremely large datasets with millions or billions of rows, using arrays could have a meaningful impact, and so there is probably still value in supporting this structure, provided the effort is not too much.
### Feature request I manage a somewhat large and popular Hugging Face dataset known as the [Open Australian Legal Corpus](https://huggingface.co/datasets/umarbutler/open-australian-legal-corpus). I recently updated my corpus to be stored in a json lines file where each line is an array and each element represents a value at a particular column. Previously, my corpus was stored as a json lines file where each line was a dictionary and the keys were the fields. Essentially, a line in my json lines file used to look like this: ```json {"version_id":"","type":"","jurisdiction":"","source":"","citation":"","url":"","when_scraped":"","text":""} ``` And now it looks like this: ```json ["","","","","","","",""] ``` This saves 65 bytes per document and allows me very quickly serialise and deserialise documents via `msgspec`. After making this change, I found that `datasets` was incapable of deserialising my Corpus without a custom loading script, even if I ensured that the `dataset_info` field in my dataset card contained the desired names of my features. I would like to request that functionality be added to support this format which is more memory-efficent and faster than using dictionaries. ### Motivation The [documentation](https://huggingface.co/docs/datasets/en/dataset_script) for creating dataset loading scripts asserts that: > In the next major release, the new safety features of 🤗 Datasets will disable running dataset loading scripts by default, and you will have to pass trust_remote_code=True to load datasets that require running a dataset script. I would rather not require my users to pass `trust_remote_code=True` which means that I will need built-in support for this format. ### Your contribution I would be happy to submit a PR for this if this is something you would incorporate into `datasets` and if I can be pointed to where the code would need to go.
106
Support the deserialization of json lines files comprised of lists ### Feature request I manage a somewhat large and popular Hugging Face dataset known as the [Open Australian Legal Corpus](https://huggingface.co/datasets/umarbutler/open-australian-legal-corpus). I recently updated my corpus to be stored in a json lines file where each line is an array and each element represents a value at a particular column. Previously, my corpus was stored as a json lines file where each line was a dictionary and the keys were the fields. Essentially, a line in my json lines file used to look like this: ```json {"version_id":"","type":"","jurisdiction":"","source":"","citation":"","url":"","when_scraped":"","text":""} ``` And now it looks like this: ```json ["","","","","","","",""] ``` This saves 65 bytes per document and allows me very quickly serialise and deserialise documents via `msgspec`. After making this change, I found that `datasets` was incapable of deserialising my Corpus without a custom loading script, even if I ensured that the `dataset_info` field in my dataset card contained the desired names of my features. I would like to request that functionality be added to support this format which is more memory-efficent and faster than using dictionaries. ### Motivation The [documentation](https://huggingface.co/docs/datasets/en/dataset_script) for creating dataset loading scripts asserts that: > In the next major release, the new safety features of 🤗 Datasets will disable running dataset loading scripts by default, and you will have to pass trust_remote_code=True to load datasets that require running a dataset script. I would rather not require my users to pass `trust_remote_code=True` which means that I will need built-in support for this format. ### Your contribution I would be happy to submit a PR for this if this is something you would incorporate into `datasets` and if I can be pointed to where the code would need to go. Update: I ended up deciding to go back to use lines of dictionaries instead of arrays, not because of this issue as my users would be capable of downloading my corpus without `datasets`, but the speed and storage savings are not currently worth breaking my API and harming the backwards compatibility of each new revision. With that said, for a static dataset that is not regularly updated like mine, and particularly for extremely large datasets with millions or billions of rows, using arrays could have a meaningful impact, and so there is probably still value in supporting this structure, provided the effort is not too much.
[ -0.2597907781600952, 0.43231189250946045, -0.1315462589263916, 0.1111641377210617, 0.062154609709978104, 0.24620914459228516, 0.3321286141872406, 0.2883516252040863, 0.44785329699516296, 0.08555439114570618, 0.046071723103523254, 0.34605273604393005, -0.21192318201065063, 0.11970434337854385, -0.044782962650060654, -0.12143757939338684, 0.17255592346191406, 0.19711771607398987, 0.010741353034973145, 0.26634979248046875, -0.22072263062000275, 0.2912162244319916, -0.10389728844165802, -0.5450454354286194, 0.18293575942516327, 0.11059446632862091, -0.14536124467849731, 0.029146861284971237, -0.15215572714805603, -0.6583089232444763, 0.0849764496088028, 0.48186442255973816, 0.22853714227676392, 0.22219854593276978, -0.0001191213887068443, 0.07476672530174255, -0.08230932056903839, 0.027295587584376335, -0.22318604588508606, -0.2164197415113449, -0.2657710909843445, -0.5952541828155518, 0.31558647751808167, -0.3315970301628113, 0.002068106085062027, -0.271589994430542, -0.10917191207408905, -0.5991195440292358, 0.49948209524154663, 0.030874360352754593, 0.0606568306684494, 0.1527499109506607, -0.07935139536857605, 0.07611358165740967, 0.3120863139629364, 0.28249993920326233, -0.26340118050575256, 0.19253113865852356, 0.32173413038253784, 0.16354168951511383, -0.04068707674741745, 0.13429220020771027, -0.2367931306362152, -0.2645953595638275, 0.26591765880584717, 0.015248033218085766, -0.10026281327009201, -0.2400960922241211, 0.08902175724506378, 0.25451117753982544, 0.6099961400032043, -0.3058946430683136, -0.46437764167785645, -0.5175569653511047, -0.17551884055137634, 0.028446389362215996, -0.09407640248537064, 0.1867099553346634, -0.037980761379003525, 0.3081468343734741, -0.30383917689323425, -0.351915180683136, -0.24077793955802917, -0.08029161393642426, 0.041705019772052765, -0.299877405166626, 0.027971424162387848, -0.12622040510177612, 0.17823950946331024, -0.08636613935232162, -0.246927410364151, -0.11102840304374695, -0.052569758147001266, 0.13291671872138977, -0.0858582854270935, -0.2196132093667984, 0.106425940990448, -0.4076583981513977, 0.4447035789489746, 0.46663326025009155, 0.35850054025650024, 0.15879040956497192, -0.03794582188129425, -0.019044585525989532, 0.39949357509613037, 0.10971662402153015, 0.23511958122253418, -0.22547730803489685, 0.12287674844264984, 0.3429378569126129, 0.041744206100702286, -0.03536050021648407, -0.26833516359329224, 0.13770370185375214, -0.14727310836315155, 0.17521286010742188, -0.051724329590797424, -0.06494476646184921, 0.05560015141963959, 0.0006400477141141891, -0.2708253562450409, 0.040541280061006546, -0.06924759596586227, 0.17015837132930756, -0.010405627079308033, 0.4212774336338043, 0.3366711139678955, 0.016985978931188583, 0.13641126453876495, -0.015868984162807465, 0.1071908175945282, -0.08400331437587738, -0.294822633266449, 0.18886619806289673, 0.17307303845882416, -0.21727313101291656, 0.006244143471121788, -0.21769344806671143, -0.03565492480993271, -0.07122504711151123, 0.028321316465735435, 0.012654189020395279, 0.22468549013137817, 0.030950849875807762, -0.2695544362068176, -0.21550589799880981, -0.09957221150398254, -0.08369332551956177, -0.16484490036964417, 0.24405574798583984, -0.12822237610816956, -0.11923302710056305, -0.07646702975034714, -0.016452230513095856, -0.11020343005657196, 0.06135644018650055, -0.2514592409133911, 0.399371862411499, -0.16505828499794006, -0.21822258830070496, -0.08081083744764328, -0.04131604731082916, -0.04256686568260193, -0.29970526695251465, -0.13419996201992035, 0.6480706930160522, -0.37435293197631836, -0.1062440574169159, 0.02608930692076683, -0.21766194701194763, 0.08596363663673401, 0.21062523126602173, -0.14043517410755157, -0.0010276585817337036, -0.0752635970711708, 0.2772483825683594, -0.08178513497114182, -0.16459591686725616, -0.24136576056480408, 0.4673566520214081, 0.19484584033489227, 0.3268185555934906, 0.29971256852149963, -0.027291683480143547, 0.4612598121166229, -0.18413449823856354, -0.08998225629329681, 0.1333141326904297, 0.1744714230298996, 0.2721004784107208, 0.022625107318162918, -0.47224628925323486, 0.03362544998526573, 0.2309737652540207, -0.2906101644039154, 0.19954775273799896, 0.198330357670784, 0.11918892711400986, 0.5420799851417542, -0.3443456292152405, 0.05660994350910187, 0.09446290135383606, 0.029542913660407066, 0.08025621622800827, 0.01589854247868061, -0.21402263641357422, -0.6632698178291321, 0.0706031322479248, -0.190908282995224, 0.2931782305240631, -0.377804696559906, -0.3011077046394348, 0.09226228296756744, 0.12043420225381851, 0.08035406470298767, 0.0978652685880661, -0.040898632258176804, 0.05203091353178024, 0.006086234003305435, 0.10563097894191742, -0.3124300539493561, -0.15293654799461365, 0.2275003343820572, 0.24632349610328674, -0.4002075791358948, 0.2522491216659546, 0.39896824955940247, 0.09742260724306107, 0.10148866474628448, 0.2504378855228424, -0.08948876708745956, -0.31995177268981934, 0.2576592266559601, 0.2883822023868561, 0.41794151067733765, 0.13275207579135895, -0.14314794540405273, 0.5507619976997375, 0.2642069160938263, 0.34376704692840576, 0.11026763916015625, 0.17164140939712524, 0.1261625438928604, 0.03162611275911331, -0.3552239239215851, 0.6193321347236633, -0.23536525666713715, 0.15229356288909912, 0.08862508833408356, -0.01777888834476471, 0.13688503205776215, -0.14076362550258636, -0.5877487063407898, -0.513663649559021, -0.04959027096629143, 0.30489790439605713, -0.14260758459568024, 0.02244815230369568, -0.4178324341773987, 0.009167075157165527, 0.5120537281036377, -0.042857564985752106, 0.19886642694473267, 0.13030269742012024, -0.017009899020195007, -0.07052858173847198, 0.123085156083107, 0.027035873383283615, 0.1903998702764511, 0.28161558508872986, 0.08763595670461655, 0.26350072026252747, 0.44065526127815247, -0.11490532755851746, 0.43145716190338135, -0.07407800853252411, 0.41294264793395996, 0.32111793756484985, 0.18823951482772827, 0.10939397662878036, -0.35986247658729553, -0.4565691649913788, -0.10373614728450775, -0.12273609638214111, -0.09212620556354523, 0.05438306927680969, -0.46459439396858215, -0.10793926566839218, -0.09300532937049866, -0.2540223300457001, -0.030162900686264038, 0.09025143086910248, -0.08220907300710678, -0.0059518031775951385, -0.26088571548461914, -0.141972616314888, -0.06327928602695465, 0.4370998740196228, -0.11484266817569733, -0.4272911250591278, -0.11660657823085785, -0.08756450563669205, 0.22039666771888733, -0.011311570182442665, 0.2754948139190674, -0.1837465465068817, 0.1568373590707779, 0.25281137228012085, 0.14802321791648865, -0.20055817067623138, -0.1240021362900734, 0.17190811038017273, -0.025297105312347412, -0.22944694757461548, 0.35914209485054016, 0.21877218782901764, -0.06707467138767242, -0.07482181489467621, -0.083634153008461, -0.020761625841259956, -0.2374185472726822, -0.3426620066165924, 0.2540738582611084, 0.042587921023368835, -0.30448105931282043, -0.26339423656463623, -0.022149326279759407, -0.3452053368091583, 0.5697051286697388, 0.04207376018166542, 0.10212324559688568, 0.1729656159877777, -0.1517689824104309, 0.04932570829987526, -0.16884291172027588, 0.01464380044490099, 0.06686034053564072, -0.39788779616355896, 0.2670915424823761, -0.22806750237941742, -0.39589112997055054, 0.05155153200030327, 0.01747213676571846, -0.10734282433986664, 0.44041305780410767, -0.3266429305076599, 0.13819396495819092, -0.08432827144861221, 0.13673117756843567, 0.01008591428399086, -0.10047890245914459, 0.44944363832473755, 0.37269529700279236, -0.059574104845523834, -0.09803842008113861, -0.22833871841430664, 0.0551837757229805, 0.05080467835068703, -0.1694525182247162, 0.23130756616592407, 0.44102156162261963, 0.0854901373386383, 0.0019082650542259216, 0.26109716296195984, 0.03261004015803337, 0.3696390986442566, -0.06994038820266724, 0.037548843771219254, -0.1049565002322197, -0.11904570460319519, -0.11581066995859146, -0.09593269228935242, -0.22778160870075226, 0.2951235771179199, 0.10367035865783691, -0.17069071531295776, -0.4174674153327942, -0.052479758858680725, -0.24817907810211182, -0.2619593143463135, 0.12834873795509338, -0.14725223183631897, 0.44992727041244507, -0.15805239975452423, 0.24288064241409302, -0.03840523213148117, 0.06079542636871338, 0.008122202008962631, 0.29443278908729553, 0.6109857559204102, -0.1722053438425064, -0.35075071454048157, -0.0467316135764122, -0.5934137105941772, 0.1898048222064972, 0.2635728716850281, -0.09373990446329117, 0.0887623280286789, 0.2208789587020874, -0.09490729868412018, -0.11836501955986023, 0.6944810748100281, 0.03066490963101387, -0.20668523013591766, -0.06576193869113922, -0.22591017186641693, -0.13258536159992218, 0.23529179394245148, 0.0513128899037838, -0.045392975211143494, 0.03520325571298599, 0.26266178488731384, -0.5223106145858765, -0.17612044513225555, -0.08878622949123383, 0.062247373163700104, -0.04271290451288223, -0.22717425227165222, 0.06401488184928894, -0.2726929485797882, -0.37251126766204834, -0.28456589579582214, 0.08466541767120361, 0.1397448182106018, 0.13885490596294403, -0.06657945364713669, 0.04990227520465851, -0.07734327018260956, 0.21833693981170654, 0.09305357933044434, 0.29052501916885376, 0.1381891667842865, 0.021380148828029633, 0.09531846642494202, 0.266396164894104, 0.6934041380882263, 0.5795543193817139, 0.21625515818595886, -0.4435036778450012, -0.1993434727191925, -0.09184422343969345, 0.4025307595729828, 0.34675484895706177, 0.0505463145673275, 0.04202596843242645, 0.13797900080680847, -0.10703732073307037, -0.28636863827705383, -0.3720211088657379, 0.07072700560092926, -0.14834120869636536, -0.3394632339477539, -0.5389243364334106, 0.32559117674827576, 0.04096612706780434, -0.0612327978014946, -0.24246171116828918, 0.033035699278116226, -0.5560441613197327, 0.44293928146362305, 0.16675330698490143, 0.9592934250831604, -0.025194719433784485, 0.16852958500385284, 0.30669671297073364, -0.2004823237657547, 0.8036317825317383, -0.2854166626930237, 0.011549105867743492, -0.2665105164051056, 0.31405237317085266, -0.28678780794143677, -0.011188685894012451, 0.5982622504234314, 0.610960066318512, -0.3096984624862671, -0.04002438858151436, 0.028067469596862793, -0.35963109135627747, -0.2184155285358429, 0.47535252571105957, -0.05312729626893997, -0.48200273513793945, -0.5156601667404175, -0.0004474278539419174, -0.008552700281143188, -0.31751447916030884, 0.05704814940690994, -0.30398160219192505, 0.06590545177459717, 0.15649567544460297, -0.3577576279640198, 0.09551388770341873, 0.02603667974472046, -0.08719028532505035, 0.23135142028331757, -0.011229008436203003, 0.5339682698249817, 0.21808506548404694, -0.06317292153835297, 0.0018811114132404327, -0.20625637471675873, 0.04356345161795616, -0.3077310621738434, -0.21990297734737396, -0.009541229344904423, -0.13479827344417572, 0.3747664988040924, -0.08922870457172394, -0.00868312269449234, -0.23117074370384216, -0.16751955449581146, -0.4617880582809448, -0.26349982619285583, 0.12887722253799438, -0.11850517988204956, -0.3849634826183319, -0.2989759147167206, 0.3285330533981323, -0.0737965926527977, 0.08715589344501495, 0.014185247011482716, 0.1914282739162445, 0.08131470531225204, 0.2770344614982605, -0.12112519145011902, 0.13625571131706238, -0.0791626125574112, 0.3059859573841095, 0.12830117344856262, -0.3578173518180847, 0.3329584300518036, 0.3926864266395569, -0.3046192526817322, -0.2564581632614136, 0.12884089350700378, 0.3543451428413391, -0.11882594227790833, 0.2642887234687805, 0.08358211070299149, -0.007671669125556946, 0.10954562574625015, 0.31688037514686584, -0.22615866363048553, -0.007154732942581177, -0.04703397676348686, -0.45255205035209656, 0.06664867699146271, 0.14168225228786469, -0.04258936271071434, 0.2541610896587372, 0.10875902324914932, 0.05364757031202316, -0.24111689627170563, -0.4480644166469574, -0.20327694714069366, 0.1142873466014862, 0.15380451083183289, -0.16244164109230042, -0.1448509246110916, 0.0769033432006836, 0.22343938052654266, -0.08945922553539276, 0.051447734236717224, 0.3293411135673523, -0.012643150985240936, -0.05150865763425827, -0.07112021744251251, 0.2197870910167694, -0.07812552899122238, -0.05529547482728958, -0.0670337975025177, -0.12225686013698578, -0.576672375202179, -0.35665613412857056, 0.17732176184654236, 0.23800230026245117, -0.12993933260440826, 0.040537286549806595, 0.0758034884929657, 0.09583722054958344, -0.006874207407236099, 0.014355136081576347, 0.09643043577671051, 0.3985993266105652, 0.04378777742385864, 0.1346353143453598, -0.2997887432575226, -0.05195135995745659, -0.11409827321767807, 0.5278513431549072, 0.5493450164794922, 0.05828418582677841, 0.6862121224403381, -0.04386089742183685, -0.257110595703125, 0.3261476159095764, 0.4805843234062195, 0.223198801279068, -0.08340955525636673, 0.11993810534477234, 0.0006635710597038269, 0.06333192437887192, -0.08781224489212036, -0.17111442983150482, 0.22594232857227325, 0.0021580783650279045, 0.04897910729050636, 0.16579023003578186, 0.1606920063495636, 0.22025704383850098, -0.19334818422794342, -0.2624122202396393, 0.4431309401988983, 0.1909007728099823, 0.057422734797000885, 0.20517674088478088, 0.3235045373439789, -0.027374517172574997, -0.07893303036689758, 0.2114628553390503, 0.5729227662086487, -0.01792941987514496, 0.13157770037651062, 0.22670337557792664, 0.6134534478187561, 0.37323644757270813, 0.024656720459461212, -0.26177099347114563, 0.08986228704452515, 0.333182692527771, 0.12633028626441956, 0.20540595054626465, 0.11739541590213776, 0.13864167034626007, 0.11452579498291016, 0.06884093582630157, -0.17905302345752716, 0.2203601598739624, 0.06756942719221115, -0.22705292701721191, -0.16064882278442383, -0.2304827868938446, 0.004275158047676086, -0.005958396941423416, -0.12368144094944, -0.19819654524326324, -0.16067463159561157, -0.009124092757701874, 0.42005622386932373, -0.11178141832351685, 0.02521209791302681, -0.21418926119804382, 0.43024134635925293, -0.16212168335914612, -0.16300749778747559, 0.20367184281349182, -0.003545105457305908, 0.2544834613800049, 0.13347460329532623, 0.26572665572166443, 0.0806163102388382, 0.08144967257976532, -0.054797347635030746, -0.6509051322937012, 0.006374353542923927, -0.0899563580751419, 0.3169243335723877, 0.023378245532512665, 0.13428394496440887, 0.1451989710330963, -0.052401818335056305, 0.014816238544881344, 0.06332746148109436, 0.03947601467370987, -0.02562081813812256, -0.15715306997299194, 0.1423567533493042, -0.1628372222185135, -0.02612188830971718, 0.1071622297167778, -0.17965403199195862, -0.09273502230644226, -0.7202233672142029, 0.36429309844970703, 0.042118992656469345, 0.06753730028867722, 0.04579579457640648, 0.04479001462459564, -0.08665814995765686, 0.2563384473323822, 0.03424561023712158, 0.29576563835144043, 0.23449379205703735, -0.154386505484581, -0.13182997703552246, -0.29447701573371887, 0.4982234239578247, -0.08399208635091782, 0.31589338183403015, 0.13657265901565552, 0.27616608142852783, 0.3606489300727844, -0.3678707480430603, -0.2065560221672058, -0.008861584588885307, -0.06910569965839386, -0.1251034289598465, 0.1423497051000595, 0.3049395978450775, 0.06116540729999542, 0.00904925912618637, 0.011597804725170135, 0.05687035620212555, 0.02124778926372528, -0.1609988510608673, -0.3751562237739563, 0.30665719509124756, -0.3568844497203827, 0.07214917242527008, 0.28452545404434204, 0.19516493380069733, 0.1465729922056198, -0.12584999203681946, -0.42622101306915283, -0.13208253681659698, 0.05153419077396393, -0.0005512628704309464, 0.5533976554870605, 0.07693406939506531, 0.4345998167991638, -0.18803809583187103, 0.11939117312431335, -0.011697599664330482, -0.022397587075829506, -0.10310041159391403, -0.18246611952781677, -0.49321967363357544, 0.045855261385440826, -0.20418798923492432, 0.025304540991783142, -0.21192079782485962, 0.25866276025772095, -0.05868887901306152, 0.12149056792259216, 0.09526067972183228, -0.25488778948783875, 0.3596746325492859, -0.12545877695083618, -0.1094539612531662, 0.3444066047668457, -0.10195757448673248, -0.4721226096153259, -0.00621989369392395, -0.7445629239082336, 0.04639356583356857, 0.1761040985584259, -0.053938984870910645, -0.3493387699127197, 0.162344828248024, -0.21917656064033508, -0.2083563208580017, -0.20741653442382812, 0.17351454496383667, 0.1683153212070465, -0.004893144592642784, -0.15266595780849457, -0.1521722972393036 ]
https://github.com/huggingface/datasets/issues/6906
irc_disentangle - Issue with splitting data
Thank you I will try this out! On Tue, Jun 11, 2024 at 3:55 AM Vincent Lau ***@***.***> wrote: > I add a "streaming=True" after the name of the dataset, and it > works.....hope it can help you > > And if you install the version datasets==2.15.0, this bug will not happen. > I don't know why, but all of them works > > — > Reply to this email directly, view it on GitHub > <https://github.com/huggingface/datasets/issues/6906#issuecomment-2160041812>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/A3HXU7AMBT2MNO34SC3Z5G3ZG2UOXAVCNFSM6AAAAABH45CNPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRQGA2DCOBRGI> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
### Describe the bug I am trying to access your database through python using "datasets.load_dataset("irc_disentangle")" and I am getting this error message: ValueError: Instruction "train" corresponds to no data! ### Steps to reproduce the bug import datasets ds = datasets.load_dataset('irc_disentangle') ds ### Expected behavior The data is supposed to load into ds and be accessable as such: ds['train'][1050], ds['train'][1055] ### Environment info I tired Python 3.12 and 3.10
98
irc_disentangle - Issue with splitting data ### Describe the bug I am trying to access your database through python using "datasets.load_dataset("irc_disentangle")" and I am getting this error message: ValueError: Instruction "train" corresponds to no data! ### Steps to reproduce the bug import datasets ds = datasets.load_dataset('irc_disentangle') ds ### Expected behavior The data is supposed to load into ds and be accessable as such: ds['train'][1050], ds['train'][1055] ### Environment info I tired Python 3.12 and 3.10 Thank you I will try this out! On Tue, Jun 11, 2024 at 3:55 AM Vincent Lau ***@***.***> wrote: > I add a "streaming=True" after the name of the dataset, and it > works.....hope it can help you > > And if you install the version datasets==2.15.0, this bug will not happen. > I don't know why, but all of them works > > — > Reply to this email directly, view it on GitHub > <https://github.com/huggingface/datasets/issues/6906#issuecomment-2160041812>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/A3HXU7AMBT2MNO34SC3Z5G3ZG2UOXAVCNFSM6AAAAABH45CNPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRQGA2DCOBRGI> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
[ -0.12177981436252594, -0.15624012053012848, -0.01351191382855177, 0.49004703760147095, 0.050594642758369446, 0.011658065021038055, 0.5269235968589783, 0.3415123522281647, 0.38264036178588867, 0.26357030868530273, -0.05233416706323624, 0.20088085532188416, -0.07142454385757446, 0.11084208637475967, -0.2950766384601593, -0.25929224491119385, -0.16333279013633728, 0.22189441323280334, -0.007137194275856018, 0.07775527238845825, -0.01973767578601837, 0.074228435754776, -0.41079622507095337, -0.05334837734699249, -0.5004974603652954, -0.246168315410614, -0.29448202252388, 0.3876860737800598, -0.10231111198663712, -0.27029141783714294, 0.42394137382507324, 0.009722180664539337, -0.03577326983213425, 0.5114246606826782, -0.00011461812391644344, -0.07371373474597931, 0.089231476187706, 0.013751937076449394, -0.13653595745563507, -0.06359885632991791, -0.4110455811023712, -0.33878493309020996, 0.2118738442659378, -0.40499988198280334, -0.2864795923233032, 0.12081953883171082, -0.19600345194339752, -0.30935314297676086, 0.673450231552124, 0.47290679812431335, 0.17091722786426544, 0.1916731297969818, 0.12181781232357025, -0.06586667150259018, 0.29455575346946716, 0.056044913828372955, 0.021251114085316658, 0.08634637296199799, -0.3131435811519623, 0.11721140146255493, 0.16630229353904724, 0.21465186774730682, -0.09473061561584473, 0.04618987441062927, -0.06040780246257782, 0.30379220843315125, -0.3562167286872864, -0.3337453305721283, 0.027189437299966812, 0.12394800782203674, 0.30365729331970215, 0.037585608661174774, -0.28606417775154114, -0.285457044839859, 0.0743710994720459, -0.40272748470306396, 0.010011553764343262, 0.2783958613872528, -0.05121772736310959, 0.34843847155570984, -0.05233662202954292, -0.20259921252727509, -0.4870908260345459, 0.20692558586597443, -0.4131973683834076, 0.03346679359674454, -0.14872166514396667, 0.0953158512711525, -0.0827588140964508, 0.08571773022413254, -0.0987391546368599, 0.1164902076125145, -0.26709941029548645, -0.037375956773757935, -0.2406861037015915, -0.20344260334968567, -0.060073502361774445, 0.07604602724313736, -0.11108814924955368, 0.3080255389213562, -0.2768985331058502, -0.012877427041530609, 0.3049447536468506, 0.07311703264713287, 0.4142332673072815, -0.11791978776454926, -0.11293845623731613, 0.3911137282848358, 0.3088175654411316, 0.005904317833483219, -0.26433807611465454, -0.08667806535959244, -0.12236542999744415, 0.00362636661157012, -0.22186017036437988, -0.007385484874248505, 0.4226863384246826, -0.007949348539113998, -0.19971957802772522, 0.05350128561258316, -0.14718811213970184, 0.11565747857093811, -0.057306062430143356, 0.4796088933944702, -0.1353158801794052, 0.24716287851333618, -0.043599605560302734, 0.19034653902053833, -0.283157616853714, -0.44002020359039307, -0.20292115211486816, 0.10955074429512024, -0.511325478553772, -0.18268297612667084, 0.030122291296720505, -0.010666539892554283, -0.11678768694400787, 0.08197644352912903, 0.17086458206176758, -0.2774665951728821, -0.2347453534603119, -0.3951341509819031, 0.3209155797958374, 0.2504199743270874, 0.11121365427970886, 0.0752268061041832, 0.1390337496995926, -0.1236095055937767, 0.001986660063266754, -0.009639516472816467, -0.1777365803718567, -0.24088254570960999, -0.25492432713508606, 0.21023957431316376, -0.016526076942682266, 0.23472172021865845, 0.26773780584335327, 0.23437415063381195, 0.06616397202014923, -0.2659476697444916, 0.006079293787479401, 0.11122533679008484, -0.22067247331142426, -0.32788944244384766, 0.21419934928417206, 0.47201669216156006, -0.25998347997665405, -0.023768864572048187, -0.17274051904678345, 0.10982474684715271, 0.3297301232814789, 0.3062213063240051, -0.1065191924571991, -0.08204013854265213, -0.17807896435260773, 0.4030585289001465, 0.28215736150741577, -0.07548508793115616, -0.6771824359893799, 0.4733695387840271, -0.25453224778175354, 0.15099705755710602, 0.26508012413978577, 0.06454597413539886, 0.6118463277816772, 0.14125752449035645, 0.2450263649225235, 0.5297753810882568, -0.2659851014614105, -0.004136906936764717, -0.16514946520328522, -0.2066667377948761, 0.21623970568180084, 0.15806341171264648, 0.16999709606170654, 0.14424791932106018, 0.3157094419002533, -0.000016665086150169373, 0.544121503829956, -0.10828010737895966, -0.0037633832544088364, -0.002474352717399597, 0.2671586275100708, 0.22380831837654114, -0.17841631174087524, -0.474609375, -0.12926733493804932, 0.08694171160459518, 0.4108145534992218, 0.056427501142024994, -0.03532777726650238, -0.14341813325881958, -0.34674960374832153, -0.006929449737071991, -0.27245578169822693, -0.2727867066860199, 0.055126920342445374, 0.12346240878105164, 0.07204042375087738, -0.019564377143979073, -0.3995719850063324, 0.6763632893562317, 0.020287131890654564, 0.28925928473472595, -0.38590186834335327, 0.4898744821548462, -0.08130721002817154, -0.13178175687789917, -0.22133003175258636, 0.31732773780822754, 0.040507785975933075, -0.09664303064346313, 0.005369060207158327, 0.34077441692352295, 0.3611133098602295, -0.17170651257038116, 0.042105693370103836, -0.2665417194366455, 0.3629695475101471, -0.394093781709671, 0.19447879493236542, 0.21837081015110016, 0.1744464635848999, 0.18442365527153015, 0.0880945548415184, 0.6434556245803833, -0.1916186511516571, 0.31975725293159485, 0.08406832814216614, 0.13843324780464172, 0.24926257133483887, -0.178167924284935, 0.04181535542011261, -0.33148571848869324, 0.18752425909042358, -0.19467340409755707, -0.10122877359390259, -0.11650848388671875, -0.39665287733078003, 0.33406779170036316, 0.47662243247032166, 0.18195785582065582, 0.12853294610977173, -0.08262535184621811, -0.0209934264421463, -0.03450658917427063, -0.003044476732611656, 0.42239412665367126, 0.48018068075180054, 0.38779452443122864, 0.011295117437839508, 0.05543740093708038, 0.08110004663467407, -0.09466591477394104, 0.2978280782699585, -0.015382751822471619, -0.11228756606578827, 0.25159740447998047, 0.08862641453742981, -0.10350237786769867, -0.015768343582749367, -0.012829536572098732, -0.18556487560272217, 0.045732688158750534, -0.258362352848053, 0.10084965825080872, -0.11878467351198196, -0.29271695017814636, 0.012825927697122097, -0.42652371525764465, -0.032513346523046494, -0.2285291850566864, -0.1071287989616394, 0.0630951076745987, -0.01772971823811531, -0.0952918529510498, -0.3038184642791748, 0.17185251414775848, 0.04620303958654404, 0.1374955028295517, 0.0826217532157898, -0.19602644443511963, -0.29613396525382996, 0.11008624732494354, -0.08480999618768692, 0.28024736046791077, 0.32351040840148926, -0.27074840664863586, 0.12392279505729675, 0.08151386678218842, -0.21050062775611877, 0.09870889037847519, -0.12290459871292114, 0.13481922447681427, 0.17351111769676208, 0.19698479771614075, 0.0382009819149971, -0.1782023012638092, 0.23026269674301147, -0.2897507846355438, -0.11602537333965302, 0.22677737474441528, 0.09470949321985245, 0.15824644267559052, -0.2584075629711151, -0.6786975264549255, -0.5189488530158997, -0.48842597007751465, 0.32053327560424805, -0.15710309147834778, 0.04972998425364494, 0.09009099006652832, 0.07433942705392838, 0.060988303273916245, -0.0660385712981224, -0.009261822327971458, -0.35430535674095154, -0.20946817100048065, 0.13843990862369537, -0.18837742507457733, -0.21653993427753448, 0.32039377093315125, -0.08397462964057922, -0.12112933397293091, 0.3896769881248474, -0.25378093123435974, 0.13938038051128387, -0.15602818131446838, 0.4094734787940979, -0.07545740902423859, 0.0976182073354721, 0.09785787761211395, -0.2634800672531128, -0.03209147974848747, -0.03531420975923538, 0.017623253166675568, -0.033274196088314056, 0.1402835249900818, 0.052594125270843506, -0.2936803996562958, 0.39512765407562256, 0.04310344532132149, 0.4544888734817505, 0.16380272805690765, 0.23087213933467865, 0.1502748727798462, -0.17686782777309418, 0.3250983655452728, -0.1746615767478943, -0.4146152138710022, 0.059815119951963425, -0.08169485628604889, -0.43185311555862427, 0.18074992299079895, 0.02553139626979828, -0.0821974128484726, -0.461586058139801, -0.1212925910949707, -0.3392140865325928, -0.4841894507408142, -0.027561495080590248, 0.019494814798235893, 0.17092859745025635, -0.10233773291110992, 0.1924590766429901, 0.15779316425323486, -0.13062188029289246, -0.31635329127311707, 0.45614975690841675, 0.019472554326057434, -0.1658218502998352, -0.21143433451652527, -0.3091380298137665, -0.26938483119010925, 0.25689083337783813, 0.10365033894777298, 0.29610079526901245, -0.12087894976139069, -0.28253719210624695, 0.18168431520462036, 0.13919296860694885, 0.6284981369972229, -0.054674334824085236, -0.31517547369003296, 0.04255299270153046, 0.0052496567368507385, -0.24589620530605316, 0.038566719740629196, -0.1448591947555542, 0.17992402613162994, -0.10708311200141907, -0.31572413444519043, -0.46504104137420654, 0.028027359396219254, 0.5585125684738159, 0.1229383572936058, -0.12679427862167358, 0.06771454215049744, -0.29812896251678467, -0.0754435658454895, -0.2648506760597229, 0.13380040228366852, 0.1654548943042755, 0.07187522202730179, 0.007653998211026192, 0.04314790293574333, -0.14324252307415009, 0.017034973949193954, 0.16445836424827576, 0.06752784550189972, 0.3906978964805603, -0.2820620834827423, -0.021356262266635895, 0.2723953127861023, 0.12285356223583221, 0.26488742232322693, 0.6462714076042175, -0.1806158423423767, -0.7274775505065918, 0.09900890290737152, -0.2599906921386719, 0.39665889739990234, 0.5847114324569702, -0.07078656554222107, 0.27737364172935486, 0.0036563146859407425, 0.3619968295097351, -0.11812255531549454, 0.1765478402376175, 0.21461713314056396, -0.10781510919332504, -0.24421963095664978, -0.49151432514190674, -0.16427767276763916, -0.14986298978328705, 0.26192706823349, 0.10783731192350388, 0.36171263456344604, -0.21475954353809357, 0.3808003067970276, -0.4592497944831848, 1.075312614440918, 0.31334930658340454, 0.28972864151000977, 0.4911668598651886, -0.42254698276519775, 0.5208411812782288, -0.06663932651281357, 0.29942572116851807, -0.35695722699165344, 0.10681384056806564, -0.05988093465566635, -0.004311170428991318, 0.1207164078950882, -0.009980879724025726, -0.16767241060733795, 0.3550569415092468, -0.7300651669502258, 0.037140853703022, -0.26201215386390686, -0.11860942840576172, -0.17108266055583954, 0.09979188442230225, -0.5960456728935242, 0.06611700356006622, -0.11696040630340576, 0.08076202869415283, -0.0788954347372055, -0.10483834147453308, -0.16342124342918396, -0.1353873610496521, -0.2579273283481598, 0.2208067774772644, 0.19025354087352753, 0.10847113281488419, -0.3590536117553711, -0.24286340177059174, -0.11143305897712708, 0.08032787591218948, 0.14364609122276306, 0.05854736268520355, -0.00860193558037281, 0.12861764430999756, -0.3635465204715729, -0.1516312062740326, -0.08280236274003983, 0.1356726884841919, 0.37990203499794006, 0.13704326748847961, -0.30890780687332153, 0.27271080017089844, -0.2042078822851181, -0.05633383244276047, -0.02288275957107544, 0.5245238542556763, 0.40037572383880615, -0.42067089676856995, 0.06701920926570892, 0.026371043175458908, 0.04951697960495949, -0.24679034948349, 0.10717132687568665, 0.05160565301775932, -0.20281735062599182, 0.09287099540233612, -0.07017289102077484, -0.3397078514099121, -0.1627059131860733, 0.24753999710083008, 0.0367959663271904, -0.057944536209106445, 0.31294265389442444, 0.12738871574401855, -0.35228240489959717, -0.3306322395801544, 0.024604737758636475, 0.2779161036014557, -0.42207491397857666, 0.1712694615125656, -0.05933540686964989, 0.17868681252002716, 0.10640016198158264, -0.29239553213119507, 0.13332778215408325, 0.010294623672962189, -0.17898106575012207, -0.41921183466911316, -0.20838968455791473, 0.3609580993652344, -0.07981927692890167, 0.034833163022994995, 0.2978886663913727, 0.117240771651268, -0.17569471895694733, -0.17455431818962097, -0.29669904708862305, 0.23165571689605713, -0.06027067452669144, -0.035386256873607635, 0.017692256718873978, -0.30301329493522644, 0.2349516898393631, -0.19245164096355438, 0.1364518702030182, 0.03458104282617569, -0.13306613266468048, -0.15476739406585693, -0.12082155048847198, 0.13268208503723145, -0.09937693178653717, -0.038594648241996765, -0.028866685926914215, -0.22578127682209015, -0.11261627078056335, -0.06557897478342056, 0.3406051993370056, 0.3457862436771393, -0.014653459191322327, 0.0111108822748065, 0.020511403679847717, 0.1956259310245514, -0.5179838538169861, 0.36038437485694885, 0.04467476159334183, 0.3260599970817566, 0.07052605599164963, 0.11511356383562088, -0.34670349955558777, -0.03820240497589111, 0.09633777290582657, 0.12288866937160492, 0.20808041095733643, -0.16559812426567078, 0.4155469536781311, -0.36411577463150024, 0.19417738914489746, -0.24362818896770477, 0.417589008808136, 0.4789406955242157, 0.036804426461458206, 0.1468229740858078, 0.09528615325689316, 0.25189247727394104, -0.11453162133693695, 0.09689533710479736, 0.32626599073410034, -0.183979332447052, 0.08932201564311981, 0.25568458437919617, -0.14612069725990295, 0.1936497688293457, -0.47864842414855957, 0.08825395256280899, 0.09988796710968018, 0.01913311704993248, 0.31664249300956726, 0.5834380984306335, -0.10756288468837738, 0.015153352171182632, 0.13350918889045715, 0.06452660262584686, 0.17058897018432617, 0.5760108828544617, -0.11866637319326401, 0.5748311877250671, 0.013066811487078667, 0.08735156059265137, 0.02891472354531288, -0.34996581077575684, -0.14456863701343536, 0.06978864967823029, -0.16300633549690247, 0.005987279117107391, -0.1666315793991089, 0.5289786458015442, -0.33888182044029236, -0.19329833984375, -0.033529121428728104, -0.10540832579135895, -0.01830599457025528, 0.25189241766929626, 0.41341522336006165, -0.16982418298721313, -0.40016472339630127, -0.10456390678882599, 0.10489639639854431, -0.04443231225013733, 0.14304958283901215, 0.18249966204166412, 0.051359113305807114, -0.4051074683666229, 0.034535180777311325, 0.18403297662734985, 0.18740686774253845, -0.22297403216362, -0.026426570490002632, 0.11259037256240845, -0.0012574195861816406, 0.28159916400909424, -0.17856961488723755, 0.29746803641319275, -0.07921834290027618, -0.11731021106243134, -0.15034019947052002, 0.25011178851127625, -0.2090611755847931, -0.03190405294299126, 0.2730608582496643, 0.15403345227241516, 0.29913437366485596, 0.11291740834712982, 0.1403534710407257, -0.15703877806663513, 0.2623339295387268, 0.08166410028934479, 0.33283475041389465, -0.3370937705039978, 0.15389268100261688, -0.20448309183120728, -0.14115770161151886, -0.09289252758026123, -0.2756941318511963, -0.5515866279602051, -0.12611998617649078, 0.2664148211479187, -0.1112859696149826, 0.0146870706230402, -0.04435822367668152, 0.05323044955730438, -0.14544296264648438, 0.19563288986682892, 0.23742854595184326, 0.3376600742340088, -0.08764265477657318, -0.1846577376127243, -0.26869523525238037, 0.1604619175195694, -0.06025351211428642, -0.015788035467267036, -0.17507675290107727, 0.3138360381126404, -0.02581554651260376, 0.0672970712184906, 0.23126718401908875, -0.1751319169998169, 0.40458059310913086, 0.10129513591527939, -0.2503768801689148, 0.0851624459028244, 0.0792171061038971, 0.05996011942625046, 0.043754033744335175, -0.28989678621292114, -0.04167504981160164, 0.10409074276685715, -0.10349225252866745, 0.1440504491329193, 0.08077363669872284, 0.19468022882938385, -0.08990654349327087, -0.056736186146736145, 0.14291849732398987, 0.5414333343505859, 0.021521225571632385, -0.2423848807811737, -0.20589220523834229, -0.35158661007881165, -0.20451386272907257, 0.43246012926101685, 0.2050672024488449, 0.47615519165992737, -0.11162405461072922, 0.038957104086875916, -0.0660429447889328, -0.02245233580470085, 0.23733864724636078, 0.17956706881523132, -0.22537289559841156, 0.0326308012008667, 0.030202150344848633, 0.3342072665691376, 0.13882917165756226, 0.3351984918117523, -0.11489318311214447, -0.0004469212144613266, 0.010783404111862183, -0.18805734813213348, 0.4513787031173706, 0.05230606347322464, -0.33174723386764526, -0.15632858872413635, 0.4833151698112488, 0.21537575125694275, -0.089478999376297, -0.6775614619255066, -0.1508072018623352, 0.1709115356206894, -0.269430935382843, -0.12219847738742828, 0.159185990691185, 0.18586979806423187, 0.012684006243944168, 0.07044865190982819, 0.25059473514556885, 0.10932242125272751, -0.11272015422582626, 0.3317001461982727, -0.23073667287826538 ]