html_url
stringlengths
51
51
title
stringlengths
6
280
comments
stringlengths
63
141k
body
stringlengths
18
58.6k
comment_length
int64
16
10.8k
text
stringlengths
6
280
embeddings
listlengths
768
768
https://github.com/huggingface/datasets/issues/1633
social_i_qa wrong format of labels
@lhoestq, should I raise a PR for this? Just a minor change while reading labels text file
Hi, there is extra "\n" in labels of social_i_qa datasets, no big deal, but I was wondering if you could remove it to make it consistent. so label is 'label': '1\n', not '1' thanks ``` >>> import datasets >>> from datasets import load_dataset >>> dataset = load_dataset( ... 'social_i_qa') cahce dir /julia/cache/datasets Downloading: 4.72kB [00:00, 3.52MB/s] cahce dir /julia/cache/datasets Downloading: 2.19kB [00:00, 1.81MB/s] Using custom data configuration default Reusing dataset social_i_qa (/julia/datasets/social_i_qa/default/0.1.0/4a4190cc2d2482d43416c2167c0c5dccdd769d4482e84893614bd069e5c3ba06) >>> dataset['train'][0] {'answerA': 'like attending', 'answerB': 'like staying home', 'answerC': 'a good friend to have', 'context': 'Cameron decided to have a barbecue and gathered her friends together.', 'label': '1\n', 'question': 'How would Others feel as a result?'} ```
17
social_i_qa wrong format of labels
[ 0.1586034893989563, -0.3341149091720581, -0.26229605078697205, 0.22637583315372467, 0.1688634157180786, -0.2162325084209442, 0.37162289023399353, 0.0650150403380394, 0.0727146789431572, 0.19726578891277313, -0.1825045794248581, -0.06657767295837402, 0.1572236865758896, 0.449786514043808, -0.16041553020477295, 0.047166354954242706, -0.0431181900203228, 0.11554813385009766, 0.011242171749472618, -0.24599947035312653, -0.21984270215034485, 0.37443867325782776, -0.09154150635004044, 0.5969695448875427, -0.09674118459224701, -0.07189242541790009, 0.1259101927280426, -0.05115508660674095, -0.13896673917770386, -0.10594483464956284, -0.007412116974592209, 0.21925948560237885, -0.3089280128479004, 0.22842824459075928, -0.00010683835716918111, -0.1842266470193863, -0.02105347253382206, -0.15860632061958313, 0.15186896920204163, 0.3315821886062622, -0.29433754086494446, 0.12377437949180603, -0.17461197078227997, 0.13700458407402039, -0.19727358222007751, -0.351564884185791, 0.018235690891742706, 0.16785113513469696, -0.23301494121551514, 0.0570068322122097, 0.24173367023468018, -0.19801302254199982, -0.16563044488430023, -0.16343781352043152, 0.16410700976848602, -0.13978707790374756, 0.2038479894399643, 0.2477361112833023, -0.1244906485080719, 0.3420225977897644, 0.3297238051891327, 0.48875465989112854, -0.009932887740433216, -0.1179157942533493, 0.17009741067886353, -0.20510371029376984, 0.5387502312660217, -0.058758217841386795, 0.18738999962806702, 0.21521295607089996, 0.6310577392578125, -0.0483027920126915, -0.11161588877439499, 0.21832022070884705, -0.09413979947566986, -0.03316919878125191, -0.27197638154029846, -0.04307315871119499, 0.35082903504371643, 0.05632820352911949, 0.12459833920001984, 0.07570604979991913, -0.3317318856716156, -0.029944801703095436, 0.007970032282173634, 0.5519276261329651, -0.19235941767692566, 0.1259995698928833, -0.15479464828968048, -0.31923460960388184, 0.16739299893379211, 0.43336743116378784, -0.18285074830055237, -0.18826498091220856, 0.07290603965520859, -0.0004627226444426924, 0.1305961161851883, 0.014966982416808605, 0.012023229151964188, 0.015050764195621014, -0.05281797796487808, 0.22529831528663635, 0.12721268832683563, -0.08122622221708298, 0.09061246365308762, 0.2576127052307129, 0.5566372871398926, 0.11943822354078293, -0.07308030873537064, 0.06098232418298721, -0.1310385912656784, -0.07403688877820969, -0.0011963972356170416, 0.20571529865264893, -0.10999887436628342, -0.15874800086021423, -0.3291364014148712, -0.2491966336965561, -0.3617730140686035, -0.03306831791996956, -0.03123658522963524, 0.053979795426130295, -0.18969522416591644, 0.3430032730102539, 0.21192477643489838, 0.2822689414024353, -0.12402940541505814, 0.16795134544372559, -0.07571176439523697, -0.09905517101287842, -0.2916945815086365, -0.08500220626592636, 0.12715613842010498, -0.24853304028511047, -0.14767003059387207, 0.08913633972406387, 0.12910206615924835, -0.3216785192489624, -0.0652492567896843, -0.2899887263774872, -0.5059202909469604, 0.10368310660123825, 0.3691065013408661, 0.2991690933704376, -0.11236224323511124, 0.2712457478046417, 0.0014337367611005902, -0.29314279556274414, -0.12239350378513336, -0.015655169263482094, -0.38417449593544006, -0.08489280939102173, -0.20920969545841217, 0.30729666352272034, 0.32513391971588135, -0.09263172745704651, 0.4805786609649658, 0.24283583462238312, 0.3800983726978302, -0.3043793737888336, 0.19676661491394043, -0.16077420115470886, 0.04794476553797722, 0.03593239188194275, -0.06712055951356888, 0.14677412807941437, -0.36929556727409363, -0.2951633036136627, 0.26230132579803467, -0.16078203916549683, 0.24986876547336578, 0.4044688045978546, 0.278704971075058, 0.15451785922050476, 0.09130460023880005, 0.15922662615776062, 0.11190824955701828, -0.4328201115131378, -0.43734338879585266, 0.044676490128040314, 0.030872587114572525, -0.273484468460083, 0.2685900330543518, 0.0206899456679821, 0.12601371109485626, 0.06014493107795715, 0.14795494079589844, -0.2395821362733841, 0.25172072649002075, -0.06803333759307861, -0.3468824625015259, -0.10118374973535538, 0.2699747681617737, 0.03320341557264328, -0.1701432168483734, 0.14865465462207794, -0.16380025446414948, -0.10213282704353333, 0.14355523884296417, -0.04689578339457512, -0.3074244260787964, 0.013354655355215073, 0.22877340018749237, 0.09006897360086441, 0.3259182572364807, 0.003477799938991666, -0.052117589861154556, -0.3039321303367615, -0.28273436427116394, 0.34901270270347595, 0.6278150677680969, -0.14889293909072876, -0.581150472164154, -0.09294946491718292, -0.09783167392015457, -0.04360688105225563, 0.24114926159381866, -0.018594052642583847, -0.10760917514562607, 0.03635929152369499, 0.10653800517320633, 0.09441198408603668, -0.18306221067905426, -0.05178752914071083, 0.23051653802394867, -0.45936325192451477, -0.21818576753139496, 0.053043875843286514, 0.007489291951060295, 0.3333597183227539, 0.424041211605072, 0.27167659997940063, 0.15925580263137817, 0.17175030708312988, -0.2957186698913574, -0.11831823736429214, -0.05325642228126526, 0.15263570845127106, 0.007611183449625969, -0.274222195148468, -0.13680298626422882, 0.110999695956707, -0.06344727426767349, -0.06418827176094055, 0.04809547960758209, 0.15847612917423248, 0.2027803510427475, 0.07835683226585388, -0.25148841738700867, -0.11868265271186829, 0.2107584923505783, 0.12736819684505463, -0.14894095063209534, -0.42385756969451904, -0.08177811652421951, -0.25835543870925903, -0.15390601754188538, -0.127925843000412, -0.19963647425174713, 0.6590026617050171, 0.7360469102859497, 0.06961236149072647, 0.29553917050361633, -0.02480965107679367, 0.06129686161875725, -0.013725200667977333, 0.10258681327104568, 0.09921172261238098, -0.08412341773509979, -0.02381422370672226, -0.21455076336860657, -0.16167525947093964, -0.03630658984184265, -0.2719675302505493, 0.1927460879087448, 0.17328394949436188, 0.09442970901727676, -0.03579201549291611, 0.35972732305526733, -0.19993703067302704, 0.2141069918870926, 0.1638672947883606, -0.22223474085330963, -0.07853104174137115, -0.5247060656547546, 0.23953427374362946, -0.07411176711320877, -0.381970077753067, 0.1341972053050995, -0.4509560465812683, 0.026076193898916245, -0.3581562340259552, 0.10841421782970428, -0.2212291657924652, -0.1558128446340561, 0.2216988503932953, 0.4821805953979492, 0.3251984417438507, 0.08995743095874786, 0.11114446818828583, -0.12794789671897888, -0.0028525067027658224, -0.2345486879348755, 0.0979740247130394, -0.3650640547275543, -0.0023475198540836573, 0.09031384438276291, -0.6633685231208801, -0.1118907630443573, 0.1712823510169983, -0.26888373494148254, 0.2692868411540985, -0.1405087113380432, 0.08650869131088257, 0.23137107491493225, 0.13699620962142944, -0.35573601722717285, 0.020906489342451096, 0.2082597315311432, -0.17094653844833374, 0.25597986578941345, 0.08571486175060272, -0.38848817348480225, 0.033772021532058716, -0.5268483757972717, -0.17037102580070496, -0.3318765163421631, 0.050953999161720276, 0.3158856928348541, 0.10370121151208878, 0.18834403157234192, 0.2037339210510254, -0.15376994013786316, -0.2856280505657196, -0.23989124596118927, -0.07498146593570709, -0.2917438745498657, 0.08056771755218506, 0.03833033889532089, -0.023379599675536156, -0.1347220540046692, -0.1412728875875473, 0.2876835763454437, 0.09955048561096191, -0.3431537449359894, -0.02038651332259178, -0.3038921654224396, 0.40003591775894165, 0.007516556419432163, 0.10665774345397949, 0.021432500332593918, 0.0820029079914093, -0.10156643390655518, -0.23605547845363617, -0.2058093547821045, 0.0015086376806721091, 0.6920615434646606, -0.07314641773700714, -0.14525893330574036, -0.09995794296264648, -0.07996409386396408, -0.24103452265262604, 0.3974591791629791, 0.15700486302375793, 0.11043338477611542, -0.16351225972175598, -0.04885464534163475, 0.32008451223373413, -0.06712784618139267, 0.1701001226902008, 0.2995354235172272, 0.29261308908462524, 0.1223965510725975, 0.37491628527641296, -0.18059241771697998, 0.32821255922317505, 0.33300721645355225, 0.5209958553314209, -0.21593356132507324, 0.12209726125001907, -0.12221222370862961, 0.33696821331977844, -0.014608366414904594, 0.22923608124256134, 0.17683754861354828, -0.08012758195400238, -0.10879241675138474, 0.12740302085876465, 0.007421511225402355, -0.25041165947914124, 0.11571570485830307, -0.34927523136138916, -0.17704656720161438, -0.030907277017831802, 0.10343538969755173, 0.09272384643554688, 0.3470686972141266, -0.27197515964508057, 0.054483700543642044, -0.007422106806188822, 0.05755004286766052, 0.2587778866291046, 0.21036386489868164, -0.05957892909646034, 0.1581655889749527, 0.5444715619087219, -0.23928208649158478, -0.06092080846428871, -0.17906443774700165, -0.19834600389003754, 0.16128551959991455, 0.24111449718475342, -0.30273061990737915, 0.08399557322263718, -0.11568617075681686, -0.26138824224472046, -0.16153870522975922, -0.06991378217935562, -0.29624632000923157, -0.40568527579307556, -0.15238063037395477, 0.0743521898984909, 0.22599360346794128, -0.05403844267129898, -0.33672961592674255, 0.18079866468906403, 0.4962272644042969, 0.14458180963993073, 0.04488023370504379, 0.24228644371032715, 0.3521985411643982, -0.1429440826177597, -0.45862916111946106, 0.005595725495368242, -0.12660731375217438, -0.009452657774090767, 0.2539786100387573, -0.14958518743515015, -0.5012842416763306, 0.20486654341220856, -0.4771340489387512, 0.07029587030410767, 0.23439432680606842, 0.12995284795761108, -0.03586574271321297, 0.1584254503250122, 0.2875756323337555, 0.12977497279644012, -0.03476493060588837, 0.1317049264907837, -0.18494005501270294, 0.07277731597423553, -0.12723197042942047, 0.2728293836116791, -0.14727506041526794, -0.10045171529054642, -0.13961343467235565, 0.4461129307746887, -0.2201663702726364, 0.2101239711046219, -0.0952618196606636, 0.8571970462799072, 0.07736250758171082, -0.10643982887268066, 0.2212125062942505, -0.20818322896957397, 0.26457148790359497, 0.00543407304212451, 0.1517253965139389, -0.5694543719291687, -0.013738933019340038, 0.09888021647930145, 0.14026795327663422, -0.4084005355834961, 0.23186233639717102, -0.3031027913093567, 0.45484331250190735, -0.35208889842033386, 0.08661793172359467, 0.29068318009376526, -0.1582336276769638, 0.16405068337917328, 0.07572764158248901, -0.16640140116214752, 0.16998186707496643, -0.24593845009803772, -0.09695926308631897, -0.14613710343837738, 0.10550308972597122, -0.21591562032699585, 0.0786421075463295, -0.022710565477609634, 0.08087130635976791, -0.2789055109024048, -0.3868330419063568, 0.27602899074554443, 0.010642597451806068, -0.30289092659950256, -0.07716485112905502, 0.4040311872959137, 0.05934306979179382, -0.12231820821762085, 0.19331154227256775, 0.2669917941093445, 0.19441355764865875, 0.08826866000890732, 0.1740669459104538, 0.044266749173402786, -0.106350839138031, -0.06061558797955513, 0.0125852320343256, 0.02493087761104107, 0.21030433475971222, -0.6498863101005554, 0.1682361215353012, 0.35502392053604126, -0.1683010309934616, 0.10341347754001617, 0.051670510321855545, 0.29400214552879333, -0.10697056353092194, 0.1883598417043686, -0.04995378479361534, 0.18752244114875793, -0.33371520042419434, 0.14727997779846191, -0.2058350294828415, -0.15957728028297424, 0.029186392202973366, 0.11666841059923172, 0.11745955049991608, 0.12980948388576508, 0.0724165290594101, -0.2172384262084961, -0.22548025846481323, -0.06304863840341568, -0.018445784226059914, -0.48136770725250244, -0.02607535757124424, -0.05755041539669037, -0.5301250219345093, -0.19097472727298737, 0.5655682682991028, -0.1141941249370575, 0.07251542806625366, -0.13196977972984314, -0.047283101826906204, 0.11721271276473999, 0.14863979816436768, -0.28596755862236023, -0.19563885033130646, 0.3142182528972626, 0.12029580771923065, -0.04907523840665817, 0.04285600036382675, -0.3988996148109436, -0.21792252361774445, -0.14899134635925293, -0.05838176608085632, -0.08598912507295609, -0.15154607594013214, 0.08214402198791504, 0.12328829616308212, 0.13880015909671783, 0.06962405145168304, -0.09176447242498398, -0.3314160108566284, -0.10581644624471664, 0.09996818006038666, 0.1943962275981903, 0.04013790190219879, -0.07867678999900818, -0.033794909715652466, -0.17698915302753448, 0.12809330224990845, 0.0775945857167244, -0.19072286784648895, 0.25783804059028625, 0.262295663356781, -0.08103346824645996, 0.3460630774497986, 0.09573844075202942, 0.028055939823389053, 0.09866268932819366, 0.41509395837783813, 0.0045975628308951855, -0.065089650452137, -0.18968206644058228, -0.18999026715755463, 0.046918611973524094, 0.40994229912757874, 0.47902771830558777, 0.26577889919281006, -0.05844008922576904, -0.4061346650123596, 0.17230124771595, -0.054429516196250916, 0.05123597010970116, -0.0163439754396677, -0.20778381824493408, -0.5720956921577454, 0.16798558831214905, 0.2999218702316284, 0.009821174666285515, -0.029613198712468147, -0.07225161790847778, -0.04843665659427643, -0.15964770317077637, 0.0829416811466217, 0.3088635206222534, -0.4975965917110443, 0.4337709844112396, 0.24755670130252838, 0.304877370595932, -0.4199114143848419, -0.17710545659065247, -0.2699715197086334, -0.12188664823770523, 0.19149954617023468, 0.5170167088508606, -0.10674545168876648, -0.23814934492111206, 0.0829029455780983, 0.6293665170669556, 0.12262840569019318, 0.18886086344718933, 0.12356231361627579, 0.04120039939880371, -0.002183204283937812, -0.1866844892501831, 0.019093560054898262, -0.12348372489213943, 0.2076714187860489, 0.14807938039302826, 0.2248469442129135, -0.460059255361557, -0.29066938161849976, 0.13274896144866943, -0.08909643441438675, -0.32477548718452454, -0.1476609706878662, 0.15816903114318848, 0.032198935747146606, 0.19653935730457306, -0.1316593736410141, -0.2127479463815689, 0.1612464040517807, -0.0030427423771470785, -0.23742711544036865, -0.2238176167011261, -0.15996482968330383, -0.5777165293693542, -0.07932797819375992, 0.37348511815071106, -0.20059102773666382, 0.3885557949542999, 0.3016349971294403, -0.034641943871974945, 0.15580134093761444, 0.2245248258113861, 0.22494593262672424, -0.0067459107376635075, -0.009680216200649738, -0.3236503601074219, -0.1647038608789444, -0.18793494999408722, 0.30227982997894287, 0.02779529057443142, 0.6008814573287964, -0.3238740861415863, 0.09487570077180862, 0.21537141501903534, -0.22711780667304993, -0.0701664611697197, 0.45402222871780396, 0.5951893925666809, 0.27837073802948, -0.41664186120033264, -0.478584349155426, -0.16047906875610352, -0.17169751226902008, -0.07667174190282822, -0.4404382109642029, 0.029307009652256966, -0.03706543892621994, 0.027204550802707672, 0.12512701749801636, -0.23039473593235016, 0.12548556923866272, 0.08918819576501846, 0.4761043190956116, 0.03391347825527191, 0.13347524404525757, 0.053806282579898834, 0.02494853176176548, 0.23114120960235596, 0.4258732199668884, 0.2631954848766327, 0.1758987456560135, -0.13993094861507416, 0.14593422412872314, 0.24147820472717285, -0.3492218554019928, -0.01650906354188919, 0.15594708919525146, -0.10041113197803497, -0.17922399938106537, -0.2382371723651886, 0.18475547432899475, -0.3861389756202698, 0.09116925299167633, 0.18246272206306458, 0.023796321824193, 0.17018724977970123, -0.24300095438957214, 0.23254844546318054, 0.17425639927387238, -0.04429275169968605, 0.11374794691801071, 0.22869063913822174, 0.023508345708251, 0.23326802253723145, 0.08234482258558273, -0.15811312198638916, -0.49937814474105835, 0.07083424925804138, -0.0518653579056263, -0.14922864735126495, 0.16006571054458618, -0.03654221072793007, 0.09187401086091995, 0.22235628962516785, 0.11137617379426956, 0.07470002770423889, 0.1414845734834671, 0.15737275779247284, 0.33396822214126587, -0.2924414575099945, 0.20306824147701263, 0.19381731748580933, -0.6213737726211548, 0.08523447811603546, -0.0464978963136673, 0.2492992877960205, -0.01085864007472992, -0.02315274253487587, -0.22294838726520538, 0.30408361554145813, 0.22337108850479126, -0.15480956435203552, 0.14989981055259705, 0.24300648272037506, 0.09058357775211334, -0.0008627231582067907, -0.34945738315582275, 0.04610174521803856, 0.21943610906600952, -0.09414280951023102, -0.23511293530464172, 0.05819261819124222, -0.24663104116916656, 0.03917645663022995, -0.07454033195972443, -0.008801070041954517, 0.3533034026622772, -0.285789430141449, -0.05170059576630592, -0.05159280449151993 ]
https://github.com/huggingface/datasets/issues/1630
Adding UKP Argument Aspect Similarity Corpus
Adding a link to the guide on adding a dataset if someone want to give it a try: https://github.com/huggingface/datasets#add-a-new-dataset-to-the-hub we should add this guide to the issue template @lhoestq
Hi, this would be great to have this dataset included. ## Adding a Dataset - **Name:** UKP Argument Aspect Similarity Corpus - **Description:** The UKP Argument Aspect Similarity Corpus (UKP ASPECT) includes 3,595 sentence pairs over 28 controversial topics. Each sentence pair was annotated via crowdsourcing as either “high similarity”, “some similarity”, “no similarity” or “not related” with respect to the topic. - **Paper:** https://www.aclweb.org/anthology/P19-1054/ - **Data:** https://tudatalib.ulb.tu-darmstadt.de/handle/tudatalib/1998 - **Motivation:** this is one of the datasets currently used frequently in recent adapter papers like https://arxiv.org/pdf/2005.00247.pdf Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md). Thank you
29
Adding UKP Argument Aspect Similarity Corpus
[ -0.45036616921424866, -0.2584432363510132, -0.027198560535907745, -0.23130814731121063, -0.09211660921573639, 0.2385358363389969, 0.20862677693367004, 0.0855502188205719, -0.5012311935424805, 0.1921616643667221, -0.264397531747818, 0.37043526768684387, 0.09655190259218216, -0.37095436453819275, 0.3337956666946411, -0.3751429617404938, -0.058081116527318954, 0.2892037332057953, 0.003640463575720787, -0.4374921917915344, -0.02887711115181446, 0.23110049962997437, -0.256986528635025, -0.2533482313156128, -0.15463128685951233, 0.06065216660499573, -0.248907208442688, 0.10474743694067001, 0.2908431887626648, -0.19003336131572723, -0.051351357251405716, -0.023310650140047073, -0.2735511362552643, -0.19090873003005981, -0.00011523264402057976, -0.1896011084318161, 0.31377190351486206, 0.1522788405418396, 0.2401358187198639, 0.2535291612148285, 0.17840373516082764, 0.3408184349536896, -0.2542443573474884, -0.20000439882278442, -0.269400417804718, -0.09748545289039612, 0.1200336366891861, 0.20815913379192352, 0.06280939280986786, 0.17766600847244263, 0.17544038593769073, -0.025029154494404793, 0.1866142302751541, -0.1396895945072174, 0.020041240379214287, 0.2555495798587799, 0.14561714231967926, -0.06345963478088379, 0.27000439167022705, 0.25178223848342896, 0.09204385429620743, 0.16816362738609314, -0.03973642736673355, -0.13933447003364563, -0.18065145611763, 0.1325056403875351, 0.2949935793876648, 0.4164382219314575, 0.12549801170825958, -0.0038519592490047216, 0.5233978033065796, 0.2022731900215149, -0.09523902833461761, -0.08026770502328873, 0.01113034226000309, 0.10265839099884033, -0.09256114810705185, -0.2753724753856659, -0.056852053850889206, 0.09626922011375427, 0.40655893087387085, -0.031009824946522713, -0.41471096873283386, 0.1452483832836151, 0.028576981276273727, 0.40202847123146057, 0.2577436566352844, -0.09688461571931839, 0.1420038640499115, -0.062449026852846146, 0.021432533860206604, -0.018918098881840706, 0.10297230631113052, 0.1169976070523262, 0.5886508822441101, -0.23112936317920685, 0.35066521167755127, 0.023109396919608116, 0.20332768559455872, -0.41957440972328186, 0.180790975689888, 0.06011173501610756, 0.06336498260498047, 0.17427746951580048, 0.1426859200000763, 0.06707500666379929, -0.18923647701740265, 0.2046782225370407, -0.2266363501548767, -0.06456256657838821, -0.18366043269634247, 0.2613895833492279, 0.21841201186180115, -0.09026798605918884, -0.10207542777061462, -0.06490539759397507, -0.022234288975596428, -0.5742935538291931, -0.09026745706796646, -0.12835316359996796, 0.23561255633831024, -0.030196528881788254, -0.17294956743717194, 0.08472171425819397, 0.1820506453514099, 0.15738916397094727, 0.019795550033450127, -0.029662376269698143, -0.2854631543159485, -0.21001343429088593, -0.27817219495773315, 0.19933433830738068, -0.06072576344013214, -0.32091671228408813, 0.12955261766910553, 0.0679769366979599, 0.2408638298511505, 0.02088402584195137, 0.30198001861572266, 0.2446265071630478, -0.08572288602590561, 0.26683309674263, 0.2376886010169983, -0.09663471579551697, -0.2890324294567108, -0.39639413356781006, 0.16211698949337006, -0.12024985998868942, -0.5443885326385498, 0.05788193643093109, 0.1405463069677353, -0.22219692170619965, -0.19465957581996918, 0.2597672939300537, -0.2955700159072876, -0.48494094610214233, -0.03043721616268158, 0.2656102478504181, -0.011868027038872242, -0.4707413911819458, -0.19799643754959106, 0.1541607826948166, -0.6292035579681396, -0.04824336990714073, -0.13047964870929718, 0.28303781151771545, 0.17765246331691742, -0.4964256286621094, -0.0016728340415284038, 0.059587106108665466, 0.2167443037033081, 0.13559076189994812, -0.23809334635734558, -0.2384188026189804, -0.32218703627586365, 0.15967173874378204, 0.5657973289489746, -0.2020743042230606, -0.16474871337413788, 0.3001245856285095, -0.22204984724521637, 0.09972334653139114, 0.3098503351211548, -0.07666163146495819, 0.05816582962870598, -0.12436284124851227, 0.4735696017742157, 0.20743155479431152, -0.19201608002185822, 0.01670609600841999, -0.3254413306713104, 0.22766947746276855, -0.26217135787010193, 0.03567910194396973, -0.11968003958463669, 0.47409045696258545, 0.37538865208625793, 0.027662068605422974, 0.5026864409446716, -0.14159329235553741, -0.19113320112228394, 0.24123923480510712, 0.39061909914016724, -0.5994783639907837, 0.11440664529800415, -0.27576732635498047, 0.2085687220096588, -0.3141038715839386, -0.38474833965301514, 0.4408149719238281, 0.45687663555145264, -0.18954667448997498, 0.04412097483873367, 0.0069616734981536865, 0.21206998825073242, -0.03391341492533684, 0.12361729890108109, -0.017448803409934044, -0.090704046189785, -0.04066403582692146, 0.1552918702363968, -0.0006665485561825335, 0.06632128357887268, -0.2334079146385193, -0.13521981239318848, 0.07440175116062164, -0.13896453380584717, -0.10068031400442123, 0.38522201776504517, 0.4220227301120758, -0.011527049355208874, -0.0032355692237615585, -0.08707160502672195, -0.23638427257537842, 0.023094788193702698, 0.19543083012104034, -0.027067365124821663, 0.40175750851631165, 0.2456609457731247, -0.2961832284927368, 0.3948075473308563, -0.01741759106516838, -0.021731838583946228, 0.06757929921150208, -0.1848968118429184, 0.26696982979774475, 0.28940171003341675, -0.048751700669527054, -0.013837863691151142, -0.022612374275922775, 0.09823202341794968, -0.106459841132164, -0.10336537659168243, -0.3628225028514862, 0.44815191626548767, 0.22010080516338348, 0.07959315180778503, 0.1287723034620285, -0.1500604748725891, 0.39088162779808044, 0.00265414547175169, -0.021236460655927658, -0.08399453014135361, 0.20827235281467438, -0.1283935308456421, -0.262437105178833, 0.4025839567184448, -0.4834580421447754, 0.38427838683128357, 0.47054359316825867, 0.4549083113670349, 0.20746882259845734, -0.5154902338981628, -0.15764889121055603, 0.18271075189113617, -0.29519563913345337, -0.11364677548408508, 0.10533755272626877, 0.23224441707134247, 0.10811511427164078, -0.4321053922176361, -0.05346159264445305, -0.14935927093029022, -0.0920829251408577, -0.21544155478477478, -0.06894024461507797, -0.3272992670536041, 0.05318625643849373, -0.38633865118026733, 0.2618871331214905, 0.22791889309883118, -0.11398950219154358, 0.14514385163784027, 0.129957914352417, -0.13596822321414948, 0.28176823258399963, -0.04554501175880432, 0.24282529950141907, -0.24293887615203857, -0.14980022609233856, 0.028226735070347786, -0.16966085135936737, -0.31438738107681274, 0.14541763067245483, -0.22768332064151764, 0.20201405882835388, 0.2232256978750229, -0.20535209774971008, 0.13808590173721313, -0.025680432096123695, -0.7219358086585999, 0.06845425069332123, 0.027656082063913345, 0.24338380992412567, 0.4587765038013458, -0.31356844305992126, -0.06957636773586273, -0.12719516456127167, 0.10334138572216034, 0.07064748555421829, -0.11724365502595901, 0.03227438032627106, -0.5869010090827942, -0.44090330600738525, -0.0033080438151955605, -0.20090731978416443, 0.2505624294281006, -0.34943804144859314, 0.19506484270095825, -0.23307546973228455, 0.32798221707344055, 0.5637504458427429, 0.2176617681980133, -0.09334304928779602, -0.05660390108823776, 0.5729106068611145, -0.2952485978603363, 0.08216886967420578, 0.29869765043258667, -0.1949378401041031, -0.28458157181739807, -0.09387486428022385, -0.33560577034950256, 0.17035000026226044, 0.09448180347681046, 0.054841674864292145, -0.6053910255432129, 0.2760232090950012, 0.0029781076591461897, -0.024255678057670593, 0.15677639842033386, 0.21468345820903778, 0.08165138214826584, -0.25642824172973633, -0.10765135288238525, -0.24451367557048798, 0.22573016583919525, 0.31581947207450867, 0.18712663650512695, -0.15481029450893402, -0.15830613672733307, 0.07682031393051147, -0.08246007561683655, 0.08327881246805191, -0.40122270584106445, 0.27393195033073425, 0.08067464828491211, -0.1089981347322464, -0.017763962969183922, 0.006163072306662798, 0.2627350091934204, 0.39921241998672485, -0.25837263464927673, 0.32092130184173584, -0.11208508908748627, -0.5445350408554077, -0.013528533279895782, -0.3298151195049286, 0.03673171624541283, -0.16696976125240326, 0.01192400511354208, 0.2079969048500061, 0.4085787534713745, 0.016141533851623535, -0.3704892098903656, -0.4737105071544647, -0.13978740572929382, 0.36300933361053467, 0.4030603766441345, 0.1408342570066452, 0.05686843395233154, -0.06494774669408798, 0.008140035904943943, -0.049841538071632385, 0.5236784815788269, 0.19955411553382874, -0.19603270292282104, -0.25470802187919617, -0.26442641019821167, -0.028943205252289772, -0.08527127653360367, 0.6166017651557922, -0.009659326635301113, -0.03539520502090454, -0.04771382734179497, 0.13848893344402313, 0.05355561524629593, 0.12350406497716904, 0.1285926103591919, -0.40689703822135925, 0.09346196055412292, -0.1806720495223999, -0.2635369598865509, 0.25900813937187195, 0.4163396656513214, -0.0695798397064209, 0.08356404304504395, -0.43551430106163025, -0.012361252680420876, -0.24811005592346191, -0.10975710302591324, 0.12304003536701202, 0.11082823574542999, -0.0439380407333374, 0.3378400206565857, 0.05719153210520744, -0.11657704412937164, -0.026749884709715843, 0.22638538479804993, 0.16948874294757843, 0.016408506780862808, 0.10673315823078156, 0.1970795840024948, -0.27875572443008423, 0.3082040846347809, -0.007146148011088371, 0.16768209636211395, -0.15272797644138336, 0.08202801644802094, -0.203374981880188, -0.07039138674736023, 0.10173168033361435, 0.19681812822818756, 0.39319702982902527, -0.1570107787847519, 0.014215558767318726, -0.38232505321502686, 0.05385695397853851, 0.046142008155584335, -0.2230156511068344, 0.21100303530693054, 0.1396580934524536, 0.07431565970182419, 0.5496822595596313, 0.21352265775203705, -0.24712757766246796, -0.35015517473220825, 0.2370283603668213, -0.3966473340988159, 0.5219770073890686, 0.1628180742263794, 0.7315983772277832, 0.19467194378376007, 0.35508328676223755, 0.13703280687332153, -0.062041811645030975, -0.06784607470035553, 0.26302123069763184, 0.08848817646503448, -0.06395351141691208, -0.19324903190135956, -0.000667422718834132, -0.06771495193243027, 0.09168760478496552, 0.31124451756477356, -0.19978126883506775, -0.09760964661836624, 0.2958934009075165, -0.5041615962982178, 0.17380543053150177, 0.15344910323619843, 0.1288740634918213, -0.04994235932826996, -0.2802388370037079, 0.13192546367645264, -0.21447037160396576, 0.04131714999675751, 0.0651935487985611, -0.11623361706733704, -0.06740185618400574, -0.39062419533729553, -0.35341793298721313, 0.1984994113445282, 0.02535904385149479, -0.12188606709241867, 0.32432132959365845, -0.19831505417823792, 0.2798096537590027, -0.1773841828107834, 0.3516685366630554, 0.0038182486314326525, -0.01057780347764492, 0.28382495045661926, 0.3139849901199341, -0.12073888629674911, -0.0704117864370346, -0.008712422102689743, 0.338128924369812, -0.27930986881256104, -0.1336277574300766, 0.005791202653199434, 0.07366372644901276, -0.2696877717971802, -0.3934507668018341, -0.08570095151662827, -0.49007654190063477, -0.027399461716413498, -0.3458029627799988, 0.235759437084198, -0.06726666539907455, -0.11606516689062119, 0.0852011889219284, 0.18068864941596985, -0.31450358033180237, 0.4554557502269745, 0.20629242062568665, -0.12725259363651276, 0.10679999738931656, 0.28773313760757446, 0.14096605777740479, -0.3235786557197571, 0.2364068478345871, 0.025194507092237473, -0.06924579292535782, -0.1341213434934616, -0.9927397966384888, -0.1620045304298401, 0.030179182067513466, -0.21591398119926453, 0.27302631735801697, -0.3516941964626312, 0.05215970426797867, 0.33522579073905945, 0.2647073566913605, 0.4441336989402771, -0.09558551758527756, 0.19419564306735992, -0.31071773171424866, 0.053792547434568405, -0.13474352657794952, 0.28468430042266846, 0.11817865818738937, 0.22054985165596008, -0.0983613058924675, 0.23913392424583435, -0.3664165139198303, -0.09041831642389297, 0.22843268513679504, 0.059508778154850006, -0.1230095848441124, -0.15890902280807495, -0.2058834284543991, -0.09310872107744217, 0.249491885304451, -0.0512644425034523, -0.005788987502455711, -0.22382892668247223, -0.16249673068523407, 0.099052794277668, 0.0458526648581028, 0.059787798672914505, 0.09387317299842834, 0.02123306505382061, 0.19714303314685822, 0.13448645174503326, 0.23867660760879517, 0.22078891098499298, -0.07631800323724747, 0.1546272188425064, -0.06658463925123215, -0.13845548033714294, 0.4437054693698883, 0.16850067675113678, -0.036212895065546036, -0.09166989475488663, 0.07273498177528381, -0.011165275238454342, -0.2022303193807602, -0.0345783531665802, 0.33543819189071655, 0.19832515716552734, 0.03956906497478485, 0.0034634394105523825, -0.14471852779388428, 0.24001829326152802, -0.3863760530948639, 0.32992464303970337, -0.5074546933174133, -0.11038628220558167, 0.049712978303432465, -0.30559042096138, -0.34718674421310425, 0.25799521803855896, -0.35121750831604004, -0.18320335447788239, -0.21275442838668823, -0.022288735955953598, 0.1685096174478531, 0.21087919175624847, 0.3600219190120697, 0.0222663264721632, 0.26567912101745605, 0.0936104953289032, 0.16586312651634216, -0.14400890469551086, -0.30021923780441284, -0.15054012835025787, 0.22778292000293732, 0.004270341247320175, -0.4490329623222351, 0.4038946330547333, 0.2840093672275543, -0.3516175448894501, -0.141453817486763, -0.03447866067290306, -0.11671027541160583, 0.17470349371433258, 0.3354119062423706, 0.12027058005332947, 0.2151995450258255, 0.13645562529563904, 0.4905491769313812, 0.4593224823474884, 0.5186997652053833, 0.2203177809715271, 0.5514702796936035, -0.18046720325946808, 0.06078058108687401, 0.05181518942117691, -0.052728619426488876, -0.22208431363105774, -0.3616752624511719, -0.15257598459720612, -0.3875780999660492, -0.2860373854637146, 0.12342329323291779, 0.09649340808391571, 0.32995882630348206, -0.1711457222700119, 0.1427847146987915, 0.11595164984464645, -0.035432368516922, 0.061028171330690384, -0.03076624684035778, -0.08018918335437775, 0.20144504308700562, 0.15859229862689972, -0.2552414536476135, 0.4678064286708832, -0.004649733658879995, 0.18807163834571838, 0.0077588967978954315, 0.03729237988591194, -0.008898880332708359, -0.41038885712623596, -0.10891813039779663, -0.16378359496593475, -0.04361073672771454, 0.23742908239364624, -0.15615509450435638, 0.12850245833396912, 0.05850290134549141, -0.06833004206418991, 0.43661221861839294, -0.14908143877983093, -0.3581239879131317, 0.06684522330760956, 0.22889216244220734, 0.0998477190732956, 0.002770813647657633, -0.07756967097520828, 0.29177480936050415, 0.0884949341416359, -0.17991815507411957, 0.20594559609889984, -0.11890460550785065, -0.22480694949626923, 0.31202104687690735, 0.08450768887996674, -0.07990185916423798, -0.1119767427444458, 0.5709420442581177, 0.21134553849697113, -0.14934216439723969, 0.06343881785869598, -0.16579632461071014, 0.25880488753318787, 0.12212216109037399, -0.2626640498638153, 0.03842170909047127, -0.08648665249347687, 0.4206266701221466, -0.09973432868719101, 0.020892366766929626, 0.013549880124628544, -0.08097423613071442, 0.08454441279172897, -0.27730593085289, 0.20598699152469635, 0.07008855789899826, -0.1246209517121315, 0.11853388696908951, -0.010701017454266548, -0.34974074363708496, 0.30417728424072266, 0.22981718182563782, -0.2802734375, 0.15571355819702148, -0.09629564732313156, 0.03170684725046158, -0.397824227809906, 0.04587675258517265, 0.3611593544483185, -0.1374129205942154, -0.022138459607958794, 0.08719068765640259, -0.14869628846645355, -0.24983267486095428, 0.20801500976085663, -0.11494370549917221, 0.12380450963973999, 0.14977841079235077, -0.07319200038909912, 0.45652931928634644, 0.12449342012405396, 0.09332534670829773, -0.21250732243061066, -0.1609783172607422, 0.7040361166000366, -0.31357863545417786, 0.1611148566007614, 0.036775074899196625, 0.12406358122825623, 0.42031410336494446, 0.012837470509111881, 0.03081025369465351, -0.553643524646759, 0.4659309387207031, -0.02021232806146145, 0.01739365980029106, -0.047554995864629745, 0.27116549015045166, -0.3417149484157562, -0.10127892345190048, -0.6440649032592773, -0.36880823969841003, 0.2376667559146881, -0.2101626992225647, -0.04341417923569679, 0.2192981094121933, 0.28102436661720276, -0.2859603762626648, -0.15643900632858276, 0.3091098964214325, 0.07675054669380188, 0.02148931846022606, -0.42217594385147095, -0.18815737962722778 ]
https://github.com/huggingface/datasets/issues/1630
Adding UKP Argument Aspect Similarity Corpus
thanks @thomwolf , this is added now. The template is correct, sorry my mistake not to include it.
Hi, this would be great to have this dataset included. ## Adding a Dataset - **Name:** UKP Argument Aspect Similarity Corpus - **Description:** The UKP Argument Aspect Similarity Corpus (UKP ASPECT) includes 3,595 sentence pairs over 28 controversial topics. Each sentence pair was annotated via crowdsourcing as either “high similarity”, “some similarity”, “no similarity” or “not related” with respect to the topic. - **Paper:** https://www.aclweb.org/anthology/P19-1054/ - **Data:** https://tudatalib.ulb.tu-darmstadt.de/handle/tudatalib/1998 - **Motivation:** this is one of the datasets currently used frequently in recent adapter papers like https://arxiv.org/pdf/2005.00247.pdf Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md). Thank you
18
Adding UKP Argument Aspect Similarity Corpus
[ -0.45036616921424866, -0.2584432363510132, -0.027198560535907745, -0.23130814731121063, -0.09211660921573639, 0.2385358363389969, 0.20862677693367004, 0.0855502188205719, -0.5012311935424805, 0.1921616643667221, -0.264397531747818, 0.37043526768684387, 0.09655190259218216, -0.37095436453819275, 0.3337956666946411, -0.3751429617404938, -0.058081116527318954, 0.2892037332057953, 0.003640463575720787, -0.4374921917915344, -0.02887711115181446, 0.23110049962997437, -0.256986528635025, -0.2533482313156128, -0.15463128685951233, 0.06065216660499573, -0.248907208442688, 0.10474743694067001, 0.2908431887626648, -0.19003336131572723, -0.051351357251405716, -0.023310650140047073, -0.2735511362552643, -0.19090873003005981, -0.00011523264402057976, -0.1896011084318161, 0.31377190351486206, 0.1522788405418396, 0.2401358187198639, 0.2535291612148285, 0.17840373516082764, 0.3408184349536896, -0.2542443573474884, -0.20000439882278442, -0.269400417804718, -0.09748545289039612, 0.1200336366891861, 0.20815913379192352, 0.06280939280986786, 0.17766600847244263, 0.17544038593769073, -0.025029154494404793, 0.1866142302751541, -0.1396895945072174, 0.020041240379214287, 0.2555495798587799, 0.14561714231967926, -0.06345963478088379, 0.27000439167022705, 0.25178223848342896, 0.09204385429620743, 0.16816362738609314, -0.03973642736673355, -0.13933447003364563, -0.18065145611763, 0.1325056403875351, 0.2949935793876648, 0.4164382219314575, 0.12549801170825958, -0.0038519592490047216, 0.5233978033065796, 0.2022731900215149, -0.09523902833461761, -0.08026770502328873, 0.01113034226000309, 0.10265839099884033, -0.09256114810705185, -0.2753724753856659, -0.056852053850889206, 0.09626922011375427, 0.40655893087387085, -0.031009824946522713, -0.41471096873283386, 0.1452483832836151, 0.028576981276273727, 0.40202847123146057, 0.2577436566352844, -0.09688461571931839, 0.1420038640499115, -0.062449026852846146, 0.021432533860206604, -0.018918098881840706, 0.10297230631113052, 0.1169976070523262, 0.5886508822441101, -0.23112936317920685, 0.35066521167755127, 0.023109396919608116, 0.20332768559455872, -0.41957440972328186, 0.180790975689888, 0.06011173501610756, 0.06336498260498047, 0.17427746951580048, 0.1426859200000763, 0.06707500666379929, -0.18923647701740265, 0.2046782225370407, -0.2266363501548767, -0.06456256657838821, -0.18366043269634247, 0.2613895833492279, 0.21841201186180115, -0.09026798605918884, -0.10207542777061462, -0.06490539759397507, -0.022234288975596428, -0.5742935538291931, -0.09026745706796646, -0.12835316359996796, 0.23561255633831024, -0.030196528881788254, -0.17294956743717194, 0.08472171425819397, 0.1820506453514099, 0.15738916397094727, 0.019795550033450127, -0.029662376269698143, -0.2854631543159485, -0.21001343429088593, -0.27817219495773315, 0.19933433830738068, -0.06072576344013214, -0.32091671228408813, 0.12955261766910553, 0.0679769366979599, 0.2408638298511505, 0.02088402584195137, 0.30198001861572266, 0.2446265071630478, -0.08572288602590561, 0.26683309674263, 0.2376886010169983, -0.09663471579551697, -0.2890324294567108, -0.39639413356781006, 0.16211698949337006, -0.12024985998868942, -0.5443885326385498, 0.05788193643093109, 0.1405463069677353, -0.22219692170619965, -0.19465957581996918, 0.2597672939300537, -0.2955700159072876, -0.48494094610214233, -0.03043721616268158, 0.2656102478504181, -0.011868027038872242, -0.4707413911819458, -0.19799643754959106, 0.1541607826948166, -0.6292035579681396, -0.04824336990714073, -0.13047964870929718, 0.28303781151771545, 0.17765246331691742, -0.4964256286621094, -0.0016728340415284038, 0.059587106108665466, 0.2167443037033081, 0.13559076189994812, -0.23809334635734558, -0.2384188026189804, -0.32218703627586365, 0.15967173874378204, 0.5657973289489746, -0.2020743042230606, -0.16474871337413788, 0.3001245856285095, -0.22204984724521637, 0.09972334653139114, 0.3098503351211548, -0.07666163146495819, 0.05816582962870598, -0.12436284124851227, 0.4735696017742157, 0.20743155479431152, -0.19201608002185822, 0.01670609600841999, -0.3254413306713104, 0.22766947746276855, -0.26217135787010193, 0.03567910194396973, -0.11968003958463669, 0.47409045696258545, 0.37538865208625793, 0.027662068605422974, 0.5026864409446716, -0.14159329235553741, -0.19113320112228394, 0.24123923480510712, 0.39061909914016724, -0.5994783639907837, 0.11440664529800415, -0.27576732635498047, 0.2085687220096588, -0.3141038715839386, -0.38474833965301514, 0.4408149719238281, 0.45687663555145264, -0.18954667448997498, 0.04412097483873367, 0.0069616734981536865, 0.21206998825073242, -0.03391341492533684, 0.12361729890108109, -0.017448803409934044, -0.090704046189785, -0.04066403582692146, 0.1552918702363968, -0.0006665485561825335, 0.06632128357887268, -0.2334079146385193, -0.13521981239318848, 0.07440175116062164, -0.13896453380584717, -0.10068031400442123, 0.38522201776504517, 0.4220227301120758, -0.011527049355208874, -0.0032355692237615585, -0.08707160502672195, -0.23638427257537842, 0.023094788193702698, 0.19543083012104034, -0.027067365124821663, 0.40175750851631165, 0.2456609457731247, -0.2961832284927368, 0.3948075473308563, -0.01741759106516838, -0.021731838583946228, 0.06757929921150208, -0.1848968118429184, 0.26696982979774475, 0.28940171003341675, -0.048751700669527054, -0.013837863691151142, -0.022612374275922775, 0.09823202341794968, -0.106459841132164, -0.10336537659168243, -0.3628225028514862, 0.44815191626548767, 0.22010080516338348, 0.07959315180778503, 0.1287723034620285, -0.1500604748725891, 0.39088162779808044, 0.00265414547175169, -0.021236460655927658, -0.08399453014135361, 0.20827235281467438, -0.1283935308456421, -0.262437105178833, 0.4025839567184448, -0.4834580421447754, 0.38427838683128357, 0.47054359316825867, 0.4549083113670349, 0.20746882259845734, -0.5154902338981628, -0.15764889121055603, 0.18271075189113617, -0.29519563913345337, -0.11364677548408508, 0.10533755272626877, 0.23224441707134247, 0.10811511427164078, -0.4321053922176361, -0.05346159264445305, -0.14935927093029022, -0.0920829251408577, -0.21544155478477478, -0.06894024461507797, -0.3272992670536041, 0.05318625643849373, -0.38633865118026733, 0.2618871331214905, 0.22791889309883118, -0.11398950219154358, 0.14514385163784027, 0.129957914352417, -0.13596822321414948, 0.28176823258399963, -0.04554501175880432, 0.24282529950141907, -0.24293887615203857, -0.14980022609233856, 0.028226735070347786, -0.16966085135936737, -0.31438738107681274, 0.14541763067245483, -0.22768332064151764, 0.20201405882835388, 0.2232256978750229, -0.20535209774971008, 0.13808590173721313, -0.025680432096123695, -0.7219358086585999, 0.06845425069332123, 0.027656082063913345, 0.24338380992412567, 0.4587765038013458, -0.31356844305992126, -0.06957636773586273, -0.12719516456127167, 0.10334138572216034, 0.07064748555421829, -0.11724365502595901, 0.03227438032627106, -0.5869010090827942, -0.44090330600738525, -0.0033080438151955605, -0.20090731978416443, 0.2505624294281006, -0.34943804144859314, 0.19506484270095825, -0.23307546973228455, 0.32798221707344055, 0.5637504458427429, 0.2176617681980133, -0.09334304928779602, -0.05660390108823776, 0.5729106068611145, -0.2952485978603363, 0.08216886967420578, 0.29869765043258667, -0.1949378401041031, -0.28458157181739807, -0.09387486428022385, -0.33560577034950256, 0.17035000026226044, 0.09448180347681046, 0.054841674864292145, -0.6053910255432129, 0.2760232090950012, 0.0029781076591461897, -0.024255678057670593, 0.15677639842033386, 0.21468345820903778, 0.08165138214826584, -0.25642824172973633, -0.10765135288238525, -0.24451367557048798, 0.22573016583919525, 0.31581947207450867, 0.18712663650512695, -0.15481029450893402, -0.15830613672733307, 0.07682031393051147, -0.08246007561683655, 0.08327881246805191, -0.40122270584106445, 0.27393195033073425, 0.08067464828491211, -0.1089981347322464, -0.017763962969183922, 0.006163072306662798, 0.2627350091934204, 0.39921241998672485, -0.25837263464927673, 0.32092130184173584, -0.11208508908748627, -0.5445350408554077, -0.013528533279895782, -0.3298151195049286, 0.03673171624541283, -0.16696976125240326, 0.01192400511354208, 0.2079969048500061, 0.4085787534713745, 0.016141533851623535, -0.3704892098903656, -0.4737105071544647, -0.13978740572929382, 0.36300933361053467, 0.4030603766441345, 0.1408342570066452, 0.05686843395233154, -0.06494774669408798, 0.008140035904943943, -0.049841538071632385, 0.5236784815788269, 0.19955411553382874, -0.19603270292282104, -0.25470802187919617, -0.26442641019821167, -0.028943205252289772, -0.08527127653360367, 0.6166017651557922, -0.009659326635301113, -0.03539520502090454, -0.04771382734179497, 0.13848893344402313, 0.05355561524629593, 0.12350406497716904, 0.1285926103591919, -0.40689703822135925, 0.09346196055412292, -0.1806720495223999, -0.2635369598865509, 0.25900813937187195, 0.4163396656513214, -0.0695798397064209, 0.08356404304504395, -0.43551430106163025, -0.012361252680420876, -0.24811005592346191, -0.10975710302591324, 0.12304003536701202, 0.11082823574542999, -0.0439380407333374, 0.3378400206565857, 0.05719153210520744, -0.11657704412937164, -0.026749884709715843, 0.22638538479804993, 0.16948874294757843, 0.016408506780862808, 0.10673315823078156, 0.1970795840024948, -0.27875572443008423, 0.3082040846347809, -0.007146148011088371, 0.16768209636211395, -0.15272797644138336, 0.08202801644802094, -0.203374981880188, -0.07039138674736023, 0.10173168033361435, 0.19681812822818756, 0.39319702982902527, -0.1570107787847519, 0.014215558767318726, -0.38232505321502686, 0.05385695397853851, 0.046142008155584335, -0.2230156511068344, 0.21100303530693054, 0.1396580934524536, 0.07431565970182419, 0.5496822595596313, 0.21352265775203705, -0.24712757766246796, -0.35015517473220825, 0.2370283603668213, -0.3966473340988159, 0.5219770073890686, 0.1628180742263794, 0.7315983772277832, 0.19467194378376007, 0.35508328676223755, 0.13703280687332153, -0.062041811645030975, -0.06784607470035553, 0.26302123069763184, 0.08848817646503448, -0.06395351141691208, -0.19324903190135956, -0.000667422718834132, -0.06771495193243027, 0.09168760478496552, 0.31124451756477356, -0.19978126883506775, -0.09760964661836624, 0.2958934009075165, -0.5041615962982178, 0.17380543053150177, 0.15344910323619843, 0.1288740634918213, -0.04994235932826996, -0.2802388370037079, 0.13192546367645264, -0.21447037160396576, 0.04131714999675751, 0.0651935487985611, -0.11623361706733704, -0.06740185618400574, -0.39062419533729553, -0.35341793298721313, 0.1984994113445282, 0.02535904385149479, -0.12188606709241867, 0.32432132959365845, -0.19831505417823792, 0.2798096537590027, -0.1773841828107834, 0.3516685366630554, 0.0038182486314326525, -0.01057780347764492, 0.28382495045661926, 0.3139849901199341, -0.12073888629674911, -0.0704117864370346, -0.008712422102689743, 0.338128924369812, -0.27930986881256104, -0.1336277574300766, 0.005791202653199434, 0.07366372644901276, -0.2696877717971802, -0.3934507668018341, -0.08570095151662827, -0.49007654190063477, -0.027399461716413498, -0.3458029627799988, 0.235759437084198, -0.06726666539907455, -0.11606516689062119, 0.0852011889219284, 0.18068864941596985, -0.31450358033180237, 0.4554557502269745, 0.20629242062568665, -0.12725259363651276, 0.10679999738931656, 0.28773313760757446, 0.14096605777740479, -0.3235786557197571, 0.2364068478345871, 0.025194507092237473, -0.06924579292535782, -0.1341213434934616, -0.9927397966384888, -0.1620045304298401, 0.030179182067513466, -0.21591398119926453, 0.27302631735801697, -0.3516941964626312, 0.05215970426797867, 0.33522579073905945, 0.2647073566913605, 0.4441336989402771, -0.09558551758527756, 0.19419564306735992, -0.31071773171424866, 0.053792547434568405, -0.13474352657794952, 0.28468430042266846, 0.11817865818738937, 0.22054985165596008, -0.0983613058924675, 0.23913392424583435, -0.3664165139198303, -0.09041831642389297, 0.22843268513679504, 0.059508778154850006, -0.1230095848441124, -0.15890902280807495, -0.2058834284543991, -0.09310872107744217, 0.249491885304451, -0.0512644425034523, -0.005788987502455711, -0.22382892668247223, -0.16249673068523407, 0.099052794277668, 0.0458526648581028, 0.059787798672914505, 0.09387317299842834, 0.02123306505382061, 0.19714303314685822, 0.13448645174503326, 0.23867660760879517, 0.22078891098499298, -0.07631800323724747, 0.1546272188425064, -0.06658463925123215, -0.13845548033714294, 0.4437054693698883, 0.16850067675113678, -0.036212895065546036, -0.09166989475488663, 0.07273498177528381, -0.011165275238454342, -0.2022303193807602, -0.0345783531665802, 0.33543819189071655, 0.19832515716552734, 0.03956906497478485, 0.0034634394105523825, -0.14471852779388428, 0.24001829326152802, -0.3863760530948639, 0.32992464303970337, -0.5074546933174133, -0.11038628220558167, 0.049712978303432465, -0.30559042096138, -0.34718674421310425, 0.25799521803855896, -0.35121750831604004, -0.18320335447788239, -0.21275442838668823, -0.022288735955953598, 0.1685096174478531, 0.21087919175624847, 0.3600219190120697, 0.0222663264721632, 0.26567912101745605, 0.0936104953289032, 0.16586312651634216, -0.14400890469551086, -0.30021923780441284, -0.15054012835025787, 0.22778292000293732, 0.004270341247320175, -0.4490329623222351, 0.4038946330547333, 0.2840093672275543, -0.3516175448894501, -0.141453817486763, -0.03447866067290306, -0.11671027541160583, 0.17470349371433258, 0.3354119062423706, 0.12027058005332947, 0.2151995450258255, 0.13645562529563904, 0.4905491769313812, 0.4593224823474884, 0.5186997652053833, 0.2203177809715271, 0.5514702796936035, -0.18046720325946808, 0.06078058108687401, 0.05181518942117691, -0.052728619426488876, -0.22208431363105774, -0.3616752624511719, -0.15257598459720612, -0.3875780999660492, -0.2860373854637146, 0.12342329323291779, 0.09649340808391571, 0.32995882630348206, -0.1711457222700119, 0.1427847146987915, 0.11595164984464645, -0.035432368516922, 0.061028171330690384, -0.03076624684035778, -0.08018918335437775, 0.20144504308700562, 0.15859229862689972, -0.2552414536476135, 0.4678064286708832, -0.004649733658879995, 0.18807163834571838, 0.0077588967978954315, 0.03729237988591194, -0.008898880332708359, -0.41038885712623596, -0.10891813039779663, -0.16378359496593475, -0.04361073672771454, 0.23742908239364624, -0.15615509450435638, 0.12850245833396912, 0.05850290134549141, -0.06833004206418991, 0.43661221861839294, -0.14908143877983093, -0.3581239879131317, 0.06684522330760956, 0.22889216244220734, 0.0998477190732956, 0.002770813647657633, -0.07756967097520828, 0.29177480936050415, 0.0884949341416359, -0.17991815507411957, 0.20594559609889984, -0.11890460550785065, -0.22480694949626923, 0.31202104687690735, 0.08450768887996674, -0.07990185916423798, -0.1119767427444458, 0.5709420442581177, 0.21134553849697113, -0.14934216439723969, 0.06343881785869598, -0.16579632461071014, 0.25880488753318787, 0.12212216109037399, -0.2626640498638153, 0.03842170909047127, -0.08648665249347687, 0.4206266701221466, -0.09973432868719101, 0.020892366766929626, 0.013549880124628544, -0.08097423613071442, 0.08454441279172897, -0.27730593085289, 0.20598699152469635, 0.07008855789899826, -0.1246209517121315, 0.11853388696908951, -0.010701017454266548, -0.34974074363708496, 0.30417728424072266, 0.22981718182563782, -0.2802734375, 0.15571355819702148, -0.09629564732313156, 0.03170684725046158, -0.397824227809906, 0.04587675258517265, 0.3611593544483185, -0.1374129205942154, -0.022138459607958794, 0.08719068765640259, -0.14869628846645355, -0.24983267486095428, 0.20801500976085663, -0.11494370549917221, 0.12380450963973999, 0.14977841079235077, -0.07319200038909912, 0.45652931928634644, 0.12449342012405396, 0.09332534670829773, -0.21250732243061066, -0.1609783172607422, 0.7040361166000366, -0.31357863545417786, 0.1611148566007614, 0.036775074899196625, 0.12406358122825623, 0.42031410336494446, 0.012837470509111881, 0.03081025369465351, -0.553643524646759, 0.4659309387207031, -0.02021232806146145, 0.01739365980029106, -0.047554995864629745, 0.27116549015045166, -0.3417149484157562, -0.10127892345190048, -0.6440649032592773, -0.36880823969841003, 0.2376667559146881, -0.2101626992225647, -0.04341417923569679, 0.2192981094121933, 0.28102436661720276, -0.2859603762626648, -0.15643900632858276, 0.3091098964214325, 0.07675054669380188, 0.02148931846022606, -0.42217594385147095, -0.18815737962722778 ]
https://github.com/huggingface/datasets/issues/1627
`Dataset.map` disable progress bar
Progress bar can be disabled like this: ```python from datasets.utils.logging import set_verbosity_error set_verbosity_error() ``` There is this line in `Dataset.map`: ```python not_verbose = bool(logger.getEffectiveLevel() > WARNING) ``` So any logging level higher than `WARNING` turns off the progress bar.
I can't find anything to turn off the `tqdm` progress bars while running a preprocessing function using `Dataset.map`. I want to do akin to `disable_tqdm=True` in the case of `transformers`. Is there something like that?
39
`Dataset.map` disable progress bar
[ -0.4395986795425415, 0.2185116708278656, -0.2392621785402298, -0.3283471167087555, 0.18914677202701569, 0.09662564098834991, 0.2799609899520874, 0.2105192393064499, 0.11873073130846024, 0.21338993310928345, 0.11501598358154297, 0.6086623072624207, 0.03496751934289932, 0.27914902567863464, -0.08129137754440308, 0.2821364402770996, -0.01052045077085495, 0.3286358714103699, -0.2606979310512543, -0.046507708728313446, -0.2847193777561188, -0.2001359909772873, -0.25475427508354187, 0.12677522003650665, 0.033859457820653915, -0.2972458600997925, 0.30353885889053345, -0.12558001279830933, -0.2763460874557495, -0.7243281602859497, 0.20544393360614777, 0.4476182460784912, -0.2967711389064789, 0.18790921568870544, -0.00011083083518315107, 0.04007353261113167, 0.36580216884613037, 0.21382761001586914, -0.09639398753643036, 0.05379808694124222, -0.6329759359359741, -0.24547633528709412, 0.3755226731300354, -0.29277411103248596, 0.25503283739089966, -0.1497700959444046, -0.015198765322566032, -0.44520875811576843, 0.2322252094745636, -0.1307210922241211, 0.22164548933506012, 0.17861367762088776, -0.2171885222196579, 0.014749351888895035, 0.256104052066803, -0.1501086801290512, -0.18373076617717743, 0.12702178955078125, 0.21524836122989655, -0.0715341567993164, -0.5876049995422363, 0.4568822681903839, -0.034446876496076584, 0.1658349633216858, 0.13613149523735046, -0.2265463024377823, 0.4614134132862091, -0.3757074773311615, 0.30451396107673645, 0.0012909346260130405, 0.38322222232818604, -0.4103246033191681, 0.04298441857099533, -0.14631466567516327, -0.15173743665218353, 0.0822812020778656, -0.08254007250070572, -0.12933659553527832, -0.17862842977046967, 0.23974771797657013, -0.7848684191703796, -0.3162766695022583, -0.07624433934688568, 0.09886925667524338, -0.11010171473026276, 0.04656656086444855, 0.005054008681327105, 0.10606088489294052, 0.18299070000648499, 0.11453475803136826, 0.05045747756958008, 0.07115767151117325, -0.10463576763868332, 0.001071470556780696, -0.1758231371641159, -0.3252599239349365, 0.42794719338417053, 0.16487300395965576, 0.22093133628368378, -0.04099638760089874, -0.10940516740083694, 0.26826930046081543, -0.007501751184463501, 0.08580417186021805, 0.38250651955604553, -0.11126028001308441, 0.2555171847343445, -0.21574164927005768, 0.4767502546310425, -0.11247992515563965, 0.03517337143421173, 0.3870595395565033, 0.45010507106781006, -0.3709712624549866, 0.2271272838115692, 0.23801136016845703, 0.1520109325647354, -0.06193744018673897, -0.09207620471715927, 0.1288880705833435, 0.16780918836593628, -0.17790283262729645, 0.07469450682401657, 0.053879670798778534, 0.1376655399799347, -0.39995095133781433, -0.0910307839512825, 0.00606883130967617, -0.010380935855209827, 0.17655016481876373, -0.2090928852558136, -0.14484715461730957, -0.33061960339546204, -0.09939279407262802, 0.18235048651695251, 0.027475640177726746, 0.05081148073077202, 0.07567619532346725, -0.45937737822532654, 0.26369908452033997, 0.409801721572876, -0.1265982836484909, 0.4922589063644409, 0.33169692754745483, -0.04697898402810097, 0.1937263160943985, 0.11670394241809845, 0.09090842306613922, -0.1499691903591156, 0.4083591401576996, 0.11572136729955673, -0.17941786348819733, -0.12620456516742706, 0.17620036005973816, -0.06573833525180817, -0.024402517825365067, -0.24179601669311523, 0.3131403923034668, -0.07300856709480286, -0.06423091143369675, 0.21575962007045746, 0.1253487467765808, -0.48278388381004333, 0.006431656423956156, 0.07968911528587341, 0.41139400005340576, -0.4405776858329773, -0.11661241203546524, -0.05257752165198326, -0.380892813205719, -0.201566681265831, -0.23740807175636292, -0.28605687618255615, 0.20289571583271027, -0.06387821584939957, 0.3173757493495941, 0.19320088624954224, 0.0990285724401474, -0.5224859714508057, 0.1972460001707077, -0.21476230025291443, -0.269363135099411, -0.2367243766784668, 0.13506093621253967, 0.19792261719703674, -0.031486157327890396, -0.07394558936357498, -0.013994766399264336, 0.11149464547634125, 0.10162034630775452, 0.11532615125179291, -0.4137829840183258, 0.2240985631942749, 0.20418402552604675, 0.07334800809621811, 0.21428906917572021, 0.3687390387058258, -0.3548508286476135, 0.2507722079753876, 0.11674534529447556, 0.09735395014286041, 0.2775821089744568, 0.009172200225293636, -0.40080174803733826, -0.27978017926216125, -0.22069187462329865, -0.29554668068885803, 0.056362804025411606, 0.11798927932977676, -0.24300998449325562, -0.11296626925468445, -0.19952797889709473, -0.11291234940290451, 0.06689278036355972, -0.24814386665821075, 0.17193515598773956, 0.15904539823532104, -0.24504713714122772, -0.08042901009321213, 0.05719957873225212, -0.23838885128498077, -0.09433628618717194, -0.16182801127433777, -0.06637944281101227, -0.011965392157435417, 0.04682775214314461, 0.19222629070281982, -0.1085403636097908, 0.008635471574962139, 0.08808556944131851, 0.03945206105709076, -0.04157358780503273, -0.05496135354042053, 0.2574267089366913, 0.03542622923851013, 0.18285112082958221, 0.18384568393230438, 0.2817158102989197, -0.015109272673726082, -0.013147978112101555, -0.06491809338331223, 0.15602554380893707, -0.1273682713508606, 0.126257985830307, -0.1971779465675354, 0.013551964424550533, -0.031141873449087143, 0.2468675971031189, 0.11264780163764954, -0.03896793723106384, 0.2671520411968231, -0.14404797554016113, -0.18560893833637238, -0.568070113658905, 0.009580191224813461, 0.1955576092004776, 0.41839006543159485, 0.03183293342590332, 0.16316744685173035, 0.14463508129119873, 0.706017255783081, 0.2135077714920044, 0.1840134561061859, -0.015741024166345596, -0.3131410777568817, -0.09265042096376419, 0.2370726764202118, 0.3541601896286011, 0.2316453605890274, 0.22808028757572174, 0.5261781215667725, 0.10274638235569, -0.04573093727231026, -0.2633403539657593, -0.14275871217250824, 0.06342702358961105, 0.19916905462741852, 0.29838094115257263, 0.17170937359333038, -0.17550347745418549, -0.5580349564552307, -0.04750055819749832, -0.10427781939506531, -0.012424175627529621, 0.027016373351216316, -0.1322748363018036, -0.18326298892498016, -0.2505928575992584, 0.2813425660133362, 0.040800586342811584, -0.02694288268685341, -0.3211108446121216, 0.34729820489883423, 0.35378512740135193, -0.1709795892238617, 0.5388241410255432, 0.11255551874637604, -0.05562456324696541, 0.12916092574596405, -0.08644134551286697, -0.17541250586509705, -0.37794291973114014, 0.26066282391548157, 0.13450480997562408, -0.05193188041448593, -0.06920494139194489, 0.3792479336261749, -0.0915292426943779, 0.04417288303375244, -0.31383559107780457, 0.038026049733161926, 0.2667854428291321, -0.05201859027147293, -0.2526225447654724, 0.008856263943016529, 0.2846696674823761, -0.22307518124580383, 0.5176880359649658, 0.0537903755903244, -0.32686784863471985, -0.15756329894065857, -0.22480426728725433, -0.14416711032390594, 0.1259562075138092, -0.15725205838680267, -0.021603399887681007, -0.21497510373592377, -0.35945984721183777, 0.16276487708091736, -0.19804581999778748, 0.016333047300577164, 0.14695869386196136, -0.0006384499138221145, 0.17973077297210693, 0.048966314643621445, -0.25359421968460083, -0.15509560704231262, -0.31258854269981384, 0.257407546043396, -0.05307558923959732, -0.10674596577882767, 0.17151999473571777, -0.11514756828546524, 0.016616135835647583, 0.27625924348831177, -0.42104291915893555, -0.08142944425344467, -0.3045351803302765, 0.18369410932064056, -0.201116681098938, 0.09366118907928467, 0.6179872155189514, 0.14739640057086945, -0.26194632053375244, -0.024372175335884094, -0.2519649267196655, 0.18618282675743103, 0.16545473039150238, -0.14473295211791992, -0.14877529442310333, 0.16324856877326965, -0.10501765459775925, 0.5996302962303162, 0.025330884382128716, -0.06225176155567169, 0.24550743401050568, -0.04302932322025299, 0.39959517121315, -0.21424156427383423, -0.12986862659454346, -0.1911187618970871, -0.08439832180738449, 0.05286189168691635, 0.045895081013441086, -0.06490317732095718, -0.40388214588165283, 0.09534552693367004, -0.05489732697606087, -0.04523254185914993, -0.17634135484695435, -0.22448399662971497, -0.15896031260490417, 0.16601347923278809, 0.138101726770401, 0.16637329757213593, -0.14420099556446075, -0.04096677526831627, -0.023856909945607185, 0.024403028190135956, 0.33438026905059814, -0.2537636160850525, -0.20265688002109528, 0.06372660398483276, -0.40536221861839294, 0.14510013163089752, 0.03933493793010712, -0.20413552224636078, -0.14721213281154633, 0.009730670601129532, 0.2238156795501709, 0.09042799472808838, 0.5942858457565308, -0.36843836307525635, 0.3187611401081085, 0.04027911275625229, 0.025176066905260086, -0.042408376932144165, 0.14634878933429718, 0.04609157517552376, 0.6089102625846863, 0.29708635807037354, 0.25921952724456787, 0.02348645217716694, -0.017327841371297836, -0.02407943084836006, 0.04741906747221947, -0.04501326382160187, -0.2617088556289673, -0.3535441756248474, 0.048947956413030624, -0.4435901343822479, 0.3063390552997589, 0.09679058194160461, -0.321708619594574, 0.035873185843229294, -0.5404658317565918, -0.11565165221691132, -0.17592550814151764, -0.21807250380516052, 0.3303132951259613, 0.02171984314918518, 0.2193671315908432, 0.043741822242736816, 0.2564701735973358, 0.23891815543174744, 0.010463960468769073, 0.16687177121639252, 0.17300306260585785, 0.04072276130318642, 0.30964604020118713, -0.31838491559028625, 0.07428731769323349, 0.11580786854028702, -0.22929033637046814, 0.15634775161743164, 0.04906948655843735, 0.154318168759346, -0.2756236493587494, 0.035463057458400726, 0.2353372722864151, 0.02300848253071308, -0.23430928587913513, -0.10303450375795364, 0.07305648922920227, -0.15391036868095398, -0.2103785127401352, 0.27064165472984314, -0.2578029930591583, -0.17069372534751892, -0.20273666083812714, 0.0053861732594668865, 0.44936296343803406, -0.3662717342376709, 0.05970756337046623, -0.19842931628227234, -0.13366052508354187, 0.21241094172000885, 0.050484780222177505, 0.2502167522907257, -0.348627507686615, -0.2676328718662262, -0.15766483545303345, -0.15591073036193848, 0.1785813271999359, 0.34005600214004517, -0.033961180597543716, -0.004015423357486725, -0.07529864460229874, 0.34823474287986755, -0.20267128944396973, 0.00029872290906496346, 0.14944055676460266, -0.19572700560092926, -0.26369956135749817, 0.191680446267128, -0.027998389676213264, -0.03625081479549408, -0.04889362305402756, 0.25432851910591125, 0.25547805428504944, 0.03537317365407944, 0.008583431132137775, 0.10216247290372849, 0.03573942556977272, 0.36490434408187866, -0.3034796118736267, -0.3475496470928192, 0.07895763218402863, 0.029977399855852127, 0.2469228208065033, 0.012663079425692558, -0.21085889637470245, 0.09446626901626587, 0.17449837923049927, 0.20403528213500977, -0.05379243940114975, 0.17875395715236664, 0.16532592475414276, -0.14986303448677063, -0.19215349853038788, 0.09262573719024658, -0.021208902820944786, -0.4795095920562744, -0.07812622934579849, 0.28282278776168823, 0.4286006987094879, -0.13609330356121063, 0.15541446208953857, 0.04531193897128105, 0.28537827730178833, -0.16993817687034607, 0.12661448121070862, 0.13737477362155914, 0.18052634596824646, 0.4397275745868683, -0.11039678007364273, -0.3694464862346649, -0.04459207132458687, 0.4205537438392639, -0.05162818729877472, 0.08297744393348694, 0.24088923633098602, -0.00983340386301279, -0.32247257232666016, -0.41031670570373535, -0.04712412878870964, 0.2730124890804291, -0.08551424741744995, 0.04450071230530739, 0.25442928075790405, 0.0898599624633789, -0.07953963428735733, -0.028423737734556198, -0.27512326836586, 0.3026968836784363, -0.23785875737667084, -0.1271211802959442, -0.49027472734451294, 0.01922915130853653, -0.17703667283058167, 0.2216341644525528, 0.1286482810974121, 0.1206662654876709, 0.13601192831993103, -0.07752405852079391, -0.3189895451068878, -0.0654882863163948, -0.16233205795288086, 0.01182150561362505, 0.18083080649375916, 0.11321157217025757, -0.06136661767959595, -0.2816958725452423, 0.04928320273756981, -0.14694559574127197, -0.532950222492218, -0.3444001376628876, -0.06556936353445053, 0.08188171684741974, -0.0761406347155571, -0.19332748651504517, 0.08966805040836334, -0.22495122253894806, -0.1637471616268158, -0.06362896412611008, 0.2519795298576355, 0.05476093664765358, 0.24034558236598969, 0.09682762622833252, -0.011891636997461319, 0.050674859434366226, -0.16886131465435028, -0.2200026661157608, -0.009375454857945442, -0.0008374709286727011, -0.15230417251586914, 0.0823204293847084, 0.037933025509119034, 0.08823421597480774, 0.1607896089553833, 0.06116439402103424, 0.4950062930583954, 0.4570782780647278, -0.1574745923280716, -0.12523411214351654, -0.0552128367125988, 0.01573849469423294, 0.42965543270111084, 0.09058106690645218, -0.1573045402765274, -0.408363401889801, 0.10881736874580383, 0.2663683295249939, -0.3077899217605591, -0.180629163980484, 0.8190280199050903, -0.11341952532529831, 0.36607176065444946, 0.025427237153053284, -0.09954017400741577, 0.26702916622161865, 0.12542344629764557, 0.2188224196434021, 0.04062296822667122, -0.28563162684440613, 0.020394494757056236, 0.415839284658432, -0.01625828444957733, -0.1024586409330368, 0.5091515779495239, 0.6370655298233032, 0.1283196210861206, 0.4898403584957123, 0.21311159431934357, 0.3759348690509796, 0.18970070779323578, 0.13568542897701263, -0.3900068998336792, -0.17644910514354706, 0.028727035969495773, 0.23336456716060638, -0.2332635074853897, -0.2605333924293518, 0.3365269601345062, 0.17164266109466553, -0.013217896223068237, -0.2807174324989319, -0.0823507010936737, 0.07372774928808212, -0.0322655625641346, -0.0598699152469635, -0.06053949519991875, -0.04560044780373573, 0.13547135889530182, 0.20777639746665955, -0.149453803896904, 0.269787073135376, 0.5133833289146423, -0.29299432039260864, 0.10274443030357361, -0.14504769444465637, 0.19696484506130219, -0.16642211377620697, 0.04063134640455246, 0.14276956021785736, -0.18495088815689087, -0.235298752784729, 0.37274372577667236, -0.08473537117242813, 0.1349279284477234, -0.3496638536453247, 0.08463773876428604, -0.17090943455696106, -0.10084368288516998, 0.06681513041257858, -0.18701468408107758, -0.4149264693260193, 0.11553982645273209, -0.009893504902720451, -0.006718998309224844, 0.20742183923721313, 0.1359523981809616, -0.14639954268932343, 0.3781564235687256, 0.3043641746044159, 0.31862226128578186, -0.06643937528133392, 0.054270822554826736, 0.3199608027935028, -0.31027594208717346, 0.298978716135025, -0.19129441678524017, -0.13575749099254608, -0.05575306713581085, 0.3227643072605133, -0.31304511427879333, 0.12634649872779846, -0.28639915585517883, 0.12391741573810577, -0.19786295294761658, 0.2376236617565155, 0.10481623560190201, 0.394461065530777, -0.19773054122924805, -0.20031771063804626, -0.6710384488105774, 0.05766264349222183, 0.27506133913993835, -0.005808208137750626, -0.0549616739153862, -0.1044149324297905, -0.08031801879405975, 0.4501743018627167, 0.451128751039505, -0.17315645515918732, -0.012271614745259285, -0.24985188245773315, -0.028149111196398735, 0.10331612825393677, -0.07994730025529861, 0.13236072659492493, -0.16048705577850342, -0.25719037652015686, 0.24829089641571045, 0.15513667464256287, 0.17927609384059906, -0.05382710322737694, -0.1302846074104309, -0.04209999367594719, -0.18062208592891693, 0.4949449598789215, 0.029187219217419624, 0.03160850331187248, -0.24145707488059998, 0.07716918736696243, 0.12020036578178406, -0.08535564690828323, -0.2644754946231842, 0.30409368872642517, 0.25785788893699646, 0.39513498544692993, -0.32792359590530396, 0.28358641266822815, 0.014959077350795269, 0.05612895265221596, 0.13539785146713257, 0.3947972357273102, 0.16326962411403656, 0.17454935610294342, 0.27867722511291504, 0.1438913345336914, -0.21455809473991394, -0.0865960493683815, 0.08745580166578293, 0.4067690968513489, -0.0007012781570665538, -0.16860778629779816, 0.07364682853221893, -0.3147223889827728, -0.5148043632507324, 0.01948588714003563, 0.14860714972019196, 0.07778847962617874, -0.4118649959564209, -0.16053275763988495, -0.02692192792892456, 0.09611425548791885, -0.20187853276729584, -0.27549824118614197, 0.3227354884147644, -0.47285765409469604, 0.13375459611415863, -0.05344950035214424, 0.4093320071697235, 0.389051228761673, 0.06051486358046532, -0.28302237391471863, -0.322544664144516 ]
https://github.com/huggingface/datasets/issues/1627
`Dataset.map` disable progress bar
From the linked issues above, an up-to-date solution is: ```python from datasets.utils.logging import disable_progress_bar disable_progress_bar() ``` https://github.com/huggingface/datasets/blob/c6e08fcfc3a04e53430c26fa7c07da4cb18d977d/src/datasets/utils/logging.py#L233-L236
I can't find anything to turn off the `tqdm` progress bars while running a preprocessing function using `Dataset.map`. I want to do akin to `disable_tqdm=True` in the case of `transformers`. Is there something like that?
17
`Dataset.map` disable progress bar
[ -0.4395986795425415, 0.2185116708278656, -0.2392621785402298, -0.3283471167087555, 0.18914677202701569, 0.09662564098834991, 0.2799609899520874, 0.2105192393064499, 0.11873073130846024, 0.21338993310928345, 0.11501598358154297, 0.6086623072624207, 0.03496751934289932, 0.27914902567863464, -0.08129137754440308, 0.2821364402770996, -0.01052045077085495, 0.3286358714103699, -0.2606979310512543, -0.046507708728313446, -0.2847193777561188, -0.2001359909772873, -0.25475427508354187, 0.12677522003650665, 0.033859457820653915, -0.2972458600997925, 0.30353885889053345, -0.12558001279830933, -0.2763460874557495, -0.7243281602859497, 0.20544393360614777, 0.4476182460784912, -0.2967711389064789, 0.18790921568870544, -0.00011083083518315107, 0.04007353261113167, 0.36580216884613037, 0.21382761001586914, -0.09639398753643036, 0.05379808694124222, -0.6329759359359741, -0.24547633528709412, 0.3755226731300354, -0.29277411103248596, 0.25503283739089966, -0.1497700959444046, -0.015198765322566032, -0.44520875811576843, 0.2322252094745636, -0.1307210922241211, 0.22164548933506012, 0.17861367762088776, -0.2171885222196579, 0.014749351888895035, 0.256104052066803, -0.1501086801290512, -0.18373076617717743, 0.12702178955078125, 0.21524836122989655, -0.0715341567993164, -0.5876049995422363, 0.4568822681903839, -0.034446876496076584, 0.1658349633216858, 0.13613149523735046, -0.2265463024377823, 0.4614134132862091, -0.3757074773311615, 0.30451396107673645, 0.0012909346260130405, 0.38322222232818604, -0.4103246033191681, 0.04298441857099533, -0.14631466567516327, -0.15173743665218353, 0.0822812020778656, -0.08254007250070572, -0.12933659553527832, -0.17862842977046967, 0.23974771797657013, -0.7848684191703796, -0.3162766695022583, -0.07624433934688568, 0.09886925667524338, -0.11010171473026276, 0.04656656086444855, 0.005054008681327105, 0.10606088489294052, 0.18299070000648499, 0.11453475803136826, 0.05045747756958008, 0.07115767151117325, -0.10463576763868332, 0.001071470556780696, -0.1758231371641159, -0.3252599239349365, 0.42794719338417053, 0.16487300395965576, 0.22093133628368378, -0.04099638760089874, -0.10940516740083694, 0.26826930046081543, -0.007501751184463501, 0.08580417186021805, 0.38250651955604553, -0.11126028001308441, 0.2555171847343445, -0.21574164927005768, 0.4767502546310425, -0.11247992515563965, 0.03517337143421173, 0.3870595395565033, 0.45010507106781006, -0.3709712624549866, 0.2271272838115692, 0.23801136016845703, 0.1520109325647354, -0.06193744018673897, -0.09207620471715927, 0.1288880705833435, 0.16780918836593628, -0.17790283262729645, 0.07469450682401657, 0.053879670798778534, 0.1376655399799347, -0.39995095133781433, -0.0910307839512825, 0.00606883130967617, -0.010380935855209827, 0.17655016481876373, -0.2090928852558136, -0.14484715461730957, -0.33061960339546204, -0.09939279407262802, 0.18235048651695251, 0.027475640177726746, 0.05081148073077202, 0.07567619532346725, -0.45937737822532654, 0.26369908452033997, 0.409801721572876, -0.1265982836484909, 0.4922589063644409, 0.33169692754745483, -0.04697898402810097, 0.1937263160943985, 0.11670394241809845, 0.09090842306613922, -0.1499691903591156, 0.4083591401576996, 0.11572136729955673, -0.17941786348819733, -0.12620456516742706, 0.17620036005973816, -0.06573833525180817, -0.024402517825365067, -0.24179601669311523, 0.3131403923034668, -0.07300856709480286, -0.06423091143369675, 0.21575962007045746, 0.1253487467765808, -0.48278388381004333, 0.006431656423956156, 0.07968911528587341, 0.41139400005340576, -0.4405776858329773, -0.11661241203546524, -0.05257752165198326, -0.380892813205719, -0.201566681265831, -0.23740807175636292, -0.28605687618255615, 0.20289571583271027, -0.06387821584939957, 0.3173757493495941, 0.19320088624954224, 0.0990285724401474, -0.5224859714508057, 0.1972460001707077, -0.21476230025291443, -0.269363135099411, -0.2367243766784668, 0.13506093621253967, 0.19792261719703674, -0.031486157327890396, -0.07394558936357498, -0.013994766399264336, 0.11149464547634125, 0.10162034630775452, 0.11532615125179291, -0.4137829840183258, 0.2240985631942749, 0.20418402552604675, 0.07334800809621811, 0.21428906917572021, 0.3687390387058258, -0.3548508286476135, 0.2507722079753876, 0.11674534529447556, 0.09735395014286041, 0.2775821089744568, 0.009172200225293636, -0.40080174803733826, -0.27978017926216125, -0.22069187462329865, -0.29554668068885803, 0.056362804025411606, 0.11798927932977676, -0.24300998449325562, -0.11296626925468445, -0.19952797889709473, -0.11291234940290451, 0.06689278036355972, -0.24814386665821075, 0.17193515598773956, 0.15904539823532104, -0.24504713714122772, -0.08042901009321213, 0.05719957873225212, -0.23838885128498077, -0.09433628618717194, -0.16182801127433777, -0.06637944281101227, -0.011965392157435417, 0.04682775214314461, 0.19222629070281982, -0.1085403636097908, 0.008635471574962139, 0.08808556944131851, 0.03945206105709076, -0.04157358780503273, -0.05496135354042053, 0.2574267089366913, 0.03542622923851013, 0.18285112082958221, 0.18384568393230438, 0.2817158102989197, -0.015109272673726082, -0.013147978112101555, -0.06491809338331223, 0.15602554380893707, -0.1273682713508606, 0.126257985830307, -0.1971779465675354, 0.013551964424550533, -0.031141873449087143, 0.2468675971031189, 0.11264780163764954, -0.03896793723106384, 0.2671520411968231, -0.14404797554016113, -0.18560893833637238, -0.568070113658905, 0.009580191224813461, 0.1955576092004776, 0.41839006543159485, 0.03183293342590332, 0.16316744685173035, 0.14463508129119873, 0.706017255783081, 0.2135077714920044, 0.1840134561061859, -0.015741024166345596, -0.3131410777568817, -0.09265042096376419, 0.2370726764202118, 0.3541601896286011, 0.2316453605890274, 0.22808028757572174, 0.5261781215667725, 0.10274638235569, -0.04573093727231026, -0.2633403539657593, -0.14275871217250824, 0.06342702358961105, 0.19916905462741852, 0.29838094115257263, 0.17170937359333038, -0.17550347745418549, -0.5580349564552307, -0.04750055819749832, -0.10427781939506531, -0.012424175627529621, 0.027016373351216316, -0.1322748363018036, -0.18326298892498016, -0.2505928575992584, 0.2813425660133362, 0.040800586342811584, -0.02694288268685341, -0.3211108446121216, 0.34729820489883423, 0.35378512740135193, -0.1709795892238617, 0.5388241410255432, 0.11255551874637604, -0.05562456324696541, 0.12916092574596405, -0.08644134551286697, -0.17541250586509705, -0.37794291973114014, 0.26066282391548157, 0.13450480997562408, -0.05193188041448593, -0.06920494139194489, 0.3792479336261749, -0.0915292426943779, 0.04417288303375244, -0.31383559107780457, 0.038026049733161926, 0.2667854428291321, -0.05201859027147293, -0.2526225447654724, 0.008856263943016529, 0.2846696674823761, -0.22307518124580383, 0.5176880359649658, 0.0537903755903244, -0.32686784863471985, -0.15756329894065857, -0.22480426728725433, -0.14416711032390594, 0.1259562075138092, -0.15725205838680267, -0.021603399887681007, -0.21497510373592377, -0.35945984721183777, 0.16276487708091736, -0.19804581999778748, 0.016333047300577164, 0.14695869386196136, -0.0006384499138221145, 0.17973077297210693, 0.048966314643621445, -0.25359421968460083, -0.15509560704231262, -0.31258854269981384, 0.257407546043396, -0.05307558923959732, -0.10674596577882767, 0.17151999473571777, -0.11514756828546524, 0.016616135835647583, 0.27625924348831177, -0.42104291915893555, -0.08142944425344467, -0.3045351803302765, 0.18369410932064056, -0.201116681098938, 0.09366118907928467, 0.6179872155189514, 0.14739640057086945, -0.26194632053375244, -0.024372175335884094, -0.2519649267196655, 0.18618282675743103, 0.16545473039150238, -0.14473295211791992, -0.14877529442310333, 0.16324856877326965, -0.10501765459775925, 0.5996302962303162, 0.025330884382128716, -0.06225176155567169, 0.24550743401050568, -0.04302932322025299, 0.39959517121315, -0.21424156427383423, -0.12986862659454346, -0.1911187618970871, -0.08439832180738449, 0.05286189168691635, 0.045895081013441086, -0.06490317732095718, -0.40388214588165283, 0.09534552693367004, -0.05489732697606087, -0.04523254185914993, -0.17634135484695435, -0.22448399662971497, -0.15896031260490417, 0.16601347923278809, 0.138101726770401, 0.16637329757213593, -0.14420099556446075, -0.04096677526831627, -0.023856909945607185, 0.024403028190135956, 0.33438026905059814, -0.2537636160850525, -0.20265688002109528, 0.06372660398483276, -0.40536221861839294, 0.14510013163089752, 0.03933493793010712, -0.20413552224636078, -0.14721213281154633, 0.009730670601129532, 0.2238156795501709, 0.09042799472808838, 0.5942858457565308, -0.36843836307525635, 0.3187611401081085, 0.04027911275625229, 0.025176066905260086, -0.042408376932144165, 0.14634878933429718, 0.04609157517552376, 0.6089102625846863, 0.29708635807037354, 0.25921952724456787, 0.02348645217716694, -0.017327841371297836, -0.02407943084836006, 0.04741906747221947, -0.04501326382160187, -0.2617088556289673, -0.3535441756248474, 0.048947956413030624, -0.4435901343822479, 0.3063390552997589, 0.09679058194160461, -0.321708619594574, 0.035873185843229294, -0.5404658317565918, -0.11565165221691132, -0.17592550814151764, -0.21807250380516052, 0.3303132951259613, 0.02171984314918518, 0.2193671315908432, 0.043741822242736816, 0.2564701735973358, 0.23891815543174744, 0.010463960468769073, 0.16687177121639252, 0.17300306260585785, 0.04072276130318642, 0.30964604020118713, -0.31838491559028625, 0.07428731769323349, 0.11580786854028702, -0.22929033637046814, 0.15634775161743164, 0.04906948655843735, 0.154318168759346, -0.2756236493587494, 0.035463057458400726, 0.2353372722864151, 0.02300848253071308, -0.23430928587913513, -0.10303450375795364, 0.07305648922920227, -0.15391036868095398, -0.2103785127401352, 0.27064165472984314, -0.2578029930591583, -0.17069372534751892, -0.20273666083812714, 0.0053861732594668865, 0.44936296343803406, -0.3662717342376709, 0.05970756337046623, -0.19842931628227234, -0.13366052508354187, 0.21241094172000885, 0.050484780222177505, 0.2502167522907257, -0.348627507686615, -0.2676328718662262, -0.15766483545303345, -0.15591073036193848, 0.1785813271999359, 0.34005600214004517, -0.033961180597543716, -0.004015423357486725, -0.07529864460229874, 0.34823474287986755, -0.20267128944396973, 0.00029872290906496346, 0.14944055676460266, -0.19572700560092926, -0.26369956135749817, 0.191680446267128, -0.027998389676213264, -0.03625081479549408, -0.04889362305402756, 0.25432851910591125, 0.25547805428504944, 0.03537317365407944, 0.008583431132137775, 0.10216247290372849, 0.03573942556977272, 0.36490434408187866, -0.3034796118736267, -0.3475496470928192, 0.07895763218402863, 0.029977399855852127, 0.2469228208065033, 0.012663079425692558, -0.21085889637470245, 0.09446626901626587, 0.17449837923049927, 0.20403528213500977, -0.05379243940114975, 0.17875395715236664, 0.16532592475414276, -0.14986303448677063, -0.19215349853038788, 0.09262573719024658, -0.021208902820944786, -0.4795095920562744, -0.07812622934579849, 0.28282278776168823, 0.4286006987094879, -0.13609330356121063, 0.15541446208953857, 0.04531193897128105, 0.28537827730178833, -0.16993817687034607, 0.12661448121070862, 0.13737477362155914, 0.18052634596824646, 0.4397275745868683, -0.11039678007364273, -0.3694464862346649, -0.04459207132458687, 0.4205537438392639, -0.05162818729877472, 0.08297744393348694, 0.24088923633098602, -0.00983340386301279, -0.32247257232666016, -0.41031670570373535, -0.04712412878870964, 0.2730124890804291, -0.08551424741744995, 0.04450071230530739, 0.25442928075790405, 0.0898599624633789, -0.07953963428735733, -0.028423737734556198, -0.27512326836586, 0.3026968836784363, -0.23785875737667084, -0.1271211802959442, -0.49027472734451294, 0.01922915130853653, -0.17703667283058167, 0.2216341644525528, 0.1286482810974121, 0.1206662654876709, 0.13601192831993103, -0.07752405852079391, -0.3189895451068878, -0.0654882863163948, -0.16233205795288086, 0.01182150561362505, 0.18083080649375916, 0.11321157217025757, -0.06136661767959595, -0.2816958725452423, 0.04928320273756981, -0.14694559574127197, -0.532950222492218, -0.3444001376628876, -0.06556936353445053, 0.08188171684741974, -0.0761406347155571, -0.19332748651504517, 0.08966805040836334, -0.22495122253894806, -0.1637471616268158, -0.06362896412611008, 0.2519795298576355, 0.05476093664765358, 0.24034558236598969, 0.09682762622833252, -0.011891636997461319, 0.050674859434366226, -0.16886131465435028, -0.2200026661157608, -0.009375454857945442, -0.0008374709286727011, -0.15230417251586914, 0.0823204293847084, 0.037933025509119034, 0.08823421597480774, 0.1607896089553833, 0.06116439402103424, 0.4950062930583954, 0.4570782780647278, -0.1574745923280716, -0.12523411214351654, -0.0552128367125988, 0.01573849469423294, 0.42965543270111084, 0.09058106690645218, -0.1573045402765274, -0.408363401889801, 0.10881736874580383, 0.2663683295249939, -0.3077899217605591, -0.180629163980484, 0.8190280199050903, -0.11341952532529831, 0.36607176065444946, 0.025427237153053284, -0.09954017400741577, 0.26702916622161865, 0.12542344629764557, 0.2188224196434021, 0.04062296822667122, -0.28563162684440613, 0.020394494757056236, 0.415839284658432, -0.01625828444957733, -0.1024586409330368, 0.5091515779495239, 0.6370655298233032, 0.1283196210861206, 0.4898403584957123, 0.21311159431934357, 0.3759348690509796, 0.18970070779323578, 0.13568542897701263, -0.3900068998336792, -0.17644910514354706, 0.028727035969495773, 0.23336456716060638, -0.2332635074853897, -0.2605333924293518, 0.3365269601345062, 0.17164266109466553, -0.013217896223068237, -0.2807174324989319, -0.0823507010936737, 0.07372774928808212, -0.0322655625641346, -0.0598699152469635, -0.06053949519991875, -0.04560044780373573, 0.13547135889530182, 0.20777639746665955, -0.149453803896904, 0.269787073135376, 0.5133833289146423, -0.29299432039260864, 0.10274443030357361, -0.14504769444465637, 0.19696484506130219, -0.16642211377620697, 0.04063134640455246, 0.14276956021785736, -0.18495088815689087, -0.235298752784729, 0.37274372577667236, -0.08473537117242813, 0.1349279284477234, -0.3496638536453247, 0.08463773876428604, -0.17090943455696106, -0.10084368288516998, 0.06681513041257858, -0.18701468408107758, -0.4149264693260193, 0.11553982645273209, -0.009893504902720451, -0.006718998309224844, 0.20742183923721313, 0.1359523981809616, -0.14639954268932343, 0.3781564235687256, 0.3043641746044159, 0.31862226128578186, -0.06643937528133392, 0.054270822554826736, 0.3199608027935028, -0.31027594208717346, 0.298978716135025, -0.19129441678524017, -0.13575749099254608, -0.05575306713581085, 0.3227643072605133, -0.31304511427879333, 0.12634649872779846, -0.28639915585517883, 0.12391741573810577, -0.19786295294761658, 0.2376236617565155, 0.10481623560190201, 0.394461065530777, -0.19773054122924805, -0.20031771063804626, -0.6710384488105774, 0.05766264349222183, 0.27506133913993835, -0.005808208137750626, -0.0549616739153862, -0.1044149324297905, -0.08031801879405975, 0.4501743018627167, 0.451128751039505, -0.17315645515918732, -0.012271614745259285, -0.24985188245773315, -0.028149111196398735, 0.10331612825393677, -0.07994730025529861, 0.13236072659492493, -0.16048705577850342, -0.25719037652015686, 0.24829089641571045, 0.15513667464256287, 0.17927609384059906, -0.05382710322737694, -0.1302846074104309, -0.04209999367594719, -0.18062208592891693, 0.4949449598789215, 0.029187219217419624, 0.03160850331187248, -0.24145707488059998, 0.07716918736696243, 0.12020036578178406, -0.08535564690828323, -0.2644754946231842, 0.30409368872642517, 0.25785788893699646, 0.39513498544692993, -0.32792359590530396, 0.28358641266822815, 0.014959077350795269, 0.05612895265221596, 0.13539785146713257, 0.3947972357273102, 0.16326962411403656, 0.17454935610294342, 0.27867722511291504, 0.1438913345336914, -0.21455809473991394, -0.0865960493683815, 0.08745580166578293, 0.4067690968513489, -0.0007012781570665538, -0.16860778629779816, 0.07364682853221893, -0.3147223889827728, -0.5148043632507324, 0.01948588714003563, 0.14860714972019196, 0.07778847962617874, -0.4118649959564209, -0.16053275763988495, -0.02692192792892456, 0.09611425548791885, -0.20187853276729584, -0.27549824118614197, 0.3227354884147644, -0.47285765409469604, 0.13375459611415863, -0.05344950035214424, 0.4093320071697235, 0.389051228761673, 0.06051486358046532, -0.28302237391471863, -0.322544664144516 ]
https://github.com/huggingface/datasets/issues/1627
`Dataset.map` disable progress bar
+1. We shouldn't need to play with logging levels for a simple thing like this. For instance, trainers have an option `show_progress` that does exactly this.
I can't find anything to turn off the `tqdm` progress bars while running a preprocessing function using `Dataset.map`. I want to do akin to `disable_tqdm=True` in the case of `transformers`. Is there something like that?
26
`Dataset.map` disable progress bar
[ -0.4395986795425415, 0.2185116708278656, -0.2392621785402298, -0.3283471167087555, 0.18914677202701569, 0.09662564098834991, 0.2799609899520874, 0.2105192393064499, 0.11873073130846024, 0.21338993310928345, 0.11501598358154297, 0.6086623072624207, 0.03496751934289932, 0.27914902567863464, -0.08129137754440308, 0.2821364402770996, -0.01052045077085495, 0.3286358714103699, -0.2606979310512543, -0.046507708728313446, -0.2847193777561188, -0.2001359909772873, -0.25475427508354187, 0.12677522003650665, 0.033859457820653915, -0.2972458600997925, 0.30353885889053345, -0.12558001279830933, -0.2763460874557495, -0.7243281602859497, 0.20544393360614777, 0.4476182460784912, -0.2967711389064789, 0.18790921568870544, -0.00011083083518315107, 0.04007353261113167, 0.36580216884613037, 0.21382761001586914, -0.09639398753643036, 0.05379808694124222, -0.6329759359359741, -0.24547633528709412, 0.3755226731300354, -0.29277411103248596, 0.25503283739089966, -0.1497700959444046, -0.015198765322566032, -0.44520875811576843, 0.2322252094745636, -0.1307210922241211, 0.22164548933506012, 0.17861367762088776, -0.2171885222196579, 0.014749351888895035, 0.256104052066803, -0.1501086801290512, -0.18373076617717743, 0.12702178955078125, 0.21524836122989655, -0.0715341567993164, -0.5876049995422363, 0.4568822681903839, -0.034446876496076584, 0.1658349633216858, 0.13613149523735046, -0.2265463024377823, 0.4614134132862091, -0.3757074773311615, 0.30451396107673645, 0.0012909346260130405, 0.38322222232818604, -0.4103246033191681, 0.04298441857099533, -0.14631466567516327, -0.15173743665218353, 0.0822812020778656, -0.08254007250070572, -0.12933659553527832, -0.17862842977046967, 0.23974771797657013, -0.7848684191703796, -0.3162766695022583, -0.07624433934688568, 0.09886925667524338, -0.11010171473026276, 0.04656656086444855, 0.005054008681327105, 0.10606088489294052, 0.18299070000648499, 0.11453475803136826, 0.05045747756958008, 0.07115767151117325, -0.10463576763868332, 0.001071470556780696, -0.1758231371641159, -0.3252599239349365, 0.42794719338417053, 0.16487300395965576, 0.22093133628368378, -0.04099638760089874, -0.10940516740083694, 0.26826930046081543, -0.007501751184463501, 0.08580417186021805, 0.38250651955604553, -0.11126028001308441, 0.2555171847343445, -0.21574164927005768, 0.4767502546310425, -0.11247992515563965, 0.03517337143421173, 0.3870595395565033, 0.45010507106781006, -0.3709712624549866, 0.2271272838115692, 0.23801136016845703, 0.1520109325647354, -0.06193744018673897, -0.09207620471715927, 0.1288880705833435, 0.16780918836593628, -0.17790283262729645, 0.07469450682401657, 0.053879670798778534, 0.1376655399799347, -0.39995095133781433, -0.0910307839512825, 0.00606883130967617, -0.010380935855209827, 0.17655016481876373, -0.2090928852558136, -0.14484715461730957, -0.33061960339546204, -0.09939279407262802, 0.18235048651695251, 0.027475640177726746, 0.05081148073077202, 0.07567619532346725, -0.45937737822532654, 0.26369908452033997, 0.409801721572876, -0.1265982836484909, 0.4922589063644409, 0.33169692754745483, -0.04697898402810097, 0.1937263160943985, 0.11670394241809845, 0.09090842306613922, -0.1499691903591156, 0.4083591401576996, 0.11572136729955673, -0.17941786348819733, -0.12620456516742706, 0.17620036005973816, -0.06573833525180817, -0.024402517825365067, -0.24179601669311523, 0.3131403923034668, -0.07300856709480286, -0.06423091143369675, 0.21575962007045746, 0.1253487467765808, -0.48278388381004333, 0.006431656423956156, 0.07968911528587341, 0.41139400005340576, -0.4405776858329773, -0.11661241203546524, -0.05257752165198326, -0.380892813205719, -0.201566681265831, -0.23740807175636292, -0.28605687618255615, 0.20289571583271027, -0.06387821584939957, 0.3173757493495941, 0.19320088624954224, 0.0990285724401474, -0.5224859714508057, 0.1972460001707077, -0.21476230025291443, -0.269363135099411, -0.2367243766784668, 0.13506093621253967, 0.19792261719703674, -0.031486157327890396, -0.07394558936357498, -0.013994766399264336, 0.11149464547634125, 0.10162034630775452, 0.11532615125179291, -0.4137829840183258, 0.2240985631942749, 0.20418402552604675, 0.07334800809621811, 0.21428906917572021, 0.3687390387058258, -0.3548508286476135, 0.2507722079753876, 0.11674534529447556, 0.09735395014286041, 0.2775821089744568, 0.009172200225293636, -0.40080174803733826, -0.27978017926216125, -0.22069187462329865, -0.29554668068885803, 0.056362804025411606, 0.11798927932977676, -0.24300998449325562, -0.11296626925468445, -0.19952797889709473, -0.11291234940290451, 0.06689278036355972, -0.24814386665821075, 0.17193515598773956, 0.15904539823532104, -0.24504713714122772, -0.08042901009321213, 0.05719957873225212, -0.23838885128498077, -0.09433628618717194, -0.16182801127433777, -0.06637944281101227, -0.011965392157435417, 0.04682775214314461, 0.19222629070281982, -0.1085403636097908, 0.008635471574962139, 0.08808556944131851, 0.03945206105709076, -0.04157358780503273, -0.05496135354042053, 0.2574267089366913, 0.03542622923851013, 0.18285112082958221, 0.18384568393230438, 0.2817158102989197, -0.015109272673726082, -0.013147978112101555, -0.06491809338331223, 0.15602554380893707, -0.1273682713508606, 0.126257985830307, -0.1971779465675354, 0.013551964424550533, -0.031141873449087143, 0.2468675971031189, 0.11264780163764954, -0.03896793723106384, 0.2671520411968231, -0.14404797554016113, -0.18560893833637238, -0.568070113658905, 0.009580191224813461, 0.1955576092004776, 0.41839006543159485, 0.03183293342590332, 0.16316744685173035, 0.14463508129119873, 0.706017255783081, 0.2135077714920044, 0.1840134561061859, -0.015741024166345596, -0.3131410777568817, -0.09265042096376419, 0.2370726764202118, 0.3541601896286011, 0.2316453605890274, 0.22808028757572174, 0.5261781215667725, 0.10274638235569, -0.04573093727231026, -0.2633403539657593, -0.14275871217250824, 0.06342702358961105, 0.19916905462741852, 0.29838094115257263, 0.17170937359333038, -0.17550347745418549, -0.5580349564552307, -0.04750055819749832, -0.10427781939506531, -0.012424175627529621, 0.027016373351216316, -0.1322748363018036, -0.18326298892498016, -0.2505928575992584, 0.2813425660133362, 0.040800586342811584, -0.02694288268685341, -0.3211108446121216, 0.34729820489883423, 0.35378512740135193, -0.1709795892238617, 0.5388241410255432, 0.11255551874637604, -0.05562456324696541, 0.12916092574596405, -0.08644134551286697, -0.17541250586509705, -0.37794291973114014, 0.26066282391548157, 0.13450480997562408, -0.05193188041448593, -0.06920494139194489, 0.3792479336261749, -0.0915292426943779, 0.04417288303375244, -0.31383559107780457, 0.038026049733161926, 0.2667854428291321, -0.05201859027147293, -0.2526225447654724, 0.008856263943016529, 0.2846696674823761, -0.22307518124580383, 0.5176880359649658, 0.0537903755903244, -0.32686784863471985, -0.15756329894065857, -0.22480426728725433, -0.14416711032390594, 0.1259562075138092, -0.15725205838680267, -0.021603399887681007, -0.21497510373592377, -0.35945984721183777, 0.16276487708091736, -0.19804581999778748, 0.016333047300577164, 0.14695869386196136, -0.0006384499138221145, 0.17973077297210693, 0.048966314643621445, -0.25359421968460083, -0.15509560704231262, -0.31258854269981384, 0.257407546043396, -0.05307558923959732, -0.10674596577882767, 0.17151999473571777, -0.11514756828546524, 0.016616135835647583, 0.27625924348831177, -0.42104291915893555, -0.08142944425344467, -0.3045351803302765, 0.18369410932064056, -0.201116681098938, 0.09366118907928467, 0.6179872155189514, 0.14739640057086945, -0.26194632053375244, -0.024372175335884094, -0.2519649267196655, 0.18618282675743103, 0.16545473039150238, -0.14473295211791992, -0.14877529442310333, 0.16324856877326965, -0.10501765459775925, 0.5996302962303162, 0.025330884382128716, -0.06225176155567169, 0.24550743401050568, -0.04302932322025299, 0.39959517121315, -0.21424156427383423, -0.12986862659454346, -0.1911187618970871, -0.08439832180738449, 0.05286189168691635, 0.045895081013441086, -0.06490317732095718, -0.40388214588165283, 0.09534552693367004, -0.05489732697606087, -0.04523254185914993, -0.17634135484695435, -0.22448399662971497, -0.15896031260490417, 0.16601347923278809, 0.138101726770401, 0.16637329757213593, -0.14420099556446075, -0.04096677526831627, -0.023856909945607185, 0.024403028190135956, 0.33438026905059814, -0.2537636160850525, -0.20265688002109528, 0.06372660398483276, -0.40536221861839294, 0.14510013163089752, 0.03933493793010712, -0.20413552224636078, -0.14721213281154633, 0.009730670601129532, 0.2238156795501709, 0.09042799472808838, 0.5942858457565308, -0.36843836307525635, 0.3187611401081085, 0.04027911275625229, 0.025176066905260086, -0.042408376932144165, 0.14634878933429718, 0.04609157517552376, 0.6089102625846863, 0.29708635807037354, 0.25921952724456787, 0.02348645217716694, -0.017327841371297836, -0.02407943084836006, 0.04741906747221947, -0.04501326382160187, -0.2617088556289673, -0.3535441756248474, 0.048947956413030624, -0.4435901343822479, 0.3063390552997589, 0.09679058194160461, -0.321708619594574, 0.035873185843229294, -0.5404658317565918, -0.11565165221691132, -0.17592550814151764, -0.21807250380516052, 0.3303132951259613, 0.02171984314918518, 0.2193671315908432, 0.043741822242736816, 0.2564701735973358, 0.23891815543174744, 0.010463960468769073, 0.16687177121639252, 0.17300306260585785, 0.04072276130318642, 0.30964604020118713, -0.31838491559028625, 0.07428731769323349, 0.11580786854028702, -0.22929033637046814, 0.15634775161743164, 0.04906948655843735, 0.154318168759346, -0.2756236493587494, 0.035463057458400726, 0.2353372722864151, 0.02300848253071308, -0.23430928587913513, -0.10303450375795364, 0.07305648922920227, -0.15391036868095398, -0.2103785127401352, 0.27064165472984314, -0.2578029930591583, -0.17069372534751892, -0.20273666083812714, 0.0053861732594668865, 0.44936296343803406, -0.3662717342376709, 0.05970756337046623, -0.19842931628227234, -0.13366052508354187, 0.21241094172000885, 0.050484780222177505, 0.2502167522907257, -0.348627507686615, -0.2676328718662262, -0.15766483545303345, -0.15591073036193848, 0.1785813271999359, 0.34005600214004517, -0.033961180597543716, -0.004015423357486725, -0.07529864460229874, 0.34823474287986755, -0.20267128944396973, 0.00029872290906496346, 0.14944055676460266, -0.19572700560092926, -0.26369956135749817, 0.191680446267128, -0.027998389676213264, -0.03625081479549408, -0.04889362305402756, 0.25432851910591125, 0.25547805428504944, 0.03537317365407944, 0.008583431132137775, 0.10216247290372849, 0.03573942556977272, 0.36490434408187866, -0.3034796118736267, -0.3475496470928192, 0.07895763218402863, 0.029977399855852127, 0.2469228208065033, 0.012663079425692558, -0.21085889637470245, 0.09446626901626587, 0.17449837923049927, 0.20403528213500977, -0.05379243940114975, 0.17875395715236664, 0.16532592475414276, -0.14986303448677063, -0.19215349853038788, 0.09262573719024658, -0.021208902820944786, -0.4795095920562744, -0.07812622934579849, 0.28282278776168823, 0.4286006987094879, -0.13609330356121063, 0.15541446208953857, 0.04531193897128105, 0.28537827730178833, -0.16993817687034607, 0.12661448121070862, 0.13737477362155914, 0.18052634596824646, 0.4397275745868683, -0.11039678007364273, -0.3694464862346649, -0.04459207132458687, 0.4205537438392639, -0.05162818729877472, 0.08297744393348694, 0.24088923633098602, -0.00983340386301279, -0.32247257232666016, -0.41031670570373535, -0.04712412878870964, 0.2730124890804291, -0.08551424741744995, 0.04450071230530739, 0.25442928075790405, 0.0898599624633789, -0.07953963428735733, -0.028423737734556198, -0.27512326836586, 0.3026968836784363, -0.23785875737667084, -0.1271211802959442, -0.49027472734451294, 0.01922915130853653, -0.17703667283058167, 0.2216341644525528, 0.1286482810974121, 0.1206662654876709, 0.13601192831993103, -0.07752405852079391, -0.3189895451068878, -0.0654882863163948, -0.16233205795288086, 0.01182150561362505, 0.18083080649375916, 0.11321157217025757, -0.06136661767959595, -0.2816958725452423, 0.04928320273756981, -0.14694559574127197, -0.532950222492218, -0.3444001376628876, -0.06556936353445053, 0.08188171684741974, -0.0761406347155571, -0.19332748651504517, 0.08966805040836334, -0.22495122253894806, -0.1637471616268158, -0.06362896412611008, 0.2519795298576355, 0.05476093664765358, 0.24034558236598969, 0.09682762622833252, -0.011891636997461319, 0.050674859434366226, -0.16886131465435028, -0.2200026661157608, -0.009375454857945442, -0.0008374709286727011, -0.15230417251586914, 0.0823204293847084, 0.037933025509119034, 0.08823421597480774, 0.1607896089553833, 0.06116439402103424, 0.4950062930583954, 0.4570782780647278, -0.1574745923280716, -0.12523411214351654, -0.0552128367125988, 0.01573849469423294, 0.42965543270111084, 0.09058106690645218, -0.1573045402765274, -0.408363401889801, 0.10881736874580383, 0.2663683295249939, -0.3077899217605591, -0.180629163980484, 0.8190280199050903, -0.11341952532529831, 0.36607176065444946, 0.025427237153053284, -0.09954017400741577, 0.26702916622161865, 0.12542344629764557, 0.2188224196434021, 0.04062296822667122, -0.28563162684440613, 0.020394494757056236, 0.415839284658432, -0.01625828444957733, -0.1024586409330368, 0.5091515779495239, 0.6370655298233032, 0.1283196210861206, 0.4898403584957123, 0.21311159431934357, 0.3759348690509796, 0.18970070779323578, 0.13568542897701263, -0.3900068998336792, -0.17644910514354706, 0.028727035969495773, 0.23336456716060638, -0.2332635074853897, -0.2605333924293518, 0.3365269601345062, 0.17164266109466553, -0.013217896223068237, -0.2807174324989319, -0.0823507010936737, 0.07372774928808212, -0.0322655625641346, -0.0598699152469635, -0.06053949519991875, -0.04560044780373573, 0.13547135889530182, 0.20777639746665955, -0.149453803896904, 0.269787073135376, 0.5133833289146423, -0.29299432039260864, 0.10274443030357361, -0.14504769444465637, 0.19696484506130219, -0.16642211377620697, 0.04063134640455246, 0.14276956021785736, -0.18495088815689087, -0.235298752784729, 0.37274372577667236, -0.08473537117242813, 0.1349279284477234, -0.3496638536453247, 0.08463773876428604, -0.17090943455696106, -0.10084368288516998, 0.06681513041257858, -0.18701468408107758, -0.4149264693260193, 0.11553982645273209, -0.009893504902720451, -0.006718998309224844, 0.20742183923721313, 0.1359523981809616, -0.14639954268932343, 0.3781564235687256, 0.3043641746044159, 0.31862226128578186, -0.06643937528133392, 0.054270822554826736, 0.3199608027935028, -0.31027594208717346, 0.298978716135025, -0.19129441678524017, -0.13575749099254608, -0.05575306713581085, 0.3227643072605133, -0.31304511427879333, 0.12634649872779846, -0.28639915585517883, 0.12391741573810577, -0.19786295294761658, 0.2376236617565155, 0.10481623560190201, 0.394461065530777, -0.19773054122924805, -0.20031771063804626, -0.6710384488105774, 0.05766264349222183, 0.27506133913993835, -0.005808208137750626, -0.0549616739153862, -0.1044149324297905, -0.08031801879405975, 0.4501743018627167, 0.451128751039505, -0.17315645515918732, -0.012271614745259285, -0.24985188245773315, -0.028149111196398735, 0.10331612825393677, -0.07994730025529861, 0.13236072659492493, -0.16048705577850342, -0.25719037652015686, 0.24829089641571045, 0.15513667464256287, 0.17927609384059906, -0.05382710322737694, -0.1302846074104309, -0.04209999367594719, -0.18062208592891693, 0.4949449598789215, 0.029187219217419624, 0.03160850331187248, -0.24145707488059998, 0.07716918736696243, 0.12020036578178406, -0.08535564690828323, -0.2644754946231842, 0.30409368872642517, 0.25785788893699646, 0.39513498544692993, -0.32792359590530396, 0.28358641266822815, 0.014959077350795269, 0.05612895265221596, 0.13539785146713257, 0.3947972357273102, 0.16326962411403656, 0.17454935610294342, 0.27867722511291504, 0.1438913345336914, -0.21455809473991394, -0.0865960493683815, 0.08745580166578293, 0.4067690968513489, -0.0007012781570665538, -0.16860778629779816, 0.07364682853221893, -0.3147223889827728, -0.5148043632507324, 0.01948588714003563, 0.14860714972019196, 0.07778847962617874, -0.4118649959564209, -0.16053275763988495, -0.02692192792892456, 0.09611425548791885, -0.20187853276729584, -0.27549824118614197, 0.3227354884147644, -0.47285765409469604, 0.13375459611415863, -0.05344950035214424, 0.4093320071697235, 0.389051228761673, 0.06051486358046532, -0.28302237391471863, -0.322544664144516 ]
https://github.com/huggingface/datasets/issues/1624
Cannot download ade_corpus_v2
Hi @him1411, the dataset you are trying to load has been added during the community sprint and has not been released yet. It will be available with the v2 of `datasets`. For now, you should be able to load the datasets after installing the latest (master) version of `datasets` using pip: `pip install git+https://github.com/huggingface/datasets.git@master`
I tried this to get the dataset following this url : https://huggingface.co/datasets/ade_corpus_v2 but received this error : `Traceback (most recent call last): File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module local_path = cached_path(file_path, download_config=download_config) File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache raise FileNotFoundError("Couldn't find file at {}".format(url)) FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/ade_corpus_v2/ade_corpus_v2.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 278, in prepare_module local_path = cached_path(file_path, download_config=download_config) File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache raise FileNotFoundError("Couldn't find file at {}".format(url)) FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/ade_corpus_v2/ade_corpus_v2.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 589, in load_dataset path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 282, in prepare_module combined_path, github_file_path, file_path FileNotFoundError: Couldn't find file locally at ade_corpus_v2/ade_corpus_v2.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/ade_corpus_v2/ade_corpus_v2.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/ade_corpus_v2/ade_corpus_v2.py`
54
Cannot download ade_corpus_v2
[ -0.009892141446471214, -0.19629961252212524, -0.2706601321697235, 0.06766300648450851, 0.05023522302508354, 0.22745095193386078, -0.12919898331165314, 0.34206709265708923, 0.06221439316868782, -0.01801096834242344, -0.12891638278961182, -0.24048401415348053, 0.03914980962872505, -0.23409491777420044, -0.015303302556276321, -0.2125043421983719, -0.11880273371934891, 0.08810514211654663, 0.09394825994968414, -0.1860085129737854, -0.07530099153518677, 0.3390432894229889, -0.13287250697612762, 0.08391831815242767, 0.4227253794670105, -0.009913617745041847, -0.036044586449861526, -0.05137460678815842, -0.4638030230998993, -0.2226022332906723, 0.28328022360801697, 0.05776740610599518, 0.1855313926935196, 0.1552198976278305, -0.00010277391265844926, 0.0431894026696682, 0.28105267882347107, 0.16354060173034668, -0.12856930494308472, -0.019783644005656242, 0.150726318359375, 0.05039002373814583, -0.15135830640792847, -0.35707929730415344, 0.033155713230371475, -0.26834163069725037, 0.21873243153095245, 0.10914108902215958, 0.07903920859098434, 0.24046672880649567, 0.3825089931488037, -0.11817712336778641, 0.18738184869289398, -0.4027312695980072, 0.0933581218123436, -0.2376287579536438, -0.04576324671506882, 0.03413392975926399, 0.25574561953544617, 0.15233097970485687, 0.24247580766677856, 0.08879845589399338, -0.21735307574272156, 0.0680338516831398, -0.3125388026237488, -0.1292365938425064, 0.6023785471916199, -0.28385818004608154, 0.4575301706790924, -0.16519317030906677, 0.6012205481529236, 0.07112614810466766, 0.017700331285595894, 0.44447895884513855, 0.07954087853431702, 0.06710965186357498, 0.20152615010738373, -0.11494552344083786, -0.19756963849067688, 0.029914045706391335, 0.026050401851534843, -0.2760598361492157, -0.2144070714712143, -0.131293386220932, -0.21602806448936462, 0.1500311940908432, -0.043486692011356354, -0.1296709030866623, 0.14291568100452423, 0.10120087116956711, -0.26974254846572876, 0.2576395869255066, -0.2533227205276489, 0.028895631432533264, 0.444426029920578, 0.09680626541376114, 0.0011604806641116738, -0.3572996258735657, -0.11530625075101852, 0.036177635192871094, 0.3017041087150574, -0.023384181782603264, 0.15575693547725677, -0.08291482925415039, -0.1954975724220276, 0.08470658212900162, 0.2213471531867981, 0.17212842404842377, 0.20642335712909698, 0.31836697459220886, 0.188505619764328, 0.09695416688919067, -0.4166419208049774, -0.3158980906009674, -0.17077301442623138, 0.17037661373615265, -0.0051447427831590176, -0.40110376477241516, -0.10064017027616501, 0.18807971477508545, 0.08654700964689255, 0.2676139175891876, -0.1578477919101715, 0.0326763354241848, -0.2442179024219513, -0.14115490019321442, 0.23146280646324158, -0.05385967716574669, -0.06006668880581856, -0.03203205764293671, -0.22232313454151154, -0.025154434144496918, -0.1812037229537964, -0.45126470923423767, 0.31910258531570435, -0.07460805028676987, 0.37116706371307373, -0.2613654136657715, -0.09868255257606506, 0.04137180745601654, -0.15989869832992554, -0.0873943492770195, -0.12314021587371826, 0.4271024167537689, 0.1585056632757187, 0.31392884254455566, -0.04461703449487686, -0.10867823660373688, -0.005250491667538881, -0.13001202046871185, -0.18656553328037262, -0.21272209286689758, 0.15519246459007263, 0.31283408403396606, 0.1898801624774933, -0.008964612148702145, 0.06622650474309921, -0.013501090928912163, 0.06900607794523239, -0.127033531665802, 0.06043794006109238, 0.0802733451128006, -0.6039165258407593, -0.2127574235200882, 0.014419108629226685, 0.15058185160160065, -0.25740334391593933, 0.22071130573749542, -0.1377909630537033, -0.23243732750415802, -0.02720395289361477, 0.005932708270847797, 0.027943003922700882, 0.05375910550355911, -0.19795921444892883, 0.310308039188385, 0.18309618532657623, -0.8223171830177307, -0.46093109250068665, 0.3588012456893921, -0.028574880212545395, -0.34370094537734985, 0.23816175758838654, -0.20998285710811615, 0.46954765915870667, -0.4045984447002411, 0.11044293642044067, 0.2013903111219406, 0.16018883883953094, -0.10959260910749435, -0.03650957718491554, 0.04448632895946503, -0.2918204367160797, -0.10988198220729828, 0.243107408285141, 0.23815184831619263, 0.12443845719099045, 0.14653050899505615, 0.36774951219558716, 0.40996405482292175, 0.14085598289966583, 0.2735339105129242, 0.1406124085187912, -0.21833761036396027, 0.18804273009300232, 0.1242692843079567, 0.0948299989104271, -0.0005588323692791164, -0.13230478763580322, 0.12360569834709167, 0.06006886437535286, 0.047031477093696594, -0.46222350001335144, 0.08634056895971298, 0.002725867321714759, -0.22893939912319183, 0.2628817856311798, -0.037054404616355896, 0.25698575377464294, 0.1246018260717392, 0.11777741461992264, -0.08216631412506104, -0.1069365069270134, -0.012420374900102615, 0.2425897866487503, -0.07180521637201309, -0.009477227926254272, -0.07191218435764313, 0.134399875998497, -0.29667675495147705, 0.03957315906882286, 0.10194043815135956, -0.10589104145765305, 0.036349378526210785, -0.1826639026403427, 0.2183389812707901, -0.05734560638666153, 0.19233275949954987, 0.00877744983881712, -0.31113311648368835, 0.16749247908592224, 0.08233664184808731, 0.1327112317085266, 0.024828583002090454, 0.3822675943374634, -0.22530916333198547, 0.16317884624004364, -0.08983859419822693, 0.15087786316871643, 0.15759719908237457, 0.10616039484739304, -0.020169274881482124, 0.00843549519777298, -0.23478691279888153, 0.22938548028469086, 0.00837281160056591, 0.056250929832458496, -0.2554324269294739, 0.058234211057424545, 0.12452487647533417, 0.13859885931015015, 0.16489958763122559, 0.0038543101400136948, -0.07140753418207169, -0.08826714754104614, 0.10821647942066193, -0.06353521347045898, 0.17798714339733124, 0.042082104831933975, 0.12077810615301132, 0.4952497184276581, 0.1903056502342224, -0.16950801014900208, -0.22596681118011475, 0.27570900321006775, -0.09606867283582687, 0.1772622913122177, 0.30465254187583923, 0.01895367167890072, -0.009516029618680477, -0.2264644354581833, 0.28123006224632263, 0.2778764069080353, 0.15216383337974548, -0.017548441886901855, -0.1000959649682045, -0.18491581082344055, -0.13997897505760193, 0.1046343594789505, 0.04382874816656113, 0.19133169949054718, 0.036378163844347, 0.18970707058906555, 0.49456003308296204, 0.025866497308015823, -0.0260477177798748, -0.0793752670288086, -0.06289191544055939, 0.05578409507870674, 0.06838689744472504, -0.08747245371341705, 0.2755879759788513, -0.46395808458328247, 0.286204069852829, 0.04724830389022827, 0.033403679728507996, 0.1604519635438919, -0.12401865422725677, 0.2142735868692398, -0.3091733157634735, -0.11691582202911377, 0.258023202419281, 0.12712225317955017, 0.06392423808574677, 0.1662195920944214, 0.010954521596431732, -0.3147807717323303, -0.0945650115609169, -0.05335699021816254, -0.4032387137413025, -0.37744683027267456, 0.015758609399199486, -0.07167176902294159, -0.23389263451099396, -0.20499809086322784, -0.4636825621128082, 0.0649104192852974, -0.146070659160614, -0.19991329312324524, 0.015219374559819698, 0.21554455161094666, 0.3463600277900696, -0.17661228775978088, 0.05409219115972519, 0.3966693580150604, 0.20787405967712402, -0.18167105317115784, 0.11111342161893845, 0.29531213641166687, -0.6133453845977783, -0.3166891634464264, 0.21908149123191833, 0.04924510419368744, 0.30337533354759216, 0.26942935585975647, -0.5285253524780273, -0.005870749708265066, 0.08832573890686035, -0.49815046787261963, 0.10668894648551941, -0.15423725545406342, 0.2730333209037781, -0.12300282716751099, -0.22809141874313354, 0.004857688210904598, 0.08940805494785309, 0.47290098667144775, 0.11529050022363663, -0.008597680367529392, -0.29142218828201294, 0.15111635625362396, 0.07090652734041214, 0.0393841415643692, 0.09765168279409409, 0.09933102130889893, 0.23517641425132751, 0.02272619865834713, -0.044437527656555176, -0.06287442147731781, -0.2716313302516937, -0.07577583938837051, 0.2427424043416977, -0.020365487784147263, 0.38799771666526794, 0.021144313737750053, -0.35401931405067444, -0.1640525609254837, -0.1744101196527481, -0.21403758227825165, -0.08067332953214645, -0.23786661028862, 0.17589931190013885, 0.2502502202987671, 0.17352350056171417, 0.18954768776893616, 0.06233767047524452, -0.0700119212269783, 0.29195380210876465, 0.16673770546913147, -0.11086568981409073, 0.13226325809955597, 0.16301241517066956, 0.18351566791534424, -0.31966105103492737, 0.14175277948379517, -0.0006603840738534927, 0.15452012419700623, -0.27594855427742004, -0.020903579890727997, 0.20385515689849854, -0.016315490007400513, 0.7118687033653259, -0.3244182765483856, 0.3867563307285309, 0.060450229793787, -0.05497150868177414, 0.07696978747844696, -0.16287437081336975, -0.13460242748260498, 0.2924586832523346, 0.0592367947101593, -0.08286706358194351, -0.13526611030101776, 0.34295451641082764, 0.12734146416187286, -0.40058061480522156, -0.12468187510967255, -0.05651756748557091, -0.15866421163082123, -0.5480034947395325, -0.10270506143569946, -0.018357129767537117, 0.002237756969407201, 0.1172620877623558, 0.0013551723677664995, -0.146154522895813, -0.14825880527496338, -0.059314921498298645, 0.16021570563316345, 0.027942514047026634, 0.0768059492111206, 0.3092823624610901, 0.2630208730697632, 0.18069708347320557, 0.035679154098033905, 0.003289608983322978, 0.20884302258491516, -0.09913089126348495, 0.13317342102527618, 0.3020099103450775, -0.1483631581068039, -0.11886930465698242, 0.39490655064582825, -0.10244527459144592, -0.13818323612213135, -0.0929662212729454, -0.2641003429889679, 0.010242699645459652, -0.027282079681754112, 0.44576480984687805, -0.05412780120968819, -0.4083598256111145, -0.29770517349243164, -0.1012255921959877, 0.036951787769794464, -0.25271478295326233, -0.14885908365249634, -0.01680772379040718, -0.15703065693378448, 0.09650222212076187, -0.03239835426211357, 0.7568179965019226, -0.13260535895824432, -0.25383397936820984, 0.027730673551559448, 0.15078981220722198, 0.3245507478713989, -0.19487391412258148, 0.0937437117099762, -0.032412998378276825, -0.2704462707042694, -0.05217639356851578, 0.1096351146697998, 0.21982422471046448, 0.22209645807743073, -0.2389436960220337, 0.14053773880004883, 0.14440575242042542, 0.05905541032552719, 0.021986130625009537, 0.038248248398303986, -0.030747931450605392, 0.06450145691633224, -0.24832333624362946, 0.24412384629249573, 0.10684948414564133, 0.4122355878353119, -0.2164044827222824, -0.14196835458278656, 0.10978223383426666, -0.3169547915458679, -0.23163585364818573, 0.24785026907920837, 0.13704179227352142, 0.23278653621673584, -0.019205264747142792, 0.17206934094429016, -0.047067224979400635, 0.01881217211484909, 0.5818204283714294, 0.30672487616539, -0.1355666220188141, 0.12465382367372513, 0.3957166075706482, -0.5693142414093018, 0.15578193962574005, -0.10295908898115158, 0.19376836717128754, -0.4166211187839508, -0.16318851709365845, 0.29851195216178894, 0.22066469490528107, -0.11306837201118469, 0.21759776771068573, -0.26107633113861084, -0.036278996616601944, 0.07394828647375107, -0.140165776014328, 0.3325991928577423, -0.054290980100631714, 0.01822790689766407, 0.2488662451505661, -0.20735445618629456, -0.07191415876150131, 0.0863238200545311, 0.1697237342596054, -0.2176913172006607, 0.040076494216918945, 0.43044352531433105, 0.24761474132537842, -0.4851958155632019, 0.35655543208122253, 0.1960926204919815, -0.1979602575302124, -0.37286049127578735, -0.8013306856155396, -0.22907204926013947, -0.27978622913360596, 0.06865844130516052, -0.013085675425827503, -0.04726986587047577, 0.2632313370704651, 0.20086616277694702, 0.22279787063598633, -0.036890190094709396, -0.037523139268159866, -0.07335259765386581, -0.1692029982805252, 0.0069899423979222775, 0.006445995531976223, -0.11041684448719025, -0.2610062062740326, -0.19167481362819672, 0.26588180661201477, -0.14176364243030548, -0.4163037836551666, -0.00754551263526082, 0.0211787112057209, -0.3194345533847809, -0.2999098598957062, 0.031557630747556686, 0.13133874535560608, 0.12748895585536957, 0.24670438468456268, 0.2879985570907593, -0.3472205102443695, -0.3274094760417938, -0.02506060153245926, 0.06667650490999222, -0.16225235164165497, 0.0388835109770298, 0.2303142249584198, -0.5028834342956543, -0.40901198983192444, 0.2759317457675934, -0.03681378811597824, 0.3010326027870178, 0.2879912257194519, -0.3840574026107788, 0.24074387550354004, 0.3329227566719055, 0.2593327462673187, 0.4785122573375702, -0.2325788289308548, 0.24539709091186523, 0.014787258580327034, 0.10869218409061432, -0.10478845238685608, -0.15889641642570496, 0.11229860782623291, -0.0696636438369751, 0.08339951187372208, -0.25478532910346985, 0.2105821967124939, -0.04278116300702095, 0.1128581240773201, 0.08221962302923203, 0.003014396643266082, -0.0154263311997056, -0.20258910953998566, -0.14933747053146362, 0.11647548526525497, 0.34108975529670715, -0.39338499307632446, 0.05299203097820282, -0.21133755147457123, 0.00804878305643797, -0.19479072093963623, 0.0015294182812795043, 0.23376406729221344, -0.1757238209247589, 0.03248080611228943, 0.4551403522491455, 0.3123548626899719, -0.15124663710594177, -0.08088494092226028, 0.08067743480205536, 0.04090246558189392, -0.07094071060419083, -0.15523794293403625, 0.15788716077804565, 0.1301947385072708, 0.08088485896587372, 0.05678752064704895, 0.062138620764017105, 0.19209076464176178, 0.2666764557361603, 0.12615163624286652, -0.18050219118595123, 0.02297721989452839, 0.5558717250823975, 0.20127801597118378, 0.4235595762729645, 0.3298548758029938, -0.048543449491262436, 0.07341450452804565, 0.14207272231578827, -0.8262748122215271, 0.19969412684440613, 0.04590500146150589, -0.06793525069952011, -0.28492721915245056, -0.27533355355262756, -0.18308678269386292, 0.07628556340932846, -0.022457148879766464, 0.06313265115022659, -0.08040693402290344, -0.0965101569890976, -0.18117742240428925, -0.08853276073932648, -0.35548293590545654, -0.2076028734445572, 0.13464589416980743, -0.08617138862609863, 0.25015515089035034, -0.08176609128713608, -0.04907653108239174, 0.30294713377952576, 0.5698791146278381, -0.08012546598911285, 0.02036980353295803, -0.004863740410655737, -0.11781840026378632, 0.030407162383198738, -0.08670423924922943, -0.30136632919311523, 0.39980852603912354, 0.33121928572654724, 0.25221875309944153, -0.06750981509685516, 0.22430816292762756, -0.21456849575042725, 0.15123100578784943, -0.008354551158845425, -0.05289352312684059, 0.28264984488487244, 0.23786921799182892, 0.06875006854534149, 0.3372184932231903, 0.05215645954012871, 0.12177634984254837, -0.6367584466934204, -0.435051828622818, 0.3807009160518646, -0.2710005044937134, 0.09253041446208954, -0.15546736121177673, 0.12320064753293991, -0.09750919044017792, 0.011023451574146748, 0.31900957226753235, 0.3319798409938812, 0.12904927134513855, -0.2683539390563965, -0.23071713745594025, 0.4759485423564911, 0.1811569780111313, 0.1928444653749466, -0.10826626420021057, 0.10861102491617203, 0.2445390522480011, 0.06690317392349243, -0.08130262047052383, 0.03138786181807518, -0.43091338872909546, 0.10066143423318863, -0.22114388644695282, 0.12333811074495316, -0.05397428199648857, 0.08415218442678452, -0.03425216302275658, -0.2632087469100952, -0.05670309439301491, -0.06219324842095375, 0.20859792828559875, -0.26291918754577637, 0.04240083321928978, 0.12076308578252792, 0.2944759428501129, 0.4431310296058655, -0.06611001491546631, 0.17579148709774017, -0.29966551065444946, -0.24648326635360718, -0.29645010828971863, -0.0074492269195616245, 0.06599665433168411, 0.1675727665424347, 0.09126703441143036, -0.17768903076648712, -0.06321049481630325, 0.33161282539367676, 0.3218669295310974, -0.17347557842731476, -0.009393053129315376, 0.29432618618011475, -0.48997196555137634, 0.015423700213432312, -0.4067535102367401, -0.03450900316238403, -0.23067492246627808, -0.03594187647104263, 0.09659354388713837, -0.34468579292297363, -0.010108552873134613, -0.46970242261886597, 0.5915496349334717, -0.2118780016899109, 0.04783497750759125, 0.06191927567124367, 0.33561694622039795, -0.07906495779752731, -0.11676201224327087, -0.30322712659835815, -0.07901960611343384, 0.05601835995912552, -0.07890923321247101, -0.22041833400726318, 0.1502392739057541, -0.276081919670105, -0.04187101870775223, -0.17813998460769653, 0.46278420090675354, -0.01879359968006611, -0.3383658230304718, -0.17561151087284088, -0.13789497315883636 ]
https://github.com/huggingface/datasets/issues/1624
Cannot download ade_corpus_v2
`ade_corpus_v2` was added recently, that's why it wasn't available yet. To load it you can just update `datasets` ``` pip install --upgrade datasets ``` and then you can load `ade_corpus_v2` with ```python from datasets import load_dataset dataset = load_dataset("ade_corpus_v2", "Ade_corpos_v2_drug_ade_relation") ``` (looks like there is a typo in the configuration name, we'll fix it for the v2.0 release of `datasets` soon)
I tried this to get the dataset following this url : https://huggingface.co/datasets/ade_corpus_v2 but received this error : `Traceback (most recent call last): File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module local_path = cached_path(file_path, download_config=download_config) File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache raise FileNotFoundError("Couldn't find file at {}".format(url)) FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/ade_corpus_v2/ade_corpus_v2.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 278, in prepare_module local_path = cached_path(file_path, download_config=download_config) File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache raise FileNotFoundError("Couldn't find file at {}".format(url)) FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/ade_corpus_v2/ade_corpus_v2.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 589, in load_dataset path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 282, in prepare_module combined_path, github_file_path, file_path FileNotFoundError: Couldn't find file locally at ade_corpus_v2/ade_corpus_v2.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/ade_corpus_v2/ade_corpus_v2.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/ade_corpus_v2/ade_corpus_v2.py`
61
Cannot download ade_corpus_v2
[ -0.009892141446471214, -0.19629961252212524, -0.2706601321697235, 0.06766300648450851, 0.05023522302508354, 0.22745095193386078, -0.12919898331165314, 0.34206709265708923, 0.06221439316868782, -0.01801096834242344, -0.12891638278961182, -0.24048401415348053, 0.03914980962872505, -0.23409491777420044, -0.015303302556276321, -0.2125043421983719, -0.11880273371934891, 0.08810514211654663, 0.09394825994968414, -0.1860085129737854, -0.07530099153518677, 0.3390432894229889, -0.13287250697612762, 0.08391831815242767, 0.4227253794670105, -0.009913617745041847, -0.036044586449861526, -0.05137460678815842, -0.4638030230998993, -0.2226022332906723, 0.28328022360801697, 0.05776740610599518, 0.1855313926935196, 0.1552198976278305, -0.00010277391265844926, 0.0431894026696682, 0.28105267882347107, 0.16354060173034668, -0.12856930494308472, -0.019783644005656242, 0.150726318359375, 0.05039002373814583, -0.15135830640792847, -0.35707929730415344, 0.033155713230371475, -0.26834163069725037, 0.21873243153095245, 0.10914108902215958, 0.07903920859098434, 0.24046672880649567, 0.3825089931488037, -0.11817712336778641, 0.18738184869289398, -0.4027312695980072, 0.0933581218123436, -0.2376287579536438, -0.04576324671506882, 0.03413392975926399, 0.25574561953544617, 0.15233097970485687, 0.24247580766677856, 0.08879845589399338, -0.21735307574272156, 0.0680338516831398, -0.3125388026237488, -0.1292365938425064, 0.6023785471916199, -0.28385818004608154, 0.4575301706790924, -0.16519317030906677, 0.6012205481529236, 0.07112614810466766, 0.017700331285595894, 0.44447895884513855, 0.07954087853431702, 0.06710965186357498, 0.20152615010738373, -0.11494552344083786, -0.19756963849067688, 0.029914045706391335, 0.026050401851534843, -0.2760598361492157, -0.2144070714712143, -0.131293386220932, -0.21602806448936462, 0.1500311940908432, -0.043486692011356354, -0.1296709030866623, 0.14291568100452423, 0.10120087116956711, -0.26974254846572876, 0.2576395869255066, -0.2533227205276489, 0.028895631432533264, 0.444426029920578, 0.09680626541376114, 0.0011604806641116738, -0.3572996258735657, -0.11530625075101852, 0.036177635192871094, 0.3017041087150574, -0.023384181782603264, 0.15575693547725677, -0.08291482925415039, -0.1954975724220276, 0.08470658212900162, 0.2213471531867981, 0.17212842404842377, 0.20642335712909698, 0.31836697459220886, 0.188505619764328, 0.09695416688919067, -0.4166419208049774, -0.3158980906009674, -0.17077301442623138, 0.17037661373615265, -0.0051447427831590176, -0.40110376477241516, -0.10064017027616501, 0.18807971477508545, 0.08654700964689255, 0.2676139175891876, -0.1578477919101715, 0.0326763354241848, -0.2442179024219513, -0.14115490019321442, 0.23146280646324158, -0.05385967716574669, -0.06006668880581856, -0.03203205764293671, -0.22232313454151154, -0.025154434144496918, -0.1812037229537964, -0.45126470923423767, 0.31910258531570435, -0.07460805028676987, 0.37116706371307373, -0.2613654136657715, -0.09868255257606506, 0.04137180745601654, -0.15989869832992554, -0.0873943492770195, -0.12314021587371826, 0.4271024167537689, 0.1585056632757187, 0.31392884254455566, -0.04461703449487686, -0.10867823660373688, -0.005250491667538881, -0.13001202046871185, -0.18656553328037262, -0.21272209286689758, 0.15519246459007263, 0.31283408403396606, 0.1898801624774933, -0.008964612148702145, 0.06622650474309921, -0.013501090928912163, 0.06900607794523239, -0.127033531665802, 0.06043794006109238, 0.0802733451128006, -0.6039165258407593, -0.2127574235200882, 0.014419108629226685, 0.15058185160160065, -0.25740334391593933, 0.22071130573749542, -0.1377909630537033, -0.23243732750415802, -0.02720395289361477, 0.005932708270847797, 0.027943003922700882, 0.05375910550355911, -0.19795921444892883, 0.310308039188385, 0.18309618532657623, -0.8223171830177307, -0.46093109250068665, 0.3588012456893921, -0.028574880212545395, -0.34370094537734985, 0.23816175758838654, -0.20998285710811615, 0.46954765915870667, -0.4045984447002411, 0.11044293642044067, 0.2013903111219406, 0.16018883883953094, -0.10959260910749435, -0.03650957718491554, 0.04448632895946503, -0.2918204367160797, -0.10988198220729828, 0.243107408285141, 0.23815184831619263, 0.12443845719099045, 0.14653050899505615, 0.36774951219558716, 0.40996405482292175, 0.14085598289966583, 0.2735339105129242, 0.1406124085187912, -0.21833761036396027, 0.18804273009300232, 0.1242692843079567, 0.0948299989104271, -0.0005588323692791164, -0.13230478763580322, 0.12360569834709167, 0.06006886437535286, 0.047031477093696594, -0.46222350001335144, 0.08634056895971298, 0.002725867321714759, -0.22893939912319183, 0.2628817856311798, -0.037054404616355896, 0.25698575377464294, 0.1246018260717392, 0.11777741461992264, -0.08216631412506104, -0.1069365069270134, -0.012420374900102615, 0.2425897866487503, -0.07180521637201309, -0.009477227926254272, -0.07191218435764313, 0.134399875998497, -0.29667675495147705, 0.03957315906882286, 0.10194043815135956, -0.10589104145765305, 0.036349378526210785, -0.1826639026403427, 0.2183389812707901, -0.05734560638666153, 0.19233275949954987, 0.00877744983881712, -0.31113311648368835, 0.16749247908592224, 0.08233664184808731, 0.1327112317085266, 0.024828583002090454, 0.3822675943374634, -0.22530916333198547, 0.16317884624004364, -0.08983859419822693, 0.15087786316871643, 0.15759719908237457, 0.10616039484739304, -0.020169274881482124, 0.00843549519777298, -0.23478691279888153, 0.22938548028469086, 0.00837281160056591, 0.056250929832458496, -0.2554324269294739, 0.058234211057424545, 0.12452487647533417, 0.13859885931015015, 0.16489958763122559, 0.0038543101400136948, -0.07140753418207169, -0.08826714754104614, 0.10821647942066193, -0.06353521347045898, 0.17798714339733124, 0.042082104831933975, 0.12077810615301132, 0.4952497184276581, 0.1903056502342224, -0.16950801014900208, -0.22596681118011475, 0.27570900321006775, -0.09606867283582687, 0.1772622913122177, 0.30465254187583923, 0.01895367167890072, -0.009516029618680477, -0.2264644354581833, 0.28123006224632263, 0.2778764069080353, 0.15216383337974548, -0.017548441886901855, -0.1000959649682045, -0.18491581082344055, -0.13997897505760193, 0.1046343594789505, 0.04382874816656113, 0.19133169949054718, 0.036378163844347, 0.18970707058906555, 0.49456003308296204, 0.025866497308015823, -0.0260477177798748, -0.0793752670288086, -0.06289191544055939, 0.05578409507870674, 0.06838689744472504, -0.08747245371341705, 0.2755879759788513, -0.46395808458328247, 0.286204069852829, 0.04724830389022827, 0.033403679728507996, 0.1604519635438919, -0.12401865422725677, 0.2142735868692398, -0.3091733157634735, -0.11691582202911377, 0.258023202419281, 0.12712225317955017, 0.06392423808574677, 0.1662195920944214, 0.010954521596431732, -0.3147807717323303, -0.0945650115609169, -0.05335699021816254, -0.4032387137413025, -0.37744683027267456, 0.015758609399199486, -0.07167176902294159, -0.23389263451099396, -0.20499809086322784, -0.4636825621128082, 0.0649104192852974, -0.146070659160614, -0.19991329312324524, 0.015219374559819698, 0.21554455161094666, 0.3463600277900696, -0.17661228775978088, 0.05409219115972519, 0.3966693580150604, 0.20787405967712402, -0.18167105317115784, 0.11111342161893845, 0.29531213641166687, -0.6133453845977783, -0.3166891634464264, 0.21908149123191833, 0.04924510419368744, 0.30337533354759216, 0.26942935585975647, -0.5285253524780273, -0.005870749708265066, 0.08832573890686035, -0.49815046787261963, 0.10668894648551941, -0.15423725545406342, 0.2730333209037781, -0.12300282716751099, -0.22809141874313354, 0.004857688210904598, 0.08940805494785309, 0.47290098667144775, 0.11529050022363663, -0.008597680367529392, -0.29142218828201294, 0.15111635625362396, 0.07090652734041214, 0.0393841415643692, 0.09765168279409409, 0.09933102130889893, 0.23517641425132751, 0.02272619865834713, -0.044437527656555176, -0.06287442147731781, -0.2716313302516937, -0.07577583938837051, 0.2427424043416977, -0.020365487784147263, 0.38799771666526794, 0.021144313737750053, -0.35401931405067444, -0.1640525609254837, -0.1744101196527481, -0.21403758227825165, -0.08067332953214645, -0.23786661028862, 0.17589931190013885, 0.2502502202987671, 0.17352350056171417, 0.18954768776893616, 0.06233767047524452, -0.0700119212269783, 0.29195380210876465, 0.16673770546913147, -0.11086568981409073, 0.13226325809955597, 0.16301241517066956, 0.18351566791534424, -0.31966105103492737, 0.14175277948379517, -0.0006603840738534927, 0.15452012419700623, -0.27594855427742004, -0.020903579890727997, 0.20385515689849854, -0.016315490007400513, 0.7118687033653259, -0.3244182765483856, 0.3867563307285309, 0.060450229793787, -0.05497150868177414, 0.07696978747844696, -0.16287437081336975, -0.13460242748260498, 0.2924586832523346, 0.0592367947101593, -0.08286706358194351, -0.13526611030101776, 0.34295451641082764, 0.12734146416187286, -0.40058061480522156, -0.12468187510967255, -0.05651756748557091, -0.15866421163082123, -0.5480034947395325, -0.10270506143569946, -0.018357129767537117, 0.002237756969407201, 0.1172620877623558, 0.0013551723677664995, -0.146154522895813, -0.14825880527496338, -0.059314921498298645, 0.16021570563316345, 0.027942514047026634, 0.0768059492111206, 0.3092823624610901, 0.2630208730697632, 0.18069708347320557, 0.035679154098033905, 0.003289608983322978, 0.20884302258491516, -0.09913089126348495, 0.13317342102527618, 0.3020099103450775, -0.1483631581068039, -0.11886930465698242, 0.39490655064582825, -0.10244527459144592, -0.13818323612213135, -0.0929662212729454, -0.2641003429889679, 0.010242699645459652, -0.027282079681754112, 0.44576480984687805, -0.05412780120968819, -0.4083598256111145, -0.29770517349243164, -0.1012255921959877, 0.036951787769794464, -0.25271478295326233, -0.14885908365249634, -0.01680772379040718, -0.15703065693378448, 0.09650222212076187, -0.03239835426211357, 0.7568179965019226, -0.13260535895824432, -0.25383397936820984, 0.027730673551559448, 0.15078981220722198, 0.3245507478713989, -0.19487391412258148, 0.0937437117099762, -0.032412998378276825, -0.2704462707042694, -0.05217639356851578, 0.1096351146697998, 0.21982422471046448, 0.22209645807743073, -0.2389436960220337, 0.14053773880004883, 0.14440575242042542, 0.05905541032552719, 0.021986130625009537, 0.038248248398303986, -0.030747931450605392, 0.06450145691633224, -0.24832333624362946, 0.24412384629249573, 0.10684948414564133, 0.4122355878353119, -0.2164044827222824, -0.14196835458278656, 0.10978223383426666, -0.3169547915458679, -0.23163585364818573, 0.24785026907920837, 0.13704179227352142, 0.23278653621673584, -0.019205264747142792, 0.17206934094429016, -0.047067224979400635, 0.01881217211484909, 0.5818204283714294, 0.30672487616539, -0.1355666220188141, 0.12465382367372513, 0.3957166075706482, -0.5693142414093018, 0.15578193962574005, -0.10295908898115158, 0.19376836717128754, -0.4166211187839508, -0.16318851709365845, 0.29851195216178894, 0.22066469490528107, -0.11306837201118469, 0.21759776771068573, -0.26107633113861084, -0.036278996616601944, 0.07394828647375107, -0.140165776014328, 0.3325991928577423, -0.054290980100631714, 0.01822790689766407, 0.2488662451505661, -0.20735445618629456, -0.07191415876150131, 0.0863238200545311, 0.1697237342596054, -0.2176913172006607, 0.040076494216918945, 0.43044352531433105, 0.24761474132537842, -0.4851958155632019, 0.35655543208122253, 0.1960926204919815, -0.1979602575302124, -0.37286049127578735, -0.8013306856155396, -0.22907204926013947, -0.27978622913360596, 0.06865844130516052, -0.013085675425827503, -0.04726986587047577, 0.2632313370704651, 0.20086616277694702, 0.22279787063598633, -0.036890190094709396, -0.037523139268159866, -0.07335259765386581, -0.1692029982805252, 0.0069899423979222775, 0.006445995531976223, -0.11041684448719025, -0.2610062062740326, -0.19167481362819672, 0.26588180661201477, -0.14176364243030548, -0.4163037836551666, -0.00754551263526082, 0.0211787112057209, -0.3194345533847809, -0.2999098598957062, 0.031557630747556686, 0.13133874535560608, 0.12748895585536957, 0.24670438468456268, 0.2879985570907593, -0.3472205102443695, -0.3274094760417938, -0.02506060153245926, 0.06667650490999222, -0.16225235164165497, 0.0388835109770298, 0.2303142249584198, -0.5028834342956543, -0.40901198983192444, 0.2759317457675934, -0.03681378811597824, 0.3010326027870178, 0.2879912257194519, -0.3840574026107788, 0.24074387550354004, 0.3329227566719055, 0.2593327462673187, 0.4785122573375702, -0.2325788289308548, 0.24539709091186523, 0.014787258580327034, 0.10869218409061432, -0.10478845238685608, -0.15889641642570496, 0.11229860782623291, -0.0696636438369751, 0.08339951187372208, -0.25478532910346985, 0.2105821967124939, -0.04278116300702095, 0.1128581240773201, 0.08221962302923203, 0.003014396643266082, -0.0154263311997056, -0.20258910953998566, -0.14933747053146362, 0.11647548526525497, 0.34108975529670715, -0.39338499307632446, 0.05299203097820282, -0.21133755147457123, 0.00804878305643797, -0.19479072093963623, 0.0015294182812795043, 0.23376406729221344, -0.1757238209247589, 0.03248080611228943, 0.4551403522491455, 0.3123548626899719, -0.15124663710594177, -0.08088494092226028, 0.08067743480205536, 0.04090246558189392, -0.07094071060419083, -0.15523794293403625, 0.15788716077804565, 0.1301947385072708, 0.08088485896587372, 0.05678752064704895, 0.062138620764017105, 0.19209076464176178, 0.2666764557361603, 0.12615163624286652, -0.18050219118595123, 0.02297721989452839, 0.5558717250823975, 0.20127801597118378, 0.4235595762729645, 0.3298548758029938, -0.048543449491262436, 0.07341450452804565, 0.14207272231578827, -0.8262748122215271, 0.19969412684440613, 0.04590500146150589, -0.06793525069952011, -0.28492721915245056, -0.27533355355262756, -0.18308678269386292, 0.07628556340932846, -0.022457148879766464, 0.06313265115022659, -0.08040693402290344, -0.0965101569890976, -0.18117742240428925, -0.08853276073932648, -0.35548293590545654, -0.2076028734445572, 0.13464589416980743, -0.08617138862609863, 0.25015515089035034, -0.08176609128713608, -0.04907653108239174, 0.30294713377952576, 0.5698791146278381, -0.08012546598911285, 0.02036980353295803, -0.004863740410655737, -0.11781840026378632, 0.030407162383198738, -0.08670423924922943, -0.30136632919311523, 0.39980852603912354, 0.33121928572654724, 0.25221875309944153, -0.06750981509685516, 0.22430816292762756, -0.21456849575042725, 0.15123100578784943, -0.008354551158845425, -0.05289352312684059, 0.28264984488487244, 0.23786921799182892, 0.06875006854534149, 0.3372184932231903, 0.05215645954012871, 0.12177634984254837, -0.6367584466934204, -0.435051828622818, 0.3807009160518646, -0.2710005044937134, 0.09253041446208954, -0.15546736121177673, 0.12320064753293991, -0.09750919044017792, 0.011023451574146748, 0.31900957226753235, 0.3319798409938812, 0.12904927134513855, -0.2683539390563965, -0.23071713745594025, 0.4759485423564911, 0.1811569780111313, 0.1928444653749466, -0.10826626420021057, 0.10861102491617203, 0.2445390522480011, 0.06690317392349243, -0.08130262047052383, 0.03138786181807518, -0.43091338872909546, 0.10066143423318863, -0.22114388644695282, 0.12333811074495316, -0.05397428199648857, 0.08415218442678452, -0.03425216302275658, -0.2632087469100952, -0.05670309439301491, -0.06219324842095375, 0.20859792828559875, -0.26291918754577637, 0.04240083321928978, 0.12076308578252792, 0.2944759428501129, 0.4431310296058655, -0.06611001491546631, 0.17579148709774017, -0.29966551065444946, -0.24648326635360718, -0.29645010828971863, -0.0074492269195616245, 0.06599665433168411, 0.1675727665424347, 0.09126703441143036, -0.17768903076648712, -0.06321049481630325, 0.33161282539367676, 0.3218669295310974, -0.17347557842731476, -0.009393053129315376, 0.29432618618011475, -0.48997196555137634, 0.015423700213432312, -0.4067535102367401, -0.03450900316238403, -0.23067492246627808, -0.03594187647104263, 0.09659354388713837, -0.34468579292297363, -0.010108552873134613, -0.46970242261886597, 0.5915496349334717, -0.2118780016899109, 0.04783497750759125, 0.06191927567124367, 0.33561694622039795, -0.07906495779752731, -0.11676201224327087, -0.30322712659835815, -0.07901960611343384, 0.05601835995912552, -0.07890923321247101, -0.22041833400726318, 0.1502392739057541, -0.276081919670105, -0.04187101870775223, -0.17813998460769653, 0.46278420090675354, -0.01879359968006611, -0.3383658230304718, -0.17561151087284088, -0.13789497315883636 ]
https://github.com/huggingface/datasets/issues/1618
Can't filter language:EN on https://huggingface.co/datasets
Cool @mapmeld ! My 2 cents (for a next iteration), it would be cool to have a small search widget in the filter dropdown as you have a ton of languages now here! Closing this in the meantime.
When visiting https://huggingface.co/datasets, I don't see an obvious way to filter only English datasets. This is unexpected for me, am I missing something? I'd expect English to be selectable in the language widget. This problem reproduced on Mozilla Firefox and MS Edge: ![screenshot](https://user-images.githubusercontent.com/4547987/102792244-892e1f00-43a8-11eb-9e89-4826ca201a87.png)
38
Can't filter language:EN on https://huggingface.co/datasets
[ -0.07000500708818436, -0.2256712168455124, -0.23778101801872253, -0.1709347516298294, 0.2749144434928894, -0.07860822975635529, 0.050594527274370193, 0.22674037516117096, 0.27103888988494873, 0.07248001545667648, -0.34117525815963745, 0.0021746132988482714, 0.02561042457818985, 0.47729232907295227, 0.07709084451198578, 0.10606811940670013, 0.06141212582588196, -0.034829508513212204, -0.16054260730743408, -0.35433557629585266, 0.01664573885500431, 0.2444230616092682, 0.07323392480611801, 0.08060542494058609, 0.006641509011387825, 0.17444710433483124, 0.24265561997890472, 0.22603048384189606, -0.41209492087364197, 0.10565391182899475, 0.3574630618095398, 0.1624448001384735, -0.1150287464261055, 0.09032563865184784, -0.000105491497379262, 0.24784298241138458, 0.040139999240636826, -0.26017698645591736, -0.23319023847579956, -0.40361467003822327, -0.06006031855940819, -0.05173136666417122, -0.09533744305372238, 0.1001036986708641, -0.20186872780323029, -0.25511595606803894, 0.13481925427913666, -0.4099957346916199, 0.27811098098754883, 0.43687665462493896, 0.26717981696128845, 0.39787164330482483, -0.12092989683151245, 0.06041641905903816, 0.11387218534946442, 0.31592464447021484, -0.051926709711551666, -0.07450232654809952, 0.2590957581996918, -0.02698659896850586, -0.10958295315504074, 0.5022454261779785, 0.16038045287132263, -0.1667908877134323, -0.16023387014865875, -0.15047302842140198, -0.01569492369890213, -0.24802546203136444, 0.43745920062065125, 0.19569054245948792, 0.02940373308956623, 0.0683809369802475, -0.35680732131004333, 0.0017169213388115168, -0.33125460147857666, 0.01321448851376772, 0.20139208436012268, 0.20082424581050873, -0.11848647147417068, 0.31027618050575256, -0.08013138920068741, -0.30670589208602905, 0.011040108278393745, 0.17118306457996368, -0.12181030958890915, 0.5852982401847839, -0.0779275968670845, -0.026590965688228607, 0.24267569184303284, -0.10179518163204193, 0.04877893254160881, -0.01782173104584217, -0.003167496994137764, 0.1412668079137802, 0.08859787881374359, 0.18624211847782135, 0.2533630132675171, 0.419451504945755, 0.13021811842918396, 0.035322777926921844, -0.4142632782459259, 0.42667263746261597, -0.13534677028656006, 0.07475655525922775, -0.0020186936017125845, -0.017978381365537643, 0.31201064586639404, -0.07643820345401764, 0.3665679693222046, 0.022399045526981354, 0.06016688793897629, 0.008261594921350479, 0.17100326716899872, -0.13189923763275146, -0.3637621998786926, -0.16863615810871124, 0.061136744916439056, -0.29124772548675537, -0.32391002774238586, 0.05952150747179985, 0.007480343338102102, -0.2864148020744324, 0.22106054425239563, 0.2747139036655426, 0.24883155524730682, -0.1113719642162323, -0.15453822910785675, 0.24424436688423157, -0.2891390919685364, -0.1516890525817871, -0.30315837264060974, 0.1345745474100113, -0.19503043591976166, -0.2881218492984772, 0.20246048271656036, -0.30569547414779663, 0.3239377737045288, -0.05209507420659065, -0.10301031917333603, -0.04064147546887398, -0.12876276671886444, 0.08586511760950089, 0.2906233072280884, 0.17598873376846313, -0.06447074562311172, 0.09335190057754517, 0.42963990569114685, -0.5283068418502808, -0.08415015786886215, -0.2036861628293991, -0.3327290415763855, -0.042020514607429504, -0.28982019424438477, 0.2263370305299759, -0.1896938681602478, -0.055359918624162674, 0.12898710370063782, 0.4779214859008789, 0.03053731843829155, -0.008183471858501434, 0.1060495376586914, 0.1481761783361435, -0.19086061418056488, 0.3002183735370636, 0.08699007332324982, 0.08143830299377441, -0.474516361951828, -0.3420533239841461, 0.14374597370624542, -0.293437123298645, 0.22028692066669464, 0.22862930595874786, -0.07238611578941345, -0.3853854835033417, -0.18225540220737457, 0.22158731520175934, 0.1265433132648468, -0.218373104929924, -0.3631828725337982, 0.017450202256441116, 0.029094887897372246, -0.07636313140392303, 0.12294695526361465, -0.2396819144487381, 0.04142546281218529, -0.09745148569345474, 0.1849578320980072, 0.15539652109146118, 0.041709162294864655, -0.1369418501853943, -0.11251671612262726, 0.04285714775323868, 0.2969495356082916, 0.2176126092672348, 0.03240396827459335, -0.1478138118982315, 0.20864033699035645, -0.02438630908727646, 0.2137451469898224, -0.2834782600402832, 0.03468185290694237, 0.17131103575229645, 0.1394803375005722, 0.07336010038852692, 0.11628369241952896, -0.11644786596298218, -0.21070615947246552, -0.1652698963880539, -0.04199320077896118, 0.3490293323993683, -0.3465530276298523, -0.08596933633089066, -0.2910756766796112, 0.09841706603765488, -0.33026957511901855, -0.19541747868061066, 0.21570822596549988, 0.12123685330152512, -0.12584708631038666, 0.3126538097858429, -0.020920561626553535, 0.15007135272026062, -0.017684711143374443, 0.07188450545072556, -0.30326685309410095, 0.16910985112190247, -0.18474505841732025, 0.052715033292770386, -0.03264422342181206, 0.3032858967781067, -0.03768409043550491, -0.12215619534254074, -0.0329020656645298, -0.17680685222148895, 0.11304888129234314, 0.2200274020433426, 0.3696807324886322, 0.025409875437617302, 0.25092440843582153, -0.34363746643066406, -0.09821521490812302, 0.18183313310146332, 0.11030011624097824, 0.14418479800224304, -0.34066104888916016, 0.29592111706733704, 0.027980457991361618, 0.217276930809021, 0.22551892697811127, 0.0661829486489296, 0.626604437828064, 0.044585805386304855, -0.357243150472641, -0.588420033454895, 0.46550318598747253, -0.13263198733329773, 0.13614290952682495, 0.20938383042812347, -0.36564338207244873, -0.012158517725765705, 0.5602979063987732, 0.2355094850063324, 0.19163620471954346, 0.2840645909309387, 0.19788770377635956, -0.24601610004901886, 0.38825350999832153, 0.029757969081401825, -0.13141900300979614, 0.19849319756031036, 0.23835767805576324, 0.0721951350569725, -0.00993731152266264, -0.34221982955932617, 0.09295672178268433, -0.0598449781537056, -0.03977012634277344, -0.0443083681166172, 0.3941604197025299, -0.33180516958236694, -0.8620141744613647, 0.02854154072701931, -0.1659841388463974, -0.052263230085372925, -0.06605979055166245, 0.3408428132534027, -0.6246440410614014, -0.3955850899219513, 0.16836830973625183, -0.19017739593982697, -0.44020888209342957, -0.23675447702407837, 0.29804301261901855, -0.10172640532255173, -0.20009839534759521, 0.1507583111524582, 0.15867498517036438, 0.06900141388177872, -0.09833444654941559, -0.027937188744544983, -0.29864805936813354, -0.26225438714027405, -0.2254255712032318, 0.18166550993919373, 0.15679515898227692, 0.14056482911109924, 0.3794582188129425, -0.24043124914169312, 0.08784821629524231, -0.18203100562095642, -0.7741981744766235, 0.20415736734867096, -0.08174522966146469, 0.381803423166275, 0.07538577169179916, 0.2548021972179413, -0.3614189624786377, 0.005250162910670042, 0.43452540040016174, 0.04587624967098236, -0.22403673827648163, 0.07444709539413452, -0.09551987797021866, 0.09260000288486481, -0.13286501169204712, -0.36681559681892395, -0.4399977922439575, -0.07896745949983597, -0.13279911875724792, -0.04432423785328865, 0.03764592483639717, 0.22504936158657074, -0.07652221620082855, -0.055958230048418045, -0.3543380796909332, -0.06981388479471207, -0.4430501461029053, -0.16236984729766846, 0.37602418661117554, -0.14443232119083405, -0.12253053486347198, 0.05495975539088249, 0.1593410074710846, 0.03077709674835205, 0.0350886806845665, -0.2472354620695114, -0.3239862024784088, -0.09156191349029541, -0.03007732704281807, 0.1973116099834442, 0.12196147441864014, 0.24647679924964905, -0.10006889700889587, -0.04276103153824806, -0.20621462166309357, -0.3465542197227478, 0.051341813057661057, -0.10271240025758743, 0.272114634513855, -0.215653195977211, 0.5610361099243164, 0.27745819091796875, 0.319659024477005, -0.003493805415928364, 0.23931705951690674, 0.7376547455787659, 0.11379411071538925, 0.5108451843261719, -0.18237313628196716, -0.31761711835861206, 0.09636585414409637, 0.027943521738052368, 0.046458326280117035, 0.17121613025665283, 0.18543751537799835, 0.006616249214857817, -0.18575967848300934, -0.11223771423101425, -0.1367029994726181, -0.11480948328971863, -0.10406745970249176, 0.32977616786956787, 0.030881935730576515, 0.3134783208370209, 0.10916416347026825, 0.049254439771175385, -0.16922980546951294, -0.17638438940048218, 0.3642268776893616, -0.05442013218998909, 0.2275499850511551, -0.5834006071090698, -0.2733808755874634, -0.37060537934303284, 0.231939896941185, -0.010369088500738144, 0.3670785427093506, -0.3995579183101654, 0.07092330604791641, 0.3227306306362152, -0.06009335443377495, 0.5364401936531067, -0.17490535974502563, -0.040906261652708054, -0.26362738013267517, -0.24541611969470978, -0.3510779142379761, 0.13990497589111328, -0.10729272663593292, 0.10117240995168686, 0.3267480731010437, 0.14916090667247772, -0.3180716037750244, -0.1034972071647644, 0.0128272520378232, 0.036798570305109024, 0.02070607617497444, 0.15814654529094696, -0.19881920516490936, -0.6505984663963318, -0.47830525040626526, 0.21535134315490723, 0.15989914536476135, 0.025919536128640175, 0.24037474393844604, 0.0017547778552398086, 0.110429547727108, 0.08908168226480484, 0.07386881858110428, 0.21362170577049255, -0.0670088529586792, 0.17256100475788116, -0.43134310841560364, 0.07727058231830597, 0.20583803951740265, -0.09371183812618256, 0.5565140247344971, -0.20697098970413208, -0.5109531283378601, 0.020871197804808617, -0.06927713751792908, 0.265290766954422, 0.30062225461006165, 0.13968084752559662, 0.1305774301290512, 0.4495673179626465, 0.008715623989701271, 0.03511961176991463, 0.2590526342391968, 0.0846758633852005, 0.31846460700035095, -0.4175164997577667, -0.13944374024868011, 0.1674180030822754, 0.011024679988622665, 0.08720231801271439, -0.0496208593249321, 0.4160303771495819, -0.2584461271762848, 0.21682856976985931, -0.06741032004356384, 0.7522309422492981, 0.041942235082387924, 0.10897067189216614, 0.10541929304599762, -0.07948547601699829, 0.34665414690971375, -0.06738346070051193, -0.07629553228616714, 0.07001858949661255, -0.011633540503680706, -0.1172870472073555, 0.18611659109592438, 0.18505048751831055, 0.007511356845498085, -0.07895565778017044, 0.20938533544540405, 0.08960841596126556, -0.054839178919792175, 0.30257904529571533, 0.12154372036457062, -0.16707006096839905, -0.23179388046264648, -0.48018357157707214, 0.15928864479064941, -0.014750029891729355, 0.3009173572063446, 0.013356070965528488, -0.06566392630338669, 0.15181605517864227, -0.3465884029865265, -0.18289311230182648, -0.07030359655618668, -0.0890994742512703, 0.07279642671346664, 0.10814318805932999, -0.4135212004184723, 0.04682363197207451, -0.07816741615533829, 0.31031709909439087, 0.29730740189552307, -0.16653785109519958, 0.27167391777038574, 0.05690393224358559, 0.09335730224847794, -0.19448719918727875, 0.026526769623160362, 0.22666075825691223, -0.12705788016319275, -0.23894184827804565, -0.21730920672416687, 0.1389187127351761, -0.22955116629600525, -0.2007809728384018, 0.03263968229293823, -0.1302952766418457, 0.17203547060489655, -0.1831502467393875, -0.13313771784305573, 0.10131199657917023, -0.3664335012435913, 0.16679131984710693, 0.010262041352689266, 0.10190387070178986, -0.22903238236904144, 0.4337637722492218, -0.1734306663274765, -0.27645808458328247, 0.2990427315235138, -0.03317699208855629, 0.11351408064365387, 0.35490545630455017, 0.32951632142066956, -0.3600523769855499, -0.225107342004776, -0.22366982698440552, 0.21337178349494934, -0.25081855058670044, -0.03250112757086754, 0.17656105756759644, -0.29993921518325806, -0.19126656651496887, -0.010087010450661182, -0.07248183339834213, 0.0025487870443612337, -0.036439199000597, -0.36779484152793884, 0.06666651368141174, 0.15071044862270355, -0.14172028005123138, -0.04501987248659134, 0.3197620213031769, -0.04572204500436783, 0.13238635659217834, 0.057650815695524216, -0.36622458696365356, -0.12978042662143707, -0.08781089633703232, 0.061400074511766434, 0.1540095955133438, 0.10799957811832428, 0.17241451144218445, -0.17514140903949738, 0.16892670094966888, -0.06592971086502075, -0.24851103127002716, -0.2673757076263428, -0.024026302620768547, -0.0095724668353796, 0.10466531664133072, -0.17604121565818787, 0.23868338763713837, 0.06673327088356018, 0.09821567684412003, -0.1564866304397583, 0.09536195546388626, 0.27362850308418274, 0.06050917133688927, 0.014132674783468246, -0.28097468614578247, -0.16038455069065094, 0.44121912121772766, -0.163396954536438, 0.11154498159885406, -0.013756628148257732, 0.04877059906721115, 0.004432748071849346, 0.14136753976345062, -0.016529161483049393, 0.09792157262563705, 0.02311592549085617, 0.15100425481796265, 0.2302059680223465, -0.14665870368480682, -0.2147737592458725, 0.1066800057888031, 0.10657787322998047, 0.22480908036231995, 0.10227377712726593, -0.15276961028575897, 0.08816505968570709, 0.4144653379917145, 0.1784665733575821, -0.35744133591651917, -0.05276734009385109, 0.4993353486061096, 0.009316752664744854, 0.1363477259874344, 0.05941985175013542, 0.2456115335226059, 0.1765555590391159, 0.5551273822784424, 0.05105570703744888, 0.1622120589017868, -0.21182037889957428, 0.23156540095806122, 0.0038692408706992865, -0.08009898662567139, 0.1408211886882782, 0.33492541313171387, -0.08267185837030411, -0.04388539865612984, 0.3140963315963745, 0.09423695504665375, 0.1947897970676422, 0.00636284751817584, 0.4207829236984253, -0.11118625849485397, -0.3057401180267334, -0.13028313219547272, 0.07744559645652771, -0.15074321627616882, 0.19165827333927155, 0.1500353217124939, 0.30885010957717896, 0.13235364854335785, -0.12293339520692825, -0.25975945591926575, 0.5113862156867981, -0.14624370634555817, -0.37720105051994324, 0.06228451058268547, -0.1583724468946457, 0.00013069053238723427, 0.12146236002445221, -0.10610560327768326, -0.16359008848667145, -0.06308922171592712, -0.14879417419433594, -0.11693360656499863, -0.3137292265892029, 0.02685864269733429, -0.3359852731227875, -0.34432393312454224, 0.16328959167003632, 0.5603346228599548, 0.022931167855858803, -0.10726306587457657, 0.042493317276239395, 0.026612097397446632, 0.0842726081609726, -0.08630640059709549, 0.13821713626384735, -0.03188847377896309, -0.3206283748149872, -0.19602328538894653, -0.2387942224740982, 0.4526955485343933, 0.26695531606674194, 0.0968315377831459, 0.24780391156673431, 0.23549380898475647, -0.15180368721485138, 0.17000338435173035, 0.24756638705730438, 0.03105558641254902, 0.09601305425167084, -0.14842891693115234, -0.08293687552213669, 0.3950764536857605, -0.3245910108089447, -0.29775944352149963, -0.3948085308074951, 0.0599190779030323, 0.28665122389793396, -0.2328786551952362, 0.1884303241968155, -0.2522195279598236, 0.12852981686592102, 0.070261649787426, 0.31086593866348267, 0.30828654766082764, 0.12509380280971527, 0.20388829708099365, -0.10883253812789917, -0.540905773639679, -0.07685215771198273, -0.18386414647102356, 0.02789546176791191, -0.15052975714206696, -0.05493105947971344, 0.3508904278278351, 0.1841600239276886, 0.11201776564121246, 0.027807781472802162, -0.018349500373005867, -0.2284013032913208, -0.09836084395647049, 0.16582180559635162, 0.10087593644857407, 0.2852450907230377, 0.06763973087072372, -0.06670257449150085, 0.1981341689825058, -0.12931855022907257, 0.12514494359493256, -0.2392190396785736, 0.2423684448003769, -0.3105134069919586, -0.2622305750846863, 0.1597508043050766, 0.23679979145526886, 0.42236512899398804, -0.20686042308807373, 0.28462404012680054, -0.10854003578424454, -0.28432294726371765, -0.25432008504867554, 0.4595746099948883, 0.1403297781944275, 0.32053396105766296, -0.16937968134880066, -0.29758501052856445, 0.08328133821487427, 0.43866321444511414, -0.07436999678611755, 0.1083088368177414, 0.08213772624731064, 0.2104133516550064, 0.23864583671092987, -0.3181063234806061, -0.24568486213684082, 0.10176433622837067, 0.15793068706989288, -0.251941055059433, -0.013995271176099777, -0.492698073387146, 0.2682519555091858, -0.32354286313056946, -0.3853835463523865, -0.05986405909061432, -0.018093381077051163, 0.3273656964302063, -0.2907302975654602, -0.18279801309108734, 0.2566779553890228, 0.03695858269929886, 0.06428436189889908, -0.0071577951312065125, 0.2857132852077484, -0.14594349265098572, -0.11092661321163177, -0.2745523750782013, 0.15075388550758362, 0.4260130524635315, -0.2986220419406891, 0.14043597877025604, -0.16499300301074982 ]
https://github.com/huggingface/datasets/issues/1615
Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hi @SapirWeissbuch, When you are saying it freezes, at that time it is unzipping the file from the zip file it downloaded. Since it's a very heavy file it'll take some time. It was taking ~11GB after unzipping when it started reading examples for me. Hope that helps! ![Screenshot 2020-12-21 at 23 40 52](https://user-images.githubusercontent.com/19718818/102808355-3b380c00-43e6-11eb-81ab-c31019ae6322.png)
Hello, I'm having issue downloading TriviaQA dataset with `load_dataset`. ## Environment info - `datasets` version: 1.1.3 - Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1 - Python version: 3.7.3 ## The code I'm running: ```python import datasets dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets") ``` ## The output: 1. Download begins: ``` Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d... Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s] ``` 2. 100% is reached 3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually. A similar issue can be observed in Google Colab: https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing ## Expected behaviour: The dataset "TriviaQA" should be successfully downloaded.
54
Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
[ -0.1144673302769661, 0.3958841562271118, -0.1283876895904541, 0.35347428917884827, 0.13258402049541473, 0.2150530368089676, 0.27215680480003357, 0.19289250671863556, 0.2596134543418884, -0.07622022181749344, -0.18119652569293976, 0.09229855984449387, 0.07858476787805557, -0.030082376673817635, -0.056184738874435425, 0.07656083256006241, -0.08245013654232025, 0.09471874684095383, 0.060758788138628006, 0.040704306215047836, -0.18313860893249512, 0.34903019666671753, -0.10105586051940918, -0.13538476824760437, -0.17538735270500183, -0.03272327035665512, 0.11334334313869476, 0.4390573799610138, -0.12965714931488037, -0.2728467583656311, 0.4372541010379791, 0.27744829654693604, 0.08282465487718582, 0.253888875246048, -0.000104773513157852, -0.0807318389415741, 0.140003502368927, -0.1597178727388382, -0.5048447847366333, 0.13628624379634857, -0.43952974677085876, 0.35115063190460205, -0.07213705033063889, -0.06578035652637482, 0.046447254717350006, 0.32233113050460815, 0.03900248557329178, -0.6143832206726074, 0.012814870104193687, 0.2597277760505676, 0.3089248538017273, 0.01476177480071783, -0.3031565248966217, -0.2952103018760681, 0.2664197087287903, -0.1632254272699356, -0.24701979756355286, 0.17338478565216064, -0.09245497733354568, 0.0385160930454731, -0.1567351073026657, 0.5095198154449463, 0.08664792776107788, 0.298614501953125, 0.04088583216071129, 0.05286663770675659, -0.25960254669189453, 0.016114532947540283, 0.39631280303001404, 0.01742495596408844, 0.6386580467224121, -0.2624077796936035, -0.1862591654062271, 0.1518862098455429, -0.16076752543449402, -0.1739177405834198, 0.2912328541278839, -0.07398122549057007, -0.2693236768245697, 0.009418684989213943, 0.1888178586959839, -0.10483662039041519, -0.11883615702390671, -0.06989727169275284, -0.11276212334632874, -0.07692719995975494, -0.13534143567085266, -0.05462794378399849, -0.017461495473980904, 0.032419443130493164, 0.2980503737926483, 0.11835110187530518, -0.25647401809692383, 0.056069038808345795, -0.20548036694526672, 0.09112685173749924, 0.20743194222450256, 0.0035238447599112988, 0.12936052680015564, 0.23992806673049927, 0.2504962682723999, 0.19688542187213898, -0.2318730503320694, -0.21240662038326263, 0.20848678052425385, 0.5501707196235657, -0.070234015583992, -0.26562654972076416, 0.31603965163230896, 0.27771762013435364, -0.10069014877080917, 0.061506979167461395, -0.08092489838600159, 0.0912264809012413, 0.021514851599931717, 0.08860759437084198, 0.17699237167835236, -0.2536071240901947, -0.22507941722869873, -0.11376676708459854, 0.22630108892917633, 0.10864219069480896, -0.1784219592809677, 0.4196508824825287, -0.21529075503349304, 0.09483128041028976, -0.25155600905418396, 0.23372599482536316, -0.11167295277118683, -0.07426165789365768, -0.3531741797924042, -0.07433921098709106, 0.10649978369474411, 0.10968302190303802, 0.43706247210502625, 0.2044653594493866, 0.2432822734117508, -0.2855673134326935, 0.14832621812820435, 0.04587225243449211, 0.05460968241095543, -0.2681223750114441, -0.025843994691967964, 0.14878876507282257, 0.09308404475450516, 0.2459069788455963, 0.046657271683216095, -0.01309570949524641, -0.08022308349609375, 0.11044390499591827, -0.1792759746313095, -0.4043952226638794, -0.05273083969950676, 0.21743938326835632, -0.16285370290279388, -0.09713917970657349, 0.18996182084083557, -0.02043028734624386, 0.19051897525787354, -0.09233482927083969, -0.11572860181331635, 0.2036769539117813, -0.14565607905387878, -0.2745271921157837, 0.14378902316093445, 0.5719955563545227, -0.23708269000053406, 0.178752601146698, -0.09622082859277725, 0.02785237319767475, 0.04888743534684181, 0.15309695899486542, -0.03634265810251236, 0.04533655568957329, -0.3640460669994354, 0.18355421721935272, 0.5811136960983276, -0.5778927803039551, -0.5847355127334595, -0.024434931576251984, 0.1235312819480896, 0.15344049036502838, 0.24080628156661987, 0.09386473894119263, 0.1892809122800827, 0.09013369679450989, 0.18255095183849335, 0.3274979293346405, 0.04817095771431923, 0.08975236862897873, -0.21171480417251587, -0.31038862466812134, 0.1616712361574173, 0.21439026296138763, 0.020639922469854355, 0.13364724814891815, 0.08840782940387726, 0.1943933516740799, 0.1452740877866745, 0.27260684967041016, -0.046500314027071, 0.08633698523044586, 0.010538831353187561, -0.22907744348049164, 0.17240525782108307, 0.09464011341333389, -0.6965624690055847, 0.2811121344566345, -0.10537533462047577, 0.07710976153612137, -0.26584023237228394, -0.014573286287486553, -0.49360963702201843, -0.14096671342849731, -0.28504928946495056, -0.3436335623264313, 0.22487978637218475, 0.30067160725593567, 0.4277087450027466, 0.09447650611400604, 0.035379569977521896, 0.443681001663208, 0.2310406118631363, -0.22355780005455017, -0.18715351819992065, -0.26789161562919617, -0.16315065324306488, -0.11146640032529831, -0.1138225644826889, 0.17982357740402222, 0.06635518372058868, -0.04535192623734474, -0.1427711695432663, 0.0987163707613945, 0.14998331665992737, 0.060336656868457794, -0.03581640496850014, -0.08947239816188812, 0.11133964359760284, 0.01647537387907505, 0.3248177766799927, 0.13444189727306366, 0.13203735649585724, -0.08559432625770569, -0.3554835617542267, -0.07462039589881897, -0.2597225606441498, 0.10429462790489197, 0.09450553357601166, -0.021315021440386772, 0.5149376392364502, 0.045085880905389786, 0.26314908266067505, -0.3853873908519745, -0.019397560507059097, 0.07174189388751984, 0.16665300726890564, -0.06066683679819107, 0.02374681457877159, 0.36579516530036926, 0.39734363555908203, 0.3263269066810608, 0.18140506744384766, -0.04158184677362442, -0.06202338635921478, -0.1897646188735962, 0.20687496662139893, 0.2847840189933777, 0.5480071902275085, 0.11276181042194366, 0.3156103491783142, -0.04097559303045273, 0.05126121640205383, -0.2924574017524719, 0.07147752493619919, -0.11017371714115143, -0.12994472682476044, 0.17938949167728424, 0.37596914172172546, -0.15923668444156647, -0.1227731853723526, -0.028539931401610374, 0.08017104864120483, 0.06640831381082535, -0.15667463839054108, 0.049545641988515854, -0.19550590217113495, -0.2672935724258423, 0.13220374286174774, -0.08856558054685593, 0.1594334989786148, -0.38808852434158325, 0.25401705503463745, 0.29323044419288635, -0.010197887197136879, 0.10470999777317047, -0.21651938557624817, 0.2701953649520874, 0.06886198371648788, -0.47450557351112366, -0.31301623582839966, -0.2638868987560272, -0.12821818888187408, 0.16771778464317322, -0.11768769472837448, -0.1844017058610916, 0.24388433992862701, -0.24405641853809357, 0.10140170156955719, -0.28363052010536194, -0.0212745051831007, 0.07793201506137848, 0.08350851386785507, 0.15091510117053986, 0.22190594673156738, 0.22156664729118347, 0.06357624381780624, 0.056950610131025314, 0.15218453109264374, -0.08080589771270752, -0.0902627483010292, -0.047573287039995193, 0.05397011712193489, 0.1299889087677002, -0.24594223499298096, -0.5943350791931152, -0.25094249844551086, -0.3843909800052643, 0.1706520915031433, 0.34857824444770813, 0.07550530135631561, 0.44331276416778564, 0.011679551564157009, -0.10930558294057846, 0.1785198152065277, -0.02720043994486332, -0.453326940536499, -0.28198346495628357, 0.4391224682331085, -0.3196451961994171, -0.08659812808036804, 0.12867699563503265, 0.08021683990955353, 0.505411684513092, 0.17009183764457703, -0.41924476623535156, -0.08137665688991547, -0.20287254452705383, 0.559615969657898, -0.08894592523574829, -0.19678866863250732, 0.3731647729873657, -0.08063872903585434, -0.13682515919208527, -0.07352279871702194, -0.09115523099899292, 0.1693691909313202, 0.13939207792282104, 0.09847670048475266, -0.028028126806020737, -0.015897754579782486, 0.06116130203008652, 0.623797595500946, -0.10169658064842224, 0.36402732133865356, 0.43212202191352844, -0.09531936794519424, 0.4441700577735901, -0.29826226830482483, -0.019507644698023796, 0.09690872579813004, -0.04083683714270592, -0.13711094856262207, 0.10027109831571579, 0.1894642859697342, 0.14084747433662415, -0.19254620373249054, 0.2834100127220154, 0.05116167291998863, -0.11449838429689407, -0.10233207792043686, -0.21639099717140198, -0.1487889289855957, 0.23315003514289856, 0.2560989260673523, -0.02444235049188137, -0.23364277184009552, 0.258884996175766, 0.00024069746723398566, -0.31138330698013306, 0.14246141910552979, 0.18471091985702515, 0.26104655861854553, -0.3149614930152893, 0.14234738051891327, 0.054437778890132904, 0.1395142823457718, -0.15748636424541473, -0.19561827182769775, 0.05026480555534363, 0.009360730648040771, 0.709250807762146, -0.07488782703876495, 0.3282444179058075, 0.04605801776051521, 0.14541348814964294, -0.19316238164901733, -0.029307877644896507, -0.04185296595096588, 0.15523536503314972, -0.11472750455141068, 0.1840611696243286, -0.10120852291584015, 0.2461545318365097, -0.003521050326526165, 0.11291053891181946, -0.08219733089208603, -0.0448850616812706, -0.27357277274131775, -0.36577677726745605, -0.29023513197898865, -0.20064231753349304, 0.08483950793743134, 0.06325496733188629, -0.052517011761665344, -0.03192858397960663, -0.08900266885757446, -0.09681161493062973, -0.3017066419124603, 0.2934797406196594, 0.2725435793399811, 0.0730249360203743, 0.05375922471284866, 0.08052866160869598, -0.2602846920490265, -0.15848812460899353, 0.534249484539032, -0.11778879910707474, -0.27074238657951355, 0.062214408069849014, -0.1692437082529068, -0.36268121004104614, 0.257414847612381, -0.2869166135787964, -0.16565486788749695, -0.05153758078813553, -0.24405130743980408, 0.0333615280687809, 0.27541324496269226, -0.10936658084392548, -0.4469205439090729, 0.15431584417819977, -0.25316759943962097, 0.35643449425697327, 0.04568703845143318, -0.10969346761703491, 0.4393000900745392, -0.3468494415283203, -0.1868128627538681, 0.1175021082162857, -0.1130010187625885, 0.6278261542320251, -0.08274547755718231, 0.26205340027809143, 0.3371366262435913, -0.30311617255210876, 0.5340246558189392, -0.3325388729572296, 0.15741226077079773, -0.22402268648147583, -0.13267391920089722, 0.118502676486969, -0.04636020585894585, -0.06663594394922256, -0.12167566269636154, -0.32718726992607117, 0.20699161291122437, -0.28253936767578125, 0.24575188755989075, -0.01225750520825386, -0.08466210961341858, -0.1541389375925064, -0.26245376467704773, -0.21201957762241364, 0.24911770224571228, -0.08974450826644897, 0.19170719385147095, -0.2054850310087204, 0.06268718093633652, 0.005463660694658756, -0.049012839794158936, -0.0955277681350708, 0.2749802768230438, -0.27757728099823, 0.2126466929912567, -0.06455682218074799, -0.22553421556949615, -0.5161387920379639, 0.13305555284023285, 0.32447874546051025, -0.05011937394738197, -0.24388179183006287, 0.2920490801334381, 0.25665783882141113, -0.025173690170049667, 0.02918829396367073, 0.12694574892520905, -0.10283578187227249, -0.14223699271678925, 0.06845611333847046, 0.18437014520168304, -0.28845280408859253, -0.23581911623477936, -0.11927057057619095, 0.10565067082643509, 0.11271600425243378, 0.058110132813453674, -0.2370678335428238, -0.19792702794075012, 0.14586608111858368, -0.19197264313697815, 0.19874943792819977, 0.005714163649827242, 0.11244195699691772, -0.021836528554558754, -0.09902828931808472, -0.30179303884506226, -0.13336746394634247, 0.5531503558158875, 0.009396002627909184, -0.09540203958749771, 0.4312438666820526, 0.06264343112707138, -0.18787936866283417, -0.21889065206050873, -0.3993035554885864, -0.6171079277992249, -0.41979849338531494, 0.2735121548175812, -0.034423086792230606, -0.33706560730934143, -0.17466706037521362, 0.29109200835227966, 0.09245036542415619, 0.02287537418305874, 0.0806000679731369, -0.36797067523002625, -0.19498415291309357, -0.06707900762557983, -0.27803921699523926, 0.0684792771935463, 0.10245877504348755, -0.37116989493370056, 0.0683903843164444, 0.04208599403500557, -0.36104610562324524, -0.11567109823226929, -0.213944673538208, -0.12699145078659058, -0.033634889870882034, 0.11767581850290298, 0.2561064064502716, 0.11703123152256012, 0.13286705315113068, 0.06240599602460861, -0.274745911359787, -0.32785356044769287, -0.06749194860458374, 0.05281485617160797, 0.0073339808732271194, -0.16572518646717072, -0.039098694920539856, -0.18810930848121643, -0.0998057946562767, 0.06835918873548508, 0.3622523546218872, 0.2228899747133255, -0.0804934874176979, 0.09136691689491272, -0.190926194190979, 0.09091662615537643, -0.26212459802627563, 0.3027530908584595, 0.01757553406059742, 0.21150405704975128, -0.07884771376848221, 0.05039214715361595, -0.24882231652736664, -0.10194374620914459, 0.10434688627719879, -0.06551995128393173, -0.016231978312134743, 0.11911874264478683, -0.040522072464227676, -0.224483460187912, 0.031543098390102386, 0.13785907626152039, -0.20528191328048706, 0.20698414742946625, -0.19546876847743988, -0.3326714038848877, -0.026710709556937218, 0.2537997364997864, -0.20889978110790253, -0.06289234757423401, -0.3372613191604614, -0.05627581477165222, -0.006059971638023853, 0.33245688676834106, 0.137780100107193, -0.3961062431335449, 0.5713961124420166, 0.26787176728248596, 0.4610527753829956, -0.36565330624580383, -0.004248091951012611, 0.05235746502876282, -0.35980024933815, 0.09968150407075882, 0.041154731065034866, 0.10795500874519348, -0.018874989822506905, 0.5628809332847595, -0.13191953301429749, 0.0021226191893219948, 0.2921508550643921, 0.003036814508959651, -0.27909091114997864, -0.30916231870651245, 0.11593692749738693, 0.07954944670200348, -0.08234585076570511, 0.14828121662139893, 0.024610266089439392, 0.07461053133010864, -0.15223734080791473, 0.17946477234363556, -0.313926637172699, -0.37257617712020874, -0.08413045108318329, -0.12029474973678589, 0.29749736189842224, -0.1807810664176941, 0.003656738670542836, 0.12212767452001572, -0.11720238626003265, 0.0254091564565897, 0.3917541801929474, -0.07936946302652359, -0.2506501078605652, -0.34225547313690186, 0.3105267882347107, -0.07128069549798965, -0.11901727318763733, -0.02102886699140072, 0.593487560749054, 0.09859483689069748, 0.026239365339279175, 0.30976077914237976, 0.17940592765808105, 0.17028051614761353, 0.2891249358654022, -0.11193040758371353, -0.11864964663982391, -0.0576537661254406, -0.08907465636730194, -0.20208409428596497, 0.3030664622783661, 0.24238872528076172, -0.13239453732967377, 0.2140216827392578, 0.24020957946777344, -0.21352946758270264, 0.19362054765224457, 0.35727858543395996, 0.1290241777896881, 0.009838678874075413, 0.17769864201545715, -0.1426185667514801, 0.05261843279004097, 0.18594539165496826, 0.13128577172756195, -0.25867295265197754, -0.12929341197013855, -0.028654642403125763, -0.02613300457596779, 0.16841945052146912, -0.01074863038957119, 0.12446900457143784, 0.12760522961616516, 0.6130914092063904, 0.06795366108417511, 0.2092219442129135, -0.14236198365688324, 0.10535694658756256, -0.592360258102417, 0.31702592968940735, 0.2080426663160324, -0.13773882389068604, -0.258352667093277, 0.4328593909740448, -0.1734926402568817, 0.16250985860824585, -0.027838265523314476, 0.11226856708526611, 0.33296045660972595, -0.1347234696149826, -0.3861861824989319, -0.15120801329612732, 0.1714549958705902, -0.036175068467855453, 0.1201498806476593, -0.535575270652771, 0.08164986968040466, 0.08025436103343964, 0.10882698744535446, 0.1583441197872162, -0.505459725856781, 0.20880885422229767, 0.13056008517742157, 0.44241857528686523, -0.1620054394006729, 0.11516326665878296, 0.08796839416027069, -0.1277148276567459, -0.3417397439479828, -0.16052554547786713, 0.09778352826833725, -0.22211436927318573, 0.2226935774087906, -0.0973159447312355, -0.17952759563922882, 0.1453976184129715, -0.2299451380968094, 0.5856584906578064, 0.2467726469039917, 0.45674920082092285, -0.0011391197331249714, 0.1800602674484253, -0.012664168141782284, 0.18712782859802246, -0.01229526661336422, -0.007325051352381706, -0.20156557857990265, 0.14206811785697937, -0.2445826679468155, -0.3063221871852875, 0.29385918378829956, 0.11068807542324066, -0.3722344636917114, 0.010499583557248116, 0.27343857288360596, -0.14313171803951263, -0.3644530773162842, -0.6153107285499573, 0.4379870891571045, 0.15337219834327698, 0.02318737655878067, -0.05402369424700737, 0.1092282384634018, -0.3143727779388428, 0.05372282862663269, -0.15300944447517395, 0.2981623709201813, 0.08701817691326141, -0.04422711580991745, -0.08199018239974976, -0.08153257519006729 ]
https://github.com/huggingface/datasets/issues/1615
Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hi @bhavitvyamalik Thanks for the reply! Actually I let it run for 30 minutes before I killed the process. In this time, 30GB were extracted (much more than 11GB), I checked the size of the destination directory. What version of Datasets are you using?
Hello, I'm having issue downloading TriviaQA dataset with `load_dataset`. ## Environment info - `datasets` version: 1.1.3 - Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1 - Python version: 3.7.3 ## The code I'm running: ```python import datasets dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets") ``` ## The output: 1. Download begins: ``` Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d... Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s] ``` 2. 100% is reached 3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually. A similar issue can be observed in Google Colab: https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing ## Expected behaviour: The dataset "TriviaQA" should be successfully downloaded.
44
Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
[ -0.1144673302769661, 0.3958841562271118, -0.1283876895904541, 0.35347428917884827, 0.13258402049541473, 0.2150530368089676, 0.27215680480003357, 0.19289250671863556, 0.2596134543418884, -0.07622022181749344, -0.18119652569293976, 0.09229855984449387, 0.07858476787805557, -0.030082376673817635, -0.056184738874435425, 0.07656083256006241, -0.08245013654232025, 0.09471874684095383, 0.060758788138628006, 0.040704306215047836, -0.18313860893249512, 0.34903019666671753, -0.10105586051940918, -0.13538476824760437, -0.17538735270500183, -0.03272327035665512, 0.11334334313869476, 0.4390573799610138, -0.12965714931488037, -0.2728467583656311, 0.4372541010379791, 0.27744829654693604, 0.08282465487718582, 0.253888875246048, -0.000104773513157852, -0.0807318389415741, 0.140003502368927, -0.1597178727388382, -0.5048447847366333, 0.13628624379634857, -0.43952974677085876, 0.35115063190460205, -0.07213705033063889, -0.06578035652637482, 0.046447254717350006, 0.32233113050460815, 0.03900248557329178, -0.6143832206726074, 0.012814870104193687, 0.2597277760505676, 0.3089248538017273, 0.01476177480071783, -0.3031565248966217, -0.2952103018760681, 0.2664197087287903, -0.1632254272699356, -0.24701979756355286, 0.17338478565216064, -0.09245497733354568, 0.0385160930454731, -0.1567351073026657, 0.5095198154449463, 0.08664792776107788, 0.298614501953125, 0.04088583216071129, 0.05286663770675659, -0.25960254669189453, 0.016114532947540283, 0.39631280303001404, 0.01742495596408844, 0.6386580467224121, -0.2624077796936035, -0.1862591654062271, 0.1518862098455429, -0.16076752543449402, -0.1739177405834198, 0.2912328541278839, -0.07398122549057007, -0.2693236768245697, 0.009418684989213943, 0.1888178586959839, -0.10483662039041519, -0.11883615702390671, -0.06989727169275284, -0.11276212334632874, -0.07692719995975494, -0.13534143567085266, -0.05462794378399849, -0.017461495473980904, 0.032419443130493164, 0.2980503737926483, 0.11835110187530518, -0.25647401809692383, 0.056069038808345795, -0.20548036694526672, 0.09112685173749924, 0.20743194222450256, 0.0035238447599112988, 0.12936052680015564, 0.23992806673049927, 0.2504962682723999, 0.19688542187213898, -0.2318730503320694, -0.21240662038326263, 0.20848678052425385, 0.5501707196235657, -0.070234015583992, -0.26562654972076416, 0.31603965163230896, 0.27771762013435364, -0.10069014877080917, 0.061506979167461395, -0.08092489838600159, 0.0912264809012413, 0.021514851599931717, 0.08860759437084198, 0.17699237167835236, -0.2536071240901947, -0.22507941722869873, -0.11376676708459854, 0.22630108892917633, 0.10864219069480896, -0.1784219592809677, 0.4196508824825287, -0.21529075503349304, 0.09483128041028976, -0.25155600905418396, 0.23372599482536316, -0.11167295277118683, -0.07426165789365768, -0.3531741797924042, -0.07433921098709106, 0.10649978369474411, 0.10968302190303802, 0.43706247210502625, 0.2044653594493866, 0.2432822734117508, -0.2855673134326935, 0.14832621812820435, 0.04587225243449211, 0.05460968241095543, -0.2681223750114441, -0.025843994691967964, 0.14878876507282257, 0.09308404475450516, 0.2459069788455963, 0.046657271683216095, -0.01309570949524641, -0.08022308349609375, 0.11044390499591827, -0.1792759746313095, -0.4043952226638794, -0.05273083969950676, 0.21743938326835632, -0.16285370290279388, -0.09713917970657349, 0.18996182084083557, -0.02043028734624386, 0.19051897525787354, -0.09233482927083969, -0.11572860181331635, 0.2036769539117813, -0.14565607905387878, -0.2745271921157837, 0.14378902316093445, 0.5719955563545227, -0.23708269000053406, 0.178752601146698, -0.09622082859277725, 0.02785237319767475, 0.04888743534684181, 0.15309695899486542, -0.03634265810251236, 0.04533655568957329, -0.3640460669994354, 0.18355421721935272, 0.5811136960983276, -0.5778927803039551, -0.5847355127334595, -0.024434931576251984, 0.1235312819480896, 0.15344049036502838, 0.24080628156661987, 0.09386473894119263, 0.1892809122800827, 0.09013369679450989, 0.18255095183849335, 0.3274979293346405, 0.04817095771431923, 0.08975236862897873, -0.21171480417251587, -0.31038862466812134, 0.1616712361574173, 0.21439026296138763, 0.020639922469854355, 0.13364724814891815, 0.08840782940387726, 0.1943933516740799, 0.1452740877866745, 0.27260684967041016, -0.046500314027071, 0.08633698523044586, 0.010538831353187561, -0.22907744348049164, 0.17240525782108307, 0.09464011341333389, -0.6965624690055847, 0.2811121344566345, -0.10537533462047577, 0.07710976153612137, -0.26584023237228394, -0.014573286287486553, -0.49360963702201843, -0.14096671342849731, -0.28504928946495056, -0.3436335623264313, 0.22487978637218475, 0.30067160725593567, 0.4277087450027466, 0.09447650611400604, 0.035379569977521896, 0.443681001663208, 0.2310406118631363, -0.22355780005455017, -0.18715351819992065, -0.26789161562919617, -0.16315065324306488, -0.11146640032529831, -0.1138225644826889, 0.17982357740402222, 0.06635518372058868, -0.04535192623734474, -0.1427711695432663, 0.0987163707613945, 0.14998331665992737, 0.060336656868457794, -0.03581640496850014, -0.08947239816188812, 0.11133964359760284, 0.01647537387907505, 0.3248177766799927, 0.13444189727306366, 0.13203735649585724, -0.08559432625770569, -0.3554835617542267, -0.07462039589881897, -0.2597225606441498, 0.10429462790489197, 0.09450553357601166, -0.021315021440386772, 0.5149376392364502, 0.045085880905389786, 0.26314908266067505, -0.3853873908519745, -0.019397560507059097, 0.07174189388751984, 0.16665300726890564, -0.06066683679819107, 0.02374681457877159, 0.36579516530036926, 0.39734363555908203, 0.3263269066810608, 0.18140506744384766, -0.04158184677362442, -0.06202338635921478, -0.1897646188735962, 0.20687496662139893, 0.2847840189933777, 0.5480071902275085, 0.11276181042194366, 0.3156103491783142, -0.04097559303045273, 0.05126121640205383, -0.2924574017524719, 0.07147752493619919, -0.11017371714115143, -0.12994472682476044, 0.17938949167728424, 0.37596914172172546, -0.15923668444156647, -0.1227731853723526, -0.028539931401610374, 0.08017104864120483, 0.06640831381082535, -0.15667463839054108, 0.049545641988515854, -0.19550590217113495, -0.2672935724258423, 0.13220374286174774, -0.08856558054685593, 0.1594334989786148, -0.38808852434158325, 0.25401705503463745, 0.29323044419288635, -0.010197887197136879, 0.10470999777317047, -0.21651938557624817, 0.2701953649520874, 0.06886198371648788, -0.47450557351112366, -0.31301623582839966, -0.2638868987560272, -0.12821818888187408, 0.16771778464317322, -0.11768769472837448, -0.1844017058610916, 0.24388433992862701, -0.24405641853809357, 0.10140170156955719, -0.28363052010536194, -0.0212745051831007, 0.07793201506137848, 0.08350851386785507, 0.15091510117053986, 0.22190594673156738, 0.22156664729118347, 0.06357624381780624, 0.056950610131025314, 0.15218453109264374, -0.08080589771270752, -0.0902627483010292, -0.047573287039995193, 0.05397011712193489, 0.1299889087677002, -0.24594223499298096, -0.5943350791931152, -0.25094249844551086, -0.3843909800052643, 0.1706520915031433, 0.34857824444770813, 0.07550530135631561, 0.44331276416778564, 0.011679551564157009, -0.10930558294057846, 0.1785198152065277, -0.02720043994486332, -0.453326940536499, -0.28198346495628357, 0.4391224682331085, -0.3196451961994171, -0.08659812808036804, 0.12867699563503265, 0.08021683990955353, 0.505411684513092, 0.17009183764457703, -0.41924476623535156, -0.08137665688991547, -0.20287254452705383, 0.559615969657898, -0.08894592523574829, -0.19678866863250732, 0.3731647729873657, -0.08063872903585434, -0.13682515919208527, -0.07352279871702194, -0.09115523099899292, 0.1693691909313202, 0.13939207792282104, 0.09847670048475266, -0.028028126806020737, -0.015897754579782486, 0.06116130203008652, 0.623797595500946, -0.10169658064842224, 0.36402732133865356, 0.43212202191352844, -0.09531936794519424, 0.4441700577735901, -0.29826226830482483, -0.019507644698023796, 0.09690872579813004, -0.04083683714270592, -0.13711094856262207, 0.10027109831571579, 0.1894642859697342, 0.14084747433662415, -0.19254620373249054, 0.2834100127220154, 0.05116167291998863, -0.11449838429689407, -0.10233207792043686, -0.21639099717140198, -0.1487889289855957, 0.23315003514289856, 0.2560989260673523, -0.02444235049188137, -0.23364277184009552, 0.258884996175766, 0.00024069746723398566, -0.31138330698013306, 0.14246141910552979, 0.18471091985702515, 0.26104655861854553, -0.3149614930152893, 0.14234738051891327, 0.054437778890132904, 0.1395142823457718, -0.15748636424541473, -0.19561827182769775, 0.05026480555534363, 0.009360730648040771, 0.709250807762146, -0.07488782703876495, 0.3282444179058075, 0.04605801776051521, 0.14541348814964294, -0.19316238164901733, -0.029307877644896507, -0.04185296595096588, 0.15523536503314972, -0.11472750455141068, 0.1840611696243286, -0.10120852291584015, 0.2461545318365097, -0.003521050326526165, 0.11291053891181946, -0.08219733089208603, -0.0448850616812706, -0.27357277274131775, -0.36577677726745605, -0.29023513197898865, -0.20064231753349304, 0.08483950793743134, 0.06325496733188629, -0.052517011761665344, -0.03192858397960663, -0.08900266885757446, -0.09681161493062973, -0.3017066419124603, 0.2934797406196594, 0.2725435793399811, 0.0730249360203743, 0.05375922471284866, 0.08052866160869598, -0.2602846920490265, -0.15848812460899353, 0.534249484539032, -0.11778879910707474, -0.27074238657951355, 0.062214408069849014, -0.1692437082529068, -0.36268121004104614, 0.257414847612381, -0.2869166135787964, -0.16565486788749695, -0.05153758078813553, -0.24405130743980408, 0.0333615280687809, 0.27541324496269226, -0.10936658084392548, -0.4469205439090729, 0.15431584417819977, -0.25316759943962097, 0.35643449425697327, 0.04568703845143318, -0.10969346761703491, 0.4393000900745392, -0.3468494415283203, -0.1868128627538681, 0.1175021082162857, -0.1130010187625885, 0.6278261542320251, -0.08274547755718231, 0.26205340027809143, 0.3371366262435913, -0.30311617255210876, 0.5340246558189392, -0.3325388729572296, 0.15741226077079773, -0.22402268648147583, -0.13267391920089722, 0.118502676486969, -0.04636020585894585, -0.06663594394922256, -0.12167566269636154, -0.32718726992607117, 0.20699161291122437, -0.28253936767578125, 0.24575188755989075, -0.01225750520825386, -0.08466210961341858, -0.1541389375925064, -0.26245376467704773, -0.21201957762241364, 0.24911770224571228, -0.08974450826644897, 0.19170719385147095, -0.2054850310087204, 0.06268718093633652, 0.005463660694658756, -0.049012839794158936, -0.0955277681350708, 0.2749802768230438, -0.27757728099823, 0.2126466929912567, -0.06455682218074799, -0.22553421556949615, -0.5161387920379639, 0.13305555284023285, 0.32447874546051025, -0.05011937394738197, -0.24388179183006287, 0.2920490801334381, 0.25665783882141113, -0.025173690170049667, 0.02918829396367073, 0.12694574892520905, -0.10283578187227249, -0.14223699271678925, 0.06845611333847046, 0.18437014520168304, -0.28845280408859253, -0.23581911623477936, -0.11927057057619095, 0.10565067082643509, 0.11271600425243378, 0.058110132813453674, -0.2370678335428238, -0.19792702794075012, 0.14586608111858368, -0.19197264313697815, 0.19874943792819977, 0.005714163649827242, 0.11244195699691772, -0.021836528554558754, -0.09902828931808472, -0.30179303884506226, -0.13336746394634247, 0.5531503558158875, 0.009396002627909184, -0.09540203958749771, 0.4312438666820526, 0.06264343112707138, -0.18787936866283417, -0.21889065206050873, -0.3993035554885864, -0.6171079277992249, -0.41979849338531494, 0.2735121548175812, -0.034423086792230606, -0.33706560730934143, -0.17466706037521362, 0.29109200835227966, 0.09245036542415619, 0.02287537418305874, 0.0806000679731369, -0.36797067523002625, -0.19498415291309357, -0.06707900762557983, -0.27803921699523926, 0.0684792771935463, 0.10245877504348755, -0.37116989493370056, 0.0683903843164444, 0.04208599403500557, -0.36104610562324524, -0.11567109823226929, -0.213944673538208, -0.12699145078659058, -0.033634889870882034, 0.11767581850290298, 0.2561064064502716, 0.11703123152256012, 0.13286705315113068, 0.06240599602460861, -0.274745911359787, -0.32785356044769287, -0.06749194860458374, 0.05281485617160797, 0.0073339808732271194, -0.16572518646717072, -0.039098694920539856, -0.18810930848121643, -0.0998057946562767, 0.06835918873548508, 0.3622523546218872, 0.2228899747133255, -0.0804934874176979, 0.09136691689491272, -0.190926194190979, 0.09091662615537643, -0.26212459802627563, 0.3027530908584595, 0.01757553406059742, 0.21150405704975128, -0.07884771376848221, 0.05039214715361595, -0.24882231652736664, -0.10194374620914459, 0.10434688627719879, -0.06551995128393173, -0.016231978312134743, 0.11911874264478683, -0.040522072464227676, -0.224483460187912, 0.031543098390102386, 0.13785907626152039, -0.20528191328048706, 0.20698414742946625, -0.19546876847743988, -0.3326714038848877, -0.026710709556937218, 0.2537997364997864, -0.20889978110790253, -0.06289234757423401, -0.3372613191604614, -0.05627581477165222, -0.006059971638023853, 0.33245688676834106, 0.137780100107193, -0.3961062431335449, 0.5713961124420166, 0.26787176728248596, 0.4610527753829956, -0.36565330624580383, -0.004248091951012611, 0.05235746502876282, -0.35980024933815, 0.09968150407075882, 0.041154731065034866, 0.10795500874519348, -0.018874989822506905, 0.5628809332847595, -0.13191953301429749, 0.0021226191893219948, 0.2921508550643921, 0.003036814508959651, -0.27909091114997864, -0.30916231870651245, 0.11593692749738693, 0.07954944670200348, -0.08234585076570511, 0.14828121662139893, 0.024610266089439392, 0.07461053133010864, -0.15223734080791473, 0.17946477234363556, -0.313926637172699, -0.37257617712020874, -0.08413045108318329, -0.12029474973678589, 0.29749736189842224, -0.1807810664176941, 0.003656738670542836, 0.12212767452001572, -0.11720238626003265, 0.0254091564565897, 0.3917541801929474, -0.07936946302652359, -0.2506501078605652, -0.34225547313690186, 0.3105267882347107, -0.07128069549798965, -0.11901727318763733, -0.02102886699140072, 0.593487560749054, 0.09859483689069748, 0.026239365339279175, 0.30976077914237976, 0.17940592765808105, 0.17028051614761353, 0.2891249358654022, -0.11193040758371353, -0.11864964663982391, -0.0576537661254406, -0.08907465636730194, -0.20208409428596497, 0.3030664622783661, 0.24238872528076172, -0.13239453732967377, 0.2140216827392578, 0.24020957946777344, -0.21352946758270264, 0.19362054765224457, 0.35727858543395996, 0.1290241777896881, 0.009838678874075413, 0.17769864201545715, -0.1426185667514801, 0.05261843279004097, 0.18594539165496826, 0.13128577172756195, -0.25867295265197754, -0.12929341197013855, -0.028654642403125763, -0.02613300457596779, 0.16841945052146912, -0.01074863038957119, 0.12446900457143784, 0.12760522961616516, 0.6130914092063904, 0.06795366108417511, 0.2092219442129135, -0.14236198365688324, 0.10535694658756256, -0.592360258102417, 0.31702592968940735, 0.2080426663160324, -0.13773882389068604, -0.258352667093277, 0.4328593909740448, -0.1734926402568817, 0.16250985860824585, -0.027838265523314476, 0.11226856708526611, 0.33296045660972595, -0.1347234696149826, -0.3861861824989319, -0.15120801329612732, 0.1714549958705902, -0.036175068467855453, 0.1201498806476593, -0.535575270652771, 0.08164986968040466, 0.08025436103343964, 0.10882698744535446, 0.1583441197872162, -0.505459725856781, 0.20880885422229767, 0.13056008517742157, 0.44241857528686523, -0.1620054394006729, 0.11516326665878296, 0.08796839416027069, -0.1277148276567459, -0.3417397439479828, -0.16052554547786713, 0.09778352826833725, -0.22211436927318573, 0.2226935774087906, -0.0973159447312355, -0.17952759563922882, 0.1453976184129715, -0.2299451380968094, 0.5856584906578064, 0.2467726469039917, 0.45674920082092285, -0.0011391197331249714, 0.1800602674484253, -0.012664168141782284, 0.18712782859802246, -0.01229526661336422, -0.007325051352381706, -0.20156557857990265, 0.14206811785697937, -0.2445826679468155, -0.3063221871852875, 0.29385918378829956, 0.11068807542324066, -0.3722344636917114, 0.010499583557248116, 0.27343857288360596, -0.14313171803951263, -0.3644530773162842, -0.6153107285499573, 0.4379870891571045, 0.15337219834327698, 0.02318737655878067, -0.05402369424700737, 0.1092282384634018, -0.3143727779388428, 0.05372282862663269, -0.15300944447517395, 0.2981623709201813, 0.08701817691326141, -0.04422711580991745, -0.08199018239974976, -0.08153257519006729 ]
https://github.com/huggingface/datasets/issues/1615
Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
I'm using datasets version: 1.1.3. I think you should drop `cache_dir` and use only `dataset = datasets.load_dataset("trivia_qa", "rc")` Tried that on colab and it's working there too ![image](https://user-images.githubusercontent.com/19718818/102814269-4db74300-43f0-11eb-8f26-ecfcf4632002.png)
Hello, I'm having issue downloading TriviaQA dataset with `load_dataset`. ## Environment info - `datasets` version: 1.1.3 - Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1 - Python version: 3.7.3 ## The code I'm running: ```python import datasets dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets") ``` ## The output: 1. Download begins: ``` Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d... Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s] ``` 2. 100% is reached 3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually. A similar issue can be observed in Google Colab: https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing ## Expected behaviour: The dataset "TriviaQA" should be successfully downloaded.
28
Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
[ -0.1144673302769661, 0.3958841562271118, -0.1283876895904541, 0.35347428917884827, 0.13258402049541473, 0.2150530368089676, 0.27215680480003357, 0.19289250671863556, 0.2596134543418884, -0.07622022181749344, -0.18119652569293976, 0.09229855984449387, 0.07858476787805557, -0.030082376673817635, -0.056184738874435425, 0.07656083256006241, -0.08245013654232025, 0.09471874684095383, 0.060758788138628006, 0.040704306215047836, -0.18313860893249512, 0.34903019666671753, -0.10105586051940918, -0.13538476824760437, -0.17538735270500183, -0.03272327035665512, 0.11334334313869476, 0.4390573799610138, -0.12965714931488037, -0.2728467583656311, 0.4372541010379791, 0.27744829654693604, 0.08282465487718582, 0.253888875246048, -0.000104773513157852, -0.0807318389415741, 0.140003502368927, -0.1597178727388382, -0.5048447847366333, 0.13628624379634857, -0.43952974677085876, 0.35115063190460205, -0.07213705033063889, -0.06578035652637482, 0.046447254717350006, 0.32233113050460815, 0.03900248557329178, -0.6143832206726074, 0.012814870104193687, 0.2597277760505676, 0.3089248538017273, 0.01476177480071783, -0.3031565248966217, -0.2952103018760681, 0.2664197087287903, -0.1632254272699356, -0.24701979756355286, 0.17338478565216064, -0.09245497733354568, 0.0385160930454731, -0.1567351073026657, 0.5095198154449463, 0.08664792776107788, 0.298614501953125, 0.04088583216071129, 0.05286663770675659, -0.25960254669189453, 0.016114532947540283, 0.39631280303001404, 0.01742495596408844, 0.6386580467224121, -0.2624077796936035, -0.1862591654062271, 0.1518862098455429, -0.16076752543449402, -0.1739177405834198, 0.2912328541278839, -0.07398122549057007, -0.2693236768245697, 0.009418684989213943, 0.1888178586959839, -0.10483662039041519, -0.11883615702390671, -0.06989727169275284, -0.11276212334632874, -0.07692719995975494, -0.13534143567085266, -0.05462794378399849, -0.017461495473980904, 0.032419443130493164, 0.2980503737926483, 0.11835110187530518, -0.25647401809692383, 0.056069038808345795, -0.20548036694526672, 0.09112685173749924, 0.20743194222450256, 0.0035238447599112988, 0.12936052680015564, 0.23992806673049927, 0.2504962682723999, 0.19688542187213898, -0.2318730503320694, -0.21240662038326263, 0.20848678052425385, 0.5501707196235657, -0.070234015583992, -0.26562654972076416, 0.31603965163230896, 0.27771762013435364, -0.10069014877080917, 0.061506979167461395, -0.08092489838600159, 0.0912264809012413, 0.021514851599931717, 0.08860759437084198, 0.17699237167835236, -0.2536071240901947, -0.22507941722869873, -0.11376676708459854, 0.22630108892917633, 0.10864219069480896, -0.1784219592809677, 0.4196508824825287, -0.21529075503349304, 0.09483128041028976, -0.25155600905418396, 0.23372599482536316, -0.11167295277118683, -0.07426165789365768, -0.3531741797924042, -0.07433921098709106, 0.10649978369474411, 0.10968302190303802, 0.43706247210502625, 0.2044653594493866, 0.2432822734117508, -0.2855673134326935, 0.14832621812820435, 0.04587225243449211, 0.05460968241095543, -0.2681223750114441, -0.025843994691967964, 0.14878876507282257, 0.09308404475450516, 0.2459069788455963, 0.046657271683216095, -0.01309570949524641, -0.08022308349609375, 0.11044390499591827, -0.1792759746313095, -0.4043952226638794, -0.05273083969950676, 0.21743938326835632, -0.16285370290279388, -0.09713917970657349, 0.18996182084083557, -0.02043028734624386, 0.19051897525787354, -0.09233482927083969, -0.11572860181331635, 0.2036769539117813, -0.14565607905387878, -0.2745271921157837, 0.14378902316093445, 0.5719955563545227, -0.23708269000053406, 0.178752601146698, -0.09622082859277725, 0.02785237319767475, 0.04888743534684181, 0.15309695899486542, -0.03634265810251236, 0.04533655568957329, -0.3640460669994354, 0.18355421721935272, 0.5811136960983276, -0.5778927803039551, -0.5847355127334595, -0.024434931576251984, 0.1235312819480896, 0.15344049036502838, 0.24080628156661987, 0.09386473894119263, 0.1892809122800827, 0.09013369679450989, 0.18255095183849335, 0.3274979293346405, 0.04817095771431923, 0.08975236862897873, -0.21171480417251587, -0.31038862466812134, 0.1616712361574173, 0.21439026296138763, 0.020639922469854355, 0.13364724814891815, 0.08840782940387726, 0.1943933516740799, 0.1452740877866745, 0.27260684967041016, -0.046500314027071, 0.08633698523044586, 0.010538831353187561, -0.22907744348049164, 0.17240525782108307, 0.09464011341333389, -0.6965624690055847, 0.2811121344566345, -0.10537533462047577, 0.07710976153612137, -0.26584023237228394, -0.014573286287486553, -0.49360963702201843, -0.14096671342849731, -0.28504928946495056, -0.3436335623264313, 0.22487978637218475, 0.30067160725593567, 0.4277087450027466, 0.09447650611400604, 0.035379569977521896, 0.443681001663208, 0.2310406118631363, -0.22355780005455017, -0.18715351819992065, -0.26789161562919617, -0.16315065324306488, -0.11146640032529831, -0.1138225644826889, 0.17982357740402222, 0.06635518372058868, -0.04535192623734474, -0.1427711695432663, 0.0987163707613945, 0.14998331665992737, 0.060336656868457794, -0.03581640496850014, -0.08947239816188812, 0.11133964359760284, 0.01647537387907505, 0.3248177766799927, 0.13444189727306366, 0.13203735649585724, -0.08559432625770569, -0.3554835617542267, -0.07462039589881897, -0.2597225606441498, 0.10429462790489197, 0.09450553357601166, -0.021315021440386772, 0.5149376392364502, 0.045085880905389786, 0.26314908266067505, -0.3853873908519745, -0.019397560507059097, 0.07174189388751984, 0.16665300726890564, -0.06066683679819107, 0.02374681457877159, 0.36579516530036926, 0.39734363555908203, 0.3263269066810608, 0.18140506744384766, -0.04158184677362442, -0.06202338635921478, -0.1897646188735962, 0.20687496662139893, 0.2847840189933777, 0.5480071902275085, 0.11276181042194366, 0.3156103491783142, -0.04097559303045273, 0.05126121640205383, -0.2924574017524719, 0.07147752493619919, -0.11017371714115143, -0.12994472682476044, 0.17938949167728424, 0.37596914172172546, -0.15923668444156647, -0.1227731853723526, -0.028539931401610374, 0.08017104864120483, 0.06640831381082535, -0.15667463839054108, 0.049545641988515854, -0.19550590217113495, -0.2672935724258423, 0.13220374286174774, -0.08856558054685593, 0.1594334989786148, -0.38808852434158325, 0.25401705503463745, 0.29323044419288635, -0.010197887197136879, 0.10470999777317047, -0.21651938557624817, 0.2701953649520874, 0.06886198371648788, -0.47450557351112366, -0.31301623582839966, -0.2638868987560272, -0.12821818888187408, 0.16771778464317322, -0.11768769472837448, -0.1844017058610916, 0.24388433992862701, -0.24405641853809357, 0.10140170156955719, -0.28363052010536194, -0.0212745051831007, 0.07793201506137848, 0.08350851386785507, 0.15091510117053986, 0.22190594673156738, 0.22156664729118347, 0.06357624381780624, 0.056950610131025314, 0.15218453109264374, -0.08080589771270752, -0.0902627483010292, -0.047573287039995193, 0.05397011712193489, 0.1299889087677002, -0.24594223499298096, -0.5943350791931152, -0.25094249844551086, -0.3843909800052643, 0.1706520915031433, 0.34857824444770813, 0.07550530135631561, 0.44331276416778564, 0.011679551564157009, -0.10930558294057846, 0.1785198152065277, -0.02720043994486332, -0.453326940536499, -0.28198346495628357, 0.4391224682331085, -0.3196451961994171, -0.08659812808036804, 0.12867699563503265, 0.08021683990955353, 0.505411684513092, 0.17009183764457703, -0.41924476623535156, -0.08137665688991547, -0.20287254452705383, 0.559615969657898, -0.08894592523574829, -0.19678866863250732, 0.3731647729873657, -0.08063872903585434, -0.13682515919208527, -0.07352279871702194, -0.09115523099899292, 0.1693691909313202, 0.13939207792282104, 0.09847670048475266, -0.028028126806020737, -0.015897754579782486, 0.06116130203008652, 0.623797595500946, -0.10169658064842224, 0.36402732133865356, 0.43212202191352844, -0.09531936794519424, 0.4441700577735901, -0.29826226830482483, -0.019507644698023796, 0.09690872579813004, -0.04083683714270592, -0.13711094856262207, 0.10027109831571579, 0.1894642859697342, 0.14084747433662415, -0.19254620373249054, 0.2834100127220154, 0.05116167291998863, -0.11449838429689407, -0.10233207792043686, -0.21639099717140198, -0.1487889289855957, 0.23315003514289856, 0.2560989260673523, -0.02444235049188137, -0.23364277184009552, 0.258884996175766, 0.00024069746723398566, -0.31138330698013306, 0.14246141910552979, 0.18471091985702515, 0.26104655861854553, -0.3149614930152893, 0.14234738051891327, 0.054437778890132904, 0.1395142823457718, -0.15748636424541473, -0.19561827182769775, 0.05026480555534363, 0.009360730648040771, 0.709250807762146, -0.07488782703876495, 0.3282444179058075, 0.04605801776051521, 0.14541348814964294, -0.19316238164901733, -0.029307877644896507, -0.04185296595096588, 0.15523536503314972, -0.11472750455141068, 0.1840611696243286, -0.10120852291584015, 0.2461545318365097, -0.003521050326526165, 0.11291053891181946, -0.08219733089208603, -0.0448850616812706, -0.27357277274131775, -0.36577677726745605, -0.29023513197898865, -0.20064231753349304, 0.08483950793743134, 0.06325496733188629, -0.052517011761665344, -0.03192858397960663, -0.08900266885757446, -0.09681161493062973, -0.3017066419124603, 0.2934797406196594, 0.2725435793399811, 0.0730249360203743, 0.05375922471284866, 0.08052866160869598, -0.2602846920490265, -0.15848812460899353, 0.534249484539032, -0.11778879910707474, -0.27074238657951355, 0.062214408069849014, -0.1692437082529068, -0.36268121004104614, 0.257414847612381, -0.2869166135787964, -0.16565486788749695, -0.05153758078813553, -0.24405130743980408, 0.0333615280687809, 0.27541324496269226, -0.10936658084392548, -0.4469205439090729, 0.15431584417819977, -0.25316759943962097, 0.35643449425697327, 0.04568703845143318, -0.10969346761703491, 0.4393000900745392, -0.3468494415283203, -0.1868128627538681, 0.1175021082162857, -0.1130010187625885, 0.6278261542320251, -0.08274547755718231, 0.26205340027809143, 0.3371366262435913, -0.30311617255210876, 0.5340246558189392, -0.3325388729572296, 0.15741226077079773, -0.22402268648147583, -0.13267391920089722, 0.118502676486969, -0.04636020585894585, -0.06663594394922256, -0.12167566269636154, -0.32718726992607117, 0.20699161291122437, -0.28253936767578125, 0.24575188755989075, -0.01225750520825386, -0.08466210961341858, -0.1541389375925064, -0.26245376467704773, -0.21201957762241364, 0.24911770224571228, -0.08974450826644897, 0.19170719385147095, -0.2054850310087204, 0.06268718093633652, 0.005463660694658756, -0.049012839794158936, -0.0955277681350708, 0.2749802768230438, -0.27757728099823, 0.2126466929912567, -0.06455682218074799, -0.22553421556949615, -0.5161387920379639, 0.13305555284023285, 0.32447874546051025, -0.05011937394738197, -0.24388179183006287, 0.2920490801334381, 0.25665783882141113, -0.025173690170049667, 0.02918829396367073, 0.12694574892520905, -0.10283578187227249, -0.14223699271678925, 0.06845611333847046, 0.18437014520168304, -0.28845280408859253, -0.23581911623477936, -0.11927057057619095, 0.10565067082643509, 0.11271600425243378, 0.058110132813453674, -0.2370678335428238, -0.19792702794075012, 0.14586608111858368, -0.19197264313697815, 0.19874943792819977, 0.005714163649827242, 0.11244195699691772, -0.021836528554558754, -0.09902828931808472, -0.30179303884506226, -0.13336746394634247, 0.5531503558158875, 0.009396002627909184, -0.09540203958749771, 0.4312438666820526, 0.06264343112707138, -0.18787936866283417, -0.21889065206050873, -0.3993035554885864, -0.6171079277992249, -0.41979849338531494, 0.2735121548175812, -0.034423086792230606, -0.33706560730934143, -0.17466706037521362, 0.29109200835227966, 0.09245036542415619, 0.02287537418305874, 0.0806000679731369, -0.36797067523002625, -0.19498415291309357, -0.06707900762557983, -0.27803921699523926, 0.0684792771935463, 0.10245877504348755, -0.37116989493370056, 0.0683903843164444, 0.04208599403500557, -0.36104610562324524, -0.11567109823226929, -0.213944673538208, -0.12699145078659058, -0.033634889870882034, 0.11767581850290298, 0.2561064064502716, 0.11703123152256012, 0.13286705315113068, 0.06240599602460861, -0.274745911359787, -0.32785356044769287, -0.06749194860458374, 0.05281485617160797, 0.0073339808732271194, -0.16572518646717072, -0.039098694920539856, -0.18810930848121643, -0.0998057946562767, 0.06835918873548508, 0.3622523546218872, 0.2228899747133255, -0.0804934874176979, 0.09136691689491272, -0.190926194190979, 0.09091662615537643, -0.26212459802627563, 0.3027530908584595, 0.01757553406059742, 0.21150405704975128, -0.07884771376848221, 0.05039214715361595, -0.24882231652736664, -0.10194374620914459, 0.10434688627719879, -0.06551995128393173, -0.016231978312134743, 0.11911874264478683, -0.040522072464227676, -0.224483460187912, 0.031543098390102386, 0.13785907626152039, -0.20528191328048706, 0.20698414742946625, -0.19546876847743988, -0.3326714038848877, -0.026710709556937218, 0.2537997364997864, -0.20889978110790253, -0.06289234757423401, -0.3372613191604614, -0.05627581477165222, -0.006059971638023853, 0.33245688676834106, 0.137780100107193, -0.3961062431335449, 0.5713961124420166, 0.26787176728248596, 0.4610527753829956, -0.36565330624580383, -0.004248091951012611, 0.05235746502876282, -0.35980024933815, 0.09968150407075882, 0.041154731065034866, 0.10795500874519348, -0.018874989822506905, 0.5628809332847595, -0.13191953301429749, 0.0021226191893219948, 0.2921508550643921, 0.003036814508959651, -0.27909091114997864, -0.30916231870651245, 0.11593692749738693, 0.07954944670200348, -0.08234585076570511, 0.14828121662139893, 0.024610266089439392, 0.07461053133010864, -0.15223734080791473, 0.17946477234363556, -0.313926637172699, -0.37257617712020874, -0.08413045108318329, -0.12029474973678589, 0.29749736189842224, -0.1807810664176941, 0.003656738670542836, 0.12212767452001572, -0.11720238626003265, 0.0254091564565897, 0.3917541801929474, -0.07936946302652359, -0.2506501078605652, -0.34225547313690186, 0.3105267882347107, -0.07128069549798965, -0.11901727318763733, -0.02102886699140072, 0.593487560749054, 0.09859483689069748, 0.026239365339279175, 0.30976077914237976, 0.17940592765808105, 0.17028051614761353, 0.2891249358654022, -0.11193040758371353, -0.11864964663982391, -0.0576537661254406, -0.08907465636730194, -0.20208409428596497, 0.3030664622783661, 0.24238872528076172, -0.13239453732967377, 0.2140216827392578, 0.24020957946777344, -0.21352946758270264, 0.19362054765224457, 0.35727858543395996, 0.1290241777896881, 0.009838678874075413, 0.17769864201545715, -0.1426185667514801, 0.05261843279004097, 0.18594539165496826, 0.13128577172756195, -0.25867295265197754, -0.12929341197013855, -0.028654642403125763, -0.02613300457596779, 0.16841945052146912, -0.01074863038957119, 0.12446900457143784, 0.12760522961616516, 0.6130914092063904, 0.06795366108417511, 0.2092219442129135, -0.14236198365688324, 0.10535694658756256, -0.592360258102417, 0.31702592968940735, 0.2080426663160324, -0.13773882389068604, -0.258352667093277, 0.4328593909740448, -0.1734926402568817, 0.16250985860824585, -0.027838265523314476, 0.11226856708526611, 0.33296045660972595, -0.1347234696149826, -0.3861861824989319, -0.15120801329612732, 0.1714549958705902, -0.036175068467855453, 0.1201498806476593, -0.535575270652771, 0.08164986968040466, 0.08025436103343964, 0.10882698744535446, 0.1583441197872162, -0.505459725856781, 0.20880885422229767, 0.13056008517742157, 0.44241857528686523, -0.1620054394006729, 0.11516326665878296, 0.08796839416027069, -0.1277148276567459, -0.3417397439479828, -0.16052554547786713, 0.09778352826833725, -0.22211436927318573, 0.2226935774087906, -0.0973159447312355, -0.17952759563922882, 0.1453976184129715, -0.2299451380968094, 0.5856584906578064, 0.2467726469039917, 0.45674920082092285, -0.0011391197331249714, 0.1800602674484253, -0.012664168141782284, 0.18712782859802246, -0.01229526661336422, -0.007325051352381706, -0.20156557857990265, 0.14206811785697937, -0.2445826679468155, -0.3063221871852875, 0.29385918378829956, 0.11068807542324066, -0.3722344636917114, 0.010499583557248116, 0.27343857288360596, -0.14313171803951263, -0.3644530773162842, -0.6153107285499573, 0.4379870891571045, 0.15337219834327698, 0.02318737655878067, -0.05402369424700737, 0.1092282384634018, -0.3143727779388428, 0.05372282862663269, -0.15300944447517395, 0.2981623709201813, 0.08701817691326141, -0.04422711580991745, -0.08199018239974976, -0.08153257519006729 ]
https://github.com/huggingface/datasets/issues/1615
Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Train, Validation, and Test splits contain 138384, 18669, and 17210 samples respectively. It takes some time to read the samples. Even in your colab notebook it was reading the samples before you killed the process. Let me know if it works now!
Hello, I'm having issue downloading TriviaQA dataset with `load_dataset`. ## Environment info - `datasets` version: 1.1.3 - Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1 - Python version: 3.7.3 ## The code I'm running: ```python import datasets dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets") ``` ## The output: 1. Download begins: ``` Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d... Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s] ``` 2. 100% is reached 3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually. A similar issue can be observed in Google Colab: https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing ## Expected behaviour: The dataset "TriviaQA" should be successfully downloaded.
42
Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
[ -0.1144673302769661, 0.3958841562271118, -0.1283876895904541, 0.35347428917884827, 0.13258402049541473, 0.2150530368089676, 0.27215680480003357, 0.19289250671863556, 0.2596134543418884, -0.07622022181749344, -0.18119652569293976, 0.09229855984449387, 0.07858476787805557, -0.030082376673817635, -0.056184738874435425, 0.07656083256006241, -0.08245013654232025, 0.09471874684095383, 0.060758788138628006, 0.040704306215047836, -0.18313860893249512, 0.34903019666671753, -0.10105586051940918, -0.13538476824760437, -0.17538735270500183, -0.03272327035665512, 0.11334334313869476, 0.4390573799610138, -0.12965714931488037, -0.2728467583656311, 0.4372541010379791, 0.27744829654693604, 0.08282465487718582, 0.253888875246048, -0.000104773513157852, -0.0807318389415741, 0.140003502368927, -0.1597178727388382, -0.5048447847366333, 0.13628624379634857, -0.43952974677085876, 0.35115063190460205, -0.07213705033063889, -0.06578035652637482, 0.046447254717350006, 0.32233113050460815, 0.03900248557329178, -0.6143832206726074, 0.012814870104193687, 0.2597277760505676, 0.3089248538017273, 0.01476177480071783, -0.3031565248966217, -0.2952103018760681, 0.2664197087287903, -0.1632254272699356, -0.24701979756355286, 0.17338478565216064, -0.09245497733354568, 0.0385160930454731, -0.1567351073026657, 0.5095198154449463, 0.08664792776107788, 0.298614501953125, 0.04088583216071129, 0.05286663770675659, -0.25960254669189453, 0.016114532947540283, 0.39631280303001404, 0.01742495596408844, 0.6386580467224121, -0.2624077796936035, -0.1862591654062271, 0.1518862098455429, -0.16076752543449402, -0.1739177405834198, 0.2912328541278839, -0.07398122549057007, -0.2693236768245697, 0.009418684989213943, 0.1888178586959839, -0.10483662039041519, -0.11883615702390671, -0.06989727169275284, -0.11276212334632874, -0.07692719995975494, -0.13534143567085266, -0.05462794378399849, -0.017461495473980904, 0.032419443130493164, 0.2980503737926483, 0.11835110187530518, -0.25647401809692383, 0.056069038808345795, -0.20548036694526672, 0.09112685173749924, 0.20743194222450256, 0.0035238447599112988, 0.12936052680015564, 0.23992806673049927, 0.2504962682723999, 0.19688542187213898, -0.2318730503320694, -0.21240662038326263, 0.20848678052425385, 0.5501707196235657, -0.070234015583992, -0.26562654972076416, 0.31603965163230896, 0.27771762013435364, -0.10069014877080917, 0.061506979167461395, -0.08092489838600159, 0.0912264809012413, 0.021514851599931717, 0.08860759437084198, 0.17699237167835236, -0.2536071240901947, -0.22507941722869873, -0.11376676708459854, 0.22630108892917633, 0.10864219069480896, -0.1784219592809677, 0.4196508824825287, -0.21529075503349304, 0.09483128041028976, -0.25155600905418396, 0.23372599482536316, -0.11167295277118683, -0.07426165789365768, -0.3531741797924042, -0.07433921098709106, 0.10649978369474411, 0.10968302190303802, 0.43706247210502625, 0.2044653594493866, 0.2432822734117508, -0.2855673134326935, 0.14832621812820435, 0.04587225243449211, 0.05460968241095543, -0.2681223750114441, -0.025843994691967964, 0.14878876507282257, 0.09308404475450516, 0.2459069788455963, 0.046657271683216095, -0.01309570949524641, -0.08022308349609375, 0.11044390499591827, -0.1792759746313095, -0.4043952226638794, -0.05273083969950676, 0.21743938326835632, -0.16285370290279388, -0.09713917970657349, 0.18996182084083557, -0.02043028734624386, 0.19051897525787354, -0.09233482927083969, -0.11572860181331635, 0.2036769539117813, -0.14565607905387878, -0.2745271921157837, 0.14378902316093445, 0.5719955563545227, -0.23708269000053406, 0.178752601146698, -0.09622082859277725, 0.02785237319767475, 0.04888743534684181, 0.15309695899486542, -0.03634265810251236, 0.04533655568957329, -0.3640460669994354, 0.18355421721935272, 0.5811136960983276, -0.5778927803039551, -0.5847355127334595, -0.024434931576251984, 0.1235312819480896, 0.15344049036502838, 0.24080628156661987, 0.09386473894119263, 0.1892809122800827, 0.09013369679450989, 0.18255095183849335, 0.3274979293346405, 0.04817095771431923, 0.08975236862897873, -0.21171480417251587, -0.31038862466812134, 0.1616712361574173, 0.21439026296138763, 0.020639922469854355, 0.13364724814891815, 0.08840782940387726, 0.1943933516740799, 0.1452740877866745, 0.27260684967041016, -0.046500314027071, 0.08633698523044586, 0.010538831353187561, -0.22907744348049164, 0.17240525782108307, 0.09464011341333389, -0.6965624690055847, 0.2811121344566345, -0.10537533462047577, 0.07710976153612137, -0.26584023237228394, -0.014573286287486553, -0.49360963702201843, -0.14096671342849731, -0.28504928946495056, -0.3436335623264313, 0.22487978637218475, 0.30067160725593567, 0.4277087450027466, 0.09447650611400604, 0.035379569977521896, 0.443681001663208, 0.2310406118631363, -0.22355780005455017, -0.18715351819992065, -0.26789161562919617, -0.16315065324306488, -0.11146640032529831, -0.1138225644826889, 0.17982357740402222, 0.06635518372058868, -0.04535192623734474, -0.1427711695432663, 0.0987163707613945, 0.14998331665992737, 0.060336656868457794, -0.03581640496850014, -0.08947239816188812, 0.11133964359760284, 0.01647537387907505, 0.3248177766799927, 0.13444189727306366, 0.13203735649585724, -0.08559432625770569, -0.3554835617542267, -0.07462039589881897, -0.2597225606441498, 0.10429462790489197, 0.09450553357601166, -0.021315021440386772, 0.5149376392364502, 0.045085880905389786, 0.26314908266067505, -0.3853873908519745, -0.019397560507059097, 0.07174189388751984, 0.16665300726890564, -0.06066683679819107, 0.02374681457877159, 0.36579516530036926, 0.39734363555908203, 0.3263269066810608, 0.18140506744384766, -0.04158184677362442, -0.06202338635921478, -0.1897646188735962, 0.20687496662139893, 0.2847840189933777, 0.5480071902275085, 0.11276181042194366, 0.3156103491783142, -0.04097559303045273, 0.05126121640205383, -0.2924574017524719, 0.07147752493619919, -0.11017371714115143, -0.12994472682476044, 0.17938949167728424, 0.37596914172172546, -0.15923668444156647, -0.1227731853723526, -0.028539931401610374, 0.08017104864120483, 0.06640831381082535, -0.15667463839054108, 0.049545641988515854, -0.19550590217113495, -0.2672935724258423, 0.13220374286174774, -0.08856558054685593, 0.1594334989786148, -0.38808852434158325, 0.25401705503463745, 0.29323044419288635, -0.010197887197136879, 0.10470999777317047, -0.21651938557624817, 0.2701953649520874, 0.06886198371648788, -0.47450557351112366, -0.31301623582839966, -0.2638868987560272, -0.12821818888187408, 0.16771778464317322, -0.11768769472837448, -0.1844017058610916, 0.24388433992862701, -0.24405641853809357, 0.10140170156955719, -0.28363052010536194, -0.0212745051831007, 0.07793201506137848, 0.08350851386785507, 0.15091510117053986, 0.22190594673156738, 0.22156664729118347, 0.06357624381780624, 0.056950610131025314, 0.15218453109264374, -0.08080589771270752, -0.0902627483010292, -0.047573287039995193, 0.05397011712193489, 0.1299889087677002, -0.24594223499298096, -0.5943350791931152, -0.25094249844551086, -0.3843909800052643, 0.1706520915031433, 0.34857824444770813, 0.07550530135631561, 0.44331276416778564, 0.011679551564157009, -0.10930558294057846, 0.1785198152065277, -0.02720043994486332, -0.453326940536499, -0.28198346495628357, 0.4391224682331085, -0.3196451961994171, -0.08659812808036804, 0.12867699563503265, 0.08021683990955353, 0.505411684513092, 0.17009183764457703, -0.41924476623535156, -0.08137665688991547, -0.20287254452705383, 0.559615969657898, -0.08894592523574829, -0.19678866863250732, 0.3731647729873657, -0.08063872903585434, -0.13682515919208527, -0.07352279871702194, -0.09115523099899292, 0.1693691909313202, 0.13939207792282104, 0.09847670048475266, -0.028028126806020737, -0.015897754579782486, 0.06116130203008652, 0.623797595500946, -0.10169658064842224, 0.36402732133865356, 0.43212202191352844, -0.09531936794519424, 0.4441700577735901, -0.29826226830482483, -0.019507644698023796, 0.09690872579813004, -0.04083683714270592, -0.13711094856262207, 0.10027109831571579, 0.1894642859697342, 0.14084747433662415, -0.19254620373249054, 0.2834100127220154, 0.05116167291998863, -0.11449838429689407, -0.10233207792043686, -0.21639099717140198, -0.1487889289855957, 0.23315003514289856, 0.2560989260673523, -0.02444235049188137, -0.23364277184009552, 0.258884996175766, 0.00024069746723398566, -0.31138330698013306, 0.14246141910552979, 0.18471091985702515, 0.26104655861854553, -0.3149614930152893, 0.14234738051891327, 0.054437778890132904, 0.1395142823457718, -0.15748636424541473, -0.19561827182769775, 0.05026480555534363, 0.009360730648040771, 0.709250807762146, -0.07488782703876495, 0.3282444179058075, 0.04605801776051521, 0.14541348814964294, -0.19316238164901733, -0.029307877644896507, -0.04185296595096588, 0.15523536503314972, -0.11472750455141068, 0.1840611696243286, -0.10120852291584015, 0.2461545318365097, -0.003521050326526165, 0.11291053891181946, -0.08219733089208603, -0.0448850616812706, -0.27357277274131775, -0.36577677726745605, -0.29023513197898865, -0.20064231753349304, 0.08483950793743134, 0.06325496733188629, -0.052517011761665344, -0.03192858397960663, -0.08900266885757446, -0.09681161493062973, -0.3017066419124603, 0.2934797406196594, 0.2725435793399811, 0.0730249360203743, 0.05375922471284866, 0.08052866160869598, -0.2602846920490265, -0.15848812460899353, 0.534249484539032, -0.11778879910707474, -0.27074238657951355, 0.062214408069849014, -0.1692437082529068, -0.36268121004104614, 0.257414847612381, -0.2869166135787964, -0.16565486788749695, -0.05153758078813553, -0.24405130743980408, 0.0333615280687809, 0.27541324496269226, -0.10936658084392548, -0.4469205439090729, 0.15431584417819977, -0.25316759943962097, 0.35643449425697327, 0.04568703845143318, -0.10969346761703491, 0.4393000900745392, -0.3468494415283203, -0.1868128627538681, 0.1175021082162857, -0.1130010187625885, 0.6278261542320251, -0.08274547755718231, 0.26205340027809143, 0.3371366262435913, -0.30311617255210876, 0.5340246558189392, -0.3325388729572296, 0.15741226077079773, -0.22402268648147583, -0.13267391920089722, 0.118502676486969, -0.04636020585894585, -0.06663594394922256, -0.12167566269636154, -0.32718726992607117, 0.20699161291122437, -0.28253936767578125, 0.24575188755989075, -0.01225750520825386, -0.08466210961341858, -0.1541389375925064, -0.26245376467704773, -0.21201957762241364, 0.24911770224571228, -0.08974450826644897, 0.19170719385147095, -0.2054850310087204, 0.06268718093633652, 0.005463660694658756, -0.049012839794158936, -0.0955277681350708, 0.2749802768230438, -0.27757728099823, 0.2126466929912567, -0.06455682218074799, -0.22553421556949615, -0.5161387920379639, 0.13305555284023285, 0.32447874546051025, -0.05011937394738197, -0.24388179183006287, 0.2920490801334381, 0.25665783882141113, -0.025173690170049667, 0.02918829396367073, 0.12694574892520905, -0.10283578187227249, -0.14223699271678925, 0.06845611333847046, 0.18437014520168304, -0.28845280408859253, -0.23581911623477936, -0.11927057057619095, 0.10565067082643509, 0.11271600425243378, 0.058110132813453674, -0.2370678335428238, -0.19792702794075012, 0.14586608111858368, -0.19197264313697815, 0.19874943792819977, 0.005714163649827242, 0.11244195699691772, -0.021836528554558754, -0.09902828931808472, -0.30179303884506226, -0.13336746394634247, 0.5531503558158875, 0.009396002627909184, -0.09540203958749771, 0.4312438666820526, 0.06264343112707138, -0.18787936866283417, -0.21889065206050873, -0.3993035554885864, -0.6171079277992249, -0.41979849338531494, 0.2735121548175812, -0.034423086792230606, -0.33706560730934143, -0.17466706037521362, 0.29109200835227966, 0.09245036542415619, 0.02287537418305874, 0.0806000679731369, -0.36797067523002625, -0.19498415291309357, -0.06707900762557983, -0.27803921699523926, 0.0684792771935463, 0.10245877504348755, -0.37116989493370056, 0.0683903843164444, 0.04208599403500557, -0.36104610562324524, -0.11567109823226929, -0.213944673538208, -0.12699145078659058, -0.033634889870882034, 0.11767581850290298, 0.2561064064502716, 0.11703123152256012, 0.13286705315113068, 0.06240599602460861, -0.274745911359787, -0.32785356044769287, -0.06749194860458374, 0.05281485617160797, 0.0073339808732271194, -0.16572518646717072, -0.039098694920539856, -0.18810930848121643, -0.0998057946562767, 0.06835918873548508, 0.3622523546218872, 0.2228899747133255, -0.0804934874176979, 0.09136691689491272, -0.190926194190979, 0.09091662615537643, -0.26212459802627563, 0.3027530908584595, 0.01757553406059742, 0.21150405704975128, -0.07884771376848221, 0.05039214715361595, -0.24882231652736664, -0.10194374620914459, 0.10434688627719879, -0.06551995128393173, -0.016231978312134743, 0.11911874264478683, -0.040522072464227676, -0.224483460187912, 0.031543098390102386, 0.13785907626152039, -0.20528191328048706, 0.20698414742946625, -0.19546876847743988, -0.3326714038848877, -0.026710709556937218, 0.2537997364997864, -0.20889978110790253, -0.06289234757423401, -0.3372613191604614, -0.05627581477165222, -0.006059971638023853, 0.33245688676834106, 0.137780100107193, -0.3961062431335449, 0.5713961124420166, 0.26787176728248596, 0.4610527753829956, -0.36565330624580383, -0.004248091951012611, 0.05235746502876282, -0.35980024933815, 0.09968150407075882, 0.041154731065034866, 0.10795500874519348, -0.018874989822506905, 0.5628809332847595, -0.13191953301429749, 0.0021226191893219948, 0.2921508550643921, 0.003036814508959651, -0.27909091114997864, -0.30916231870651245, 0.11593692749738693, 0.07954944670200348, -0.08234585076570511, 0.14828121662139893, 0.024610266089439392, 0.07461053133010864, -0.15223734080791473, 0.17946477234363556, -0.313926637172699, -0.37257617712020874, -0.08413045108318329, -0.12029474973678589, 0.29749736189842224, -0.1807810664176941, 0.003656738670542836, 0.12212767452001572, -0.11720238626003265, 0.0254091564565897, 0.3917541801929474, -0.07936946302652359, -0.2506501078605652, -0.34225547313690186, 0.3105267882347107, -0.07128069549798965, -0.11901727318763733, -0.02102886699140072, 0.593487560749054, 0.09859483689069748, 0.026239365339279175, 0.30976077914237976, 0.17940592765808105, 0.17028051614761353, 0.2891249358654022, -0.11193040758371353, -0.11864964663982391, -0.0576537661254406, -0.08907465636730194, -0.20208409428596497, 0.3030664622783661, 0.24238872528076172, -0.13239453732967377, 0.2140216827392578, 0.24020957946777344, -0.21352946758270264, 0.19362054765224457, 0.35727858543395996, 0.1290241777896881, 0.009838678874075413, 0.17769864201545715, -0.1426185667514801, 0.05261843279004097, 0.18594539165496826, 0.13128577172756195, -0.25867295265197754, -0.12929341197013855, -0.028654642403125763, -0.02613300457596779, 0.16841945052146912, -0.01074863038957119, 0.12446900457143784, 0.12760522961616516, 0.6130914092063904, 0.06795366108417511, 0.2092219442129135, -0.14236198365688324, 0.10535694658756256, -0.592360258102417, 0.31702592968940735, 0.2080426663160324, -0.13773882389068604, -0.258352667093277, 0.4328593909740448, -0.1734926402568817, 0.16250985860824585, -0.027838265523314476, 0.11226856708526611, 0.33296045660972595, -0.1347234696149826, -0.3861861824989319, -0.15120801329612732, 0.1714549958705902, -0.036175068467855453, 0.1201498806476593, -0.535575270652771, 0.08164986968040466, 0.08025436103343964, 0.10882698744535446, 0.1583441197872162, -0.505459725856781, 0.20880885422229767, 0.13056008517742157, 0.44241857528686523, -0.1620054394006729, 0.11516326665878296, 0.08796839416027069, -0.1277148276567459, -0.3417397439479828, -0.16052554547786713, 0.09778352826833725, -0.22211436927318573, 0.2226935774087906, -0.0973159447312355, -0.17952759563922882, 0.1453976184129715, -0.2299451380968094, 0.5856584906578064, 0.2467726469039917, 0.45674920082092285, -0.0011391197331249714, 0.1800602674484253, -0.012664168141782284, 0.18712782859802246, -0.01229526661336422, -0.007325051352381706, -0.20156557857990265, 0.14206811785697937, -0.2445826679468155, -0.3063221871852875, 0.29385918378829956, 0.11068807542324066, -0.3722344636917114, 0.010499583557248116, 0.27343857288360596, -0.14313171803951263, -0.3644530773162842, -0.6153107285499573, 0.4379870891571045, 0.15337219834327698, 0.02318737655878067, -0.05402369424700737, 0.1092282384634018, -0.3143727779388428, 0.05372282862663269, -0.15300944447517395, 0.2981623709201813, 0.08701817691326141, -0.04422711580991745, -0.08199018239974976, -0.08153257519006729 ]
https://github.com/huggingface/datasets/issues/1615
Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hi, it works on colab but it still doesn't work on my computer, same problem as before - overly large and long extraction process. I have to use a custom 'cache_dir' because I don't have any space left in my home directory where it is defaulted, maybe this could be the issue?
Hello, I'm having issue downloading TriviaQA dataset with `load_dataset`. ## Environment info - `datasets` version: 1.1.3 - Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1 - Python version: 3.7.3 ## The code I'm running: ```python import datasets dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets") ``` ## The output: 1. Download begins: ``` Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d... Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s] ``` 2. 100% is reached 3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually. A similar issue can be observed in Google Colab: https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing ## Expected behaviour: The dataset "TriviaQA" should be successfully downloaded.
52
Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
[ -0.1144673302769661, 0.3958841562271118, -0.1283876895904541, 0.35347428917884827, 0.13258402049541473, 0.2150530368089676, 0.27215680480003357, 0.19289250671863556, 0.2596134543418884, -0.07622022181749344, -0.18119652569293976, 0.09229855984449387, 0.07858476787805557, -0.030082376673817635, -0.056184738874435425, 0.07656083256006241, -0.08245013654232025, 0.09471874684095383, 0.060758788138628006, 0.040704306215047836, -0.18313860893249512, 0.34903019666671753, -0.10105586051940918, -0.13538476824760437, -0.17538735270500183, -0.03272327035665512, 0.11334334313869476, 0.4390573799610138, -0.12965714931488037, -0.2728467583656311, 0.4372541010379791, 0.27744829654693604, 0.08282465487718582, 0.253888875246048, -0.000104773513157852, -0.0807318389415741, 0.140003502368927, -0.1597178727388382, -0.5048447847366333, 0.13628624379634857, -0.43952974677085876, 0.35115063190460205, -0.07213705033063889, -0.06578035652637482, 0.046447254717350006, 0.32233113050460815, 0.03900248557329178, -0.6143832206726074, 0.012814870104193687, 0.2597277760505676, 0.3089248538017273, 0.01476177480071783, -0.3031565248966217, -0.2952103018760681, 0.2664197087287903, -0.1632254272699356, -0.24701979756355286, 0.17338478565216064, -0.09245497733354568, 0.0385160930454731, -0.1567351073026657, 0.5095198154449463, 0.08664792776107788, 0.298614501953125, 0.04088583216071129, 0.05286663770675659, -0.25960254669189453, 0.016114532947540283, 0.39631280303001404, 0.01742495596408844, 0.6386580467224121, -0.2624077796936035, -0.1862591654062271, 0.1518862098455429, -0.16076752543449402, -0.1739177405834198, 0.2912328541278839, -0.07398122549057007, -0.2693236768245697, 0.009418684989213943, 0.1888178586959839, -0.10483662039041519, -0.11883615702390671, -0.06989727169275284, -0.11276212334632874, -0.07692719995975494, -0.13534143567085266, -0.05462794378399849, -0.017461495473980904, 0.032419443130493164, 0.2980503737926483, 0.11835110187530518, -0.25647401809692383, 0.056069038808345795, -0.20548036694526672, 0.09112685173749924, 0.20743194222450256, 0.0035238447599112988, 0.12936052680015564, 0.23992806673049927, 0.2504962682723999, 0.19688542187213898, -0.2318730503320694, -0.21240662038326263, 0.20848678052425385, 0.5501707196235657, -0.070234015583992, -0.26562654972076416, 0.31603965163230896, 0.27771762013435364, -0.10069014877080917, 0.061506979167461395, -0.08092489838600159, 0.0912264809012413, 0.021514851599931717, 0.08860759437084198, 0.17699237167835236, -0.2536071240901947, -0.22507941722869873, -0.11376676708459854, 0.22630108892917633, 0.10864219069480896, -0.1784219592809677, 0.4196508824825287, -0.21529075503349304, 0.09483128041028976, -0.25155600905418396, 0.23372599482536316, -0.11167295277118683, -0.07426165789365768, -0.3531741797924042, -0.07433921098709106, 0.10649978369474411, 0.10968302190303802, 0.43706247210502625, 0.2044653594493866, 0.2432822734117508, -0.2855673134326935, 0.14832621812820435, 0.04587225243449211, 0.05460968241095543, -0.2681223750114441, -0.025843994691967964, 0.14878876507282257, 0.09308404475450516, 0.2459069788455963, 0.046657271683216095, -0.01309570949524641, -0.08022308349609375, 0.11044390499591827, -0.1792759746313095, -0.4043952226638794, -0.05273083969950676, 0.21743938326835632, -0.16285370290279388, -0.09713917970657349, 0.18996182084083557, -0.02043028734624386, 0.19051897525787354, -0.09233482927083969, -0.11572860181331635, 0.2036769539117813, -0.14565607905387878, -0.2745271921157837, 0.14378902316093445, 0.5719955563545227, -0.23708269000053406, 0.178752601146698, -0.09622082859277725, 0.02785237319767475, 0.04888743534684181, 0.15309695899486542, -0.03634265810251236, 0.04533655568957329, -0.3640460669994354, 0.18355421721935272, 0.5811136960983276, -0.5778927803039551, -0.5847355127334595, -0.024434931576251984, 0.1235312819480896, 0.15344049036502838, 0.24080628156661987, 0.09386473894119263, 0.1892809122800827, 0.09013369679450989, 0.18255095183849335, 0.3274979293346405, 0.04817095771431923, 0.08975236862897873, -0.21171480417251587, -0.31038862466812134, 0.1616712361574173, 0.21439026296138763, 0.020639922469854355, 0.13364724814891815, 0.08840782940387726, 0.1943933516740799, 0.1452740877866745, 0.27260684967041016, -0.046500314027071, 0.08633698523044586, 0.010538831353187561, -0.22907744348049164, 0.17240525782108307, 0.09464011341333389, -0.6965624690055847, 0.2811121344566345, -0.10537533462047577, 0.07710976153612137, -0.26584023237228394, -0.014573286287486553, -0.49360963702201843, -0.14096671342849731, -0.28504928946495056, -0.3436335623264313, 0.22487978637218475, 0.30067160725593567, 0.4277087450027466, 0.09447650611400604, 0.035379569977521896, 0.443681001663208, 0.2310406118631363, -0.22355780005455017, -0.18715351819992065, -0.26789161562919617, -0.16315065324306488, -0.11146640032529831, -0.1138225644826889, 0.17982357740402222, 0.06635518372058868, -0.04535192623734474, -0.1427711695432663, 0.0987163707613945, 0.14998331665992737, 0.060336656868457794, -0.03581640496850014, -0.08947239816188812, 0.11133964359760284, 0.01647537387907505, 0.3248177766799927, 0.13444189727306366, 0.13203735649585724, -0.08559432625770569, -0.3554835617542267, -0.07462039589881897, -0.2597225606441498, 0.10429462790489197, 0.09450553357601166, -0.021315021440386772, 0.5149376392364502, 0.045085880905389786, 0.26314908266067505, -0.3853873908519745, -0.019397560507059097, 0.07174189388751984, 0.16665300726890564, -0.06066683679819107, 0.02374681457877159, 0.36579516530036926, 0.39734363555908203, 0.3263269066810608, 0.18140506744384766, -0.04158184677362442, -0.06202338635921478, -0.1897646188735962, 0.20687496662139893, 0.2847840189933777, 0.5480071902275085, 0.11276181042194366, 0.3156103491783142, -0.04097559303045273, 0.05126121640205383, -0.2924574017524719, 0.07147752493619919, -0.11017371714115143, -0.12994472682476044, 0.17938949167728424, 0.37596914172172546, -0.15923668444156647, -0.1227731853723526, -0.028539931401610374, 0.08017104864120483, 0.06640831381082535, -0.15667463839054108, 0.049545641988515854, -0.19550590217113495, -0.2672935724258423, 0.13220374286174774, -0.08856558054685593, 0.1594334989786148, -0.38808852434158325, 0.25401705503463745, 0.29323044419288635, -0.010197887197136879, 0.10470999777317047, -0.21651938557624817, 0.2701953649520874, 0.06886198371648788, -0.47450557351112366, -0.31301623582839966, -0.2638868987560272, -0.12821818888187408, 0.16771778464317322, -0.11768769472837448, -0.1844017058610916, 0.24388433992862701, -0.24405641853809357, 0.10140170156955719, -0.28363052010536194, -0.0212745051831007, 0.07793201506137848, 0.08350851386785507, 0.15091510117053986, 0.22190594673156738, 0.22156664729118347, 0.06357624381780624, 0.056950610131025314, 0.15218453109264374, -0.08080589771270752, -0.0902627483010292, -0.047573287039995193, 0.05397011712193489, 0.1299889087677002, -0.24594223499298096, -0.5943350791931152, -0.25094249844551086, -0.3843909800052643, 0.1706520915031433, 0.34857824444770813, 0.07550530135631561, 0.44331276416778564, 0.011679551564157009, -0.10930558294057846, 0.1785198152065277, -0.02720043994486332, -0.453326940536499, -0.28198346495628357, 0.4391224682331085, -0.3196451961994171, -0.08659812808036804, 0.12867699563503265, 0.08021683990955353, 0.505411684513092, 0.17009183764457703, -0.41924476623535156, -0.08137665688991547, -0.20287254452705383, 0.559615969657898, -0.08894592523574829, -0.19678866863250732, 0.3731647729873657, -0.08063872903585434, -0.13682515919208527, -0.07352279871702194, -0.09115523099899292, 0.1693691909313202, 0.13939207792282104, 0.09847670048475266, -0.028028126806020737, -0.015897754579782486, 0.06116130203008652, 0.623797595500946, -0.10169658064842224, 0.36402732133865356, 0.43212202191352844, -0.09531936794519424, 0.4441700577735901, -0.29826226830482483, -0.019507644698023796, 0.09690872579813004, -0.04083683714270592, -0.13711094856262207, 0.10027109831571579, 0.1894642859697342, 0.14084747433662415, -0.19254620373249054, 0.2834100127220154, 0.05116167291998863, -0.11449838429689407, -0.10233207792043686, -0.21639099717140198, -0.1487889289855957, 0.23315003514289856, 0.2560989260673523, -0.02444235049188137, -0.23364277184009552, 0.258884996175766, 0.00024069746723398566, -0.31138330698013306, 0.14246141910552979, 0.18471091985702515, 0.26104655861854553, -0.3149614930152893, 0.14234738051891327, 0.054437778890132904, 0.1395142823457718, -0.15748636424541473, -0.19561827182769775, 0.05026480555534363, 0.009360730648040771, 0.709250807762146, -0.07488782703876495, 0.3282444179058075, 0.04605801776051521, 0.14541348814964294, -0.19316238164901733, -0.029307877644896507, -0.04185296595096588, 0.15523536503314972, -0.11472750455141068, 0.1840611696243286, -0.10120852291584015, 0.2461545318365097, -0.003521050326526165, 0.11291053891181946, -0.08219733089208603, -0.0448850616812706, -0.27357277274131775, -0.36577677726745605, -0.29023513197898865, -0.20064231753349304, 0.08483950793743134, 0.06325496733188629, -0.052517011761665344, -0.03192858397960663, -0.08900266885757446, -0.09681161493062973, -0.3017066419124603, 0.2934797406196594, 0.2725435793399811, 0.0730249360203743, 0.05375922471284866, 0.08052866160869598, -0.2602846920490265, -0.15848812460899353, 0.534249484539032, -0.11778879910707474, -0.27074238657951355, 0.062214408069849014, -0.1692437082529068, -0.36268121004104614, 0.257414847612381, -0.2869166135787964, -0.16565486788749695, -0.05153758078813553, -0.24405130743980408, 0.0333615280687809, 0.27541324496269226, -0.10936658084392548, -0.4469205439090729, 0.15431584417819977, -0.25316759943962097, 0.35643449425697327, 0.04568703845143318, -0.10969346761703491, 0.4393000900745392, -0.3468494415283203, -0.1868128627538681, 0.1175021082162857, -0.1130010187625885, 0.6278261542320251, -0.08274547755718231, 0.26205340027809143, 0.3371366262435913, -0.30311617255210876, 0.5340246558189392, -0.3325388729572296, 0.15741226077079773, -0.22402268648147583, -0.13267391920089722, 0.118502676486969, -0.04636020585894585, -0.06663594394922256, -0.12167566269636154, -0.32718726992607117, 0.20699161291122437, -0.28253936767578125, 0.24575188755989075, -0.01225750520825386, -0.08466210961341858, -0.1541389375925064, -0.26245376467704773, -0.21201957762241364, 0.24911770224571228, -0.08974450826644897, 0.19170719385147095, -0.2054850310087204, 0.06268718093633652, 0.005463660694658756, -0.049012839794158936, -0.0955277681350708, 0.2749802768230438, -0.27757728099823, 0.2126466929912567, -0.06455682218074799, -0.22553421556949615, -0.5161387920379639, 0.13305555284023285, 0.32447874546051025, -0.05011937394738197, -0.24388179183006287, 0.2920490801334381, 0.25665783882141113, -0.025173690170049667, 0.02918829396367073, 0.12694574892520905, -0.10283578187227249, -0.14223699271678925, 0.06845611333847046, 0.18437014520168304, -0.28845280408859253, -0.23581911623477936, -0.11927057057619095, 0.10565067082643509, 0.11271600425243378, 0.058110132813453674, -0.2370678335428238, -0.19792702794075012, 0.14586608111858368, -0.19197264313697815, 0.19874943792819977, 0.005714163649827242, 0.11244195699691772, -0.021836528554558754, -0.09902828931808472, -0.30179303884506226, -0.13336746394634247, 0.5531503558158875, 0.009396002627909184, -0.09540203958749771, 0.4312438666820526, 0.06264343112707138, -0.18787936866283417, -0.21889065206050873, -0.3993035554885864, -0.6171079277992249, -0.41979849338531494, 0.2735121548175812, -0.034423086792230606, -0.33706560730934143, -0.17466706037521362, 0.29109200835227966, 0.09245036542415619, 0.02287537418305874, 0.0806000679731369, -0.36797067523002625, -0.19498415291309357, -0.06707900762557983, -0.27803921699523926, 0.0684792771935463, 0.10245877504348755, -0.37116989493370056, 0.0683903843164444, 0.04208599403500557, -0.36104610562324524, -0.11567109823226929, -0.213944673538208, -0.12699145078659058, -0.033634889870882034, 0.11767581850290298, 0.2561064064502716, 0.11703123152256012, 0.13286705315113068, 0.06240599602460861, -0.274745911359787, -0.32785356044769287, -0.06749194860458374, 0.05281485617160797, 0.0073339808732271194, -0.16572518646717072, -0.039098694920539856, -0.18810930848121643, -0.0998057946562767, 0.06835918873548508, 0.3622523546218872, 0.2228899747133255, -0.0804934874176979, 0.09136691689491272, -0.190926194190979, 0.09091662615537643, -0.26212459802627563, 0.3027530908584595, 0.01757553406059742, 0.21150405704975128, -0.07884771376848221, 0.05039214715361595, -0.24882231652736664, -0.10194374620914459, 0.10434688627719879, -0.06551995128393173, -0.016231978312134743, 0.11911874264478683, -0.040522072464227676, -0.224483460187912, 0.031543098390102386, 0.13785907626152039, -0.20528191328048706, 0.20698414742946625, -0.19546876847743988, -0.3326714038848877, -0.026710709556937218, 0.2537997364997864, -0.20889978110790253, -0.06289234757423401, -0.3372613191604614, -0.05627581477165222, -0.006059971638023853, 0.33245688676834106, 0.137780100107193, -0.3961062431335449, 0.5713961124420166, 0.26787176728248596, 0.4610527753829956, -0.36565330624580383, -0.004248091951012611, 0.05235746502876282, -0.35980024933815, 0.09968150407075882, 0.041154731065034866, 0.10795500874519348, -0.018874989822506905, 0.5628809332847595, -0.13191953301429749, 0.0021226191893219948, 0.2921508550643921, 0.003036814508959651, -0.27909091114997864, -0.30916231870651245, 0.11593692749738693, 0.07954944670200348, -0.08234585076570511, 0.14828121662139893, 0.024610266089439392, 0.07461053133010864, -0.15223734080791473, 0.17946477234363556, -0.313926637172699, -0.37257617712020874, -0.08413045108318329, -0.12029474973678589, 0.29749736189842224, -0.1807810664176941, 0.003656738670542836, 0.12212767452001572, -0.11720238626003265, 0.0254091564565897, 0.3917541801929474, -0.07936946302652359, -0.2506501078605652, -0.34225547313690186, 0.3105267882347107, -0.07128069549798965, -0.11901727318763733, -0.02102886699140072, 0.593487560749054, 0.09859483689069748, 0.026239365339279175, 0.30976077914237976, 0.17940592765808105, 0.17028051614761353, 0.2891249358654022, -0.11193040758371353, -0.11864964663982391, -0.0576537661254406, -0.08907465636730194, -0.20208409428596497, 0.3030664622783661, 0.24238872528076172, -0.13239453732967377, 0.2140216827392578, 0.24020957946777344, -0.21352946758270264, 0.19362054765224457, 0.35727858543395996, 0.1290241777896881, 0.009838678874075413, 0.17769864201545715, -0.1426185667514801, 0.05261843279004097, 0.18594539165496826, 0.13128577172756195, -0.25867295265197754, -0.12929341197013855, -0.028654642403125763, -0.02613300457596779, 0.16841945052146912, -0.01074863038957119, 0.12446900457143784, 0.12760522961616516, 0.6130914092063904, 0.06795366108417511, 0.2092219442129135, -0.14236198365688324, 0.10535694658756256, -0.592360258102417, 0.31702592968940735, 0.2080426663160324, -0.13773882389068604, -0.258352667093277, 0.4328593909740448, -0.1734926402568817, 0.16250985860824585, -0.027838265523314476, 0.11226856708526611, 0.33296045660972595, -0.1347234696149826, -0.3861861824989319, -0.15120801329612732, 0.1714549958705902, -0.036175068467855453, 0.1201498806476593, -0.535575270652771, 0.08164986968040466, 0.08025436103343964, 0.10882698744535446, 0.1583441197872162, -0.505459725856781, 0.20880885422229767, 0.13056008517742157, 0.44241857528686523, -0.1620054394006729, 0.11516326665878296, 0.08796839416027069, -0.1277148276567459, -0.3417397439479828, -0.16052554547786713, 0.09778352826833725, -0.22211436927318573, 0.2226935774087906, -0.0973159447312355, -0.17952759563922882, 0.1453976184129715, -0.2299451380968094, 0.5856584906578064, 0.2467726469039917, 0.45674920082092285, -0.0011391197331249714, 0.1800602674484253, -0.012664168141782284, 0.18712782859802246, -0.01229526661336422, -0.007325051352381706, -0.20156557857990265, 0.14206811785697937, -0.2445826679468155, -0.3063221871852875, 0.29385918378829956, 0.11068807542324066, -0.3722344636917114, 0.010499583557248116, 0.27343857288360596, -0.14313171803951263, -0.3644530773162842, -0.6153107285499573, 0.4379870891571045, 0.15337219834327698, 0.02318737655878067, -0.05402369424700737, 0.1092282384634018, -0.3143727779388428, 0.05372282862663269, -0.15300944447517395, 0.2981623709201813, 0.08701817691326141, -0.04422711580991745, -0.08199018239974976, -0.08153257519006729 ]
https://github.com/huggingface/datasets/issues/1615
Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
I tried running this again - More details of the problem: Code: ``` datasets.load_dataset("trivia_qa", "rc", cache_dir="/path/to/cache") ``` The output: ``` Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to path/to/cache/trivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d... Downloading: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2.67G/2.67G [03:38<00:00, 12.2MB/s] ``` The process continues (no progress bar is visible). I tried `du -sh .` in `path/to/cache`, and the size keeps increasing, reached 35G before I killed the process. Google Colab with custom `cache_dir` has same issue. https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing#scrollTo=2G2O0AeNIXan
Hello, I'm having issue downloading TriviaQA dataset with `load_dataset`. ## Environment info - `datasets` version: 1.1.3 - Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1 - Python version: 3.7.3 ## The code I'm running: ```python import datasets dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets") ``` ## The output: 1. Download begins: ``` Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d... Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s] ``` 2. 100% is reached 3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually. A similar issue can be observed in Google Colab: https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing ## Expected behaviour: The dataset "TriviaQA" should be successfully downloaded.
81
Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
[ -0.1144673302769661, 0.3958841562271118, -0.1283876895904541, 0.35347428917884827, 0.13258402049541473, 0.2150530368089676, 0.27215680480003357, 0.19289250671863556, 0.2596134543418884, -0.07622022181749344, -0.18119652569293976, 0.09229855984449387, 0.07858476787805557, -0.030082376673817635, -0.056184738874435425, 0.07656083256006241, -0.08245013654232025, 0.09471874684095383, 0.060758788138628006, 0.040704306215047836, -0.18313860893249512, 0.34903019666671753, -0.10105586051940918, -0.13538476824760437, -0.17538735270500183, -0.03272327035665512, 0.11334334313869476, 0.4390573799610138, -0.12965714931488037, -0.2728467583656311, 0.4372541010379791, 0.27744829654693604, 0.08282465487718582, 0.253888875246048, -0.000104773513157852, -0.0807318389415741, 0.140003502368927, -0.1597178727388382, -0.5048447847366333, 0.13628624379634857, -0.43952974677085876, 0.35115063190460205, -0.07213705033063889, -0.06578035652637482, 0.046447254717350006, 0.32233113050460815, 0.03900248557329178, -0.6143832206726074, 0.012814870104193687, 0.2597277760505676, 0.3089248538017273, 0.01476177480071783, -0.3031565248966217, -0.2952103018760681, 0.2664197087287903, -0.1632254272699356, -0.24701979756355286, 0.17338478565216064, -0.09245497733354568, 0.0385160930454731, -0.1567351073026657, 0.5095198154449463, 0.08664792776107788, 0.298614501953125, 0.04088583216071129, 0.05286663770675659, -0.25960254669189453, 0.016114532947540283, 0.39631280303001404, 0.01742495596408844, 0.6386580467224121, -0.2624077796936035, -0.1862591654062271, 0.1518862098455429, -0.16076752543449402, -0.1739177405834198, 0.2912328541278839, -0.07398122549057007, -0.2693236768245697, 0.009418684989213943, 0.1888178586959839, -0.10483662039041519, -0.11883615702390671, -0.06989727169275284, -0.11276212334632874, -0.07692719995975494, -0.13534143567085266, -0.05462794378399849, -0.017461495473980904, 0.032419443130493164, 0.2980503737926483, 0.11835110187530518, -0.25647401809692383, 0.056069038808345795, -0.20548036694526672, 0.09112685173749924, 0.20743194222450256, 0.0035238447599112988, 0.12936052680015564, 0.23992806673049927, 0.2504962682723999, 0.19688542187213898, -0.2318730503320694, -0.21240662038326263, 0.20848678052425385, 0.5501707196235657, -0.070234015583992, -0.26562654972076416, 0.31603965163230896, 0.27771762013435364, -0.10069014877080917, 0.061506979167461395, -0.08092489838600159, 0.0912264809012413, 0.021514851599931717, 0.08860759437084198, 0.17699237167835236, -0.2536071240901947, -0.22507941722869873, -0.11376676708459854, 0.22630108892917633, 0.10864219069480896, -0.1784219592809677, 0.4196508824825287, -0.21529075503349304, 0.09483128041028976, -0.25155600905418396, 0.23372599482536316, -0.11167295277118683, -0.07426165789365768, -0.3531741797924042, -0.07433921098709106, 0.10649978369474411, 0.10968302190303802, 0.43706247210502625, 0.2044653594493866, 0.2432822734117508, -0.2855673134326935, 0.14832621812820435, 0.04587225243449211, 0.05460968241095543, -0.2681223750114441, -0.025843994691967964, 0.14878876507282257, 0.09308404475450516, 0.2459069788455963, 0.046657271683216095, -0.01309570949524641, -0.08022308349609375, 0.11044390499591827, -0.1792759746313095, -0.4043952226638794, -0.05273083969950676, 0.21743938326835632, -0.16285370290279388, -0.09713917970657349, 0.18996182084083557, -0.02043028734624386, 0.19051897525787354, -0.09233482927083969, -0.11572860181331635, 0.2036769539117813, -0.14565607905387878, -0.2745271921157837, 0.14378902316093445, 0.5719955563545227, -0.23708269000053406, 0.178752601146698, -0.09622082859277725, 0.02785237319767475, 0.04888743534684181, 0.15309695899486542, -0.03634265810251236, 0.04533655568957329, -0.3640460669994354, 0.18355421721935272, 0.5811136960983276, -0.5778927803039551, -0.5847355127334595, -0.024434931576251984, 0.1235312819480896, 0.15344049036502838, 0.24080628156661987, 0.09386473894119263, 0.1892809122800827, 0.09013369679450989, 0.18255095183849335, 0.3274979293346405, 0.04817095771431923, 0.08975236862897873, -0.21171480417251587, -0.31038862466812134, 0.1616712361574173, 0.21439026296138763, 0.020639922469854355, 0.13364724814891815, 0.08840782940387726, 0.1943933516740799, 0.1452740877866745, 0.27260684967041016, -0.046500314027071, 0.08633698523044586, 0.010538831353187561, -0.22907744348049164, 0.17240525782108307, 0.09464011341333389, -0.6965624690055847, 0.2811121344566345, -0.10537533462047577, 0.07710976153612137, -0.26584023237228394, -0.014573286287486553, -0.49360963702201843, -0.14096671342849731, -0.28504928946495056, -0.3436335623264313, 0.22487978637218475, 0.30067160725593567, 0.4277087450027466, 0.09447650611400604, 0.035379569977521896, 0.443681001663208, 0.2310406118631363, -0.22355780005455017, -0.18715351819992065, -0.26789161562919617, -0.16315065324306488, -0.11146640032529831, -0.1138225644826889, 0.17982357740402222, 0.06635518372058868, -0.04535192623734474, -0.1427711695432663, 0.0987163707613945, 0.14998331665992737, 0.060336656868457794, -0.03581640496850014, -0.08947239816188812, 0.11133964359760284, 0.01647537387907505, 0.3248177766799927, 0.13444189727306366, 0.13203735649585724, -0.08559432625770569, -0.3554835617542267, -0.07462039589881897, -0.2597225606441498, 0.10429462790489197, 0.09450553357601166, -0.021315021440386772, 0.5149376392364502, 0.045085880905389786, 0.26314908266067505, -0.3853873908519745, -0.019397560507059097, 0.07174189388751984, 0.16665300726890564, -0.06066683679819107, 0.02374681457877159, 0.36579516530036926, 0.39734363555908203, 0.3263269066810608, 0.18140506744384766, -0.04158184677362442, -0.06202338635921478, -0.1897646188735962, 0.20687496662139893, 0.2847840189933777, 0.5480071902275085, 0.11276181042194366, 0.3156103491783142, -0.04097559303045273, 0.05126121640205383, -0.2924574017524719, 0.07147752493619919, -0.11017371714115143, -0.12994472682476044, 0.17938949167728424, 0.37596914172172546, -0.15923668444156647, -0.1227731853723526, -0.028539931401610374, 0.08017104864120483, 0.06640831381082535, -0.15667463839054108, 0.049545641988515854, -0.19550590217113495, -0.2672935724258423, 0.13220374286174774, -0.08856558054685593, 0.1594334989786148, -0.38808852434158325, 0.25401705503463745, 0.29323044419288635, -0.010197887197136879, 0.10470999777317047, -0.21651938557624817, 0.2701953649520874, 0.06886198371648788, -0.47450557351112366, -0.31301623582839966, -0.2638868987560272, -0.12821818888187408, 0.16771778464317322, -0.11768769472837448, -0.1844017058610916, 0.24388433992862701, -0.24405641853809357, 0.10140170156955719, -0.28363052010536194, -0.0212745051831007, 0.07793201506137848, 0.08350851386785507, 0.15091510117053986, 0.22190594673156738, 0.22156664729118347, 0.06357624381780624, 0.056950610131025314, 0.15218453109264374, -0.08080589771270752, -0.0902627483010292, -0.047573287039995193, 0.05397011712193489, 0.1299889087677002, -0.24594223499298096, -0.5943350791931152, -0.25094249844551086, -0.3843909800052643, 0.1706520915031433, 0.34857824444770813, 0.07550530135631561, 0.44331276416778564, 0.011679551564157009, -0.10930558294057846, 0.1785198152065277, -0.02720043994486332, -0.453326940536499, -0.28198346495628357, 0.4391224682331085, -0.3196451961994171, -0.08659812808036804, 0.12867699563503265, 0.08021683990955353, 0.505411684513092, 0.17009183764457703, -0.41924476623535156, -0.08137665688991547, -0.20287254452705383, 0.559615969657898, -0.08894592523574829, -0.19678866863250732, 0.3731647729873657, -0.08063872903585434, -0.13682515919208527, -0.07352279871702194, -0.09115523099899292, 0.1693691909313202, 0.13939207792282104, 0.09847670048475266, -0.028028126806020737, -0.015897754579782486, 0.06116130203008652, 0.623797595500946, -0.10169658064842224, 0.36402732133865356, 0.43212202191352844, -0.09531936794519424, 0.4441700577735901, -0.29826226830482483, -0.019507644698023796, 0.09690872579813004, -0.04083683714270592, -0.13711094856262207, 0.10027109831571579, 0.1894642859697342, 0.14084747433662415, -0.19254620373249054, 0.2834100127220154, 0.05116167291998863, -0.11449838429689407, -0.10233207792043686, -0.21639099717140198, -0.1487889289855957, 0.23315003514289856, 0.2560989260673523, -0.02444235049188137, -0.23364277184009552, 0.258884996175766, 0.00024069746723398566, -0.31138330698013306, 0.14246141910552979, 0.18471091985702515, 0.26104655861854553, -0.3149614930152893, 0.14234738051891327, 0.054437778890132904, 0.1395142823457718, -0.15748636424541473, -0.19561827182769775, 0.05026480555534363, 0.009360730648040771, 0.709250807762146, -0.07488782703876495, 0.3282444179058075, 0.04605801776051521, 0.14541348814964294, -0.19316238164901733, -0.029307877644896507, -0.04185296595096588, 0.15523536503314972, -0.11472750455141068, 0.1840611696243286, -0.10120852291584015, 0.2461545318365097, -0.003521050326526165, 0.11291053891181946, -0.08219733089208603, -0.0448850616812706, -0.27357277274131775, -0.36577677726745605, -0.29023513197898865, -0.20064231753349304, 0.08483950793743134, 0.06325496733188629, -0.052517011761665344, -0.03192858397960663, -0.08900266885757446, -0.09681161493062973, -0.3017066419124603, 0.2934797406196594, 0.2725435793399811, 0.0730249360203743, 0.05375922471284866, 0.08052866160869598, -0.2602846920490265, -0.15848812460899353, 0.534249484539032, -0.11778879910707474, -0.27074238657951355, 0.062214408069849014, -0.1692437082529068, -0.36268121004104614, 0.257414847612381, -0.2869166135787964, -0.16565486788749695, -0.05153758078813553, -0.24405130743980408, 0.0333615280687809, 0.27541324496269226, -0.10936658084392548, -0.4469205439090729, 0.15431584417819977, -0.25316759943962097, 0.35643449425697327, 0.04568703845143318, -0.10969346761703491, 0.4393000900745392, -0.3468494415283203, -0.1868128627538681, 0.1175021082162857, -0.1130010187625885, 0.6278261542320251, -0.08274547755718231, 0.26205340027809143, 0.3371366262435913, -0.30311617255210876, 0.5340246558189392, -0.3325388729572296, 0.15741226077079773, -0.22402268648147583, -0.13267391920089722, 0.118502676486969, -0.04636020585894585, -0.06663594394922256, -0.12167566269636154, -0.32718726992607117, 0.20699161291122437, -0.28253936767578125, 0.24575188755989075, -0.01225750520825386, -0.08466210961341858, -0.1541389375925064, -0.26245376467704773, -0.21201957762241364, 0.24911770224571228, -0.08974450826644897, 0.19170719385147095, -0.2054850310087204, 0.06268718093633652, 0.005463660694658756, -0.049012839794158936, -0.0955277681350708, 0.2749802768230438, -0.27757728099823, 0.2126466929912567, -0.06455682218074799, -0.22553421556949615, -0.5161387920379639, 0.13305555284023285, 0.32447874546051025, -0.05011937394738197, -0.24388179183006287, 0.2920490801334381, 0.25665783882141113, -0.025173690170049667, 0.02918829396367073, 0.12694574892520905, -0.10283578187227249, -0.14223699271678925, 0.06845611333847046, 0.18437014520168304, -0.28845280408859253, -0.23581911623477936, -0.11927057057619095, 0.10565067082643509, 0.11271600425243378, 0.058110132813453674, -0.2370678335428238, -0.19792702794075012, 0.14586608111858368, -0.19197264313697815, 0.19874943792819977, 0.005714163649827242, 0.11244195699691772, -0.021836528554558754, -0.09902828931808472, -0.30179303884506226, -0.13336746394634247, 0.5531503558158875, 0.009396002627909184, -0.09540203958749771, 0.4312438666820526, 0.06264343112707138, -0.18787936866283417, -0.21889065206050873, -0.3993035554885864, -0.6171079277992249, -0.41979849338531494, 0.2735121548175812, -0.034423086792230606, -0.33706560730934143, -0.17466706037521362, 0.29109200835227966, 0.09245036542415619, 0.02287537418305874, 0.0806000679731369, -0.36797067523002625, -0.19498415291309357, -0.06707900762557983, -0.27803921699523926, 0.0684792771935463, 0.10245877504348755, -0.37116989493370056, 0.0683903843164444, 0.04208599403500557, -0.36104610562324524, -0.11567109823226929, -0.213944673538208, -0.12699145078659058, -0.033634889870882034, 0.11767581850290298, 0.2561064064502716, 0.11703123152256012, 0.13286705315113068, 0.06240599602460861, -0.274745911359787, -0.32785356044769287, -0.06749194860458374, 0.05281485617160797, 0.0073339808732271194, -0.16572518646717072, -0.039098694920539856, -0.18810930848121643, -0.0998057946562767, 0.06835918873548508, 0.3622523546218872, 0.2228899747133255, -0.0804934874176979, 0.09136691689491272, -0.190926194190979, 0.09091662615537643, -0.26212459802627563, 0.3027530908584595, 0.01757553406059742, 0.21150405704975128, -0.07884771376848221, 0.05039214715361595, -0.24882231652736664, -0.10194374620914459, 0.10434688627719879, -0.06551995128393173, -0.016231978312134743, 0.11911874264478683, -0.040522072464227676, -0.224483460187912, 0.031543098390102386, 0.13785907626152039, -0.20528191328048706, 0.20698414742946625, -0.19546876847743988, -0.3326714038848877, -0.026710709556937218, 0.2537997364997864, -0.20889978110790253, -0.06289234757423401, -0.3372613191604614, -0.05627581477165222, -0.006059971638023853, 0.33245688676834106, 0.137780100107193, -0.3961062431335449, 0.5713961124420166, 0.26787176728248596, 0.4610527753829956, -0.36565330624580383, -0.004248091951012611, 0.05235746502876282, -0.35980024933815, 0.09968150407075882, 0.041154731065034866, 0.10795500874519348, -0.018874989822506905, 0.5628809332847595, -0.13191953301429749, 0.0021226191893219948, 0.2921508550643921, 0.003036814508959651, -0.27909091114997864, -0.30916231870651245, 0.11593692749738693, 0.07954944670200348, -0.08234585076570511, 0.14828121662139893, 0.024610266089439392, 0.07461053133010864, -0.15223734080791473, 0.17946477234363556, -0.313926637172699, -0.37257617712020874, -0.08413045108318329, -0.12029474973678589, 0.29749736189842224, -0.1807810664176941, 0.003656738670542836, 0.12212767452001572, -0.11720238626003265, 0.0254091564565897, 0.3917541801929474, -0.07936946302652359, -0.2506501078605652, -0.34225547313690186, 0.3105267882347107, -0.07128069549798965, -0.11901727318763733, -0.02102886699140072, 0.593487560749054, 0.09859483689069748, 0.026239365339279175, 0.30976077914237976, 0.17940592765808105, 0.17028051614761353, 0.2891249358654022, -0.11193040758371353, -0.11864964663982391, -0.0576537661254406, -0.08907465636730194, -0.20208409428596497, 0.3030664622783661, 0.24238872528076172, -0.13239453732967377, 0.2140216827392578, 0.24020957946777344, -0.21352946758270264, 0.19362054765224457, 0.35727858543395996, 0.1290241777896881, 0.009838678874075413, 0.17769864201545715, -0.1426185667514801, 0.05261843279004097, 0.18594539165496826, 0.13128577172756195, -0.25867295265197754, -0.12929341197013855, -0.028654642403125763, -0.02613300457596779, 0.16841945052146912, -0.01074863038957119, 0.12446900457143784, 0.12760522961616516, 0.6130914092063904, 0.06795366108417511, 0.2092219442129135, -0.14236198365688324, 0.10535694658756256, -0.592360258102417, 0.31702592968940735, 0.2080426663160324, -0.13773882389068604, -0.258352667093277, 0.4328593909740448, -0.1734926402568817, 0.16250985860824585, -0.027838265523314476, 0.11226856708526611, 0.33296045660972595, -0.1347234696149826, -0.3861861824989319, -0.15120801329612732, 0.1714549958705902, -0.036175068467855453, 0.1201498806476593, -0.535575270652771, 0.08164986968040466, 0.08025436103343964, 0.10882698744535446, 0.1583441197872162, -0.505459725856781, 0.20880885422229767, 0.13056008517742157, 0.44241857528686523, -0.1620054394006729, 0.11516326665878296, 0.08796839416027069, -0.1277148276567459, -0.3417397439479828, -0.16052554547786713, 0.09778352826833725, -0.22211436927318573, 0.2226935774087906, -0.0973159447312355, -0.17952759563922882, 0.1453976184129715, -0.2299451380968094, 0.5856584906578064, 0.2467726469039917, 0.45674920082092285, -0.0011391197331249714, 0.1800602674484253, -0.012664168141782284, 0.18712782859802246, -0.01229526661336422, -0.007325051352381706, -0.20156557857990265, 0.14206811785697937, -0.2445826679468155, -0.3063221871852875, 0.29385918378829956, 0.11068807542324066, -0.3722344636917114, 0.010499583557248116, 0.27343857288360596, -0.14313171803951263, -0.3644530773162842, -0.6153107285499573, 0.4379870891571045, 0.15337219834327698, 0.02318737655878067, -0.05402369424700737, 0.1092282384634018, -0.3143727779388428, 0.05372282862663269, -0.15300944447517395, 0.2981623709201813, 0.08701817691326141, -0.04422711580991745, -0.08199018239974976, -0.08153257519006729 ]
https://github.com/huggingface/datasets/issues/1615
Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
1) You can clear the huggingface folder in your `.cache` directory to use default directory for datasets. Speed of extraction and loading of samples depends a lot on your machine's configurations too. 2) I tried on colab `dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")`. After memory usage reached around 42GB (starting from 32GB used already), the dataset was loaded in the memory. Even Your colab notebook shows ![image](https://user-images.githubusercontent.com/19718818/102852229-c7c4e780-4443-11eb-91d6-bf21024358a3.png) which means it's loaded now.
Hello, I'm having issue downloading TriviaQA dataset with `load_dataset`. ## Environment info - `datasets` version: 1.1.3 - Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1 - Python version: 3.7.3 ## The code I'm running: ```python import datasets dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets") ``` ## The output: 1. Download begins: ``` Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d... Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s] ``` 2. 100% is reached 3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually. A similar issue can be observed in Google Colab: https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing ## Expected behaviour: The dataset "TriviaQA" should be successfully downloaded.
73
Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
[ -0.1144673302769661, 0.3958841562271118, -0.1283876895904541, 0.35347428917884827, 0.13258402049541473, 0.2150530368089676, 0.27215680480003357, 0.19289250671863556, 0.2596134543418884, -0.07622022181749344, -0.18119652569293976, 0.09229855984449387, 0.07858476787805557, -0.030082376673817635, -0.056184738874435425, 0.07656083256006241, -0.08245013654232025, 0.09471874684095383, 0.060758788138628006, 0.040704306215047836, -0.18313860893249512, 0.34903019666671753, -0.10105586051940918, -0.13538476824760437, -0.17538735270500183, -0.03272327035665512, 0.11334334313869476, 0.4390573799610138, -0.12965714931488037, -0.2728467583656311, 0.4372541010379791, 0.27744829654693604, 0.08282465487718582, 0.253888875246048, -0.000104773513157852, -0.0807318389415741, 0.140003502368927, -0.1597178727388382, -0.5048447847366333, 0.13628624379634857, -0.43952974677085876, 0.35115063190460205, -0.07213705033063889, -0.06578035652637482, 0.046447254717350006, 0.32233113050460815, 0.03900248557329178, -0.6143832206726074, 0.012814870104193687, 0.2597277760505676, 0.3089248538017273, 0.01476177480071783, -0.3031565248966217, -0.2952103018760681, 0.2664197087287903, -0.1632254272699356, -0.24701979756355286, 0.17338478565216064, -0.09245497733354568, 0.0385160930454731, -0.1567351073026657, 0.5095198154449463, 0.08664792776107788, 0.298614501953125, 0.04088583216071129, 0.05286663770675659, -0.25960254669189453, 0.016114532947540283, 0.39631280303001404, 0.01742495596408844, 0.6386580467224121, -0.2624077796936035, -0.1862591654062271, 0.1518862098455429, -0.16076752543449402, -0.1739177405834198, 0.2912328541278839, -0.07398122549057007, -0.2693236768245697, 0.009418684989213943, 0.1888178586959839, -0.10483662039041519, -0.11883615702390671, -0.06989727169275284, -0.11276212334632874, -0.07692719995975494, -0.13534143567085266, -0.05462794378399849, -0.017461495473980904, 0.032419443130493164, 0.2980503737926483, 0.11835110187530518, -0.25647401809692383, 0.056069038808345795, -0.20548036694526672, 0.09112685173749924, 0.20743194222450256, 0.0035238447599112988, 0.12936052680015564, 0.23992806673049927, 0.2504962682723999, 0.19688542187213898, -0.2318730503320694, -0.21240662038326263, 0.20848678052425385, 0.5501707196235657, -0.070234015583992, -0.26562654972076416, 0.31603965163230896, 0.27771762013435364, -0.10069014877080917, 0.061506979167461395, -0.08092489838600159, 0.0912264809012413, 0.021514851599931717, 0.08860759437084198, 0.17699237167835236, -0.2536071240901947, -0.22507941722869873, -0.11376676708459854, 0.22630108892917633, 0.10864219069480896, -0.1784219592809677, 0.4196508824825287, -0.21529075503349304, 0.09483128041028976, -0.25155600905418396, 0.23372599482536316, -0.11167295277118683, -0.07426165789365768, -0.3531741797924042, -0.07433921098709106, 0.10649978369474411, 0.10968302190303802, 0.43706247210502625, 0.2044653594493866, 0.2432822734117508, -0.2855673134326935, 0.14832621812820435, 0.04587225243449211, 0.05460968241095543, -0.2681223750114441, -0.025843994691967964, 0.14878876507282257, 0.09308404475450516, 0.2459069788455963, 0.046657271683216095, -0.01309570949524641, -0.08022308349609375, 0.11044390499591827, -0.1792759746313095, -0.4043952226638794, -0.05273083969950676, 0.21743938326835632, -0.16285370290279388, -0.09713917970657349, 0.18996182084083557, -0.02043028734624386, 0.19051897525787354, -0.09233482927083969, -0.11572860181331635, 0.2036769539117813, -0.14565607905387878, -0.2745271921157837, 0.14378902316093445, 0.5719955563545227, -0.23708269000053406, 0.178752601146698, -0.09622082859277725, 0.02785237319767475, 0.04888743534684181, 0.15309695899486542, -0.03634265810251236, 0.04533655568957329, -0.3640460669994354, 0.18355421721935272, 0.5811136960983276, -0.5778927803039551, -0.5847355127334595, -0.024434931576251984, 0.1235312819480896, 0.15344049036502838, 0.24080628156661987, 0.09386473894119263, 0.1892809122800827, 0.09013369679450989, 0.18255095183849335, 0.3274979293346405, 0.04817095771431923, 0.08975236862897873, -0.21171480417251587, -0.31038862466812134, 0.1616712361574173, 0.21439026296138763, 0.020639922469854355, 0.13364724814891815, 0.08840782940387726, 0.1943933516740799, 0.1452740877866745, 0.27260684967041016, -0.046500314027071, 0.08633698523044586, 0.010538831353187561, -0.22907744348049164, 0.17240525782108307, 0.09464011341333389, -0.6965624690055847, 0.2811121344566345, -0.10537533462047577, 0.07710976153612137, -0.26584023237228394, -0.014573286287486553, -0.49360963702201843, -0.14096671342849731, -0.28504928946495056, -0.3436335623264313, 0.22487978637218475, 0.30067160725593567, 0.4277087450027466, 0.09447650611400604, 0.035379569977521896, 0.443681001663208, 0.2310406118631363, -0.22355780005455017, -0.18715351819992065, -0.26789161562919617, -0.16315065324306488, -0.11146640032529831, -0.1138225644826889, 0.17982357740402222, 0.06635518372058868, -0.04535192623734474, -0.1427711695432663, 0.0987163707613945, 0.14998331665992737, 0.060336656868457794, -0.03581640496850014, -0.08947239816188812, 0.11133964359760284, 0.01647537387907505, 0.3248177766799927, 0.13444189727306366, 0.13203735649585724, -0.08559432625770569, -0.3554835617542267, -0.07462039589881897, -0.2597225606441498, 0.10429462790489197, 0.09450553357601166, -0.021315021440386772, 0.5149376392364502, 0.045085880905389786, 0.26314908266067505, -0.3853873908519745, -0.019397560507059097, 0.07174189388751984, 0.16665300726890564, -0.06066683679819107, 0.02374681457877159, 0.36579516530036926, 0.39734363555908203, 0.3263269066810608, 0.18140506744384766, -0.04158184677362442, -0.06202338635921478, -0.1897646188735962, 0.20687496662139893, 0.2847840189933777, 0.5480071902275085, 0.11276181042194366, 0.3156103491783142, -0.04097559303045273, 0.05126121640205383, -0.2924574017524719, 0.07147752493619919, -0.11017371714115143, -0.12994472682476044, 0.17938949167728424, 0.37596914172172546, -0.15923668444156647, -0.1227731853723526, -0.028539931401610374, 0.08017104864120483, 0.06640831381082535, -0.15667463839054108, 0.049545641988515854, -0.19550590217113495, -0.2672935724258423, 0.13220374286174774, -0.08856558054685593, 0.1594334989786148, -0.38808852434158325, 0.25401705503463745, 0.29323044419288635, -0.010197887197136879, 0.10470999777317047, -0.21651938557624817, 0.2701953649520874, 0.06886198371648788, -0.47450557351112366, -0.31301623582839966, -0.2638868987560272, -0.12821818888187408, 0.16771778464317322, -0.11768769472837448, -0.1844017058610916, 0.24388433992862701, -0.24405641853809357, 0.10140170156955719, -0.28363052010536194, -0.0212745051831007, 0.07793201506137848, 0.08350851386785507, 0.15091510117053986, 0.22190594673156738, 0.22156664729118347, 0.06357624381780624, 0.056950610131025314, 0.15218453109264374, -0.08080589771270752, -0.0902627483010292, -0.047573287039995193, 0.05397011712193489, 0.1299889087677002, -0.24594223499298096, -0.5943350791931152, -0.25094249844551086, -0.3843909800052643, 0.1706520915031433, 0.34857824444770813, 0.07550530135631561, 0.44331276416778564, 0.011679551564157009, -0.10930558294057846, 0.1785198152065277, -0.02720043994486332, -0.453326940536499, -0.28198346495628357, 0.4391224682331085, -0.3196451961994171, -0.08659812808036804, 0.12867699563503265, 0.08021683990955353, 0.505411684513092, 0.17009183764457703, -0.41924476623535156, -0.08137665688991547, -0.20287254452705383, 0.559615969657898, -0.08894592523574829, -0.19678866863250732, 0.3731647729873657, -0.08063872903585434, -0.13682515919208527, -0.07352279871702194, -0.09115523099899292, 0.1693691909313202, 0.13939207792282104, 0.09847670048475266, -0.028028126806020737, -0.015897754579782486, 0.06116130203008652, 0.623797595500946, -0.10169658064842224, 0.36402732133865356, 0.43212202191352844, -0.09531936794519424, 0.4441700577735901, -0.29826226830482483, -0.019507644698023796, 0.09690872579813004, -0.04083683714270592, -0.13711094856262207, 0.10027109831571579, 0.1894642859697342, 0.14084747433662415, -0.19254620373249054, 0.2834100127220154, 0.05116167291998863, -0.11449838429689407, -0.10233207792043686, -0.21639099717140198, -0.1487889289855957, 0.23315003514289856, 0.2560989260673523, -0.02444235049188137, -0.23364277184009552, 0.258884996175766, 0.00024069746723398566, -0.31138330698013306, 0.14246141910552979, 0.18471091985702515, 0.26104655861854553, -0.3149614930152893, 0.14234738051891327, 0.054437778890132904, 0.1395142823457718, -0.15748636424541473, -0.19561827182769775, 0.05026480555534363, 0.009360730648040771, 0.709250807762146, -0.07488782703876495, 0.3282444179058075, 0.04605801776051521, 0.14541348814964294, -0.19316238164901733, -0.029307877644896507, -0.04185296595096588, 0.15523536503314972, -0.11472750455141068, 0.1840611696243286, -0.10120852291584015, 0.2461545318365097, -0.003521050326526165, 0.11291053891181946, -0.08219733089208603, -0.0448850616812706, -0.27357277274131775, -0.36577677726745605, -0.29023513197898865, -0.20064231753349304, 0.08483950793743134, 0.06325496733188629, -0.052517011761665344, -0.03192858397960663, -0.08900266885757446, -0.09681161493062973, -0.3017066419124603, 0.2934797406196594, 0.2725435793399811, 0.0730249360203743, 0.05375922471284866, 0.08052866160869598, -0.2602846920490265, -0.15848812460899353, 0.534249484539032, -0.11778879910707474, -0.27074238657951355, 0.062214408069849014, -0.1692437082529068, -0.36268121004104614, 0.257414847612381, -0.2869166135787964, -0.16565486788749695, -0.05153758078813553, -0.24405130743980408, 0.0333615280687809, 0.27541324496269226, -0.10936658084392548, -0.4469205439090729, 0.15431584417819977, -0.25316759943962097, 0.35643449425697327, 0.04568703845143318, -0.10969346761703491, 0.4393000900745392, -0.3468494415283203, -0.1868128627538681, 0.1175021082162857, -0.1130010187625885, 0.6278261542320251, -0.08274547755718231, 0.26205340027809143, 0.3371366262435913, -0.30311617255210876, 0.5340246558189392, -0.3325388729572296, 0.15741226077079773, -0.22402268648147583, -0.13267391920089722, 0.118502676486969, -0.04636020585894585, -0.06663594394922256, -0.12167566269636154, -0.32718726992607117, 0.20699161291122437, -0.28253936767578125, 0.24575188755989075, -0.01225750520825386, -0.08466210961341858, -0.1541389375925064, -0.26245376467704773, -0.21201957762241364, 0.24911770224571228, -0.08974450826644897, 0.19170719385147095, -0.2054850310087204, 0.06268718093633652, 0.005463660694658756, -0.049012839794158936, -0.0955277681350708, 0.2749802768230438, -0.27757728099823, 0.2126466929912567, -0.06455682218074799, -0.22553421556949615, -0.5161387920379639, 0.13305555284023285, 0.32447874546051025, -0.05011937394738197, -0.24388179183006287, 0.2920490801334381, 0.25665783882141113, -0.025173690170049667, 0.02918829396367073, 0.12694574892520905, -0.10283578187227249, -0.14223699271678925, 0.06845611333847046, 0.18437014520168304, -0.28845280408859253, -0.23581911623477936, -0.11927057057619095, 0.10565067082643509, 0.11271600425243378, 0.058110132813453674, -0.2370678335428238, -0.19792702794075012, 0.14586608111858368, -0.19197264313697815, 0.19874943792819977, 0.005714163649827242, 0.11244195699691772, -0.021836528554558754, -0.09902828931808472, -0.30179303884506226, -0.13336746394634247, 0.5531503558158875, 0.009396002627909184, -0.09540203958749771, 0.4312438666820526, 0.06264343112707138, -0.18787936866283417, -0.21889065206050873, -0.3993035554885864, -0.6171079277992249, -0.41979849338531494, 0.2735121548175812, -0.034423086792230606, -0.33706560730934143, -0.17466706037521362, 0.29109200835227966, 0.09245036542415619, 0.02287537418305874, 0.0806000679731369, -0.36797067523002625, -0.19498415291309357, -0.06707900762557983, -0.27803921699523926, 0.0684792771935463, 0.10245877504348755, -0.37116989493370056, 0.0683903843164444, 0.04208599403500557, -0.36104610562324524, -0.11567109823226929, -0.213944673538208, -0.12699145078659058, -0.033634889870882034, 0.11767581850290298, 0.2561064064502716, 0.11703123152256012, 0.13286705315113068, 0.06240599602460861, -0.274745911359787, -0.32785356044769287, -0.06749194860458374, 0.05281485617160797, 0.0073339808732271194, -0.16572518646717072, -0.039098694920539856, -0.18810930848121643, -0.0998057946562767, 0.06835918873548508, 0.3622523546218872, 0.2228899747133255, -0.0804934874176979, 0.09136691689491272, -0.190926194190979, 0.09091662615537643, -0.26212459802627563, 0.3027530908584595, 0.01757553406059742, 0.21150405704975128, -0.07884771376848221, 0.05039214715361595, -0.24882231652736664, -0.10194374620914459, 0.10434688627719879, -0.06551995128393173, -0.016231978312134743, 0.11911874264478683, -0.040522072464227676, -0.224483460187912, 0.031543098390102386, 0.13785907626152039, -0.20528191328048706, 0.20698414742946625, -0.19546876847743988, -0.3326714038848877, -0.026710709556937218, 0.2537997364997864, -0.20889978110790253, -0.06289234757423401, -0.3372613191604614, -0.05627581477165222, -0.006059971638023853, 0.33245688676834106, 0.137780100107193, -0.3961062431335449, 0.5713961124420166, 0.26787176728248596, 0.4610527753829956, -0.36565330624580383, -0.004248091951012611, 0.05235746502876282, -0.35980024933815, 0.09968150407075882, 0.041154731065034866, 0.10795500874519348, -0.018874989822506905, 0.5628809332847595, -0.13191953301429749, 0.0021226191893219948, 0.2921508550643921, 0.003036814508959651, -0.27909091114997864, -0.30916231870651245, 0.11593692749738693, 0.07954944670200348, -0.08234585076570511, 0.14828121662139893, 0.024610266089439392, 0.07461053133010864, -0.15223734080791473, 0.17946477234363556, -0.313926637172699, -0.37257617712020874, -0.08413045108318329, -0.12029474973678589, 0.29749736189842224, -0.1807810664176941, 0.003656738670542836, 0.12212767452001572, -0.11720238626003265, 0.0254091564565897, 0.3917541801929474, -0.07936946302652359, -0.2506501078605652, -0.34225547313690186, 0.3105267882347107, -0.07128069549798965, -0.11901727318763733, -0.02102886699140072, 0.593487560749054, 0.09859483689069748, 0.026239365339279175, 0.30976077914237976, 0.17940592765808105, 0.17028051614761353, 0.2891249358654022, -0.11193040758371353, -0.11864964663982391, -0.0576537661254406, -0.08907465636730194, -0.20208409428596497, 0.3030664622783661, 0.24238872528076172, -0.13239453732967377, 0.2140216827392578, 0.24020957946777344, -0.21352946758270264, 0.19362054765224457, 0.35727858543395996, 0.1290241777896881, 0.009838678874075413, 0.17769864201545715, -0.1426185667514801, 0.05261843279004097, 0.18594539165496826, 0.13128577172756195, -0.25867295265197754, -0.12929341197013855, -0.028654642403125763, -0.02613300457596779, 0.16841945052146912, -0.01074863038957119, 0.12446900457143784, 0.12760522961616516, 0.6130914092063904, 0.06795366108417511, 0.2092219442129135, -0.14236198365688324, 0.10535694658756256, -0.592360258102417, 0.31702592968940735, 0.2080426663160324, -0.13773882389068604, -0.258352667093277, 0.4328593909740448, -0.1734926402568817, 0.16250985860824585, -0.027838265523314476, 0.11226856708526611, 0.33296045660972595, -0.1347234696149826, -0.3861861824989319, -0.15120801329612732, 0.1714549958705902, -0.036175068467855453, 0.1201498806476593, -0.535575270652771, 0.08164986968040466, 0.08025436103343964, 0.10882698744535446, 0.1583441197872162, -0.505459725856781, 0.20880885422229767, 0.13056008517742157, 0.44241857528686523, -0.1620054394006729, 0.11516326665878296, 0.08796839416027069, -0.1277148276567459, -0.3417397439479828, -0.16052554547786713, 0.09778352826833725, -0.22211436927318573, 0.2226935774087906, -0.0973159447312355, -0.17952759563922882, 0.1453976184129715, -0.2299451380968094, 0.5856584906578064, 0.2467726469039917, 0.45674920082092285, -0.0011391197331249714, 0.1800602674484253, -0.012664168141782284, 0.18712782859802246, -0.01229526661336422, -0.007325051352381706, -0.20156557857990265, 0.14206811785697937, -0.2445826679468155, -0.3063221871852875, 0.29385918378829956, 0.11068807542324066, -0.3722344636917114, 0.010499583557248116, 0.27343857288360596, -0.14313171803951263, -0.3644530773162842, -0.6153107285499573, 0.4379870891571045, 0.15337219834327698, 0.02318737655878067, -0.05402369424700737, 0.1092282384634018, -0.3143727779388428, 0.05372282862663269, -0.15300944447517395, 0.2981623709201813, 0.08701817691326141, -0.04422711580991745, -0.08199018239974976, -0.08153257519006729 ]
https://github.com/huggingface/datasets/issues/1615
Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Facing the same issue. I am able to download datasets without `cache_dir`, however, when I specify the `cache_dir`, the process hangs indefinitely after partial download. Tried for `data = load_dataset("cnn_dailymail", "3.0.0")`
Hello, I'm having issue downloading TriviaQA dataset with `load_dataset`. ## Environment info - `datasets` version: 1.1.3 - Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1 - Python version: 3.7.3 ## The code I'm running: ```python import datasets dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets") ``` ## The output: 1. Download begins: ``` Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d... Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s] ``` 2. 100% is reached 3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually. A similar issue can be observed in Google Colab: https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing ## Expected behaviour: The dataset "TriviaQA" should be successfully downloaded.
31
Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
[ -0.1144673302769661, 0.3958841562271118, -0.1283876895904541, 0.35347428917884827, 0.13258402049541473, 0.2150530368089676, 0.27215680480003357, 0.19289250671863556, 0.2596134543418884, -0.07622022181749344, -0.18119652569293976, 0.09229855984449387, 0.07858476787805557, -0.030082376673817635, -0.056184738874435425, 0.07656083256006241, -0.08245013654232025, 0.09471874684095383, 0.060758788138628006, 0.040704306215047836, -0.18313860893249512, 0.34903019666671753, -0.10105586051940918, -0.13538476824760437, -0.17538735270500183, -0.03272327035665512, 0.11334334313869476, 0.4390573799610138, -0.12965714931488037, -0.2728467583656311, 0.4372541010379791, 0.27744829654693604, 0.08282465487718582, 0.253888875246048, -0.000104773513157852, -0.0807318389415741, 0.140003502368927, -0.1597178727388382, -0.5048447847366333, 0.13628624379634857, -0.43952974677085876, 0.35115063190460205, -0.07213705033063889, -0.06578035652637482, 0.046447254717350006, 0.32233113050460815, 0.03900248557329178, -0.6143832206726074, 0.012814870104193687, 0.2597277760505676, 0.3089248538017273, 0.01476177480071783, -0.3031565248966217, -0.2952103018760681, 0.2664197087287903, -0.1632254272699356, -0.24701979756355286, 0.17338478565216064, -0.09245497733354568, 0.0385160930454731, -0.1567351073026657, 0.5095198154449463, 0.08664792776107788, 0.298614501953125, 0.04088583216071129, 0.05286663770675659, -0.25960254669189453, 0.016114532947540283, 0.39631280303001404, 0.01742495596408844, 0.6386580467224121, -0.2624077796936035, -0.1862591654062271, 0.1518862098455429, -0.16076752543449402, -0.1739177405834198, 0.2912328541278839, -0.07398122549057007, -0.2693236768245697, 0.009418684989213943, 0.1888178586959839, -0.10483662039041519, -0.11883615702390671, -0.06989727169275284, -0.11276212334632874, -0.07692719995975494, -0.13534143567085266, -0.05462794378399849, -0.017461495473980904, 0.032419443130493164, 0.2980503737926483, 0.11835110187530518, -0.25647401809692383, 0.056069038808345795, -0.20548036694526672, 0.09112685173749924, 0.20743194222450256, 0.0035238447599112988, 0.12936052680015564, 0.23992806673049927, 0.2504962682723999, 0.19688542187213898, -0.2318730503320694, -0.21240662038326263, 0.20848678052425385, 0.5501707196235657, -0.070234015583992, -0.26562654972076416, 0.31603965163230896, 0.27771762013435364, -0.10069014877080917, 0.061506979167461395, -0.08092489838600159, 0.0912264809012413, 0.021514851599931717, 0.08860759437084198, 0.17699237167835236, -0.2536071240901947, -0.22507941722869873, -0.11376676708459854, 0.22630108892917633, 0.10864219069480896, -0.1784219592809677, 0.4196508824825287, -0.21529075503349304, 0.09483128041028976, -0.25155600905418396, 0.23372599482536316, -0.11167295277118683, -0.07426165789365768, -0.3531741797924042, -0.07433921098709106, 0.10649978369474411, 0.10968302190303802, 0.43706247210502625, 0.2044653594493866, 0.2432822734117508, -0.2855673134326935, 0.14832621812820435, 0.04587225243449211, 0.05460968241095543, -0.2681223750114441, -0.025843994691967964, 0.14878876507282257, 0.09308404475450516, 0.2459069788455963, 0.046657271683216095, -0.01309570949524641, -0.08022308349609375, 0.11044390499591827, -0.1792759746313095, -0.4043952226638794, -0.05273083969950676, 0.21743938326835632, -0.16285370290279388, -0.09713917970657349, 0.18996182084083557, -0.02043028734624386, 0.19051897525787354, -0.09233482927083969, -0.11572860181331635, 0.2036769539117813, -0.14565607905387878, -0.2745271921157837, 0.14378902316093445, 0.5719955563545227, -0.23708269000053406, 0.178752601146698, -0.09622082859277725, 0.02785237319767475, 0.04888743534684181, 0.15309695899486542, -0.03634265810251236, 0.04533655568957329, -0.3640460669994354, 0.18355421721935272, 0.5811136960983276, -0.5778927803039551, -0.5847355127334595, -0.024434931576251984, 0.1235312819480896, 0.15344049036502838, 0.24080628156661987, 0.09386473894119263, 0.1892809122800827, 0.09013369679450989, 0.18255095183849335, 0.3274979293346405, 0.04817095771431923, 0.08975236862897873, -0.21171480417251587, -0.31038862466812134, 0.1616712361574173, 0.21439026296138763, 0.020639922469854355, 0.13364724814891815, 0.08840782940387726, 0.1943933516740799, 0.1452740877866745, 0.27260684967041016, -0.046500314027071, 0.08633698523044586, 0.010538831353187561, -0.22907744348049164, 0.17240525782108307, 0.09464011341333389, -0.6965624690055847, 0.2811121344566345, -0.10537533462047577, 0.07710976153612137, -0.26584023237228394, -0.014573286287486553, -0.49360963702201843, -0.14096671342849731, -0.28504928946495056, -0.3436335623264313, 0.22487978637218475, 0.30067160725593567, 0.4277087450027466, 0.09447650611400604, 0.035379569977521896, 0.443681001663208, 0.2310406118631363, -0.22355780005455017, -0.18715351819992065, -0.26789161562919617, -0.16315065324306488, -0.11146640032529831, -0.1138225644826889, 0.17982357740402222, 0.06635518372058868, -0.04535192623734474, -0.1427711695432663, 0.0987163707613945, 0.14998331665992737, 0.060336656868457794, -0.03581640496850014, -0.08947239816188812, 0.11133964359760284, 0.01647537387907505, 0.3248177766799927, 0.13444189727306366, 0.13203735649585724, -0.08559432625770569, -0.3554835617542267, -0.07462039589881897, -0.2597225606441498, 0.10429462790489197, 0.09450553357601166, -0.021315021440386772, 0.5149376392364502, 0.045085880905389786, 0.26314908266067505, -0.3853873908519745, -0.019397560507059097, 0.07174189388751984, 0.16665300726890564, -0.06066683679819107, 0.02374681457877159, 0.36579516530036926, 0.39734363555908203, 0.3263269066810608, 0.18140506744384766, -0.04158184677362442, -0.06202338635921478, -0.1897646188735962, 0.20687496662139893, 0.2847840189933777, 0.5480071902275085, 0.11276181042194366, 0.3156103491783142, -0.04097559303045273, 0.05126121640205383, -0.2924574017524719, 0.07147752493619919, -0.11017371714115143, -0.12994472682476044, 0.17938949167728424, 0.37596914172172546, -0.15923668444156647, -0.1227731853723526, -0.028539931401610374, 0.08017104864120483, 0.06640831381082535, -0.15667463839054108, 0.049545641988515854, -0.19550590217113495, -0.2672935724258423, 0.13220374286174774, -0.08856558054685593, 0.1594334989786148, -0.38808852434158325, 0.25401705503463745, 0.29323044419288635, -0.010197887197136879, 0.10470999777317047, -0.21651938557624817, 0.2701953649520874, 0.06886198371648788, -0.47450557351112366, -0.31301623582839966, -0.2638868987560272, -0.12821818888187408, 0.16771778464317322, -0.11768769472837448, -0.1844017058610916, 0.24388433992862701, -0.24405641853809357, 0.10140170156955719, -0.28363052010536194, -0.0212745051831007, 0.07793201506137848, 0.08350851386785507, 0.15091510117053986, 0.22190594673156738, 0.22156664729118347, 0.06357624381780624, 0.056950610131025314, 0.15218453109264374, -0.08080589771270752, -0.0902627483010292, -0.047573287039995193, 0.05397011712193489, 0.1299889087677002, -0.24594223499298096, -0.5943350791931152, -0.25094249844551086, -0.3843909800052643, 0.1706520915031433, 0.34857824444770813, 0.07550530135631561, 0.44331276416778564, 0.011679551564157009, -0.10930558294057846, 0.1785198152065277, -0.02720043994486332, -0.453326940536499, -0.28198346495628357, 0.4391224682331085, -0.3196451961994171, -0.08659812808036804, 0.12867699563503265, 0.08021683990955353, 0.505411684513092, 0.17009183764457703, -0.41924476623535156, -0.08137665688991547, -0.20287254452705383, 0.559615969657898, -0.08894592523574829, -0.19678866863250732, 0.3731647729873657, -0.08063872903585434, -0.13682515919208527, -0.07352279871702194, -0.09115523099899292, 0.1693691909313202, 0.13939207792282104, 0.09847670048475266, -0.028028126806020737, -0.015897754579782486, 0.06116130203008652, 0.623797595500946, -0.10169658064842224, 0.36402732133865356, 0.43212202191352844, -0.09531936794519424, 0.4441700577735901, -0.29826226830482483, -0.019507644698023796, 0.09690872579813004, -0.04083683714270592, -0.13711094856262207, 0.10027109831571579, 0.1894642859697342, 0.14084747433662415, -0.19254620373249054, 0.2834100127220154, 0.05116167291998863, -0.11449838429689407, -0.10233207792043686, -0.21639099717140198, -0.1487889289855957, 0.23315003514289856, 0.2560989260673523, -0.02444235049188137, -0.23364277184009552, 0.258884996175766, 0.00024069746723398566, -0.31138330698013306, 0.14246141910552979, 0.18471091985702515, 0.26104655861854553, -0.3149614930152893, 0.14234738051891327, 0.054437778890132904, 0.1395142823457718, -0.15748636424541473, -0.19561827182769775, 0.05026480555534363, 0.009360730648040771, 0.709250807762146, -0.07488782703876495, 0.3282444179058075, 0.04605801776051521, 0.14541348814964294, -0.19316238164901733, -0.029307877644896507, -0.04185296595096588, 0.15523536503314972, -0.11472750455141068, 0.1840611696243286, -0.10120852291584015, 0.2461545318365097, -0.003521050326526165, 0.11291053891181946, -0.08219733089208603, -0.0448850616812706, -0.27357277274131775, -0.36577677726745605, -0.29023513197898865, -0.20064231753349304, 0.08483950793743134, 0.06325496733188629, -0.052517011761665344, -0.03192858397960663, -0.08900266885757446, -0.09681161493062973, -0.3017066419124603, 0.2934797406196594, 0.2725435793399811, 0.0730249360203743, 0.05375922471284866, 0.08052866160869598, -0.2602846920490265, -0.15848812460899353, 0.534249484539032, -0.11778879910707474, -0.27074238657951355, 0.062214408069849014, -0.1692437082529068, -0.36268121004104614, 0.257414847612381, -0.2869166135787964, -0.16565486788749695, -0.05153758078813553, -0.24405130743980408, 0.0333615280687809, 0.27541324496269226, -0.10936658084392548, -0.4469205439090729, 0.15431584417819977, -0.25316759943962097, 0.35643449425697327, 0.04568703845143318, -0.10969346761703491, 0.4393000900745392, -0.3468494415283203, -0.1868128627538681, 0.1175021082162857, -0.1130010187625885, 0.6278261542320251, -0.08274547755718231, 0.26205340027809143, 0.3371366262435913, -0.30311617255210876, 0.5340246558189392, -0.3325388729572296, 0.15741226077079773, -0.22402268648147583, -0.13267391920089722, 0.118502676486969, -0.04636020585894585, -0.06663594394922256, -0.12167566269636154, -0.32718726992607117, 0.20699161291122437, -0.28253936767578125, 0.24575188755989075, -0.01225750520825386, -0.08466210961341858, -0.1541389375925064, -0.26245376467704773, -0.21201957762241364, 0.24911770224571228, -0.08974450826644897, 0.19170719385147095, -0.2054850310087204, 0.06268718093633652, 0.005463660694658756, -0.049012839794158936, -0.0955277681350708, 0.2749802768230438, -0.27757728099823, 0.2126466929912567, -0.06455682218074799, -0.22553421556949615, -0.5161387920379639, 0.13305555284023285, 0.32447874546051025, -0.05011937394738197, -0.24388179183006287, 0.2920490801334381, 0.25665783882141113, -0.025173690170049667, 0.02918829396367073, 0.12694574892520905, -0.10283578187227249, -0.14223699271678925, 0.06845611333847046, 0.18437014520168304, -0.28845280408859253, -0.23581911623477936, -0.11927057057619095, 0.10565067082643509, 0.11271600425243378, 0.058110132813453674, -0.2370678335428238, -0.19792702794075012, 0.14586608111858368, -0.19197264313697815, 0.19874943792819977, 0.005714163649827242, 0.11244195699691772, -0.021836528554558754, -0.09902828931808472, -0.30179303884506226, -0.13336746394634247, 0.5531503558158875, 0.009396002627909184, -0.09540203958749771, 0.4312438666820526, 0.06264343112707138, -0.18787936866283417, -0.21889065206050873, -0.3993035554885864, -0.6171079277992249, -0.41979849338531494, 0.2735121548175812, -0.034423086792230606, -0.33706560730934143, -0.17466706037521362, 0.29109200835227966, 0.09245036542415619, 0.02287537418305874, 0.0806000679731369, -0.36797067523002625, -0.19498415291309357, -0.06707900762557983, -0.27803921699523926, 0.0684792771935463, 0.10245877504348755, -0.37116989493370056, 0.0683903843164444, 0.04208599403500557, -0.36104610562324524, -0.11567109823226929, -0.213944673538208, -0.12699145078659058, -0.033634889870882034, 0.11767581850290298, 0.2561064064502716, 0.11703123152256012, 0.13286705315113068, 0.06240599602460861, -0.274745911359787, -0.32785356044769287, -0.06749194860458374, 0.05281485617160797, 0.0073339808732271194, -0.16572518646717072, -0.039098694920539856, -0.18810930848121643, -0.0998057946562767, 0.06835918873548508, 0.3622523546218872, 0.2228899747133255, -0.0804934874176979, 0.09136691689491272, -0.190926194190979, 0.09091662615537643, -0.26212459802627563, 0.3027530908584595, 0.01757553406059742, 0.21150405704975128, -0.07884771376848221, 0.05039214715361595, -0.24882231652736664, -0.10194374620914459, 0.10434688627719879, -0.06551995128393173, -0.016231978312134743, 0.11911874264478683, -0.040522072464227676, -0.224483460187912, 0.031543098390102386, 0.13785907626152039, -0.20528191328048706, 0.20698414742946625, -0.19546876847743988, -0.3326714038848877, -0.026710709556937218, 0.2537997364997864, -0.20889978110790253, -0.06289234757423401, -0.3372613191604614, -0.05627581477165222, -0.006059971638023853, 0.33245688676834106, 0.137780100107193, -0.3961062431335449, 0.5713961124420166, 0.26787176728248596, 0.4610527753829956, -0.36565330624580383, -0.004248091951012611, 0.05235746502876282, -0.35980024933815, 0.09968150407075882, 0.041154731065034866, 0.10795500874519348, -0.018874989822506905, 0.5628809332847595, -0.13191953301429749, 0.0021226191893219948, 0.2921508550643921, 0.003036814508959651, -0.27909091114997864, -0.30916231870651245, 0.11593692749738693, 0.07954944670200348, -0.08234585076570511, 0.14828121662139893, 0.024610266089439392, 0.07461053133010864, -0.15223734080791473, 0.17946477234363556, -0.313926637172699, -0.37257617712020874, -0.08413045108318329, -0.12029474973678589, 0.29749736189842224, -0.1807810664176941, 0.003656738670542836, 0.12212767452001572, -0.11720238626003265, 0.0254091564565897, 0.3917541801929474, -0.07936946302652359, -0.2506501078605652, -0.34225547313690186, 0.3105267882347107, -0.07128069549798965, -0.11901727318763733, -0.02102886699140072, 0.593487560749054, 0.09859483689069748, 0.026239365339279175, 0.30976077914237976, 0.17940592765808105, 0.17028051614761353, 0.2891249358654022, -0.11193040758371353, -0.11864964663982391, -0.0576537661254406, -0.08907465636730194, -0.20208409428596497, 0.3030664622783661, 0.24238872528076172, -0.13239453732967377, 0.2140216827392578, 0.24020957946777344, -0.21352946758270264, 0.19362054765224457, 0.35727858543395996, 0.1290241777896881, 0.009838678874075413, 0.17769864201545715, -0.1426185667514801, 0.05261843279004097, 0.18594539165496826, 0.13128577172756195, -0.25867295265197754, -0.12929341197013855, -0.028654642403125763, -0.02613300457596779, 0.16841945052146912, -0.01074863038957119, 0.12446900457143784, 0.12760522961616516, 0.6130914092063904, 0.06795366108417511, 0.2092219442129135, -0.14236198365688324, 0.10535694658756256, -0.592360258102417, 0.31702592968940735, 0.2080426663160324, -0.13773882389068604, -0.258352667093277, 0.4328593909740448, -0.1734926402568817, 0.16250985860824585, -0.027838265523314476, 0.11226856708526611, 0.33296045660972595, -0.1347234696149826, -0.3861861824989319, -0.15120801329612732, 0.1714549958705902, -0.036175068467855453, 0.1201498806476593, -0.535575270652771, 0.08164986968040466, 0.08025436103343964, 0.10882698744535446, 0.1583441197872162, -0.505459725856781, 0.20880885422229767, 0.13056008517742157, 0.44241857528686523, -0.1620054394006729, 0.11516326665878296, 0.08796839416027069, -0.1277148276567459, -0.3417397439479828, -0.16052554547786713, 0.09778352826833725, -0.22211436927318573, 0.2226935774087906, -0.0973159447312355, -0.17952759563922882, 0.1453976184129715, -0.2299451380968094, 0.5856584906578064, 0.2467726469039917, 0.45674920082092285, -0.0011391197331249714, 0.1800602674484253, -0.012664168141782284, 0.18712782859802246, -0.01229526661336422, -0.007325051352381706, -0.20156557857990265, 0.14206811785697937, -0.2445826679468155, -0.3063221871852875, 0.29385918378829956, 0.11068807542324066, -0.3722344636917114, 0.010499583557248116, 0.27343857288360596, -0.14313171803951263, -0.3644530773162842, -0.6153107285499573, 0.4379870891571045, 0.15337219834327698, 0.02318737655878067, -0.05402369424700737, 0.1092282384634018, -0.3143727779388428, 0.05372282862663269, -0.15300944447517395, 0.2981623709201813, 0.08701817691326141, -0.04422711580991745, -0.08199018239974976, -0.08153257519006729 ]
https://github.com/huggingface/datasets/issues/1615
Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hi @ashutoshml, I tried this and it worked for me: `data = load_dataset("cnn_dailymail", "3.0.0", cache_dir="./dummy")` I'm using datasets==1.8.0. It took around 3-4 mins for dataset to unpack and start loading examples.
Hello, I'm having issue downloading TriviaQA dataset with `load_dataset`. ## Environment info - `datasets` version: 1.1.3 - Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1 - Python version: 3.7.3 ## The code I'm running: ```python import datasets dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets") ``` ## The output: 1. Download begins: ``` Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d... Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s] ``` 2. 100% is reached 3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually. A similar issue can be observed in Google Colab: https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing ## Expected behaviour: The dataset "TriviaQA" should be successfully downloaded.
31
Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
[ -0.1144673302769661, 0.3958841562271118, -0.1283876895904541, 0.35347428917884827, 0.13258402049541473, 0.2150530368089676, 0.27215680480003357, 0.19289250671863556, 0.2596134543418884, -0.07622022181749344, -0.18119652569293976, 0.09229855984449387, 0.07858476787805557, -0.030082376673817635, -0.056184738874435425, 0.07656083256006241, -0.08245013654232025, 0.09471874684095383, 0.060758788138628006, 0.040704306215047836, -0.18313860893249512, 0.34903019666671753, -0.10105586051940918, -0.13538476824760437, -0.17538735270500183, -0.03272327035665512, 0.11334334313869476, 0.4390573799610138, -0.12965714931488037, -0.2728467583656311, 0.4372541010379791, 0.27744829654693604, 0.08282465487718582, 0.253888875246048, -0.000104773513157852, -0.0807318389415741, 0.140003502368927, -0.1597178727388382, -0.5048447847366333, 0.13628624379634857, -0.43952974677085876, 0.35115063190460205, -0.07213705033063889, -0.06578035652637482, 0.046447254717350006, 0.32233113050460815, 0.03900248557329178, -0.6143832206726074, 0.012814870104193687, 0.2597277760505676, 0.3089248538017273, 0.01476177480071783, -0.3031565248966217, -0.2952103018760681, 0.2664197087287903, -0.1632254272699356, -0.24701979756355286, 0.17338478565216064, -0.09245497733354568, 0.0385160930454731, -0.1567351073026657, 0.5095198154449463, 0.08664792776107788, 0.298614501953125, 0.04088583216071129, 0.05286663770675659, -0.25960254669189453, 0.016114532947540283, 0.39631280303001404, 0.01742495596408844, 0.6386580467224121, -0.2624077796936035, -0.1862591654062271, 0.1518862098455429, -0.16076752543449402, -0.1739177405834198, 0.2912328541278839, -0.07398122549057007, -0.2693236768245697, 0.009418684989213943, 0.1888178586959839, -0.10483662039041519, -0.11883615702390671, -0.06989727169275284, -0.11276212334632874, -0.07692719995975494, -0.13534143567085266, -0.05462794378399849, -0.017461495473980904, 0.032419443130493164, 0.2980503737926483, 0.11835110187530518, -0.25647401809692383, 0.056069038808345795, -0.20548036694526672, 0.09112685173749924, 0.20743194222450256, 0.0035238447599112988, 0.12936052680015564, 0.23992806673049927, 0.2504962682723999, 0.19688542187213898, -0.2318730503320694, -0.21240662038326263, 0.20848678052425385, 0.5501707196235657, -0.070234015583992, -0.26562654972076416, 0.31603965163230896, 0.27771762013435364, -0.10069014877080917, 0.061506979167461395, -0.08092489838600159, 0.0912264809012413, 0.021514851599931717, 0.08860759437084198, 0.17699237167835236, -0.2536071240901947, -0.22507941722869873, -0.11376676708459854, 0.22630108892917633, 0.10864219069480896, -0.1784219592809677, 0.4196508824825287, -0.21529075503349304, 0.09483128041028976, -0.25155600905418396, 0.23372599482536316, -0.11167295277118683, -0.07426165789365768, -0.3531741797924042, -0.07433921098709106, 0.10649978369474411, 0.10968302190303802, 0.43706247210502625, 0.2044653594493866, 0.2432822734117508, -0.2855673134326935, 0.14832621812820435, 0.04587225243449211, 0.05460968241095543, -0.2681223750114441, -0.025843994691967964, 0.14878876507282257, 0.09308404475450516, 0.2459069788455963, 0.046657271683216095, -0.01309570949524641, -0.08022308349609375, 0.11044390499591827, -0.1792759746313095, -0.4043952226638794, -0.05273083969950676, 0.21743938326835632, -0.16285370290279388, -0.09713917970657349, 0.18996182084083557, -0.02043028734624386, 0.19051897525787354, -0.09233482927083969, -0.11572860181331635, 0.2036769539117813, -0.14565607905387878, -0.2745271921157837, 0.14378902316093445, 0.5719955563545227, -0.23708269000053406, 0.178752601146698, -0.09622082859277725, 0.02785237319767475, 0.04888743534684181, 0.15309695899486542, -0.03634265810251236, 0.04533655568957329, -0.3640460669994354, 0.18355421721935272, 0.5811136960983276, -0.5778927803039551, -0.5847355127334595, -0.024434931576251984, 0.1235312819480896, 0.15344049036502838, 0.24080628156661987, 0.09386473894119263, 0.1892809122800827, 0.09013369679450989, 0.18255095183849335, 0.3274979293346405, 0.04817095771431923, 0.08975236862897873, -0.21171480417251587, -0.31038862466812134, 0.1616712361574173, 0.21439026296138763, 0.020639922469854355, 0.13364724814891815, 0.08840782940387726, 0.1943933516740799, 0.1452740877866745, 0.27260684967041016, -0.046500314027071, 0.08633698523044586, 0.010538831353187561, -0.22907744348049164, 0.17240525782108307, 0.09464011341333389, -0.6965624690055847, 0.2811121344566345, -0.10537533462047577, 0.07710976153612137, -0.26584023237228394, -0.014573286287486553, -0.49360963702201843, -0.14096671342849731, -0.28504928946495056, -0.3436335623264313, 0.22487978637218475, 0.30067160725593567, 0.4277087450027466, 0.09447650611400604, 0.035379569977521896, 0.443681001663208, 0.2310406118631363, -0.22355780005455017, -0.18715351819992065, -0.26789161562919617, -0.16315065324306488, -0.11146640032529831, -0.1138225644826889, 0.17982357740402222, 0.06635518372058868, -0.04535192623734474, -0.1427711695432663, 0.0987163707613945, 0.14998331665992737, 0.060336656868457794, -0.03581640496850014, -0.08947239816188812, 0.11133964359760284, 0.01647537387907505, 0.3248177766799927, 0.13444189727306366, 0.13203735649585724, -0.08559432625770569, -0.3554835617542267, -0.07462039589881897, -0.2597225606441498, 0.10429462790489197, 0.09450553357601166, -0.021315021440386772, 0.5149376392364502, 0.045085880905389786, 0.26314908266067505, -0.3853873908519745, -0.019397560507059097, 0.07174189388751984, 0.16665300726890564, -0.06066683679819107, 0.02374681457877159, 0.36579516530036926, 0.39734363555908203, 0.3263269066810608, 0.18140506744384766, -0.04158184677362442, -0.06202338635921478, -0.1897646188735962, 0.20687496662139893, 0.2847840189933777, 0.5480071902275085, 0.11276181042194366, 0.3156103491783142, -0.04097559303045273, 0.05126121640205383, -0.2924574017524719, 0.07147752493619919, -0.11017371714115143, -0.12994472682476044, 0.17938949167728424, 0.37596914172172546, -0.15923668444156647, -0.1227731853723526, -0.028539931401610374, 0.08017104864120483, 0.06640831381082535, -0.15667463839054108, 0.049545641988515854, -0.19550590217113495, -0.2672935724258423, 0.13220374286174774, -0.08856558054685593, 0.1594334989786148, -0.38808852434158325, 0.25401705503463745, 0.29323044419288635, -0.010197887197136879, 0.10470999777317047, -0.21651938557624817, 0.2701953649520874, 0.06886198371648788, -0.47450557351112366, -0.31301623582839966, -0.2638868987560272, -0.12821818888187408, 0.16771778464317322, -0.11768769472837448, -0.1844017058610916, 0.24388433992862701, -0.24405641853809357, 0.10140170156955719, -0.28363052010536194, -0.0212745051831007, 0.07793201506137848, 0.08350851386785507, 0.15091510117053986, 0.22190594673156738, 0.22156664729118347, 0.06357624381780624, 0.056950610131025314, 0.15218453109264374, -0.08080589771270752, -0.0902627483010292, -0.047573287039995193, 0.05397011712193489, 0.1299889087677002, -0.24594223499298096, -0.5943350791931152, -0.25094249844551086, -0.3843909800052643, 0.1706520915031433, 0.34857824444770813, 0.07550530135631561, 0.44331276416778564, 0.011679551564157009, -0.10930558294057846, 0.1785198152065277, -0.02720043994486332, -0.453326940536499, -0.28198346495628357, 0.4391224682331085, -0.3196451961994171, -0.08659812808036804, 0.12867699563503265, 0.08021683990955353, 0.505411684513092, 0.17009183764457703, -0.41924476623535156, -0.08137665688991547, -0.20287254452705383, 0.559615969657898, -0.08894592523574829, -0.19678866863250732, 0.3731647729873657, -0.08063872903585434, -0.13682515919208527, -0.07352279871702194, -0.09115523099899292, 0.1693691909313202, 0.13939207792282104, 0.09847670048475266, -0.028028126806020737, -0.015897754579782486, 0.06116130203008652, 0.623797595500946, -0.10169658064842224, 0.36402732133865356, 0.43212202191352844, -0.09531936794519424, 0.4441700577735901, -0.29826226830482483, -0.019507644698023796, 0.09690872579813004, -0.04083683714270592, -0.13711094856262207, 0.10027109831571579, 0.1894642859697342, 0.14084747433662415, -0.19254620373249054, 0.2834100127220154, 0.05116167291998863, -0.11449838429689407, -0.10233207792043686, -0.21639099717140198, -0.1487889289855957, 0.23315003514289856, 0.2560989260673523, -0.02444235049188137, -0.23364277184009552, 0.258884996175766, 0.00024069746723398566, -0.31138330698013306, 0.14246141910552979, 0.18471091985702515, 0.26104655861854553, -0.3149614930152893, 0.14234738051891327, 0.054437778890132904, 0.1395142823457718, -0.15748636424541473, -0.19561827182769775, 0.05026480555534363, 0.009360730648040771, 0.709250807762146, -0.07488782703876495, 0.3282444179058075, 0.04605801776051521, 0.14541348814964294, -0.19316238164901733, -0.029307877644896507, -0.04185296595096588, 0.15523536503314972, -0.11472750455141068, 0.1840611696243286, -0.10120852291584015, 0.2461545318365097, -0.003521050326526165, 0.11291053891181946, -0.08219733089208603, -0.0448850616812706, -0.27357277274131775, -0.36577677726745605, -0.29023513197898865, -0.20064231753349304, 0.08483950793743134, 0.06325496733188629, -0.052517011761665344, -0.03192858397960663, -0.08900266885757446, -0.09681161493062973, -0.3017066419124603, 0.2934797406196594, 0.2725435793399811, 0.0730249360203743, 0.05375922471284866, 0.08052866160869598, -0.2602846920490265, -0.15848812460899353, 0.534249484539032, -0.11778879910707474, -0.27074238657951355, 0.062214408069849014, -0.1692437082529068, -0.36268121004104614, 0.257414847612381, -0.2869166135787964, -0.16565486788749695, -0.05153758078813553, -0.24405130743980408, 0.0333615280687809, 0.27541324496269226, -0.10936658084392548, -0.4469205439090729, 0.15431584417819977, -0.25316759943962097, 0.35643449425697327, 0.04568703845143318, -0.10969346761703491, 0.4393000900745392, -0.3468494415283203, -0.1868128627538681, 0.1175021082162857, -0.1130010187625885, 0.6278261542320251, -0.08274547755718231, 0.26205340027809143, 0.3371366262435913, -0.30311617255210876, 0.5340246558189392, -0.3325388729572296, 0.15741226077079773, -0.22402268648147583, -0.13267391920089722, 0.118502676486969, -0.04636020585894585, -0.06663594394922256, -0.12167566269636154, -0.32718726992607117, 0.20699161291122437, -0.28253936767578125, 0.24575188755989075, -0.01225750520825386, -0.08466210961341858, -0.1541389375925064, -0.26245376467704773, -0.21201957762241364, 0.24911770224571228, -0.08974450826644897, 0.19170719385147095, -0.2054850310087204, 0.06268718093633652, 0.005463660694658756, -0.049012839794158936, -0.0955277681350708, 0.2749802768230438, -0.27757728099823, 0.2126466929912567, -0.06455682218074799, -0.22553421556949615, -0.5161387920379639, 0.13305555284023285, 0.32447874546051025, -0.05011937394738197, -0.24388179183006287, 0.2920490801334381, 0.25665783882141113, -0.025173690170049667, 0.02918829396367073, 0.12694574892520905, -0.10283578187227249, -0.14223699271678925, 0.06845611333847046, 0.18437014520168304, -0.28845280408859253, -0.23581911623477936, -0.11927057057619095, 0.10565067082643509, 0.11271600425243378, 0.058110132813453674, -0.2370678335428238, -0.19792702794075012, 0.14586608111858368, -0.19197264313697815, 0.19874943792819977, 0.005714163649827242, 0.11244195699691772, -0.021836528554558754, -0.09902828931808472, -0.30179303884506226, -0.13336746394634247, 0.5531503558158875, 0.009396002627909184, -0.09540203958749771, 0.4312438666820526, 0.06264343112707138, -0.18787936866283417, -0.21889065206050873, -0.3993035554885864, -0.6171079277992249, -0.41979849338531494, 0.2735121548175812, -0.034423086792230606, -0.33706560730934143, -0.17466706037521362, 0.29109200835227966, 0.09245036542415619, 0.02287537418305874, 0.0806000679731369, -0.36797067523002625, -0.19498415291309357, -0.06707900762557983, -0.27803921699523926, 0.0684792771935463, 0.10245877504348755, -0.37116989493370056, 0.0683903843164444, 0.04208599403500557, -0.36104610562324524, -0.11567109823226929, -0.213944673538208, -0.12699145078659058, -0.033634889870882034, 0.11767581850290298, 0.2561064064502716, 0.11703123152256012, 0.13286705315113068, 0.06240599602460861, -0.274745911359787, -0.32785356044769287, -0.06749194860458374, 0.05281485617160797, 0.0073339808732271194, -0.16572518646717072, -0.039098694920539856, -0.18810930848121643, -0.0998057946562767, 0.06835918873548508, 0.3622523546218872, 0.2228899747133255, -0.0804934874176979, 0.09136691689491272, -0.190926194190979, 0.09091662615537643, -0.26212459802627563, 0.3027530908584595, 0.01757553406059742, 0.21150405704975128, -0.07884771376848221, 0.05039214715361595, -0.24882231652736664, -0.10194374620914459, 0.10434688627719879, -0.06551995128393173, -0.016231978312134743, 0.11911874264478683, -0.040522072464227676, -0.224483460187912, 0.031543098390102386, 0.13785907626152039, -0.20528191328048706, 0.20698414742946625, -0.19546876847743988, -0.3326714038848877, -0.026710709556937218, 0.2537997364997864, -0.20889978110790253, -0.06289234757423401, -0.3372613191604614, -0.05627581477165222, -0.006059971638023853, 0.33245688676834106, 0.137780100107193, -0.3961062431335449, 0.5713961124420166, 0.26787176728248596, 0.4610527753829956, -0.36565330624580383, -0.004248091951012611, 0.05235746502876282, -0.35980024933815, 0.09968150407075882, 0.041154731065034866, 0.10795500874519348, -0.018874989822506905, 0.5628809332847595, -0.13191953301429749, 0.0021226191893219948, 0.2921508550643921, 0.003036814508959651, -0.27909091114997864, -0.30916231870651245, 0.11593692749738693, 0.07954944670200348, -0.08234585076570511, 0.14828121662139893, 0.024610266089439392, 0.07461053133010864, -0.15223734080791473, 0.17946477234363556, -0.313926637172699, -0.37257617712020874, -0.08413045108318329, -0.12029474973678589, 0.29749736189842224, -0.1807810664176941, 0.003656738670542836, 0.12212767452001572, -0.11720238626003265, 0.0254091564565897, 0.3917541801929474, -0.07936946302652359, -0.2506501078605652, -0.34225547313690186, 0.3105267882347107, -0.07128069549798965, -0.11901727318763733, -0.02102886699140072, 0.593487560749054, 0.09859483689069748, 0.026239365339279175, 0.30976077914237976, 0.17940592765808105, 0.17028051614761353, 0.2891249358654022, -0.11193040758371353, -0.11864964663982391, -0.0576537661254406, -0.08907465636730194, -0.20208409428596497, 0.3030664622783661, 0.24238872528076172, -0.13239453732967377, 0.2140216827392578, 0.24020957946777344, -0.21352946758270264, 0.19362054765224457, 0.35727858543395996, 0.1290241777896881, 0.009838678874075413, 0.17769864201545715, -0.1426185667514801, 0.05261843279004097, 0.18594539165496826, 0.13128577172756195, -0.25867295265197754, -0.12929341197013855, -0.028654642403125763, -0.02613300457596779, 0.16841945052146912, -0.01074863038957119, 0.12446900457143784, 0.12760522961616516, 0.6130914092063904, 0.06795366108417511, 0.2092219442129135, -0.14236198365688324, 0.10535694658756256, -0.592360258102417, 0.31702592968940735, 0.2080426663160324, -0.13773882389068604, -0.258352667093277, 0.4328593909740448, -0.1734926402568817, 0.16250985860824585, -0.027838265523314476, 0.11226856708526611, 0.33296045660972595, -0.1347234696149826, -0.3861861824989319, -0.15120801329612732, 0.1714549958705902, -0.036175068467855453, 0.1201498806476593, -0.535575270652771, 0.08164986968040466, 0.08025436103343964, 0.10882698744535446, 0.1583441197872162, -0.505459725856781, 0.20880885422229767, 0.13056008517742157, 0.44241857528686523, -0.1620054394006729, 0.11516326665878296, 0.08796839416027069, -0.1277148276567459, -0.3417397439479828, -0.16052554547786713, 0.09778352826833725, -0.22211436927318573, 0.2226935774087906, -0.0973159447312355, -0.17952759563922882, 0.1453976184129715, -0.2299451380968094, 0.5856584906578064, 0.2467726469039917, 0.45674920082092285, -0.0011391197331249714, 0.1800602674484253, -0.012664168141782284, 0.18712782859802246, -0.01229526661336422, -0.007325051352381706, -0.20156557857990265, 0.14206811785697937, -0.2445826679468155, -0.3063221871852875, 0.29385918378829956, 0.11068807542324066, -0.3722344636917114, 0.010499583557248116, 0.27343857288360596, -0.14313171803951263, -0.3644530773162842, -0.6153107285499573, 0.4379870891571045, 0.15337219834327698, 0.02318737655878067, -0.05402369424700737, 0.1092282384634018, -0.3143727779388428, 0.05372282862663269, -0.15300944447517395, 0.2981623709201813, 0.08701817691326141, -0.04422711580991745, -0.08199018239974976, -0.08153257519006729 ]
https://github.com/huggingface/datasets/issues/1615
Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Ok. I waited for 20-30 mins, and it still is stuck. I am using datasets==1.8.0. Is there anyway to check what is happening? like a` --verbose` flag? ![Screenshot 2021-06-25 at 6 37 43 PM](https://user-images.githubusercontent.com/2375919/123429653-cdfb7280-d5e4-11eb-9fa7-ff295800cc86.png)
Hello, I'm having issue downloading TriviaQA dataset with `load_dataset`. ## Environment info - `datasets` version: 1.1.3 - Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1 - Python version: 3.7.3 ## The code I'm running: ```python import datasets dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets") ``` ## The output: 1. Download begins: ``` Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d... Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s] ``` 2. 100% is reached 3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually. A similar issue can be observed in Google Colab: https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing ## Expected behaviour: The dataset "TriviaQA" should be successfully downloaded.
34
Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
[ -0.1144673302769661, 0.3958841562271118, -0.1283876895904541, 0.35347428917884827, 0.13258402049541473, 0.2150530368089676, 0.27215680480003357, 0.19289250671863556, 0.2596134543418884, -0.07622022181749344, -0.18119652569293976, 0.09229855984449387, 0.07858476787805557, -0.030082376673817635, -0.056184738874435425, 0.07656083256006241, -0.08245013654232025, 0.09471874684095383, 0.060758788138628006, 0.040704306215047836, -0.18313860893249512, 0.34903019666671753, -0.10105586051940918, -0.13538476824760437, -0.17538735270500183, -0.03272327035665512, 0.11334334313869476, 0.4390573799610138, -0.12965714931488037, -0.2728467583656311, 0.4372541010379791, 0.27744829654693604, 0.08282465487718582, 0.253888875246048, -0.000104773513157852, -0.0807318389415741, 0.140003502368927, -0.1597178727388382, -0.5048447847366333, 0.13628624379634857, -0.43952974677085876, 0.35115063190460205, -0.07213705033063889, -0.06578035652637482, 0.046447254717350006, 0.32233113050460815, 0.03900248557329178, -0.6143832206726074, 0.012814870104193687, 0.2597277760505676, 0.3089248538017273, 0.01476177480071783, -0.3031565248966217, -0.2952103018760681, 0.2664197087287903, -0.1632254272699356, -0.24701979756355286, 0.17338478565216064, -0.09245497733354568, 0.0385160930454731, -0.1567351073026657, 0.5095198154449463, 0.08664792776107788, 0.298614501953125, 0.04088583216071129, 0.05286663770675659, -0.25960254669189453, 0.016114532947540283, 0.39631280303001404, 0.01742495596408844, 0.6386580467224121, -0.2624077796936035, -0.1862591654062271, 0.1518862098455429, -0.16076752543449402, -0.1739177405834198, 0.2912328541278839, -0.07398122549057007, -0.2693236768245697, 0.009418684989213943, 0.1888178586959839, -0.10483662039041519, -0.11883615702390671, -0.06989727169275284, -0.11276212334632874, -0.07692719995975494, -0.13534143567085266, -0.05462794378399849, -0.017461495473980904, 0.032419443130493164, 0.2980503737926483, 0.11835110187530518, -0.25647401809692383, 0.056069038808345795, -0.20548036694526672, 0.09112685173749924, 0.20743194222450256, 0.0035238447599112988, 0.12936052680015564, 0.23992806673049927, 0.2504962682723999, 0.19688542187213898, -0.2318730503320694, -0.21240662038326263, 0.20848678052425385, 0.5501707196235657, -0.070234015583992, -0.26562654972076416, 0.31603965163230896, 0.27771762013435364, -0.10069014877080917, 0.061506979167461395, -0.08092489838600159, 0.0912264809012413, 0.021514851599931717, 0.08860759437084198, 0.17699237167835236, -0.2536071240901947, -0.22507941722869873, -0.11376676708459854, 0.22630108892917633, 0.10864219069480896, -0.1784219592809677, 0.4196508824825287, -0.21529075503349304, 0.09483128041028976, -0.25155600905418396, 0.23372599482536316, -0.11167295277118683, -0.07426165789365768, -0.3531741797924042, -0.07433921098709106, 0.10649978369474411, 0.10968302190303802, 0.43706247210502625, 0.2044653594493866, 0.2432822734117508, -0.2855673134326935, 0.14832621812820435, 0.04587225243449211, 0.05460968241095543, -0.2681223750114441, -0.025843994691967964, 0.14878876507282257, 0.09308404475450516, 0.2459069788455963, 0.046657271683216095, -0.01309570949524641, -0.08022308349609375, 0.11044390499591827, -0.1792759746313095, -0.4043952226638794, -0.05273083969950676, 0.21743938326835632, -0.16285370290279388, -0.09713917970657349, 0.18996182084083557, -0.02043028734624386, 0.19051897525787354, -0.09233482927083969, -0.11572860181331635, 0.2036769539117813, -0.14565607905387878, -0.2745271921157837, 0.14378902316093445, 0.5719955563545227, -0.23708269000053406, 0.178752601146698, -0.09622082859277725, 0.02785237319767475, 0.04888743534684181, 0.15309695899486542, -0.03634265810251236, 0.04533655568957329, -0.3640460669994354, 0.18355421721935272, 0.5811136960983276, -0.5778927803039551, -0.5847355127334595, -0.024434931576251984, 0.1235312819480896, 0.15344049036502838, 0.24080628156661987, 0.09386473894119263, 0.1892809122800827, 0.09013369679450989, 0.18255095183849335, 0.3274979293346405, 0.04817095771431923, 0.08975236862897873, -0.21171480417251587, -0.31038862466812134, 0.1616712361574173, 0.21439026296138763, 0.020639922469854355, 0.13364724814891815, 0.08840782940387726, 0.1943933516740799, 0.1452740877866745, 0.27260684967041016, -0.046500314027071, 0.08633698523044586, 0.010538831353187561, -0.22907744348049164, 0.17240525782108307, 0.09464011341333389, -0.6965624690055847, 0.2811121344566345, -0.10537533462047577, 0.07710976153612137, -0.26584023237228394, -0.014573286287486553, -0.49360963702201843, -0.14096671342849731, -0.28504928946495056, -0.3436335623264313, 0.22487978637218475, 0.30067160725593567, 0.4277087450027466, 0.09447650611400604, 0.035379569977521896, 0.443681001663208, 0.2310406118631363, -0.22355780005455017, -0.18715351819992065, -0.26789161562919617, -0.16315065324306488, -0.11146640032529831, -0.1138225644826889, 0.17982357740402222, 0.06635518372058868, -0.04535192623734474, -0.1427711695432663, 0.0987163707613945, 0.14998331665992737, 0.060336656868457794, -0.03581640496850014, -0.08947239816188812, 0.11133964359760284, 0.01647537387907505, 0.3248177766799927, 0.13444189727306366, 0.13203735649585724, -0.08559432625770569, -0.3554835617542267, -0.07462039589881897, -0.2597225606441498, 0.10429462790489197, 0.09450553357601166, -0.021315021440386772, 0.5149376392364502, 0.045085880905389786, 0.26314908266067505, -0.3853873908519745, -0.019397560507059097, 0.07174189388751984, 0.16665300726890564, -0.06066683679819107, 0.02374681457877159, 0.36579516530036926, 0.39734363555908203, 0.3263269066810608, 0.18140506744384766, -0.04158184677362442, -0.06202338635921478, -0.1897646188735962, 0.20687496662139893, 0.2847840189933777, 0.5480071902275085, 0.11276181042194366, 0.3156103491783142, -0.04097559303045273, 0.05126121640205383, -0.2924574017524719, 0.07147752493619919, -0.11017371714115143, -0.12994472682476044, 0.17938949167728424, 0.37596914172172546, -0.15923668444156647, -0.1227731853723526, -0.028539931401610374, 0.08017104864120483, 0.06640831381082535, -0.15667463839054108, 0.049545641988515854, -0.19550590217113495, -0.2672935724258423, 0.13220374286174774, -0.08856558054685593, 0.1594334989786148, -0.38808852434158325, 0.25401705503463745, 0.29323044419288635, -0.010197887197136879, 0.10470999777317047, -0.21651938557624817, 0.2701953649520874, 0.06886198371648788, -0.47450557351112366, -0.31301623582839966, -0.2638868987560272, -0.12821818888187408, 0.16771778464317322, -0.11768769472837448, -0.1844017058610916, 0.24388433992862701, -0.24405641853809357, 0.10140170156955719, -0.28363052010536194, -0.0212745051831007, 0.07793201506137848, 0.08350851386785507, 0.15091510117053986, 0.22190594673156738, 0.22156664729118347, 0.06357624381780624, 0.056950610131025314, 0.15218453109264374, -0.08080589771270752, -0.0902627483010292, -0.047573287039995193, 0.05397011712193489, 0.1299889087677002, -0.24594223499298096, -0.5943350791931152, -0.25094249844551086, -0.3843909800052643, 0.1706520915031433, 0.34857824444770813, 0.07550530135631561, 0.44331276416778564, 0.011679551564157009, -0.10930558294057846, 0.1785198152065277, -0.02720043994486332, -0.453326940536499, -0.28198346495628357, 0.4391224682331085, -0.3196451961994171, -0.08659812808036804, 0.12867699563503265, 0.08021683990955353, 0.505411684513092, 0.17009183764457703, -0.41924476623535156, -0.08137665688991547, -0.20287254452705383, 0.559615969657898, -0.08894592523574829, -0.19678866863250732, 0.3731647729873657, -0.08063872903585434, -0.13682515919208527, -0.07352279871702194, -0.09115523099899292, 0.1693691909313202, 0.13939207792282104, 0.09847670048475266, -0.028028126806020737, -0.015897754579782486, 0.06116130203008652, 0.623797595500946, -0.10169658064842224, 0.36402732133865356, 0.43212202191352844, -0.09531936794519424, 0.4441700577735901, -0.29826226830482483, -0.019507644698023796, 0.09690872579813004, -0.04083683714270592, -0.13711094856262207, 0.10027109831571579, 0.1894642859697342, 0.14084747433662415, -0.19254620373249054, 0.2834100127220154, 0.05116167291998863, -0.11449838429689407, -0.10233207792043686, -0.21639099717140198, -0.1487889289855957, 0.23315003514289856, 0.2560989260673523, -0.02444235049188137, -0.23364277184009552, 0.258884996175766, 0.00024069746723398566, -0.31138330698013306, 0.14246141910552979, 0.18471091985702515, 0.26104655861854553, -0.3149614930152893, 0.14234738051891327, 0.054437778890132904, 0.1395142823457718, -0.15748636424541473, -0.19561827182769775, 0.05026480555534363, 0.009360730648040771, 0.709250807762146, -0.07488782703876495, 0.3282444179058075, 0.04605801776051521, 0.14541348814964294, -0.19316238164901733, -0.029307877644896507, -0.04185296595096588, 0.15523536503314972, -0.11472750455141068, 0.1840611696243286, -0.10120852291584015, 0.2461545318365097, -0.003521050326526165, 0.11291053891181946, -0.08219733089208603, -0.0448850616812706, -0.27357277274131775, -0.36577677726745605, -0.29023513197898865, -0.20064231753349304, 0.08483950793743134, 0.06325496733188629, -0.052517011761665344, -0.03192858397960663, -0.08900266885757446, -0.09681161493062973, -0.3017066419124603, 0.2934797406196594, 0.2725435793399811, 0.0730249360203743, 0.05375922471284866, 0.08052866160869598, -0.2602846920490265, -0.15848812460899353, 0.534249484539032, -0.11778879910707474, -0.27074238657951355, 0.062214408069849014, -0.1692437082529068, -0.36268121004104614, 0.257414847612381, -0.2869166135787964, -0.16565486788749695, -0.05153758078813553, -0.24405130743980408, 0.0333615280687809, 0.27541324496269226, -0.10936658084392548, -0.4469205439090729, 0.15431584417819977, -0.25316759943962097, 0.35643449425697327, 0.04568703845143318, -0.10969346761703491, 0.4393000900745392, -0.3468494415283203, -0.1868128627538681, 0.1175021082162857, -0.1130010187625885, 0.6278261542320251, -0.08274547755718231, 0.26205340027809143, 0.3371366262435913, -0.30311617255210876, 0.5340246558189392, -0.3325388729572296, 0.15741226077079773, -0.22402268648147583, -0.13267391920089722, 0.118502676486969, -0.04636020585894585, -0.06663594394922256, -0.12167566269636154, -0.32718726992607117, 0.20699161291122437, -0.28253936767578125, 0.24575188755989075, -0.01225750520825386, -0.08466210961341858, -0.1541389375925064, -0.26245376467704773, -0.21201957762241364, 0.24911770224571228, -0.08974450826644897, 0.19170719385147095, -0.2054850310087204, 0.06268718093633652, 0.005463660694658756, -0.049012839794158936, -0.0955277681350708, 0.2749802768230438, -0.27757728099823, 0.2126466929912567, -0.06455682218074799, -0.22553421556949615, -0.5161387920379639, 0.13305555284023285, 0.32447874546051025, -0.05011937394738197, -0.24388179183006287, 0.2920490801334381, 0.25665783882141113, -0.025173690170049667, 0.02918829396367073, 0.12694574892520905, -0.10283578187227249, -0.14223699271678925, 0.06845611333847046, 0.18437014520168304, -0.28845280408859253, -0.23581911623477936, -0.11927057057619095, 0.10565067082643509, 0.11271600425243378, 0.058110132813453674, -0.2370678335428238, -0.19792702794075012, 0.14586608111858368, -0.19197264313697815, 0.19874943792819977, 0.005714163649827242, 0.11244195699691772, -0.021836528554558754, -0.09902828931808472, -0.30179303884506226, -0.13336746394634247, 0.5531503558158875, 0.009396002627909184, -0.09540203958749771, 0.4312438666820526, 0.06264343112707138, -0.18787936866283417, -0.21889065206050873, -0.3993035554885864, -0.6171079277992249, -0.41979849338531494, 0.2735121548175812, -0.034423086792230606, -0.33706560730934143, -0.17466706037521362, 0.29109200835227966, 0.09245036542415619, 0.02287537418305874, 0.0806000679731369, -0.36797067523002625, -0.19498415291309357, -0.06707900762557983, -0.27803921699523926, 0.0684792771935463, 0.10245877504348755, -0.37116989493370056, 0.0683903843164444, 0.04208599403500557, -0.36104610562324524, -0.11567109823226929, -0.213944673538208, -0.12699145078659058, -0.033634889870882034, 0.11767581850290298, 0.2561064064502716, 0.11703123152256012, 0.13286705315113068, 0.06240599602460861, -0.274745911359787, -0.32785356044769287, -0.06749194860458374, 0.05281485617160797, 0.0073339808732271194, -0.16572518646717072, -0.039098694920539856, -0.18810930848121643, -0.0998057946562767, 0.06835918873548508, 0.3622523546218872, 0.2228899747133255, -0.0804934874176979, 0.09136691689491272, -0.190926194190979, 0.09091662615537643, -0.26212459802627563, 0.3027530908584595, 0.01757553406059742, 0.21150405704975128, -0.07884771376848221, 0.05039214715361595, -0.24882231652736664, -0.10194374620914459, 0.10434688627719879, -0.06551995128393173, -0.016231978312134743, 0.11911874264478683, -0.040522072464227676, -0.224483460187912, 0.031543098390102386, 0.13785907626152039, -0.20528191328048706, 0.20698414742946625, -0.19546876847743988, -0.3326714038848877, -0.026710709556937218, 0.2537997364997864, -0.20889978110790253, -0.06289234757423401, -0.3372613191604614, -0.05627581477165222, -0.006059971638023853, 0.33245688676834106, 0.137780100107193, -0.3961062431335449, 0.5713961124420166, 0.26787176728248596, 0.4610527753829956, -0.36565330624580383, -0.004248091951012611, 0.05235746502876282, -0.35980024933815, 0.09968150407075882, 0.041154731065034866, 0.10795500874519348, -0.018874989822506905, 0.5628809332847595, -0.13191953301429749, 0.0021226191893219948, 0.2921508550643921, 0.003036814508959651, -0.27909091114997864, -0.30916231870651245, 0.11593692749738693, 0.07954944670200348, -0.08234585076570511, 0.14828121662139893, 0.024610266089439392, 0.07461053133010864, -0.15223734080791473, 0.17946477234363556, -0.313926637172699, -0.37257617712020874, -0.08413045108318329, -0.12029474973678589, 0.29749736189842224, -0.1807810664176941, 0.003656738670542836, 0.12212767452001572, -0.11720238626003265, 0.0254091564565897, 0.3917541801929474, -0.07936946302652359, -0.2506501078605652, -0.34225547313690186, 0.3105267882347107, -0.07128069549798965, -0.11901727318763733, -0.02102886699140072, 0.593487560749054, 0.09859483689069748, 0.026239365339279175, 0.30976077914237976, 0.17940592765808105, 0.17028051614761353, 0.2891249358654022, -0.11193040758371353, -0.11864964663982391, -0.0576537661254406, -0.08907465636730194, -0.20208409428596497, 0.3030664622783661, 0.24238872528076172, -0.13239453732967377, 0.2140216827392578, 0.24020957946777344, -0.21352946758270264, 0.19362054765224457, 0.35727858543395996, 0.1290241777896881, 0.009838678874075413, 0.17769864201545715, -0.1426185667514801, 0.05261843279004097, 0.18594539165496826, 0.13128577172756195, -0.25867295265197754, -0.12929341197013855, -0.028654642403125763, -0.02613300457596779, 0.16841945052146912, -0.01074863038957119, 0.12446900457143784, 0.12760522961616516, 0.6130914092063904, 0.06795366108417511, 0.2092219442129135, -0.14236198365688324, 0.10535694658756256, -0.592360258102417, 0.31702592968940735, 0.2080426663160324, -0.13773882389068604, -0.258352667093277, 0.4328593909740448, -0.1734926402568817, 0.16250985860824585, -0.027838265523314476, 0.11226856708526611, 0.33296045660972595, -0.1347234696149826, -0.3861861824989319, -0.15120801329612732, 0.1714549958705902, -0.036175068467855453, 0.1201498806476593, -0.535575270652771, 0.08164986968040466, 0.08025436103343964, 0.10882698744535446, 0.1583441197872162, -0.505459725856781, 0.20880885422229767, 0.13056008517742157, 0.44241857528686523, -0.1620054394006729, 0.11516326665878296, 0.08796839416027069, -0.1277148276567459, -0.3417397439479828, -0.16052554547786713, 0.09778352826833725, -0.22211436927318573, 0.2226935774087906, -0.0973159447312355, -0.17952759563922882, 0.1453976184129715, -0.2299451380968094, 0.5856584906578064, 0.2467726469039917, 0.45674920082092285, -0.0011391197331249714, 0.1800602674484253, -0.012664168141782284, 0.18712782859802246, -0.01229526661336422, -0.007325051352381706, -0.20156557857990265, 0.14206811785697937, -0.2445826679468155, -0.3063221871852875, 0.29385918378829956, 0.11068807542324066, -0.3722344636917114, 0.010499583557248116, 0.27343857288360596, -0.14313171803951263, -0.3644530773162842, -0.6153107285499573, 0.4379870891571045, 0.15337219834327698, 0.02318737655878067, -0.05402369424700737, 0.1092282384634018, -0.3143727779388428, 0.05372282862663269, -0.15300944447517395, 0.2981623709201813, 0.08701817691326141, -0.04422711580991745, -0.08199018239974976, -0.08153257519006729 ]
https://github.com/huggingface/datasets/issues/1611
shuffle with torch generator
Is there a way one can convert the two generator? not sure overall what alternatives I could have to shuffle the datasets with a torch generator, thanks
Hi I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help @lhoestq
27
shuffle with torch generator
[ -0.18823862075805664, -0.526898980140686, -0.19863425195217133, 0.12944109737873077, 0.04409925639629364, -0.026158060878515244, 0.2704905569553375, -0.06942173093557358, -0.20618890225887299, 0.6691250801086426, -0.017420053482055664, 0.42275187373161316, -0.3466506004333496, -0.24057915806770325, -0.07808676362037659, -0.2135249227285385, 0.06230442598462105, -0.026701267808675766, -0.10227533429861069, -0.23429174721240997, -0.07941931486129761, -0.20591647922992706, -0.303763210773468, 0.025181885808706284, -0.24281932413578033, 0.16183865070343018, -0.18060986697673798, 0.1359955370426178, -0.29093262553215027, 0.3248246908187866, -0.2951005697250366, 0.5548934936523438, -0.15114057064056396, 0.37697654962539673, -0.00010341611050534993, -0.2473653256893158, -0.008300953544676304, -0.09516187012195587, -0.14541763067245483, -0.18339040875434875, 0.1915566772222519, 0.6032772660255432, -0.48204466700553894, 0.10853511840105057, -0.08654196560382843, -0.19765067100524902, 0.21953673660755157, -0.16150708496570587, 0.11429163068532944, -0.18855415284633636, 0.26309624314308167, -0.14858457446098328, -0.07505003362894058, -0.050202250480651855, 0.7223483324050903, 0.18833249807357788, 0.10662113130092621, -0.1501901000738144, 0.34521758556365967, 0.011031943373382092, -0.1708577573299408, 0.1228310838341713, 0.12782715260982513, 0.03991756960749626, 0.3664069175720215, -0.277512788772583, -0.2587747871875763, 0.19162680208683014, 0.14359520375728607, 0.09595927596092224, 0.0041676657274365425, -0.11358433961868286, 0.1359039694070816, 0.010497123934328556, -0.014339668676257133, -0.15423831343650818, 0.004280002787709236, 0.2826389968395233, -0.2574513256549835, -0.21857118606567383, -0.21774068474769592, -0.004111603368073702, 0.1369456648826599, -0.2393692135810852, 0.29338666796684265, 0.5993384122848511, -0.00048639049055054784, -0.029297348111867905, 0.440990149974823, -0.028460955247282982, 0.6444804072380066, -0.008407511748373508, -0.14332404732704163, 0.3001094162464142, 0.004701859317719936, -0.011543815955519676, 0.11924278736114502, 0.30838972330093384, 0.15933826565742493, -0.20729456841945648, 0.2913036048412323, 0.12231186777353287, 0.20466788113117218, 0.08958037942647934, 0.12164116650819778, -0.22702838480472565, -0.05275967717170715, 0.20249341428279877, -0.1775364726781845, -0.21670223772525787, -0.09845447540283203, -0.042100563645362854, -0.15035711228847504, -0.3620806038379669, -0.06892766058444977, 0.34539973735809326, -0.6049122214317322, 0.036598898470401764, 0.13229629397392273, -0.2883102297782898, 0.013429753482341766, -0.29227209091186523, -0.04495103657245636, 0.27790313959121704, 0.11732444912195206, 0.12613117694854736, -0.0491303913295269, 0.11176571249961853, 0.13749003410339355, 0.017599930986762047, -0.2575376629829407, 0.05011972039937973, -0.2939702868461609, -0.13746482133865356, -0.15293079614639282, -0.11035221815109253, 0.17393751442432404, -0.03737299516797066, 0.12985938787460327, 0.20257994532585144, 0.06375167518854141, 0.02258298173546791, 0.234771728515625, -0.28772249817848206, 0.1169222816824913, -0.1920032799243927, -0.2766072154045105, 0.3190114498138428, 0.05612272769212723, 0.27685946226119995, 0.17444796860218048, -0.12496504932641983, 0.08659365773200989, 0.25640395283699036, 0.19937728345394135, 0.17676417529582977, 0.0036781560629606247, -0.0019297748804092407, 0.005724004469811916, -0.28246206045150757, 0.025396965444087982, -0.12997667491436005, -0.04672274366021156, -0.11762095987796783, -0.1298271119594574, -0.06399732828140259, 0.21961772441864014, -0.2133878469467163, 0.03673245757818222, -0.04303612932562828, 0.2801087498664856, 0.07473234832286835, -0.08144104480743408, 0.04620487242937088, -0.26141175627708435, -0.38041192293167114, 0.317671000957489, 0.23731856048107147, -0.08185639977455139, -0.3362230658531189, -0.20349597930908203, -0.05363195762038231, 0.3231867253780365, 0.12384501844644547, -0.0318959578871727, -0.17829468846321106, 0.7291724681854248, 0.22181516885757446, -0.19939644634723663, 0.14964616298675537, -0.19175554811954498, 0.011094178073108196, 0.33212289214134216, 0.12518194317817688, -0.07291289418935776, 0.07920902967453003, -0.12530770897865295, -0.1977102905511856, 0.1995842456817627, -0.13800403475761414, -0.2776643633842468, -0.22356119751930237, -0.23211811482906342, 0.26203641295433044, -0.1009206771850586, 0.08045505732297897, 0.29071900248527527, -0.24438974261283875, 0.043759897351264954, 0.05161052942276001, 0.14965318143367767, -0.022685864940285683, 0.08191244304180145, -0.20363712310791016, -0.16834697127342224, -0.08012723922729492, 0.18691636621952057, 0.17685046792030334, 0.1706470400094986, -0.3446198105812073, -0.08222579210996628, -0.27864986658096313, -0.12864261865615845, -0.1860625296831131, -0.3806735575199127, -0.06761658191680908, -0.21890471875667572, -0.18349233269691467, 0.18587954342365265, 0.1078282967209816, -0.027935612946748734, 0.10292907059192657, 0.08513643592596054, 0.05611446127295494, -0.146331787109375, -0.1092630997300148, 0.05187508091330528, 0.15408393740653992, -0.0900375172495842, 0.0010282504372298717, 0.15764479339122772, -0.10449063777923584, 0.06411178410053253, -0.012371033430099487, 0.07728998363018036, 0.4556606709957123, -0.35364630818367004, -0.12824565172195435, -0.03659862279891968, -0.3304903209209442, -0.1590179204940796, 0.26931947469711304, 0.22444751858711243, 0.36803239583969116, 0.3828676640987396, 0.2777581810951233, -0.08403568714857101, 0.09855006635189056, -0.3094676434993744, -0.02503361739218235, 0.2780056297779083, -0.08916763216257095, 0.02198883332312107, -0.081028513610363, -0.05417252704501152, 0.012835408560931683, -0.09322153031826019, -0.22201025485992432, 0.0795157328248024, 0.37086063623428345, 0.014883801341056824, -0.10706373304128647, 0.17490623891353607, -0.24044601619243622, -0.10736194252967834, -0.2707054615020752, -0.24804820120334625, 0.23806898295879364, 0.04986322671175003, -0.241941899061203, -0.22192955017089844, -0.18295787274837494, -0.13371019065380096, 0.12629947066307068, 0.0017365877283737063, -0.03381966054439545, 0.21073250472545624, 0.026106318458914757, -0.024026203900575638, -0.28050440549850464, -0.04124448448419571, -0.034416310489177704, 0.3715693950653076, 0.5908255577087402, -0.18987342715263367, 0.08034555613994598, 0.7591679692268372, 0.1389026790857315, 0.18298587203025818, 0.15973018109798431, -0.09274043142795563, -0.18025176227092743, 0.04042831435799599, 0.26758891344070435, -0.029047803953289986, -0.045972324907779694, 0.18630030751228333, -0.3637477457523346, -0.1252787560224533, 0.0999143049120903, 0.3781779408454895, 0.13430489599704742, 0.03948520869016647, -0.4083313047885895, 0.1788148134946823, -0.13690732419490814, 0.08745790272951126, -0.29327186942100525, 0.14837871491909027, -0.4210907518863678, 0.05425379425287247, 0.1366846114397049, 0.1962875872850418, -0.11386449635028839, -0.0864158421754837, -0.07111743837594986, 0.021297845989465714, -0.08098909258842468, 0.13086682558059692, 0.03804697096347809, 0.342773973941803, -0.12857963144779205, 0.3041985034942627, -0.40037110447883606, -0.15484163165092468, -0.12158810347318649, -0.2655816376209259, -0.7442691326141357, 0.28768208622932434, -0.06522855907678604, -0.05867835506796837, -0.24553966522216797, -0.10629669576883316, -0.23482643067836761, 0.6078552007675171, 0.4493432641029358, 0.28098171949386597, 0.138356551527977, 0.12673115730285645, -0.13186290860176086, 0.3760738670825958, 0.23128047585487366, 0.08348946273326874, -0.15011988580226898, -0.06640183925628662, 0.2569769322872162, 0.035035159438848495, -0.13478289544582367, 0.5317350625991821, 0.011929764412343502, -0.0625266581773758, 0.04758450761437416, 0.7109020948410034, -0.5686829686164856, -0.32719454169273376, -0.16023696959018707, -0.10206712782382965, 0.044408783316612244, -0.053217433393001556, 0.006184427998960018, 0.27654778957366943, 0.3666093051433563, -0.1740008145570755, 0.10488689690828323, -0.12160144001245499, 0.012084146030247211, -0.07026262581348419, 0.18939122557640076, 0.10025948286056519, -0.13655175268650055, 0.17538021504878998, 0.0348285436630249, -0.0005675037391483784, 0.04024874418973923, 0.3416149616241455, -0.17491964995861053, 0.07302600890398026, 0.122370146214962, -0.05101361125707626, 0.5039793848991394, -0.22393494844436646, -0.0407196469604969, -0.19639180600643158, -0.1455344259738922, -0.05237656086683273, 0.2941823899745941, -0.08763465285301208, 0.021693583577871323, -0.21252287924289703, 0.1490386724472046, 0.03793196752667427, 0.7277791500091553, 0.10327371954917908, 0.03520042449235916, -0.10005034506320953, 0.35416629910469055, 0.17619077861309052, -0.007183850277215242, -0.09246145188808441, -0.09787774831056595, 0.05997991934418678, 0.03172815591096878, -0.1969085931777954, 0.1456921249628067, -0.19920672476291656, 0.16419507563114166, -0.020964881405234337, -0.11471667885780334, -0.41234374046325684, 0.09490559995174408, -0.3098751902580261, 0.15287341177463531, 0.1292506903409958, -0.011525817215442657, -0.22297541797161102, 0.14568358659744263, 0.28083041310310364, 0.06402886658906937, 0.06166788190603256, -0.03593280166387558, 0.11952781677246094, -0.08008219301700592, -0.27460864186286926, 0.227944016456604, -0.1711026281118393, 0.0013449079124256968, -0.338056743144989, 0.2738456428050995, 0.3672519624233246, 0.04035414010286331, -0.2590906023979187, -0.2539594769477844, 0.16433244943618774, 0.1304832100868225, 0.16140614449977875, -0.3611251711845398, 0.20851026475429535, 0.08302542567253113, -0.230165034532547, -0.05086619406938553, -0.08171218633651733, 0.007781432941555977, -0.6778645515441895, -0.09406821429729462, -0.005283565726131201, -0.060692839324474335, 0.38532066345214844, -0.5052615404129028, -0.015756582841277122, 0.28537580370903015, -0.05743598937988281, 1.0540837049484253, -0.0753978043794632, 0.13727103173732758, -0.1255621463060379, -0.1892431378364563, -0.19200792908668518, -0.32309553027153015, 0.08860553801059723, -0.213060200214386, -0.3186749219894409, 0.021960653364658356, -0.16050304472446442, -0.257938951253891, 0.22820797562599182, -0.029204266145825386, 0.250959575176239, -0.33890223503112793, -0.0789235457777977, -0.004149551969021559, -0.21514686942100525, -0.4103091359138489, 0.07046114653348923, 0.23709578812122345, 0.11454469710588455, 0.1204315572977066, 0.26243945956230164, -0.03852194920182228, 0.025191685184836388, -0.20553597807884216, -0.1630917638540268, -0.06389624625444412, 0.07304982095956802, -0.04613426327705383, -0.10828648507595062, -0.12480109184980392, -0.16824838519096375, -0.018982768058776855, 0.07478135824203491, 0.005019017960876226, 0.2751377522945404, 0.2455446571111679, 0.1999214142560959, 0.4288264811038971, 0.08910773694515228, -0.29398444294929504, 0.1802438497543335, -0.13053913414478302, -0.06932997703552246, -0.20343002676963806, 0.17448441684246063, 0.20632995665073395, -0.4005674421787262, -0.7123713493347168, -0.11903965473175049, 0.5025243759155273, -0.06561502814292908, 0.26329442858695984, 0.2303445190191269, -0.09658273309469223, -0.0339965894818306, 0.2558438181877136, 0.18678505718708038, -0.300830602645874, 0.06223399564623833, -0.0742485523223877, 0.15139780938625336, -0.055713552981615067, 0.20082247257232666, 0.07112132757902145, 0.12600934505462646, -0.01832677237689495, 0.17747054994106293, -0.11521437019109726, -0.28845977783203125, -0.16704712808132172, 0.11540550738573074, -0.208946093916893, -0.05539598688483238, -0.07175999879837036, -0.2628422975540161, -0.11795011907815933, 0.21656721830368042, 0.02544594369828701, 0.29380953311920166, 0.07752186059951782, 0.06217442452907562, -0.35512587428092957, -0.10463494807481766, 0.1164146214723587, 0.1987772136926651, 0.07856088131666183, 0.17727994918823242, -0.1828591376543045, 0.1252240538597107, -0.4311363399028778, -0.20010215044021606, 0.3256630301475525, 0.3169800043106079, -0.14237293601036072, -0.21514813601970673, -0.41597360372543335, -0.14399376511573792, 0.36344441771507263, 0.12163244932889938, -0.2901464104652405, -0.3295947015285492, 0.1312451809644699, 0.03775501251220703, 0.1386568248271942, 0.09969011694192886, -0.12244454771280289, -0.029583124443888664, -0.12707333266735077, 0.055525247007608414, 0.17699691653251648, 0.21603389084339142, -0.019606683403253555, 0.17450086772441864, 0.522700309753418, 0.07215528935194016, -0.03776484727859497, -0.03765818849205971, -0.10054464638233185, -0.1038917601108551, -0.22103163599967957, -0.1516171395778656, 0.0781393051147461, -0.11111033707857132, -0.08440396189689636, 0.1726960390806198, 0.29604455828666687, 0.07958709448575974, 0.17443035542964935, 0.05436251312494278, -0.062281250953674316, -0.14189089834690094, 0.10543842613697052, 0.18356066942214966, -0.023243051022291183, -0.24255789816379547, 0.31613242626190186, 0.3181861340999603, -0.0021408861503005028, 0.07518106698989868, -0.38976621627807617, 0.22941254079341888, 0.15406136214733124, 0.08122992515563965, -0.4205222725868225, -0.4702501893043518, -0.2166806012392044, 0.06293335556983948, -0.026593847200274467, -0.27857404947280884, 0.05642591789364815, 0.2784937024116516, 0.14871759712696075, -0.14680339395999908, 0.011822215281426907, -0.20121636986732483, -0.1155412569642067, 0.3295387029647827, 0.1165931224822998, 0.30374330282211304, 0.22825267910957336, -0.1061449646949768, 0.036949578672647476, -0.032109860330820084, -0.026515856385231018, 0.6872867345809937, 0.19893167912960052, 0.187283456325531, 0.48784756660461426, 0.175556018948555, 0.11441431194543839, 0.3015918433666229, 0.17821891605854034, 0.1273358315229416, 0.011434711515903473, -0.06874141097068787, -0.1562177538871765, -0.2998141944408417, -0.37360718846321106, 0.12969765067100525, 0.21880988776683807, 0.23953333497047424, -0.047920916229486465, 0.011555545032024384, 0.16657759249210358, -0.011436653323471546, 0.40175628662109375, 0.22165121138095856, 0.1377246379852295, -0.09920314699411392, -0.2309722900390625, 0.10045766830444336, 0.02385292388498783, 0.5169413685798645, -0.2484271079301834, -0.14727537333965302, 0.08991558849811554, -0.2549222409725189, 0.1216098889708519, -0.21709181368350983, -0.155193492770195, -0.09738560020923615, -0.024176841601729393, 0.20730915665626526, -0.18437597155570984, 0.036774639040231705, 0.2687585949897766, -0.39628440141677856, -0.2034231424331665, 0.29351046681404114, -0.025358201935887337, 0.34411901235580444, -0.006471574306488037, -0.007511022500693798, -0.15342405438423157, 0.018468152731657028, -0.08709439635276794, -0.3894364833831787, -0.1346326321363449, -0.6527346968650818, 0.11388638615608215, -0.059813469648361206, -0.014959711581468582, 0.13951507210731506, 0.11190912127494812, 0.1418939232826233, 0.3202234208583832, -0.022304194048047066, 0.08724885433912277, -0.5877199172973633, -0.12142140418291092, 0.1760965883731842, 0.22742918133735657, 0.21170134842395782, -0.34787583351135254, 0.13114787638187408, 0.21591761708259583, 0.13307441771030426, -0.06618873029947281, 0.20395466685295105, 0.10651688277721405, 0.8229343295097351, -0.14659905433654785, -0.06623449176549911, -0.09201168268918991, 0.22577165067195892, 0.10138639807701111, -0.1058838739991188, -0.09852830320596695, -0.02964155562222004, 0.387137770652771, -0.08361702412366867, 0.1344151645898819, -0.2983914017677307, -0.02214074321091175, -0.12561379373073578, -0.2607799768447876, 0.19809672236442566, -0.1684887558221817, 0.20614151656627655, 0.2605903744697571, 0.2288265973329544, -0.054592814296483994, -0.2240782380104065, 0.35065212845802307, 0.1299349069595337, 0.33543261885643005, -0.054797518998384476, -0.21390220522880554, 0.42087969183921814, -0.010049116797745228, 0.30065810680389404, -0.42049604654312134, 0.3114127218723297, -0.04881594330072403, 0.2294934093952179, -0.3848636746406555, -0.04228002578020096, 0.00808825995773077, -0.11706120520830154, -0.25590780377388, 0.2055767923593521, 0.33952951431274414, -0.06297902762889862, -0.37009304761886597, -0.27277570962905884, 0.05774720758199692, 0.30955854058265686, -0.06846838444471359, 0.028111418709158897, 0.18093261122703552, -0.08099202066659927, 0.05816175043582916, 0.24245399236679077, 0.015435658395290375, -0.0638374462723732, 0.012804588302969933, -0.0038271809462457895, -0.09646742045879364, 0.028379390016198158, -0.07103800028562546, -0.19939301908016205, -0.2738724946975708 ]
https://github.com/huggingface/datasets/issues/1611
shuffle with torch generator
@lhoestq let me please expalin in more details, maybe you could help me suggesting an alternative to solve the issue for now, I have multiple large datasets using huggingface library, then I need to define a distributed sampler on top of it, for this I need to shard the datasets and give each shard to each core, but before sharding I need to shuffle the dataset, if you are familiar with distributed sampler in pytorch, this needs to be done based on seed+epoch generator to make it consistent across the cores they do it through defining a torch generator, I was wondering if you could tell me how I can shuffle the data for now, I am unfortunately blocked by this and have a limited time left, and I greatly appreciate your help on this. thanks
Hi I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help @lhoestq
136
shuffle with torch generator
[ -0.18823862075805664, -0.526898980140686, -0.19863425195217133, 0.12944109737873077, 0.04409925639629364, -0.026158060878515244, 0.2704905569553375, -0.06942173093557358, -0.20618890225887299, 0.6691250801086426, -0.017420053482055664, 0.42275187373161316, -0.3466506004333496, -0.24057915806770325, -0.07808676362037659, -0.2135249227285385, 0.06230442598462105, -0.026701267808675766, -0.10227533429861069, -0.23429174721240997, -0.07941931486129761, -0.20591647922992706, -0.303763210773468, 0.025181885808706284, -0.24281932413578033, 0.16183865070343018, -0.18060986697673798, 0.1359955370426178, -0.29093262553215027, 0.3248246908187866, -0.2951005697250366, 0.5548934936523438, -0.15114057064056396, 0.37697654962539673, -0.00010341611050534993, -0.2473653256893158, -0.008300953544676304, -0.09516187012195587, -0.14541763067245483, -0.18339040875434875, 0.1915566772222519, 0.6032772660255432, -0.48204466700553894, 0.10853511840105057, -0.08654196560382843, -0.19765067100524902, 0.21953673660755157, -0.16150708496570587, 0.11429163068532944, -0.18855415284633636, 0.26309624314308167, -0.14858457446098328, -0.07505003362894058, -0.050202250480651855, 0.7223483324050903, 0.18833249807357788, 0.10662113130092621, -0.1501901000738144, 0.34521758556365967, 0.011031943373382092, -0.1708577573299408, 0.1228310838341713, 0.12782715260982513, 0.03991756960749626, 0.3664069175720215, -0.277512788772583, -0.2587747871875763, 0.19162680208683014, 0.14359520375728607, 0.09595927596092224, 0.0041676657274365425, -0.11358433961868286, 0.1359039694070816, 0.010497123934328556, -0.014339668676257133, -0.15423831343650818, 0.004280002787709236, 0.2826389968395233, -0.2574513256549835, -0.21857118606567383, -0.21774068474769592, -0.004111603368073702, 0.1369456648826599, -0.2393692135810852, 0.29338666796684265, 0.5993384122848511, -0.00048639049055054784, -0.029297348111867905, 0.440990149974823, -0.028460955247282982, 0.6444804072380066, -0.008407511748373508, -0.14332404732704163, 0.3001094162464142, 0.004701859317719936, -0.011543815955519676, 0.11924278736114502, 0.30838972330093384, 0.15933826565742493, -0.20729456841945648, 0.2913036048412323, 0.12231186777353287, 0.20466788113117218, 0.08958037942647934, 0.12164116650819778, -0.22702838480472565, -0.05275967717170715, 0.20249341428279877, -0.1775364726781845, -0.21670223772525787, -0.09845447540283203, -0.042100563645362854, -0.15035711228847504, -0.3620806038379669, -0.06892766058444977, 0.34539973735809326, -0.6049122214317322, 0.036598898470401764, 0.13229629397392273, -0.2883102297782898, 0.013429753482341766, -0.29227209091186523, -0.04495103657245636, 0.27790313959121704, 0.11732444912195206, 0.12613117694854736, -0.0491303913295269, 0.11176571249961853, 0.13749003410339355, 0.017599930986762047, -0.2575376629829407, 0.05011972039937973, -0.2939702868461609, -0.13746482133865356, -0.15293079614639282, -0.11035221815109253, 0.17393751442432404, -0.03737299516797066, 0.12985938787460327, 0.20257994532585144, 0.06375167518854141, 0.02258298173546791, 0.234771728515625, -0.28772249817848206, 0.1169222816824913, -0.1920032799243927, -0.2766072154045105, 0.3190114498138428, 0.05612272769212723, 0.27685946226119995, 0.17444796860218048, -0.12496504932641983, 0.08659365773200989, 0.25640395283699036, 0.19937728345394135, 0.17676417529582977, 0.0036781560629606247, -0.0019297748804092407, 0.005724004469811916, -0.28246206045150757, 0.025396965444087982, -0.12997667491436005, -0.04672274366021156, -0.11762095987796783, -0.1298271119594574, -0.06399732828140259, 0.21961772441864014, -0.2133878469467163, 0.03673245757818222, -0.04303612932562828, 0.2801087498664856, 0.07473234832286835, -0.08144104480743408, 0.04620487242937088, -0.26141175627708435, -0.38041192293167114, 0.317671000957489, 0.23731856048107147, -0.08185639977455139, -0.3362230658531189, -0.20349597930908203, -0.05363195762038231, 0.3231867253780365, 0.12384501844644547, -0.0318959578871727, -0.17829468846321106, 0.7291724681854248, 0.22181516885757446, -0.19939644634723663, 0.14964616298675537, -0.19175554811954498, 0.011094178073108196, 0.33212289214134216, 0.12518194317817688, -0.07291289418935776, 0.07920902967453003, -0.12530770897865295, -0.1977102905511856, 0.1995842456817627, -0.13800403475761414, -0.2776643633842468, -0.22356119751930237, -0.23211811482906342, 0.26203641295433044, -0.1009206771850586, 0.08045505732297897, 0.29071900248527527, -0.24438974261283875, 0.043759897351264954, 0.05161052942276001, 0.14965318143367767, -0.022685864940285683, 0.08191244304180145, -0.20363712310791016, -0.16834697127342224, -0.08012723922729492, 0.18691636621952057, 0.17685046792030334, 0.1706470400094986, -0.3446198105812073, -0.08222579210996628, -0.27864986658096313, -0.12864261865615845, -0.1860625296831131, -0.3806735575199127, -0.06761658191680908, -0.21890471875667572, -0.18349233269691467, 0.18587954342365265, 0.1078282967209816, -0.027935612946748734, 0.10292907059192657, 0.08513643592596054, 0.05611446127295494, -0.146331787109375, -0.1092630997300148, 0.05187508091330528, 0.15408393740653992, -0.0900375172495842, 0.0010282504372298717, 0.15764479339122772, -0.10449063777923584, 0.06411178410053253, -0.012371033430099487, 0.07728998363018036, 0.4556606709957123, -0.35364630818367004, -0.12824565172195435, -0.03659862279891968, -0.3304903209209442, -0.1590179204940796, 0.26931947469711304, 0.22444751858711243, 0.36803239583969116, 0.3828676640987396, 0.2777581810951233, -0.08403568714857101, 0.09855006635189056, -0.3094676434993744, -0.02503361739218235, 0.2780056297779083, -0.08916763216257095, 0.02198883332312107, -0.081028513610363, -0.05417252704501152, 0.012835408560931683, -0.09322153031826019, -0.22201025485992432, 0.0795157328248024, 0.37086063623428345, 0.014883801341056824, -0.10706373304128647, 0.17490623891353607, -0.24044601619243622, -0.10736194252967834, -0.2707054615020752, -0.24804820120334625, 0.23806898295879364, 0.04986322671175003, -0.241941899061203, -0.22192955017089844, -0.18295787274837494, -0.13371019065380096, 0.12629947066307068, 0.0017365877283737063, -0.03381966054439545, 0.21073250472545624, 0.026106318458914757, -0.024026203900575638, -0.28050440549850464, -0.04124448448419571, -0.034416310489177704, 0.3715693950653076, 0.5908255577087402, -0.18987342715263367, 0.08034555613994598, 0.7591679692268372, 0.1389026790857315, 0.18298587203025818, 0.15973018109798431, -0.09274043142795563, -0.18025176227092743, 0.04042831435799599, 0.26758891344070435, -0.029047803953289986, -0.045972324907779694, 0.18630030751228333, -0.3637477457523346, -0.1252787560224533, 0.0999143049120903, 0.3781779408454895, 0.13430489599704742, 0.03948520869016647, -0.4083313047885895, 0.1788148134946823, -0.13690732419490814, 0.08745790272951126, -0.29327186942100525, 0.14837871491909027, -0.4210907518863678, 0.05425379425287247, 0.1366846114397049, 0.1962875872850418, -0.11386449635028839, -0.0864158421754837, -0.07111743837594986, 0.021297845989465714, -0.08098909258842468, 0.13086682558059692, 0.03804697096347809, 0.342773973941803, -0.12857963144779205, 0.3041985034942627, -0.40037110447883606, -0.15484163165092468, -0.12158810347318649, -0.2655816376209259, -0.7442691326141357, 0.28768208622932434, -0.06522855907678604, -0.05867835506796837, -0.24553966522216797, -0.10629669576883316, -0.23482643067836761, 0.6078552007675171, 0.4493432641029358, 0.28098171949386597, 0.138356551527977, 0.12673115730285645, -0.13186290860176086, 0.3760738670825958, 0.23128047585487366, 0.08348946273326874, -0.15011988580226898, -0.06640183925628662, 0.2569769322872162, 0.035035159438848495, -0.13478289544582367, 0.5317350625991821, 0.011929764412343502, -0.0625266581773758, 0.04758450761437416, 0.7109020948410034, -0.5686829686164856, -0.32719454169273376, -0.16023696959018707, -0.10206712782382965, 0.044408783316612244, -0.053217433393001556, 0.006184427998960018, 0.27654778957366943, 0.3666093051433563, -0.1740008145570755, 0.10488689690828323, -0.12160144001245499, 0.012084146030247211, -0.07026262581348419, 0.18939122557640076, 0.10025948286056519, -0.13655175268650055, 0.17538021504878998, 0.0348285436630249, -0.0005675037391483784, 0.04024874418973923, 0.3416149616241455, -0.17491964995861053, 0.07302600890398026, 0.122370146214962, -0.05101361125707626, 0.5039793848991394, -0.22393494844436646, -0.0407196469604969, -0.19639180600643158, -0.1455344259738922, -0.05237656086683273, 0.2941823899745941, -0.08763465285301208, 0.021693583577871323, -0.21252287924289703, 0.1490386724472046, 0.03793196752667427, 0.7277791500091553, 0.10327371954917908, 0.03520042449235916, -0.10005034506320953, 0.35416629910469055, 0.17619077861309052, -0.007183850277215242, -0.09246145188808441, -0.09787774831056595, 0.05997991934418678, 0.03172815591096878, -0.1969085931777954, 0.1456921249628067, -0.19920672476291656, 0.16419507563114166, -0.020964881405234337, -0.11471667885780334, -0.41234374046325684, 0.09490559995174408, -0.3098751902580261, 0.15287341177463531, 0.1292506903409958, -0.011525817215442657, -0.22297541797161102, 0.14568358659744263, 0.28083041310310364, 0.06402886658906937, 0.06166788190603256, -0.03593280166387558, 0.11952781677246094, -0.08008219301700592, -0.27460864186286926, 0.227944016456604, -0.1711026281118393, 0.0013449079124256968, -0.338056743144989, 0.2738456428050995, 0.3672519624233246, 0.04035414010286331, -0.2590906023979187, -0.2539594769477844, 0.16433244943618774, 0.1304832100868225, 0.16140614449977875, -0.3611251711845398, 0.20851026475429535, 0.08302542567253113, -0.230165034532547, -0.05086619406938553, -0.08171218633651733, 0.007781432941555977, -0.6778645515441895, -0.09406821429729462, -0.005283565726131201, -0.060692839324474335, 0.38532066345214844, -0.5052615404129028, -0.015756582841277122, 0.28537580370903015, -0.05743598937988281, 1.0540837049484253, -0.0753978043794632, 0.13727103173732758, -0.1255621463060379, -0.1892431378364563, -0.19200792908668518, -0.32309553027153015, 0.08860553801059723, -0.213060200214386, -0.3186749219894409, 0.021960653364658356, -0.16050304472446442, -0.257938951253891, 0.22820797562599182, -0.029204266145825386, 0.250959575176239, -0.33890223503112793, -0.0789235457777977, -0.004149551969021559, -0.21514686942100525, -0.4103091359138489, 0.07046114653348923, 0.23709578812122345, 0.11454469710588455, 0.1204315572977066, 0.26243945956230164, -0.03852194920182228, 0.025191685184836388, -0.20553597807884216, -0.1630917638540268, -0.06389624625444412, 0.07304982095956802, -0.04613426327705383, -0.10828648507595062, -0.12480109184980392, -0.16824838519096375, -0.018982768058776855, 0.07478135824203491, 0.005019017960876226, 0.2751377522945404, 0.2455446571111679, 0.1999214142560959, 0.4288264811038971, 0.08910773694515228, -0.29398444294929504, 0.1802438497543335, -0.13053913414478302, -0.06932997703552246, -0.20343002676963806, 0.17448441684246063, 0.20632995665073395, -0.4005674421787262, -0.7123713493347168, -0.11903965473175049, 0.5025243759155273, -0.06561502814292908, 0.26329442858695984, 0.2303445190191269, -0.09658273309469223, -0.0339965894818306, 0.2558438181877136, 0.18678505718708038, -0.300830602645874, 0.06223399564623833, -0.0742485523223877, 0.15139780938625336, -0.055713552981615067, 0.20082247257232666, 0.07112132757902145, 0.12600934505462646, -0.01832677237689495, 0.17747054994106293, -0.11521437019109726, -0.28845977783203125, -0.16704712808132172, 0.11540550738573074, -0.208946093916893, -0.05539598688483238, -0.07175999879837036, -0.2628422975540161, -0.11795011907815933, 0.21656721830368042, 0.02544594369828701, 0.29380953311920166, 0.07752186059951782, 0.06217442452907562, -0.35512587428092957, -0.10463494807481766, 0.1164146214723587, 0.1987772136926651, 0.07856088131666183, 0.17727994918823242, -0.1828591376543045, 0.1252240538597107, -0.4311363399028778, -0.20010215044021606, 0.3256630301475525, 0.3169800043106079, -0.14237293601036072, -0.21514813601970673, -0.41597360372543335, -0.14399376511573792, 0.36344441771507263, 0.12163244932889938, -0.2901464104652405, -0.3295947015285492, 0.1312451809644699, 0.03775501251220703, 0.1386568248271942, 0.09969011694192886, -0.12244454771280289, -0.029583124443888664, -0.12707333266735077, 0.055525247007608414, 0.17699691653251648, 0.21603389084339142, -0.019606683403253555, 0.17450086772441864, 0.522700309753418, 0.07215528935194016, -0.03776484727859497, -0.03765818849205971, -0.10054464638233185, -0.1038917601108551, -0.22103163599967957, -0.1516171395778656, 0.0781393051147461, -0.11111033707857132, -0.08440396189689636, 0.1726960390806198, 0.29604455828666687, 0.07958709448575974, 0.17443035542964935, 0.05436251312494278, -0.062281250953674316, -0.14189089834690094, 0.10543842613697052, 0.18356066942214966, -0.023243051022291183, -0.24255789816379547, 0.31613242626190186, 0.3181861340999603, -0.0021408861503005028, 0.07518106698989868, -0.38976621627807617, 0.22941254079341888, 0.15406136214733124, 0.08122992515563965, -0.4205222725868225, -0.4702501893043518, -0.2166806012392044, 0.06293335556983948, -0.026593847200274467, -0.27857404947280884, 0.05642591789364815, 0.2784937024116516, 0.14871759712696075, -0.14680339395999908, 0.011822215281426907, -0.20121636986732483, -0.1155412569642067, 0.3295387029647827, 0.1165931224822998, 0.30374330282211304, 0.22825267910957336, -0.1061449646949768, 0.036949578672647476, -0.032109860330820084, -0.026515856385231018, 0.6872867345809937, 0.19893167912960052, 0.187283456325531, 0.48784756660461426, 0.175556018948555, 0.11441431194543839, 0.3015918433666229, 0.17821891605854034, 0.1273358315229416, 0.011434711515903473, -0.06874141097068787, -0.1562177538871765, -0.2998141944408417, -0.37360718846321106, 0.12969765067100525, 0.21880988776683807, 0.23953333497047424, -0.047920916229486465, 0.011555545032024384, 0.16657759249210358, -0.011436653323471546, 0.40175628662109375, 0.22165121138095856, 0.1377246379852295, -0.09920314699411392, -0.2309722900390625, 0.10045766830444336, 0.02385292388498783, 0.5169413685798645, -0.2484271079301834, -0.14727537333965302, 0.08991558849811554, -0.2549222409725189, 0.1216098889708519, -0.21709181368350983, -0.155193492770195, -0.09738560020923615, -0.024176841601729393, 0.20730915665626526, -0.18437597155570984, 0.036774639040231705, 0.2687585949897766, -0.39628440141677856, -0.2034231424331665, 0.29351046681404114, -0.025358201935887337, 0.34411901235580444, -0.006471574306488037, -0.007511022500693798, -0.15342405438423157, 0.018468152731657028, -0.08709439635276794, -0.3894364833831787, -0.1346326321363449, -0.6527346968650818, 0.11388638615608215, -0.059813469648361206, -0.014959711581468582, 0.13951507210731506, 0.11190912127494812, 0.1418939232826233, 0.3202234208583832, -0.022304194048047066, 0.08724885433912277, -0.5877199172973633, -0.12142140418291092, 0.1760965883731842, 0.22742918133735657, 0.21170134842395782, -0.34787583351135254, 0.13114787638187408, 0.21591761708259583, 0.13307441771030426, -0.06618873029947281, 0.20395466685295105, 0.10651688277721405, 0.8229343295097351, -0.14659905433654785, -0.06623449176549911, -0.09201168268918991, 0.22577165067195892, 0.10138639807701111, -0.1058838739991188, -0.09852830320596695, -0.02964155562222004, 0.387137770652771, -0.08361702412366867, 0.1344151645898819, -0.2983914017677307, -0.02214074321091175, -0.12561379373073578, -0.2607799768447876, 0.19809672236442566, -0.1684887558221817, 0.20614151656627655, 0.2605903744697571, 0.2288265973329544, -0.054592814296483994, -0.2240782380104065, 0.35065212845802307, 0.1299349069595337, 0.33543261885643005, -0.054797518998384476, -0.21390220522880554, 0.42087969183921814, -0.010049116797745228, 0.30065810680389404, -0.42049604654312134, 0.3114127218723297, -0.04881594330072403, 0.2294934093952179, -0.3848636746406555, -0.04228002578020096, 0.00808825995773077, -0.11706120520830154, -0.25590780377388, 0.2055767923593521, 0.33952951431274414, -0.06297902762889862, -0.37009304761886597, -0.27277570962905884, 0.05774720758199692, 0.30955854058265686, -0.06846838444471359, 0.028111418709158897, 0.18093261122703552, -0.08099202066659927, 0.05816175043582916, 0.24245399236679077, 0.015435658395290375, -0.0638374462723732, 0.012804588302969933, -0.0038271809462457895, -0.09646742045879364, 0.028379390016198158, -0.07103800028562546, -0.19939301908016205, -0.2738724946975708 ]
https://github.com/huggingface/datasets/issues/1611
shuffle with torch generator
@lhoestq Is there a way I could shuffle the datasets from this library with a custom defined shuffle function? thanks for your help on this.
Hi I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help @lhoestq
25
shuffle with torch generator
[ -0.18823862075805664, -0.526898980140686, -0.19863425195217133, 0.12944109737873077, 0.04409925639629364, -0.026158060878515244, 0.2704905569553375, -0.06942173093557358, -0.20618890225887299, 0.6691250801086426, -0.017420053482055664, 0.42275187373161316, -0.3466506004333496, -0.24057915806770325, -0.07808676362037659, -0.2135249227285385, 0.06230442598462105, -0.026701267808675766, -0.10227533429861069, -0.23429174721240997, -0.07941931486129761, -0.20591647922992706, -0.303763210773468, 0.025181885808706284, -0.24281932413578033, 0.16183865070343018, -0.18060986697673798, 0.1359955370426178, -0.29093262553215027, 0.3248246908187866, -0.2951005697250366, 0.5548934936523438, -0.15114057064056396, 0.37697654962539673, -0.00010341611050534993, -0.2473653256893158, -0.008300953544676304, -0.09516187012195587, -0.14541763067245483, -0.18339040875434875, 0.1915566772222519, 0.6032772660255432, -0.48204466700553894, 0.10853511840105057, -0.08654196560382843, -0.19765067100524902, 0.21953673660755157, -0.16150708496570587, 0.11429163068532944, -0.18855415284633636, 0.26309624314308167, -0.14858457446098328, -0.07505003362894058, -0.050202250480651855, 0.7223483324050903, 0.18833249807357788, 0.10662113130092621, -0.1501901000738144, 0.34521758556365967, 0.011031943373382092, -0.1708577573299408, 0.1228310838341713, 0.12782715260982513, 0.03991756960749626, 0.3664069175720215, -0.277512788772583, -0.2587747871875763, 0.19162680208683014, 0.14359520375728607, 0.09595927596092224, 0.0041676657274365425, -0.11358433961868286, 0.1359039694070816, 0.010497123934328556, -0.014339668676257133, -0.15423831343650818, 0.004280002787709236, 0.2826389968395233, -0.2574513256549835, -0.21857118606567383, -0.21774068474769592, -0.004111603368073702, 0.1369456648826599, -0.2393692135810852, 0.29338666796684265, 0.5993384122848511, -0.00048639049055054784, -0.029297348111867905, 0.440990149974823, -0.028460955247282982, 0.6444804072380066, -0.008407511748373508, -0.14332404732704163, 0.3001094162464142, 0.004701859317719936, -0.011543815955519676, 0.11924278736114502, 0.30838972330093384, 0.15933826565742493, -0.20729456841945648, 0.2913036048412323, 0.12231186777353287, 0.20466788113117218, 0.08958037942647934, 0.12164116650819778, -0.22702838480472565, -0.05275967717170715, 0.20249341428279877, -0.1775364726781845, -0.21670223772525787, -0.09845447540283203, -0.042100563645362854, -0.15035711228847504, -0.3620806038379669, -0.06892766058444977, 0.34539973735809326, -0.6049122214317322, 0.036598898470401764, 0.13229629397392273, -0.2883102297782898, 0.013429753482341766, -0.29227209091186523, -0.04495103657245636, 0.27790313959121704, 0.11732444912195206, 0.12613117694854736, -0.0491303913295269, 0.11176571249961853, 0.13749003410339355, 0.017599930986762047, -0.2575376629829407, 0.05011972039937973, -0.2939702868461609, -0.13746482133865356, -0.15293079614639282, -0.11035221815109253, 0.17393751442432404, -0.03737299516797066, 0.12985938787460327, 0.20257994532585144, 0.06375167518854141, 0.02258298173546791, 0.234771728515625, -0.28772249817848206, 0.1169222816824913, -0.1920032799243927, -0.2766072154045105, 0.3190114498138428, 0.05612272769212723, 0.27685946226119995, 0.17444796860218048, -0.12496504932641983, 0.08659365773200989, 0.25640395283699036, 0.19937728345394135, 0.17676417529582977, 0.0036781560629606247, -0.0019297748804092407, 0.005724004469811916, -0.28246206045150757, 0.025396965444087982, -0.12997667491436005, -0.04672274366021156, -0.11762095987796783, -0.1298271119594574, -0.06399732828140259, 0.21961772441864014, -0.2133878469467163, 0.03673245757818222, -0.04303612932562828, 0.2801087498664856, 0.07473234832286835, -0.08144104480743408, 0.04620487242937088, -0.26141175627708435, -0.38041192293167114, 0.317671000957489, 0.23731856048107147, -0.08185639977455139, -0.3362230658531189, -0.20349597930908203, -0.05363195762038231, 0.3231867253780365, 0.12384501844644547, -0.0318959578871727, -0.17829468846321106, 0.7291724681854248, 0.22181516885757446, -0.19939644634723663, 0.14964616298675537, -0.19175554811954498, 0.011094178073108196, 0.33212289214134216, 0.12518194317817688, -0.07291289418935776, 0.07920902967453003, -0.12530770897865295, -0.1977102905511856, 0.1995842456817627, -0.13800403475761414, -0.2776643633842468, -0.22356119751930237, -0.23211811482906342, 0.26203641295433044, -0.1009206771850586, 0.08045505732297897, 0.29071900248527527, -0.24438974261283875, 0.043759897351264954, 0.05161052942276001, 0.14965318143367767, -0.022685864940285683, 0.08191244304180145, -0.20363712310791016, -0.16834697127342224, -0.08012723922729492, 0.18691636621952057, 0.17685046792030334, 0.1706470400094986, -0.3446198105812073, -0.08222579210996628, -0.27864986658096313, -0.12864261865615845, -0.1860625296831131, -0.3806735575199127, -0.06761658191680908, -0.21890471875667572, -0.18349233269691467, 0.18587954342365265, 0.1078282967209816, -0.027935612946748734, 0.10292907059192657, 0.08513643592596054, 0.05611446127295494, -0.146331787109375, -0.1092630997300148, 0.05187508091330528, 0.15408393740653992, -0.0900375172495842, 0.0010282504372298717, 0.15764479339122772, -0.10449063777923584, 0.06411178410053253, -0.012371033430099487, 0.07728998363018036, 0.4556606709957123, -0.35364630818367004, -0.12824565172195435, -0.03659862279891968, -0.3304903209209442, -0.1590179204940796, 0.26931947469711304, 0.22444751858711243, 0.36803239583969116, 0.3828676640987396, 0.2777581810951233, -0.08403568714857101, 0.09855006635189056, -0.3094676434993744, -0.02503361739218235, 0.2780056297779083, -0.08916763216257095, 0.02198883332312107, -0.081028513610363, -0.05417252704501152, 0.012835408560931683, -0.09322153031826019, -0.22201025485992432, 0.0795157328248024, 0.37086063623428345, 0.014883801341056824, -0.10706373304128647, 0.17490623891353607, -0.24044601619243622, -0.10736194252967834, -0.2707054615020752, -0.24804820120334625, 0.23806898295879364, 0.04986322671175003, -0.241941899061203, -0.22192955017089844, -0.18295787274837494, -0.13371019065380096, 0.12629947066307068, 0.0017365877283737063, -0.03381966054439545, 0.21073250472545624, 0.026106318458914757, -0.024026203900575638, -0.28050440549850464, -0.04124448448419571, -0.034416310489177704, 0.3715693950653076, 0.5908255577087402, -0.18987342715263367, 0.08034555613994598, 0.7591679692268372, 0.1389026790857315, 0.18298587203025818, 0.15973018109798431, -0.09274043142795563, -0.18025176227092743, 0.04042831435799599, 0.26758891344070435, -0.029047803953289986, -0.045972324907779694, 0.18630030751228333, -0.3637477457523346, -0.1252787560224533, 0.0999143049120903, 0.3781779408454895, 0.13430489599704742, 0.03948520869016647, -0.4083313047885895, 0.1788148134946823, -0.13690732419490814, 0.08745790272951126, -0.29327186942100525, 0.14837871491909027, -0.4210907518863678, 0.05425379425287247, 0.1366846114397049, 0.1962875872850418, -0.11386449635028839, -0.0864158421754837, -0.07111743837594986, 0.021297845989465714, -0.08098909258842468, 0.13086682558059692, 0.03804697096347809, 0.342773973941803, -0.12857963144779205, 0.3041985034942627, -0.40037110447883606, -0.15484163165092468, -0.12158810347318649, -0.2655816376209259, -0.7442691326141357, 0.28768208622932434, -0.06522855907678604, -0.05867835506796837, -0.24553966522216797, -0.10629669576883316, -0.23482643067836761, 0.6078552007675171, 0.4493432641029358, 0.28098171949386597, 0.138356551527977, 0.12673115730285645, -0.13186290860176086, 0.3760738670825958, 0.23128047585487366, 0.08348946273326874, -0.15011988580226898, -0.06640183925628662, 0.2569769322872162, 0.035035159438848495, -0.13478289544582367, 0.5317350625991821, 0.011929764412343502, -0.0625266581773758, 0.04758450761437416, 0.7109020948410034, -0.5686829686164856, -0.32719454169273376, -0.16023696959018707, -0.10206712782382965, 0.044408783316612244, -0.053217433393001556, 0.006184427998960018, 0.27654778957366943, 0.3666093051433563, -0.1740008145570755, 0.10488689690828323, -0.12160144001245499, 0.012084146030247211, -0.07026262581348419, 0.18939122557640076, 0.10025948286056519, -0.13655175268650055, 0.17538021504878998, 0.0348285436630249, -0.0005675037391483784, 0.04024874418973923, 0.3416149616241455, -0.17491964995861053, 0.07302600890398026, 0.122370146214962, -0.05101361125707626, 0.5039793848991394, -0.22393494844436646, -0.0407196469604969, -0.19639180600643158, -0.1455344259738922, -0.05237656086683273, 0.2941823899745941, -0.08763465285301208, 0.021693583577871323, -0.21252287924289703, 0.1490386724472046, 0.03793196752667427, 0.7277791500091553, 0.10327371954917908, 0.03520042449235916, -0.10005034506320953, 0.35416629910469055, 0.17619077861309052, -0.007183850277215242, -0.09246145188808441, -0.09787774831056595, 0.05997991934418678, 0.03172815591096878, -0.1969085931777954, 0.1456921249628067, -0.19920672476291656, 0.16419507563114166, -0.020964881405234337, -0.11471667885780334, -0.41234374046325684, 0.09490559995174408, -0.3098751902580261, 0.15287341177463531, 0.1292506903409958, -0.011525817215442657, -0.22297541797161102, 0.14568358659744263, 0.28083041310310364, 0.06402886658906937, 0.06166788190603256, -0.03593280166387558, 0.11952781677246094, -0.08008219301700592, -0.27460864186286926, 0.227944016456604, -0.1711026281118393, 0.0013449079124256968, -0.338056743144989, 0.2738456428050995, 0.3672519624233246, 0.04035414010286331, -0.2590906023979187, -0.2539594769477844, 0.16433244943618774, 0.1304832100868225, 0.16140614449977875, -0.3611251711845398, 0.20851026475429535, 0.08302542567253113, -0.230165034532547, -0.05086619406938553, -0.08171218633651733, 0.007781432941555977, -0.6778645515441895, -0.09406821429729462, -0.005283565726131201, -0.060692839324474335, 0.38532066345214844, -0.5052615404129028, -0.015756582841277122, 0.28537580370903015, -0.05743598937988281, 1.0540837049484253, -0.0753978043794632, 0.13727103173732758, -0.1255621463060379, -0.1892431378364563, -0.19200792908668518, -0.32309553027153015, 0.08860553801059723, -0.213060200214386, -0.3186749219894409, 0.021960653364658356, -0.16050304472446442, -0.257938951253891, 0.22820797562599182, -0.029204266145825386, 0.250959575176239, -0.33890223503112793, -0.0789235457777977, -0.004149551969021559, -0.21514686942100525, -0.4103091359138489, 0.07046114653348923, 0.23709578812122345, 0.11454469710588455, 0.1204315572977066, 0.26243945956230164, -0.03852194920182228, 0.025191685184836388, -0.20553597807884216, -0.1630917638540268, -0.06389624625444412, 0.07304982095956802, -0.04613426327705383, -0.10828648507595062, -0.12480109184980392, -0.16824838519096375, -0.018982768058776855, 0.07478135824203491, 0.005019017960876226, 0.2751377522945404, 0.2455446571111679, 0.1999214142560959, 0.4288264811038971, 0.08910773694515228, -0.29398444294929504, 0.1802438497543335, -0.13053913414478302, -0.06932997703552246, -0.20343002676963806, 0.17448441684246063, 0.20632995665073395, -0.4005674421787262, -0.7123713493347168, -0.11903965473175049, 0.5025243759155273, -0.06561502814292908, 0.26329442858695984, 0.2303445190191269, -0.09658273309469223, -0.0339965894818306, 0.2558438181877136, 0.18678505718708038, -0.300830602645874, 0.06223399564623833, -0.0742485523223877, 0.15139780938625336, -0.055713552981615067, 0.20082247257232666, 0.07112132757902145, 0.12600934505462646, -0.01832677237689495, 0.17747054994106293, -0.11521437019109726, -0.28845977783203125, -0.16704712808132172, 0.11540550738573074, -0.208946093916893, -0.05539598688483238, -0.07175999879837036, -0.2628422975540161, -0.11795011907815933, 0.21656721830368042, 0.02544594369828701, 0.29380953311920166, 0.07752186059951782, 0.06217442452907562, -0.35512587428092957, -0.10463494807481766, 0.1164146214723587, 0.1987772136926651, 0.07856088131666183, 0.17727994918823242, -0.1828591376543045, 0.1252240538597107, -0.4311363399028778, -0.20010215044021606, 0.3256630301475525, 0.3169800043106079, -0.14237293601036072, -0.21514813601970673, -0.41597360372543335, -0.14399376511573792, 0.36344441771507263, 0.12163244932889938, -0.2901464104652405, -0.3295947015285492, 0.1312451809644699, 0.03775501251220703, 0.1386568248271942, 0.09969011694192886, -0.12244454771280289, -0.029583124443888664, -0.12707333266735077, 0.055525247007608414, 0.17699691653251648, 0.21603389084339142, -0.019606683403253555, 0.17450086772441864, 0.522700309753418, 0.07215528935194016, -0.03776484727859497, -0.03765818849205971, -0.10054464638233185, -0.1038917601108551, -0.22103163599967957, -0.1516171395778656, 0.0781393051147461, -0.11111033707857132, -0.08440396189689636, 0.1726960390806198, 0.29604455828666687, 0.07958709448575974, 0.17443035542964935, 0.05436251312494278, -0.062281250953674316, -0.14189089834690094, 0.10543842613697052, 0.18356066942214966, -0.023243051022291183, -0.24255789816379547, 0.31613242626190186, 0.3181861340999603, -0.0021408861503005028, 0.07518106698989868, -0.38976621627807617, 0.22941254079341888, 0.15406136214733124, 0.08122992515563965, -0.4205222725868225, -0.4702501893043518, -0.2166806012392044, 0.06293335556983948, -0.026593847200274467, -0.27857404947280884, 0.05642591789364815, 0.2784937024116516, 0.14871759712696075, -0.14680339395999908, 0.011822215281426907, -0.20121636986732483, -0.1155412569642067, 0.3295387029647827, 0.1165931224822998, 0.30374330282211304, 0.22825267910957336, -0.1061449646949768, 0.036949578672647476, -0.032109860330820084, -0.026515856385231018, 0.6872867345809937, 0.19893167912960052, 0.187283456325531, 0.48784756660461426, 0.175556018948555, 0.11441431194543839, 0.3015918433666229, 0.17821891605854034, 0.1273358315229416, 0.011434711515903473, -0.06874141097068787, -0.1562177538871765, -0.2998141944408417, -0.37360718846321106, 0.12969765067100525, 0.21880988776683807, 0.23953333497047424, -0.047920916229486465, 0.011555545032024384, 0.16657759249210358, -0.011436653323471546, 0.40175628662109375, 0.22165121138095856, 0.1377246379852295, -0.09920314699411392, -0.2309722900390625, 0.10045766830444336, 0.02385292388498783, 0.5169413685798645, -0.2484271079301834, -0.14727537333965302, 0.08991558849811554, -0.2549222409725189, 0.1216098889708519, -0.21709181368350983, -0.155193492770195, -0.09738560020923615, -0.024176841601729393, 0.20730915665626526, -0.18437597155570984, 0.036774639040231705, 0.2687585949897766, -0.39628440141677856, -0.2034231424331665, 0.29351046681404114, -0.025358201935887337, 0.34411901235580444, -0.006471574306488037, -0.007511022500693798, -0.15342405438423157, 0.018468152731657028, -0.08709439635276794, -0.3894364833831787, -0.1346326321363449, -0.6527346968650818, 0.11388638615608215, -0.059813469648361206, -0.014959711581468582, 0.13951507210731506, 0.11190912127494812, 0.1418939232826233, 0.3202234208583832, -0.022304194048047066, 0.08724885433912277, -0.5877199172973633, -0.12142140418291092, 0.1760965883731842, 0.22742918133735657, 0.21170134842395782, -0.34787583351135254, 0.13114787638187408, 0.21591761708259583, 0.13307441771030426, -0.06618873029947281, 0.20395466685295105, 0.10651688277721405, 0.8229343295097351, -0.14659905433654785, -0.06623449176549911, -0.09201168268918991, 0.22577165067195892, 0.10138639807701111, -0.1058838739991188, -0.09852830320596695, -0.02964155562222004, 0.387137770652771, -0.08361702412366867, 0.1344151645898819, -0.2983914017677307, -0.02214074321091175, -0.12561379373073578, -0.2607799768447876, 0.19809672236442566, -0.1684887558221817, 0.20614151656627655, 0.2605903744697571, 0.2288265973329544, -0.054592814296483994, -0.2240782380104065, 0.35065212845802307, 0.1299349069595337, 0.33543261885643005, -0.054797518998384476, -0.21390220522880554, 0.42087969183921814, -0.010049116797745228, 0.30065810680389404, -0.42049604654312134, 0.3114127218723297, -0.04881594330072403, 0.2294934093952179, -0.3848636746406555, -0.04228002578020096, 0.00808825995773077, -0.11706120520830154, -0.25590780377388, 0.2055767923593521, 0.33952951431274414, -0.06297902762889862, -0.37009304761886597, -0.27277570962905884, 0.05774720758199692, 0.30955854058265686, -0.06846838444471359, 0.028111418709158897, 0.18093261122703552, -0.08099202066659927, 0.05816175043582916, 0.24245399236679077, 0.015435658395290375, -0.0638374462723732, 0.012804588302969933, -0.0038271809462457895, -0.09646742045879364, 0.028379390016198158, -0.07103800028562546, -0.19939301908016205, -0.2738724946975708 ]
https://github.com/huggingface/datasets/issues/1611
shuffle with torch generator
Right now the shuffle method only accepts the `seed` (optional int) or `generator` (optional `np.random.Generator`) parameters. Here is a suggestion to shuffle the data using your own shuffle method using `select`. `select` can be used to re-order the dataset samples or simply pick a few ones if you want. It's what is used under the hood when you call `dataset.shuffle`. To use `select` you must have the list of re-ordered indices of your samples. Let's say you have a `shuffle` methods that you want to use. Then you can first build your shuffled list of indices: ```python shuffled_indices = shuffle(range(len(dataset))) ``` Then you can shuffle your dataset using the shuffled indices with ```python shuffled_dataset = dataset.select(shuffled_indices) ``` Hope that helps
Hi I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help @lhoestq
120
shuffle with torch generator
[ -0.18823862075805664, -0.526898980140686, -0.19863425195217133, 0.12944109737873077, 0.04409925639629364, -0.026158060878515244, 0.2704905569553375, -0.06942173093557358, -0.20618890225887299, 0.6691250801086426, -0.017420053482055664, 0.42275187373161316, -0.3466506004333496, -0.24057915806770325, -0.07808676362037659, -0.2135249227285385, 0.06230442598462105, -0.026701267808675766, -0.10227533429861069, -0.23429174721240997, -0.07941931486129761, -0.20591647922992706, -0.303763210773468, 0.025181885808706284, -0.24281932413578033, 0.16183865070343018, -0.18060986697673798, 0.1359955370426178, -0.29093262553215027, 0.3248246908187866, -0.2951005697250366, 0.5548934936523438, -0.15114057064056396, 0.37697654962539673, -0.00010341611050534993, -0.2473653256893158, -0.008300953544676304, -0.09516187012195587, -0.14541763067245483, -0.18339040875434875, 0.1915566772222519, 0.6032772660255432, -0.48204466700553894, 0.10853511840105057, -0.08654196560382843, -0.19765067100524902, 0.21953673660755157, -0.16150708496570587, 0.11429163068532944, -0.18855415284633636, 0.26309624314308167, -0.14858457446098328, -0.07505003362894058, -0.050202250480651855, 0.7223483324050903, 0.18833249807357788, 0.10662113130092621, -0.1501901000738144, 0.34521758556365967, 0.011031943373382092, -0.1708577573299408, 0.1228310838341713, 0.12782715260982513, 0.03991756960749626, 0.3664069175720215, -0.277512788772583, -0.2587747871875763, 0.19162680208683014, 0.14359520375728607, 0.09595927596092224, 0.0041676657274365425, -0.11358433961868286, 0.1359039694070816, 0.010497123934328556, -0.014339668676257133, -0.15423831343650818, 0.004280002787709236, 0.2826389968395233, -0.2574513256549835, -0.21857118606567383, -0.21774068474769592, -0.004111603368073702, 0.1369456648826599, -0.2393692135810852, 0.29338666796684265, 0.5993384122848511, -0.00048639049055054784, -0.029297348111867905, 0.440990149974823, -0.028460955247282982, 0.6444804072380066, -0.008407511748373508, -0.14332404732704163, 0.3001094162464142, 0.004701859317719936, -0.011543815955519676, 0.11924278736114502, 0.30838972330093384, 0.15933826565742493, -0.20729456841945648, 0.2913036048412323, 0.12231186777353287, 0.20466788113117218, 0.08958037942647934, 0.12164116650819778, -0.22702838480472565, -0.05275967717170715, 0.20249341428279877, -0.1775364726781845, -0.21670223772525787, -0.09845447540283203, -0.042100563645362854, -0.15035711228847504, -0.3620806038379669, -0.06892766058444977, 0.34539973735809326, -0.6049122214317322, 0.036598898470401764, 0.13229629397392273, -0.2883102297782898, 0.013429753482341766, -0.29227209091186523, -0.04495103657245636, 0.27790313959121704, 0.11732444912195206, 0.12613117694854736, -0.0491303913295269, 0.11176571249961853, 0.13749003410339355, 0.017599930986762047, -0.2575376629829407, 0.05011972039937973, -0.2939702868461609, -0.13746482133865356, -0.15293079614639282, -0.11035221815109253, 0.17393751442432404, -0.03737299516797066, 0.12985938787460327, 0.20257994532585144, 0.06375167518854141, 0.02258298173546791, 0.234771728515625, -0.28772249817848206, 0.1169222816824913, -0.1920032799243927, -0.2766072154045105, 0.3190114498138428, 0.05612272769212723, 0.27685946226119995, 0.17444796860218048, -0.12496504932641983, 0.08659365773200989, 0.25640395283699036, 0.19937728345394135, 0.17676417529582977, 0.0036781560629606247, -0.0019297748804092407, 0.005724004469811916, -0.28246206045150757, 0.025396965444087982, -0.12997667491436005, -0.04672274366021156, -0.11762095987796783, -0.1298271119594574, -0.06399732828140259, 0.21961772441864014, -0.2133878469467163, 0.03673245757818222, -0.04303612932562828, 0.2801087498664856, 0.07473234832286835, -0.08144104480743408, 0.04620487242937088, -0.26141175627708435, -0.38041192293167114, 0.317671000957489, 0.23731856048107147, -0.08185639977455139, -0.3362230658531189, -0.20349597930908203, -0.05363195762038231, 0.3231867253780365, 0.12384501844644547, -0.0318959578871727, -0.17829468846321106, 0.7291724681854248, 0.22181516885757446, -0.19939644634723663, 0.14964616298675537, -0.19175554811954498, 0.011094178073108196, 0.33212289214134216, 0.12518194317817688, -0.07291289418935776, 0.07920902967453003, -0.12530770897865295, -0.1977102905511856, 0.1995842456817627, -0.13800403475761414, -0.2776643633842468, -0.22356119751930237, -0.23211811482906342, 0.26203641295433044, -0.1009206771850586, 0.08045505732297897, 0.29071900248527527, -0.24438974261283875, 0.043759897351264954, 0.05161052942276001, 0.14965318143367767, -0.022685864940285683, 0.08191244304180145, -0.20363712310791016, -0.16834697127342224, -0.08012723922729492, 0.18691636621952057, 0.17685046792030334, 0.1706470400094986, -0.3446198105812073, -0.08222579210996628, -0.27864986658096313, -0.12864261865615845, -0.1860625296831131, -0.3806735575199127, -0.06761658191680908, -0.21890471875667572, -0.18349233269691467, 0.18587954342365265, 0.1078282967209816, -0.027935612946748734, 0.10292907059192657, 0.08513643592596054, 0.05611446127295494, -0.146331787109375, -0.1092630997300148, 0.05187508091330528, 0.15408393740653992, -0.0900375172495842, 0.0010282504372298717, 0.15764479339122772, -0.10449063777923584, 0.06411178410053253, -0.012371033430099487, 0.07728998363018036, 0.4556606709957123, -0.35364630818367004, -0.12824565172195435, -0.03659862279891968, -0.3304903209209442, -0.1590179204940796, 0.26931947469711304, 0.22444751858711243, 0.36803239583969116, 0.3828676640987396, 0.2777581810951233, -0.08403568714857101, 0.09855006635189056, -0.3094676434993744, -0.02503361739218235, 0.2780056297779083, -0.08916763216257095, 0.02198883332312107, -0.081028513610363, -0.05417252704501152, 0.012835408560931683, -0.09322153031826019, -0.22201025485992432, 0.0795157328248024, 0.37086063623428345, 0.014883801341056824, -0.10706373304128647, 0.17490623891353607, -0.24044601619243622, -0.10736194252967834, -0.2707054615020752, -0.24804820120334625, 0.23806898295879364, 0.04986322671175003, -0.241941899061203, -0.22192955017089844, -0.18295787274837494, -0.13371019065380096, 0.12629947066307068, 0.0017365877283737063, -0.03381966054439545, 0.21073250472545624, 0.026106318458914757, -0.024026203900575638, -0.28050440549850464, -0.04124448448419571, -0.034416310489177704, 0.3715693950653076, 0.5908255577087402, -0.18987342715263367, 0.08034555613994598, 0.7591679692268372, 0.1389026790857315, 0.18298587203025818, 0.15973018109798431, -0.09274043142795563, -0.18025176227092743, 0.04042831435799599, 0.26758891344070435, -0.029047803953289986, -0.045972324907779694, 0.18630030751228333, -0.3637477457523346, -0.1252787560224533, 0.0999143049120903, 0.3781779408454895, 0.13430489599704742, 0.03948520869016647, -0.4083313047885895, 0.1788148134946823, -0.13690732419490814, 0.08745790272951126, -0.29327186942100525, 0.14837871491909027, -0.4210907518863678, 0.05425379425287247, 0.1366846114397049, 0.1962875872850418, -0.11386449635028839, -0.0864158421754837, -0.07111743837594986, 0.021297845989465714, -0.08098909258842468, 0.13086682558059692, 0.03804697096347809, 0.342773973941803, -0.12857963144779205, 0.3041985034942627, -0.40037110447883606, -0.15484163165092468, -0.12158810347318649, -0.2655816376209259, -0.7442691326141357, 0.28768208622932434, -0.06522855907678604, -0.05867835506796837, -0.24553966522216797, -0.10629669576883316, -0.23482643067836761, 0.6078552007675171, 0.4493432641029358, 0.28098171949386597, 0.138356551527977, 0.12673115730285645, -0.13186290860176086, 0.3760738670825958, 0.23128047585487366, 0.08348946273326874, -0.15011988580226898, -0.06640183925628662, 0.2569769322872162, 0.035035159438848495, -0.13478289544582367, 0.5317350625991821, 0.011929764412343502, -0.0625266581773758, 0.04758450761437416, 0.7109020948410034, -0.5686829686164856, -0.32719454169273376, -0.16023696959018707, -0.10206712782382965, 0.044408783316612244, -0.053217433393001556, 0.006184427998960018, 0.27654778957366943, 0.3666093051433563, -0.1740008145570755, 0.10488689690828323, -0.12160144001245499, 0.012084146030247211, -0.07026262581348419, 0.18939122557640076, 0.10025948286056519, -0.13655175268650055, 0.17538021504878998, 0.0348285436630249, -0.0005675037391483784, 0.04024874418973923, 0.3416149616241455, -0.17491964995861053, 0.07302600890398026, 0.122370146214962, -0.05101361125707626, 0.5039793848991394, -0.22393494844436646, -0.0407196469604969, -0.19639180600643158, -0.1455344259738922, -0.05237656086683273, 0.2941823899745941, -0.08763465285301208, 0.021693583577871323, -0.21252287924289703, 0.1490386724472046, 0.03793196752667427, 0.7277791500091553, 0.10327371954917908, 0.03520042449235916, -0.10005034506320953, 0.35416629910469055, 0.17619077861309052, -0.007183850277215242, -0.09246145188808441, -0.09787774831056595, 0.05997991934418678, 0.03172815591096878, -0.1969085931777954, 0.1456921249628067, -0.19920672476291656, 0.16419507563114166, -0.020964881405234337, -0.11471667885780334, -0.41234374046325684, 0.09490559995174408, -0.3098751902580261, 0.15287341177463531, 0.1292506903409958, -0.011525817215442657, -0.22297541797161102, 0.14568358659744263, 0.28083041310310364, 0.06402886658906937, 0.06166788190603256, -0.03593280166387558, 0.11952781677246094, -0.08008219301700592, -0.27460864186286926, 0.227944016456604, -0.1711026281118393, 0.0013449079124256968, -0.338056743144989, 0.2738456428050995, 0.3672519624233246, 0.04035414010286331, -0.2590906023979187, -0.2539594769477844, 0.16433244943618774, 0.1304832100868225, 0.16140614449977875, -0.3611251711845398, 0.20851026475429535, 0.08302542567253113, -0.230165034532547, -0.05086619406938553, -0.08171218633651733, 0.007781432941555977, -0.6778645515441895, -0.09406821429729462, -0.005283565726131201, -0.060692839324474335, 0.38532066345214844, -0.5052615404129028, -0.015756582841277122, 0.28537580370903015, -0.05743598937988281, 1.0540837049484253, -0.0753978043794632, 0.13727103173732758, -0.1255621463060379, -0.1892431378364563, -0.19200792908668518, -0.32309553027153015, 0.08860553801059723, -0.213060200214386, -0.3186749219894409, 0.021960653364658356, -0.16050304472446442, -0.257938951253891, 0.22820797562599182, -0.029204266145825386, 0.250959575176239, -0.33890223503112793, -0.0789235457777977, -0.004149551969021559, -0.21514686942100525, -0.4103091359138489, 0.07046114653348923, 0.23709578812122345, 0.11454469710588455, 0.1204315572977066, 0.26243945956230164, -0.03852194920182228, 0.025191685184836388, -0.20553597807884216, -0.1630917638540268, -0.06389624625444412, 0.07304982095956802, -0.04613426327705383, -0.10828648507595062, -0.12480109184980392, -0.16824838519096375, -0.018982768058776855, 0.07478135824203491, 0.005019017960876226, 0.2751377522945404, 0.2455446571111679, 0.1999214142560959, 0.4288264811038971, 0.08910773694515228, -0.29398444294929504, 0.1802438497543335, -0.13053913414478302, -0.06932997703552246, -0.20343002676963806, 0.17448441684246063, 0.20632995665073395, -0.4005674421787262, -0.7123713493347168, -0.11903965473175049, 0.5025243759155273, -0.06561502814292908, 0.26329442858695984, 0.2303445190191269, -0.09658273309469223, -0.0339965894818306, 0.2558438181877136, 0.18678505718708038, -0.300830602645874, 0.06223399564623833, -0.0742485523223877, 0.15139780938625336, -0.055713552981615067, 0.20082247257232666, 0.07112132757902145, 0.12600934505462646, -0.01832677237689495, 0.17747054994106293, -0.11521437019109726, -0.28845977783203125, -0.16704712808132172, 0.11540550738573074, -0.208946093916893, -0.05539598688483238, -0.07175999879837036, -0.2628422975540161, -0.11795011907815933, 0.21656721830368042, 0.02544594369828701, 0.29380953311920166, 0.07752186059951782, 0.06217442452907562, -0.35512587428092957, -0.10463494807481766, 0.1164146214723587, 0.1987772136926651, 0.07856088131666183, 0.17727994918823242, -0.1828591376543045, 0.1252240538597107, -0.4311363399028778, -0.20010215044021606, 0.3256630301475525, 0.3169800043106079, -0.14237293601036072, -0.21514813601970673, -0.41597360372543335, -0.14399376511573792, 0.36344441771507263, 0.12163244932889938, -0.2901464104652405, -0.3295947015285492, 0.1312451809644699, 0.03775501251220703, 0.1386568248271942, 0.09969011694192886, -0.12244454771280289, -0.029583124443888664, -0.12707333266735077, 0.055525247007608414, 0.17699691653251648, 0.21603389084339142, -0.019606683403253555, 0.17450086772441864, 0.522700309753418, 0.07215528935194016, -0.03776484727859497, -0.03765818849205971, -0.10054464638233185, -0.1038917601108551, -0.22103163599967957, -0.1516171395778656, 0.0781393051147461, -0.11111033707857132, -0.08440396189689636, 0.1726960390806198, 0.29604455828666687, 0.07958709448575974, 0.17443035542964935, 0.05436251312494278, -0.062281250953674316, -0.14189089834690094, 0.10543842613697052, 0.18356066942214966, -0.023243051022291183, -0.24255789816379547, 0.31613242626190186, 0.3181861340999603, -0.0021408861503005028, 0.07518106698989868, -0.38976621627807617, 0.22941254079341888, 0.15406136214733124, 0.08122992515563965, -0.4205222725868225, -0.4702501893043518, -0.2166806012392044, 0.06293335556983948, -0.026593847200274467, -0.27857404947280884, 0.05642591789364815, 0.2784937024116516, 0.14871759712696075, -0.14680339395999908, 0.011822215281426907, -0.20121636986732483, -0.1155412569642067, 0.3295387029647827, 0.1165931224822998, 0.30374330282211304, 0.22825267910957336, -0.1061449646949768, 0.036949578672647476, -0.032109860330820084, -0.026515856385231018, 0.6872867345809937, 0.19893167912960052, 0.187283456325531, 0.48784756660461426, 0.175556018948555, 0.11441431194543839, 0.3015918433666229, 0.17821891605854034, 0.1273358315229416, 0.011434711515903473, -0.06874141097068787, -0.1562177538871765, -0.2998141944408417, -0.37360718846321106, 0.12969765067100525, 0.21880988776683807, 0.23953333497047424, -0.047920916229486465, 0.011555545032024384, 0.16657759249210358, -0.011436653323471546, 0.40175628662109375, 0.22165121138095856, 0.1377246379852295, -0.09920314699411392, -0.2309722900390625, 0.10045766830444336, 0.02385292388498783, 0.5169413685798645, -0.2484271079301834, -0.14727537333965302, 0.08991558849811554, -0.2549222409725189, 0.1216098889708519, -0.21709181368350983, -0.155193492770195, -0.09738560020923615, -0.024176841601729393, 0.20730915665626526, -0.18437597155570984, 0.036774639040231705, 0.2687585949897766, -0.39628440141677856, -0.2034231424331665, 0.29351046681404114, -0.025358201935887337, 0.34411901235580444, -0.006471574306488037, -0.007511022500693798, -0.15342405438423157, 0.018468152731657028, -0.08709439635276794, -0.3894364833831787, -0.1346326321363449, -0.6527346968650818, 0.11388638615608215, -0.059813469648361206, -0.014959711581468582, 0.13951507210731506, 0.11190912127494812, 0.1418939232826233, 0.3202234208583832, -0.022304194048047066, 0.08724885433912277, -0.5877199172973633, -0.12142140418291092, 0.1760965883731842, 0.22742918133735657, 0.21170134842395782, -0.34787583351135254, 0.13114787638187408, 0.21591761708259583, 0.13307441771030426, -0.06618873029947281, 0.20395466685295105, 0.10651688277721405, 0.8229343295097351, -0.14659905433654785, -0.06623449176549911, -0.09201168268918991, 0.22577165067195892, 0.10138639807701111, -0.1058838739991188, -0.09852830320596695, -0.02964155562222004, 0.387137770652771, -0.08361702412366867, 0.1344151645898819, -0.2983914017677307, -0.02214074321091175, -0.12561379373073578, -0.2607799768447876, 0.19809672236442566, -0.1684887558221817, 0.20614151656627655, 0.2605903744697571, 0.2288265973329544, -0.054592814296483994, -0.2240782380104065, 0.35065212845802307, 0.1299349069595337, 0.33543261885643005, -0.054797518998384476, -0.21390220522880554, 0.42087969183921814, -0.010049116797745228, 0.30065810680389404, -0.42049604654312134, 0.3114127218723297, -0.04881594330072403, 0.2294934093952179, -0.3848636746406555, -0.04228002578020096, 0.00808825995773077, -0.11706120520830154, -0.25590780377388, 0.2055767923593521, 0.33952951431274414, -0.06297902762889862, -0.37009304761886597, -0.27277570962905884, 0.05774720758199692, 0.30955854058265686, -0.06846838444471359, 0.028111418709158897, 0.18093261122703552, -0.08099202066659927, 0.05816175043582916, 0.24245399236679077, 0.015435658395290375, -0.0638374462723732, 0.012804588302969933, -0.0038271809462457895, -0.09646742045879364, 0.028379390016198158, -0.07103800028562546, -0.19939301908016205, -0.2738724946975708 ]
https://github.com/huggingface/datasets/issues/1611
shuffle with torch generator
thank you @lhoestq thank you very much for responding to my question, this greatly helped me and remove the blocking for continuing my work, thanks.
Hi I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help @lhoestq
25
shuffle with torch generator
[ -0.18823862075805664, -0.526898980140686, -0.19863425195217133, 0.12944109737873077, 0.04409925639629364, -0.026158060878515244, 0.2704905569553375, -0.06942173093557358, -0.20618890225887299, 0.6691250801086426, -0.017420053482055664, 0.42275187373161316, -0.3466506004333496, -0.24057915806770325, -0.07808676362037659, -0.2135249227285385, 0.06230442598462105, -0.026701267808675766, -0.10227533429861069, -0.23429174721240997, -0.07941931486129761, -0.20591647922992706, -0.303763210773468, 0.025181885808706284, -0.24281932413578033, 0.16183865070343018, -0.18060986697673798, 0.1359955370426178, -0.29093262553215027, 0.3248246908187866, -0.2951005697250366, 0.5548934936523438, -0.15114057064056396, 0.37697654962539673, -0.00010341611050534993, -0.2473653256893158, -0.008300953544676304, -0.09516187012195587, -0.14541763067245483, -0.18339040875434875, 0.1915566772222519, 0.6032772660255432, -0.48204466700553894, 0.10853511840105057, -0.08654196560382843, -0.19765067100524902, 0.21953673660755157, -0.16150708496570587, 0.11429163068532944, -0.18855415284633636, 0.26309624314308167, -0.14858457446098328, -0.07505003362894058, -0.050202250480651855, 0.7223483324050903, 0.18833249807357788, 0.10662113130092621, -0.1501901000738144, 0.34521758556365967, 0.011031943373382092, -0.1708577573299408, 0.1228310838341713, 0.12782715260982513, 0.03991756960749626, 0.3664069175720215, -0.277512788772583, -0.2587747871875763, 0.19162680208683014, 0.14359520375728607, 0.09595927596092224, 0.0041676657274365425, -0.11358433961868286, 0.1359039694070816, 0.010497123934328556, -0.014339668676257133, -0.15423831343650818, 0.004280002787709236, 0.2826389968395233, -0.2574513256549835, -0.21857118606567383, -0.21774068474769592, -0.004111603368073702, 0.1369456648826599, -0.2393692135810852, 0.29338666796684265, 0.5993384122848511, -0.00048639049055054784, -0.029297348111867905, 0.440990149974823, -0.028460955247282982, 0.6444804072380066, -0.008407511748373508, -0.14332404732704163, 0.3001094162464142, 0.004701859317719936, -0.011543815955519676, 0.11924278736114502, 0.30838972330093384, 0.15933826565742493, -0.20729456841945648, 0.2913036048412323, 0.12231186777353287, 0.20466788113117218, 0.08958037942647934, 0.12164116650819778, -0.22702838480472565, -0.05275967717170715, 0.20249341428279877, -0.1775364726781845, -0.21670223772525787, -0.09845447540283203, -0.042100563645362854, -0.15035711228847504, -0.3620806038379669, -0.06892766058444977, 0.34539973735809326, -0.6049122214317322, 0.036598898470401764, 0.13229629397392273, -0.2883102297782898, 0.013429753482341766, -0.29227209091186523, -0.04495103657245636, 0.27790313959121704, 0.11732444912195206, 0.12613117694854736, -0.0491303913295269, 0.11176571249961853, 0.13749003410339355, 0.017599930986762047, -0.2575376629829407, 0.05011972039937973, -0.2939702868461609, -0.13746482133865356, -0.15293079614639282, -0.11035221815109253, 0.17393751442432404, -0.03737299516797066, 0.12985938787460327, 0.20257994532585144, 0.06375167518854141, 0.02258298173546791, 0.234771728515625, -0.28772249817848206, 0.1169222816824913, -0.1920032799243927, -0.2766072154045105, 0.3190114498138428, 0.05612272769212723, 0.27685946226119995, 0.17444796860218048, -0.12496504932641983, 0.08659365773200989, 0.25640395283699036, 0.19937728345394135, 0.17676417529582977, 0.0036781560629606247, -0.0019297748804092407, 0.005724004469811916, -0.28246206045150757, 0.025396965444087982, -0.12997667491436005, -0.04672274366021156, -0.11762095987796783, -0.1298271119594574, -0.06399732828140259, 0.21961772441864014, -0.2133878469467163, 0.03673245757818222, -0.04303612932562828, 0.2801087498664856, 0.07473234832286835, -0.08144104480743408, 0.04620487242937088, -0.26141175627708435, -0.38041192293167114, 0.317671000957489, 0.23731856048107147, -0.08185639977455139, -0.3362230658531189, -0.20349597930908203, -0.05363195762038231, 0.3231867253780365, 0.12384501844644547, -0.0318959578871727, -0.17829468846321106, 0.7291724681854248, 0.22181516885757446, -0.19939644634723663, 0.14964616298675537, -0.19175554811954498, 0.011094178073108196, 0.33212289214134216, 0.12518194317817688, -0.07291289418935776, 0.07920902967453003, -0.12530770897865295, -0.1977102905511856, 0.1995842456817627, -0.13800403475761414, -0.2776643633842468, -0.22356119751930237, -0.23211811482906342, 0.26203641295433044, -0.1009206771850586, 0.08045505732297897, 0.29071900248527527, -0.24438974261283875, 0.043759897351264954, 0.05161052942276001, 0.14965318143367767, -0.022685864940285683, 0.08191244304180145, -0.20363712310791016, -0.16834697127342224, -0.08012723922729492, 0.18691636621952057, 0.17685046792030334, 0.1706470400094986, -0.3446198105812073, -0.08222579210996628, -0.27864986658096313, -0.12864261865615845, -0.1860625296831131, -0.3806735575199127, -0.06761658191680908, -0.21890471875667572, -0.18349233269691467, 0.18587954342365265, 0.1078282967209816, -0.027935612946748734, 0.10292907059192657, 0.08513643592596054, 0.05611446127295494, -0.146331787109375, -0.1092630997300148, 0.05187508091330528, 0.15408393740653992, -0.0900375172495842, 0.0010282504372298717, 0.15764479339122772, -0.10449063777923584, 0.06411178410053253, -0.012371033430099487, 0.07728998363018036, 0.4556606709957123, -0.35364630818367004, -0.12824565172195435, -0.03659862279891968, -0.3304903209209442, -0.1590179204940796, 0.26931947469711304, 0.22444751858711243, 0.36803239583969116, 0.3828676640987396, 0.2777581810951233, -0.08403568714857101, 0.09855006635189056, -0.3094676434993744, -0.02503361739218235, 0.2780056297779083, -0.08916763216257095, 0.02198883332312107, -0.081028513610363, -0.05417252704501152, 0.012835408560931683, -0.09322153031826019, -0.22201025485992432, 0.0795157328248024, 0.37086063623428345, 0.014883801341056824, -0.10706373304128647, 0.17490623891353607, -0.24044601619243622, -0.10736194252967834, -0.2707054615020752, -0.24804820120334625, 0.23806898295879364, 0.04986322671175003, -0.241941899061203, -0.22192955017089844, -0.18295787274837494, -0.13371019065380096, 0.12629947066307068, 0.0017365877283737063, -0.03381966054439545, 0.21073250472545624, 0.026106318458914757, -0.024026203900575638, -0.28050440549850464, -0.04124448448419571, -0.034416310489177704, 0.3715693950653076, 0.5908255577087402, -0.18987342715263367, 0.08034555613994598, 0.7591679692268372, 0.1389026790857315, 0.18298587203025818, 0.15973018109798431, -0.09274043142795563, -0.18025176227092743, 0.04042831435799599, 0.26758891344070435, -0.029047803953289986, -0.045972324907779694, 0.18630030751228333, -0.3637477457523346, -0.1252787560224533, 0.0999143049120903, 0.3781779408454895, 0.13430489599704742, 0.03948520869016647, -0.4083313047885895, 0.1788148134946823, -0.13690732419490814, 0.08745790272951126, -0.29327186942100525, 0.14837871491909027, -0.4210907518863678, 0.05425379425287247, 0.1366846114397049, 0.1962875872850418, -0.11386449635028839, -0.0864158421754837, -0.07111743837594986, 0.021297845989465714, -0.08098909258842468, 0.13086682558059692, 0.03804697096347809, 0.342773973941803, -0.12857963144779205, 0.3041985034942627, -0.40037110447883606, -0.15484163165092468, -0.12158810347318649, -0.2655816376209259, -0.7442691326141357, 0.28768208622932434, -0.06522855907678604, -0.05867835506796837, -0.24553966522216797, -0.10629669576883316, -0.23482643067836761, 0.6078552007675171, 0.4493432641029358, 0.28098171949386597, 0.138356551527977, 0.12673115730285645, -0.13186290860176086, 0.3760738670825958, 0.23128047585487366, 0.08348946273326874, -0.15011988580226898, -0.06640183925628662, 0.2569769322872162, 0.035035159438848495, -0.13478289544582367, 0.5317350625991821, 0.011929764412343502, -0.0625266581773758, 0.04758450761437416, 0.7109020948410034, -0.5686829686164856, -0.32719454169273376, -0.16023696959018707, -0.10206712782382965, 0.044408783316612244, -0.053217433393001556, 0.006184427998960018, 0.27654778957366943, 0.3666093051433563, -0.1740008145570755, 0.10488689690828323, -0.12160144001245499, 0.012084146030247211, -0.07026262581348419, 0.18939122557640076, 0.10025948286056519, -0.13655175268650055, 0.17538021504878998, 0.0348285436630249, -0.0005675037391483784, 0.04024874418973923, 0.3416149616241455, -0.17491964995861053, 0.07302600890398026, 0.122370146214962, -0.05101361125707626, 0.5039793848991394, -0.22393494844436646, -0.0407196469604969, -0.19639180600643158, -0.1455344259738922, -0.05237656086683273, 0.2941823899745941, -0.08763465285301208, 0.021693583577871323, -0.21252287924289703, 0.1490386724472046, 0.03793196752667427, 0.7277791500091553, 0.10327371954917908, 0.03520042449235916, -0.10005034506320953, 0.35416629910469055, 0.17619077861309052, -0.007183850277215242, -0.09246145188808441, -0.09787774831056595, 0.05997991934418678, 0.03172815591096878, -0.1969085931777954, 0.1456921249628067, -0.19920672476291656, 0.16419507563114166, -0.020964881405234337, -0.11471667885780334, -0.41234374046325684, 0.09490559995174408, -0.3098751902580261, 0.15287341177463531, 0.1292506903409958, -0.011525817215442657, -0.22297541797161102, 0.14568358659744263, 0.28083041310310364, 0.06402886658906937, 0.06166788190603256, -0.03593280166387558, 0.11952781677246094, -0.08008219301700592, -0.27460864186286926, 0.227944016456604, -0.1711026281118393, 0.0013449079124256968, -0.338056743144989, 0.2738456428050995, 0.3672519624233246, 0.04035414010286331, -0.2590906023979187, -0.2539594769477844, 0.16433244943618774, 0.1304832100868225, 0.16140614449977875, -0.3611251711845398, 0.20851026475429535, 0.08302542567253113, -0.230165034532547, -0.05086619406938553, -0.08171218633651733, 0.007781432941555977, -0.6778645515441895, -0.09406821429729462, -0.005283565726131201, -0.060692839324474335, 0.38532066345214844, -0.5052615404129028, -0.015756582841277122, 0.28537580370903015, -0.05743598937988281, 1.0540837049484253, -0.0753978043794632, 0.13727103173732758, -0.1255621463060379, -0.1892431378364563, -0.19200792908668518, -0.32309553027153015, 0.08860553801059723, -0.213060200214386, -0.3186749219894409, 0.021960653364658356, -0.16050304472446442, -0.257938951253891, 0.22820797562599182, -0.029204266145825386, 0.250959575176239, -0.33890223503112793, -0.0789235457777977, -0.004149551969021559, -0.21514686942100525, -0.4103091359138489, 0.07046114653348923, 0.23709578812122345, 0.11454469710588455, 0.1204315572977066, 0.26243945956230164, -0.03852194920182228, 0.025191685184836388, -0.20553597807884216, -0.1630917638540268, -0.06389624625444412, 0.07304982095956802, -0.04613426327705383, -0.10828648507595062, -0.12480109184980392, -0.16824838519096375, -0.018982768058776855, 0.07478135824203491, 0.005019017960876226, 0.2751377522945404, 0.2455446571111679, 0.1999214142560959, 0.4288264811038971, 0.08910773694515228, -0.29398444294929504, 0.1802438497543335, -0.13053913414478302, -0.06932997703552246, -0.20343002676963806, 0.17448441684246063, 0.20632995665073395, -0.4005674421787262, -0.7123713493347168, -0.11903965473175049, 0.5025243759155273, -0.06561502814292908, 0.26329442858695984, 0.2303445190191269, -0.09658273309469223, -0.0339965894818306, 0.2558438181877136, 0.18678505718708038, -0.300830602645874, 0.06223399564623833, -0.0742485523223877, 0.15139780938625336, -0.055713552981615067, 0.20082247257232666, 0.07112132757902145, 0.12600934505462646, -0.01832677237689495, 0.17747054994106293, -0.11521437019109726, -0.28845977783203125, -0.16704712808132172, 0.11540550738573074, -0.208946093916893, -0.05539598688483238, -0.07175999879837036, -0.2628422975540161, -0.11795011907815933, 0.21656721830368042, 0.02544594369828701, 0.29380953311920166, 0.07752186059951782, 0.06217442452907562, -0.35512587428092957, -0.10463494807481766, 0.1164146214723587, 0.1987772136926651, 0.07856088131666183, 0.17727994918823242, -0.1828591376543045, 0.1252240538597107, -0.4311363399028778, -0.20010215044021606, 0.3256630301475525, 0.3169800043106079, -0.14237293601036072, -0.21514813601970673, -0.41597360372543335, -0.14399376511573792, 0.36344441771507263, 0.12163244932889938, -0.2901464104652405, -0.3295947015285492, 0.1312451809644699, 0.03775501251220703, 0.1386568248271942, 0.09969011694192886, -0.12244454771280289, -0.029583124443888664, -0.12707333266735077, 0.055525247007608414, 0.17699691653251648, 0.21603389084339142, -0.019606683403253555, 0.17450086772441864, 0.522700309753418, 0.07215528935194016, -0.03776484727859497, -0.03765818849205971, -0.10054464638233185, -0.1038917601108551, -0.22103163599967957, -0.1516171395778656, 0.0781393051147461, -0.11111033707857132, -0.08440396189689636, 0.1726960390806198, 0.29604455828666687, 0.07958709448575974, 0.17443035542964935, 0.05436251312494278, -0.062281250953674316, -0.14189089834690094, 0.10543842613697052, 0.18356066942214966, -0.023243051022291183, -0.24255789816379547, 0.31613242626190186, 0.3181861340999603, -0.0021408861503005028, 0.07518106698989868, -0.38976621627807617, 0.22941254079341888, 0.15406136214733124, 0.08122992515563965, -0.4205222725868225, -0.4702501893043518, -0.2166806012392044, 0.06293335556983948, -0.026593847200274467, -0.27857404947280884, 0.05642591789364815, 0.2784937024116516, 0.14871759712696075, -0.14680339395999908, 0.011822215281426907, -0.20121636986732483, -0.1155412569642067, 0.3295387029647827, 0.1165931224822998, 0.30374330282211304, 0.22825267910957336, -0.1061449646949768, 0.036949578672647476, -0.032109860330820084, -0.026515856385231018, 0.6872867345809937, 0.19893167912960052, 0.187283456325531, 0.48784756660461426, 0.175556018948555, 0.11441431194543839, 0.3015918433666229, 0.17821891605854034, 0.1273358315229416, 0.011434711515903473, -0.06874141097068787, -0.1562177538871765, -0.2998141944408417, -0.37360718846321106, 0.12969765067100525, 0.21880988776683807, 0.23953333497047424, -0.047920916229486465, 0.011555545032024384, 0.16657759249210358, -0.011436653323471546, 0.40175628662109375, 0.22165121138095856, 0.1377246379852295, -0.09920314699411392, -0.2309722900390625, 0.10045766830444336, 0.02385292388498783, 0.5169413685798645, -0.2484271079301834, -0.14727537333965302, 0.08991558849811554, -0.2549222409725189, 0.1216098889708519, -0.21709181368350983, -0.155193492770195, -0.09738560020923615, -0.024176841601729393, 0.20730915665626526, -0.18437597155570984, 0.036774639040231705, 0.2687585949897766, -0.39628440141677856, -0.2034231424331665, 0.29351046681404114, -0.025358201935887337, 0.34411901235580444, -0.006471574306488037, -0.007511022500693798, -0.15342405438423157, 0.018468152731657028, -0.08709439635276794, -0.3894364833831787, -0.1346326321363449, -0.6527346968650818, 0.11388638615608215, -0.059813469648361206, -0.014959711581468582, 0.13951507210731506, 0.11190912127494812, 0.1418939232826233, 0.3202234208583832, -0.022304194048047066, 0.08724885433912277, -0.5877199172973633, -0.12142140418291092, 0.1760965883731842, 0.22742918133735657, 0.21170134842395782, -0.34787583351135254, 0.13114787638187408, 0.21591761708259583, 0.13307441771030426, -0.06618873029947281, 0.20395466685295105, 0.10651688277721405, 0.8229343295097351, -0.14659905433654785, -0.06623449176549911, -0.09201168268918991, 0.22577165067195892, 0.10138639807701111, -0.1058838739991188, -0.09852830320596695, -0.02964155562222004, 0.387137770652771, -0.08361702412366867, 0.1344151645898819, -0.2983914017677307, -0.02214074321091175, -0.12561379373073578, -0.2607799768447876, 0.19809672236442566, -0.1684887558221817, 0.20614151656627655, 0.2605903744697571, 0.2288265973329544, -0.054592814296483994, -0.2240782380104065, 0.35065212845802307, 0.1299349069595337, 0.33543261885643005, -0.054797518998384476, -0.21390220522880554, 0.42087969183921814, -0.010049116797745228, 0.30065810680389404, -0.42049604654312134, 0.3114127218723297, -0.04881594330072403, 0.2294934093952179, -0.3848636746406555, -0.04228002578020096, 0.00808825995773077, -0.11706120520830154, -0.25590780377388, 0.2055767923593521, 0.33952951431274414, -0.06297902762889862, -0.37009304761886597, -0.27277570962905884, 0.05774720758199692, 0.30955854058265686, -0.06846838444471359, 0.028111418709158897, 0.18093261122703552, -0.08099202066659927, 0.05816175043582916, 0.24245399236679077, 0.015435658395290375, -0.0638374462723732, 0.012804588302969933, -0.0038271809462457895, -0.09646742045879364, 0.028379390016198158, -0.07103800028562546, -0.19939301908016205, -0.2738724946975708 ]
https://github.com/huggingface/datasets/issues/1611
shuffle with torch generator
@lhoestq could you confirm the method proposed does not bring the whole data into memory? thanks
Hi I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help @lhoestq
16
shuffle with torch generator
[ -0.18823862075805664, -0.526898980140686, -0.19863425195217133, 0.12944109737873077, 0.04409925639629364, -0.026158060878515244, 0.2704905569553375, -0.06942173093557358, -0.20618890225887299, 0.6691250801086426, -0.017420053482055664, 0.42275187373161316, -0.3466506004333496, -0.24057915806770325, -0.07808676362037659, -0.2135249227285385, 0.06230442598462105, -0.026701267808675766, -0.10227533429861069, -0.23429174721240997, -0.07941931486129761, -0.20591647922992706, -0.303763210773468, 0.025181885808706284, -0.24281932413578033, 0.16183865070343018, -0.18060986697673798, 0.1359955370426178, -0.29093262553215027, 0.3248246908187866, -0.2951005697250366, 0.5548934936523438, -0.15114057064056396, 0.37697654962539673, -0.00010341611050534993, -0.2473653256893158, -0.008300953544676304, -0.09516187012195587, -0.14541763067245483, -0.18339040875434875, 0.1915566772222519, 0.6032772660255432, -0.48204466700553894, 0.10853511840105057, -0.08654196560382843, -0.19765067100524902, 0.21953673660755157, -0.16150708496570587, 0.11429163068532944, -0.18855415284633636, 0.26309624314308167, -0.14858457446098328, -0.07505003362894058, -0.050202250480651855, 0.7223483324050903, 0.18833249807357788, 0.10662113130092621, -0.1501901000738144, 0.34521758556365967, 0.011031943373382092, -0.1708577573299408, 0.1228310838341713, 0.12782715260982513, 0.03991756960749626, 0.3664069175720215, -0.277512788772583, -0.2587747871875763, 0.19162680208683014, 0.14359520375728607, 0.09595927596092224, 0.0041676657274365425, -0.11358433961868286, 0.1359039694070816, 0.010497123934328556, -0.014339668676257133, -0.15423831343650818, 0.004280002787709236, 0.2826389968395233, -0.2574513256549835, -0.21857118606567383, -0.21774068474769592, -0.004111603368073702, 0.1369456648826599, -0.2393692135810852, 0.29338666796684265, 0.5993384122848511, -0.00048639049055054784, -0.029297348111867905, 0.440990149974823, -0.028460955247282982, 0.6444804072380066, -0.008407511748373508, -0.14332404732704163, 0.3001094162464142, 0.004701859317719936, -0.011543815955519676, 0.11924278736114502, 0.30838972330093384, 0.15933826565742493, -0.20729456841945648, 0.2913036048412323, 0.12231186777353287, 0.20466788113117218, 0.08958037942647934, 0.12164116650819778, -0.22702838480472565, -0.05275967717170715, 0.20249341428279877, -0.1775364726781845, -0.21670223772525787, -0.09845447540283203, -0.042100563645362854, -0.15035711228847504, -0.3620806038379669, -0.06892766058444977, 0.34539973735809326, -0.6049122214317322, 0.036598898470401764, 0.13229629397392273, -0.2883102297782898, 0.013429753482341766, -0.29227209091186523, -0.04495103657245636, 0.27790313959121704, 0.11732444912195206, 0.12613117694854736, -0.0491303913295269, 0.11176571249961853, 0.13749003410339355, 0.017599930986762047, -0.2575376629829407, 0.05011972039937973, -0.2939702868461609, -0.13746482133865356, -0.15293079614639282, -0.11035221815109253, 0.17393751442432404, -0.03737299516797066, 0.12985938787460327, 0.20257994532585144, 0.06375167518854141, 0.02258298173546791, 0.234771728515625, -0.28772249817848206, 0.1169222816824913, -0.1920032799243927, -0.2766072154045105, 0.3190114498138428, 0.05612272769212723, 0.27685946226119995, 0.17444796860218048, -0.12496504932641983, 0.08659365773200989, 0.25640395283699036, 0.19937728345394135, 0.17676417529582977, 0.0036781560629606247, -0.0019297748804092407, 0.005724004469811916, -0.28246206045150757, 0.025396965444087982, -0.12997667491436005, -0.04672274366021156, -0.11762095987796783, -0.1298271119594574, -0.06399732828140259, 0.21961772441864014, -0.2133878469467163, 0.03673245757818222, -0.04303612932562828, 0.2801087498664856, 0.07473234832286835, -0.08144104480743408, 0.04620487242937088, -0.26141175627708435, -0.38041192293167114, 0.317671000957489, 0.23731856048107147, -0.08185639977455139, -0.3362230658531189, -0.20349597930908203, -0.05363195762038231, 0.3231867253780365, 0.12384501844644547, -0.0318959578871727, -0.17829468846321106, 0.7291724681854248, 0.22181516885757446, -0.19939644634723663, 0.14964616298675537, -0.19175554811954498, 0.011094178073108196, 0.33212289214134216, 0.12518194317817688, -0.07291289418935776, 0.07920902967453003, -0.12530770897865295, -0.1977102905511856, 0.1995842456817627, -0.13800403475761414, -0.2776643633842468, -0.22356119751930237, -0.23211811482906342, 0.26203641295433044, -0.1009206771850586, 0.08045505732297897, 0.29071900248527527, -0.24438974261283875, 0.043759897351264954, 0.05161052942276001, 0.14965318143367767, -0.022685864940285683, 0.08191244304180145, -0.20363712310791016, -0.16834697127342224, -0.08012723922729492, 0.18691636621952057, 0.17685046792030334, 0.1706470400094986, -0.3446198105812073, -0.08222579210996628, -0.27864986658096313, -0.12864261865615845, -0.1860625296831131, -0.3806735575199127, -0.06761658191680908, -0.21890471875667572, -0.18349233269691467, 0.18587954342365265, 0.1078282967209816, -0.027935612946748734, 0.10292907059192657, 0.08513643592596054, 0.05611446127295494, -0.146331787109375, -0.1092630997300148, 0.05187508091330528, 0.15408393740653992, -0.0900375172495842, 0.0010282504372298717, 0.15764479339122772, -0.10449063777923584, 0.06411178410053253, -0.012371033430099487, 0.07728998363018036, 0.4556606709957123, -0.35364630818367004, -0.12824565172195435, -0.03659862279891968, -0.3304903209209442, -0.1590179204940796, 0.26931947469711304, 0.22444751858711243, 0.36803239583969116, 0.3828676640987396, 0.2777581810951233, -0.08403568714857101, 0.09855006635189056, -0.3094676434993744, -0.02503361739218235, 0.2780056297779083, -0.08916763216257095, 0.02198883332312107, -0.081028513610363, -0.05417252704501152, 0.012835408560931683, -0.09322153031826019, -0.22201025485992432, 0.0795157328248024, 0.37086063623428345, 0.014883801341056824, -0.10706373304128647, 0.17490623891353607, -0.24044601619243622, -0.10736194252967834, -0.2707054615020752, -0.24804820120334625, 0.23806898295879364, 0.04986322671175003, -0.241941899061203, -0.22192955017089844, -0.18295787274837494, -0.13371019065380096, 0.12629947066307068, 0.0017365877283737063, -0.03381966054439545, 0.21073250472545624, 0.026106318458914757, -0.024026203900575638, -0.28050440549850464, -0.04124448448419571, -0.034416310489177704, 0.3715693950653076, 0.5908255577087402, -0.18987342715263367, 0.08034555613994598, 0.7591679692268372, 0.1389026790857315, 0.18298587203025818, 0.15973018109798431, -0.09274043142795563, -0.18025176227092743, 0.04042831435799599, 0.26758891344070435, -0.029047803953289986, -0.045972324907779694, 0.18630030751228333, -0.3637477457523346, -0.1252787560224533, 0.0999143049120903, 0.3781779408454895, 0.13430489599704742, 0.03948520869016647, -0.4083313047885895, 0.1788148134946823, -0.13690732419490814, 0.08745790272951126, -0.29327186942100525, 0.14837871491909027, -0.4210907518863678, 0.05425379425287247, 0.1366846114397049, 0.1962875872850418, -0.11386449635028839, -0.0864158421754837, -0.07111743837594986, 0.021297845989465714, -0.08098909258842468, 0.13086682558059692, 0.03804697096347809, 0.342773973941803, -0.12857963144779205, 0.3041985034942627, -0.40037110447883606, -0.15484163165092468, -0.12158810347318649, -0.2655816376209259, -0.7442691326141357, 0.28768208622932434, -0.06522855907678604, -0.05867835506796837, -0.24553966522216797, -0.10629669576883316, -0.23482643067836761, 0.6078552007675171, 0.4493432641029358, 0.28098171949386597, 0.138356551527977, 0.12673115730285645, -0.13186290860176086, 0.3760738670825958, 0.23128047585487366, 0.08348946273326874, -0.15011988580226898, -0.06640183925628662, 0.2569769322872162, 0.035035159438848495, -0.13478289544582367, 0.5317350625991821, 0.011929764412343502, -0.0625266581773758, 0.04758450761437416, 0.7109020948410034, -0.5686829686164856, -0.32719454169273376, -0.16023696959018707, -0.10206712782382965, 0.044408783316612244, -0.053217433393001556, 0.006184427998960018, 0.27654778957366943, 0.3666093051433563, -0.1740008145570755, 0.10488689690828323, -0.12160144001245499, 0.012084146030247211, -0.07026262581348419, 0.18939122557640076, 0.10025948286056519, -0.13655175268650055, 0.17538021504878998, 0.0348285436630249, -0.0005675037391483784, 0.04024874418973923, 0.3416149616241455, -0.17491964995861053, 0.07302600890398026, 0.122370146214962, -0.05101361125707626, 0.5039793848991394, -0.22393494844436646, -0.0407196469604969, -0.19639180600643158, -0.1455344259738922, -0.05237656086683273, 0.2941823899745941, -0.08763465285301208, 0.021693583577871323, -0.21252287924289703, 0.1490386724472046, 0.03793196752667427, 0.7277791500091553, 0.10327371954917908, 0.03520042449235916, -0.10005034506320953, 0.35416629910469055, 0.17619077861309052, -0.007183850277215242, -0.09246145188808441, -0.09787774831056595, 0.05997991934418678, 0.03172815591096878, -0.1969085931777954, 0.1456921249628067, -0.19920672476291656, 0.16419507563114166, -0.020964881405234337, -0.11471667885780334, -0.41234374046325684, 0.09490559995174408, -0.3098751902580261, 0.15287341177463531, 0.1292506903409958, -0.011525817215442657, -0.22297541797161102, 0.14568358659744263, 0.28083041310310364, 0.06402886658906937, 0.06166788190603256, -0.03593280166387558, 0.11952781677246094, -0.08008219301700592, -0.27460864186286926, 0.227944016456604, -0.1711026281118393, 0.0013449079124256968, -0.338056743144989, 0.2738456428050995, 0.3672519624233246, 0.04035414010286331, -0.2590906023979187, -0.2539594769477844, 0.16433244943618774, 0.1304832100868225, 0.16140614449977875, -0.3611251711845398, 0.20851026475429535, 0.08302542567253113, -0.230165034532547, -0.05086619406938553, -0.08171218633651733, 0.007781432941555977, -0.6778645515441895, -0.09406821429729462, -0.005283565726131201, -0.060692839324474335, 0.38532066345214844, -0.5052615404129028, -0.015756582841277122, 0.28537580370903015, -0.05743598937988281, 1.0540837049484253, -0.0753978043794632, 0.13727103173732758, -0.1255621463060379, -0.1892431378364563, -0.19200792908668518, -0.32309553027153015, 0.08860553801059723, -0.213060200214386, -0.3186749219894409, 0.021960653364658356, -0.16050304472446442, -0.257938951253891, 0.22820797562599182, -0.029204266145825386, 0.250959575176239, -0.33890223503112793, -0.0789235457777977, -0.004149551969021559, -0.21514686942100525, -0.4103091359138489, 0.07046114653348923, 0.23709578812122345, 0.11454469710588455, 0.1204315572977066, 0.26243945956230164, -0.03852194920182228, 0.025191685184836388, -0.20553597807884216, -0.1630917638540268, -0.06389624625444412, 0.07304982095956802, -0.04613426327705383, -0.10828648507595062, -0.12480109184980392, -0.16824838519096375, -0.018982768058776855, 0.07478135824203491, 0.005019017960876226, 0.2751377522945404, 0.2455446571111679, 0.1999214142560959, 0.4288264811038971, 0.08910773694515228, -0.29398444294929504, 0.1802438497543335, -0.13053913414478302, -0.06932997703552246, -0.20343002676963806, 0.17448441684246063, 0.20632995665073395, -0.4005674421787262, -0.7123713493347168, -0.11903965473175049, 0.5025243759155273, -0.06561502814292908, 0.26329442858695984, 0.2303445190191269, -0.09658273309469223, -0.0339965894818306, 0.2558438181877136, 0.18678505718708038, -0.300830602645874, 0.06223399564623833, -0.0742485523223877, 0.15139780938625336, -0.055713552981615067, 0.20082247257232666, 0.07112132757902145, 0.12600934505462646, -0.01832677237689495, 0.17747054994106293, -0.11521437019109726, -0.28845977783203125, -0.16704712808132172, 0.11540550738573074, -0.208946093916893, -0.05539598688483238, -0.07175999879837036, -0.2628422975540161, -0.11795011907815933, 0.21656721830368042, 0.02544594369828701, 0.29380953311920166, 0.07752186059951782, 0.06217442452907562, -0.35512587428092957, -0.10463494807481766, 0.1164146214723587, 0.1987772136926651, 0.07856088131666183, 0.17727994918823242, -0.1828591376543045, 0.1252240538597107, -0.4311363399028778, -0.20010215044021606, 0.3256630301475525, 0.3169800043106079, -0.14237293601036072, -0.21514813601970673, -0.41597360372543335, -0.14399376511573792, 0.36344441771507263, 0.12163244932889938, -0.2901464104652405, -0.3295947015285492, 0.1312451809644699, 0.03775501251220703, 0.1386568248271942, 0.09969011694192886, -0.12244454771280289, -0.029583124443888664, -0.12707333266735077, 0.055525247007608414, 0.17699691653251648, 0.21603389084339142, -0.019606683403253555, 0.17450086772441864, 0.522700309753418, 0.07215528935194016, -0.03776484727859497, -0.03765818849205971, -0.10054464638233185, -0.1038917601108551, -0.22103163599967957, -0.1516171395778656, 0.0781393051147461, -0.11111033707857132, -0.08440396189689636, 0.1726960390806198, 0.29604455828666687, 0.07958709448575974, 0.17443035542964935, 0.05436251312494278, -0.062281250953674316, -0.14189089834690094, 0.10543842613697052, 0.18356066942214966, -0.023243051022291183, -0.24255789816379547, 0.31613242626190186, 0.3181861340999603, -0.0021408861503005028, 0.07518106698989868, -0.38976621627807617, 0.22941254079341888, 0.15406136214733124, 0.08122992515563965, -0.4205222725868225, -0.4702501893043518, -0.2166806012392044, 0.06293335556983948, -0.026593847200274467, -0.27857404947280884, 0.05642591789364815, 0.2784937024116516, 0.14871759712696075, -0.14680339395999908, 0.011822215281426907, -0.20121636986732483, -0.1155412569642067, 0.3295387029647827, 0.1165931224822998, 0.30374330282211304, 0.22825267910957336, -0.1061449646949768, 0.036949578672647476, -0.032109860330820084, -0.026515856385231018, 0.6872867345809937, 0.19893167912960052, 0.187283456325531, 0.48784756660461426, 0.175556018948555, 0.11441431194543839, 0.3015918433666229, 0.17821891605854034, 0.1273358315229416, 0.011434711515903473, -0.06874141097068787, -0.1562177538871765, -0.2998141944408417, -0.37360718846321106, 0.12969765067100525, 0.21880988776683807, 0.23953333497047424, -0.047920916229486465, 0.011555545032024384, 0.16657759249210358, -0.011436653323471546, 0.40175628662109375, 0.22165121138095856, 0.1377246379852295, -0.09920314699411392, -0.2309722900390625, 0.10045766830444336, 0.02385292388498783, 0.5169413685798645, -0.2484271079301834, -0.14727537333965302, 0.08991558849811554, -0.2549222409725189, 0.1216098889708519, -0.21709181368350983, -0.155193492770195, -0.09738560020923615, -0.024176841601729393, 0.20730915665626526, -0.18437597155570984, 0.036774639040231705, 0.2687585949897766, -0.39628440141677856, -0.2034231424331665, 0.29351046681404114, -0.025358201935887337, 0.34411901235580444, -0.006471574306488037, -0.007511022500693798, -0.15342405438423157, 0.018468152731657028, -0.08709439635276794, -0.3894364833831787, -0.1346326321363449, -0.6527346968650818, 0.11388638615608215, -0.059813469648361206, -0.014959711581468582, 0.13951507210731506, 0.11190912127494812, 0.1418939232826233, 0.3202234208583832, -0.022304194048047066, 0.08724885433912277, -0.5877199172973633, -0.12142140418291092, 0.1760965883731842, 0.22742918133735657, 0.21170134842395782, -0.34787583351135254, 0.13114787638187408, 0.21591761708259583, 0.13307441771030426, -0.06618873029947281, 0.20395466685295105, 0.10651688277721405, 0.8229343295097351, -0.14659905433654785, -0.06623449176549911, -0.09201168268918991, 0.22577165067195892, 0.10138639807701111, -0.1058838739991188, -0.09852830320596695, -0.02964155562222004, 0.387137770652771, -0.08361702412366867, 0.1344151645898819, -0.2983914017677307, -0.02214074321091175, -0.12561379373073578, -0.2607799768447876, 0.19809672236442566, -0.1684887558221817, 0.20614151656627655, 0.2605903744697571, 0.2288265973329544, -0.054592814296483994, -0.2240782380104065, 0.35065212845802307, 0.1299349069595337, 0.33543261885643005, -0.054797518998384476, -0.21390220522880554, 0.42087969183921814, -0.010049116797745228, 0.30065810680389404, -0.42049604654312134, 0.3114127218723297, -0.04881594330072403, 0.2294934093952179, -0.3848636746406555, -0.04228002578020096, 0.00808825995773077, -0.11706120520830154, -0.25590780377388, 0.2055767923593521, 0.33952951431274414, -0.06297902762889862, -0.37009304761886597, -0.27277570962905884, 0.05774720758199692, 0.30955854058265686, -0.06846838444471359, 0.028111418709158897, 0.18093261122703552, -0.08099202066659927, 0.05816175043582916, 0.24245399236679077, 0.015435658395290375, -0.0638374462723732, 0.012804588302969933, -0.0038271809462457895, -0.09646742045879364, 0.028379390016198158, -0.07103800028562546, -0.19939301908016205, -0.2738724946975708 ]
https://github.com/huggingface/datasets/issues/1610
shuffle does not accept seed
Hi Thomas thanks for reponse, yes, I did checked it, but this does not work for me please see ``` (internship) rkarimi@italix17:/idiap/user/rkarimi/dev$ python Python 3.7.9 (default, Aug 31 2020, 12:42:55) [GCC 7.3.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information. >>> import datasets 2020-12-20 01:48:50.766004: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory 2020-12-20 01:48:50.766029: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. >>> data = datasets.load_dataset("scitail", "snli_format") cahce dir /idiap/temp/rkarimi/cache_home_1/datasets cahce dir /idiap/temp/rkarimi/cache_home_1/datasets Reusing dataset scitail (/idiap/temp/rkarimi/cache_home_1/datasets/scitail/snli_format/1.1.0/fd8ccdfc3134ce86eb4ef10ba7f21ee2a125c946e26bb1dd3625fe74f48d3b90) >>> data.shuffle(seed=2) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: shuffle() got an unexpected keyword argument 'seed' ``` datasets version `datasets 1.1.2 <pip> `
Hi I need to shuffle the dataset, but this needs to be based on epoch+seed to be consistent across the cores, when I pass seed to shuffle, this does not accept seed, could you assist me with this? thanks @lhoestq
134
shuffle does not accept seed
[ -0.08047344535589218, -0.31086811423301697, -0.14684224128723145, -0.04141255468130112, 0.24654866755008698, -0.10438849031925201, 0.09163019061088562, -0.02530314028263092, -0.08350704610347748, 0.5790265202522278, 0.07239235192537308, 0.1483863741159439, -0.2462293952703476, 0.19509871304035187, -0.1616942137479782, 0.36632734537124634, 0.06954748183488846, -0.08509640395641327, 0.0930316299200058, -0.24316570162773132, -0.23440459370613098, -0.010593440383672714, -0.25134533643722534, -0.18149544298648834, -0.23536524176597595, 0.22139780223369598, 0.02570970542728901, 0.17014704644680023, -0.425238698720932, 0.12226475775241852, -0.2762518525123596, 0.3836826980113983, -0.11479143053293228, 0.3053009808063507, -0.00010282105358783156, -0.006677460856735706, 0.2992281913757324, -0.05941982567310333, -0.18007628619670868, -0.043243829160928726, -0.4121372103691101, 0.5999131202697754, -0.4589426517486572, 0.09043750166893005, -0.13556085526943207, -0.24940569698810577, 0.24720150232315063, 0.018660016357898712, -0.047719258815050125, -0.07755084335803986, 0.3150409460067749, -0.12429413199424744, 0.405731201171875, -0.11625508219003677, 0.7003284096717834, 0.17158737778663635, 0.15364892780780792, 0.29152795672416687, -0.0438438355922699, 0.2467096596956253, -0.020790837705135345, -0.08299178630113602, 0.11714096367359161, 0.037559520453214645, 0.11250705271959305, -0.30804523825645447, 0.37608152627944946, 0.04440365731716156, 0.013960053212940693, -0.11231084913015366, 0.0872582346200943, 0.2049974799156189, -0.0772591084241867, 0.051961734890937805, -0.016168398782610893, -0.19894146919250488, -0.014611192978918552, 0.011672122403979301, -0.1688263714313507, -0.009882752783596516, -0.04115130379796028, -0.032091666013002396, 0.10616843402385712, -0.027841292321681976, 0.16927868127822876, 0.6290216445922852, 0.10611982643604279, -0.00502747343853116, 0.3836534321308136, -0.06353896111249924, 0.31664952635765076, 0.05115586891770363, -0.15848027169704437, -0.07304974645376205, 0.15811003744602203, -0.0012930750381201506, 0.17989471554756165, 0.2881622612476349, 0.2784764766693115, -0.06458592414855957, 0.13940443098545074, 0.37724754214286804, 0.2760975658893585, 0.21924470365047455, -0.06846076250076294, -0.10093045979738235, 0.09084845334291458, 0.13805340230464935, -0.000043116506276419386, 0.09864886105060577, 0.06745465099811554, 0.12276934832334518, -0.09124618768692017, 0.04506820812821388, -0.17553354799747467, -0.03445989266037941, -0.2533366084098816, -0.08746706694364548, -0.08702325075864792, -0.2817244827747345, -0.1597418636083603, -0.36071068048477173, 0.16857096552848816, 0.42541295289993286, 0.09270240366458893, 0.07880258560180664, -0.005793398711830378, 0.18293397128582, 0.07658777385950089, -0.07888061553239822, -0.41657906770706177, 0.0764385387301445, -0.25231412053108215, -0.061313286423683167, -0.00033565281773917377, 0.11557749658823013, 0.24901077151298523, 0.025570832192897797, 0.25625860691070557, -0.01957864500582218, -0.12851475179195404, 0.12380508333444595, 0.04752596467733383, 0.024381786584854126, 0.13377362489700317, -0.09224876016378403, 0.05116254463791847, 0.15460465848445892, 0.14307062327861786, 0.2659456729888916, -0.19946129620075226, 0.003010462038218975, 0.2432934045791626, 0.316716730594635, -0.008277804590761662, 0.05381464213132858, -0.13871465623378754, -0.1256263703107834, -0.2528347074985504, -0.21939653158187866, -0.24484498798847198, -0.22407658398151398, 0.008594689890742302, -0.21817322075366974, 0.22744418680667877, -0.1629282385110855, 0.2531183958053589, -0.07672227174043655, 0.05693647637963295, 0.0556798093020916, 0.47254735231399536, 0.21359136700630188, -0.04105827212333679, -0.028927521780133247, -0.1283343881368637, 0.09052851796150208, 0.25601041316986084, 0.20419831573963165, -0.25113430619239807, -0.2688644528388977, -0.191596120595932, -0.1975110024213791, 0.11450767517089844, -0.03950720280408859, -0.09596991539001465, -0.02628166228532791, 0.5370444059371948, 0.11175578832626343, -0.13769051432609558, 0.2537629306316376, -0.35215163230895996, -0.05054814741015434, -0.026380786672234535, 0.274485319852829, 0.049391213804483414, 0.0505262166261673, 0.214897021651268, -0.013400210067629814, 0.18546853959560394, 0.07707299292087555, -0.09646022319793701, -0.1996220499277115, 0.18354825675487518, 0.1090819463133812, -0.03941696137189865, -0.031909141689538956, 0.3538441061973572, -0.09816651791334152, 0.006009833887219429, -0.0680570900440216, 0.35088810324668884, -0.00006454171671066433, -0.33837562799453735, -0.0578966848552227, -0.135512575507164, 0.21089886128902435, 0.225577712059021, 0.36876586079597473, 0.13772836327552795, 0.09418553858995438, 0.05218285694718361, -0.4459243714809418, -0.26857006549835205, -0.05299358814954758, -0.21230784058570862, 0.08147496730089188, -0.27964773774147034, -0.44899827241897583, 0.22734661400318146, 0.03693921118974686, 0.14592702686786652, -0.05275917053222656, 0.06829775124788284, 0.23824304342269897, -0.037229157984256744, -0.3714686334133148, -0.14625248312950134, 0.08756570518016815, -0.117329902946949, -0.1638895571231842, -0.2781793475151062, -0.1411738246679306, 0.2918800413608551, -0.12467489391565323, 0.07350322604179382, 0.21260897815227509, -0.2809309959411621, -0.33867186307907104, 0.09225703775882721, -0.2882418632507324, 0.12827831506729126, 0.20713526010513306, 0.009361452423036098, 0.05377277731895447, 0.11417559534311295, -0.14118003845214844, -0.2582179605960846, -0.017624614760279655, -0.18622459471225739, -0.1570168435573578, 0.240492582321167, -0.009896747767925262, 0.02765616588294506, -0.09071657061576843, 0.14939796924591064, -0.0007828333764337003, -0.028352199122309685, 0.19402746856212616, 0.10961730778217316, 0.3690353035926819, 0.06801297515630722, -0.2024184763431549, 0.0008323178044520319, -0.24593056738376617, -0.06290531903505325, -0.2889620363712311, 0.1305832862854004, 0.16888058185577393, 0.07876476645469666, -0.3570505678653717, -0.3490946590900421, 0.0913786068558693, 0.21984638273715973, 0.25377336144447327, -0.20516979694366455, -0.25541600584983826, -0.248580664396286, 0.09698549658060074, 0.08976123481988907, -0.13791435956954956, -0.02533782087266445, -0.21756793558597565, 0.32913002371788025, 0.7811669707298279, -0.04943348839879036, -0.04351368546485901, 0.31431928277015686, -0.0255698524415493, 0.054122745990753174, 0.37683236598968506, -0.21823276579380035, 0.017235513776540756, 0.03813348338007927, 0.2769014835357666, 0.17099907994270325, 0.2367655336856842, 0.1315528303384781, -0.23376980423927307, -0.37768325209617615, 0.1936020404100418, -0.0331123024225235, 0.005481045227497816, -0.21310079097747803, 0.04405996575951576, 0.03264264762401581, 0.18692097067832947, -0.27548158168792725, -0.26464661955833435, 0.3688141405582428, -0.41100072860717773, -0.08866143226623535, 0.16636215150356293, 0.2152089625597, -0.3304063379764557, -0.24549296498298645, -0.15849290788173676, 0.20131124556064606, -0.2084568440914154, 0.11362150311470032, 0.009313360787928104, 0.06745412200689316, 0.1850069761276245, 0.34841519594192505, -0.19557082653045654, -0.2331189513206482, -0.2387140542268753, -0.29250818490982056, -0.41962069272994995, 0.32644155621528625, -0.12371217459440231, -0.19435793161392212, -0.05417614430189133, -0.008139627985656261, -0.2679906189441681, 0.44377976655960083, 0.2644846439361572, 0.43285584449768066, -0.04296981543302536, -0.17674869298934937, 0.04027743637561798, 0.10061442106962204, 0.45800942182540894, -0.12355085462331772, -0.15606702864170074, -0.02409454993903637, -0.1966506838798523, 0.07059936970472336, 0.14719463884830475, 0.481358140707016, 0.06763646751642227, 0.2680821120738983, 0.04811832681298256, 0.49010685086250305, -0.5724045038223267, 0.13494683802127838, 0.19212111830711365, 0.034963399171829224, 0.14016754925251007, -0.1254650056362152, 0.08038608729839325, 0.3580392003059387, 0.3793995976448059, -0.18695130944252014, 0.224897101521492, -0.12026744335889816, -0.10463991016149521, -0.02071414887905121, 0.17584523558616638, -0.3283516466617584, -0.028997479006648064, 0.014498951844871044, 0.2582453191280365, -0.17077742516994476, -0.05290597677230835, 0.12821371853351593, 0.07998652756214142, 0.06881645321846008, -0.19677798449993134, 0.16256490349769592, 0.31389886140823364, -0.028990456834435463, -0.5724838376045227, -0.2767355740070343, -0.09063629806041718, 0.07135564833879471, 0.1392247974872589, 0.2672981917858124, -0.23219086229801178, -0.3754754364490509, 0.26021862030029297, -0.07318110764026642, 0.39217591285705566, -0.10285671055316925, 0.2604374289512634, -0.06456359475851059, 0.2285221815109253, -0.0073395888321101665, -0.11552435159683228, -0.2345094531774521, -0.22048330307006836, -0.1573486328125, 0.13698260486125946, -0.2499752789735794, 0.26842424273490906, -0.10966424643993378, -0.2391694337129593, 0.05946148931980133, -0.10107657313346863, -0.27659544348716736, -0.3290214538574219, -0.3647727370262146, 0.10723754018545151, 0.13079380989074707, 0.08642817288637161, -0.11787884682416916, 0.056516993790864944, 0.08546782284975052, -0.22919313609600067, 0.1364847719669342, 0.06356140971183777, 0.12445945292711258, 0.1309202015399933, -0.18836034834384918, 0.17623865604400635, -0.054929062724113464, 0.2627285420894623, -0.22407256066799164, 0.40749192237854004, 0.30668869614601135, 0.2722625136375427, -0.29645296931266785, -0.025204479694366455, 0.2012828290462494, 0.019113991409540176, 0.09928065538406372, -0.016517966985702515, -0.0750194564461708, 0.03630751371383667, -0.22148317098617554, 0.22892172634601593, -0.2881741523742676, -0.15830418467521667, -0.34635552763938904, -0.25750070810317993, -0.17570391297340393, -0.1198640689253807, 0.24631014466285706, -0.07043595612049103, 0.026749955490231514, 0.318717896938324, -0.08001119643449783, 0.828045666217804, -0.16314680874347687, -0.1195172667503357, 0.29419881105422974, 0.1285080462694168, -0.2908823788166046, 0.38073214888572693, 0.3810970187187195, -0.12311476469039917, -0.4075711965560913, 0.17090678215026855, -0.037015609443187714, -0.009528047405183315, 0.25141641497612, -0.05004347860813141, 0.15118668973445892, -0.09950375556945801, -0.06199219077825546, 0.04124864190816879, -0.1454797089099884, -0.07893974334001541, 0.3285626769065857, -0.052938368171453476, 0.275196373462677, 0.13500161468982697, 0.05114687234163284, 0.04710610210895538, 0.02067779190838337, -0.29198628664016724, -0.3265048563480377, -0.05839744210243225, 0.11487354338169098, 0.05671358481049538, -0.14001847803592682, -0.22563710808753967, 0.24086697399616241, -0.27328255772590637, -0.11625473946332932, -0.014007224701344967, 0.33341437578201294, 0.07889274507761002, 0.09283093363046646, 0.2438155710697174, -0.07836885750293732, -0.3282679617404938, 0.039815839380025864, -0.10785514116287231, -0.03461085259914398, -0.22535191476345062, 0.01363349612802267, 0.19321028888225555, -0.6132338643074036, -0.7948482036590576, -0.05653810501098633, 0.3312850594520569, -0.014150556176900864, -0.12123408913612366, -0.15994621813297272, -0.18360993266105652, -0.029705995693802834, 0.2878885865211487, -0.223892480134964, -0.006300777662545443, -0.013215066865086555, 0.2564406991004944, -0.040589019656181335, -0.14626683294773102, 0.3905465304851532, -0.0008294029394164681, 0.36827194690704346, 0.0185756366699934, -0.18892128765583038, -0.05100337043404579, -0.260851114988327, -0.011136914603412151, 0.12024258822202682, 0.007531522307544947, -0.004825911950320005, 0.03923499956727028, -0.24790406227111816, 0.12717826664447784, 0.14992646872997284, 0.13333077728748322, 0.23798690736293793, 0.0785975307226181, -0.14780795574188232, -0.017298512160778046, 0.22945192456245422, -0.04704653099179268, 0.02593330480158329, 0.10763362050056458, 0.13872428238391876, -0.09842521697282791, -0.021447157487273216, -0.4437143802642822, -0.13719962537288666, 0.030172450467944145, 0.05665365979075432, -0.02626628801226616, -0.18500502407550812, -0.010724416933953762, -0.1528121680021286, 0.4178151488304138, 0.14038054645061493, -0.05187738314270973, -0.31062716245651245, 0.2088237702846527, 0.056458454579114914, 0.2699030637741089, 0.2975154519081116, 0.08651793003082275, -0.2565757930278778, -0.1956346184015274, 0.0486680269241333, -0.04427150636911392, 0.2375158965587616, 0.014535739086568356, -0.11999332159757614, 0.8569924831390381, 0.3782196342945099, 0.1244504526257515, 0.04594680666923523, -0.35215941071510315, -0.1668975055217743, -0.1699594408273697, -0.2916014790534973, 0.05092370882630348, -0.06609507650136948, -0.46898841857910156, -0.114236019551754, -0.017217200249433517, 0.23156973719596863, 0.3493937849998474, -0.1561824530363083, -0.0674268826842308, 0.12442842870950699, 0.05604715272784233, 0.11735964566469193, 0.10883881896734238, -0.28545722365379333, 0.3614499270915985, 0.35101258754730225, 0.007122458424419165, -0.06636807322502136, -0.2212812751531601, 0.08549590408802032, 0.016233038157224655, 0.12459713220596313, -0.3975822925567627, -0.4086906909942627, -0.19960249960422516, 0.27546828985214233, 0.13953641057014465, -0.2399909347295761, -0.06912828236818314, 0.1498856544494629, -0.15701161324977875, -0.17157509922981262, 0.1257505863904953, -0.21058346331119537, -0.11170841008424759, 0.023585734888911247, 0.0839819461107254, 0.3063886761665344, -0.06282445788383484, -0.02861819416284561, -0.2578098475933075, -0.2625010013580322, 0.014180678874254227, 0.8217095136642456, 0.09269514679908752, 0.3191413879394531, 0.3067294657230377, 0.24077969789505005, -0.07144609838724136, 0.27793917059898376, -0.002953815273940563, -0.004599058069288731, -0.17105378210544586, 0.0059897820465266705, -0.4001161754131317, -0.3006584942340851, -0.46613773703575134, -0.2002703994512558, -0.09901069104671478, 0.3457111418247223, 0.20086519420146942, -0.07854814827442169, -0.16707532107830048, -0.1414860486984253, -0.24160030484199524, 0.060804933309555054, 0.12668031454086304, -0.170698881149292, 0.11762329936027527, -0.3395163416862488, -0.22143062949180603, 0.6713934540748596, 0.04678008332848549, 0.11006392538547516, 0.07119917124509811, 0.23837824165821075, -0.13383235037326813, -0.226692795753479, -0.21058610081672668, -0.07746241241693497, 0.19056953489780426, 0.3032379150390625, 0.05708301067352295, -0.05262996628880501, 0.3683723509311676, -0.3874911367893219, -0.16212651133537292, 0.11138559132814407, 0.18553277850151062, 0.15947102010250092, 0.0645211711525917, -0.06220563128590584, 0.2133343517780304, 0.11519050598144531, 0.1304144561290741, -0.4351646304130554, 0.053067196160554886, -0.8026496171951294, 0.12146762013435364, 0.14800798892974854, 0.10355175286531448, 0.12154173851013184, 0.018308531492948532, 0.04352554306387901, 0.10453534126281738, -0.7417612075805664, 0.14478731155395508, -0.33695822954177856, -0.31576332449913025, 0.2955317795276642, 0.022135604172945023, 0.18542398512363434, -0.13145111501216888, 0.1440492570400238, 0.21087981760501862, -0.21466562151908875, -0.09393324702978134, 0.09930669516324997, -0.10984992980957031, 0.4948333203792572, -0.019933393225073814, 0.1243988424539566, 0.07942279428243637, 0.002707035280764103, 0.04035386070609093, -0.11173833906650543, 0.26207324862480164, 0.1218033954501152, 0.3077510595321655, 0.003757839323952794, 0.09757610410451889, -0.27879536151885986, -0.2758781611919403, -0.07382122427225113, -0.01335863210260868, 0.30155307054519653, -0.4287787079811096, -0.0006880292785353959, -0.0028077312745153904, -0.06405582278966904, -0.1613604873418808, -0.07586205005645752, 0.0950733870267868, 0.3978172242641449, 0.1729089617729187, -0.08182552456855774, -0.25212985277175903, 0.28674978017807007, -0.20952783524990082, 0.1469442993402481, -0.18601198494434357, 0.34607210755348206, -0.12164910137653351, 0.040315598249435425, -0.15323173999786377, -0.17712999880313873, 0.09896023571491241, -0.24556486308574677, -0.07747757434844971, -0.1974223256111145, 0.3728359043598175, 0.0911729633808136, -0.09454833716154099, -0.33429577946662903, 0.0449812076985836, -0.1622593104839325, 0.019253969192504883, 0.3005727529525757, 0.16210269927978516, -0.037854596972465515, 0.19391271471977234, 0.13354705274105072, 0.18612918257713318, -0.05240737646818161, -0.1710660308599472, -0.07321611791849136, -0.038083430379629135, 0.12426654994487762, -0.20229502022266388, 0.13789939880371094, -0.009154804982244968 ]
https://github.com/huggingface/datasets/issues/1610
shuffle does not accept seed
Thanks for reporting ! Indeed it looks like an issue with `suffle` on `DatasetDict`. We're going to fix that. In the meantime you can shuffle each split (train, validation, test) separately: ```python shuffled_train_dataset = data["train"].shuffle(seed=42) ```
Hi I need to shuffle the dataset, but this needs to be based on epoch+seed to be consistent across the cores, when I pass seed to shuffle, this does not accept seed, could you assist me with this? thanks @lhoestq
36
shuffle does not accept seed
[ -0.08047344535589218, -0.31086811423301697, -0.14684224128723145, -0.04141255468130112, 0.24654866755008698, -0.10438849031925201, 0.09163019061088562, -0.02530314028263092, -0.08350704610347748, 0.5790265202522278, 0.07239235192537308, 0.1483863741159439, -0.2462293952703476, 0.19509871304035187, -0.1616942137479782, 0.36632734537124634, 0.06954748183488846, -0.08509640395641327, 0.0930316299200058, -0.24316570162773132, -0.23440459370613098, -0.010593440383672714, -0.25134533643722534, -0.18149544298648834, -0.23536524176597595, 0.22139780223369598, 0.02570970542728901, 0.17014704644680023, -0.425238698720932, 0.12226475775241852, -0.2762518525123596, 0.3836826980113983, -0.11479143053293228, 0.3053009808063507, -0.00010282105358783156, -0.006677460856735706, 0.2992281913757324, -0.05941982567310333, -0.18007628619670868, -0.043243829160928726, -0.4121372103691101, 0.5999131202697754, -0.4589426517486572, 0.09043750166893005, -0.13556085526943207, -0.24940569698810577, 0.24720150232315063, 0.018660016357898712, -0.047719258815050125, -0.07755084335803986, 0.3150409460067749, -0.12429413199424744, 0.405731201171875, -0.11625508219003677, 0.7003284096717834, 0.17158737778663635, 0.15364892780780792, 0.29152795672416687, -0.0438438355922699, 0.2467096596956253, -0.020790837705135345, -0.08299178630113602, 0.11714096367359161, 0.037559520453214645, 0.11250705271959305, -0.30804523825645447, 0.37608152627944946, 0.04440365731716156, 0.013960053212940693, -0.11231084913015366, 0.0872582346200943, 0.2049974799156189, -0.0772591084241867, 0.051961734890937805, -0.016168398782610893, -0.19894146919250488, -0.014611192978918552, 0.011672122403979301, -0.1688263714313507, -0.009882752783596516, -0.04115130379796028, -0.032091666013002396, 0.10616843402385712, -0.027841292321681976, 0.16927868127822876, 0.6290216445922852, 0.10611982643604279, -0.00502747343853116, 0.3836534321308136, -0.06353896111249924, 0.31664952635765076, 0.05115586891770363, -0.15848027169704437, -0.07304974645376205, 0.15811003744602203, -0.0012930750381201506, 0.17989471554756165, 0.2881622612476349, 0.2784764766693115, -0.06458592414855957, 0.13940443098545074, 0.37724754214286804, 0.2760975658893585, 0.21924470365047455, -0.06846076250076294, -0.10093045979738235, 0.09084845334291458, 0.13805340230464935, -0.000043116506276419386, 0.09864886105060577, 0.06745465099811554, 0.12276934832334518, -0.09124618768692017, 0.04506820812821388, -0.17553354799747467, -0.03445989266037941, -0.2533366084098816, -0.08746706694364548, -0.08702325075864792, -0.2817244827747345, -0.1597418636083603, -0.36071068048477173, 0.16857096552848816, 0.42541295289993286, 0.09270240366458893, 0.07880258560180664, -0.005793398711830378, 0.18293397128582, 0.07658777385950089, -0.07888061553239822, -0.41657906770706177, 0.0764385387301445, -0.25231412053108215, -0.061313286423683167, -0.00033565281773917377, 0.11557749658823013, 0.24901077151298523, 0.025570832192897797, 0.25625860691070557, -0.01957864500582218, -0.12851475179195404, 0.12380508333444595, 0.04752596467733383, 0.024381786584854126, 0.13377362489700317, -0.09224876016378403, 0.05116254463791847, 0.15460465848445892, 0.14307062327861786, 0.2659456729888916, -0.19946129620075226, 0.003010462038218975, 0.2432934045791626, 0.316716730594635, -0.008277804590761662, 0.05381464213132858, -0.13871465623378754, -0.1256263703107834, -0.2528347074985504, -0.21939653158187866, -0.24484498798847198, -0.22407658398151398, 0.008594689890742302, -0.21817322075366974, 0.22744418680667877, -0.1629282385110855, 0.2531183958053589, -0.07672227174043655, 0.05693647637963295, 0.0556798093020916, 0.47254735231399536, 0.21359136700630188, -0.04105827212333679, -0.028927521780133247, -0.1283343881368637, 0.09052851796150208, 0.25601041316986084, 0.20419831573963165, -0.25113430619239807, -0.2688644528388977, -0.191596120595932, -0.1975110024213791, 0.11450767517089844, -0.03950720280408859, -0.09596991539001465, -0.02628166228532791, 0.5370444059371948, 0.11175578832626343, -0.13769051432609558, 0.2537629306316376, -0.35215163230895996, -0.05054814741015434, -0.026380786672234535, 0.274485319852829, 0.049391213804483414, 0.0505262166261673, 0.214897021651268, -0.013400210067629814, 0.18546853959560394, 0.07707299292087555, -0.09646022319793701, -0.1996220499277115, 0.18354825675487518, 0.1090819463133812, -0.03941696137189865, -0.031909141689538956, 0.3538441061973572, -0.09816651791334152, 0.006009833887219429, -0.0680570900440216, 0.35088810324668884, -0.00006454171671066433, -0.33837562799453735, -0.0578966848552227, -0.135512575507164, 0.21089886128902435, 0.225577712059021, 0.36876586079597473, 0.13772836327552795, 0.09418553858995438, 0.05218285694718361, -0.4459243714809418, -0.26857006549835205, -0.05299358814954758, -0.21230784058570862, 0.08147496730089188, -0.27964773774147034, -0.44899827241897583, 0.22734661400318146, 0.03693921118974686, 0.14592702686786652, -0.05275917053222656, 0.06829775124788284, 0.23824304342269897, -0.037229157984256744, -0.3714686334133148, -0.14625248312950134, 0.08756570518016815, -0.117329902946949, -0.1638895571231842, -0.2781793475151062, -0.1411738246679306, 0.2918800413608551, -0.12467489391565323, 0.07350322604179382, 0.21260897815227509, -0.2809309959411621, -0.33867186307907104, 0.09225703775882721, -0.2882418632507324, 0.12827831506729126, 0.20713526010513306, 0.009361452423036098, 0.05377277731895447, 0.11417559534311295, -0.14118003845214844, -0.2582179605960846, -0.017624614760279655, -0.18622459471225739, -0.1570168435573578, 0.240492582321167, -0.009896747767925262, 0.02765616588294506, -0.09071657061576843, 0.14939796924591064, -0.0007828333764337003, -0.028352199122309685, 0.19402746856212616, 0.10961730778217316, 0.3690353035926819, 0.06801297515630722, -0.2024184763431549, 0.0008323178044520319, -0.24593056738376617, -0.06290531903505325, -0.2889620363712311, 0.1305832862854004, 0.16888058185577393, 0.07876476645469666, -0.3570505678653717, -0.3490946590900421, 0.0913786068558693, 0.21984638273715973, 0.25377336144447327, -0.20516979694366455, -0.25541600584983826, -0.248580664396286, 0.09698549658060074, 0.08976123481988907, -0.13791435956954956, -0.02533782087266445, -0.21756793558597565, 0.32913002371788025, 0.7811669707298279, -0.04943348839879036, -0.04351368546485901, 0.31431928277015686, -0.0255698524415493, 0.054122745990753174, 0.37683236598968506, -0.21823276579380035, 0.017235513776540756, 0.03813348338007927, 0.2769014835357666, 0.17099907994270325, 0.2367655336856842, 0.1315528303384781, -0.23376980423927307, -0.37768325209617615, 0.1936020404100418, -0.0331123024225235, 0.005481045227497816, -0.21310079097747803, 0.04405996575951576, 0.03264264762401581, 0.18692097067832947, -0.27548158168792725, -0.26464661955833435, 0.3688141405582428, -0.41100072860717773, -0.08866143226623535, 0.16636215150356293, 0.2152089625597, -0.3304063379764557, -0.24549296498298645, -0.15849290788173676, 0.20131124556064606, -0.2084568440914154, 0.11362150311470032, 0.009313360787928104, 0.06745412200689316, 0.1850069761276245, 0.34841519594192505, -0.19557082653045654, -0.2331189513206482, -0.2387140542268753, -0.29250818490982056, -0.41962069272994995, 0.32644155621528625, -0.12371217459440231, -0.19435793161392212, -0.05417614430189133, -0.008139627985656261, -0.2679906189441681, 0.44377976655960083, 0.2644846439361572, 0.43285584449768066, -0.04296981543302536, -0.17674869298934937, 0.04027743637561798, 0.10061442106962204, 0.45800942182540894, -0.12355085462331772, -0.15606702864170074, -0.02409454993903637, -0.1966506838798523, 0.07059936970472336, 0.14719463884830475, 0.481358140707016, 0.06763646751642227, 0.2680821120738983, 0.04811832681298256, 0.49010685086250305, -0.5724045038223267, 0.13494683802127838, 0.19212111830711365, 0.034963399171829224, 0.14016754925251007, -0.1254650056362152, 0.08038608729839325, 0.3580392003059387, 0.3793995976448059, -0.18695130944252014, 0.224897101521492, -0.12026744335889816, -0.10463991016149521, -0.02071414887905121, 0.17584523558616638, -0.3283516466617584, -0.028997479006648064, 0.014498951844871044, 0.2582453191280365, -0.17077742516994476, -0.05290597677230835, 0.12821371853351593, 0.07998652756214142, 0.06881645321846008, -0.19677798449993134, 0.16256490349769592, 0.31389886140823364, -0.028990456834435463, -0.5724838376045227, -0.2767355740070343, -0.09063629806041718, 0.07135564833879471, 0.1392247974872589, 0.2672981917858124, -0.23219086229801178, -0.3754754364490509, 0.26021862030029297, -0.07318110764026642, 0.39217591285705566, -0.10285671055316925, 0.2604374289512634, -0.06456359475851059, 0.2285221815109253, -0.0073395888321101665, -0.11552435159683228, -0.2345094531774521, -0.22048330307006836, -0.1573486328125, 0.13698260486125946, -0.2499752789735794, 0.26842424273490906, -0.10966424643993378, -0.2391694337129593, 0.05946148931980133, -0.10107657313346863, -0.27659544348716736, -0.3290214538574219, -0.3647727370262146, 0.10723754018545151, 0.13079380989074707, 0.08642817288637161, -0.11787884682416916, 0.056516993790864944, 0.08546782284975052, -0.22919313609600067, 0.1364847719669342, 0.06356140971183777, 0.12445945292711258, 0.1309202015399933, -0.18836034834384918, 0.17623865604400635, -0.054929062724113464, 0.2627285420894623, -0.22407256066799164, 0.40749192237854004, 0.30668869614601135, 0.2722625136375427, -0.29645296931266785, -0.025204479694366455, 0.2012828290462494, 0.019113991409540176, 0.09928065538406372, -0.016517966985702515, -0.0750194564461708, 0.03630751371383667, -0.22148317098617554, 0.22892172634601593, -0.2881741523742676, -0.15830418467521667, -0.34635552763938904, -0.25750070810317993, -0.17570391297340393, -0.1198640689253807, 0.24631014466285706, -0.07043595612049103, 0.026749955490231514, 0.318717896938324, -0.08001119643449783, 0.828045666217804, -0.16314680874347687, -0.1195172667503357, 0.29419881105422974, 0.1285080462694168, -0.2908823788166046, 0.38073214888572693, 0.3810970187187195, -0.12311476469039917, -0.4075711965560913, 0.17090678215026855, -0.037015609443187714, -0.009528047405183315, 0.25141641497612, -0.05004347860813141, 0.15118668973445892, -0.09950375556945801, -0.06199219077825546, 0.04124864190816879, -0.1454797089099884, -0.07893974334001541, 0.3285626769065857, -0.052938368171453476, 0.275196373462677, 0.13500161468982697, 0.05114687234163284, 0.04710610210895538, 0.02067779190838337, -0.29198628664016724, -0.3265048563480377, -0.05839744210243225, 0.11487354338169098, 0.05671358481049538, -0.14001847803592682, -0.22563710808753967, 0.24086697399616241, -0.27328255772590637, -0.11625473946332932, -0.014007224701344967, 0.33341437578201294, 0.07889274507761002, 0.09283093363046646, 0.2438155710697174, -0.07836885750293732, -0.3282679617404938, 0.039815839380025864, -0.10785514116287231, -0.03461085259914398, -0.22535191476345062, 0.01363349612802267, 0.19321028888225555, -0.6132338643074036, -0.7948482036590576, -0.05653810501098633, 0.3312850594520569, -0.014150556176900864, -0.12123408913612366, -0.15994621813297272, -0.18360993266105652, -0.029705995693802834, 0.2878885865211487, -0.223892480134964, -0.006300777662545443, -0.013215066865086555, 0.2564406991004944, -0.040589019656181335, -0.14626683294773102, 0.3905465304851532, -0.0008294029394164681, 0.36827194690704346, 0.0185756366699934, -0.18892128765583038, -0.05100337043404579, -0.260851114988327, -0.011136914603412151, 0.12024258822202682, 0.007531522307544947, -0.004825911950320005, 0.03923499956727028, -0.24790406227111816, 0.12717826664447784, 0.14992646872997284, 0.13333077728748322, 0.23798690736293793, 0.0785975307226181, -0.14780795574188232, -0.017298512160778046, 0.22945192456245422, -0.04704653099179268, 0.02593330480158329, 0.10763362050056458, 0.13872428238391876, -0.09842521697282791, -0.021447157487273216, -0.4437143802642822, -0.13719962537288666, 0.030172450467944145, 0.05665365979075432, -0.02626628801226616, -0.18500502407550812, -0.010724416933953762, -0.1528121680021286, 0.4178151488304138, 0.14038054645061493, -0.05187738314270973, -0.31062716245651245, 0.2088237702846527, 0.056458454579114914, 0.2699030637741089, 0.2975154519081116, 0.08651793003082275, -0.2565757930278778, -0.1956346184015274, 0.0486680269241333, -0.04427150636911392, 0.2375158965587616, 0.014535739086568356, -0.11999332159757614, 0.8569924831390381, 0.3782196342945099, 0.1244504526257515, 0.04594680666923523, -0.35215941071510315, -0.1668975055217743, -0.1699594408273697, -0.2916014790534973, 0.05092370882630348, -0.06609507650136948, -0.46898841857910156, -0.114236019551754, -0.017217200249433517, 0.23156973719596863, 0.3493937849998474, -0.1561824530363083, -0.0674268826842308, 0.12442842870950699, 0.05604715272784233, 0.11735964566469193, 0.10883881896734238, -0.28545722365379333, 0.3614499270915985, 0.35101258754730225, 0.007122458424419165, -0.06636807322502136, -0.2212812751531601, 0.08549590408802032, 0.016233038157224655, 0.12459713220596313, -0.3975822925567627, -0.4086906909942627, -0.19960249960422516, 0.27546828985214233, 0.13953641057014465, -0.2399909347295761, -0.06912828236818314, 0.1498856544494629, -0.15701161324977875, -0.17157509922981262, 0.1257505863904953, -0.21058346331119537, -0.11170841008424759, 0.023585734888911247, 0.0839819461107254, 0.3063886761665344, -0.06282445788383484, -0.02861819416284561, -0.2578098475933075, -0.2625010013580322, 0.014180678874254227, 0.8217095136642456, 0.09269514679908752, 0.3191413879394531, 0.3067294657230377, 0.24077969789505005, -0.07144609838724136, 0.27793917059898376, -0.002953815273940563, -0.004599058069288731, -0.17105378210544586, 0.0059897820465266705, -0.4001161754131317, -0.3006584942340851, -0.46613773703575134, -0.2002703994512558, -0.09901069104671478, 0.3457111418247223, 0.20086519420146942, -0.07854814827442169, -0.16707532107830048, -0.1414860486984253, -0.24160030484199524, 0.060804933309555054, 0.12668031454086304, -0.170698881149292, 0.11762329936027527, -0.3395163416862488, -0.22143062949180603, 0.6713934540748596, 0.04678008332848549, 0.11006392538547516, 0.07119917124509811, 0.23837824165821075, -0.13383235037326813, -0.226692795753479, -0.21058610081672668, -0.07746241241693497, 0.19056953489780426, 0.3032379150390625, 0.05708301067352295, -0.05262996628880501, 0.3683723509311676, -0.3874911367893219, -0.16212651133537292, 0.11138559132814407, 0.18553277850151062, 0.15947102010250092, 0.0645211711525917, -0.06220563128590584, 0.2133343517780304, 0.11519050598144531, 0.1304144561290741, -0.4351646304130554, 0.053067196160554886, -0.8026496171951294, 0.12146762013435364, 0.14800798892974854, 0.10355175286531448, 0.12154173851013184, 0.018308531492948532, 0.04352554306387901, 0.10453534126281738, -0.7417612075805664, 0.14478731155395508, -0.33695822954177856, -0.31576332449913025, 0.2955317795276642, 0.022135604172945023, 0.18542398512363434, -0.13145111501216888, 0.1440492570400238, 0.21087981760501862, -0.21466562151908875, -0.09393324702978134, 0.09930669516324997, -0.10984992980957031, 0.4948333203792572, -0.019933393225073814, 0.1243988424539566, 0.07942279428243637, 0.002707035280764103, 0.04035386070609093, -0.11173833906650543, 0.26207324862480164, 0.1218033954501152, 0.3077510595321655, 0.003757839323952794, 0.09757610410451889, -0.27879536151885986, -0.2758781611919403, -0.07382122427225113, -0.01335863210260868, 0.30155307054519653, -0.4287787079811096, -0.0006880292785353959, -0.0028077312745153904, -0.06405582278966904, -0.1613604873418808, -0.07586205005645752, 0.0950733870267868, 0.3978172242641449, 0.1729089617729187, -0.08182552456855774, -0.25212985277175903, 0.28674978017807007, -0.20952783524990082, 0.1469442993402481, -0.18601198494434357, 0.34607210755348206, -0.12164910137653351, 0.040315598249435425, -0.15323173999786377, -0.17712999880313873, 0.09896023571491241, -0.24556486308574677, -0.07747757434844971, -0.1974223256111145, 0.3728359043598175, 0.0911729633808136, -0.09454833716154099, -0.33429577946662903, 0.0449812076985836, -0.1622593104839325, 0.019253969192504883, 0.3005727529525757, 0.16210269927978516, -0.037854596972465515, 0.19391271471977234, 0.13354705274105072, 0.18612918257713318, -0.05240737646818161, -0.1710660308599472, -0.07321611791849136, -0.038083430379629135, 0.12426654994487762, -0.20229502022266388, 0.13789939880371094, -0.009154804982244968 ]
https://github.com/huggingface/datasets/issues/1609
Not able to use 'jigsaw_toxicity_pred' dataset
Hi @jassimran, The `jigsaw_toxicity_pred` dataset has not been released yet, it will be available with version 2 of `datasets`, coming soon. You can still access it by installing the master (unreleased) version of datasets directly : `pip install git+https://github.com/huggingface/datasets.git@master` Please let me know if this helps
When trying to use jigsaw_toxicity_pred dataset, like this in a [colab](https://colab.research.google.com/drive/1LwO2A5M2X5dvhkAFYE4D2CUT3WUdWnkn?usp=sharing): ``` from datasets import list_datasets, list_metrics, load_dataset, load_metric ds = load_dataset("jigsaw_toxicity_pred") ``` I see below error: > FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/jigsaw_toxicity_pred/jigsaw_toxicity_pred.py During handling of the above exception, another exception occurred: FileNotFoundError Traceback (most recent call last) FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/jigsaw_toxicity_pred/jigsaw_toxicity_pred.py During handling of the above exception, another exception occurred: FileNotFoundError Traceback (most recent call last) /usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs) 280 raise FileNotFoundError( 281 "Couldn't find file locally at {}, or remotely at {} or {}".format( --> 282 combined_path, github_file_path, file_path 283 ) 284 ) FileNotFoundError: Couldn't find file locally at jigsaw_toxicity_pred/jigsaw_toxicity_pred.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/jigsaw_toxicity_pred/jigsaw_toxicity_pred.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/jigsaw_toxicity_pred/jigsaw_toxicity_pred.py
46
Not able to use 'jigsaw_toxicity_pred' dataset
[ -0.24583075940608978, -0.12034645676612854, -0.24245686829090118, 0.0602099671959877, 0.28035613894462585, 0.2380063235759735, 0.06877877563238144, 0.053405359387397766, -0.1267470419406891, 0.19764019548892975, -0.26363128423690796, 0.33356383442878723, -0.19489800930023193, 0.16476362943649292, -0.16003525257110596, 0.16660171747207642, 0.060419365763664246, 0.21332255005836487, -0.35587212443351746, 0.07406317442655563, -0.10610491782426834, 0.11752766370773315, -0.15797650814056396, 0.3262244164943695, -0.41641417145729065, -0.19442951679229736, 0.22539211809635162, 0.6036058068275452, -0.12001504004001617, -0.2962198853492737, 0.16975852847099304, 0.11119474470615387, 0.04862607643008232, 0.6168496012687683, -0.00010722767183324322, 0.2035827934741974, 0.27181440591812134, -0.14194892346858978, 0.009577992372214794, -0.06982215493917465, -0.565753161907196, 0.03078480437397957, -0.058419615030288696, -0.22039151191711426, -0.30027687549591064, -0.07149286568164825, 0.02680870331823826, -0.3323608636856079, 0.3989221155643463, 0.47183850407600403, 0.261320561170578, 0.2465929239988327, 0.22812525928020477, -0.29085540771484375, 0.06561411917209625, 0.29154592752456665, -0.1297176033258438, 0.2982931435108185, 0.37086164951324463, -0.029415424913167953, 0.0069804806262254715, 0.04969795420765877, 0.1537318229675293, 0.1833648383617401, -0.12333311140537262, -0.12216970324516296, 0.3047043979167938, -0.28129634261131287, 0.4819851517677307, 0.6540665030479431, 0.1069512590765953, -0.14737045764923096, 0.12218889594078064, 0.18998044729232788, -0.13468235731124878, -0.2434515804052353, -0.26101794838905334, 0.1464167833328247, -0.04307742044329643, 0.2011977732181549, 0.07290570437908173, 0.24931882321834564, -0.2969427704811096, -0.1369517296552658, 0.31153103709220886, 0.17854344844818115, -0.15302656590938568, 0.1270572543144226, 0.12329277396202087, -0.39554479718208313, 0.21907536685466766, 0.45392027497291565, -0.10324877500534058, -0.11563465744256973, -0.34318432211875916, 0.2597619295120239, -0.04093319922685623, 0.05766068771481514, 0.3842656910419464, -0.29363808035850525, -0.04133431613445282, 0.20285657048225403, 0.09271252155303955, -0.038816433399915695, 0.13415710628032684, -0.27831947803497314, -0.09906871616840363, 0.5516636371612549, 0.3038128614425659, 0.4379211366176605, -0.18805761635303497, 0.02231341414153576, 0.034622594714164734, -0.1507454514503479, 0.18484783172607422, -0.18156544864177704, 0.25701725482940674, -0.33852502703666687, -0.4349059760570526, -0.13064052164554596, 0.15686464309692383, 0.17667177319526672, 0.012678341008722782, 0.5414103865623474, 0.40218251943588257, -0.23557136952877045, 0.11358248442411423, 0.3059249818325043, -0.00580130098387599, 0.10190259665250778, -0.40725865960121155, 0.2728034555912018, -0.17565810680389404, -0.22176364064216614, 0.027258815243840218, -0.1011146530508995, 0.30006885528564453, -0.24700310826301575, 0.11833374202251434, -0.11691129207611084, -0.15492461621761322, 0.07118687778711319, -0.006585402879863977, 0.3594038486480713, 0.0550474189221859, -0.07876509428024292, 0.0700797587633133, 0.10687468945980072, 0.020773719996213913, 0.13095420598983765, -0.5529454946517944, -0.4036954343318939, -0.010550168342888355, 0.21018986403942108, -0.203102245926857, -0.029746966436505318, 0.5683265328407288, -0.03367277607321739, 0.2918613851070404, 0.0044250511564314365, -0.22100116312503815, 0.028825532644987106, -0.31398579478263855, -0.33517149090766907, 0.053802866488695145, 0.20610696077346802, -0.39500075578689575, 0.12849871814250946, -0.186971515417099, -0.23364697396755219, 0.2088354080915451, 0.1511581540107727, -0.12582819163799286, -0.052398957312107086, -0.12260696291923523, 0.08007565885782242, 0.47606053948402405, -0.35118722915649414, -0.0623156875371933, -0.19362281262874603, 0.05051983892917633, -0.22415773570537567, 0.19405895471572876, -0.31677499413490295, -0.32855868339538574, -0.004336656536906958, 0.027151433750987053, -0.0036962006706744432, 0.051829561591148376, -0.11623401194810867, 0.02003880776464939, -0.29641303420066833, 0.04668315500020981, 0.23775391280651093, 0.2398623675107956, 0.20578886568546295, 0.30289438366889954, -0.169196218252182, 0.32393592596054077, -0.003968378063291311, 0.06251974403858185, 0.1380046010017395, -0.10976307839155197, -0.11618919670581818, 0.09260400384664536, -0.18750785291194916, 0.03481682389974594, -0.032596129924058914, -0.2571824789047241, 0.05567244812846184, -0.18000051379203796, 0.059775061905384064, -0.5827400088310242, 0.0828796848654747, -0.18576066195964813, -0.05841749906539917, 0.26710978150367737, -0.08095444738864899, 0.02215581201016903, 0.12481238692998886, -0.1210312694311142, 0.003021108452230692, -0.07408098876476288, -0.01314406469464302, -0.16716653108596802, -0.011613409034907818, -0.3611804246902466, -0.4490469694137573, 0.2465284764766693, 0.17376108467578888, 0.09489259123802185, -0.04371696338057518, -0.09241499751806259, 0.3033176064491272, -0.07807054370641708, -0.07354776561260223, 0.049216724932193756, 0.42615917325019836, -0.0322355292737484, -0.2852262258529663, 0.16364410519599915, -0.005078060552477837, 0.14289191365242004, -0.10964631289243698, 0.09847629070281982, 0.2853286564350128, -0.13531257212162018, 0.14876538515090942, 0.020364031195640564, 0.06178615242242813, 0.3277779221534729, -0.1890382170677185, 0.004671937320381403, -0.3805736005306244, 0.10305429250001907, -0.37332332134246826, -0.022086279466748238, -0.11294171959161758, -0.34895092248916626, 0.06392725557088852, 0.16912303864955902, 0.02803794853389263, 0.14345288276672363, -0.12211108952760696, 0.1622031182050705, -0.036093950271606445, 0.2677191495895386, -0.1913861334323883, 0.3523935079574585, 0.15077070891857147, -0.0005804211250506341, -0.02445097640156746, -0.15583404898643494, -0.3540704548358917, -0.15204472839832306, 0.0627245381474495, 0.30142298340797424, 0.19995078444480896, 0.2327452003955841, -0.33602726459503174, -0.11134950071573257, 0.33522921800613403, -0.1463504582643509, 0.33235231041908264, -0.3230275511741638, 0.40975886583328247, -0.5971701741218567, -0.7158639430999756, 0.3078298568725586, 0.14209212362766266, 0.16930846869945526, -0.22290098667144775, 0.07739724218845367, -0.29895761609077454, -0.12583927810192108, 0.3978043794631958, 0.03182240575551987, 0.08795221894979477, 0.08993116021156311, 0.2854941487312317, -0.3664087653160095, -0.09066218137741089, -0.21064840257167816, 0.3058769106864929, -0.1295626163482666, 0.1886540949344635, 0.27948951721191406, -0.15240472555160522, 0.024019725620746613, -0.03267844766378403, 0.062031812965869904, 0.11945343017578125, 0.02479914389550686, 0.4015045762062073, 0.4062219560146332, 0.26696687936782837, 0.11051595211029053, -0.35670024156570435, 0.3044266700744629, -0.5217423439025879, 0.03666011616587639, 0.04417272284626961, -0.48909521102905273, -0.014785136096179485, 0.0953088104724884, 0.14706334471702576, -0.20740805566310883, -0.33711478114128113, -0.24867019057273865, 0.41636210680007935, 0.13559718430042267, 0.12357796728610992, 0.19051627814769745, 0.058403052389621735, 0.07493492215871811, 0.24992957711219788, -0.2617148160934448, -0.5784080028533936, 0.19730161130428314, -0.09306235611438751, -0.32650482654571533, 0.061967652291059494, -0.08326543867588043, 0.37423384189605713, 0.01590590551495552, -0.0368974432349205, -0.032051246613264084, 0.10574505478143692, -0.020285049453377724, 0.26978498697280884, 0.15563367307186127, -0.01924874819815159, -0.24022409319877625, -0.03590283915400505, -0.27429908514022827, -0.11692345887422562, 0.3570306897163391, -0.03995785862207413, 0.38234731554985046, 0.1713012158870697, 0.3271850347518921, 0.1566440463066101, 0.2525997459888458, 0.018764598295092583, -0.2275306135416031, 0.4234321415424347, -0.30032458901405334, 0.580959141254425, -0.07802396267652512, -0.23505719006061554, -0.20268414914608002, 0.280882328748703, 0.25101688504219055, -0.09490258246660233, -0.030520452186465263, -0.0727398470044136, -0.18067263066768646, 0.11414524912834167, -0.3746424913406372, -0.08711697161197662, -0.11187396943569183, 0.08372186124324799, -0.056937385350465775, 0.14172565937042236, -0.21761031448841095, 0.056404050439596176, -0.22906777262687683, 0.0010162974940612912, 0.37774723768234253, 0.10280489176511765, 0.06147361546754837, 0.050276193767786026, 0.1365145742893219, -0.41460877656936646, 0.31425467133522034, -0.30362656712532043, 0.10119449347257614, -0.2643166184425354, -0.13338106870651245, 0.15727278590202332, -0.11668945848941803, 0.15015190839767456, -0.31952643394470215, 0.3807237446308136, 0.4038553535938263, -0.1752883493900299, -0.07255571335554123, -0.12963025271892548, -0.27535298466682434, 0.14129547774791718, 0.5159736275672913, -0.17519310116767883, -0.30541327595710754, -0.01907750964164734, 0.6159839630126953, -0.19056794047355652, -0.1169857382774353, -0.22359080612659454, -0.20223918557167053, -0.39354032278060913, -0.4880613684654236, -0.021505771204829216, 0.1547369658946991, 0.3155563771724701, 0.18275758624076843, -0.06116769462823868, -0.0423322394490242, -0.06833609193563461, -0.002670877380296588, 0.27765101194381714, 0.18715788424015045, -0.11334492266178131, -0.16257698833942413, 0.04384236037731171, -0.07338515669107437, 0.17961415648460388, 0.5656871795654297, -0.23322433233261108, -0.3087385296821594, 0.09004087746143341, 0.0482914038002491, 0.06225274130702019, 0.2741333246231079, -0.14366501569747925, -0.02824995294213295, 0.11936625838279724, -0.05665013566613197, -0.04601500928401947, 0.39694729447364807, 0.2416958510875702, -0.1773848980665207, -0.4079853296279907, -0.15436598658561707, 0.16669051349163055, 0.02882896363735199, -0.0997832790017128, -0.019215846434235573, 0.2501178979873657, -0.2342950701713562, 0.48670345544815063, 0.3683675229549408, 0.8923600316047668, -0.2722438871860504, 0.06013185903429985, 0.13451577723026276, 0.15453775227069855, 0.3499242961406708, -0.15634727478027344, -0.31214970350265503, -0.226018026471138, -0.3103494644165039, 0.09870125353336334, -0.08597660064697266, 0.3420925736427307, 0.2787739634513855, 0.04696480184793472, 0.2930678725242615, -0.12503287196159363, 0.10070644319057465, 0.007610867731273174, 0.22074569761753082, 0.5032419562339783, 0.03275733441114426, 0.16006654500961304, 0.20377513766288757, 0.016802815720438957, 0.006203003693372011, -0.1370730847120285, -0.09759758412837982, -0.0380045585334301, -0.11021774262189865, -0.402458518743515, -0.12452629953622818, -0.018309688195586205, 0.19875599443912506, -0.12430299818515778, -0.3247525990009308, -0.1836484670639038, 0.0019725977908819914, 0.07368078827857971, 0.25100845098495483, -0.10653267800807953, 0.3299247920513153, 0.31519314646720886, -0.3232091963291168, -0.28252071142196655, 0.16963262856006622, 0.2015363872051239, -0.2617936432361603, -0.35775458812713623, 0.09219718724489212, 0.1701798290014267, -0.462529718875885, -0.11088602244853973, 0.01906871423125267, -0.5340200662612915, -0.37633249163627625, -0.29028505086898804, 0.0158961433917284, 0.02556728944182396, -0.05504349619150162, 0.19742810726165771, 0.48096147179603577, -0.1388416737318039, 0.16124598681926727, 0.2428067922592163, -0.25774213671684265, -0.1910851150751114, 0.09594208747148514, 0.0708746463060379, 0.27037158608436584, -0.06613071262836456, 0.14815722405910492, -0.07524064928293228, -0.25633081793785095, -0.2363366037607193, 0.4706347584724426, 0.0968208983540535, 0.12009923160076141, 0.3034750819206238, -0.3113895058631897, 0.09159405529499054, 0.023583441972732544, 0.1609586775302887, 0.004176389891654253, -0.19119125604629517, -0.4040601849555969, -0.36735862493515015, 0.019821571186184883, -0.06361151486635208, 0.15420587360858917, -0.13570354878902435, 0.11207407712936401, -0.029079917818307877, 0.3327103555202484, -0.3915519416332245, 0.0046602156944572926, -0.12413404881954193, -0.20277607440948486, 0.3037099838256836, -0.0641486719250679, -0.14273571968078613, 0.128975048661232, 0.19952227175235748, 0.012142546474933624, -0.23037318885326385, -0.30858588218688965, -0.025566766038537025, 0.10489404201507568, -0.01103501208126545, -0.21193300187587738, -0.034450650215148926, -0.382824182510376, -0.3222466707229614, 0.04686203598976135, 0.13137514889240265, -0.03143680840730667, 0.10350998491048813, 0.22859598696231842, 0.3012847304344177, -0.09627341479063034, 0.3136889934539795, 0.28780585527420044, -0.10489526391029358, -0.17864011228084564, 0.0005754183512181044, 0.09844455122947693, 0.17888548970222473, -0.17156681418418884, 0.44459471106529236, -0.07513565570116043, -0.13407358527183533, -0.16427147388458252, 0.33070752024650574, -0.012191887013614178, -0.19146890938282013, -0.0420367456972599, 0.2981635332107544, 0.49264517426490784, -0.08278480172157288, 0.2586424946784973, -0.16906411945819855, 0.15147681534290314, -0.3816230297088623, -0.046856462955474854, -0.0022792431991547346, 0.09625592082738876, 0.013924273662269115, 0.25936660170555115, 0.18647319078445435, 0.0165543332695961, 0.19774168729782104, 0.07569853961467743, 0.3350348174571991, -0.284133642911911, -0.06196624040603638, 0.15448927879333496, -0.1744564026594162, -0.07499264180660248, 0.2850695550441742, 0.1649017035961151, 0.20902295410633087, 0.23067574203014374, 0.08277992159128189, 0.382429838180542, 0.1207248643040657, 0.0680413469672203, 0.07654321193695068, -0.32783055305480957, 0.11604686826467514, 0.2762570083141327, -0.3115956783294678, -0.08988072723150253, 0.18256829679012299, 0.07234710454940796, 0.11095304042100906, 0.01811281591653824, -0.299260675907135, 0.041875455528497696, -0.20596832036972046, -0.3286820948123932, -0.10031159222126007, -0.23994164168834686, -0.033459678292274475, -0.27128779888153076, -0.028843991458415985, 0.0027851532213389874, -0.2320551723241806, -0.2702608108520508, -0.1832987517118454, 0.08559007942676544, 0.17593622207641602, 0.03847575932741165, -0.08221320807933807, 0.03447849676012993, 0.20344363152980804, 0.20545558631420135, 0.020727679133415222, 0.37349754571914673, 0.12533895671367645, 0.5641415119171143, -0.1335209608078003, 0.04237470030784607, 0.09971795231103897, -0.23484104871749878, -0.34932392835617065, -0.14048908650875092, 0.6145344376564026, 0.3290616273880005, 0.07150688022375107, 0.1461341232061386, 0.21959154307842255, -0.26215001940727234, -0.09422213584184647, 0.1639101654291153, 0.09260880947113037, -0.013321205042302608, -0.17533700168132782, -0.05643034353852272, -0.08747056126594543, 0.14958259463310242, -0.012780756689608097, -0.04476455599069595, 0.221082404255867, 0.052162788808345795, -0.41201746463775635, 0.29530349373817444, -0.1826520711183548, 0.11837952584028244, -0.026601677760481834, 0.5723279714584351, -0.08192143589258194, 0.16720689833164215, -0.010908503085374832, -0.1568758189678192, -0.48643243312835693, 0.21417228877544403, -0.1458694040775299, -0.1729157567024231, 0.15833726525306702, 0.03643365949392319, -0.003451970871537924, 0.09502576291561127, 0.4142468571662903, 0.20603516697883606, 0.13088969886302948, 0.10028138756752014, -0.3282538652420044, -0.11950936168432236, 0.06022132188081741, -0.14005716145038605, 0.05100001022219658, 0.10117780417203903, 0.17143307626247406, 0.0647258460521698, 0.10121843218803406, -0.1917116343975067, -0.2574789822101593, 0.08062100410461426, 0.06912736594676971, 0.13952426612377167, 0.09979217499494553, 0.2729915678501129, -0.1947786659002304, 0.32356494665145874, -0.48081108927726746, -0.2963491380214691, -0.3819362223148346, 0.07997697591781616, 0.36688506603240967, 0.005968844052404165, -0.11246509850025177, -0.23020775616168976, 0.013641462661325932, -0.16732820868492126, -0.20383350551128387, -0.11183485388755798, -0.028427444398403168, 0.23002301156520844, 0.12067709863185883, -0.1087661162018776, -0.1224060133099556, 0.013045990839600563, 0.0635269358754158, -0.04958432912826538, -0.035676371306180954, -0.2587869465351105, 0.44535401463508606, 0.44370388984680176, -0.15068799257278442, -0.3917190432548523, -0.23018482327461243, 0.019904490560293198, 0.046310462057590485, -0.38700321316719055, 0.0642712265253067, 0.20361541211605072, -0.052719566971063614, 0.005496127065271139, 0.4555325210094452, -0.3322359025478363, -0.056078601628541946, 0.07170140743255615, 0.11710730940103531, 0.17675939202308655, -0.10045155137777328, -0.11741092801094055, -0.17553183436393738 ]
https://github.com/huggingface/datasets/issues/1600
AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
Hi @david-waterworth! As indicated in the error message, `load_dataset("csv")` returns a `DatasetDict` object, which is mapping of `str` to `Dataset` objects. I believe in this case the behavior is to return a `train` split with all the data. `train_test_split` is a method of the `Dataset` object, so you will need to do something like this: ```python dataset_dict = load_dataset(`'csv', data_files='data.txt') dataset = dataset_dict['split name, eg train'] dataset.train_test_split(test_size=0.1) ``` Please let me know if this helps. 🙂
The following code fails with "'DatasetDict' object has no attribute 'train_test_split'" - am I doing something wrong? ``` from datasets import load_dataset dataset = load_dataset('csv', data_files='data.txt') dataset = dataset.train_test_split(test_size=0.1) ``` > AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
76
AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
[ -0.4078792929649353, 0.12155256420373917, -0.1948326826095581, 0.08925729990005493, 0.3029462397098541, 0.15050941705703735, 0.3565625846385956, 0.5114476680755615, 0.1984788179397583, 0.07384973764419556, 0.1345425695180893, 0.22003428637981415, -0.22383472323417664, 0.42785635590553284, -0.06996574997901917, -0.408302903175354, -0.10782422125339508, 0.15614891052246094, -0.06548582762479782, 0.054175470024347305, -0.06666898727416992, 0.2035110592842102, -0.2701982259750366, 0.03876814618706703, -0.44836777448654175, -0.24514338374137878, -0.04060472548007965, 0.04094688594341278, -0.08244141936302185, -0.1413884162902832, 0.24003085494041443, 0.01721518114209175, -0.13630984723567963, 0.44635578989982605, -0.00010100378858624026, 0.1486062854528427, 0.0874359980225563, -0.0069549307227134705, -0.2780524492263794, 0.0002656543510966003, -0.26555830240249634, 0.19298115372657776, 0.14388978481292725, -0.3477936089038849, -0.2520330250263214, -0.0729774534702301, -0.10970103740692139, -0.20660661160945892, 0.45405200123786926, 0.5506635308265686, 0.3201488256454468, 0.12504391372203827, 0.09609561413526535, -0.36465245485305786, 0.13410760462284088, -0.03412763401865959, -0.019380051642656326, 0.051420118659734726, -0.09344614297151566, -0.1227925643324852, -0.07758016139268875, 0.18428419530391693, 0.1481180340051651, 0.30627143383026123, -0.062450580298900604, -0.05498971790075302, -0.2895965874195099, -0.1317441314458847, 0.035446058958768845, 0.09253152459859848, 0.3076196014881134, -0.31948262453079224, -0.21867087483406067, -0.03226090595126152, 0.075755774974823, -0.250940203666687, 0.025917530059814453, 0.10642309486865997, 0.054635971784591675, 0.1646590232849121, -0.1289578527212143, -0.016582520678639412, -0.1579308956861496, -0.029333606362342834, -0.2614041864871979, 0.08219210058450699, -0.08704035729169846, 0.12244261056184769, 0.2375931292772293, 0.22526730597019196, 0.14291495084762573, 0.15583081543445587, 0.0034394527319818735, -0.22034786641597748, -0.07074999064207077, -0.1283414661884308, -0.1145041286945343, -0.34249141812324524, 0.04549852013587952, 0.18889574706554413, -0.016704389825463295, 0.008050501346588135, 0.06853275001049042, 0.14077599346637726, 0.16911078989505768, 0.11086752265691757, 0.03702397644519806, 0.4936341345310211, 0.1434352844953537, 0.10422822833061218, -0.3876723051071167, -0.046754755079746246, 0.017526160925626755, -0.3756256699562073, -0.06331486999988556, 0.09748730808496475, 0.2474665492773056, 0.012360705062747002, -0.5483184456825256, -0.004091786220669746, -0.11701702326536179, -0.0842035710811615, 0.08704354614019394, 0.30181947350502014, -0.025747478008270264, -0.15165504813194275, 0.011952952481806278, 0.09075325727462769, -0.18952743709087372, -0.29879212379455566, -0.40056541562080383, 0.40871405601501465, -0.0880882516503334, -0.2800857424736023, 0.13558891415596008, 0.09784384071826935, 0.16954506933689117, -0.23990115523338318, 0.038734160363674164, -0.11650823056697845, 0.15915915369987488, -0.21425610780715942, 0.028448276221752167, 0.27552372217178345, 0.06998942047357559, -0.05304493382573128, 0.2519550621509552, -0.09173652529716492, -0.05725949630141258, -0.03658977150917053, -0.22737351059913635, -0.45968252420425415, 0.0439080186188221, 0.32161206007003784, 0.13673917949199677, -0.04495587572455406, 0.11665669083595276, 0.13705754280090332, 0.24671687185764313, -0.010403383523225784, -0.10621265321969986, -0.20381425321102142, -0.24842792749404907, -0.08488063514232635, 0.4028335213661194, 0.19755005836486816, -0.38924211263656616, -0.07157254964113235, 0.0775945633649826, -0.3303091824054718, 0.17738859355449677, 0.180589497089386, -0.07933156937360764, 0.4241451025009155, -0.10825033485889435, 0.14919477701187134, 0.4266338348388672, -0.2529570460319519, -0.3228199779987335, 0.11660391837358475, -0.037923701107501984, -0.2637381851673126, -0.09216416627168655, -0.13910998404026031, 0.05423383042216301, 0.25859034061431885, 0.213978573679924, 0.23107008635997772, -0.19185186922550201, -0.010598220862448215, -0.13483931124210358, -0.16312438249588013, 0.3740856945514679, 0.26746612787246704, 0.3263323903083801, -0.12309913337230682, -0.07422865182161331, 0.2503100633621216, 0.2026003748178482, 0.10499145835638046, -0.016267573460936546, 0.017067719250917435, 0.19597339630126953, -0.052752841264009476, -0.026793869212269783, -0.371468186378479, -0.07578806579113007, -0.01804475486278534, 0.32009634375572205, 0.05130811408162117, -0.07640039175748825, -0.014769342727959156, -0.47923651337623596, 0.09750037640333176, -0.24901314079761505, -0.23970858752727509, 0.2901972234249115, -0.21552811563014984, 0.0139536177739501, 0.09686846286058426, -0.2764982581138611, 0.2207530438899994, -0.300697386264801, 0.11898591369390488, -0.08639819175004959, 0.32457250356674194, -0.3383961021900177, -0.15765152871608734, 0.05420985445380211, 0.2500631511211395, -0.022640759125351906, -0.1632663607597351, -0.08736584335565567, 0.4614282548427582, 0.11130834370851517, -0.30605313181877136, 0.13007880747318268, -0.16819600760936737, 0.06711695343255997, -0.2507517635822296, -0.27064305543899536, -0.00224018725566566, -0.08324431627988815, -0.03565984591841698, -0.14023178815841675, 0.1350405216217041, -0.12775050103664398, 0.023529808968305588, 0.20546288788318634, 0.21664485335350037, 0.12420625239610672, -0.11547185480594635, 0.1162949800491333, -0.3077761232852936, 0.0793367475271225, -0.5992802381515503, 0.11420765519142151, -0.2192053347826004, -0.1269376575946808, 0.005047655664384365, 0.6268638968467712, 0.13131068646907806, 0.146188423037529, -0.2091839462518692, 0.002571550663560629, 0.053120505064725876, -0.012249188497662544, 0.5173602104187012, 0.2905818223953247, 0.22630421817302704, 0.039683397859334946, 0.0942508801817894, -0.17025421559810638, -0.09876859933137894, 0.09581363946199417, 0.049153152853250504, 0.11743122339248657, 0.1471460908651352, -0.18205030262470245, -0.17681480944156647, -0.28006649017333984, -0.34420427680015564, 0.16562561690807343, 0.30476999282836914, -0.25325432419776917, -0.030729640275239944, -0.2408260852098465, 0.06959130614995956, -0.16349048912525177, -0.18548868596553802, 0.06007343530654907, -0.39586690068244934, 0.18727897107601166, -0.017904918640851974, -0.17196258902549744, 0.2833116352558136, -0.18562646210193634, 0.074077308177948, 0.3179740607738495, -0.0023470816668123007, 0.1448640525341034, -0.22995829582214355, -0.04246484488248825, 0.2593034505844116, 0.10050439834594727, 0.2703508734703064, 0.34318944811820984, -0.2218673825263977, -0.027272287756204605, 0.11250776052474976, -0.0946212187409401, 0.03503909707069397, -0.1922098696231842, 0.10742347687482834, 0.3562355041503906, 0.1297881156206131, -0.16485969722270966, -0.40317508578300476, 0.3965440094470978, -0.26446807384490967, -0.04856623336672783, 0.013374301604926586, 0.24796545505523682, -0.21049581468105316, -0.1672072857618332, -0.6672676205635071, -0.26917630434036255, -0.2942647635936737, 0.1319562941789627, 0.02461669035255909, 0.0644027516245842, 0.1510857492685318, 0.3053077459335327, 0.27962014079093933, 0.1648702472448349, -0.006808742880821228, -0.16387072205543518, -0.0828515961766243, 0.05933237448334694, -0.23276203870773315, -0.31624916195869446, 0.025541609153151512, -0.03586076572537422, 0.18794716894626617, -0.02352161519229412, -0.2853708863258362, 0.04306936264038086, -0.012906999327242374, 0.20198485255241394, -0.009396540001034737, -0.14902663230895996, 0.25632748007774353, -0.03754592686891556, -0.15353387594223022, -0.14622776210308075, 0.0201740600168705, 0.3612135648727417, -0.15082195401191711, -0.06785986572504044, -0.4402254819869995, 0.2530612051486969, 0.06757832318544388, 0.681507408618927, -0.008558920584619045, -0.05914910510182381, -0.043602779507637024, -0.29742276668548584, 0.060249656438827515, -0.14302368462085724, -0.5118549466133118, 0.13186459243297577, -0.06124189868569374, -0.08272271603345871, 0.0445462130010128, -0.15519990026950836, 0.14251457154750824, -0.12047987431287766, -0.04153487831354141, -0.08949961513280869, -0.3489702641963959, -0.020877189934253693, -0.10619772970676422, 0.14994245767593384, -0.0743766576051712, 0.10693545639514923, 0.061266832053661346, 0.20375017821788788, 0.06682007759809494, 0.0905129462480545, -0.2164052277803421, -0.17077651619911194, -0.47189921140670776, -0.2948104441165924, -0.2641119360923767, 0.10210733115673065, -0.06073883920907974, 0.22572505474090576, -0.2265772968530655, -0.060292236506938934, -0.06982941925525665, -0.014512725174427032, 0.7065395712852478, -0.023895088583230972, 0.025799240916967392, 0.07833465933799744, -0.04394426941871643, -0.02254956215620041, -0.15357621014118195, -0.3316424787044525, 0.3253195583820343, 0.030418260022997856, 0.02090984396636486, -0.05009159818291664, -0.044650714844465256, 0.5613501071929932, -0.09035921096801758, -0.05937890335917473, 0.12012453377246857, -0.11195727437734604, -0.1684587150812149, -0.23850511014461517, 0.16924914717674255, 0.23658739030361176, 0.1472926139831543, -0.09115955978631973, -0.1406892091035843, -0.14207212626934052, -0.21244119107723236, 0.23988103866577148, 0.16426576673984528, 0.15753167867660522, -0.10061002522706985, 0.16423961520195007, 0.020421909168362617, 0.15442077815532684, 0.4111711084842682, 0.3658745288848877, -0.26960867643356323, -0.12469314783811569, 0.14656929671764374, -0.27312320470809937, 0.3357502818107605, 0.13415712118148804, -0.21561475098133087, -0.07975313067436218, 0.056999340653419495, 0.21508662402629852, 0.006125211715698242, 0.3240945339202881, 0.2983638048171997, 0.035501785576343536, -0.16912329196929932, -0.5306833386421204, 0.07046156376600266, 0.1065683513879776, 0.09908849745988846, 0.21982836723327637, -0.039682477712631226, -0.17088283598423004, 0.32557234168052673, -0.1405695527791977, 0.5185962319374084, 0.08194345980882645, 0.02292953059077263, 0.2527524530887604, -0.0391656868159771, 0.244998961687088, -0.1744561493396759, 0.20391063392162323, -0.28902554512023926, -0.42727363109588623, -0.03693993017077446, -0.020359257236123085, 0.3297487795352936, 0.06930584460496902, -0.22675412893295288, 0.06031475216150284, 0.09832141548395157, 0.016260012984275818, -0.2971894145011902, 0.09066029638051987, 0.06285853683948517, 0.05495111271739006, -0.14369544386863708, 0.26079434156417847, -0.022324098274111748, 0.043735843151807785, 0.07881955802440643, 0.03674226626753807, -0.1611955463886261, -0.18894337117671967, -0.11198325455188751, 0.004522824194282293, -0.13934656977653503, 0.49781063199043274, 0.013620910234749317, -0.3100719451904297, 0.1000019833445549, -0.002629128284752369, 0.2066459059715271, 0.11820752173662186, -0.05178222432732582, 0.3138086795806885, -0.0714200809597969, -0.12089601904153824, -0.05248357355594635, 0.12714612483978271, 0.6086925864219666, -0.0561220683157444, -0.3086387515068054, 0.07385452091693878, -0.09615135192871094, -0.1686680167913437, 0.06861606985330582, 0.14526480436325073, 0.16241230070590973, -0.6972609162330627, -0.23612453043460846, 0.024916965514421463, 0.011418855749070644, -0.3711758852005005, 0.26821693778038025, -0.07427066564559937, -0.2890626788139343, 0.24616895616054535, 0.07972676306962967, -0.1937737762928009, -0.15830016136169434, 0.20510530471801758, 0.11728888750076294, 0.3158535957336426, 0.6211118102073669, 0.05751528963446617, 0.03621136024594307, -0.4852440059185028, 0.057200837880373, 0.6016829013824463, -0.35915473103523254, 0.2952384054660797, -0.19870680570602417, -0.08818542212247849, 0.10856924206018448, 0.29726046323776245, 0.01811777800321579, 0.20510724186897278, 0.05590708553791046, -0.27066975831985474, -0.3046317398548126, 0.12008717656135559, 0.06339295953512192, 0.2984200417995453, 0.0968984067440033, 0.4480949938297272, 0.05693727731704712, 0.2132432609796524, -0.4308384954929352, 0.07896658778190613, -0.2665019929409027, 0.033413756638765335, -0.10578524321317673, -0.20678819715976715, 0.21634526550769806, -0.07658807933330536, 0.27768683433532715, 0.13503620028495789, -0.12740924954414368, -0.3693176805973053, -0.1103368028998375, 0.016850147396326065, -0.019543834030628204, 0.12433168292045593, -0.05769689008593559, 0.026663780212402344, -0.37996599078178406, -0.01397029124200344, 0.01905699633061886, 0.05856071040034294, 0.06652095913887024, 0.442729651927948, 0.206570103764534, 0.09559783339500427, 0.03850562125444412, -0.09024114161729813, -0.031330693513154984, 0.1257513165473938, 0.07794143259525299, -0.025106368586421013, -0.06627096980810165, 0.01130988635122776, -0.15997759997844696, -0.03414100781083107, -0.11372169852256775, 0.011306081898510456, 0.18727536499500275, -0.40404796600341797, -0.03729349747300148, 0.030332237482070923, 0.4938407838344574, 0.32926225662231445, -0.22853682935237885, 0.09456847608089447, 0.14015217125415802, 0.3152957558631897, -0.34737494587898254, 0.07339451462030411, 0.4476119875907898, -0.16446076333522797, 0.18233448266983032, 0.16895130276679993, -0.050219617784023285, 0.15300974249839783, -0.24718524515628815, 0.3060891330242157, 0.312420517206192, -0.13151311874389648, 0.36813652515411377, 0.4847278892993927, -0.21743223071098328, -0.02745990827679634, 0.0932210236787796, 0.0650799497961998, 0.21657763421535492, 0.6765247583389282, -0.10036302357912064, 0.37671318650245667, 0.031200557947158813, -0.02454889379441738, 0.15147382020950317, -0.09034847468137741, 0.10043837130069733, 0.07532290369272232, -0.10613568127155304, -0.06695511192083359, -0.12304578721523285, 0.49162888526916504, -0.5238245725631714, -0.1949387639760971, -0.08183003216981888, 0.03720992058515549, -0.18140535056591034, 0.08149310201406479, -0.010723826475441456, 0.013808902353048325, -0.21326656639575958, -0.14346429705619812, 0.13453495502471924, 0.03279024362564087, 0.2758151590824127, -0.13370515406131744, -0.06616715341806412, -0.14322476089000702, 0.15520577132701874, 0.0759304091334343, 0.1240045577287674, -0.29077866673469543, 0.043329060077667236, 0.08111079782247543, -0.04726143926382065, 0.1887330263853073, 0.07026872783899307, 0.3337218761444092, -0.002548385411500931, -0.04529768228530884, -0.2115153819322586, -0.01953909918665886, -0.26450115442276, 0.040572334080934525, 0.1445401906967163, 0.15201035141944885, 0.14915329217910767, 0.44263774156570435, 0.2880222499370575, -0.23681093752384186, 0.08546379208564758, 0.23582664132118225, 0.14035426080226898, -0.2843984365463257, 0.4119338393211365, 0.022363610565662384, -0.2423623502254486, -0.05916663631796837, -0.1252177208662033, -0.30079594254493713, -0.1843251883983612, -0.013779105618596077, -0.17368388175964355, 0.2590317130088806, -0.1418585628271103, 0.14838120341300964, 0.006190676707774401, 0.47286108136177063, -0.0004205180739518255, 0.11026979982852936, -0.11244161427021027, -0.19940435886383057, -0.3969852328300476, 0.015086867846548557, -0.16438978910446167, -0.12093359231948853, -0.08150718361139297, 0.20513184368610382, -0.012385766953229904, -0.000489858619403094, 0.09188854694366455, 0.028012633323669434, 0.0434148870408535, -0.08967544883489609, -0.37428492307662964, -0.16916199028491974, -0.2665841281414032, 0.05133027955889702, 0.18397843837738037, -0.10604137927293777, 0.041983529925346375, 0.09676382690668106, 0.10647981613874435, 0.10429192334413528, -0.2804397940635681, 0.24933572113513947, 0.04434569925069809, 0.09600108861923218, -0.09487739205360413, 0.5510997772216797, -0.08590111881494522, 0.23423229157924652, -0.05248856917023659, -0.26260942220687866, -0.24723376333713531, 0.3791550099849701, 0.28975483775138855, 0.40543919801712036, 0.012667586095631123, -0.09734798222780228, -0.05903148278594017, 0.3790171146392822, 0.18303099274635315, -0.13868096470832825, -0.08044154196977615, 0.20284807682037354, 0.10337059944868088, 0.04901251196861267, 0.25641313195228577, 0.33612295985221863, -0.1731892228126526, 0.009167780168354511, -0.1510327160358429, -0.49779751896858215, 0.34916093945503235, -0.15591154992580414, -0.3486226201057434, -0.22646115720272064, 0.06233077123761177, 0.3593648672103882, -0.14180663228034973, -0.6202283501625061, -0.16913346946239471, 0.21813611686229706, -0.14256851375102997, -0.16921767592430115, 0.40206584334373474, 0.08500383049249649, 0.17324182391166687, 0.1654215008020401, 0.4927333891391754, -0.014078965410590172, -0.3483470678329468, 0.18993458151817322, -0.12389275431632996 ]
https://github.com/huggingface/datasets/issues/1600
AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
Thanks, that's working - the same issue also tripped me up with training. I also agree https://github.com/huggingface/datasets/issues/767 would be a useful addition.
The following code fails with "'DatasetDict' object has no attribute 'train_test_split'" - am I doing something wrong? ``` from datasets import load_dataset dataset = load_dataset('csv', data_files='data.txt') dataset = dataset.train_test_split(test_size=0.1) ``` > AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
22
AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
[ -0.4078792929649353, 0.12155256420373917, -0.1948326826095581, 0.08925729990005493, 0.3029462397098541, 0.15050941705703735, 0.3565625846385956, 0.5114476680755615, 0.1984788179397583, 0.07384973764419556, 0.1345425695180893, 0.22003428637981415, -0.22383472323417664, 0.42785635590553284, -0.06996574997901917, -0.408302903175354, -0.10782422125339508, 0.15614891052246094, -0.06548582762479782, 0.054175470024347305, -0.06666898727416992, 0.2035110592842102, -0.2701982259750366, 0.03876814618706703, -0.44836777448654175, -0.24514338374137878, -0.04060472548007965, 0.04094688594341278, -0.08244141936302185, -0.1413884162902832, 0.24003085494041443, 0.01721518114209175, -0.13630984723567963, 0.44635578989982605, -0.00010100378858624026, 0.1486062854528427, 0.0874359980225563, -0.0069549307227134705, -0.2780524492263794, 0.0002656543510966003, -0.26555830240249634, 0.19298115372657776, 0.14388978481292725, -0.3477936089038849, -0.2520330250263214, -0.0729774534702301, -0.10970103740692139, -0.20660661160945892, 0.45405200123786926, 0.5506635308265686, 0.3201488256454468, 0.12504391372203827, 0.09609561413526535, -0.36465245485305786, 0.13410760462284088, -0.03412763401865959, -0.019380051642656326, 0.051420118659734726, -0.09344614297151566, -0.1227925643324852, -0.07758016139268875, 0.18428419530391693, 0.1481180340051651, 0.30627143383026123, -0.062450580298900604, -0.05498971790075302, -0.2895965874195099, -0.1317441314458847, 0.035446058958768845, 0.09253152459859848, 0.3076196014881134, -0.31948262453079224, -0.21867087483406067, -0.03226090595126152, 0.075755774974823, -0.250940203666687, 0.025917530059814453, 0.10642309486865997, 0.054635971784591675, 0.1646590232849121, -0.1289578527212143, -0.016582520678639412, -0.1579308956861496, -0.029333606362342834, -0.2614041864871979, 0.08219210058450699, -0.08704035729169846, 0.12244261056184769, 0.2375931292772293, 0.22526730597019196, 0.14291495084762573, 0.15583081543445587, 0.0034394527319818735, -0.22034786641597748, -0.07074999064207077, -0.1283414661884308, -0.1145041286945343, -0.34249141812324524, 0.04549852013587952, 0.18889574706554413, -0.016704389825463295, 0.008050501346588135, 0.06853275001049042, 0.14077599346637726, 0.16911078989505768, 0.11086752265691757, 0.03702397644519806, 0.4936341345310211, 0.1434352844953537, 0.10422822833061218, -0.3876723051071167, -0.046754755079746246, 0.017526160925626755, -0.3756256699562073, -0.06331486999988556, 0.09748730808496475, 0.2474665492773056, 0.012360705062747002, -0.5483184456825256, -0.004091786220669746, -0.11701702326536179, -0.0842035710811615, 0.08704354614019394, 0.30181947350502014, -0.025747478008270264, -0.15165504813194275, 0.011952952481806278, 0.09075325727462769, -0.18952743709087372, -0.29879212379455566, -0.40056541562080383, 0.40871405601501465, -0.0880882516503334, -0.2800857424736023, 0.13558891415596008, 0.09784384071826935, 0.16954506933689117, -0.23990115523338318, 0.038734160363674164, -0.11650823056697845, 0.15915915369987488, -0.21425610780715942, 0.028448276221752167, 0.27552372217178345, 0.06998942047357559, -0.05304493382573128, 0.2519550621509552, -0.09173652529716492, -0.05725949630141258, -0.03658977150917053, -0.22737351059913635, -0.45968252420425415, 0.0439080186188221, 0.32161206007003784, 0.13673917949199677, -0.04495587572455406, 0.11665669083595276, 0.13705754280090332, 0.24671687185764313, -0.010403383523225784, -0.10621265321969986, -0.20381425321102142, -0.24842792749404907, -0.08488063514232635, 0.4028335213661194, 0.19755005836486816, -0.38924211263656616, -0.07157254964113235, 0.0775945633649826, -0.3303091824054718, 0.17738859355449677, 0.180589497089386, -0.07933156937360764, 0.4241451025009155, -0.10825033485889435, 0.14919477701187134, 0.4266338348388672, -0.2529570460319519, -0.3228199779987335, 0.11660391837358475, -0.037923701107501984, -0.2637381851673126, -0.09216416627168655, -0.13910998404026031, 0.05423383042216301, 0.25859034061431885, 0.213978573679924, 0.23107008635997772, -0.19185186922550201, -0.010598220862448215, -0.13483931124210358, -0.16312438249588013, 0.3740856945514679, 0.26746612787246704, 0.3263323903083801, -0.12309913337230682, -0.07422865182161331, 0.2503100633621216, 0.2026003748178482, 0.10499145835638046, -0.016267573460936546, 0.017067719250917435, 0.19597339630126953, -0.052752841264009476, -0.026793869212269783, -0.371468186378479, -0.07578806579113007, -0.01804475486278534, 0.32009634375572205, 0.05130811408162117, -0.07640039175748825, -0.014769342727959156, -0.47923651337623596, 0.09750037640333176, -0.24901314079761505, -0.23970858752727509, 0.2901972234249115, -0.21552811563014984, 0.0139536177739501, 0.09686846286058426, -0.2764982581138611, 0.2207530438899994, -0.300697386264801, 0.11898591369390488, -0.08639819175004959, 0.32457250356674194, -0.3383961021900177, -0.15765152871608734, 0.05420985445380211, 0.2500631511211395, -0.022640759125351906, -0.1632663607597351, -0.08736584335565567, 0.4614282548427582, 0.11130834370851517, -0.30605313181877136, 0.13007880747318268, -0.16819600760936737, 0.06711695343255997, -0.2507517635822296, -0.27064305543899536, -0.00224018725566566, -0.08324431627988815, -0.03565984591841698, -0.14023178815841675, 0.1350405216217041, -0.12775050103664398, 0.023529808968305588, 0.20546288788318634, 0.21664485335350037, 0.12420625239610672, -0.11547185480594635, 0.1162949800491333, -0.3077761232852936, 0.0793367475271225, -0.5992802381515503, 0.11420765519142151, -0.2192053347826004, -0.1269376575946808, 0.005047655664384365, 0.6268638968467712, 0.13131068646907806, 0.146188423037529, -0.2091839462518692, 0.002571550663560629, 0.053120505064725876, -0.012249188497662544, 0.5173602104187012, 0.2905818223953247, 0.22630421817302704, 0.039683397859334946, 0.0942508801817894, -0.17025421559810638, -0.09876859933137894, 0.09581363946199417, 0.049153152853250504, 0.11743122339248657, 0.1471460908651352, -0.18205030262470245, -0.17681480944156647, -0.28006649017333984, -0.34420427680015564, 0.16562561690807343, 0.30476999282836914, -0.25325432419776917, -0.030729640275239944, -0.2408260852098465, 0.06959130614995956, -0.16349048912525177, -0.18548868596553802, 0.06007343530654907, -0.39586690068244934, 0.18727897107601166, -0.017904918640851974, -0.17196258902549744, 0.2833116352558136, -0.18562646210193634, 0.074077308177948, 0.3179740607738495, -0.0023470816668123007, 0.1448640525341034, -0.22995829582214355, -0.04246484488248825, 0.2593034505844116, 0.10050439834594727, 0.2703508734703064, 0.34318944811820984, -0.2218673825263977, -0.027272287756204605, 0.11250776052474976, -0.0946212187409401, 0.03503909707069397, -0.1922098696231842, 0.10742347687482834, 0.3562355041503906, 0.1297881156206131, -0.16485969722270966, -0.40317508578300476, 0.3965440094470978, -0.26446807384490967, -0.04856623336672783, 0.013374301604926586, 0.24796545505523682, -0.21049581468105316, -0.1672072857618332, -0.6672676205635071, -0.26917630434036255, -0.2942647635936737, 0.1319562941789627, 0.02461669035255909, 0.0644027516245842, 0.1510857492685318, 0.3053077459335327, 0.27962014079093933, 0.1648702472448349, -0.006808742880821228, -0.16387072205543518, -0.0828515961766243, 0.05933237448334694, -0.23276203870773315, -0.31624916195869446, 0.025541609153151512, -0.03586076572537422, 0.18794716894626617, -0.02352161519229412, -0.2853708863258362, 0.04306936264038086, -0.012906999327242374, 0.20198485255241394, -0.009396540001034737, -0.14902663230895996, 0.25632748007774353, -0.03754592686891556, -0.15353387594223022, -0.14622776210308075, 0.0201740600168705, 0.3612135648727417, -0.15082195401191711, -0.06785986572504044, -0.4402254819869995, 0.2530612051486969, 0.06757832318544388, 0.681507408618927, -0.008558920584619045, -0.05914910510182381, -0.043602779507637024, -0.29742276668548584, 0.060249656438827515, -0.14302368462085724, -0.5118549466133118, 0.13186459243297577, -0.06124189868569374, -0.08272271603345871, 0.0445462130010128, -0.15519990026950836, 0.14251457154750824, -0.12047987431287766, -0.04153487831354141, -0.08949961513280869, -0.3489702641963959, -0.020877189934253693, -0.10619772970676422, 0.14994245767593384, -0.0743766576051712, 0.10693545639514923, 0.061266832053661346, 0.20375017821788788, 0.06682007759809494, 0.0905129462480545, -0.2164052277803421, -0.17077651619911194, -0.47189921140670776, -0.2948104441165924, -0.2641119360923767, 0.10210733115673065, -0.06073883920907974, 0.22572505474090576, -0.2265772968530655, -0.060292236506938934, -0.06982941925525665, -0.014512725174427032, 0.7065395712852478, -0.023895088583230972, 0.025799240916967392, 0.07833465933799744, -0.04394426941871643, -0.02254956215620041, -0.15357621014118195, -0.3316424787044525, 0.3253195583820343, 0.030418260022997856, 0.02090984396636486, -0.05009159818291664, -0.044650714844465256, 0.5613501071929932, -0.09035921096801758, -0.05937890335917473, 0.12012453377246857, -0.11195727437734604, -0.1684587150812149, -0.23850511014461517, 0.16924914717674255, 0.23658739030361176, 0.1472926139831543, -0.09115955978631973, -0.1406892091035843, -0.14207212626934052, -0.21244119107723236, 0.23988103866577148, 0.16426576673984528, 0.15753167867660522, -0.10061002522706985, 0.16423961520195007, 0.020421909168362617, 0.15442077815532684, 0.4111711084842682, 0.3658745288848877, -0.26960867643356323, -0.12469314783811569, 0.14656929671764374, -0.27312320470809937, 0.3357502818107605, 0.13415712118148804, -0.21561475098133087, -0.07975313067436218, 0.056999340653419495, 0.21508662402629852, 0.006125211715698242, 0.3240945339202881, 0.2983638048171997, 0.035501785576343536, -0.16912329196929932, -0.5306833386421204, 0.07046156376600266, 0.1065683513879776, 0.09908849745988846, 0.21982836723327637, -0.039682477712631226, -0.17088283598423004, 0.32557234168052673, -0.1405695527791977, 0.5185962319374084, 0.08194345980882645, 0.02292953059077263, 0.2527524530887604, -0.0391656868159771, 0.244998961687088, -0.1744561493396759, 0.20391063392162323, -0.28902554512023926, -0.42727363109588623, -0.03693993017077446, -0.020359257236123085, 0.3297487795352936, 0.06930584460496902, -0.22675412893295288, 0.06031475216150284, 0.09832141548395157, 0.016260012984275818, -0.2971894145011902, 0.09066029638051987, 0.06285853683948517, 0.05495111271739006, -0.14369544386863708, 0.26079434156417847, -0.022324098274111748, 0.043735843151807785, 0.07881955802440643, 0.03674226626753807, -0.1611955463886261, -0.18894337117671967, -0.11198325455188751, 0.004522824194282293, -0.13934656977653503, 0.49781063199043274, 0.013620910234749317, -0.3100719451904297, 0.1000019833445549, -0.002629128284752369, 0.2066459059715271, 0.11820752173662186, -0.05178222432732582, 0.3138086795806885, -0.0714200809597969, -0.12089601904153824, -0.05248357355594635, 0.12714612483978271, 0.6086925864219666, -0.0561220683157444, -0.3086387515068054, 0.07385452091693878, -0.09615135192871094, -0.1686680167913437, 0.06861606985330582, 0.14526480436325073, 0.16241230070590973, -0.6972609162330627, -0.23612453043460846, 0.024916965514421463, 0.011418855749070644, -0.3711758852005005, 0.26821693778038025, -0.07427066564559937, -0.2890626788139343, 0.24616895616054535, 0.07972676306962967, -0.1937737762928009, -0.15830016136169434, 0.20510530471801758, 0.11728888750076294, 0.3158535957336426, 0.6211118102073669, 0.05751528963446617, 0.03621136024594307, -0.4852440059185028, 0.057200837880373, 0.6016829013824463, -0.35915473103523254, 0.2952384054660797, -0.19870680570602417, -0.08818542212247849, 0.10856924206018448, 0.29726046323776245, 0.01811777800321579, 0.20510724186897278, 0.05590708553791046, -0.27066975831985474, -0.3046317398548126, 0.12008717656135559, 0.06339295953512192, 0.2984200417995453, 0.0968984067440033, 0.4480949938297272, 0.05693727731704712, 0.2132432609796524, -0.4308384954929352, 0.07896658778190613, -0.2665019929409027, 0.033413756638765335, -0.10578524321317673, -0.20678819715976715, 0.21634526550769806, -0.07658807933330536, 0.27768683433532715, 0.13503620028495789, -0.12740924954414368, -0.3693176805973053, -0.1103368028998375, 0.016850147396326065, -0.019543834030628204, 0.12433168292045593, -0.05769689008593559, 0.026663780212402344, -0.37996599078178406, -0.01397029124200344, 0.01905699633061886, 0.05856071040034294, 0.06652095913887024, 0.442729651927948, 0.206570103764534, 0.09559783339500427, 0.03850562125444412, -0.09024114161729813, -0.031330693513154984, 0.1257513165473938, 0.07794143259525299, -0.025106368586421013, -0.06627096980810165, 0.01130988635122776, -0.15997759997844696, -0.03414100781083107, -0.11372169852256775, 0.011306081898510456, 0.18727536499500275, -0.40404796600341797, -0.03729349747300148, 0.030332237482070923, 0.4938407838344574, 0.32926225662231445, -0.22853682935237885, 0.09456847608089447, 0.14015217125415802, 0.3152957558631897, -0.34737494587898254, 0.07339451462030411, 0.4476119875907898, -0.16446076333522797, 0.18233448266983032, 0.16895130276679993, -0.050219617784023285, 0.15300974249839783, -0.24718524515628815, 0.3060891330242157, 0.312420517206192, -0.13151311874389648, 0.36813652515411377, 0.4847278892993927, -0.21743223071098328, -0.02745990827679634, 0.0932210236787796, 0.0650799497961998, 0.21657763421535492, 0.6765247583389282, -0.10036302357912064, 0.37671318650245667, 0.031200557947158813, -0.02454889379441738, 0.15147382020950317, -0.09034847468137741, 0.10043837130069733, 0.07532290369272232, -0.10613568127155304, -0.06695511192083359, -0.12304578721523285, 0.49162888526916504, -0.5238245725631714, -0.1949387639760971, -0.08183003216981888, 0.03720992058515549, -0.18140535056591034, 0.08149310201406479, -0.010723826475441456, 0.013808902353048325, -0.21326656639575958, -0.14346429705619812, 0.13453495502471924, 0.03279024362564087, 0.2758151590824127, -0.13370515406131744, -0.06616715341806412, -0.14322476089000702, 0.15520577132701874, 0.0759304091334343, 0.1240045577287674, -0.29077866673469543, 0.043329060077667236, 0.08111079782247543, -0.04726143926382065, 0.1887330263853073, 0.07026872783899307, 0.3337218761444092, -0.002548385411500931, -0.04529768228530884, -0.2115153819322586, -0.01953909918665886, -0.26450115442276, 0.040572334080934525, 0.1445401906967163, 0.15201035141944885, 0.14915329217910767, 0.44263774156570435, 0.2880222499370575, -0.23681093752384186, 0.08546379208564758, 0.23582664132118225, 0.14035426080226898, -0.2843984365463257, 0.4119338393211365, 0.022363610565662384, -0.2423623502254486, -0.05916663631796837, -0.1252177208662033, -0.30079594254493713, -0.1843251883983612, -0.013779105618596077, -0.17368388175964355, 0.2590317130088806, -0.1418585628271103, 0.14838120341300964, 0.006190676707774401, 0.47286108136177063, -0.0004205180739518255, 0.11026979982852936, -0.11244161427021027, -0.19940435886383057, -0.3969852328300476, 0.015086867846548557, -0.16438978910446167, -0.12093359231948853, -0.08150718361139297, 0.20513184368610382, -0.012385766953229904, -0.000489858619403094, 0.09188854694366455, 0.028012633323669434, 0.0434148870408535, -0.08967544883489609, -0.37428492307662964, -0.16916199028491974, -0.2665841281414032, 0.05133027955889702, 0.18397843837738037, -0.10604137927293777, 0.041983529925346375, 0.09676382690668106, 0.10647981613874435, 0.10429192334413528, -0.2804397940635681, 0.24933572113513947, 0.04434569925069809, 0.09600108861923218, -0.09487739205360413, 0.5510997772216797, -0.08590111881494522, 0.23423229157924652, -0.05248856917023659, -0.26260942220687866, -0.24723376333713531, 0.3791550099849701, 0.28975483775138855, 0.40543919801712036, 0.012667586095631123, -0.09734798222780228, -0.05903148278594017, 0.3790171146392822, 0.18303099274635315, -0.13868096470832825, -0.08044154196977615, 0.20284807682037354, 0.10337059944868088, 0.04901251196861267, 0.25641313195228577, 0.33612295985221863, -0.1731892228126526, 0.009167780168354511, -0.1510327160358429, -0.49779751896858215, 0.34916093945503235, -0.15591154992580414, -0.3486226201057434, -0.22646115720272064, 0.06233077123761177, 0.3593648672103882, -0.14180663228034973, -0.6202283501625061, -0.16913346946239471, 0.21813611686229706, -0.14256851375102997, -0.16921767592430115, 0.40206584334373474, 0.08500383049249649, 0.17324182391166687, 0.1654215008020401, 0.4927333891391754, -0.014078965410590172, -0.3483470678329468, 0.18993458151817322, -0.12389275431632996 ]
https://github.com/huggingface/datasets/issues/1600
AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
> ```python > dataset_dict = load_dataset(`'csv', data_files='data.txt') > dataset = dataset_dict['split name, eg train'] > dataset.train_test_split(test_size=0.1) > ``` I am getting error like KeyError: 'split name, eg train' Could you please tell me how to solve this?
The following code fails with "'DatasetDict' object has no attribute 'train_test_split'" - am I doing something wrong? ``` from datasets import load_dataset dataset = load_dataset('csv', data_files='data.txt') dataset = dataset.train_test_split(test_size=0.1) ``` > AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
37
AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
[ -0.4078792929649353, 0.12155256420373917, -0.1948326826095581, 0.08925729990005493, 0.3029462397098541, 0.15050941705703735, 0.3565625846385956, 0.5114476680755615, 0.1984788179397583, 0.07384973764419556, 0.1345425695180893, 0.22003428637981415, -0.22383472323417664, 0.42785635590553284, -0.06996574997901917, -0.408302903175354, -0.10782422125339508, 0.15614891052246094, -0.06548582762479782, 0.054175470024347305, -0.06666898727416992, 0.2035110592842102, -0.2701982259750366, 0.03876814618706703, -0.44836777448654175, -0.24514338374137878, -0.04060472548007965, 0.04094688594341278, -0.08244141936302185, -0.1413884162902832, 0.24003085494041443, 0.01721518114209175, -0.13630984723567963, 0.44635578989982605, -0.00010100378858624026, 0.1486062854528427, 0.0874359980225563, -0.0069549307227134705, -0.2780524492263794, 0.0002656543510966003, -0.26555830240249634, 0.19298115372657776, 0.14388978481292725, -0.3477936089038849, -0.2520330250263214, -0.0729774534702301, -0.10970103740692139, -0.20660661160945892, 0.45405200123786926, 0.5506635308265686, 0.3201488256454468, 0.12504391372203827, 0.09609561413526535, -0.36465245485305786, 0.13410760462284088, -0.03412763401865959, -0.019380051642656326, 0.051420118659734726, -0.09344614297151566, -0.1227925643324852, -0.07758016139268875, 0.18428419530391693, 0.1481180340051651, 0.30627143383026123, -0.062450580298900604, -0.05498971790075302, -0.2895965874195099, -0.1317441314458847, 0.035446058958768845, 0.09253152459859848, 0.3076196014881134, -0.31948262453079224, -0.21867087483406067, -0.03226090595126152, 0.075755774974823, -0.250940203666687, 0.025917530059814453, 0.10642309486865997, 0.054635971784591675, 0.1646590232849121, -0.1289578527212143, -0.016582520678639412, -0.1579308956861496, -0.029333606362342834, -0.2614041864871979, 0.08219210058450699, -0.08704035729169846, 0.12244261056184769, 0.2375931292772293, 0.22526730597019196, 0.14291495084762573, 0.15583081543445587, 0.0034394527319818735, -0.22034786641597748, -0.07074999064207077, -0.1283414661884308, -0.1145041286945343, -0.34249141812324524, 0.04549852013587952, 0.18889574706554413, -0.016704389825463295, 0.008050501346588135, 0.06853275001049042, 0.14077599346637726, 0.16911078989505768, 0.11086752265691757, 0.03702397644519806, 0.4936341345310211, 0.1434352844953537, 0.10422822833061218, -0.3876723051071167, -0.046754755079746246, 0.017526160925626755, -0.3756256699562073, -0.06331486999988556, 0.09748730808496475, 0.2474665492773056, 0.012360705062747002, -0.5483184456825256, -0.004091786220669746, -0.11701702326536179, -0.0842035710811615, 0.08704354614019394, 0.30181947350502014, -0.025747478008270264, -0.15165504813194275, 0.011952952481806278, 0.09075325727462769, -0.18952743709087372, -0.29879212379455566, -0.40056541562080383, 0.40871405601501465, -0.0880882516503334, -0.2800857424736023, 0.13558891415596008, 0.09784384071826935, 0.16954506933689117, -0.23990115523338318, 0.038734160363674164, -0.11650823056697845, 0.15915915369987488, -0.21425610780715942, 0.028448276221752167, 0.27552372217178345, 0.06998942047357559, -0.05304493382573128, 0.2519550621509552, -0.09173652529716492, -0.05725949630141258, -0.03658977150917053, -0.22737351059913635, -0.45968252420425415, 0.0439080186188221, 0.32161206007003784, 0.13673917949199677, -0.04495587572455406, 0.11665669083595276, 0.13705754280090332, 0.24671687185764313, -0.010403383523225784, -0.10621265321969986, -0.20381425321102142, -0.24842792749404907, -0.08488063514232635, 0.4028335213661194, 0.19755005836486816, -0.38924211263656616, -0.07157254964113235, 0.0775945633649826, -0.3303091824054718, 0.17738859355449677, 0.180589497089386, -0.07933156937360764, 0.4241451025009155, -0.10825033485889435, 0.14919477701187134, 0.4266338348388672, -0.2529570460319519, -0.3228199779987335, 0.11660391837358475, -0.037923701107501984, -0.2637381851673126, -0.09216416627168655, -0.13910998404026031, 0.05423383042216301, 0.25859034061431885, 0.213978573679924, 0.23107008635997772, -0.19185186922550201, -0.010598220862448215, -0.13483931124210358, -0.16312438249588013, 0.3740856945514679, 0.26746612787246704, 0.3263323903083801, -0.12309913337230682, -0.07422865182161331, 0.2503100633621216, 0.2026003748178482, 0.10499145835638046, -0.016267573460936546, 0.017067719250917435, 0.19597339630126953, -0.052752841264009476, -0.026793869212269783, -0.371468186378479, -0.07578806579113007, -0.01804475486278534, 0.32009634375572205, 0.05130811408162117, -0.07640039175748825, -0.014769342727959156, -0.47923651337623596, 0.09750037640333176, -0.24901314079761505, -0.23970858752727509, 0.2901972234249115, -0.21552811563014984, 0.0139536177739501, 0.09686846286058426, -0.2764982581138611, 0.2207530438899994, -0.300697386264801, 0.11898591369390488, -0.08639819175004959, 0.32457250356674194, -0.3383961021900177, -0.15765152871608734, 0.05420985445380211, 0.2500631511211395, -0.022640759125351906, -0.1632663607597351, -0.08736584335565567, 0.4614282548427582, 0.11130834370851517, -0.30605313181877136, 0.13007880747318268, -0.16819600760936737, 0.06711695343255997, -0.2507517635822296, -0.27064305543899536, -0.00224018725566566, -0.08324431627988815, -0.03565984591841698, -0.14023178815841675, 0.1350405216217041, -0.12775050103664398, 0.023529808968305588, 0.20546288788318634, 0.21664485335350037, 0.12420625239610672, -0.11547185480594635, 0.1162949800491333, -0.3077761232852936, 0.0793367475271225, -0.5992802381515503, 0.11420765519142151, -0.2192053347826004, -0.1269376575946808, 0.005047655664384365, 0.6268638968467712, 0.13131068646907806, 0.146188423037529, -0.2091839462518692, 0.002571550663560629, 0.053120505064725876, -0.012249188497662544, 0.5173602104187012, 0.2905818223953247, 0.22630421817302704, 0.039683397859334946, 0.0942508801817894, -0.17025421559810638, -0.09876859933137894, 0.09581363946199417, 0.049153152853250504, 0.11743122339248657, 0.1471460908651352, -0.18205030262470245, -0.17681480944156647, -0.28006649017333984, -0.34420427680015564, 0.16562561690807343, 0.30476999282836914, -0.25325432419776917, -0.030729640275239944, -0.2408260852098465, 0.06959130614995956, -0.16349048912525177, -0.18548868596553802, 0.06007343530654907, -0.39586690068244934, 0.18727897107601166, -0.017904918640851974, -0.17196258902549744, 0.2833116352558136, -0.18562646210193634, 0.074077308177948, 0.3179740607738495, -0.0023470816668123007, 0.1448640525341034, -0.22995829582214355, -0.04246484488248825, 0.2593034505844116, 0.10050439834594727, 0.2703508734703064, 0.34318944811820984, -0.2218673825263977, -0.027272287756204605, 0.11250776052474976, -0.0946212187409401, 0.03503909707069397, -0.1922098696231842, 0.10742347687482834, 0.3562355041503906, 0.1297881156206131, -0.16485969722270966, -0.40317508578300476, 0.3965440094470978, -0.26446807384490967, -0.04856623336672783, 0.013374301604926586, 0.24796545505523682, -0.21049581468105316, -0.1672072857618332, -0.6672676205635071, -0.26917630434036255, -0.2942647635936737, 0.1319562941789627, 0.02461669035255909, 0.0644027516245842, 0.1510857492685318, 0.3053077459335327, 0.27962014079093933, 0.1648702472448349, -0.006808742880821228, -0.16387072205543518, -0.0828515961766243, 0.05933237448334694, -0.23276203870773315, -0.31624916195869446, 0.025541609153151512, -0.03586076572537422, 0.18794716894626617, -0.02352161519229412, -0.2853708863258362, 0.04306936264038086, -0.012906999327242374, 0.20198485255241394, -0.009396540001034737, -0.14902663230895996, 0.25632748007774353, -0.03754592686891556, -0.15353387594223022, -0.14622776210308075, 0.0201740600168705, 0.3612135648727417, -0.15082195401191711, -0.06785986572504044, -0.4402254819869995, 0.2530612051486969, 0.06757832318544388, 0.681507408618927, -0.008558920584619045, -0.05914910510182381, -0.043602779507637024, -0.29742276668548584, 0.060249656438827515, -0.14302368462085724, -0.5118549466133118, 0.13186459243297577, -0.06124189868569374, -0.08272271603345871, 0.0445462130010128, -0.15519990026950836, 0.14251457154750824, -0.12047987431287766, -0.04153487831354141, -0.08949961513280869, -0.3489702641963959, -0.020877189934253693, -0.10619772970676422, 0.14994245767593384, -0.0743766576051712, 0.10693545639514923, 0.061266832053661346, 0.20375017821788788, 0.06682007759809494, 0.0905129462480545, -0.2164052277803421, -0.17077651619911194, -0.47189921140670776, -0.2948104441165924, -0.2641119360923767, 0.10210733115673065, -0.06073883920907974, 0.22572505474090576, -0.2265772968530655, -0.060292236506938934, -0.06982941925525665, -0.014512725174427032, 0.7065395712852478, -0.023895088583230972, 0.025799240916967392, 0.07833465933799744, -0.04394426941871643, -0.02254956215620041, -0.15357621014118195, -0.3316424787044525, 0.3253195583820343, 0.030418260022997856, 0.02090984396636486, -0.05009159818291664, -0.044650714844465256, 0.5613501071929932, -0.09035921096801758, -0.05937890335917473, 0.12012453377246857, -0.11195727437734604, -0.1684587150812149, -0.23850511014461517, 0.16924914717674255, 0.23658739030361176, 0.1472926139831543, -0.09115955978631973, -0.1406892091035843, -0.14207212626934052, -0.21244119107723236, 0.23988103866577148, 0.16426576673984528, 0.15753167867660522, -0.10061002522706985, 0.16423961520195007, 0.020421909168362617, 0.15442077815532684, 0.4111711084842682, 0.3658745288848877, -0.26960867643356323, -0.12469314783811569, 0.14656929671764374, -0.27312320470809937, 0.3357502818107605, 0.13415712118148804, -0.21561475098133087, -0.07975313067436218, 0.056999340653419495, 0.21508662402629852, 0.006125211715698242, 0.3240945339202881, 0.2983638048171997, 0.035501785576343536, -0.16912329196929932, -0.5306833386421204, 0.07046156376600266, 0.1065683513879776, 0.09908849745988846, 0.21982836723327637, -0.039682477712631226, -0.17088283598423004, 0.32557234168052673, -0.1405695527791977, 0.5185962319374084, 0.08194345980882645, 0.02292953059077263, 0.2527524530887604, -0.0391656868159771, 0.244998961687088, -0.1744561493396759, 0.20391063392162323, -0.28902554512023926, -0.42727363109588623, -0.03693993017077446, -0.020359257236123085, 0.3297487795352936, 0.06930584460496902, -0.22675412893295288, 0.06031475216150284, 0.09832141548395157, 0.016260012984275818, -0.2971894145011902, 0.09066029638051987, 0.06285853683948517, 0.05495111271739006, -0.14369544386863708, 0.26079434156417847, -0.022324098274111748, 0.043735843151807785, 0.07881955802440643, 0.03674226626753807, -0.1611955463886261, -0.18894337117671967, -0.11198325455188751, 0.004522824194282293, -0.13934656977653503, 0.49781063199043274, 0.013620910234749317, -0.3100719451904297, 0.1000019833445549, -0.002629128284752369, 0.2066459059715271, 0.11820752173662186, -0.05178222432732582, 0.3138086795806885, -0.0714200809597969, -0.12089601904153824, -0.05248357355594635, 0.12714612483978271, 0.6086925864219666, -0.0561220683157444, -0.3086387515068054, 0.07385452091693878, -0.09615135192871094, -0.1686680167913437, 0.06861606985330582, 0.14526480436325073, 0.16241230070590973, -0.6972609162330627, -0.23612453043460846, 0.024916965514421463, 0.011418855749070644, -0.3711758852005005, 0.26821693778038025, -0.07427066564559937, -0.2890626788139343, 0.24616895616054535, 0.07972676306962967, -0.1937737762928009, -0.15830016136169434, 0.20510530471801758, 0.11728888750076294, 0.3158535957336426, 0.6211118102073669, 0.05751528963446617, 0.03621136024594307, -0.4852440059185028, 0.057200837880373, 0.6016829013824463, -0.35915473103523254, 0.2952384054660797, -0.19870680570602417, -0.08818542212247849, 0.10856924206018448, 0.29726046323776245, 0.01811777800321579, 0.20510724186897278, 0.05590708553791046, -0.27066975831985474, -0.3046317398548126, 0.12008717656135559, 0.06339295953512192, 0.2984200417995453, 0.0968984067440033, 0.4480949938297272, 0.05693727731704712, 0.2132432609796524, -0.4308384954929352, 0.07896658778190613, -0.2665019929409027, 0.033413756638765335, -0.10578524321317673, -0.20678819715976715, 0.21634526550769806, -0.07658807933330536, 0.27768683433532715, 0.13503620028495789, -0.12740924954414368, -0.3693176805973053, -0.1103368028998375, 0.016850147396326065, -0.019543834030628204, 0.12433168292045593, -0.05769689008593559, 0.026663780212402344, -0.37996599078178406, -0.01397029124200344, 0.01905699633061886, 0.05856071040034294, 0.06652095913887024, 0.442729651927948, 0.206570103764534, 0.09559783339500427, 0.03850562125444412, -0.09024114161729813, -0.031330693513154984, 0.1257513165473938, 0.07794143259525299, -0.025106368586421013, -0.06627096980810165, 0.01130988635122776, -0.15997759997844696, -0.03414100781083107, -0.11372169852256775, 0.011306081898510456, 0.18727536499500275, -0.40404796600341797, -0.03729349747300148, 0.030332237482070923, 0.4938407838344574, 0.32926225662231445, -0.22853682935237885, 0.09456847608089447, 0.14015217125415802, 0.3152957558631897, -0.34737494587898254, 0.07339451462030411, 0.4476119875907898, -0.16446076333522797, 0.18233448266983032, 0.16895130276679993, -0.050219617784023285, 0.15300974249839783, -0.24718524515628815, 0.3060891330242157, 0.312420517206192, -0.13151311874389648, 0.36813652515411377, 0.4847278892993927, -0.21743223071098328, -0.02745990827679634, 0.0932210236787796, 0.0650799497961998, 0.21657763421535492, 0.6765247583389282, -0.10036302357912064, 0.37671318650245667, 0.031200557947158813, -0.02454889379441738, 0.15147382020950317, -0.09034847468137741, 0.10043837130069733, 0.07532290369272232, -0.10613568127155304, -0.06695511192083359, -0.12304578721523285, 0.49162888526916504, -0.5238245725631714, -0.1949387639760971, -0.08183003216981888, 0.03720992058515549, -0.18140535056591034, 0.08149310201406479, -0.010723826475441456, 0.013808902353048325, -0.21326656639575958, -0.14346429705619812, 0.13453495502471924, 0.03279024362564087, 0.2758151590824127, -0.13370515406131744, -0.06616715341806412, -0.14322476089000702, 0.15520577132701874, 0.0759304091334343, 0.1240045577287674, -0.29077866673469543, 0.043329060077667236, 0.08111079782247543, -0.04726143926382065, 0.1887330263853073, 0.07026872783899307, 0.3337218761444092, -0.002548385411500931, -0.04529768228530884, -0.2115153819322586, -0.01953909918665886, -0.26450115442276, 0.040572334080934525, 0.1445401906967163, 0.15201035141944885, 0.14915329217910767, 0.44263774156570435, 0.2880222499370575, -0.23681093752384186, 0.08546379208564758, 0.23582664132118225, 0.14035426080226898, -0.2843984365463257, 0.4119338393211365, 0.022363610565662384, -0.2423623502254486, -0.05916663631796837, -0.1252177208662033, -0.30079594254493713, -0.1843251883983612, -0.013779105618596077, -0.17368388175964355, 0.2590317130088806, -0.1418585628271103, 0.14838120341300964, 0.006190676707774401, 0.47286108136177063, -0.0004205180739518255, 0.11026979982852936, -0.11244161427021027, -0.19940435886383057, -0.3969852328300476, 0.015086867846548557, -0.16438978910446167, -0.12093359231948853, -0.08150718361139297, 0.20513184368610382, -0.012385766953229904, -0.000489858619403094, 0.09188854694366455, 0.028012633323669434, 0.0434148870408535, -0.08967544883489609, -0.37428492307662964, -0.16916199028491974, -0.2665841281414032, 0.05133027955889702, 0.18397843837738037, -0.10604137927293777, 0.041983529925346375, 0.09676382690668106, 0.10647981613874435, 0.10429192334413528, -0.2804397940635681, 0.24933572113513947, 0.04434569925069809, 0.09600108861923218, -0.09487739205360413, 0.5510997772216797, -0.08590111881494522, 0.23423229157924652, -0.05248856917023659, -0.26260942220687866, -0.24723376333713531, 0.3791550099849701, 0.28975483775138855, 0.40543919801712036, 0.012667586095631123, -0.09734798222780228, -0.05903148278594017, 0.3790171146392822, 0.18303099274635315, -0.13868096470832825, -0.08044154196977615, 0.20284807682037354, 0.10337059944868088, 0.04901251196861267, 0.25641313195228577, 0.33612295985221863, -0.1731892228126526, 0.009167780168354511, -0.1510327160358429, -0.49779751896858215, 0.34916093945503235, -0.15591154992580414, -0.3486226201057434, -0.22646115720272064, 0.06233077123761177, 0.3593648672103882, -0.14180663228034973, -0.6202283501625061, -0.16913346946239471, 0.21813611686229706, -0.14256851375102997, -0.16921767592430115, 0.40206584334373474, 0.08500383049249649, 0.17324182391166687, 0.1654215008020401, 0.4927333891391754, -0.014078965410590172, -0.3483470678329468, 0.18993458151817322, -0.12389275431632996 ]
https://github.com/huggingface/datasets/issues/1600
AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
!curl -L "https://app.roboflow.com/ds/YQYgzFyKns?key=f0IwaEetrr" > roboflow.zip; unzip roboflow.zip; rm roboflow.zip from datasets import load_dataset dataset = load_dataset("imagefolder", data_dir="/content/") dataset["train"][0] dataset["train"][-1] train_ds = load_dataset("imagefolder", data_dir="/content/train/") test_ds = load_dataset("imagefolder", data_dir="/content/test/") val_ds = load_dataset("imagefolder", data_dir="/content/valid/") train_ds.features and i got error AttributeError Traceback (most recent call last) [<ipython-input-6-289222110c33>](https://localhost:8080/#) in <cell line: 1>() ----> 1 train_ds.features AttributeError: 'DatasetDict' object has no attribute 'features'
The following code fails with "'DatasetDict' object has no attribute 'train_test_split'" - am I doing something wrong? ``` from datasets import load_dataset dataset = load_dataset('csv', data_files='data.txt') dataset = dataset.train_test_split(test_size=0.1) ``` > AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
57
AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
[ -0.4078792929649353, 0.12155256420373917, -0.1948326826095581, 0.08925729990005493, 0.3029462397098541, 0.15050941705703735, 0.3565625846385956, 0.5114476680755615, 0.1984788179397583, 0.07384973764419556, 0.1345425695180893, 0.22003428637981415, -0.22383472323417664, 0.42785635590553284, -0.06996574997901917, -0.408302903175354, -0.10782422125339508, 0.15614891052246094, -0.06548582762479782, 0.054175470024347305, -0.06666898727416992, 0.2035110592842102, -0.2701982259750366, 0.03876814618706703, -0.44836777448654175, -0.24514338374137878, -0.04060472548007965, 0.04094688594341278, -0.08244141936302185, -0.1413884162902832, 0.24003085494041443, 0.01721518114209175, -0.13630984723567963, 0.44635578989982605, -0.00010100378858624026, 0.1486062854528427, 0.0874359980225563, -0.0069549307227134705, -0.2780524492263794, 0.0002656543510966003, -0.26555830240249634, 0.19298115372657776, 0.14388978481292725, -0.3477936089038849, -0.2520330250263214, -0.0729774534702301, -0.10970103740692139, -0.20660661160945892, 0.45405200123786926, 0.5506635308265686, 0.3201488256454468, 0.12504391372203827, 0.09609561413526535, -0.36465245485305786, 0.13410760462284088, -0.03412763401865959, -0.019380051642656326, 0.051420118659734726, -0.09344614297151566, -0.1227925643324852, -0.07758016139268875, 0.18428419530391693, 0.1481180340051651, 0.30627143383026123, -0.062450580298900604, -0.05498971790075302, -0.2895965874195099, -0.1317441314458847, 0.035446058958768845, 0.09253152459859848, 0.3076196014881134, -0.31948262453079224, -0.21867087483406067, -0.03226090595126152, 0.075755774974823, -0.250940203666687, 0.025917530059814453, 0.10642309486865997, 0.054635971784591675, 0.1646590232849121, -0.1289578527212143, -0.016582520678639412, -0.1579308956861496, -0.029333606362342834, -0.2614041864871979, 0.08219210058450699, -0.08704035729169846, 0.12244261056184769, 0.2375931292772293, 0.22526730597019196, 0.14291495084762573, 0.15583081543445587, 0.0034394527319818735, -0.22034786641597748, -0.07074999064207077, -0.1283414661884308, -0.1145041286945343, -0.34249141812324524, 0.04549852013587952, 0.18889574706554413, -0.016704389825463295, 0.008050501346588135, 0.06853275001049042, 0.14077599346637726, 0.16911078989505768, 0.11086752265691757, 0.03702397644519806, 0.4936341345310211, 0.1434352844953537, 0.10422822833061218, -0.3876723051071167, -0.046754755079746246, 0.017526160925626755, -0.3756256699562073, -0.06331486999988556, 0.09748730808496475, 0.2474665492773056, 0.012360705062747002, -0.5483184456825256, -0.004091786220669746, -0.11701702326536179, -0.0842035710811615, 0.08704354614019394, 0.30181947350502014, -0.025747478008270264, -0.15165504813194275, 0.011952952481806278, 0.09075325727462769, -0.18952743709087372, -0.29879212379455566, -0.40056541562080383, 0.40871405601501465, -0.0880882516503334, -0.2800857424736023, 0.13558891415596008, 0.09784384071826935, 0.16954506933689117, -0.23990115523338318, 0.038734160363674164, -0.11650823056697845, 0.15915915369987488, -0.21425610780715942, 0.028448276221752167, 0.27552372217178345, 0.06998942047357559, -0.05304493382573128, 0.2519550621509552, -0.09173652529716492, -0.05725949630141258, -0.03658977150917053, -0.22737351059913635, -0.45968252420425415, 0.0439080186188221, 0.32161206007003784, 0.13673917949199677, -0.04495587572455406, 0.11665669083595276, 0.13705754280090332, 0.24671687185764313, -0.010403383523225784, -0.10621265321969986, -0.20381425321102142, -0.24842792749404907, -0.08488063514232635, 0.4028335213661194, 0.19755005836486816, -0.38924211263656616, -0.07157254964113235, 0.0775945633649826, -0.3303091824054718, 0.17738859355449677, 0.180589497089386, -0.07933156937360764, 0.4241451025009155, -0.10825033485889435, 0.14919477701187134, 0.4266338348388672, -0.2529570460319519, -0.3228199779987335, 0.11660391837358475, -0.037923701107501984, -0.2637381851673126, -0.09216416627168655, -0.13910998404026031, 0.05423383042216301, 0.25859034061431885, 0.213978573679924, 0.23107008635997772, -0.19185186922550201, -0.010598220862448215, -0.13483931124210358, -0.16312438249588013, 0.3740856945514679, 0.26746612787246704, 0.3263323903083801, -0.12309913337230682, -0.07422865182161331, 0.2503100633621216, 0.2026003748178482, 0.10499145835638046, -0.016267573460936546, 0.017067719250917435, 0.19597339630126953, -0.052752841264009476, -0.026793869212269783, -0.371468186378479, -0.07578806579113007, -0.01804475486278534, 0.32009634375572205, 0.05130811408162117, -0.07640039175748825, -0.014769342727959156, -0.47923651337623596, 0.09750037640333176, -0.24901314079761505, -0.23970858752727509, 0.2901972234249115, -0.21552811563014984, 0.0139536177739501, 0.09686846286058426, -0.2764982581138611, 0.2207530438899994, -0.300697386264801, 0.11898591369390488, -0.08639819175004959, 0.32457250356674194, -0.3383961021900177, -0.15765152871608734, 0.05420985445380211, 0.2500631511211395, -0.022640759125351906, -0.1632663607597351, -0.08736584335565567, 0.4614282548427582, 0.11130834370851517, -0.30605313181877136, 0.13007880747318268, -0.16819600760936737, 0.06711695343255997, -0.2507517635822296, -0.27064305543899536, -0.00224018725566566, -0.08324431627988815, -0.03565984591841698, -0.14023178815841675, 0.1350405216217041, -0.12775050103664398, 0.023529808968305588, 0.20546288788318634, 0.21664485335350037, 0.12420625239610672, -0.11547185480594635, 0.1162949800491333, -0.3077761232852936, 0.0793367475271225, -0.5992802381515503, 0.11420765519142151, -0.2192053347826004, -0.1269376575946808, 0.005047655664384365, 0.6268638968467712, 0.13131068646907806, 0.146188423037529, -0.2091839462518692, 0.002571550663560629, 0.053120505064725876, -0.012249188497662544, 0.5173602104187012, 0.2905818223953247, 0.22630421817302704, 0.039683397859334946, 0.0942508801817894, -0.17025421559810638, -0.09876859933137894, 0.09581363946199417, 0.049153152853250504, 0.11743122339248657, 0.1471460908651352, -0.18205030262470245, -0.17681480944156647, -0.28006649017333984, -0.34420427680015564, 0.16562561690807343, 0.30476999282836914, -0.25325432419776917, -0.030729640275239944, -0.2408260852098465, 0.06959130614995956, -0.16349048912525177, -0.18548868596553802, 0.06007343530654907, -0.39586690068244934, 0.18727897107601166, -0.017904918640851974, -0.17196258902549744, 0.2833116352558136, -0.18562646210193634, 0.074077308177948, 0.3179740607738495, -0.0023470816668123007, 0.1448640525341034, -0.22995829582214355, -0.04246484488248825, 0.2593034505844116, 0.10050439834594727, 0.2703508734703064, 0.34318944811820984, -0.2218673825263977, -0.027272287756204605, 0.11250776052474976, -0.0946212187409401, 0.03503909707069397, -0.1922098696231842, 0.10742347687482834, 0.3562355041503906, 0.1297881156206131, -0.16485969722270966, -0.40317508578300476, 0.3965440094470978, -0.26446807384490967, -0.04856623336672783, 0.013374301604926586, 0.24796545505523682, -0.21049581468105316, -0.1672072857618332, -0.6672676205635071, -0.26917630434036255, -0.2942647635936737, 0.1319562941789627, 0.02461669035255909, 0.0644027516245842, 0.1510857492685318, 0.3053077459335327, 0.27962014079093933, 0.1648702472448349, -0.006808742880821228, -0.16387072205543518, -0.0828515961766243, 0.05933237448334694, -0.23276203870773315, -0.31624916195869446, 0.025541609153151512, -0.03586076572537422, 0.18794716894626617, -0.02352161519229412, -0.2853708863258362, 0.04306936264038086, -0.012906999327242374, 0.20198485255241394, -0.009396540001034737, -0.14902663230895996, 0.25632748007774353, -0.03754592686891556, -0.15353387594223022, -0.14622776210308075, 0.0201740600168705, 0.3612135648727417, -0.15082195401191711, -0.06785986572504044, -0.4402254819869995, 0.2530612051486969, 0.06757832318544388, 0.681507408618927, -0.008558920584619045, -0.05914910510182381, -0.043602779507637024, -0.29742276668548584, 0.060249656438827515, -0.14302368462085724, -0.5118549466133118, 0.13186459243297577, -0.06124189868569374, -0.08272271603345871, 0.0445462130010128, -0.15519990026950836, 0.14251457154750824, -0.12047987431287766, -0.04153487831354141, -0.08949961513280869, -0.3489702641963959, -0.020877189934253693, -0.10619772970676422, 0.14994245767593384, -0.0743766576051712, 0.10693545639514923, 0.061266832053661346, 0.20375017821788788, 0.06682007759809494, 0.0905129462480545, -0.2164052277803421, -0.17077651619911194, -0.47189921140670776, -0.2948104441165924, -0.2641119360923767, 0.10210733115673065, -0.06073883920907974, 0.22572505474090576, -0.2265772968530655, -0.060292236506938934, -0.06982941925525665, -0.014512725174427032, 0.7065395712852478, -0.023895088583230972, 0.025799240916967392, 0.07833465933799744, -0.04394426941871643, -0.02254956215620041, -0.15357621014118195, -0.3316424787044525, 0.3253195583820343, 0.030418260022997856, 0.02090984396636486, -0.05009159818291664, -0.044650714844465256, 0.5613501071929932, -0.09035921096801758, -0.05937890335917473, 0.12012453377246857, -0.11195727437734604, -0.1684587150812149, -0.23850511014461517, 0.16924914717674255, 0.23658739030361176, 0.1472926139831543, -0.09115955978631973, -0.1406892091035843, -0.14207212626934052, -0.21244119107723236, 0.23988103866577148, 0.16426576673984528, 0.15753167867660522, -0.10061002522706985, 0.16423961520195007, 0.020421909168362617, 0.15442077815532684, 0.4111711084842682, 0.3658745288848877, -0.26960867643356323, -0.12469314783811569, 0.14656929671764374, -0.27312320470809937, 0.3357502818107605, 0.13415712118148804, -0.21561475098133087, -0.07975313067436218, 0.056999340653419495, 0.21508662402629852, 0.006125211715698242, 0.3240945339202881, 0.2983638048171997, 0.035501785576343536, -0.16912329196929932, -0.5306833386421204, 0.07046156376600266, 0.1065683513879776, 0.09908849745988846, 0.21982836723327637, -0.039682477712631226, -0.17088283598423004, 0.32557234168052673, -0.1405695527791977, 0.5185962319374084, 0.08194345980882645, 0.02292953059077263, 0.2527524530887604, -0.0391656868159771, 0.244998961687088, -0.1744561493396759, 0.20391063392162323, -0.28902554512023926, -0.42727363109588623, -0.03693993017077446, -0.020359257236123085, 0.3297487795352936, 0.06930584460496902, -0.22675412893295288, 0.06031475216150284, 0.09832141548395157, 0.016260012984275818, -0.2971894145011902, 0.09066029638051987, 0.06285853683948517, 0.05495111271739006, -0.14369544386863708, 0.26079434156417847, -0.022324098274111748, 0.043735843151807785, 0.07881955802440643, 0.03674226626753807, -0.1611955463886261, -0.18894337117671967, -0.11198325455188751, 0.004522824194282293, -0.13934656977653503, 0.49781063199043274, 0.013620910234749317, -0.3100719451904297, 0.1000019833445549, -0.002629128284752369, 0.2066459059715271, 0.11820752173662186, -0.05178222432732582, 0.3138086795806885, -0.0714200809597969, -0.12089601904153824, -0.05248357355594635, 0.12714612483978271, 0.6086925864219666, -0.0561220683157444, -0.3086387515068054, 0.07385452091693878, -0.09615135192871094, -0.1686680167913437, 0.06861606985330582, 0.14526480436325073, 0.16241230070590973, -0.6972609162330627, -0.23612453043460846, 0.024916965514421463, 0.011418855749070644, -0.3711758852005005, 0.26821693778038025, -0.07427066564559937, -0.2890626788139343, 0.24616895616054535, 0.07972676306962967, -0.1937737762928009, -0.15830016136169434, 0.20510530471801758, 0.11728888750076294, 0.3158535957336426, 0.6211118102073669, 0.05751528963446617, 0.03621136024594307, -0.4852440059185028, 0.057200837880373, 0.6016829013824463, -0.35915473103523254, 0.2952384054660797, -0.19870680570602417, -0.08818542212247849, 0.10856924206018448, 0.29726046323776245, 0.01811777800321579, 0.20510724186897278, 0.05590708553791046, -0.27066975831985474, -0.3046317398548126, 0.12008717656135559, 0.06339295953512192, 0.2984200417995453, 0.0968984067440033, 0.4480949938297272, 0.05693727731704712, 0.2132432609796524, -0.4308384954929352, 0.07896658778190613, -0.2665019929409027, 0.033413756638765335, -0.10578524321317673, -0.20678819715976715, 0.21634526550769806, -0.07658807933330536, 0.27768683433532715, 0.13503620028495789, -0.12740924954414368, -0.3693176805973053, -0.1103368028998375, 0.016850147396326065, -0.019543834030628204, 0.12433168292045593, -0.05769689008593559, 0.026663780212402344, -0.37996599078178406, -0.01397029124200344, 0.01905699633061886, 0.05856071040034294, 0.06652095913887024, 0.442729651927948, 0.206570103764534, 0.09559783339500427, 0.03850562125444412, -0.09024114161729813, -0.031330693513154984, 0.1257513165473938, 0.07794143259525299, -0.025106368586421013, -0.06627096980810165, 0.01130988635122776, -0.15997759997844696, -0.03414100781083107, -0.11372169852256775, 0.011306081898510456, 0.18727536499500275, -0.40404796600341797, -0.03729349747300148, 0.030332237482070923, 0.4938407838344574, 0.32926225662231445, -0.22853682935237885, 0.09456847608089447, 0.14015217125415802, 0.3152957558631897, -0.34737494587898254, 0.07339451462030411, 0.4476119875907898, -0.16446076333522797, 0.18233448266983032, 0.16895130276679993, -0.050219617784023285, 0.15300974249839783, -0.24718524515628815, 0.3060891330242157, 0.312420517206192, -0.13151311874389648, 0.36813652515411377, 0.4847278892993927, -0.21743223071098328, -0.02745990827679634, 0.0932210236787796, 0.0650799497961998, 0.21657763421535492, 0.6765247583389282, -0.10036302357912064, 0.37671318650245667, 0.031200557947158813, -0.02454889379441738, 0.15147382020950317, -0.09034847468137741, 0.10043837130069733, 0.07532290369272232, -0.10613568127155304, -0.06695511192083359, -0.12304578721523285, 0.49162888526916504, -0.5238245725631714, -0.1949387639760971, -0.08183003216981888, 0.03720992058515549, -0.18140535056591034, 0.08149310201406479, -0.010723826475441456, 0.013808902353048325, -0.21326656639575958, -0.14346429705619812, 0.13453495502471924, 0.03279024362564087, 0.2758151590824127, -0.13370515406131744, -0.06616715341806412, -0.14322476089000702, 0.15520577132701874, 0.0759304091334343, 0.1240045577287674, -0.29077866673469543, 0.043329060077667236, 0.08111079782247543, -0.04726143926382065, 0.1887330263853073, 0.07026872783899307, 0.3337218761444092, -0.002548385411500931, -0.04529768228530884, -0.2115153819322586, -0.01953909918665886, -0.26450115442276, 0.040572334080934525, 0.1445401906967163, 0.15201035141944885, 0.14915329217910767, 0.44263774156570435, 0.2880222499370575, -0.23681093752384186, 0.08546379208564758, 0.23582664132118225, 0.14035426080226898, -0.2843984365463257, 0.4119338393211365, 0.022363610565662384, -0.2423623502254486, -0.05916663631796837, -0.1252177208662033, -0.30079594254493713, -0.1843251883983612, -0.013779105618596077, -0.17368388175964355, 0.2590317130088806, -0.1418585628271103, 0.14838120341300964, 0.006190676707774401, 0.47286108136177063, -0.0004205180739518255, 0.11026979982852936, -0.11244161427021027, -0.19940435886383057, -0.3969852328300476, 0.015086867846548557, -0.16438978910446167, -0.12093359231948853, -0.08150718361139297, 0.20513184368610382, -0.012385766953229904, -0.000489858619403094, 0.09188854694366455, 0.028012633323669434, 0.0434148870408535, -0.08967544883489609, -0.37428492307662964, -0.16916199028491974, -0.2665841281414032, 0.05133027955889702, 0.18397843837738037, -0.10604137927293777, 0.041983529925346375, 0.09676382690668106, 0.10647981613874435, 0.10429192334413528, -0.2804397940635681, 0.24933572113513947, 0.04434569925069809, 0.09600108861923218, -0.09487739205360413, 0.5510997772216797, -0.08590111881494522, 0.23423229157924652, -0.05248856917023659, -0.26260942220687866, -0.24723376333713531, 0.3791550099849701, 0.28975483775138855, 0.40543919801712036, 0.012667586095631123, -0.09734798222780228, -0.05903148278594017, 0.3790171146392822, 0.18303099274635315, -0.13868096470832825, -0.08044154196977615, 0.20284807682037354, 0.10337059944868088, 0.04901251196861267, 0.25641313195228577, 0.33612295985221863, -0.1731892228126526, 0.009167780168354511, -0.1510327160358429, -0.49779751896858215, 0.34916093945503235, -0.15591154992580414, -0.3486226201057434, -0.22646115720272064, 0.06233077123761177, 0.3593648672103882, -0.14180663228034973, -0.6202283501625061, -0.16913346946239471, 0.21813611686229706, -0.14256851375102997, -0.16921767592430115, 0.40206584334373474, 0.08500383049249649, 0.17324182391166687, 0.1654215008020401, 0.4927333891391754, -0.014078965410590172, -0.3483470678329468, 0.18993458151817322, -0.12389275431632996 ]
https://github.com/huggingface/datasets/issues/1594
connection error
This happen quite often when they are too many concurrent requests to github. i can understand it’s a bit cumbersome to handle on the user side. Maybe we should try a few times in the lib (eg with timeout) before failing, what do you think @lhoestq ?
Hi I am hitting to this error, thanks ``` > Traceback (most recent call last): File "finetune_t5_trainer.py", line 379, in <module> main() File "finetune_t5_trainer.py", line 208, in main if training_args.do_eval or training_args.evaluation_strategy != EvaluationStrategy.NO File "finetune_t5_trainer.py", line 207, in <dictcomp> for task in data_args.eval_tasks} File "/workdir/seq2seq/data/tasks.py", line 70, in get_dataset dataset = self.load_dataset(split=split) File "/workdir/seq2seq/data/tasks.py", line 66, in load_dataset return datasets.load_dataset(self.task.name, split=split, script_version="master") File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 267, in prepare_module local_path = cached_path(file_path, download_config=download_config) File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 487, in get_from_cache raise ConnectionError("Couldn't reach {}".format(url)) ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/master/datasets/boolq/boolq.py el/0 I1217 01:11:33.898849 354161 main shadow.py:210 Current job status: FINISHED ```
47
connection error
[ -0.16574177145957947, -0.18526379764080048, -0.21125249564647675, 0.1590956598520279, 0.32506391406059265, -0.1492200344800949, 0.007137581240385771, 0.01957029476761818, -0.051769208163022995, 0.15277838706970215, 0.04168260842561722, -0.21183094382286072, 0.3094436824321747, -0.04456087201833725, -0.20858129858970642, -0.06025233864784241, -0.28296715021133423, 0.27290165424346924, -0.1713848114013672, 0.05710302293300629, 0.01030272152274847, 0.18253129720687866, -0.1271403431892395, 0.21604618430137634, -0.05832051858305931, 0.09084287285804749, 0.23718678951263428, 0.11933987587690353, -0.1284385770559311, -0.19729647040367126, -0.08618161082267761, -0.04691038280725479, -0.014156719669699669, 0.20195700228214264, -0.00008730264380574226, -0.02066470868885517, 0.3890641927719116, -0.035659048706293106, -0.1558997482061386, 0.21323361992835999, -0.3735155165195465, 0.005944396369159222, 0.14594919979572296, -0.12619958817958832, -0.12368164956569672, -0.04332786425948143, 0.11902488768100739, -0.009231994859874249, 0.417294979095459, 0.2525070607662201, 0.45656830072402954, 0.07017385214567184, 0.3664472997188568, -0.10791945457458496, -0.0355309396982193, -0.22869214415550232, 0.09949959814548492, 0.3051098585128784, -0.03756643459200859, -0.018857277929782867, 0.06940067559480667, -0.15293899178504944, 0.08192723244428635, -0.1471869796514511, 0.06447278708219528, -0.20201817154884338, 0.3577934205532074, -0.040274959057569504, 0.3469737768173218, -0.0542871467769146, 0.3003045618534088, 0.16989775002002716, 0.16783538460731506, 0.5570046305656433, 0.0757768377661705, 0.0428922139108181, 0.4790990650653839, 0.11644069850444794, -0.28270423412323, 0.20355676114559174, 0.10647082328796387, -0.25984588265419006, -0.3151909410953522, 0.21318283677101135, -0.1457795649766922, 0.189838707447052, 0.019027745351195335, 0.07784976810216904, -0.06993886083364487, -0.1806088089942932, 0.14741359651088715, -0.002844741800799966, -0.1358870565891266, -0.12496635317802429, -0.007844148203730583, 0.03803010284900665, 0.02723303996026516, 0.0766538456082344, -0.0526447519659996, -0.16754509508609772, -0.04038931429386139, 0.17850951850414276, 0.16320063173770905, 0.09146324545145035, -0.043138287961483, -0.18342489004135132, 0.010994838550686836, -0.1344044804573059, 0.1404031366109848, 0.16028065979480743, -0.14044611155986786, -0.044691137969493866, -0.05682045966386795, -0.31416359543800354, 0.0715382918715477, -0.051472920924425125, 0.09297534823417664, -0.009927108883857727, -0.05332202836871147, 0.17553330957889557, -0.1741626262664795, -0.036753829568624496, -0.04487983509898186, 0.3047639727592468, -0.19877441227436066, -0.07117319107055664, 0.236214742064476, -0.06496818363666534, -0.07724649459123611, -0.2137242704629898, -0.2596064805984497, -0.06860288232564926, -0.15021178126335144, -0.21979306638240814, -0.09401970356702805, 0.13278841972351074, -0.04191935062408447, -0.02187913842499256, -0.00019542408699635416, -0.24827764928340912, 0.06294365227222443, -0.06413142383098602, -0.08072778582572937, 0.24316902458667755, 0.050656940788030624, -0.06910572201013565, 0.10924801975488663, -0.055214956402778625, 0.15509769320487976, -0.09675765037536621, -0.09903734922409058, -0.22127152979373932, -0.2897481620311737, 0.4060862958431244, 0.27547308802604675, 0.11635924875736237, 0.4096847474575043, -0.32683002948760986, -0.16121482849121094, -0.3387044370174408, -0.19825156033039093, -0.1756230741739273, -0.09985481202602386, -0.22773966193199158, 0.3098227083683014, 0.1791074275970459, -0.02922089211642742, 0.035357579588890076, 0.10807771235704422, -0.2016938328742981, 0.0735190361738205, 0.10086684674024582, -0.174884632229805, 0.06538186967372894, -0.24181106686592102, 0.009430360049009323, 0.40782874822616577, -0.2723170518875122, -0.33490508794784546, 0.16888536512851715, -0.20857803523540497, -0.3119204342365265, -0.18187087774276733, -0.09426425397396088, 0.03771812096238136, 0.13425621390342712, 0.3371146321296692, 0.09648410230875015, -0.03163541480898857, -0.12673036754131317, -0.12667666375637054, -0.20444649457931519, -0.14642822742462158, -0.24414871633052826, 0.18000531196594238, 0.19994650781154633, 0.27317240834236145, -0.1169973611831665, 0.16531702876091003, 0.3129616379737854, 0.032746147364377975, 0.22423171997070312, 0.21840991079807281, 0.11579810827970505, -0.15252874791622162, 0.36748847365379333, 0.013207989744842052, -0.03804561868309975, 0.003919894341379404, 0.3546774685382843, -0.0871138647198677, 0.2084638625383377, -0.26434803009033203, 0.08122702687978745, -0.00877698976546526, 0.4296504855155945, 0.45835593342781067, 0.23895573616027832, -0.040040165185928345, 0.04025842249393463, 0.15068425238132477, 0.15933114290237427, -0.18522804975509644, 0.10183532536029816, 0.09713270515203476, 0.2187126725912094, -0.39747387170791626, -0.05711571127176285, 0.05093126371502876, -0.07281749695539474, 0.465481698513031, -0.055991366505622864, -0.07615058869123459, 0.1738114356994629, -0.3032810389995575, 0.1706697642803192, 0.22873058915138245, 0.10960201919078827, 0.022532768547534943, -0.6027524471282959, -0.12623713910579681, 0.09532567858695984, 0.2199668437242508, -0.07051511108875275, 0.6874129176139832, -0.08293773233890533, -0.00821598805487156, 0.04741101339459419, -0.03601878508925438, 0.26818686723709106, 0.29697370529174805, 0.019838854670524597, 0.07352256029844284, -0.0018562690820544958, 0.01963258534669876, 0.07901819050312042, -0.16538596153259277, -0.29574424028396606, -0.18731829524040222, -0.18179789185523987, -0.1826665699481964, 0.05649445950984955, 0.2017679214477539, 0.0906681939959526, 0.12853582203388214, 0.0034602058585733175, 0.20476627349853516, 0.012901769950985909, 0.3592259883880615, 0.05976448953151703, -0.08253642916679382, 0.2914111316204071, -0.025109654292464256, -0.09313910454511642, 0.297943115234375, 0.06994765251874924, 0.08216542750597, 0.2147095501422882, -0.0640999972820282, -0.09643483906984329, -0.06553816050291061, -0.16550369560718536, -0.18400953710079193, 0.20074042677879333, -0.17596399784088135, 0.11178600043058395, -0.049073003232479095, -0.23539608716964722, 0.023111678659915924, -0.061253614723682404, -0.28291085362434387, -0.2832752764225006, -0.09420240670442581, 0.11127465963363647, 0.14383378624916077, 0.12983520328998566, -0.2791392505168915, 0.23104451596736908, 0.09030517935752869, 0.19233958423137665, -0.10378152132034302, 0.0032641098368912935, -0.2043149471282959, 0.2569446563720703, 0.03989935666322708, -0.04484569653868675, 0.19015203416347504, -0.3580209016799927, -0.1369289755821228, -0.13377387821674347, -0.017562344670295715, 0.17358972132205963, 0.23259663581848145, 0.027193143963813782, 0.23521023988723755, 0.37185677886009216, -0.1848255693912506, -0.21907322108745575, 0.501397430896759, -0.13747134804725647, 0.09272608160972595, 0.12032046914100647, 0.07716745138168335, -0.10530299693346024, 0.14638228714466095, -0.06597311794757843, -0.11915998160839081, -0.130649596452713, -0.02997664362192154, -0.026565853506326675, 0.21970845758914948, -0.12309340387582779, -0.014131473377346992, 0.013009808026254177, -0.05718011036515236, 0.3499201834201813, -0.13133558630943298, -0.23450061678886414, -0.130210280418396, -0.1442369669675827, -0.25477635860443115, 0.32391831278800964, 0.14715009927749634, 0.20858311653137207, -0.04822223633527756, -0.28607526421546936, -0.07488815486431122, 0.10930920392274857, 0.03040975332260132, -0.12283635884523392, -0.24883437156677246, 0.17838139832019806, -0.052010294049978256, -0.2867915630340576, -0.1305297464132309, -0.1998538225889206, 0.1627824902534485, 0.0930432379245758, 0.27662593126296997, 0.026609385386109352, 0.17123465240001678, -0.46669572591781616, 0.12458199262619019, -0.11436152458190918, 0.029273854568600655, 0.2274494618177414, -0.15935923159122467, 0.20881135761737823, 0.05553528666496277, -0.2515183091163635, -0.022582821547985077, 0.2813414931297302, -0.10438292473554611, 0.13009771704673767, 0.040765535086393356, -0.11128921806812286, -0.4653012752532959, -0.08434168249368668, -0.3440681993961334, -0.3013874590396881, -0.2342454493045807, -0.0177529938519001, 0.17740151286125183, -0.024642463773489, -0.13855396211147308, -0.03449104353785515, -0.07010912895202637, -0.01652354560792446, 0.4362213909626007, -0.21989215910434723, -0.07399951666593552, -0.23614725470542908, -0.02760833501815796, -0.2136586457490921, 0.2165929526090622, -0.15503358840942383, 0.676252007484436, -0.6070863008499146, 0.0019424885977059603, 0.08629798889160156, 0.08192069083452225, 0.2906535863876343, -0.3911179006099701, -0.06035618484020233, -0.047469232231378555, 0.3726508617401123, 0.07802990823984146, -0.02688744105398655, 0.005287175998091698, 0.11954701691865921, 0.2883607745170593, -0.1542005091905594, -0.0929562970995903, 0.10119405388832092, 0.19007059931755066, -0.23241746425628662, -0.15609467029571533, -0.13803227245807648, -0.14519552886486053, -0.22401824593544006, 0.1816082000732422, -0.05457376688718796, -0.22905251383781433, 0.1784503310918808, 0.3803279995918274, 0.02494976855814457, 0.17358353734016418, 0.005207842215895653, 0.03753719478845596, -0.00879756174981594, -0.19626928865909576, -0.10285372287034988, -0.002199825132265687, 0.05363749712705612, 0.3447425067424774, 0.14905355870723724, -0.04985278099775314, 0.04518694803118706, -0.06496557593345642, 0.16827215254306793, -0.008757471106946468, 0.1148083359003067, 0.20572158694267273, 0.16525262594223022, 0.1604384332895279, 0.21355485916137695, 0.21818402409553528, 0.05326872691512108, -0.1563749611377716, 0.42726266384124756, -0.10281486809253693, -0.34153181314468384, 0.016336003318428993, -0.3484353721141815, -0.43842098116874695, -0.21191135048866272, 0.053389765322208405, 0.22581857442855835, 0.05853164941072464, 0.031545571982860565, -0.16628777980804443, 1.1240919828414917, 0.07542403787374496, -0.22087372839450836, 0.04258336126804352, -0.47262346744537354, 0.22769100964069366, -0.10476692020893097, 0.09004171192646027, -0.26235178112983704, 0.06110979616641998, 0.013327962718904018, -0.044770024716854095, 0.19345572590827942, -0.3187059462070465, -0.2339906245470047, 0.12103113532066345, -0.21886710822582245, -0.011571398004889488, 0.022153666242957115, 0.04185064882040024, 0.056662142276763916, 0.30455854535102844, -0.07131749391555786, 0.38815605640411377, 0.10682836174964905, 0.33280134201049805, -0.14278410375118256, -0.1248350515961647, -0.05002209544181824, -0.41753455996513367, -0.33276546001434326, -0.05308639258146286, -0.3480280935764313, 0.07729529589414597, 0.07503642141819, 0.09147069603204727, -0.08218639343976974, -0.05469174310564995, -0.019294902682304382, 0.1320113092660904, -0.026501499116420746, 0.1753612905740738, 0.003578470554202795, -0.18305139243602753, -0.07305501401424408, 0.04868593439459801, -0.24653410911560059, -0.09903515130281448, -0.5878840088844299, 0.40525659918785095, -0.06318853050470352, -0.17248623073101044, -0.027651555836200714, 0.25291797518730164, 0.27626490592956543, -0.22015804052352905, 0.012355443090200424, -0.23778915405273438, -0.0924583151936531, -0.07304251194000244, 0.3862146735191345, -0.10580605268478394, -0.02646373212337494, 0.12969739735126495, 0.17943009734153748, -0.10726941376924515, -0.06308309733867645, 0.40353259444236755, -0.06549587100744247, -0.06443864107131958, 0.24458086490631104, 0.030628183856606483, -0.24169902503490448, -0.333355188369751, 0.05426664650440216, -0.26614999771118164, -0.147470623254776, -0.41925129294395447, -0.028142010793089867, -0.08574245870113373, 0.0878869891166687, 0.07447288930416107, 0.16734829545021057, 0.39266514778137207, -0.0016825050115585327, -0.22395309805870056, -0.08377029001712799, -0.02031508833169937, 0.09459136426448822, 0.07795540243387222, 0.020744284614920616, -0.05901427939534187, 0.23023228347301483, -0.013514373451471329, -0.5612505674362183, -0.16776998341083527, -0.39478799700737, 0.027251699939370155, 0.007077425252646208, -0.1525280922651291, 0.12830400466918945, -0.15599128603935242, 0.45783424377441406, -0.22639606893062592, -0.25268611311912537, -0.4345833957195282, 0.20992983877658844, 0.01340336725115776, 0.10611481964588165, -0.396657794713974, -0.21847222745418549, -0.1577632874250412, -0.028801120817661285, 0.19138704240322113, -0.20165106654167175, -0.046027570962905884, -0.04942071810364723, -0.2933090031147003, -0.02152695320546627, 0.06473668664693832, -0.21507582068443298, 0.29920142889022827, 0.04856652393937111, 0.5163918137550354, -0.21964585781097412, -0.016485044732689857, -0.05720002204179764, -0.284492552280426, -0.13293012976646423, 0.22835734486579895, -0.0982375219464302, -0.05830634385347366, 0.2904031574726105, -0.025044873356819153, -0.1137877032160759, -0.02937431074678898, 0.2310807704925537, 0.050727952271699905, -0.167631596326828, -0.09160001575946808, 0.001803383813239634, 0.43663448095321655, -0.01293694693595171, 0.053934670984745026, 0.20356415212154388, 0.08994688093662262, -0.04199371859431267, -0.015292326919734478, -0.03552268072962761, -0.3174775242805481, -0.21209098398685455, 0.07495744526386261, 0.04703761264681816, -0.0830446258187294, -0.05016777291893959, 0.15972274541854858, -0.07072870433330536, 0.07177712023258209, 0.10182294994592667, 0.00607281643897295, -0.062941774725914, 0.030017640441656113, -0.24412262439727783, -0.01519817765802145, 0.022623641416430473, 0.07741446048021317, 0.044783931225538254, -0.3207927346229553, 0.07082480937242508, 0.042751990258693695, -0.02073626033961773, -0.30966952443122864, -0.05645298212766647, 0.26225191354751587, -0.17922253906726837, -0.06090373545885086, -0.253165602684021, 0.1748056709766388, -0.1914796382188797, 0.03693867102265358, -0.05306267738342285, -0.10194557160139084, -0.15922822058200836, -0.21693116426467896, 0.26377415657043457, 0.22350864112377167, 0.02840975672006607, 0.039550937712192535, 0.015537980012595654, 0.015280993655323982, -0.05145663022994995, 0.009739439003169537, -0.02708779089152813, -0.025353748351335526, 0.13908280432224274, -0.0012908190255984664, 0.2553386390209198, 0.1112080067396164, 0.36949852108955383, 0.40837907791137695, 0.24291890859603882, 0.14696988463401794, 0.12285063415765762, 0.22719116508960724, -0.059033386409282684, -0.1735696792602539, 0.008726386353373528, 0.42983749508857727, 0.10727644711732864, 0.017734674736857414, 0.394792765378952, -0.2883986532688141, 0.22498811781406403, -0.10248979926109314, 0.21099840104579926, 0.2861284613609314, -0.0194504763931036, -0.15057192742824554, -0.04473249241709709, -0.48128435015678406, 0.05176970362663269, -0.4502829611301422, 0.1196063831448555, 0.09870091080665588, -0.0748419463634491, 0.30359530448913574, -0.07398487627506256, 0.2164679914712906, -0.2756630778312683, 0.3082049489021301, 0.21743687987327576, 0.22706393897533417, -0.19155380129814148, -0.33322209119796753, -0.0460343100130558, 0.33667635917663574, -0.022651653736829758, 0.020705334842205048, -0.14327292144298553, 0.027307456359267235, -0.07955481112003326, -0.13396646082401276, 0.26177284121513367, -0.02807122841477394, -0.2142777442932129, 0.16837763786315918, -0.09863947331905365, -0.16982822120189667, 0.3560609817504883, -0.04663665220141411, -0.17235997319221497, 0.00627068942412734, 0.42010757327079773, -0.15976454317569733, 0.37693503499031067, -0.005825534462928772, -0.1554705798625946, -0.16121350228786469, 0.1522216796875, 0.3013761341571808, 0.11352328956127167, 0.6354653239250183, -0.12326926738023758, -0.0376376137137413, -0.000156527865328826, -0.288933128118515, 0.2577939033508301, 0.18880538642406464, 0.03258517012000084, -0.0915394052863121, 0.06430692225694656, 0.10686512291431427, -0.21641913056373596, 0.2216133028268814, -0.08012909442186356, 0.3031158745288849, -0.033198170363903046, -0.04633843153715134, -0.019460776820778847, 0.08004239946603775, -0.037063390016555786, -0.19281139969825745, 0.10197294503450394, -0.050361517816782, -0.23789845407009125, -0.05969392508268356, 0.15198558568954468, 0.25074490904808044, 0.02205912210047245, -0.35918354988098145, 0.36760368943214417, 0.0065324995666742325, 0.22784271836280823, -0.09698403626680374, -0.1006067544221878, 0.24632525444030762, -0.15625736117362976, -0.09777562320232391, 0.14946208894252777, -0.12805508077144623, 0.14184917509555817, 0.0722910538315773, 0.005473218858242035, -0.12045186012983322, -0.23488831520080566, -0.13246679306030273, 0.10927341878414154 ]
https://github.com/huggingface/datasets/issues/1594
connection error
Hi @lhoestq thank you for the modification, I will use`script_version="master"` for now :), to my experience, also setting timeout to a larger number like 3*60 which I normally use helps a lot on this.
Hi I am hitting to this error, thanks ``` > Traceback (most recent call last): File "finetune_t5_trainer.py", line 379, in <module> main() File "finetune_t5_trainer.py", line 208, in main if training_args.do_eval or training_args.evaluation_strategy != EvaluationStrategy.NO File "finetune_t5_trainer.py", line 207, in <dictcomp> for task in data_args.eval_tasks} File "/workdir/seq2seq/data/tasks.py", line 70, in get_dataset dataset = self.load_dataset(split=split) File "/workdir/seq2seq/data/tasks.py", line 66, in load_dataset return datasets.load_dataset(self.task.name, split=split, script_version="master") File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 267, in prepare_module local_path = cached_path(file_path, download_config=download_config) File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 487, in get_from_cache raise ConnectionError("Couldn't reach {}".format(url)) ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/master/datasets/boolq/boolq.py el/0 I1217 01:11:33.898849 354161 main shadow.py:210 Current job status: FINISHED ```
34
connection error
[ -0.16574177145957947, -0.18526379764080048, -0.21125249564647675, 0.1590956598520279, 0.32506391406059265, -0.1492200344800949, 0.007137581240385771, 0.01957029476761818, -0.051769208163022995, 0.15277838706970215, 0.04168260842561722, -0.21183094382286072, 0.3094436824321747, -0.04456087201833725, -0.20858129858970642, -0.06025233864784241, -0.28296715021133423, 0.27290165424346924, -0.1713848114013672, 0.05710302293300629, 0.01030272152274847, 0.18253129720687866, -0.1271403431892395, 0.21604618430137634, -0.05832051858305931, 0.09084287285804749, 0.23718678951263428, 0.11933987587690353, -0.1284385770559311, -0.19729647040367126, -0.08618161082267761, -0.04691038280725479, -0.014156719669699669, 0.20195700228214264, -0.00008730264380574226, -0.02066470868885517, 0.3890641927719116, -0.035659048706293106, -0.1558997482061386, 0.21323361992835999, -0.3735155165195465, 0.005944396369159222, 0.14594919979572296, -0.12619958817958832, -0.12368164956569672, -0.04332786425948143, 0.11902488768100739, -0.009231994859874249, 0.417294979095459, 0.2525070607662201, 0.45656830072402954, 0.07017385214567184, 0.3664472997188568, -0.10791945457458496, -0.0355309396982193, -0.22869214415550232, 0.09949959814548492, 0.3051098585128784, -0.03756643459200859, -0.018857277929782867, 0.06940067559480667, -0.15293899178504944, 0.08192723244428635, -0.1471869796514511, 0.06447278708219528, -0.20201817154884338, 0.3577934205532074, -0.040274959057569504, 0.3469737768173218, -0.0542871467769146, 0.3003045618534088, 0.16989775002002716, 0.16783538460731506, 0.5570046305656433, 0.0757768377661705, 0.0428922139108181, 0.4790990650653839, 0.11644069850444794, -0.28270423412323, 0.20355676114559174, 0.10647082328796387, -0.25984588265419006, -0.3151909410953522, 0.21318283677101135, -0.1457795649766922, 0.189838707447052, 0.019027745351195335, 0.07784976810216904, -0.06993886083364487, -0.1806088089942932, 0.14741359651088715, -0.002844741800799966, -0.1358870565891266, -0.12496635317802429, -0.007844148203730583, 0.03803010284900665, 0.02723303996026516, 0.0766538456082344, -0.0526447519659996, -0.16754509508609772, -0.04038931429386139, 0.17850951850414276, 0.16320063173770905, 0.09146324545145035, -0.043138287961483, -0.18342489004135132, 0.010994838550686836, -0.1344044804573059, 0.1404031366109848, 0.16028065979480743, -0.14044611155986786, -0.044691137969493866, -0.05682045966386795, -0.31416359543800354, 0.0715382918715477, -0.051472920924425125, 0.09297534823417664, -0.009927108883857727, -0.05332202836871147, 0.17553330957889557, -0.1741626262664795, -0.036753829568624496, -0.04487983509898186, 0.3047639727592468, -0.19877441227436066, -0.07117319107055664, 0.236214742064476, -0.06496818363666534, -0.07724649459123611, -0.2137242704629898, -0.2596064805984497, -0.06860288232564926, -0.15021178126335144, -0.21979306638240814, -0.09401970356702805, 0.13278841972351074, -0.04191935062408447, -0.02187913842499256, -0.00019542408699635416, -0.24827764928340912, 0.06294365227222443, -0.06413142383098602, -0.08072778582572937, 0.24316902458667755, 0.050656940788030624, -0.06910572201013565, 0.10924801975488663, -0.055214956402778625, 0.15509769320487976, -0.09675765037536621, -0.09903734922409058, -0.22127152979373932, -0.2897481620311737, 0.4060862958431244, 0.27547308802604675, 0.11635924875736237, 0.4096847474575043, -0.32683002948760986, -0.16121482849121094, -0.3387044370174408, -0.19825156033039093, -0.1756230741739273, -0.09985481202602386, -0.22773966193199158, 0.3098227083683014, 0.1791074275970459, -0.02922089211642742, 0.035357579588890076, 0.10807771235704422, -0.2016938328742981, 0.0735190361738205, 0.10086684674024582, -0.174884632229805, 0.06538186967372894, -0.24181106686592102, 0.009430360049009323, 0.40782874822616577, -0.2723170518875122, -0.33490508794784546, 0.16888536512851715, -0.20857803523540497, -0.3119204342365265, -0.18187087774276733, -0.09426425397396088, 0.03771812096238136, 0.13425621390342712, 0.3371146321296692, 0.09648410230875015, -0.03163541480898857, -0.12673036754131317, -0.12667666375637054, -0.20444649457931519, -0.14642822742462158, -0.24414871633052826, 0.18000531196594238, 0.19994650781154633, 0.27317240834236145, -0.1169973611831665, 0.16531702876091003, 0.3129616379737854, 0.032746147364377975, 0.22423171997070312, 0.21840991079807281, 0.11579810827970505, -0.15252874791622162, 0.36748847365379333, 0.013207989744842052, -0.03804561868309975, 0.003919894341379404, 0.3546774685382843, -0.0871138647198677, 0.2084638625383377, -0.26434803009033203, 0.08122702687978745, -0.00877698976546526, 0.4296504855155945, 0.45835593342781067, 0.23895573616027832, -0.040040165185928345, 0.04025842249393463, 0.15068425238132477, 0.15933114290237427, -0.18522804975509644, 0.10183532536029816, 0.09713270515203476, 0.2187126725912094, -0.39747387170791626, -0.05711571127176285, 0.05093126371502876, -0.07281749695539474, 0.465481698513031, -0.055991366505622864, -0.07615058869123459, 0.1738114356994629, -0.3032810389995575, 0.1706697642803192, 0.22873058915138245, 0.10960201919078827, 0.022532768547534943, -0.6027524471282959, -0.12623713910579681, 0.09532567858695984, 0.2199668437242508, -0.07051511108875275, 0.6874129176139832, -0.08293773233890533, -0.00821598805487156, 0.04741101339459419, -0.03601878508925438, 0.26818686723709106, 0.29697370529174805, 0.019838854670524597, 0.07352256029844284, -0.0018562690820544958, 0.01963258534669876, 0.07901819050312042, -0.16538596153259277, -0.29574424028396606, -0.18731829524040222, -0.18179789185523987, -0.1826665699481964, 0.05649445950984955, 0.2017679214477539, 0.0906681939959526, 0.12853582203388214, 0.0034602058585733175, 0.20476627349853516, 0.012901769950985909, 0.3592259883880615, 0.05976448953151703, -0.08253642916679382, 0.2914111316204071, -0.025109654292464256, -0.09313910454511642, 0.297943115234375, 0.06994765251874924, 0.08216542750597, 0.2147095501422882, -0.0640999972820282, -0.09643483906984329, -0.06553816050291061, -0.16550369560718536, -0.18400953710079193, 0.20074042677879333, -0.17596399784088135, 0.11178600043058395, -0.049073003232479095, -0.23539608716964722, 0.023111678659915924, -0.061253614723682404, -0.28291085362434387, -0.2832752764225006, -0.09420240670442581, 0.11127465963363647, 0.14383378624916077, 0.12983520328998566, -0.2791392505168915, 0.23104451596736908, 0.09030517935752869, 0.19233958423137665, -0.10378152132034302, 0.0032641098368912935, -0.2043149471282959, 0.2569446563720703, 0.03989935666322708, -0.04484569653868675, 0.19015203416347504, -0.3580209016799927, -0.1369289755821228, -0.13377387821674347, -0.017562344670295715, 0.17358972132205963, 0.23259663581848145, 0.027193143963813782, 0.23521023988723755, 0.37185677886009216, -0.1848255693912506, -0.21907322108745575, 0.501397430896759, -0.13747134804725647, 0.09272608160972595, 0.12032046914100647, 0.07716745138168335, -0.10530299693346024, 0.14638228714466095, -0.06597311794757843, -0.11915998160839081, -0.130649596452713, -0.02997664362192154, -0.026565853506326675, 0.21970845758914948, -0.12309340387582779, -0.014131473377346992, 0.013009808026254177, -0.05718011036515236, 0.3499201834201813, -0.13133558630943298, -0.23450061678886414, -0.130210280418396, -0.1442369669675827, -0.25477635860443115, 0.32391831278800964, 0.14715009927749634, 0.20858311653137207, -0.04822223633527756, -0.28607526421546936, -0.07488815486431122, 0.10930920392274857, 0.03040975332260132, -0.12283635884523392, -0.24883437156677246, 0.17838139832019806, -0.052010294049978256, -0.2867915630340576, -0.1305297464132309, -0.1998538225889206, 0.1627824902534485, 0.0930432379245758, 0.27662593126296997, 0.026609385386109352, 0.17123465240001678, -0.46669572591781616, 0.12458199262619019, -0.11436152458190918, 0.029273854568600655, 0.2274494618177414, -0.15935923159122467, 0.20881135761737823, 0.05553528666496277, -0.2515183091163635, -0.022582821547985077, 0.2813414931297302, -0.10438292473554611, 0.13009771704673767, 0.040765535086393356, -0.11128921806812286, -0.4653012752532959, -0.08434168249368668, -0.3440681993961334, -0.3013874590396881, -0.2342454493045807, -0.0177529938519001, 0.17740151286125183, -0.024642463773489, -0.13855396211147308, -0.03449104353785515, -0.07010912895202637, -0.01652354560792446, 0.4362213909626007, -0.21989215910434723, -0.07399951666593552, -0.23614725470542908, -0.02760833501815796, -0.2136586457490921, 0.2165929526090622, -0.15503358840942383, 0.676252007484436, -0.6070863008499146, 0.0019424885977059603, 0.08629798889160156, 0.08192069083452225, 0.2906535863876343, -0.3911179006099701, -0.06035618484020233, -0.047469232231378555, 0.3726508617401123, 0.07802990823984146, -0.02688744105398655, 0.005287175998091698, 0.11954701691865921, 0.2883607745170593, -0.1542005091905594, -0.0929562970995903, 0.10119405388832092, 0.19007059931755066, -0.23241746425628662, -0.15609467029571533, -0.13803227245807648, -0.14519552886486053, -0.22401824593544006, 0.1816082000732422, -0.05457376688718796, -0.22905251383781433, 0.1784503310918808, 0.3803279995918274, 0.02494976855814457, 0.17358353734016418, 0.005207842215895653, 0.03753719478845596, -0.00879756174981594, -0.19626928865909576, -0.10285372287034988, -0.002199825132265687, 0.05363749712705612, 0.3447425067424774, 0.14905355870723724, -0.04985278099775314, 0.04518694803118706, -0.06496557593345642, 0.16827215254306793, -0.008757471106946468, 0.1148083359003067, 0.20572158694267273, 0.16525262594223022, 0.1604384332895279, 0.21355485916137695, 0.21818402409553528, 0.05326872691512108, -0.1563749611377716, 0.42726266384124756, -0.10281486809253693, -0.34153181314468384, 0.016336003318428993, -0.3484353721141815, -0.43842098116874695, -0.21191135048866272, 0.053389765322208405, 0.22581857442855835, 0.05853164941072464, 0.031545571982860565, -0.16628777980804443, 1.1240919828414917, 0.07542403787374496, -0.22087372839450836, 0.04258336126804352, -0.47262346744537354, 0.22769100964069366, -0.10476692020893097, 0.09004171192646027, -0.26235178112983704, 0.06110979616641998, 0.013327962718904018, -0.044770024716854095, 0.19345572590827942, -0.3187059462070465, -0.2339906245470047, 0.12103113532066345, -0.21886710822582245, -0.011571398004889488, 0.022153666242957115, 0.04185064882040024, 0.056662142276763916, 0.30455854535102844, -0.07131749391555786, 0.38815605640411377, 0.10682836174964905, 0.33280134201049805, -0.14278410375118256, -0.1248350515961647, -0.05002209544181824, -0.41753455996513367, -0.33276546001434326, -0.05308639258146286, -0.3480280935764313, 0.07729529589414597, 0.07503642141819, 0.09147069603204727, -0.08218639343976974, -0.05469174310564995, -0.019294902682304382, 0.1320113092660904, -0.026501499116420746, 0.1753612905740738, 0.003578470554202795, -0.18305139243602753, -0.07305501401424408, 0.04868593439459801, -0.24653410911560059, -0.09903515130281448, -0.5878840088844299, 0.40525659918785095, -0.06318853050470352, -0.17248623073101044, -0.027651555836200714, 0.25291797518730164, 0.27626490592956543, -0.22015804052352905, 0.012355443090200424, -0.23778915405273438, -0.0924583151936531, -0.07304251194000244, 0.3862146735191345, -0.10580605268478394, -0.02646373212337494, 0.12969739735126495, 0.17943009734153748, -0.10726941376924515, -0.06308309733867645, 0.40353259444236755, -0.06549587100744247, -0.06443864107131958, 0.24458086490631104, 0.030628183856606483, -0.24169902503490448, -0.333355188369751, 0.05426664650440216, -0.26614999771118164, -0.147470623254776, -0.41925129294395447, -0.028142010793089867, -0.08574245870113373, 0.0878869891166687, 0.07447288930416107, 0.16734829545021057, 0.39266514778137207, -0.0016825050115585327, -0.22395309805870056, -0.08377029001712799, -0.02031508833169937, 0.09459136426448822, 0.07795540243387222, 0.020744284614920616, -0.05901427939534187, 0.23023228347301483, -0.013514373451471329, -0.5612505674362183, -0.16776998341083527, -0.39478799700737, 0.027251699939370155, 0.007077425252646208, -0.1525280922651291, 0.12830400466918945, -0.15599128603935242, 0.45783424377441406, -0.22639606893062592, -0.25268611311912537, -0.4345833957195282, 0.20992983877658844, 0.01340336725115776, 0.10611481964588165, -0.396657794713974, -0.21847222745418549, -0.1577632874250412, -0.028801120817661285, 0.19138704240322113, -0.20165106654167175, -0.046027570962905884, -0.04942071810364723, -0.2933090031147003, -0.02152695320546627, 0.06473668664693832, -0.21507582068443298, 0.29920142889022827, 0.04856652393937111, 0.5163918137550354, -0.21964585781097412, -0.016485044732689857, -0.05720002204179764, -0.284492552280426, -0.13293012976646423, 0.22835734486579895, -0.0982375219464302, -0.05830634385347366, 0.2904031574726105, -0.025044873356819153, -0.1137877032160759, -0.02937431074678898, 0.2310807704925537, 0.050727952271699905, -0.167631596326828, -0.09160001575946808, 0.001803383813239634, 0.43663448095321655, -0.01293694693595171, 0.053934670984745026, 0.20356415212154388, 0.08994688093662262, -0.04199371859431267, -0.015292326919734478, -0.03552268072962761, -0.3174775242805481, -0.21209098398685455, 0.07495744526386261, 0.04703761264681816, -0.0830446258187294, -0.05016777291893959, 0.15972274541854858, -0.07072870433330536, 0.07177712023258209, 0.10182294994592667, 0.00607281643897295, -0.062941774725914, 0.030017640441656113, -0.24412262439727783, -0.01519817765802145, 0.022623641416430473, 0.07741446048021317, 0.044783931225538254, -0.3207927346229553, 0.07082480937242508, 0.042751990258693695, -0.02073626033961773, -0.30966952443122864, -0.05645298212766647, 0.26225191354751587, -0.17922253906726837, -0.06090373545885086, -0.253165602684021, 0.1748056709766388, -0.1914796382188797, 0.03693867102265358, -0.05306267738342285, -0.10194557160139084, -0.15922822058200836, -0.21693116426467896, 0.26377415657043457, 0.22350864112377167, 0.02840975672006607, 0.039550937712192535, 0.015537980012595654, 0.015280993655323982, -0.05145663022994995, 0.009739439003169537, -0.02708779089152813, -0.025353748351335526, 0.13908280432224274, -0.0012908190255984664, 0.2553386390209198, 0.1112080067396164, 0.36949852108955383, 0.40837907791137695, 0.24291890859603882, 0.14696988463401794, 0.12285063415765762, 0.22719116508960724, -0.059033386409282684, -0.1735696792602539, 0.008726386353373528, 0.42983749508857727, 0.10727644711732864, 0.017734674736857414, 0.394792765378952, -0.2883986532688141, 0.22498811781406403, -0.10248979926109314, 0.21099840104579926, 0.2861284613609314, -0.0194504763931036, -0.15057192742824554, -0.04473249241709709, -0.48128435015678406, 0.05176970362663269, -0.4502829611301422, 0.1196063831448555, 0.09870091080665588, -0.0748419463634491, 0.30359530448913574, -0.07398487627506256, 0.2164679914712906, -0.2756630778312683, 0.3082049489021301, 0.21743687987327576, 0.22706393897533417, -0.19155380129814148, -0.33322209119796753, -0.0460343100130558, 0.33667635917663574, -0.022651653736829758, 0.020705334842205048, -0.14327292144298553, 0.027307456359267235, -0.07955481112003326, -0.13396646082401276, 0.26177284121513367, -0.02807122841477394, -0.2142777442932129, 0.16837763786315918, -0.09863947331905365, -0.16982822120189667, 0.3560609817504883, -0.04663665220141411, -0.17235997319221497, 0.00627068942412734, 0.42010757327079773, -0.15976454317569733, 0.37693503499031067, -0.005825534462928772, -0.1554705798625946, -0.16121350228786469, 0.1522216796875, 0.3013761341571808, 0.11352328956127167, 0.6354653239250183, -0.12326926738023758, -0.0376376137137413, -0.000156527865328826, -0.288933128118515, 0.2577939033508301, 0.18880538642406464, 0.03258517012000084, -0.0915394052863121, 0.06430692225694656, 0.10686512291431427, -0.21641913056373596, 0.2216133028268814, -0.08012909442186356, 0.3031158745288849, -0.033198170363903046, -0.04633843153715134, -0.019460776820778847, 0.08004239946603775, -0.037063390016555786, -0.19281139969825745, 0.10197294503450394, -0.050361517816782, -0.23789845407009125, -0.05969392508268356, 0.15198558568954468, 0.25074490904808044, 0.02205912210047245, -0.35918354988098145, 0.36760368943214417, 0.0065324995666742325, 0.22784271836280823, -0.09698403626680374, -0.1006067544221878, 0.24632525444030762, -0.15625736117362976, -0.09777562320232391, 0.14946208894252777, -0.12805508077144623, 0.14184917509555817, 0.0722910538315773, 0.005473218858242035, -0.12045186012983322, -0.23488831520080566, -0.13246679306030273, 0.10927341878414154 ]
https://github.com/huggingface/datasets/issues/1593
Access to key in DatasetDict map
Indeed that would be cool Also FYI right now the easiest way to do this is ```python dataset_dict["train"] = dataset_dict["train"].map(my_transform_for_the_train_set) dataset_dict["test"] = dataset_dict["test"].map(my_transform_for_the_test_set) ```
It is possible that we want to do different things in the `map` function (and possibly other functions too) of a `DatasetDict`, depending on the key. I understand that `DatasetDict.map` is a really thin wrapper of `Dataset.map`, so it is easy to directly implement this functionality in the client code. Still, it'd be nice if there can be a flag, similar to `with_indices`, that allows the callable to know the key inside `DatasetDict`.
24
Access to key in DatasetDict map
[ -0.09510444849729538, -0.11409293115139008, -0.30054131150245667, 0.1090625673532486, -0.09120754897594452, -0.00842159055173397, 0.015979304909706116, -0.12768514454364777, 0.40823259949684143, 0.18765772879123688, 0.06086628884077072, 0.3904142379760742, -0.0285778921097517, 0.29026955366134644, 0.09248816967010498, 0.18053485453128815, -0.08518346399068832, 0.09242929518222809, 0.024252455681562424, -0.01200017984956503, -0.23017869889736176, -0.0741933286190033, -0.32572057843208313, 0.26387566328048706, 0.02967110648751259, -0.29449108242988586, -0.0891689583659172, 0.04999605566263199, -0.1503024399280548, -0.3691849708557129, 0.04142819344997406, 0.48842623829841614, -0.15091413259506226, 0.07970152050256729, -0.000105447688838467, 0.061035264283418655, 0.06699983775615692, 0.125435933470726, -0.40632715821266174, 0.10533233731985092, -0.452790766954422, -0.16101452708244324, -0.1764957755804062, -0.603748619556427, -0.05589405819773674, -0.03266272693872452, 0.13151970505714417, -0.44266393780708313, 0.17950260639190674, 0.04644059017300606, 0.2886814475059509, 0.10389989614486694, 0.19952857494354248, -0.05246514827013016, -0.0018748773727566004, 0.12574169039726257, 0.09902970492839813, 0.01146967988461256, 0.32907962799072266, 0.05967776104807854, -0.10946017503738403, 0.24004419147968292, 0.10256730765104294, -0.05982182174921036, 0.31648287177085876, 0.17285490036010742, -0.15186110138893127, 0.19917739927768707, 0.35616153478622437, -0.11314558237791061, 0.46379804611206055, -0.404152512550354, -0.24128949642181396, -0.007593296933919191, -0.11441189795732498, 0.07633514702320099, 0.07339909672737122, -0.2081119418144226, 0.07236885279417038, 0.4422045946121216, 0.06626380234956741, -0.32729387283325195, -0.2517693042755127, -0.012604543939232826, -0.24020110070705414, 0.19541431963443756, 0.007374320644885302, 0.17229218780994415, -0.0689171552658081, -0.29627856612205505, 0.08911614865064621, -0.13260067999362946, -0.12207207828760147, 0.25070086121559143, 0.12383370101451874, -0.07486572116613388, 0.23041270673274994, 0.15837940573692322, 0.06687072664499283, -0.5112972259521484, 0.23447400331497192, 0.2968636155128479, -0.22198359668254852, 0.06369306147098541, 0.3035133183002472, -0.12087978422641754, 0.3058881461620331, 0.6379327774047852, 0.4778652489185333, -0.2597837448120117, -0.11624100804328918, -0.03955477103590965, 0.16316980123519897, -0.1601237803697586, 0.19291985034942627, 0.24514593183994293, 0.2638980746269226, 0.03010065294802189, -0.03325120732188225, 0.08788877725601196, -0.004373613744974136, -0.07361645251512527, 0.16660179197788239, 0.3083890676498413, 0.14805546402931213, -0.20314519107341766, 0.12269056588411331, -0.17001476883888245, 0.10096731781959534, -0.07880570739507675, -0.4057599902153015, -0.04761543869972229, 0.0676264688372612, -0.13397002220153809, 0.18862654268741608, 0.10249796509742737, -0.09279655665159225, -0.16418732702732086, -0.34599021077156067, -0.10401106625795364, 0.01606830768287182, -0.037830501794815063, 0.29487714171409607, 0.0012427202891558409, -0.19968368113040924, 0.046197015792131424, 0.0017131245695054531, -0.2405182123184204, -0.04704152047634125, 0.14906132221221924, -0.007369204889982939, -0.16668175160884857, 0.3326944410800934, 0.26069122552871704, 0.1759072244167328, 0.007862837985157967, -0.012791170738637447, 0.3182893991470337, 0.05510770529508591, -0.04017304629087448, 0.014437523670494556, 0.23897209763526917, -0.46764686703681946, -0.21593357622623444, 0.056379497051239014, 0.2217114120721817, -0.5824281573295593, -0.03541876748204231, 0.17226023972034454, -0.3351750373840332, -0.125596284866333, -0.09531720727682114, -0.25143808126449585, 0.4235857129096985, -0.11672990024089813, 0.18699201941490173, 0.5453758835792542, -0.35269221663475037, -0.9652267694473267, 0.03764777630567551, -0.2790796458721161, -0.32568952441215515, 0.06742382794618607, 0.1367444097995758, 0.235854372382164, 0.01931033656001091, 0.46079036593437195, -0.005829622969031334, 0.29645398259162903, 0.14091075956821442, 0.16103807091712952, -0.012471948750317097, 0.017783459275960922, -0.053270373493433, -0.1501280516386032, 0.09078072756528854, 0.3943619728088379, 0.032501768320798874, 0.1619233340024948, -0.1371970772743225, 0.10086699575185776, 0.12431848794221878, -0.02962326630949974, -0.015519330278038979, -0.004667803645133972, -0.020747236907482147, -0.2532919645309448, 0.2634679973125458, 0.07868935167789459, -0.4093310236930847, -0.3627893030643463, -0.246160626411438, -0.2248050570487976, 0.3741088807582855, -0.02325434423983097, 0.259033739566803, 0.3047575354576111, -0.21759416162967682, 0.11516193300485611, -0.032541289925575256, -0.025937993079423904, 0.013993602246046066, -0.07199309766292572, -0.15779919922351837, -0.08079234510660172, -0.1761561781167984, -0.15922220051288605, 0.22777682542800903, -0.017282819375395775, 0.2739698588848114, 0.16234838962554932, 0.20069479942321777, 0.031149910762906075, 0.11183258146047592, 0.12537461519241333, -0.08265931159257889, 0.18167030811309814, 0.18620812892913818, 0.20274761319160461, -0.11510509252548218, 0.13869710266590118, 0.12975561618804932, 0.3102082312107086, -0.08797004073858261, -0.3123597800731659, 0.42362844944000244, 0.11427528411149979, 0.08586134016513824, -0.020683597773313522, 0.06734254956245422, 0.303146630525589, 0.04319857060909271, -0.11197077482938766, -0.41341060400009155, -0.20155775547027588, -0.3002253770828247, 0.05928213894367218, 0.04868809133768082, 0.05084672570228577, 0.2848352789878845, 0.29858362674713135, 0.057650838047266006, 0.19264526665210724, -0.3446110188961029, -0.22870002686977386, 0.09874258190393448, -0.017061274498701096, 0.3916836977005005, 0.08719725161790848, 0.14417147636413574, 0.1423633098602295, 0.005177631508558989, 0.02898414619266987, -0.1179036945104599, 0.062132980674505234, 0.0417817160487175, -0.3553507924079895, -0.012361056171357632, 0.05427996441721916, -0.15485352277755737, -0.039312027394771576, 0.010316929779946804, 0.19177357852458954, 0.10747057944536209, -0.2793031334877014, -0.05717848613858223, -0.20039334893226624, -0.24845166504383087, 0.3933955132961273, 0.03831227123737335, 0.19570931792259216, -0.37325167655944824, -0.0037468746304512024, -0.003653140040114522, -0.15465086698532104, 0.05690537393093109, -0.1613597869873047, 0.007319500204175711, -0.026817595586180687, 0.08688545972108841, 0.008566480129957199, -0.5896766185760498, 0.1434885561466217, 0.15751202404499054, -0.01585404761135578, 0.10538811981678009, 0.3820389211177826, 0.1395290493965149, 0.12852421402931213, -0.42509326338768005, -0.14777658879756927, -0.0027172688860446215, 0.11111228168010712, -0.2591763138771057, 0.2825344204902649, 0.18725547194480896, -0.20127616822719574, 0.08329306542873383, 0.08337763696908951, 0.021947994828224182, -0.3940609395503998, -0.04793816804885864, -0.0616871677339077, -0.35655155777931213, 0.01463009137660265, -0.023130180314183235, -0.3435118794441223, -0.14036861062049866, 0.27839845418930054, -0.15755529701709747, 0.24286150932312012, -0.07679656893014908, -0.250001460313797, 0.2423257678747177, 0.10872228443622589, 0.15796233713626862, -0.3668637275695801, 0.041662197560071945, -0.025579435750842094, -0.17040884494781494, -0.4424970746040344, 0.18821318447589874, -0.13159170746803284, 0.12547560036182404, 0.15443755686283112, -0.05264925956726074, 0.23462459444999695, -0.17905831336975098, 0.43885093927383423, 0.13797152042388916, 0.09652368724346161, 0.2782198488712311, 0.06831561774015427, -0.09136005491018295, -0.1802152693271637, -0.24077381193637848, 0.13375188410282135, 0.039389558136463165, -0.09283530712127686, 0.2540983259677887, 0.18872715532779694, -0.12059316039085388, 0.5000771880149841, -0.10788345336914062, -0.11889085918664932, 0.11082832515239716, -0.06125250831246376, 0.02944321557879448, 0.025023704394698143, -0.27410638332366943, -0.2011537253856659, 0.18126916885375977, 0.14819331467151642, 0.03247182443737984, -0.05232933908700943, -0.1381131261587143, -0.01885218359529972, -0.3714431822299957, -0.4239966571331024, -0.4100167751312256, -0.2637234032154083, -0.13969720900058746, 0.16879230737686157, 0.2974358797073364, 0.11640691012144089, -0.5013896226882935, 0.10137172788381577, 0.04428005591034889, -0.12050981819629669, 0.11882317066192627, -0.1923235058784485, -0.3878466486930847, -0.34652072191238403, -0.4041512906551361, 0.2833499610424042, -0.06767398118972778, 0.1672200709581375, -0.16053354740142822, 0.01984505169093609, 0.3483034670352936, -0.01609431765973568, 0.8047835826873779, -0.10445813834667206, 0.42219066619873047, -0.053754113614559174, -0.15314415097236633, -0.23181433975696564, 0.32582151889801025, -0.10144680738449097, 0.5615927577018738, -0.22888417541980743, 0.4555341899394989, -0.19404567778110504, 0.17254501581192017, -0.20895631611347198, -0.17531774938106537, -0.25743114948272705, -0.20227299630641937, 0.16791583597660065, -0.13455764949321747, -0.3192666471004486, 0.1638055145740509, 0.20290343463420868, 0.08548593521118164, 0.36330267786979675, -0.04783054068684578, -0.2518065571784973, 0.05467754974961281, -0.07586470246315002, 0.2632125914096832, 0.3113681674003601, 0.15422482788562775, 0.1905328780412674, 0.4483087956905365, 0.24119780957698822, -0.004876624792814255, 0.3241974413394928, 0.15999619662761688, 0.011896254494786263, 0.15619109570980072, -0.11354418098926544, 0.20583711564540863, 0.2301102876663208, -0.06801529973745346, 0.12510856986045837, 0.29841527342796326, -0.4128604233264923, -0.10890527069568634, -0.15644940733909607, -0.03352527692914009, 0.26753637194633484, -0.2922649681568146, -0.3607270419597626, -0.044500961899757385, 0.07175549119710922, -0.5316588878631592, 0.31459078192710876, 0.1392703503370285, -0.3562562167644501, 0.45998045802116394, -0.06925599277019501, 0.6380865573883057, -0.08373826742172241, 0.20114976167678833, -0.3334750235080719, -0.222619891166687, 0.0726834163069725, 0.1049000695347786, -0.0657251700758934, -0.34552887082099915, -0.37146708369255066, -0.0759134441614151, -0.07224532961845398, 0.008545451797544956, 0.2068232297897339, -0.13388293981552124, -0.14805766940116882, 0.2787933945655823, 0.04168261960148811, -0.21478044986724854, 0.14210952818393707, 0.14108261466026306, -0.05384627357125282, 0.01237442810088396, 0.23272418975830078, -0.10183895379304886, 0.058511681854724884, -0.046346407383680344, 0.08694066852331161, -0.22295057773590088, -0.3639553189277649, -0.0506855845451355, -0.21532465517520905, -0.3994565010070801, 0.4124235212802887, 0.1128666028380394, -0.01572462171316147, -0.013685167767107487, 0.3971659541130066, 0.3919728994369507, 0.4599040150642395, -0.03944927826523781, 0.2025330811738968, 0.3427650034427643, 0.15175952017307281, -0.19090433418750763, 0.17141936719417572, -0.10184178501367569, 0.031882524490356445, -0.4443914294242859, 0.13592791557312012, -0.01035760622471571, -0.28594809770584106, -0.360400915145874, 0.3039519786834717, -0.016944559291005135, -0.20092140138149261, -0.1495692878961563, -0.13029949367046356, -0.11191621422767639, -0.09334027767181396, 0.21472501754760742, 0.0378565713763237, 0.01590345986187458, 0.24725700914859772, -0.060830481350421906, -0.18099470436573029, 0.15797951817512512, 0.6650412678718567, 0.020993834361433983, 0.3264314830303192, 0.47772055864334106, -0.17288292944431305, -0.3289440870285034, -0.2573246359825134, -0.18403111398220062, 0.16363653540611267, 0.14390461146831512, -0.02056730166077614, 0.1490766406059265, -0.026575390249490738, -0.09757998585700989, 0.4330065846443176, 0.07070137560367584, 0.05889485031366348, -0.2506420910358429, -0.1885603964328766, -0.5721379518508911, 0.23394270241260529, 0.04884912073612213, 0.2373718023300171, 0.1866084635257721, -0.1768840253353119, -0.2692722976207733, 0.24592795968055725, -0.407677561044693, -0.13929401338100433, 0.03735671192407608, -0.00410153903067112, 0.18569141626358032, 0.07199025899171829, -0.04010649770498276, -0.20436644554138184, 0.2867877185344696, 0.10562919825315475, 0.04365961253643036, -0.3900453746318817, 0.015941040590405464, 0.03727345168590546, 0.05104843154549599, 0.08681324124336243, -0.2537132799625397, -0.3927019238471985, 0.060863640159368515, 0.037805646657943726, 0.2089916318655014, 0.3992854058742523, 0.1388094574213028, 0.23018942773342133, 0.4085578918457031, 0.2928682267665863, 0.13405200839042664, 0.275906503200531, 0.07018745690584183, -0.02093213051557541, -0.10060052573680878, 0.16988609731197357, -0.2829858660697937, -0.024588843807578087, 0.03560379147529602, 0.1486540287733078, -0.04955258220434189, 0.022000595927238464, 0.08146543055772781, -0.09547632187604904, -0.1758349984884262, 0.46585211157798767, 0.11224598437547684, -0.08049438893795013, -0.19955362379550934, 0.06945686042308807, 0.03916843980550766, 0.2661282420158386, -0.20142585039138794, -0.18612930178642273, 0.4114071726799011, -0.1265370100736618, 0.22495152056217194, 0.06839834898710251, -0.08686083555221558, -0.18226926028728485, -0.1318274736404419, -0.14173178374767303, 0.22946591675281525, -0.23154519498348236, -0.014513135887682438, 0.44871777296066284, 0.017080014571547508, -0.1595858484506607, 0.347874253988266, 0.703545868396759, 0.06511086970567703, 0.4606442153453827, -0.0979427620768547, -0.17471212148666382, 0.2495006024837494, 0.27040576934814453, 0.14196334779262543, -0.2214348167181015, 0.3044734299182892, 0.022412126883864403, -0.16231605410575867, -0.07494799792766571, 0.2066340446472168, -0.1314653605222702, -0.02077946811914444, 0.10243722051382065, -0.013263332657516003, -0.09136536717414856, -0.11263643950223923, -0.3493881821632385, -0.5322974920272827, -0.029925953596830368, 0.21772050857543945, -0.25989997386932373, -0.053003013134002686, -0.09866207093000412, 0.18469630181789398, -0.28319746255874634, 0.0710330605506897, -0.17843559384346008, 0.32637181878089905, -0.10032810270786285, 0.047733575105667114, -0.009103206917643547, 0.08713192492723465, -0.29601019620895386, 0.3949317932128906, 0.5543916821479797, -0.08007846772670746, -0.11930965632200241, -0.21893402934074402, -0.1606065034866333, 0.3340747356414795, -0.14353327453136444, -0.46899133920669556, -0.3526499569416046, 0.2280198186635971, -0.0031834484543651342, -0.038764264434576035, 0.381067156791687, 0.17939551174640656, -0.10835208743810654, -0.12264499068260193, 0.3208200931549072, 0.4254472255706787, 0.3132341504096985, 0.009717905893921852, -0.07068216800689697, -0.5778526067733765, 0.17628265917301178, 0.1423017531633377, -0.17461824417114258, -0.38270995020866394, -0.04718576744198799, -0.10332027077674866, 0.36268097162246704, -0.20561635494232178, 0.11730697005987167, 0.09171902388334274, 0.30806684494018555, 0.24293963611125946, 0.14142905175685883, -0.14446301758289337, -0.11198227852582932, -0.447361022233963, -0.009296979755163193, -0.08866247534751892, -0.21365031599998474, -0.057555995881557465, 0.0017983807483687997, 0.0031319819390773773, -0.0402638278901577, 0.27837610244750977, -0.13417735695838928, -0.2632412314414978, 0.0987069308757782, 0.030540451407432556, -0.3158723711967468, 0.3075718879699707, -0.022541038691997528, -0.010304984636604786, -0.21463091671466827, 0.2649904787540436, 0.10675755143165588, 0.1606791764497757, -0.21780706942081451, 0.10036701709032059, -0.2737603485584259, 0.13962870836257935, 0.2221481055021286, -0.021310774609446526, 0.3119385242462158, -0.19772730767726898, 0.4635792076587677, -0.15539181232452393, 0.1491895467042923, -0.19475921988487244, 0.23700955510139465, 0.25361499190330505, 0.1078757718205452, -0.12805476784706116, -0.15008677542209625, 0.34922143816947937, -0.016146952286362648, -0.10342073440551758, -0.21933342516422272, 0.13141252100467682, 0.2604214549064636, -0.198112353682518, -0.09900172054767609, -0.159312903881073, -0.0014782528160139918, 0.11030764132738113, 0.005711260251700878, 0.16306047141551971, -0.29915377497673035, 0.29283592104911804, -0.3163931369781494, -0.0893024206161499, 0.11835449934005737, 0.08005674928426743, -0.09312869608402252, -0.1704597920179367, -0.031672511249780655, 0.00213463488034904, 0.3655172288417816, -0.3991245925426483, -0.060577742755413055, 0.08818915486335754, -0.06351006031036377, 0.35780322551727295, -0.21345970034599304, 0.5070359706878662, -0.005725836381316185, -0.13596691191196442, -0.3404543101787567, -0.18164080381393433 ]
https://github.com/huggingface/datasets/issues/1593
Access to key in DatasetDict map
I don't feel like adding an extra param for this simple usage makes sense, considering how many args `map` already has. (Feel free to re-open this issue if you don't agree with me)
It is possible that we want to do different things in the `map` function (and possibly other functions too) of a `DatasetDict`, depending on the key. I understand that `DatasetDict.map` is a really thin wrapper of `Dataset.map`, so it is easy to directly implement this functionality in the client code. Still, it'd be nice if there can be a flag, similar to `with_indices`, that allows the callable to know the key inside `DatasetDict`.
33
Access to key in DatasetDict map
[ -0.09510444849729538, -0.11409293115139008, -0.30054131150245667, 0.1090625673532486, -0.09120754897594452, -0.00842159055173397, 0.015979304909706116, -0.12768514454364777, 0.40823259949684143, 0.18765772879123688, 0.06086628884077072, 0.3904142379760742, -0.0285778921097517, 0.29026955366134644, 0.09248816967010498, 0.18053485453128815, -0.08518346399068832, 0.09242929518222809, 0.024252455681562424, -0.01200017984956503, -0.23017869889736176, -0.0741933286190033, -0.32572057843208313, 0.26387566328048706, 0.02967110648751259, -0.29449108242988586, -0.0891689583659172, 0.04999605566263199, -0.1503024399280548, -0.3691849708557129, 0.04142819344997406, 0.48842623829841614, -0.15091413259506226, 0.07970152050256729, -0.000105447688838467, 0.061035264283418655, 0.06699983775615692, 0.125435933470726, -0.40632715821266174, 0.10533233731985092, -0.452790766954422, -0.16101452708244324, -0.1764957755804062, -0.603748619556427, -0.05589405819773674, -0.03266272693872452, 0.13151970505714417, -0.44266393780708313, 0.17950260639190674, 0.04644059017300606, 0.2886814475059509, 0.10389989614486694, 0.19952857494354248, -0.05246514827013016, -0.0018748773727566004, 0.12574169039726257, 0.09902970492839813, 0.01146967988461256, 0.32907962799072266, 0.05967776104807854, -0.10946017503738403, 0.24004419147968292, 0.10256730765104294, -0.05982182174921036, 0.31648287177085876, 0.17285490036010742, -0.15186110138893127, 0.19917739927768707, 0.35616153478622437, -0.11314558237791061, 0.46379804611206055, -0.404152512550354, -0.24128949642181396, -0.007593296933919191, -0.11441189795732498, 0.07633514702320099, 0.07339909672737122, -0.2081119418144226, 0.07236885279417038, 0.4422045946121216, 0.06626380234956741, -0.32729387283325195, -0.2517693042755127, -0.012604543939232826, -0.24020110070705414, 0.19541431963443756, 0.007374320644885302, 0.17229218780994415, -0.0689171552658081, -0.29627856612205505, 0.08911614865064621, -0.13260067999362946, -0.12207207828760147, 0.25070086121559143, 0.12383370101451874, -0.07486572116613388, 0.23041270673274994, 0.15837940573692322, 0.06687072664499283, -0.5112972259521484, 0.23447400331497192, 0.2968636155128479, -0.22198359668254852, 0.06369306147098541, 0.3035133183002472, -0.12087978422641754, 0.3058881461620331, 0.6379327774047852, 0.4778652489185333, -0.2597837448120117, -0.11624100804328918, -0.03955477103590965, 0.16316980123519897, -0.1601237803697586, 0.19291985034942627, 0.24514593183994293, 0.2638980746269226, 0.03010065294802189, -0.03325120732188225, 0.08788877725601196, -0.004373613744974136, -0.07361645251512527, 0.16660179197788239, 0.3083890676498413, 0.14805546402931213, -0.20314519107341766, 0.12269056588411331, -0.17001476883888245, 0.10096731781959534, -0.07880570739507675, -0.4057599902153015, -0.04761543869972229, 0.0676264688372612, -0.13397002220153809, 0.18862654268741608, 0.10249796509742737, -0.09279655665159225, -0.16418732702732086, -0.34599021077156067, -0.10401106625795364, 0.01606830768287182, -0.037830501794815063, 0.29487714171409607, 0.0012427202891558409, -0.19968368113040924, 0.046197015792131424, 0.0017131245695054531, -0.2405182123184204, -0.04704152047634125, 0.14906132221221924, -0.007369204889982939, -0.16668175160884857, 0.3326944410800934, 0.26069122552871704, 0.1759072244167328, 0.007862837985157967, -0.012791170738637447, 0.3182893991470337, 0.05510770529508591, -0.04017304629087448, 0.014437523670494556, 0.23897209763526917, -0.46764686703681946, -0.21593357622623444, 0.056379497051239014, 0.2217114120721817, -0.5824281573295593, -0.03541876748204231, 0.17226023972034454, -0.3351750373840332, -0.125596284866333, -0.09531720727682114, -0.25143808126449585, 0.4235857129096985, -0.11672990024089813, 0.18699201941490173, 0.5453758835792542, -0.35269221663475037, -0.9652267694473267, 0.03764777630567551, -0.2790796458721161, -0.32568952441215515, 0.06742382794618607, 0.1367444097995758, 0.235854372382164, 0.01931033656001091, 0.46079036593437195, -0.005829622969031334, 0.29645398259162903, 0.14091075956821442, 0.16103807091712952, -0.012471948750317097, 0.017783459275960922, -0.053270373493433, -0.1501280516386032, 0.09078072756528854, 0.3943619728088379, 0.032501768320798874, 0.1619233340024948, -0.1371970772743225, 0.10086699575185776, 0.12431848794221878, -0.02962326630949974, -0.015519330278038979, -0.004667803645133972, -0.020747236907482147, -0.2532919645309448, 0.2634679973125458, 0.07868935167789459, -0.4093310236930847, -0.3627893030643463, -0.246160626411438, -0.2248050570487976, 0.3741088807582855, -0.02325434423983097, 0.259033739566803, 0.3047575354576111, -0.21759416162967682, 0.11516193300485611, -0.032541289925575256, -0.025937993079423904, 0.013993602246046066, -0.07199309766292572, -0.15779919922351837, -0.08079234510660172, -0.1761561781167984, -0.15922220051288605, 0.22777682542800903, -0.017282819375395775, 0.2739698588848114, 0.16234838962554932, 0.20069479942321777, 0.031149910762906075, 0.11183258146047592, 0.12537461519241333, -0.08265931159257889, 0.18167030811309814, 0.18620812892913818, 0.20274761319160461, -0.11510509252548218, 0.13869710266590118, 0.12975561618804932, 0.3102082312107086, -0.08797004073858261, -0.3123597800731659, 0.42362844944000244, 0.11427528411149979, 0.08586134016513824, -0.020683597773313522, 0.06734254956245422, 0.303146630525589, 0.04319857060909271, -0.11197077482938766, -0.41341060400009155, -0.20155775547027588, -0.3002253770828247, 0.05928213894367218, 0.04868809133768082, 0.05084672570228577, 0.2848352789878845, 0.29858362674713135, 0.057650838047266006, 0.19264526665210724, -0.3446110188961029, -0.22870002686977386, 0.09874258190393448, -0.017061274498701096, 0.3916836977005005, 0.08719725161790848, 0.14417147636413574, 0.1423633098602295, 0.005177631508558989, 0.02898414619266987, -0.1179036945104599, 0.062132980674505234, 0.0417817160487175, -0.3553507924079895, -0.012361056171357632, 0.05427996441721916, -0.15485352277755737, -0.039312027394771576, 0.010316929779946804, 0.19177357852458954, 0.10747057944536209, -0.2793031334877014, -0.05717848613858223, -0.20039334893226624, -0.24845166504383087, 0.3933955132961273, 0.03831227123737335, 0.19570931792259216, -0.37325167655944824, -0.0037468746304512024, -0.003653140040114522, -0.15465086698532104, 0.05690537393093109, -0.1613597869873047, 0.007319500204175711, -0.026817595586180687, 0.08688545972108841, 0.008566480129957199, -0.5896766185760498, 0.1434885561466217, 0.15751202404499054, -0.01585404761135578, 0.10538811981678009, 0.3820389211177826, 0.1395290493965149, 0.12852421402931213, -0.42509326338768005, -0.14777658879756927, -0.0027172688860446215, 0.11111228168010712, -0.2591763138771057, 0.2825344204902649, 0.18725547194480896, -0.20127616822719574, 0.08329306542873383, 0.08337763696908951, 0.021947994828224182, -0.3940609395503998, -0.04793816804885864, -0.0616871677339077, -0.35655155777931213, 0.01463009137660265, -0.023130180314183235, -0.3435118794441223, -0.14036861062049866, 0.27839845418930054, -0.15755529701709747, 0.24286150932312012, -0.07679656893014908, -0.250001460313797, 0.2423257678747177, 0.10872228443622589, 0.15796233713626862, -0.3668637275695801, 0.041662197560071945, -0.025579435750842094, -0.17040884494781494, -0.4424970746040344, 0.18821318447589874, -0.13159170746803284, 0.12547560036182404, 0.15443755686283112, -0.05264925956726074, 0.23462459444999695, -0.17905831336975098, 0.43885093927383423, 0.13797152042388916, 0.09652368724346161, 0.2782198488712311, 0.06831561774015427, -0.09136005491018295, -0.1802152693271637, -0.24077381193637848, 0.13375188410282135, 0.039389558136463165, -0.09283530712127686, 0.2540983259677887, 0.18872715532779694, -0.12059316039085388, 0.5000771880149841, -0.10788345336914062, -0.11889085918664932, 0.11082832515239716, -0.06125250831246376, 0.02944321557879448, 0.025023704394698143, -0.27410638332366943, -0.2011537253856659, 0.18126916885375977, 0.14819331467151642, 0.03247182443737984, -0.05232933908700943, -0.1381131261587143, -0.01885218359529972, -0.3714431822299957, -0.4239966571331024, -0.4100167751312256, -0.2637234032154083, -0.13969720900058746, 0.16879230737686157, 0.2974358797073364, 0.11640691012144089, -0.5013896226882935, 0.10137172788381577, 0.04428005591034889, -0.12050981819629669, 0.11882317066192627, -0.1923235058784485, -0.3878466486930847, -0.34652072191238403, -0.4041512906551361, 0.2833499610424042, -0.06767398118972778, 0.1672200709581375, -0.16053354740142822, 0.01984505169093609, 0.3483034670352936, -0.01609431765973568, 0.8047835826873779, -0.10445813834667206, 0.42219066619873047, -0.053754113614559174, -0.15314415097236633, -0.23181433975696564, 0.32582151889801025, -0.10144680738449097, 0.5615927577018738, -0.22888417541980743, 0.4555341899394989, -0.19404567778110504, 0.17254501581192017, -0.20895631611347198, -0.17531774938106537, -0.25743114948272705, -0.20227299630641937, 0.16791583597660065, -0.13455764949321747, -0.3192666471004486, 0.1638055145740509, 0.20290343463420868, 0.08548593521118164, 0.36330267786979675, -0.04783054068684578, -0.2518065571784973, 0.05467754974961281, -0.07586470246315002, 0.2632125914096832, 0.3113681674003601, 0.15422482788562775, 0.1905328780412674, 0.4483087956905365, 0.24119780957698822, -0.004876624792814255, 0.3241974413394928, 0.15999619662761688, 0.011896254494786263, 0.15619109570980072, -0.11354418098926544, 0.20583711564540863, 0.2301102876663208, -0.06801529973745346, 0.12510856986045837, 0.29841527342796326, -0.4128604233264923, -0.10890527069568634, -0.15644940733909607, -0.03352527692914009, 0.26753637194633484, -0.2922649681568146, -0.3607270419597626, -0.044500961899757385, 0.07175549119710922, -0.5316588878631592, 0.31459078192710876, 0.1392703503370285, -0.3562562167644501, 0.45998045802116394, -0.06925599277019501, 0.6380865573883057, -0.08373826742172241, 0.20114976167678833, -0.3334750235080719, -0.222619891166687, 0.0726834163069725, 0.1049000695347786, -0.0657251700758934, -0.34552887082099915, -0.37146708369255066, -0.0759134441614151, -0.07224532961845398, 0.008545451797544956, 0.2068232297897339, -0.13388293981552124, -0.14805766940116882, 0.2787933945655823, 0.04168261960148811, -0.21478044986724854, 0.14210952818393707, 0.14108261466026306, -0.05384627357125282, 0.01237442810088396, 0.23272418975830078, -0.10183895379304886, 0.058511681854724884, -0.046346407383680344, 0.08694066852331161, -0.22295057773590088, -0.3639553189277649, -0.0506855845451355, -0.21532465517520905, -0.3994565010070801, 0.4124235212802887, 0.1128666028380394, -0.01572462171316147, -0.013685167767107487, 0.3971659541130066, 0.3919728994369507, 0.4599040150642395, -0.03944927826523781, 0.2025330811738968, 0.3427650034427643, 0.15175952017307281, -0.19090433418750763, 0.17141936719417572, -0.10184178501367569, 0.031882524490356445, -0.4443914294242859, 0.13592791557312012, -0.01035760622471571, -0.28594809770584106, -0.360400915145874, 0.3039519786834717, -0.016944559291005135, -0.20092140138149261, -0.1495692878961563, -0.13029949367046356, -0.11191621422767639, -0.09334027767181396, 0.21472501754760742, 0.0378565713763237, 0.01590345986187458, 0.24725700914859772, -0.060830481350421906, -0.18099470436573029, 0.15797951817512512, 0.6650412678718567, 0.020993834361433983, 0.3264314830303192, 0.47772055864334106, -0.17288292944431305, -0.3289440870285034, -0.2573246359825134, -0.18403111398220062, 0.16363653540611267, 0.14390461146831512, -0.02056730166077614, 0.1490766406059265, -0.026575390249490738, -0.09757998585700989, 0.4330065846443176, 0.07070137560367584, 0.05889485031366348, -0.2506420910358429, -0.1885603964328766, -0.5721379518508911, 0.23394270241260529, 0.04884912073612213, 0.2373718023300171, 0.1866084635257721, -0.1768840253353119, -0.2692722976207733, 0.24592795968055725, -0.407677561044693, -0.13929401338100433, 0.03735671192407608, -0.00410153903067112, 0.18569141626358032, 0.07199025899171829, -0.04010649770498276, -0.20436644554138184, 0.2867877185344696, 0.10562919825315475, 0.04365961253643036, -0.3900453746318817, 0.015941040590405464, 0.03727345168590546, 0.05104843154549599, 0.08681324124336243, -0.2537132799625397, -0.3927019238471985, 0.060863640159368515, 0.037805646657943726, 0.2089916318655014, 0.3992854058742523, 0.1388094574213028, 0.23018942773342133, 0.4085578918457031, 0.2928682267665863, 0.13405200839042664, 0.275906503200531, 0.07018745690584183, -0.02093213051557541, -0.10060052573680878, 0.16988609731197357, -0.2829858660697937, -0.024588843807578087, 0.03560379147529602, 0.1486540287733078, -0.04955258220434189, 0.022000595927238464, 0.08146543055772781, -0.09547632187604904, -0.1758349984884262, 0.46585211157798767, 0.11224598437547684, -0.08049438893795013, -0.19955362379550934, 0.06945686042308807, 0.03916843980550766, 0.2661282420158386, -0.20142585039138794, -0.18612930178642273, 0.4114071726799011, -0.1265370100736618, 0.22495152056217194, 0.06839834898710251, -0.08686083555221558, -0.18226926028728485, -0.1318274736404419, -0.14173178374767303, 0.22946591675281525, -0.23154519498348236, -0.014513135887682438, 0.44871777296066284, 0.017080014571547508, -0.1595858484506607, 0.347874253988266, 0.703545868396759, 0.06511086970567703, 0.4606442153453827, -0.0979427620768547, -0.17471212148666382, 0.2495006024837494, 0.27040576934814453, 0.14196334779262543, -0.2214348167181015, 0.3044734299182892, 0.022412126883864403, -0.16231605410575867, -0.07494799792766571, 0.2066340446472168, -0.1314653605222702, -0.02077946811914444, 0.10243722051382065, -0.013263332657516003, -0.09136536717414856, -0.11263643950223923, -0.3493881821632385, -0.5322974920272827, -0.029925953596830368, 0.21772050857543945, -0.25989997386932373, -0.053003013134002686, -0.09866207093000412, 0.18469630181789398, -0.28319746255874634, 0.0710330605506897, -0.17843559384346008, 0.32637181878089905, -0.10032810270786285, 0.047733575105667114, -0.009103206917643547, 0.08713192492723465, -0.29601019620895386, 0.3949317932128906, 0.5543916821479797, -0.08007846772670746, -0.11930965632200241, -0.21893402934074402, -0.1606065034866333, 0.3340747356414795, -0.14353327453136444, -0.46899133920669556, -0.3526499569416046, 0.2280198186635971, -0.0031834484543651342, -0.038764264434576035, 0.381067156791687, 0.17939551174640656, -0.10835208743810654, -0.12264499068260193, 0.3208200931549072, 0.4254472255706787, 0.3132341504096985, 0.009717905893921852, -0.07068216800689697, -0.5778526067733765, 0.17628265917301178, 0.1423017531633377, -0.17461824417114258, -0.38270995020866394, -0.04718576744198799, -0.10332027077674866, 0.36268097162246704, -0.20561635494232178, 0.11730697005987167, 0.09171902388334274, 0.30806684494018555, 0.24293963611125946, 0.14142905175685883, -0.14446301758289337, -0.11198227852582932, -0.447361022233963, -0.009296979755163193, -0.08866247534751892, -0.21365031599998474, -0.057555995881557465, 0.0017983807483687997, 0.0031319819390773773, -0.0402638278901577, 0.27837610244750977, -0.13417735695838928, -0.2632412314414978, 0.0987069308757782, 0.030540451407432556, -0.3158723711967468, 0.3075718879699707, -0.022541038691997528, -0.010304984636604786, -0.21463091671466827, 0.2649904787540436, 0.10675755143165588, 0.1606791764497757, -0.21780706942081451, 0.10036701709032059, -0.2737603485584259, 0.13962870836257935, 0.2221481055021286, -0.021310774609446526, 0.3119385242462158, -0.19772730767726898, 0.4635792076587677, -0.15539181232452393, 0.1491895467042923, -0.19475921988487244, 0.23700955510139465, 0.25361499190330505, 0.1078757718205452, -0.12805476784706116, -0.15008677542209625, 0.34922143816947937, -0.016146952286362648, -0.10342073440551758, -0.21933342516422272, 0.13141252100467682, 0.2604214549064636, -0.198112353682518, -0.09900172054767609, -0.159312903881073, -0.0014782528160139918, 0.11030764132738113, 0.005711260251700878, 0.16306047141551971, -0.29915377497673035, 0.29283592104911804, -0.3163931369781494, -0.0893024206161499, 0.11835449934005737, 0.08005674928426743, -0.09312869608402252, -0.1704597920179367, -0.031672511249780655, 0.00213463488034904, 0.3655172288417816, -0.3991245925426483, -0.060577742755413055, 0.08818915486335754, -0.06351006031036377, 0.35780322551727295, -0.21345970034599304, 0.5070359706878662, -0.005725836381316185, -0.13596691191196442, -0.3404543101787567, -0.18164080381393433 ]
https://github.com/huggingface/datasets/issues/1593
Access to key in DatasetDict map
I still think this is useful, since it's common that the data processing is different for training/dev/testing. And I don't know if the fact that `map` currently takes many arguments is a good reason not to support a useful feature.
It is possible that we want to do different things in the `map` function (and possibly other functions too) of a `DatasetDict`, depending on the key. I understand that `DatasetDict.map` is a really thin wrapper of `Dataset.map`, so it is easy to directly implement this functionality in the client code. Still, it'd be nice if there can be a flag, similar to `with_indices`, that allows the callable to know the key inside `DatasetDict`.
40
Access to key in DatasetDict map
[ -0.09510444849729538, -0.11409293115139008, -0.30054131150245667, 0.1090625673532486, -0.09120754897594452, -0.00842159055173397, 0.015979304909706116, -0.12768514454364777, 0.40823259949684143, 0.18765772879123688, 0.06086628884077072, 0.3904142379760742, -0.0285778921097517, 0.29026955366134644, 0.09248816967010498, 0.18053485453128815, -0.08518346399068832, 0.09242929518222809, 0.024252455681562424, -0.01200017984956503, -0.23017869889736176, -0.0741933286190033, -0.32572057843208313, 0.26387566328048706, 0.02967110648751259, -0.29449108242988586, -0.0891689583659172, 0.04999605566263199, -0.1503024399280548, -0.3691849708557129, 0.04142819344997406, 0.48842623829841614, -0.15091413259506226, 0.07970152050256729, -0.000105447688838467, 0.061035264283418655, 0.06699983775615692, 0.125435933470726, -0.40632715821266174, 0.10533233731985092, -0.452790766954422, -0.16101452708244324, -0.1764957755804062, -0.603748619556427, -0.05589405819773674, -0.03266272693872452, 0.13151970505714417, -0.44266393780708313, 0.17950260639190674, 0.04644059017300606, 0.2886814475059509, 0.10389989614486694, 0.19952857494354248, -0.05246514827013016, -0.0018748773727566004, 0.12574169039726257, 0.09902970492839813, 0.01146967988461256, 0.32907962799072266, 0.05967776104807854, -0.10946017503738403, 0.24004419147968292, 0.10256730765104294, -0.05982182174921036, 0.31648287177085876, 0.17285490036010742, -0.15186110138893127, 0.19917739927768707, 0.35616153478622437, -0.11314558237791061, 0.46379804611206055, -0.404152512550354, -0.24128949642181396, -0.007593296933919191, -0.11441189795732498, 0.07633514702320099, 0.07339909672737122, -0.2081119418144226, 0.07236885279417038, 0.4422045946121216, 0.06626380234956741, -0.32729387283325195, -0.2517693042755127, -0.012604543939232826, -0.24020110070705414, 0.19541431963443756, 0.007374320644885302, 0.17229218780994415, -0.0689171552658081, -0.29627856612205505, 0.08911614865064621, -0.13260067999362946, -0.12207207828760147, 0.25070086121559143, 0.12383370101451874, -0.07486572116613388, 0.23041270673274994, 0.15837940573692322, 0.06687072664499283, -0.5112972259521484, 0.23447400331497192, 0.2968636155128479, -0.22198359668254852, 0.06369306147098541, 0.3035133183002472, -0.12087978422641754, 0.3058881461620331, 0.6379327774047852, 0.4778652489185333, -0.2597837448120117, -0.11624100804328918, -0.03955477103590965, 0.16316980123519897, -0.1601237803697586, 0.19291985034942627, 0.24514593183994293, 0.2638980746269226, 0.03010065294802189, -0.03325120732188225, 0.08788877725601196, -0.004373613744974136, -0.07361645251512527, 0.16660179197788239, 0.3083890676498413, 0.14805546402931213, -0.20314519107341766, 0.12269056588411331, -0.17001476883888245, 0.10096731781959534, -0.07880570739507675, -0.4057599902153015, -0.04761543869972229, 0.0676264688372612, -0.13397002220153809, 0.18862654268741608, 0.10249796509742737, -0.09279655665159225, -0.16418732702732086, -0.34599021077156067, -0.10401106625795364, 0.01606830768287182, -0.037830501794815063, 0.29487714171409607, 0.0012427202891558409, -0.19968368113040924, 0.046197015792131424, 0.0017131245695054531, -0.2405182123184204, -0.04704152047634125, 0.14906132221221924, -0.007369204889982939, -0.16668175160884857, 0.3326944410800934, 0.26069122552871704, 0.1759072244167328, 0.007862837985157967, -0.012791170738637447, 0.3182893991470337, 0.05510770529508591, -0.04017304629087448, 0.014437523670494556, 0.23897209763526917, -0.46764686703681946, -0.21593357622623444, 0.056379497051239014, 0.2217114120721817, -0.5824281573295593, -0.03541876748204231, 0.17226023972034454, -0.3351750373840332, -0.125596284866333, -0.09531720727682114, -0.25143808126449585, 0.4235857129096985, -0.11672990024089813, 0.18699201941490173, 0.5453758835792542, -0.35269221663475037, -0.9652267694473267, 0.03764777630567551, -0.2790796458721161, -0.32568952441215515, 0.06742382794618607, 0.1367444097995758, 0.235854372382164, 0.01931033656001091, 0.46079036593437195, -0.005829622969031334, 0.29645398259162903, 0.14091075956821442, 0.16103807091712952, -0.012471948750317097, 0.017783459275960922, -0.053270373493433, -0.1501280516386032, 0.09078072756528854, 0.3943619728088379, 0.032501768320798874, 0.1619233340024948, -0.1371970772743225, 0.10086699575185776, 0.12431848794221878, -0.02962326630949974, -0.015519330278038979, -0.004667803645133972, -0.020747236907482147, -0.2532919645309448, 0.2634679973125458, 0.07868935167789459, -0.4093310236930847, -0.3627893030643463, -0.246160626411438, -0.2248050570487976, 0.3741088807582855, -0.02325434423983097, 0.259033739566803, 0.3047575354576111, -0.21759416162967682, 0.11516193300485611, -0.032541289925575256, -0.025937993079423904, 0.013993602246046066, -0.07199309766292572, -0.15779919922351837, -0.08079234510660172, -0.1761561781167984, -0.15922220051288605, 0.22777682542800903, -0.017282819375395775, 0.2739698588848114, 0.16234838962554932, 0.20069479942321777, 0.031149910762906075, 0.11183258146047592, 0.12537461519241333, -0.08265931159257889, 0.18167030811309814, 0.18620812892913818, 0.20274761319160461, -0.11510509252548218, 0.13869710266590118, 0.12975561618804932, 0.3102082312107086, -0.08797004073858261, -0.3123597800731659, 0.42362844944000244, 0.11427528411149979, 0.08586134016513824, -0.020683597773313522, 0.06734254956245422, 0.303146630525589, 0.04319857060909271, -0.11197077482938766, -0.41341060400009155, -0.20155775547027588, -0.3002253770828247, 0.05928213894367218, 0.04868809133768082, 0.05084672570228577, 0.2848352789878845, 0.29858362674713135, 0.057650838047266006, 0.19264526665210724, -0.3446110188961029, -0.22870002686977386, 0.09874258190393448, -0.017061274498701096, 0.3916836977005005, 0.08719725161790848, 0.14417147636413574, 0.1423633098602295, 0.005177631508558989, 0.02898414619266987, -0.1179036945104599, 0.062132980674505234, 0.0417817160487175, -0.3553507924079895, -0.012361056171357632, 0.05427996441721916, -0.15485352277755737, -0.039312027394771576, 0.010316929779946804, 0.19177357852458954, 0.10747057944536209, -0.2793031334877014, -0.05717848613858223, -0.20039334893226624, -0.24845166504383087, 0.3933955132961273, 0.03831227123737335, 0.19570931792259216, -0.37325167655944824, -0.0037468746304512024, -0.003653140040114522, -0.15465086698532104, 0.05690537393093109, -0.1613597869873047, 0.007319500204175711, -0.026817595586180687, 0.08688545972108841, 0.008566480129957199, -0.5896766185760498, 0.1434885561466217, 0.15751202404499054, -0.01585404761135578, 0.10538811981678009, 0.3820389211177826, 0.1395290493965149, 0.12852421402931213, -0.42509326338768005, -0.14777658879756927, -0.0027172688860446215, 0.11111228168010712, -0.2591763138771057, 0.2825344204902649, 0.18725547194480896, -0.20127616822719574, 0.08329306542873383, 0.08337763696908951, 0.021947994828224182, -0.3940609395503998, -0.04793816804885864, -0.0616871677339077, -0.35655155777931213, 0.01463009137660265, -0.023130180314183235, -0.3435118794441223, -0.14036861062049866, 0.27839845418930054, -0.15755529701709747, 0.24286150932312012, -0.07679656893014908, -0.250001460313797, 0.2423257678747177, 0.10872228443622589, 0.15796233713626862, -0.3668637275695801, 0.041662197560071945, -0.025579435750842094, -0.17040884494781494, -0.4424970746040344, 0.18821318447589874, -0.13159170746803284, 0.12547560036182404, 0.15443755686283112, -0.05264925956726074, 0.23462459444999695, -0.17905831336975098, 0.43885093927383423, 0.13797152042388916, 0.09652368724346161, 0.2782198488712311, 0.06831561774015427, -0.09136005491018295, -0.1802152693271637, -0.24077381193637848, 0.13375188410282135, 0.039389558136463165, -0.09283530712127686, 0.2540983259677887, 0.18872715532779694, -0.12059316039085388, 0.5000771880149841, -0.10788345336914062, -0.11889085918664932, 0.11082832515239716, -0.06125250831246376, 0.02944321557879448, 0.025023704394698143, -0.27410638332366943, -0.2011537253856659, 0.18126916885375977, 0.14819331467151642, 0.03247182443737984, -0.05232933908700943, -0.1381131261587143, -0.01885218359529972, -0.3714431822299957, -0.4239966571331024, -0.4100167751312256, -0.2637234032154083, -0.13969720900058746, 0.16879230737686157, 0.2974358797073364, 0.11640691012144089, -0.5013896226882935, 0.10137172788381577, 0.04428005591034889, -0.12050981819629669, 0.11882317066192627, -0.1923235058784485, -0.3878466486930847, -0.34652072191238403, -0.4041512906551361, 0.2833499610424042, -0.06767398118972778, 0.1672200709581375, -0.16053354740142822, 0.01984505169093609, 0.3483034670352936, -0.01609431765973568, 0.8047835826873779, -0.10445813834667206, 0.42219066619873047, -0.053754113614559174, -0.15314415097236633, -0.23181433975696564, 0.32582151889801025, -0.10144680738449097, 0.5615927577018738, -0.22888417541980743, 0.4555341899394989, -0.19404567778110504, 0.17254501581192017, -0.20895631611347198, -0.17531774938106537, -0.25743114948272705, -0.20227299630641937, 0.16791583597660065, -0.13455764949321747, -0.3192666471004486, 0.1638055145740509, 0.20290343463420868, 0.08548593521118164, 0.36330267786979675, -0.04783054068684578, -0.2518065571784973, 0.05467754974961281, -0.07586470246315002, 0.2632125914096832, 0.3113681674003601, 0.15422482788562775, 0.1905328780412674, 0.4483087956905365, 0.24119780957698822, -0.004876624792814255, 0.3241974413394928, 0.15999619662761688, 0.011896254494786263, 0.15619109570980072, -0.11354418098926544, 0.20583711564540863, 0.2301102876663208, -0.06801529973745346, 0.12510856986045837, 0.29841527342796326, -0.4128604233264923, -0.10890527069568634, -0.15644940733909607, -0.03352527692914009, 0.26753637194633484, -0.2922649681568146, -0.3607270419597626, -0.044500961899757385, 0.07175549119710922, -0.5316588878631592, 0.31459078192710876, 0.1392703503370285, -0.3562562167644501, 0.45998045802116394, -0.06925599277019501, 0.6380865573883057, -0.08373826742172241, 0.20114976167678833, -0.3334750235080719, -0.222619891166687, 0.0726834163069725, 0.1049000695347786, -0.0657251700758934, -0.34552887082099915, -0.37146708369255066, -0.0759134441614151, -0.07224532961845398, 0.008545451797544956, 0.2068232297897339, -0.13388293981552124, -0.14805766940116882, 0.2787933945655823, 0.04168261960148811, -0.21478044986724854, 0.14210952818393707, 0.14108261466026306, -0.05384627357125282, 0.01237442810088396, 0.23272418975830078, -0.10183895379304886, 0.058511681854724884, -0.046346407383680344, 0.08694066852331161, -0.22295057773590088, -0.3639553189277649, -0.0506855845451355, -0.21532465517520905, -0.3994565010070801, 0.4124235212802887, 0.1128666028380394, -0.01572462171316147, -0.013685167767107487, 0.3971659541130066, 0.3919728994369507, 0.4599040150642395, -0.03944927826523781, 0.2025330811738968, 0.3427650034427643, 0.15175952017307281, -0.19090433418750763, 0.17141936719417572, -0.10184178501367569, 0.031882524490356445, -0.4443914294242859, 0.13592791557312012, -0.01035760622471571, -0.28594809770584106, -0.360400915145874, 0.3039519786834717, -0.016944559291005135, -0.20092140138149261, -0.1495692878961563, -0.13029949367046356, -0.11191621422767639, -0.09334027767181396, 0.21472501754760742, 0.0378565713763237, 0.01590345986187458, 0.24725700914859772, -0.060830481350421906, -0.18099470436573029, 0.15797951817512512, 0.6650412678718567, 0.020993834361433983, 0.3264314830303192, 0.47772055864334106, -0.17288292944431305, -0.3289440870285034, -0.2573246359825134, -0.18403111398220062, 0.16363653540611267, 0.14390461146831512, -0.02056730166077614, 0.1490766406059265, -0.026575390249490738, -0.09757998585700989, 0.4330065846443176, 0.07070137560367584, 0.05889485031366348, -0.2506420910358429, -0.1885603964328766, -0.5721379518508911, 0.23394270241260529, 0.04884912073612213, 0.2373718023300171, 0.1866084635257721, -0.1768840253353119, -0.2692722976207733, 0.24592795968055725, -0.407677561044693, -0.13929401338100433, 0.03735671192407608, -0.00410153903067112, 0.18569141626358032, 0.07199025899171829, -0.04010649770498276, -0.20436644554138184, 0.2867877185344696, 0.10562919825315475, 0.04365961253643036, -0.3900453746318817, 0.015941040590405464, 0.03727345168590546, 0.05104843154549599, 0.08681324124336243, -0.2537132799625397, -0.3927019238471985, 0.060863640159368515, 0.037805646657943726, 0.2089916318655014, 0.3992854058742523, 0.1388094574213028, 0.23018942773342133, 0.4085578918457031, 0.2928682267665863, 0.13405200839042664, 0.275906503200531, 0.07018745690584183, -0.02093213051557541, -0.10060052573680878, 0.16988609731197357, -0.2829858660697937, -0.024588843807578087, 0.03560379147529602, 0.1486540287733078, -0.04955258220434189, 0.022000595927238464, 0.08146543055772781, -0.09547632187604904, -0.1758349984884262, 0.46585211157798767, 0.11224598437547684, -0.08049438893795013, -0.19955362379550934, 0.06945686042308807, 0.03916843980550766, 0.2661282420158386, -0.20142585039138794, -0.18612930178642273, 0.4114071726799011, -0.1265370100736618, 0.22495152056217194, 0.06839834898710251, -0.08686083555221558, -0.18226926028728485, -0.1318274736404419, -0.14173178374767303, 0.22946591675281525, -0.23154519498348236, -0.014513135887682438, 0.44871777296066284, 0.017080014571547508, -0.1595858484506607, 0.347874253988266, 0.703545868396759, 0.06511086970567703, 0.4606442153453827, -0.0979427620768547, -0.17471212148666382, 0.2495006024837494, 0.27040576934814453, 0.14196334779262543, -0.2214348167181015, 0.3044734299182892, 0.022412126883864403, -0.16231605410575867, -0.07494799792766571, 0.2066340446472168, -0.1314653605222702, -0.02077946811914444, 0.10243722051382065, -0.013263332657516003, -0.09136536717414856, -0.11263643950223923, -0.3493881821632385, -0.5322974920272827, -0.029925953596830368, 0.21772050857543945, -0.25989997386932373, -0.053003013134002686, -0.09866207093000412, 0.18469630181789398, -0.28319746255874634, 0.0710330605506897, -0.17843559384346008, 0.32637181878089905, -0.10032810270786285, 0.047733575105667114, -0.009103206917643547, 0.08713192492723465, -0.29601019620895386, 0.3949317932128906, 0.5543916821479797, -0.08007846772670746, -0.11930965632200241, -0.21893402934074402, -0.1606065034866333, 0.3340747356414795, -0.14353327453136444, -0.46899133920669556, -0.3526499569416046, 0.2280198186635971, -0.0031834484543651342, -0.038764264434576035, 0.381067156791687, 0.17939551174640656, -0.10835208743810654, -0.12264499068260193, 0.3208200931549072, 0.4254472255706787, 0.3132341504096985, 0.009717905893921852, -0.07068216800689697, -0.5778526067733765, 0.17628265917301178, 0.1423017531633377, -0.17461824417114258, -0.38270995020866394, -0.04718576744198799, -0.10332027077674866, 0.36268097162246704, -0.20561635494232178, 0.11730697005987167, 0.09171902388334274, 0.30806684494018555, 0.24293963611125946, 0.14142905175685883, -0.14446301758289337, -0.11198227852582932, -0.447361022233963, -0.009296979755163193, -0.08866247534751892, -0.21365031599998474, -0.057555995881557465, 0.0017983807483687997, 0.0031319819390773773, -0.0402638278901577, 0.27837610244750977, -0.13417735695838928, -0.2632412314414978, 0.0987069308757782, 0.030540451407432556, -0.3158723711967468, 0.3075718879699707, -0.022541038691997528, -0.010304984636604786, -0.21463091671466827, 0.2649904787540436, 0.10675755143165588, 0.1606791764497757, -0.21780706942081451, 0.10036701709032059, -0.2737603485584259, 0.13962870836257935, 0.2221481055021286, -0.021310774609446526, 0.3119385242462158, -0.19772730767726898, 0.4635792076587677, -0.15539181232452393, 0.1491895467042923, -0.19475921988487244, 0.23700955510139465, 0.25361499190330505, 0.1078757718205452, -0.12805476784706116, -0.15008677542209625, 0.34922143816947937, -0.016146952286362648, -0.10342073440551758, -0.21933342516422272, 0.13141252100467682, 0.2604214549064636, -0.198112353682518, -0.09900172054767609, -0.159312903881073, -0.0014782528160139918, 0.11030764132738113, 0.005711260251700878, 0.16306047141551971, -0.29915377497673035, 0.29283592104911804, -0.3163931369781494, -0.0893024206161499, 0.11835449934005737, 0.08005674928426743, -0.09312869608402252, -0.1704597920179367, -0.031672511249780655, 0.00213463488034904, 0.3655172288417816, -0.3991245925426483, -0.060577742755413055, 0.08818915486335754, -0.06351006031036377, 0.35780322551727295, -0.21345970034599304, 0.5070359706878662, -0.005725836381316185, -0.13596691191196442, -0.3404543101787567, -0.18164080381393433 ]
https://github.com/huggingface/datasets/issues/1591
IWSLT-17 Link Broken
Sorry, this is a duplicate of #1287. Not sure why it didn't come up when I searched `iwslt` in the issues list.
``` FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnmted//texts/DeEnItNlRo/DeEnItNlRo/DeEnItNlRo-DeEnItNlRo.tgz ```
22
IWSLT-17 Link Broken
[ -0.20027394592761993, -0.41674405336380005, -0.08519788086414337, -0.08284091204404831, -0.12839961051940918, -0.13574767112731934, 0.5246535539627075, 0.010425451211631298, 0.17927387356758118, 0.03148837760090828, 0.03974888473749161, 0.051300980150699615, 0.3712892532348633, 0.018614819273352623, 0.11466501653194427, 0.4638531804084778, 0.04360807314515114, 0.10902569442987442, -0.34659531712532043, -0.11865703016519547, -0.24694684147834778, 0.48506033420562744, -0.1125357374548912, 0.0054399920627474785, -0.20316678285598755, 0.2146914154291153, 0.04973781853914261, 0.3334665894508362, 0.17665524780750275, -0.23962421715259552, -0.02053956314921379, -0.28237271308898926, -0.12423813343048096, -0.37163591384887695, -0.00010773745452752337, -0.01977127604186535, 0.3348369598388672, 0.035470619797706604, -0.2133556604385376, 0.36906352639198303, -0.6528372168540955, -0.27426648139953613, -0.21341802179813385, -0.23814120888710022, 0.08132698386907578, -0.12047093361616135, 0.026762306690216064, 0.44127482175827026, 0.1320648491382599, 0.1282145380973816, 0.264707088470459, 0.10634396225214005, 0.30682963132858276, -0.02301969565451145, 0.12649036943912506, -0.2613544464111328, 0.0715828537940979, 0.2187143862247467, 0.03966931253671646, 0.04049791023135185, -0.00570256682112813, 0.30059412121772766, 0.14613710343837738, -0.11129114031791687, -0.18199744820594788, -0.1350354552268982, 0.6570112109184265, 0.06986211985349655, 0.34524667263031006, -0.022954009473323822, 0.19065392017364502, 0.028269082307815552, 0.1049482449889183, 0.3318338394165039, -0.14675763249397278, 0.05129338055849075, 0.3544329106807709, -0.08038204163312912, 0.1529746800661087, 0.26950961351394653, 0.27479642629623413, -0.29656291007995605, -0.0806025043129921, 0.2596072554588318, -0.03604299947619438, 0.9227218627929688, -0.028938673436641693, 0.1387082040309906, 0.2596827447414398, 0.0003548361419234425, 0.06366181373596191, 0.43173885345458984, -0.31727415323257446, -0.1026855930685997, 0.2667056620121002, -0.07818110287189484, 0.10154736042022705, 0.25426435470581055, -0.22835923731327057, -0.016209091991186142, -0.27460187673568726, 0.1948281079530716, 0.1628410369157791, -0.12232429534196854, -0.20352692902088165, -0.14922867715358734, -0.20004643499851227, -0.08211449533700943, 0.50084388256073, 0.25165030360221863, 0.030375471338629723, 0.02565722167491913, 0.1989855319261551, -0.18231168389320374, -0.19212092459201813, -0.020542901009321213, -0.15894481539726257, 0.00427247304469347, -0.3038417398929596, -0.009249122813344002, -0.17341242730617523, 0.07196325808763504, 0.049168333411216736, 0.011130904778838158, 0.012254053726792336, 0.2135448306798935, 0.09176503866910934, -0.18330083787441254, -0.17501309514045715, -0.3094084858894348, -0.21678997576236725, -0.0011603962630033493, -0.1312541961669922, -0.06404338032007217, 0.023888492956757545, 0.3788927495479584, -0.0783122256398201, -0.014160651713609695, -0.550145149230957, -0.41479364037513733, -0.15629355609416962, 0.2988039255142212, 0.1142435222864151, 0.16820447146892548, -0.061748046427965164, 0.245122030377388, 0.08699239790439606, -0.33213135600090027, 0.11424566060304642, 0.04445421323180199, -0.21756599843502045, -0.26747116446495056, -0.09015535563230515, 0.27647656202316284, -0.1226406916975975, -0.10526112467050552, 0.6216950416564941, -0.08136653900146484, -0.08213528245687485, 0.03815995901823044, -0.05947747454047203, 0.17717227339744568, -0.22800780832767487, 0.05483357608318329, 0.1651812493801117, 0.15021659433841705, -0.3704163730144501, -0.3266874849796295, 0.022011319175362587, -0.11139139533042908, 0.1690506488084793, 0.12646730244159698, -0.13167035579681396, 0.1467483639717102, -0.28649821877479553, 0.20430201292037964, 0.1552305519580841, -0.26398536562919617, -0.4147803485393524, 0.2947794497013092, -0.021700790151953697, -0.3576486110687256, -0.22070856392383575, 0.2775620222091675, -0.09474209696054459, -0.1265115737915039, -0.25563353300094604, 0.018050014972686768, 0.23378495872020721, 0.1202211007475853, -0.45647409558296204, -0.26216381788253784, 0.08419536799192429, -0.07867755740880966, 0.1322912871837616, -0.04422306269407272, 0.1974364072084427, 0.36854419112205505, 0.30035293102264404, 0.028084982186555862, 0.16266341507434845, 0.10384008288383484, 0.422616571187973, 0.004343634005635977, 0.2725321352481842, 0.13949361443519592, 0.1580345630645752, -0.13835793733596802, 0.2960008680820465, 0.32823091745376587, 0.29277971386909485, 0.15341874957084656, -0.37897640466690063, 0.17188239097595215, -0.06866416335105896, -0.07416807115077972, 0.2014627754688263, 0.2337370067834854, -0.3164278566837311, -0.005423692520707846, -0.155210942029953, -0.1310756653547287, -0.36715444922447205, -0.003926628269255161, -0.10307199507951736, 0.313425213098526, -0.18990321457386017, -0.028921110555529594, 0.017677834257483482, 0.4045051634311676, 0.32046276330947876, -0.10224760323762894, 0.010969073511660099, 0.3208007216453552, -0.20728479325771332, 0.19328922033309937, 0.04271316900849342, 0.4113596975803375, 0.21690629422664642, -0.7843663692474365, -0.057973191142082214, 0.4203040897846222, -0.05461728200316429, -0.056352198123931885, 0.27962642908096313, -0.20323140919208527, 0.22048822045326233, 0.06053205579519272, -0.04079873859882355, 0.10160837322473526, -0.0764247477054596, -0.5014052391052246, -0.19550392031669617, -0.2422463446855545, -0.19885200262069702, -0.38403934240341187, -0.14582571387290955, -0.004567875061184168, 0.07541678100824356, 0.20067590475082397, 0.16374477744102478, 0.05506991595029831, 0.28859230875968933, -0.03147608041763306, -0.21312391757965088, -0.07510600239038467, -0.09208573400974274, 0.40332043170928955, 0.11650398373603821, 0.11482000350952148, 0.03801874443888664, -0.11780352145433426, -0.29797032475471497, -0.3128146529197693, 0.20226000249385834, 0.031660743057727814, -0.04741315543651581, 0.21347443759441376, 0.1517619490623474, -0.1451551467180252, -0.22840441763401031, 0.20022477209568024, -0.08902959525585175, -0.03936338797211647, -0.26245319843292236, 0.06085114926099777, -0.3738173842430115, -0.6367596983909607, -0.2998354434967041, 0.22017121315002441, 0.016022339463233948, -0.42567893862724304, 0.1643172800540924, 0.0234241746366024, -0.11407802253961563, 0.23237541317939758, -0.02770662121474743, 0.29933223128318787, -0.1036716103553772, 0.4193858802318573, -0.10393694043159485, -0.02522565983235836, -0.49565765261650085, 0.15028181672096252, 0.189907506108284, 0.08005931973457336, -0.1274740844964981, -0.09207864850759506, -0.3964150547981262, -0.5467191338539124, -0.31770822405815125, 0.1190534457564354, 0.22858642041683197, 0.0666172131896019, 0.27021142840385437, 0.19729310274124146, 0.036603718996047974, -0.2620951235294342, 0.44171419739723206, -0.07575606554746628, 0.38445964455604553, -0.3770095109939575, -0.24218766391277313, -0.03343577682971954, -0.1756419837474823, 0.07240216434001923, 0.0073499432764947414, -0.1944856345653534, -0.10095734149217606, -0.17955751717090607, -0.0688953697681427, 0.23267225921154022, 0.028676457703113556, -0.4189504384994507, 0.31324273347854614, -0.2492145299911499, -0.1538340300321579, 0.34336522221565247, 0.18321485817432404, -0.06076228618621826, -0.37893247604370117, 0.21838277578353882, 0.1260487288236618, 0.3287501037120819, -0.3988496661186218, -0.49250152707099915, 0.041060399264097214, 0.09865721315145493, -0.08229851722717285, -0.1694750040769577, 0.14924509823322296, -0.12195755541324615, 0.138252854347229, -0.2504010796546936, -0.18252620100975037, -0.09294946491718292, 0.3748481571674347, -0.006326110567897558, 0.46337032318115234, 0.266733318567276, 0.10547132790088654, -0.08391523361206055, 0.26872625946998596, -0.13382378220558167, -0.019119691103696823, 0.2343512624502182, -0.1968834102153778, -0.03545917943120003, 0.19538596272468567, -0.2024666666984558, 0.3196546733379364, 0.1225842610001564, 0.07594211399555206, 0.3377949595451355, 0.1146654412150383, -0.28191620111465454, 0.03533725067973137, 0.1578601449728012, -0.009308716282248497, -0.3367757201194763, -0.05401374772191048, 0.5753976702690125, 0.06836886703968048, 0.3425776958465576, -0.1077343076467514, -0.12697486579418182, -0.18745698034763336, 0.4884222745895386, 0.15232820808887482, -0.3302592635154724, 0.045586973428726196, 0.2528446316719055, -0.2330782115459442, 0.03639606013894081, -0.25461238622665405, 0.00853774230927229, 0.29713764786720276, -0.1706983745098114, -0.44805631041526794, 0.1434348076581955, -0.21951638162136078, 0.5239984393119812, 0.04407445341348648, 0.39162957668304443, 0.10006466507911682, 0.533710241317749, 0.19468820095062256, -0.03745301440358162, 0.03156004473567009, -0.12105616927146912, 0.781775176525116, 0.13207344710826874, 0.04455327242612839, 0.12941841781139374, 0.2997741997241974, -0.050780367106199265, -0.08293378353118896, -0.2421175241470337, -0.07249629497528076, -0.32397007942199707, -0.19255803525447845, -0.35416749119758606, 0.08646842837333679, -0.1414293348789215, 0.05413878709077835, 0.016273340210318565, 0.13072143495082855, -0.715552568435669, -0.20083299279212952, 0.18177790939807892, -0.16997464001178741, 0.17193354666233063, -0.11560381948947906, 0.04698411002755165, 0.3922276496887207, -0.5289717316627502, 0.0689539983868599, 0.22312359511852264, 0.28812405467033386, 0.3945390582084656, -0.0677802562713623, -0.0999307930469513, 0.4236764907836914, 0.0729258731007576, -0.0007175877690315247, 0.04049970209598541, 0.00860325526446104, 0.06275030225515366, 0.005495054647326469, 0.09600181877613068, 0.1691482961177826, -0.21761102974414825, 0.33174389600753784, 0.22765406966209412, -0.44772255420684814, -0.09607019275426865, 0.2111041098833084, 0.31582701206207275, 0.006856969092041254, -0.10127858817577362, -0.11373132467269897, 0.9892200231552124, 0.4090843200683594, -0.11154522746801376, 0.18647387623786926, 0.18006299436092377, 0.27670666575431824, -0.07483510673046112, 0.12471536546945572, -0.20413988828659058, 0.19424431025981903, 0.041317544877529144, 0.1577211171388626, -0.3753660023212433, -0.06009849160909653, 0.17201095819473267, 0.07718002796173096, 0.467418909072876, 0.05308084562420845, 0.1920979768037796, 0.311587393283844, 0.09932614117860794, -0.022356828674674034, -0.1490546017885208, 0.22690653800964355, 0.19052477180957794, 0.17798849940299988, -0.19784392416477203, -0.008024371229112148, 0.1747296154499054, -0.023990381509065628, -0.2151910662651062, 0.160521999001503, -0.22756840288639069, 0.45367854833602905, 0.28655770421028137, 0.0640052780508995, -0.07778864353895187, -0.16748693585395813, 0.06215474009513855, 0.10580939799547195, -0.15788783133029938, 0.3712376654148102, -0.0035950499586760998, -0.06806201487779617, -0.20201611518859863, 0.28274062275886536, -0.02925303392112255, -0.3611784875392914, -0.3693595230579376, -0.03899378329515457, 0.07491737604141235, -0.11081331968307495, 0.14634454250335693, 0.11524474620819092, 0.11620087176561356, 0.05217263102531433, 0.21588753163814545, 0.32101815938949585, 0.11975739151239395, -0.21271146833896637, 0.20372642576694489, -0.25254666805267334, 0.026593541726469994, -0.04668909311294556, -0.0964566245675087, -0.1173207089304924, -0.15436716377735138, 0.3777826726436615, -0.549100399017334, -0.0061627342365682125, 0.21843212842941284, 0.2643491327762604, -0.10559403151273727, -0.21044588088989258, 0.03929048776626587, -0.3258465528488159, -0.3363896906375885, -0.25327247381210327, -0.15425363183021545, -0.08069212734699249, -0.0526275597512722, 0.650262176990509, 0.1618935763835907, 0.36818140745162964, -0.26240554451942444, -0.2256564199924469, 0.07184934616088867, 0.1031738743185997, 0.14015553891658783, 0.03199707716703415, -0.47006696462631226, 0.15814274549484253, 0.07390794903039932, -0.32292529940605164, -0.3530678451061249, -0.0025506850797683, -0.1868528574705124, -0.13614314794540405, 0.12501448392868042, -0.20841743052005768, 0.2598559856414795, 0.2905215919017792, 0.26198676228523254, -0.039714597165584564, 0.14971116185188293, -0.24220754206180573, -0.28848645091056824, 0.08207901567220688, 0.17439141869544983, -0.3907924294471741, -0.20099210739135742, -0.1432294100522995, 0.051543451845645905, 0.35585305094718933, -0.2784639298915863, -0.2762829065322876, -0.05860773101449013, -0.13259755074977875, 0.13156907260417938, 0.00335846864618361, 0.10643234848976135, 0.16013818979263306, 0.35577675700187683, 0.6997894048690796, -0.08292187005281448, 0.1494535654783249, -0.021721126511693, 0.024778421968221664, 0.09813391417264938, 0.08817754685878754, 0.14752349257469177, -0.133455291390419, 0.24438674747943878, -0.11231984943151474, -0.1516643613576889, 0.13954395055770874, 0.030361955985426903, 0.18187940120697021, -0.20610816776752472, -0.18676644563674927, -0.010990873910486698, 0.2488732933998108, -0.06342252343893051, 0.024798616766929626, 0.07608934491872787, -0.023166922852396965, 0.13279429078102112, 0.1224091574549675, 0.2010316401720047, -0.46094414591789246, 0.37094131112098694, 0.060929037630558014, 0.4125601351261139, -0.3574492335319519, -0.447380930185318, -0.11737345904111862, -0.2225763350725174, 0.18689626455307007, -0.12092749774456024, -0.11851892620325089, 0.2824229598045349, 0.1551937609910965, 0.01863912306725979, -0.12844593822956085, 0.35645464062690735, 0.35287415981292725, -0.11108766496181488, 0.02664444036781788, -0.18749693036079407, -0.1861734688282013, -0.021392524242401123, -0.29956454038619995, 0.07854972779750824, 0.03572241589426994, 0.07715404778718948, -0.22848303616046906, 0.016345493495464325, 0.4991813600063324, -0.017117399722337723, -0.23865222930908203, -0.4956111013889313, -0.04490925371646881, -0.41706398129463196, -0.023400042206048965, 0.03223220258951187, 0.05183093622326851, -0.047378335148096085, 0.04156224802136421, 0.03962302207946777, -0.04659242182970047, -0.38956522941589355, 0.055004410445690155, 0.3879982829093933, -0.09991080313920975, 0.20063002407550812, 0.07926537841558456, 0.032532453536987305, 0.08705376088619232, 0.20615187287330627, 0.0931360125541687, -0.04627516120672226, 0.18799135088920593, 0.05735762044787407, 0.002710698638111353, -0.24416649341583252, -0.20964425802230835, 0.11651042848825455, 0.18566304445266724, -0.039727892726659775, 0.13100948929786682, 0.21879570186138153, -0.23863071203231812, -0.08819128572940826, -0.12770672142505646, 0.13597474992275238, 0.24341043829917908, -0.04023214802145958, -0.23760159313678741, -0.04335596784949303, -0.38246092200279236, 0.034849442541599274, -0.23452942073345184, 0.15711981058120728, 0.11502384394407272, -0.19918107986450195, 0.2449950873851776, 0.032157279551029205, 0.12671516835689545, -0.17502176761627197, 0.3197934627532959, 0.11449699103832245, 0.06988835334777832, -0.03897957131266594, -0.6324300765991211, -0.18666374683380127, 0.12889856100082397, 0.03257642686367035, -0.03039766661822796, -0.31276875734329224, 0.08573330193758011, -0.09449147433042526, -0.1660836935043335, -0.04084763303399086, 0.11817607283592224, 0.10875511914491653, 0.038845159113407135, 0.08336006104946136, -0.24626491963863373, -0.014280013740062714, 0.04615616425871849, -0.1866730898618698, 0.11975184828042984, 0.08843974769115448, 0.06141209229826927, 0.21285440027713776, 0.1656561940908432, -0.5113390684127808, -0.3659268915653229, -0.00048095942474901676, -0.11497747898101807, 0.14356693625450134, 0.22734197974205017, -0.2760308086872101, -0.3062793016433716, -0.37444931268692017, -0.4022518992424011, -0.0867660865187645, -0.02456407994031906, -0.18652242422103882, -0.029106026515364647, 0.10619496554136276, 0.6682330369949341, -0.15702760219573975, -0.1089463010430336, 0.13180802762508392, 0.37645086646080017, -0.3130142390727997, 0.1762276440858841, -0.2400776445865631, 0.09067109227180481, 0.33338406682014465, 0.18372252583503723, 0.042952895164489746, -0.10329505801200867, -0.1350412219762802, -0.27148982882499695, 0.102532297372818, -0.4033484160900116, -0.05813678726553917, -0.1047699972987175, 0.41228020191192627, -0.04246232658624649, 0.20461370050907135, -0.09435903280973434, -0.26205140352249146, 0.1798708736896515, 0.11185068637132645, -0.17351049184799194, 0.06526105850934982, 0.1575368195772171, 0.01563667505979538, 0.020957570523023605, -0.22165662050247192, 0.5522943735122681, -0.2270372360944748, 0.005981943570077419, 0.09790480881929398 ]
https://github.com/huggingface/datasets/issues/1590
Add helper to resolve namespace collision
I was thinking about using something like [importlib](https://docs.python.org/3/library/importlib.html#importing-a-source-file-directly) to over-ride the collision. **Reason requested**: I use the [following template](https://github.com/jramapuram/ml_base/) repo where I house all my datasets as a submodule.
Many projects use a module called `datasets`, however this is incompatible with huggingface datasets. It would be great if there if there was some helper or similar function to resolve such a common conflict.
29
Add helper to resolve namespace collision
[ -0.13209575414657593, 0.0977049320936203, -0.1575077325105667, 0.1867649406194687, 0.0423203706741333, -0.29205864667892456, 0.22433051466941833, 0.380376935005188, 0.29754382371902466, 0.3260418772697449, 0.0623510368168354, 0.05172491446137428, -0.46038463711738586, 0.0004887057584710419, -0.028423456475138664, 0.013801182620227337, -0.05710959807038307, 0.29189813137054443, 0.254436731338501, 0.21591001749038696, -0.17381742596626282, 0.08881089836359024, -0.15801359713077545, 0.21154816448688507, -0.06615423411130905, 0.13595722615718842, 0.2751106321811676, -0.02982080914080143, 0.12285661697387695, -0.2640622854232788, 0.5923224091529846, 0.16114376485347748, 0.2153526395559311, 0.32785046100616455, -0.00010344797919970006, 0.18535909056663513, 0.30697688460350037, -0.0001499000209150836, 0.1430877447128296, 0.22866706550121307, -0.5038667917251587, -0.13723081350326538, -0.04358036816120148, -0.22182969748973846, -0.12620766460895538, -0.18683680891990662, -0.1639339178800583, -0.2337319403886795, 0.16944235563278198, -0.0010111472802236676, 0.30952897667884827, 0.0675775483250618, 0.056317221373319626, 0.007977373898029327, 0.5057886838912964, -0.22184963524341583, -0.10989441722631454, 0.07819999754428864, 0.3457258939743042, -0.21682380139827728, -0.19191205501556396, 0.409209281206131, -0.20945186913013458, -0.23416417837142944, 0.11211729049682617, 0.03602743521332741, 0.1685318648815155, 0.2377963364124298, -0.16315460205078125, 0.005744767840951681, 0.019533010199666023, -0.10136991739273071, 0.16804420948028564, -0.3393198847770691, -0.051323529332876205, -0.15226607024669647, 0.40907761454582214, -0.6329566240310669, -0.07653121650218964, -0.08434179425239563, 0.2341337651014328, -0.16968482732772827, -0.3471444249153137, 0.0025372090749442577, 0.16257694363594055, 0.3471567630767822, -0.15411971509456635, 0.06927689164876938, 0.3206797242164612, 0.1330881416797638, -0.03752416744828224, 0.09134072065353394, 0.15131080150604248, -0.16657279431819916, -0.21322327852249146, -0.27879515290260315, 0.04246649518609047, -0.1592818945646286, -0.050714846700429916, -0.17124877870082855, -0.0315089151263237, 0.3017323911190033, -0.008653315715491772, -0.0897459089756012, -0.09579241275787354, 0.08511441200971603, 0.05462612584233284, -0.07818790525197983, 0.6356381773948669, 0.5891437530517578, -0.14908313751220703, 0.2747151255607605, -0.21807856857776642, -0.3577602803707123, 0.04948946833610535, 0.4093797504901886, 0.20757615566253662, 0.10753346234560013, 0.04764586314558983, 0.3138205111026764, 0.16150760650634766, -0.06593496352434158, 0.1911756843328476, 0.03299233689904213, 0.07285834103822708, 0.20707698166370392, 0.26100343465805054, -0.1901446133852005, -0.009661120362579823, -0.3587135076522827, -0.044321462512016296, 0.09930039942264557, -0.1508336216211319, -0.24550822377204895, -0.06043223291635513, 0.7442556023597717, -0.3054376542568207, -0.32814350724220276, 0.5401571989059448, 0.030332593247294426, 0.1365738809108734, 0.3986467719078064, -0.05460216477513313, -0.0811283141374588, -0.14340592920780182, 0.009348676539957523, 0.1772565245628357, -0.34582212567329407, -0.22759227454662323, -0.037284813821315765, -0.27896198630332947, -0.06782706081867218, -0.06319013237953186, 0.30714449286460876, 0.2652939260005951, 0.3928077816963196, 0.08752243220806122, -0.10995952785015106, 0.03088410198688507, -0.46732863783836365, 0.11084369570016861, 0.04392591863870621, -0.08704033493995667, -0.3708273470401764, 0.1544729620218277, 0.017251651734113693, -0.18938320875167847, 0.033311232924461365, -0.29237040877342224, 0.09335299581289291, 0.10899488627910614, -0.28919997811317444, 0.03006082773208618, -0.0076044718734920025, -0.46683087944984436, -0.1583271026611328, 0.3569123446941376, -0.2626495659351349, -0.12255334109067917, -0.1624765247106552, -0.3936862647533417, 0.32287245988845825, 0.3600511848926544, 0.19712957739830017, -0.3112015426158905, -0.11305280774831772, 0.2172975093126297, 0.2709622085094452, -0.16307373344898224, 0.025387652218341827, 0.019078927114605904, -0.018396558240056038, 0.06127992644906044, 0.07472994178533554, 0.30841636657714844, -0.09665577858686447, -0.12922310829162598, 0.20530889928340912, -0.06611376255750656, -0.2591274380683899, 0.29633769392967224, 0.03754526749253273, 0.34693703055381775, -0.10813698172569275, 0.026316329836845398, -0.26316240429878235, -0.2475435584783554, 0.0026037287898361683, -0.2179044932126999, 0.12317667156457901, 0.11126935482025146, -0.06924385577440262, -0.024095434695482254, -0.03382844105362892, -0.14996472001075745, 0.017343685030937195, 0.2959919571876526, 0.15165799856185913, 0.24108676612377167, -0.3059181869029999, -0.15294264256954193, 0.18013863265514374, -0.4214611053466797, 0.12654481828212738, -0.16694985330104828, -0.0118323415517807, -0.09205412119626999, 0.016712434589862823, -0.17137514054775238, 0.418141633272171, -0.16299724578857422, -0.10167588293552399, -0.01763097010552883, 0.23359085619449615, -0.06627870351076126, 0.0794980600476265, -0.050691135227680206, 0.1304066926240921, -0.05981237813830376, -0.25909623503685, -0.07546328008174896, 0.13470213115215302, -0.0990520566701889, 0.0623539499938488, 0.23108689486980438, 0.3562900424003601, -0.060077451169490814, 0.4568926692008972, -0.03028683178126812, -0.05089600756764412, 0.0066594588570296764, -0.21610021591186523, 0.025849422439932823, -0.15751877427101135, 0.1070915088057518, -0.14435605704784393, 0.4011991322040558, -0.07216750085353851, 0.11502806842327118, 0.0182173028588295, 0.017094913870096207, 0.27131280303001404, 0.19884513318538666, 0.31355226039886475, -0.09916070848703384, 0.2282070368528366, -0.17774194478988647, 0.19304800033569336, 0.00033740457729436457, 0.23810817301273346, -0.049444954842329025, 0.07166320085525513, 0.02611272595822811, -0.18956606090068817, 0.1943015605211258, -0.08430776745080948, 0.2884608209133148, 0.17507432401180267, 0.11318869888782501, -0.10938592255115509, 0.06463225185871124, -0.13933886587619781, -0.1934252679347992, -0.06012609973549843, -0.19799315929412842, -0.3059675395488739, -0.2186436653137207, -0.6277254223823547, -0.09938853234052658, -0.20993511378765106, -0.1967318058013916, -0.20203563570976257, 0.3296228349208832, 0.11662241816520691, -0.48888885974884033, 0.19578298926353455, -0.089364193379879, 0.297655314207077, 0.08365333825349808, 0.15744656324386597, 0.20132233202457428, -0.3318975865840912, -0.23296630382537842, 0.21122653782367706, 0.048182010650634766, -0.29369932413101196, 0.26386532187461853, -0.10464721918106079, 0.07295379042625427, 0.13088162243366241, -0.5916751027107239, 0.0905308648943901, -0.010643050074577332, -0.16325989365577698, 0.4496495723724365, 0.1512247771024704, 0.31128063797950745, -0.42635297775268555, 0.20903228223323822, -0.19511394202709198, 0.01290949434041977, -0.006378937512636185, 0.016892727464437485, 0.10639246553182602, -0.12554828822612762, -0.0876302421092987, 0.13081862032413483, -0.5495913028717041, -0.21585704386234283, -0.22842347621917725, 0.07935011386871338, 0.17702926695346832, -0.1462097465991974, 0.20790374279022217, -0.18367627263069153, 0.1260184496641159, 0.0979769304394722, -0.28159022331237793, 0.0014712689444422722, -0.08159283548593521, 0.29815948009490967, -0.15711988508701324, -0.2534021735191345, 0.2636929750442505, -0.04045114293694496, 0.12487944215536118, -0.30426207184791565, 0.10751699656248093, 0.20051197707653046, 0.35160067677497864, 0.012365225702524185, 0.262416273355484, 0.27129292488098145, -0.2917480766773224, -0.2844410538673401, -0.0022862714249640703, 0.29656875133514404, 0.0392971932888031, 0.06988703459501266, 0.31616702675819397, -0.04562677815556526, -0.14244788885116577, 0.29039132595062256, -0.16806365549564362, -0.0790451392531395, 0.297038197517395, 0.14052332937717438, 0.258224219083786, 0.22738566994667053, -0.01812897063791752, -0.10399968922138214, 0.05136514827609062, -0.2539216876029968, 0.19465915858745575, 0.02813408337533474, 0.02839069813489914, -0.16083747148513794, -0.2915380001068115, -0.15762674808502197, -0.40636321902275085, -0.042443569749593735, -0.03611362725496292, 0.11757882684469223, -0.29510068893432617, -0.704166054725647, -0.13148881494998932, -0.13481035828590393, 0.3030332028865814, 0.3569214642047882, 0.1771429181098938, -0.26554200053215027, -0.5979017019271851, 0.10614664107561111, 0.32824215292930603, 0.24705545604228973, 0.11901644617319107, 0.04794754087924957, 0.02235957235097885, -0.2691047191619873, -0.294113427400589, 0.05606319382786751, 0.7061240077018738, -0.3101089298725128, -0.08523942530155182, -0.19567041099071503, 0.39409080147743225, 0.27857619524002075, -0.09579728543758392, 0.12280341237783432, -0.08206344395875931, -0.16607369482517242, 0.3428272008895874, -0.08820022642612457, 0.1619214117527008, -0.13091136515140533, 0.187603160738945, 0.08185067027807236, 0.12206608057022095, -0.05382842943072319, 0.1561402678489685, -0.40520787239074707, 0.23931799829006195, -0.022718369960784912, -0.083145871758461, 0.23006246984004974, -0.2015678435564041, 0.23879849910736084, -0.11105526983737946, 0.07232993096113205, -0.022089466452598572, 0.16514036059379578, -0.10249388217926025, 0.025735512375831604, -0.15929311513900757, 0.34849393367767334, -0.04318058863282204, -0.020461993291974068, -0.2193153351545334, -0.639176070690155, 0.17628102004528046, 0.15574020147323608, 0.7199187874794006, 0.321678102016449, -0.1890227347612381, 0.24752692878246307, -0.0364827997982502, 0.25845101475715637, -0.3907216489315033, 0.257519394159317, -0.05151836946606636, 0.07975903898477554, -0.29057928919792175, 0.005408491939306259, -0.0092573631554842, 0.1808062642812729, -0.16645537316799164, 0.277454137802124, 0.6246169805526733, -0.4780158996582031, -0.059902124106884, -0.06305979937314987, 0.9767054915428162, 0.1570463329553604, 0.13540585339069366, 0.08357841521501541, -0.20838870108127594, 0.7358042597770691, -0.22157156467437744, 0.19208694994449615, -0.11536378413438797, -0.04980241879820824, 0.08921525627374649, 0.02950841560959816, 0.14701814949512482, -0.37414389848709106, -0.12473839521408081, 0.28272828459739685, -0.033586546778678894, 0.2641174793243408, -0.20426230132579803, -0.13604958355426788, 0.5137189030647278, -0.37973734736442566, -0.02739676833152771, 0.1452820897102356, -0.12588487565517426, -0.0639522448182106, -0.06258740276098251, -0.02429584413766861, 0.07155656814575195, -0.309613972902298, -0.026706187054514885, 0.16124162077903748, 0.334097295999527, -0.2555330693721771, 0.297594279050827, 0.038362424820661545, -0.03621217980980873, -0.35988423228263855, 0.4544379413127899, 0.21945200860500336, 0.09500905126333237, -0.045163217931985855, -0.056779198348522186, 0.3687359690666199, -0.06238207221031189, -0.11296294629573822, 0.024108445271849632, 0.08300971239805222, 0.11345943063497543, 0.102491095662117, -0.0691051036119461, -0.6633298397064209, -0.2951362133026123, -0.0253167562186718, 0.10403657704591751, -0.039654262363910675, -0.011589445173740387, -0.14482516050338745, -0.05342584848403931, -0.33351123332977295, 0.2696109116077423, -0.31113070249557495, -0.271757036447525, -0.09126376360654831, 0.20303800702095032, -0.09978177398443222, 0.09499400854110718, -0.07911578565835953, 0.47672906517982483, -0.01807454787194729, 0.20638205111026764, 0.06352062523365021, -0.1307312399148941, -0.19139301776885986, -0.4291355013847351, 0.3500610589981079, 0.2961249351501465, 0.13613809645175934, -0.07790554314851761, -0.40873682498931885, 0.09282011538743973, -0.06642482429742813, 0.01098670158535242, 0.19896110892295837, 0.1500299721956253, -0.16858237981796265, -0.26314622163772583, 0.3641790449619293, -0.22302904725074768, 0.3326539099216461, 0.2780223488807678, 0.03740447759628296, -0.2697276473045349, 0.2676641345024109, -0.43376731872558594, -0.27734971046447754, -0.2534661293029785, 0.07575690746307373, -0.05916811525821686, 0.13858269155025482, -0.10843439400196075, 0.013536863029003143, 0.20031172037124634, 0.26897552609443665, 0.1992887556552887, -0.24053475260734558, 0.003083314746618271, 0.05322221294045448, -0.09837153553962708, 0.0702667161822319, 0.25084444880485535, -0.16852332651615143, 0.1345898061990738, -0.09438955038785934, 0.02904573082923889, -0.31484416127204895, -0.11204130202531815, -0.07589352875947952, -0.2951207756996155, -0.0705890953540802, 0.06079091131687164, 0.4124293625354767, -0.1903194785118103, 0.125010147690773, -0.2240629494190216, -0.031001023948192596, -0.17344647645950317, -0.1968507319688797, 0.32953906059265137, 0.1844685673713684, 0.2562779486179352, 0.06355342268943787, 0.11642216145992279, 0.1896105706691742, -0.4798934757709503, 0.2577374577522278, 0.16299480199813843, -0.24895375967025757, -0.1476740688085556, -0.17173917591571808, 0.019092272967100143, 0.19208566844463348, -0.35050052404403687, -0.05920899659395218, 0.19273455440998077, -0.4436926245689392, 0.22350908815860748, 0.3966647982597351, 0.17906758189201355, 0.11622309684753418, 0.2602865397930145, 0.08473805338144302, 0.044744402170181274, 0.0469602532684803, 0.31624749302864075, 0.11482510715723038, -0.19065967202186584, -0.005380011163651943, 0.11106672883033752, -0.14196094870567322, 0.011804688721895218, 0.04368526116013527, -0.021519646048545837, 0.46202006936073303, -0.04942574352025986, -0.07214575260877609, -0.06768607348203659, -0.11164846271276474, 0.17381247878074646, 0.24305501580238342, 0.12983059883117676, 0.14751611649990082, 0.16584737598896027, 0.09165436029434204, -0.15408101677894592, 0.18815255165100098, 0.10358043015003204, 0.0008048012969084084, -0.18221448361873627, 0.10353582352399826, -0.05802709236741066, -0.35462063550949097, -0.39323315024375916, -0.1888061761856079, 0.1969861388206482, 0.1635759174823761, 0.27275216579437256, -0.14698882400989532, 0.35011550784111023, 0.11058183759450912, -0.06538490951061249, 0.1749477982521057, 0.12821592390537262, -0.18069925904273987, 0.23186305165290833, 0.14954258501529694, -0.02743135392665863, 0.18908332288265228, -0.00619097612798214, 0.07265195995569229, 0.1838931143283844, -0.2801665961742401, -0.23275698721408844, 0.03592401370406151, 0.014021007344126701, -0.4700085520744324, 0.001344620599411428, -0.020429683849215508, -0.26818299293518066, -0.07984165847301483, 0.24671804904937744, -0.2633684277534485, 0.07530269026756287, -0.10894966125488281, -0.22146356105804443, 0.061297912150621414, 0.05176066234707832, 0.10301775485277176, 0.19364206492900848, -0.026569731533527374, 0.032472241669893265, -0.25028643012046814, -0.18617312610149384, 0.33390194177627563, -0.08991310000419617, -0.07346620410680771, -0.01988925039768219, 0.159931942820549, 0.1309944987297058, 0.49946480989456177, 0.17235541343688965, -0.17037999629974365, -0.08281072974205017, -0.4286906123161316, -0.37941423058509827, 0.51576167345047, -0.12983739376068115, -0.02213747799396515, -0.15216028690338135, -0.4629693925380707, 0.3376699686050415, -0.10704930126667023, 0.0965697169303894, -0.16677801311016083, 0.2412729114294052, -0.40640971064567566, -0.41539832949638367, 0.02711755968630314, 0.45132702589035034, -0.4893771708011627, 0.2061450034379959, -0.17130504548549652, 0.22785542905330658, 0.5148898959159851, 0.19837546348571777, 0.06993704289197922, 0.23893259465694427, 0.16012947261333466, 0.1413101851940155, 0.34761953353881836, 0.09402164071798325, 0.3451468348503113, -0.5011872053146362, -0.19777782261371613, 0.014182892628014088, -0.0020675258710980415, -0.2070438712835312, 0.030707072466611862, -0.03055177442729473, 0.09167330712080002, -0.20954832434654236, 0.16661886870861053, -0.42720645666122437, -0.3674045205116272, 0.058325715363025665, 0.4657319188117981, -0.2958366572856903, -0.02333400398492813, -0.284827321767807, 0.16627541184425354, 0.019015993922948837, -0.0847521424293518, 0.19635982811450958, 0.136692076921463, -0.209248885512352, -0.26681143045425415, 0.1606980264186859, 0.29393628239631653, -0.4515964984893799, -0.10624723136425018, 0.14823855459690094, -0.3775201141834259, 0.17871855199337006, -0.39376115798950195, -0.2628139853477478, 0.1713676005601883, 0.04168093204498291, 0.20503398776054382, 0.11194878071546555, 0.05318490043282509, 0.03244548290967941, 0.0027741938829421997, -0.10386652499437332, 0.23995563387870789, -0.02381535805761814, -0.06400850415229797, -0.07892980426549911 ]
https://github.com/huggingface/datasets/issues/1590
Add helper to resolve namespace collision
Alternatively huggingface could consider some submodule type structure like: `import huggingface.datasets` `import huggingface.transformers` `datasets` is a very common module in ML and should be an end-user decision and not scope all of python ¯\_(ツ)_/¯
Many projects use a module called `datasets`, however this is incompatible with huggingface datasets. It would be great if there if there was some helper or similar function to resolve such a common conflict.
34
Add helper to resolve namespace collision
[ -0.13209575414657593, 0.0977049320936203, -0.1575077325105667, 0.1867649406194687, 0.0423203706741333, -0.29205864667892456, 0.22433051466941833, 0.380376935005188, 0.29754382371902466, 0.3260418772697449, 0.0623510368168354, 0.05172491446137428, -0.46038463711738586, 0.0004887057584710419, -0.028423456475138664, 0.013801182620227337, -0.05710959807038307, 0.29189813137054443, 0.254436731338501, 0.21591001749038696, -0.17381742596626282, 0.08881089836359024, -0.15801359713077545, 0.21154816448688507, -0.06615423411130905, 0.13595722615718842, 0.2751106321811676, -0.02982080914080143, 0.12285661697387695, -0.2640622854232788, 0.5923224091529846, 0.16114376485347748, 0.2153526395559311, 0.32785046100616455, -0.00010344797919970006, 0.18535909056663513, 0.30697688460350037, -0.0001499000209150836, 0.1430877447128296, 0.22866706550121307, -0.5038667917251587, -0.13723081350326538, -0.04358036816120148, -0.22182969748973846, -0.12620766460895538, -0.18683680891990662, -0.1639339178800583, -0.2337319403886795, 0.16944235563278198, -0.0010111472802236676, 0.30952897667884827, 0.0675775483250618, 0.056317221373319626, 0.007977373898029327, 0.5057886838912964, -0.22184963524341583, -0.10989441722631454, 0.07819999754428864, 0.3457258939743042, -0.21682380139827728, -0.19191205501556396, 0.409209281206131, -0.20945186913013458, -0.23416417837142944, 0.11211729049682617, 0.03602743521332741, 0.1685318648815155, 0.2377963364124298, -0.16315460205078125, 0.005744767840951681, 0.019533010199666023, -0.10136991739273071, 0.16804420948028564, -0.3393198847770691, -0.051323529332876205, -0.15226607024669647, 0.40907761454582214, -0.6329566240310669, -0.07653121650218964, -0.08434179425239563, 0.2341337651014328, -0.16968482732772827, -0.3471444249153137, 0.0025372090749442577, 0.16257694363594055, 0.3471567630767822, -0.15411971509456635, 0.06927689164876938, 0.3206797242164612, 0.1330881416797638, -0.03752416744828224, 0.09134072065353394, 0.15131080150604248, -0.16657279431819916, -0.21322327852249146, -0.27879515290260315, 0.04246649518609047, -0.1592818945646286, -0.050714846700429916, -0.17124877870082855, -0.0315089151263237, 0.3017323911190033, -0.008653315715491772, -0.0897459089756012, -0.09579241275787354, 0.08511441200971603, 0.05462612584233284, -0.07818790525197983, 0.6356381773948669, 0.5891437530517578, -0.14908313751220703, 0.2747151255607605, -0.21807856857776642, -0.3577602803707123, 0.04948946833610535, 0.4093797504901886, 0.20757615566253662, 0.10753346234560013, 0.04764586314558983, 0.3138205111026764, 0.16150760650634766, -0.06593496352434158, 0.1911756843328476, 0.03299233689904213, 0.07285834103822708, 0.20707698166370392, 0.26100343465805054, -0.1901446133852005, -0.009661120362579823, -0.3587135076522827, -0.044321462512016296, 0.09930039942264557, -0.1508336216211319, -0.24550822377204895, -0.06043223291635513, 0.7442556023597717, -0.3054376542568207, -0.32814350724220276, 0.5401571989059448, 0.030332593247294426, 0.1365738809108734, 0.3986467719078064, -0.05460216477513313, -0.0811283141374588, -0.14340592920780182, 0.009348676539957523, 0.1772565245628357, -0.34582212567329407, -0.22759227454662323, -0.037284813821315765, -0.27896198630332947, -0.06782706081867218, -0.06319013237953186, 0.30714449286460876, 0.2652939260005951, 0.3928077816963196, 0.08752243220806122, -0.10995952785015106, 0.03088410198688507, -0.46732863783836365, 0.11084369570016861, 0.04392591863870621, -0.08704033493995667, -0.3708273470401764, 0.1544729620218277, 0.017251651734113693, -0.18938320875167847, 0.033311232924461365, -0.29237040877342224, 0.09335299581289291, 0.10899488627910614, -0.28919997811317444, 0.03006082773208618, -0.0076044718734920025, -0.46683087944984436, -0.1583271026611328, 0.3569123446941376, -0.2626495659351349, -0.12255334109067917, -0.1624765247106552, -0.3936862647533417, 0.32287245988845825, 0.3600511848926544, 0.19712957739830017, -0.3112015426158905, -0.11305280774831772, 0.2172975093126297, 0.2709622085094452, -0.16307373344898224, 0.025387652218341827, 0.019078927114605904, -0.018396558240056038, 0.06127992644906044, 0.07472994178533554, 0.30841636657714844, -0.09665577858686447, -0.12922310829162598, 0.20530889928340912, -0.06611376255750656, -0.2591274380683899, 0.29633769392967224, 0.03754526749253273, 0.34693703055381775, -0.10813698172569275, 0.026316329836845398, -0.26316240429878235, -0.2475435584783554, 0.0026037287898361683, -0.2179044932126999, 0.12317667156457901, 0.11126935482025146, -0.06924385577440262, -0.024095434695482254, -0.03382844105362892, -0.14996472001075745, 0.017343685030937195, 0.2959919571876526, 0.15165799856185913, 0.24108676612377167, -0.3059181869029999, -0.15294264256954193, 0.18013863265514374, -0.4214611053466797, 0.12654481828212738, -0.16694985330104828, -0.0118323415517807, -0.09205412119626999, 0.016712434589862823, -0.17137514054775238, 0.418141633272171, -0.16299724578857422, -0.10167588293552399, -0.01763097010552883, 0.23359085619449615, -0.06627870351076126, 0.0794980600476265, -0.050691135227680206, 0.1304066926240921, -0.05981237813830376, -0.25909623503685, -0.07546328008174896, 0.13470213115215302, -0.0990520566701889, 0.0623539499938488, 0.23108689486980438, 0.3562900424003601, -0.060077451169490814, 0.4568926692008972, -0.03028683178126812, -0.05089600756764412, 0.0066594588570296764, -0.21610021591186523, 0.025849422439932823, -0.15751877427101135, 0.1070915088057518, -0.14435605704784393, 0.4011991322040558, -0.07216750085353851, 0.11502806842327118, 0.0182173028588295, 0.017094913870096207, 0.27131280303001404, 0.19884513318538666, 0.31355226039886475, -0.09916070848703384, 0.2282070368528366, -0.17774194478988647, 0.19304800033569336, 0.00033740457729436457, 0.23810817301273346, -0.049444954842329025, 0.07166320085525513, 0.02611272595822811, -0.18956606090068817, 0.1943015605211258, -0.08430776745080948, 0.2884608209133148, 0.17507432401180267, 0.11318869888782501, -0.10938592255115509, 0.06463225185871124, -0.13933886587619781, -0.1934252679347992, -0.06012609973549843, -0.19799315929412842, -0.3059675395488739, -0.2186436653137207, -0.6277254223823547, -0.09938853234052658, -0.20993511378765106, -0.1967318058013916, -0.20203563570976257, 0.3296228349208832, 0.11662241816520691, -0.48888885974884033, 0.19578298926353455, -0.089364193379879, 0.297655314207077, 0.08365333825349808, 0.15744656324386597, 0.20132233202457428, -0.3318975865840912, -0.23296630382537842, 0.21122653782367706, 0.048182010650634766, -0.29369932413101196, 0.26386532187461853, -0.10464721918106079, 0.07295379042625427, 0.13088162243366241, -0.5916751027107239, 0.0905308648943901, -0.010643050074577332, -0.16325989365577698, 0.4496495723724365, 0.1512247771024704, 0.31128063797950745, -0.42635297775268555, 0.20903228223323822, -0.19511394202709198, 0.01290949434041977, -0.006378937512636185, 0.016892727464437485, 0.10639246553182602, -0.12554828822612762, -0.0876302421092987, 0.13081862032413483, -0.5495913028717041, -0.21585704386234283, -0.22842347621917725, 0.07935011386871338, 0.17702926695346832, -0.1462097465991974, 0.20790374279022217, -0.18367627263069153, 0.1260184496641159, 0.0979769304394722, -0.28159022331237793, 0.0014712689444422722, -0.08159283548593521, 0.29815948009490967, -0.15711988508701324, -0.2534021735191345, 0.2636929750442505, -0.04045114293694496, 0.12487944215536118, -0.30426207184791565, 0.10751699656248093, 0.20051197707653046, 0.35160067677497864, 0.012365225702524185, 0.262416273355484, 0.27129292488098145, -0.2917480766773224, -0.2844410538673401, -0.0022862714249640703, 0.29656875133514404, 0.0392971932888031, 0.06988703459501266, 0.31616702675819397, -0.04562677815556526, -0.14244788885116577, 0.29039132595062256, -0.16806365549564362, -0.0790451392531395, 0.297038197517395, 0.14052332937717438, 0.258224219083786, 0.22738566994667053, -0.01812897063791752, -0.10399968922138214, 0.05136514827609062, -0.2539216876029968, 0.19465915858745575, 0.02813408337533474, 0.02839069813489914, -0.16083747148513794, -0.2915380001068115, -0.15762674808502197, -0.40636321902275085, -0.042443569749593735, -0.03611362725496292, 0.11757882684469223, -0.29510068893432617, -0.704166054725647, -0.13148881494998932, -0.13481035828590393, 0.3030332028865814, 0.3569214642047882, 0.1771429181098938, -0.26554200053215027, -0.5979017019271851, 0.10614664107561111, 0.32824215292930603, 0.24705545604228973, 0.11901644617319107, 0.04794754087924957, 0.02235957235097885, -0.2691047191619873, -0.294113427400589, 0.05606319382786751, 0.7061240077018738, -0.3101089298725128, -0.08523942530155182, -0.19567041099071503, 0.39409080147743225, 0.27857619524002075, -0.09579728543758392, 0.12280341237783432, -0.08206344395875931, -0.16607369482517242, 0.3428272008895874, -0.08820022642612457, 0.1619214117527008, -0.13091136515140533, 0.187603160738945, 0.08185067027807236, 0.12206608057022095, -0.05382842943072319, 0.1561402678489685, -0.40520787239074707, 0.23931799829006195, -0.022718369960784912, -0.083145871758461, 0.23006246984004974, -0.2015678435564041, 0.23879849910736084, -0.11105526983737946, 0.07232993096113205, -0.022089466452598572, 0.16514036059379578, -0.10249388217926025, 0.025735512375831604, -0.15929311513900757, 0.34849393367767334, -0.04318058863282204, -0.020461993291974068, -0.2193153351545334, -0.639176070690155, 0.17628102004528046, 0.15574020147323608, 0.7199187874794006, 0.321678102016449, -0.1890227347612381, 0.24752692878246307, -0.0364827997982502, 0.25845101475715637, -0.3907216489315033, 0.257519394159317, -0.05151836946606636, 0.07975903898477554, -0.29057928919792175, 0.005408491939306259, -0.0092573631554842, 0.1808062642812729, -0.16645537316799164, 0.277454137802124, 0.6246169805526733, -0.4780158996582031, -0.059902124106884, -0.06305979937314987, 0.9767054915428162, 0.1570463329553604, 0.13540585339069366, 0.08357841521501541, -0.20838870108127594, 0.7358042597770691, -0.22157156467437744, 0.19208694994449615, -0.11536378413438797, -0.04980241879820824, 0.08921525627374649, 0.02950841560959816, 0.14701814949512482, -0.37414389848709106, -0.12473839521408081, 0.28272828459739685, -0.033586546778678894, 0.2641174793243408, -0.20426230132579803, -0.13604958355426788, 0.5137189030647278, -0.37973734736442566, -0.02739676833152771, 0.1452820897102356, -0.12588487565517426, -0.0639522448182106, -0.06258740276098251, -0.02429584413766861, 0.07155656814575195, -0.309613972902298, -0.026706187054514885, 0.16124162077903748, 0.334097295999527, -0.2555330693721771, 0.297594279050827, 0.038362424820661545, -0.03621217980980873, -0.35988423228263855, 0.4544379413127899, 0.21945200860500336, 0.09500905126333237, -0.045163217931985855, -0.056779198348522186, 0.3687359690666199, -0.06238207221031189, -0.11296294629573822, 0.024108445271849632, 0.08300971239805222, 0.11345943063497543, 0.102491095662117, -0.0691051036119461, -0.6633298397064209, -0.2951362133026123, -0.0253167562186718, 0.10403657704591751, -0.039654262363910675, -0.011589445173740387, -0.14482516050338745, -0.05342584848403931, -0.33351123332977295, 0.2696109116077423, -0.31113070249557495, -0.271757036447525, -0.09126376360654831, 0.20303800702095032, -0.09978177398443222, 0.09499400854110718, -0.07911578565835953, 0.47672906517982483, -0.01807454787194729, 0.20638205111026764, 0.06352062523365021, -0.1307312399148941, -0.19139301776885986, -0.4291355013847351, 0.3500610589981079, 0.2961249351501465, 0.13613809645175934, -0.07790554314851761, -0.40873682498931885, 0.09282011538743973, -0.06642482429742813, 0.01098670158535242, 0.19896110892295837, 0.1500299721956253, -0.16858237981796265, -0.26314622163772583, 0.3641790449619293, -0.22302904725074768, 0.3326539099216461, 0.2780223488807678, 0.03740447759628296, -0.2697276473045349, 0.2676641345024109, -0.43376731872558594, -0.27734971046447754, -0.2534661293029785, 0.07575690746307373, -0.05916811525821686, 0.13858269155025482, -0.10843439400196075, 0.013536863029003143, 0.20031172037124634, 0.26897552609443665, 0.1992887556552887, -0.24053475260734558, 0.003083314746618271, 0.05322221294045448, -0.09837153553962708, 0.0702667161822319, 0.25084444880485535, -0.16852332651615143, 0.1345898061990738, -0.09438955038785934, 0.02904573082923889, -0.31484416127204895, -0.11204130202531815, -0.07589352875947952, -0.2951207756996155, -0.0705890953540802, 0.06079091131687164, 0.4124293625354767, -0.1903194785118103, 0.125010147690773, -0.2240629494190216, -0.031001023948192596, -0.17344647645950317, -0.1968507319688797, 0.32953906059265137, 0.1844685673713684, 0.2562779486179352, 0.06355342268943787, 0.11642216145992279, 0.1896105706691742, -0.4798934757709503, 0.2577374577522278, 0.16299480199813843, -0.24895375967025757, -0.1476740688085556, -0.17173917591571808, 0.019092272967100143, 0.19208566844463348, -0.35050052404403687, -0.05920899659395218, 0.19273455440998077, -0.4436926245689392, 0.22350908815860748, 0.3966647982597351, 0.17906758189201355, 0.11622309684753418, 0.2602865397930145, 0.08473805338144302, 0.044744402170181274, 0.0469602532684803, 0.31624749302864075, 0.11482510715723038, -0.19065967202186584, -0.005380011163651943, 0.11106672883033752, -0.14196094870567322, 0.011804688721895218, 0.04368526116013527, -0.021519646048545837, 0.46202006936073303, -0.04942574352025986, -0.07214575260877609, -0.06768607348203659, -0.11164846271276474, 0.17381247878074646, 0.24305501580238342, 0.12983059883117676, 0.14751611649990082, 0.16584737598896027, 0.09165436029434204, -0.15408101677894592, 0.18815255165100098, 0.10358043015003204, 0.0008048012969084084, -0.18221448361873627, 0.10353582352399826, -0.05802709236741066, -0.35462063550949097, -0.39323315024375916, -0.1888061761856079, 0.1969861388206482, 0.1635759174823761, 0.27275216579437256, -0.14698882400989532, 0.35011550784111023, 0.11058183759450912, -0.06538490951061249, 0.1749477982521057, 0.12821592390537262, -0.18069925904273987, 0.23186305165290833, 0.14954258501529694, -0.02743135392665863, 0.18908332288265228, -0.00619097612798214, 0.07265195995569229, 0.1838931143283844, -0.2801665961742401, -0.23275698721408844, 0.03592401370406151, 0.014021007344126701, -0.4700085520744324, 0.001344620599411428, -0.020429683849215508, -0.26818299293518066, -0.07984165847301483, 0.24671804904937744, -0.2633684277534485, 0.07530269026756287, -0.10894966125488281, -0.22146356105804443, 0.061297912150621414, 0.05176066234707832, 0.10301775485277176, 0.19364206492900848, -0.026569731533527374, 0.032472241669893265, -0.25028643012046814, -0.18617312610149384, 0.33390194177627563, -0.08991310000419617, -0.07346620410680771, -0.01988925039768219, 0.159931942820549, 0.1309944987297058, 0.49946480989456177, 0.17235541343688965, -0.17037999629974365, -0.08281072974205017, -0.4286906123161316, -0.37941423058509827, 0.51576167345047, -0.12983739376068115, -0.02213747799396515, -0.15216028690338135, -0.4629693925380707, 0.3376699686050415, -0.10704930126667023, 0.0965697169303894, -0.16677801311016083, 0.2412729114294052, -0.40640971064567566, -0.41539832949638367, 0.02711755968630314, 0.45132702589035034, -0.4893771708011627, 0.2061450034379959, -0.17130504548549652, 0.22785542905330658, 0.5148898959159851, 0.19837546348571777, 0.06993704289197922, 0.23893259465694427, 0.16012947261333466, 0.1413101851940155, 0.34761953353881836, 0.09402164071798325, 0.3451468348503113, -0.5011872053146362, -0.19777782261371613, 0.014182892628014088, -0.0020675258710980415, -0.2070438712835312, 0.030707072466611862, -0.03055177442729473, 0.09167330712080002, -0.20954832434654236, 0.16661886870861053, -0.42720645666122437, -0.3674045205116272, 0.058325715363025665, 0.4657319188117981, -0.2958366572856903, -0.02333400398492813, -0.284827321767807, 0.16627541184425354, 0.019015993922948837, -0.0847521424293518, 0.19635982811450958, 0.136692076921463, -0.209248885512352, -0.26681143045425415, 0.1606980264186859, 0.29393628239631653, -0.4515964984893799, -0.10624723136425018, 0.14823855459690094, -0.3775201141834259, 0.17871855199337006, -0.39376115798950195, -0.2628139853477478, 0.1713676005601883, 0.04168093204498291, 0.20503398776054382, 0.11194878071546555, 0.05318490043282509, 0.03244548290967941, 0.0027741938829421997, -0.10386652499437332, 0.23995563387870789, -0.02381535805761814, -0.06400850415229797, -0.07892980426549911 ]
https://github.com/huggingface/datasets/issues/1590
Add helper to resolve namespace collision
It also wasn't initially obvious to me that the samples which contain `import datasets` were in fact importing a huggingface library (in fact all the huggingface imports are very generic - transformers, tokenizers, datasets...)
Many projects use a module called `datasets`, however this is incompatible with huggingface datasets. It would be great if there if there was some helper or similar function to resolve such a common conflict.
34
Add helper to resolve namespace collision
[ -0.13209575414657593, 0.0977049320936203, -0.1575077325105667, 0.1867649406194687, 0.0423203706741333, -0.29205864667892456, 0.22433051466941833, 0.380376935005188, 0.29754382371902466, 0.3260418772697449, 0.0623510368168354, 0.05172491446137428, -0.46038463711738586, 0.0004887057584710419, -0.028423456475138664, 0.013801182620227337, -0.05710959807038307, 0.29189813137054443, 0.254436731338501, 0.21591001749038696, -0.17381742596626282, 0.08881089836359024, -0.15801359713077545, 0.21154816448688507, -0.06615423411130905, 0.13595722615718842, 0.2751106321811676, -0.02982080914080143, 0.12285661697387695, -0.2640622854232788, 0.5923224091529846, 0.16114376485347748, 0.2153526395559311, 0.32785046100616455, -0.00010344797919970006, 0.18535909056663513, 0.30697688460350037, -0.0001499000209150836, 0.1430877447128296, 0.22866706550121307, -0.5038667917251587, -0.13723081350326538, -0.04358036816120148, -0.22182969748973846, -0.12620766460895538, -0.18683680891990662, -0.1639339178800583, -0.2337319403886795, 0.16944235563278198, -0.0010111472802236676, 0.30952897667884827, 0.0675775483250618, 0.056317221373319626, 0.007977373898029327, 0.5057886838912964, -0.22184963524341583, -0.10989441722631454, 0.07819999754428864, 0.3457258939743042, -0.21682380139827728, -0.19191205501556396, 0.409209281206131, -0.20945186913013458, -0.23416417837142944, 0.11211729049682617, 0.03602743521332741, 0.1685318648815155, 0.2377963364124298, -0.16315460205078125, 0.005744767840951681, 0.019533010199666023, -0.10136991739273071, 0.16804420948028564, -0.3393198847770691, -0.051323529332876205, -0.15226607024669647, 0.40907761454582214, -0.6329566240310669, -0.07653121650218964, -0.08434179425239563, 0.2341337651014328, -0.16968482732772827, -0.3471444249153137, 0.0025372090749442577, 0.16257694363594055, 0.3471567630767822, -0.15411971509456635, 0.06927689164876938, 0.3206797242164612, 0.1330881416797638, -0.03752416744828224, 0.09134072065353394, 0.15131080150604248, -0.16657279431819916, -0.21322327852249146, -0.27879515290260315, 0.04246649518609047, -0.1592818945646286, -0.050714846700429916, -0.17124877870082855, -0.0315089151263237, 0.3017323911190033, -0.008653315715491772, -0.0897459089756012, -0.09579241275787354, 0.08511441200971603, 0.05462612584233284, -0.07818790525197983, 0.6356381773948669, 0.5891437530517578, -0.14908313751220703, 0.2747151255607605, -0.21807856857776642, -0.3577602803707123, 0.04948946833610535, 0.4093797504901886, 0.20757615566253662, 0.10753346234560013, 0.04764586314558983, 0.3138205111026764, 0.16150760650634766, -0.06593496352434158, 0.1911756843328476, 0.03299233689904213, 0.07285834103822708, 0.20707698166370392, 0.26100343465805054, -0.1901446133852005, -0.009661120362579823, -0.3587135076522827, -0.044321462512016296, 0.09930039942264557, -0.1508336216211319, -0.24550822377204895, -0.06043223291635513, 0.7442556023597717, -0.3054376542568207, -0.32814350724220276, 0.5401571989059448, 0.030332593247294426, 0.1365738809108734, 0.3986467719078064, -0.05460216477513313, -0.0811283141374588, -0.14340592920780182, 0.009348676539957523, 0.1772565245628357, -0.34582212567329407, -0.22759227454662323, -0.037284813821315765, -0.27896198630332947, -0.06782706081867218, -0.06319013237953186, 0.30714449286460876, 0.2652939260005951, 0.3928077816963196, 0.08752243220806122, -0.10995952785015106, 0.03088410198688507, -0.46732863783836365, 0.11084369570016861, 0.04392591863870621, -0.08704033493995667, -0.3708273470401764, 0.1544729620218277, 0.017251651734113693, -0.18938320875167847, 0.033311232924461365, -0.29237040877342224, 0.09335299581289291, 0.10899488627910614, -0.28919997811317444, 0.03006082773208618, -0.0076044718734920025, -0.46683087944984436, -0.1583271026611328, 0.3569123446941376, -0.2626495659351349, -0.12255334109067917, -0.1624765247106552, -0.3936862647533417, 0.32287245988845825, 0.3600511848926544, 0.19712957739830017, -0.3112015426158905, -0.11305280774831772, 0.2172975093126297, 0.2709622085094452, -0.16307373344898224, 0.025387652218341827, 0.019078927114605904, -0.018396558240056038, 0.06127992644906044, 0.07472994178533554, 0.30841636657714844, -0.09665577858686447, -0.12922310829162598, 0.20530889928340912, -0.06611376255750656, -0.2591274380683899, 0.29633769392967224, 0.03754526749253273, 0.34693703055381775, -0.10813698172569275, 0.026316329836845398, -0.26316240429878235, -0.2475435584783554, 0.0026037287898361683, -0.2179044932126999, 0.12317667156457901, 0.11126935482025146, -0.06924385577440262, -0.024095434695482254, -0.03382844105362892, -0.14996472001075745, 0.017343685030937195, 0.2959919571876526, 0.15165799856185913, 0.24108676612377167, -0.3059181869029999, -0.15294264256954193, 0.18013863265514374, -0.4214611053466797, 0.12654481828212738, -0.16694985330104828, -0.0118323415517807, -0.09205412119626999, 0.016712434589862823, -0.17137514054775238, 0.418141633272171, -0.16299724578857422, -0.10167588293552399, -0.01763097010552883, 0.23359085619449615, -0.06627870351076126, 0.0794980600476265, -0.050691135227680206, 0.1304066926240921, -0.05981237813830376, -0.25909623503685, -0.07546328008174896, 0.13470213115215302, -0.0990520566701889, 0.0623539499938488, 0.23108689486980438, 0.3562900424003601, -0.060077451169490814, 0.4568926692008972, -0.03028683178126812, -0.05089600756764412, 0.0066594588570296764, -0.21610021591186523, 0.025849422439932823, -0.15751877427101135, 0.1070915088057518, -0.14435605704784393, 0.4011991322040558, -0.07216750085353851, 0.11502806842327118, 0.0182173028588295, 0.017094913870096207, 0.27131280303001404, 0.19884513318538666, 0.31355226039886475, -0.09916070848703384, 0.2282070368528366, -0.17774194478988647, 0.19304800033569336, 0.00033740457729436457, 0.23810817301273346, -0.049444954842329025, 0.07166320085525513, 0.02611272595822811, -0.18956606090068817, 0.1943015605211258, -0.08430776745080948, 0.2884608209133148, 0.17507432401180267, 0.11318869888782501, -0.10938592255115509, 0.06463225185871124, -0.13933886587619781, -0.1934252679347992, -0.06012609973549843, -0.19799315929412842, -0.3059675395488739, -0.2186436653137207, -0.6277254223823547, -0.09938853234052658, -0.20993511378765106, -0.1967318058013916, -0.20203563570976257, 0.3296228349208832, 0.11662241816520691, -0.48888885974884033, 0.19578298926353455, -0.089364193379879, 0.297655314207077, 0.08365333825349808, 0.15744656324386597, 0.20132233202457428, -0.3318975865840912, -0.23296630382537842, 0.21122653782367706, 0.048182010650634766, -0.29369932413101196, 0.26386532187461853, -0.10464721918106079, 0.07295379042625427, 0.13088162243366241, -0.5916751027107239, 0.0905308648943901, -0.010643050074577332, -0.16325989365577698, 0.4496495723724365, 0.1512247771024704, 0.31128063797950745, -0.42635297775268555, 0.20903228223323822, -0.19511394202709198, 0.01290949434041977, -0.006378937512636185, 0.016892727464437485, 0.10639246553182602, -0.12554828822612762, -0.0876302421092987, 0.13081862032413483, -0.5495913028717041, -0.21585704386234283, -0.22842347621917725, 0.07935011386871338, 0.17702926695346832, -0.1462097465991974, 0.20790374279022217, -0.18367627263069153, 0.1260184496641159, 0.0979769304394722, -0.28159022331237793, 0.0014712689444422722, -0.08159283548593521, 0.29815948009490967, -0.15711988508701324, -0.2534021735191345, 0.2636929750442505, -0.04045114293694496, 0.12487944215536118, -0.30426207184791565, 0.10751699656248093, 0.20051197707653046, 0.35160067677497864, 0.012365225702524185, 0.262416273355484, 0.27129292488098145, -0.2917480766773224, -0.2844410538673401, -0.0022862714249640703, 0.29656875133514404, 0.0392971932888031, 0.06988703459501266, 0.31616702675819397, -0.04562677815556526, -0.14244788885116577, 0.29039132595062256, -0.16806365549564362, -0.0790451392531395, 0.297038197517395, 0.14052332937717438, 0.258224219083786, 0.22738566994667053, -0.01812897063791752, -0.10399968922138214, 0.05136514827609062, -0.2539216876029968, 0.19465915858745575, 0.02813408337533474, 0.02839069813489914, -0.16083747148513794, -0.2915380001068115, -0.15762674808502197, -0.40636321902275085, -0.042443569749593735, -0.03611362725496292, 0.11757882684469223, -0.29510068893432617, -0.704166054725647, -0.13148881494998932, -0.13481035828590393, 0.3030332028865814, 0.3569214642047882, 0.1771429181098938, -0.26554200053215027, -0.5979017019271851, 0.10614664107561111, 0.32824215292930603, 0.24705545604228973, 0.11901644617319107, 0.04794754087924957, 0.02235957235097885, -0.2691047191619873, -0.294113427400589, 0.05606319382786751, 0.7061240077018738, -0.3101089298725128, -0.08523942530155182, -0.19567041099071503, 0.39409080147743225, 0.27857619524002075, -0.09579728543758392, 0.12280341237783432, -0.08206344395875931, -0.16607369482517242, 0.3428272008895874, -0.08820022642612457, 0.1619214117527008, -0.13091136515140533, 0.187603160738945, 0.08185067027807236, 0.12206608057022095, -0.05382842943072319, 0.1561402678489685, -0.40520787239074707, 0.23931799829006195, -0.022718369960784912, -0.083145871758461, 0.23006246984004974, -0.2015678435564041, 0.23879849910736084, -0.11105526983737946, 0.07232993096113205, -0.022089466452598572, 0.16514036059379578, -0.10249388217926025, 0.025735512375831604, -0.15929311513900757, 0.34849393367767334, -0.04318058863282204, -0.020461993291974068, -0.2193153351545334, -0.639176070690155, 0.17628102004528046, 0.15574020147323608, 0.7199187874794006, 0.321678102016449, -0.1890227347612381, 0.24752692878246307, -0.0364827997982502, 0.25845101475715637, -0.3907216489315033, 0.257519394159317, -0.05151836946606636, 0.07975903898477554, -0.29057928919792175, 0.005408491939306259, -0.0092573631554842, 0.1808062642812729, -0.16645537316799164, 0.277454137802124, 0.6246169805526733, -0.4780158996582031, -0.059902124106884, -0.06305979937314987, 0.9767054915428162, 0.1570463329553604, 0.13540585339069366, 0.08357841521501541, -0.20838870108127594, 0.7358042597770691, -0.22157156467437744, 0.19208694994449615, -0.11536378413438797, -0.04980241879820824, 0.08921525627374649, 0.02950841560959816, 0.14701814949512482, -0.37414389848709106, -0.12473839521408081, 0.28272828459739685, -0.033586546778678894, 0.2641174793243408, -0.20426230132579803, -0.13604958355426788, 0.5137189030647278, -0.37973734736442566, -0.02739676833152771, 0.1452820897102356, -0.12588487565517426, -0.0639522448182106, -0.06258740276098251, -0.02429584413766861, 0.07155656814575195, -0.309613972902298, -0.026706187054514885, 0.16124162077903748, 0.334097295999527, -0.2555330693721771, 0.297594279050827, 0.038362424820661545, -0.03621217980980873, -0.35988423228263855, 0.4544379413127899, 0.21945200860500336, 0.09500905126333237, -0.045163217931985855, -0.056779198348522186, 0.3687359690666199, -0.06238207221031189, -0.11296294629573822, 0.024108445271849632, 0.08300971239805222, 0.11345943063497543, 0.102491095662117, -0.0691051036119461, -0.6633298397064209, -0.2951362133026123, -0.0253167562186718, 0.10403657704591751, -0.039654262363910675, -0.011589445173740387, -0.14482516050338745, -0.05342584848403931, -0.33351123332977295, 0.2696109116077423, -0.31113070249557495, -0.271757036447525, -0.09126376360654831, 0.20303800702095032, -0.09978177398443222, 0.09499400854110718, -0.07911578565835953, 0.47672906517982483, -0.01807454787194729, 0.20638205111026764, 0.06352062523365021, -0.1307312399148941, -0.19139301776885986, -0.4291355013847351, 0.3500610589981079, 0.2961249351501465, 0.13613809645175934, -0.07790554314851761, -0.40873682498931885, 0.09282011538743973, -0.06642482429742813, 0.01098670158535242, 0.19896110892295837, 0.1500299721956253, -0.16858237981796265, -0.26314622163772583, 0.3641790449619293, -0.22302904725074768, 0.3326539099216461, 0.2780223488807678, 0.03740447759628296, -0.2697276473045349, 0.2676641345024109, -0.43376731872558594, -0.27734971046447754, -0.2534661293029785, 0.07575690746307373, -0.05916811525821686, 0.13858269155025482, -0.10843439400196075, 0.013536863029003143, 0.20031172037124634, 0.26897552609443665, 0.1992887556552887, -0.24053475260734558, 0.003083314746618271, 0.05322221294045448, -0.09837153553962708, 0.0702667161822319, 0.25084444880485535, -0.16852332651615143, 0.1345898061990738, -0.09438955038785934, 0.02904573082923889, -0.31484416127204895, -0.11204130202531815, -0.07589352875947952, -0.2951207756996155, -0.0705890953540802, 0.06079091131687164, 0.4124293625354767, -0.1903194785118103, 0.125010147690773, -0.2240629494190216, -0.031001023948192596, -0.17344647645950317, -0.1968507319688797, 0.32953906059265137, 0.1844685673713684, 0.2562779486179352, 0.06355342268943787, 0.11642216145992279, 0.1896105706691742, -0.4798934757709503, 0.2577374577522278, 0.16299480199813843, -0.24895375967025757, -0.1476740688085556, -0.17173917591571808, 0.019092272967100143, 0.19208566844463348, -0.35050052404403687, -0.05920899659395218, 0.19273455440998077, -0.4436926245689392, 0.22350908815860748, 0.3966647982597351, 0.17906758189201355, 0.11622309684753418, 0.2602865397930145, 0.08473805338144302, 0.044744402170181274, 0.0469602532684803, 0.31624749302864075, 0.11482510715723038, -0.19065967202186584, -0.005380011163651943, 0.11106672883033752, -0.14196094870567322, 0.011804688721895218, 0.04368526116013527, -0.021519646048545837, 0.46202006936073303, -0.04942574352025986, -0.07214575260877609, -0.06768607348203659, -0.11164846271276474, 0.17381247878074646, 0.24305501580238342, 0.12983059883117676, 0.14751611649990082, 0.16584737598896027, 0.09165436029434204, -0.15408101677894592, 0.18815255165100098, 0.10358043015003204, 0.0008048012969084084, -0.18221448361873627, 0.10353582352399826, -0.05802709236741066, -0.35462063550949097, -0.39323315024375916, -0.1888061761856079, 0.1969861388206482, 0.1635759174823761, 0.27275216579437256, -0.14698882400989532, 0.35011550784111023, 0.11058183759450912, -0.06538490951061249, 0.1749477982521057, 0.12821592390537262, -0.18069925904273987, 0.23186305165290833, 0.14954258501529694, -0.02743135392665863, 0.18908332288265228, -0.00619097612798214, 0.07265195995569229, 0.1838931143283844, -0.2801665961742401, -0.23275698721408844, 0.03592401370406151, 0.014021007344126701, -0.4700085520744324, 0.001344620599411428, -0.020429683849215508, -0.26818299293518066, -0.07984165847301483, 0.24671804904937744, -0.2633684277534485, 0.07530269026756287, -0.10894966125488281, -0.22146356105804443, 0.061297912150621414, 0.05176066234707832, 0.10301775485277176, 0.19364206492900848, -0.026569731533527374, 0.032472241669893265, -0.25028643012046814, -0.18617312610149384, 0.33390194177627563, -0.08991310000419617, -0.07346620410680771, -0.01988925039768219, 0.159931942820549, 0.1309944987297058, 0.49946480989456177, 0.17235541343688965, -0.17037999629974365, -0.08281072974205017, -0.4286906123161316, -0.37941423058509827, 0.51576167345047, -0.12983739376068115, -0.02213747799396515, -0.15216028690338135, -0.4629693925380707, 0.3376699686050415, -0.10704930126667023, 0.0965697169303894, -0.16677801311016083, 0.2412729114294052, -0.40640971064567566, -0.41539832949638367, 0.02711755968630314, 0.45132702589035034, -0.4893771708011627, 0.2061450034379959, -0.17130504548549652, 0.22785542905330658, 0.5148898959159851, 0.19837546348571777, 0.06993704289197922, 0.23893259465694427, 0.16012947261333466, 0.1413101851940155, 0.34761953353881836, 0.09402164071798325, 0.3451468348503113, -0.5011872053146362, -0.19777782261371613, 0.014182892628014088, -0.0020675258710980415, -0.2070438712835312, 0.030707072466611862, -0.03055177442729473, 0.09167330712080002, -0.20954832434654236, 0.16661886870861053, -0.42720645666122437, -0.3674045205116272, 0.058325715363025665, 0.4657319188117981, -0.2958366572856903, -0.02333400398492813, -0.284827321767807, 0.16627541184425354, 0.019015993922948837, -0.0847521424293518, 0.19635982811450958, 0.136692076921463, -0.209248885512352, -0.26681143045425415, 0.1606980264186859, 0.29393628239631653, -0.4515964984893799, -0.10624723136425018, 0.14823855459690094, -0.3775201141834259, 0.17871855199337006, -0.39376115798950195, -0.2628139853477478, 0.1713676005601883, 0.04168093204498291, 0.20503398776054382, 0.11194878071546555, 0.05318490043282509, 0.03244548290967941, 0.0027741938829421997, -0.10386652499437332, 0.23995563387870789, -0.02381535805761814, -0.06400850415229797, -0.07892980426549911 ]
https://github.com/huggingface/datasets/issues/1585
FileNotFoundError for `amazon_polarity`
Hi @phtephanx , the `amazon_polarity` dataset has not been released yet. It will be available in the coming soon v2of `datasets` :) You can still access it now if you want, but you will need to install datasets via the master branch: `pip install git+https://github.com/huggingface/datasets.git@master`
Version: `datasets==v1.1.3` ### Reproduction ```python from datasets import load_dataset data = load_dataset("amazon_polarity") ``` crashes with ```bash FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/amazon_polarity/amazon_polarity.py ``` and ```bash FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/amazon_polarity/amazon_polarity.py ``` and ```bash FileNotFoundError: Couldn't find file locally at amazon_polarity/amazon_polarity.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/amazon_polarity/amazon_polarity.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/amazon_polarity/amazon_polarity.py ```
45
FileNotFoundError for `amazon_polarity`
[ -0.18745675683021545, -0.3089202642440796, -0.1638524979352951, 0.10012893378734589, 0.21301452815532684, -0.06248801574110985, 0.2257746458053589, 0.08393921703100204, -0.07043585181236267, 0.14296355843544006, 0.13305185735225677, -0.18258395791053772, -0.1961502730846405, -0.10185711085796356, -0.4703242778778076, -0.05411362275481224, -0.014293152838945389, 0.22445045411586761, -0.12836602330207825, -0.09110410511493683, -0.36930522322654724, 0.5449127554893494, -0.09580184519290924, 0.04473806545138359, -0.1275641918182373, -0.14750342071056366, 0.13831447064876556, 0.44328513741493225, -0.21805791556835175, 0.1434873789548874, 0.3449750244617462, -0.1522182822227478, 0.03877859562635422, 0.1726430356502533, -0.00011141208960907534, 0.0690828487277031, 0.27115917205810547, 0.006816042121499777, -0.05425465852022171, -0.3259721100330353, 0.23814401030540466, 0.20420950651168823, 0.01931583881378174, -0.21592862904071808, -0.01880391128361225, -0.197804257273674, 0.13052499294281006, 0.24236446619033813, 0.30878013372421265, 0.16679829359054565, 0.28129130601882935, 0.14544396102428436, 0.4551350176334381, 0.0725671797990799, 0.5930420160293579, 0.3564661741256714, -0.08409292995929718, -0.2123008668422699, -0.29009270668029785, -0.1500084400177002, 0.1814926415681839, 0.248447984457016, 0.03351275995373726, 0.03544977679848671, -0.011900913901627064, -0.20247991383075714, 0.3387112617492676, 0.060724418610334396, 0.02181442268192768, 0.12659338116645813, 0.269746333360672, -0.012621693313121796, -0.1963774710893631, 0.4275238811969757, -0.12448094040155411, -0.17600660026073456, 0.2194516807794571, 0.37022864818573, 0.18471139669418335, -0.24924416840076447, 0.4720118045806885, -0.08479874581098557, -0.28824883699417114, 0.17049278318881989, -0.1760159581899643, 0.6011824607849121, -0.02708820253610611, 0.11538537591695786, 0.257179856300354, -0.34665170311927795, -0.12642405927181244, 0.1984967589378357, -0.10867741703987122, -0.04687394201755524, -0.14106009900569916, 0.016593441367149353, -0.16200461983680725, -0.23573775589466095, -0.15579979121685028, 0.41781750321388245, 0.020900394767522812, 0.08940593153238297, 0.120816670358181, 0.3152175843715668, 0.026747869327664375, 0.04045485705137253, 0.1104540303349495, 0.6516449451446533, 0.22398880124092102, 0.3143388032913208, 0.0805991068482399, 0.007181577384471893, 0.006630944553762674, -0.47388243675231934, -0.04762936010956764, -0.08465078473091125, 0.213540181517601, -0.06447862088680267, -0.39725831151008606, -0.08925113826990128, -0.10261798650026321, 0.15707449615001678, 0.10762444138526917, 0.1255500465631485, 0.2890263795852661, -0.04360629990696907, 0.27873584628105164, 0.2648656368255615, -0.23450610041618347, 0.3975808322429657, -0.2257779985666275, 0.47367236018180847, -0.02543562464416027, -0.18203426897525787, 0.049113016575574875, 0.363900750875473, 0.34556668996810913, -0.22365516424179077, -0.008426467888057232, 0.061780381947755814, 0.2380208969116211, -0.14217215776443481, 0.09264706820249557, 0.47773033380508423, -0.25327298045158386, 0.009023002348840237, 0.10102805495262146, 0.056300897151231766, -0.11388684064149857, -0.042594075202941895, -0.2040921449661255, -0.12445371598005295, -0.24947752058506012, 0.22757560014724731, -0.06716836988925934, 0.01260316837579012, 0.29140758514404297, -0.31095126271247864, -0.07185778021812439, -0.6111272573471069, 0.1346590220928192, -0.0983978658914566, 0.10472488403320312, -0.07274387776851654, 0.016998160630464554, 0.4623192548751831, -0.05800272896885872, -0.16266445815563202, -0.2863035500049591, -0.18554136157035828, 0.43397918343544006, 0.2896820604801178, 0.02693876437842846, -0.14242605865001678, -0.28828179836273193, -0.019671907648444176, 0.23452028632164001, -0.3115476369857788, 0.2853168249130249, 0.04472215473651886, -0.4515608847141266, -0.1711859554052353, 0.2555701434612274, 0.07215500622987747, -0.6533659100532532, 0.030501337721943855, 0.19964376091957092, -0.09319823235273361, 0.2337220311164856, 0.218140110373497, -0.3570282757282257, -0.20513322949409485, 0.1681050956249237, 0.19294539093971252, 0.13906371593475342, -0.024296322837471962, 0.20353668928146362, 0.11717406660318375, -0.021533163264393806, 0.043999187648296356, -0.057593442499637604, 0.3426034152507782, 0.399497389793396, -0.15194359421730042, -0.07638302445411682, -0.04918451979756355, -0.19480054080486298, -0.12173372507095337, -0.37401852011680603, 0.2799210846424103, -0.17557036876678467, 0.13366656005382538, 0.0050680972635746, -0.2906595766544342, 0.047486089169979095, -0.17802201211452484, 0.24498902261257172, 0.08074803650379181, -0.04290495812892914, 0.04125765711069107, -0.1035725474357605, -0.054787516593933105, -0.4205464720726013, 0.1491730958223343, -0.4099475145339966, 0.05205782875418663, -0.15750573575496674, -0.05970413237810135, 0.21713852882385254, -0.038077376782894135, 0.2255462110042572, -0.19177992641925812, 0.08442256599664688, 0.21751923859119415, -0.3600902855396271, 0.372405469417572, 0.2663382589817047, 0.23572348058223724, 0.07800434529781342, -0.1698514223098755, -0.30766135454177856, 0.046358805149793625, 0.0773928314447403, 0.05647942051291466, -0.029781434684991837, 0.4046163856983185, -0.18537604808807373, 0.06649545580148697, 0.13773848116397858, -0.11316698789596558, 0.20650528371334076, 0.05572286248207092, -0.11521760374307632, -0.1976727396249771, 0.3647029995918274, 0.08080921322107315, -0.30179378390312195, -0.21218113601207733, 0.04886807128787041, -0.194252610206604, 0.19088870286941528, 0.13669979572296143, 0.07064731419086456, -0.051558949053287506, 0.021115347743034363, 0.1447446495294571, 0.1740768998861313, 0.5124658346176147, 0.399890273809433, 0.23344333469867706, -0.18332317471504211, -0.037902574986219406, -0.19201456010341644, -0.21910016238689423, 0.34277430176734924, 0.15087927877902985, -0.08268887549638748, 0.23651112616062164, -0.023559045046567917, -0.07399291545152664, -0.4163142442703247, -0.3826107680797577, -0.12718290090560913, 0.16560910642147064, -0.24726997315883636, -0.0008768505649641156, -0.2477744221687317, 0.04120136797428131, -0.028888722881674767, 0.4908689558506012, -0.006661529652774334, -0.0985792949795723, 0.08563773334026337, 0.2130526304244995, -0.3754104673862457, 0.02196964994072914, 0.05676290765404701, 0.09226813912391663, 0.2500195801258087, -0.5853987336158752, -0.21419183909893036, -0.14365573227405548, 0.06722092628479004, 0.18834063410758972, 0.20500582456588745, -0.14280156791210175, 0.3137427568435669, -0.22105620801448822, 0.13985711336135864, -0.28792938590049744, -0.30081745982170105, -0.06515716016292572, 0.036442726850509644, -0.21875016391277313, 0.307170569896698, 0.14493213593959808, -0.1450009047985077, -0.3241371512413025, 0.15362904965877533, -0.14679259061813354, -0.09112460166215897, 0.1378621608018875, 0.06458980590105057, -0.23341163992881775, -0.14675021171569824, -0.4159395694732666, 0.1793990433216095, -0.3392328917980194, 0.2650715112686157, 0.19955779612064362, 0.015524785034358501, -0.15560565888881683, 0.08615245670080185, -0.029776575043797493, -0.25430387258529663, 0.11861880123615265, 0.08996571600437164, -0.10762156546115875, 0.5015143156051636, -0.2381458878517151, -0.15240180492401123, 0.33365389704704285, 0.04245267063379288, 0.09681697189807892, 0.2372862547636032, -0.07145195454359055, 0.19376550614833832, 0.06734072417020798, -0.36050891876220703, -0.17907363176345825, 0.2441670000553131, 0.41447243094444275, 0.00368075305595994, -0.18129564821720123, 0.2814761996269226, -0.08167184144258499, 0.005735235754400492, 0.09535301476716995, 0.39327335357666016, -0.4870566725730896, -0.2619050145149231, -0.4346652030944824, 0.445706844329834, -0.3951323926448822, -0.09581322222948074, 0.13493210077285767, -0.05187060683965683, 0.18352943658828735, 0.012906555086374283, 0.027222542092204094, -0.2297542244195938, 0.3829655349254608, 0.15073080360889435, 0.1960882544517517, -0.029958335682749748, -0.0756080374121666, -0.26253360509872437, -0.00846244115382433, -0.4468134641647339, -0.14350852370262146, -0.11707192659378052, 0.32811594009399414, 0.15705518424510956, 0.027481941506266594, -0.17951884865760803, 0.16343365609645844, -0.1553937941789627, -0.07614975422620773, 0.42733755707740784, -0.3710586428642273, -0.014244545251131058, -0.016094552353024483, -0.3789866268634796, 0.28250759840011597, 0.3398975431919098, -0.0584920197725296, -0.03401888161897659, -0.356636643409729, -0.32581019401550293, 0.03395574539899826, -0.29692938923835754, 0.16347189247608185, 0.054780103266239166, -0.1574764847755432, 0.10203125327825546, -0.14956097304821014, -0.10602667182683945, -0.26462632417678833, -0.2753463387489319, 0.5242672562599182, -0.36515823006629944, 0.3638734519481659, -0.39419230818748474, 0.04378200322389603, 0.10629700124263763, -0.11827049404382706, 0.04610418528318405, -0.06441706418991089, -0.40268436074256897, -0.13529497385025024, -0.1605846881866455, 0.032073263078927994, 0.083896204829216, 0.13263766467571259, -0.26264894008636475, 0.07308553159236908, -0.01182658039033413, 0.0726599171757698, -0.05064476281404495, -0.1189170777797699, 0.3252027630805969, -0.5467701554298401, -0.2984929084777832, 0.019158583134412766, -0.288779616355896, 0.18535123765468597, 0.3288894295692444, 0.5485690236091614, 0.08600909262895584, 0.26689350605010986, -0.13263866305351257, -0.44718337059020996, 0.2701539397239685, -0.0637102946639061, -0.001089458237402141, 0.15031501650810242, 0.30747920274734497, 0.25630176067352295, -0.2770058810710907, 0.43286120891571045, -0.037872154265642166, 0.191411554813385, 0.16433103382587433, 0.0917293131351471, -0.11096077412366867, 0.1549307405948639, 0.3304902911186218, 0.5305038690567017, -0.026221174746751785, 0.1815698891878128, 0.06845667958259583, 0.7560144662857056, 0.15417101979255676, 0.2990826666355133, 0.14697042107582092, -0.26508671045303345, 0.8850842714309692, -0.5202449560165405, 0.2290453463792801, -0.34747815132141113, 0.5063574910163879, 0.015755733475089073, -0.025853890925645828, 0.32931506633758545, -0.2085595279932022, 0.01979287527501583, 0.14799241721630096, 0.26911860704421997, -0.1008223369717598, -0.18108627200126648, -0.08151482790708542, -0.21518582105636597, 0.10513956844806671, 0.1647888720035553, 0.09141238778829575, 0.06711127609014511, 0.325391948223114, -0.30723920464515686, 0.05890907347202301, -0.06961143761873245, -0.38024434447288513, -0.3024521768093109, -0.04290182143449783, 0.02089547924697399, 0.38876375555992126, 0.08250442892313004, 0.10384301841259003, -0.08965054899454117, 0.07522494345903397, 0.11469213664531708, -0.0793602392077446, -0.11822227388620377, 0.1644754707813263, 0.11035207659006119, -0.35478782653808594, -0.40133264660835266, 0.15354187786579132, 0.15935619175434113, -0.2706868052482605, -0.15188686549663544, -0.1803015023469925, -0.17126283049583435, -0.06897812336683273, -0.31964462995529175, 0.14940451085567474, -0.24809758365154266, 0.09738600999116898, -0.18277141451835632, 0.0148219158872962, -0.4618731737136841, -0.17255473136901855, 0.19514261186122894, 0.12528032064437866, -0.27836188673973083, -0.07329192012548447, 0.3718200922012329, -0.1781596839427948, -0.0017288523958995938, 0.35749030113220215, -0.14421424269676208, 0.009724672883749008, 0.36507725715637207, -0.11015509814023972, -0.11134255677461624, -0.4126669466495514, 0.20443277060985565, 0.0193480234593153, -0.4614441692829132, 0.17691458761692047, 0.1233944222331047, -0.18143688142299652, 0.14056508243083954, 0.2635669708251953, 0.11159172654151917, 0.10093775391578674, 0.16111841797828674, -0.2519107758998871, 0.02982502058148384, 0.13973885774612427, -0.02625255286693573, 0.06328354775905609, 0.21064577996730804, -0.45589402318000793, 0.17078855633735657, -0.40381598472595215, -0.352032870054245, 0.07469343394041061, -0.34188076853752136, -0.1321742683649063, -0.23785226047039032, -0.15346285700798035, 0.4112866520881653, 0.11012541502714157, 0.2779294550418854, 0.14282402396202087, -0.1413019448518753, -0.2731865346431732, -0.12180229276418686, 0.12606166303157806, 0.03077712096273899, 0.14322039484977722, 0.0628378838300705, -0.10783343017101288, 0.05539042875170708, 0.45372116565704346, -0.0514872781932354, 0.019785797223448753, 0.005107393488287926, 0.2649107277393341, -0.21091197431087494, -0.08959551155567169, -0.34130021929740906, 0.08389674127101898, -0.18826347589492798, -0.05164363607764244, 0.0721839964389801, -0.047911252826452255, 0.031050508841872215, -0.26823654770851135, 0.021903593093156815, -0.1620226502418518, -0.33951902389526367, 0.31966909766197205, 0.15197528898715973, -0.11688365787267685, -0.2959394156932831, -0.5603248476982117, 0.24116727709770203, 0.33683279156684875, -0.14065296947956085, -0.052392132580280304, 0.1497718244791031, 0.20420855283737183, -0.24292731285095215, 0.06206582114100456, 0.006621525157243013, -0.05645468458533287, 0.1560216099023819, 0.04604567587375641, -0.2700112760066986, -0.23371048271656036, 0.13291111588478088, 0.28481870889663696, 0.13619831204414368, -0.6990278959274292, 0.055336106568574905, -0.15232351422309875, -0.3185950219631195, 0.19565412402153015, 0.10651125758886337, 0.14557968080043793, 0.1466800570487976, 0.1735619455575943, -0.00041118450462818146, 0.20954543352127075, -0.2293654978275299, 0.06308779865503311, -0.15525832772254944, -0.23619936406612396, 0.18564090132713318, -0.03512205556035042, 0.1470584273338318, 0.22317197918891907, 0.1404438316822052, 0.6008554697036743, -0.1363760530948639, 0.2904261350631714, -0.19671761989593506, -0.0038167047314345837, -0.19476784765720367, 0.02119108848273754, -0.42708319425582886, -0.24967153370380402, -0.1342150717973709, -0.1428820639848709, 0.20911343395709991, 0.29302918910980225, -0.050517793744802475, 0.2887157201766968, -0.06234118714928627, -0.03567272797226906, 0.3617148697376251, -0.12156200408935547, 0.2763786315917969, -0.13196802139282227, -0.2629391551017761, 0.5298296213150024, -0.007964622229337692, -0.07550711929798126, 0.013064821250736713, 0.378396213054657, 0.028226440772414207, -0.08079493045806885, -0.11161282658576965, -0.09203673899173737, -0.2267533242702484, 0.15286853909492493, 0.08236289024353027, 0.20901833474636078, 0.1666949838399887, 0.14521053433418274, 0.30114421248435974, -0.3168148994445801, 0.6715077757835388, 0.1590110957622528, 0.21898086369037628, 0.1781919151544571, 0.07941029220819473, -0.33786019682884216, -0.08786098659038544, -0.23284639418125153, -0.02119651809334755, -0.4958786368370056, -0.1082640290260315, -0.3382331132888794, 0.04991673678159714, 0.026764703914523125, 0.04324403032660484, 0.09824255108833313, 0.18597276508808136, 0.35613003373146057, 0.27464303374290466, -0.12277749925851822, -0.04057944193482399, 0.10091524571180344, -0.19981516897678375, 0.13590066134929657, -0.16845081746578217, 0.15745358169078827, -0.3172498643398285, 0.40271472930908203, 0.03894612938165665, -0.03004545159637928, 0.08658886700868607, -0.26806148886680603, -0.06346039474010468, 0.17355510592460632, -0.29054927825927734, 0.07451510429382324, 0.22227351367473602, -0.1989794820547104, 0.12047463655471802, -0.18025758862495422, -0.03537574037909508, 0.10682812333106995, 0.17865407466888428, 0.009657382033765316, -0.17194750905036926, -0.1781603991985321, -0.0529400035738945, 0.06317251920700073, -0.010888807475566864, 0.14520739018917084, -0.21005620062351227, -0.12548039853572845, -0.14703844487667084, -0.17759868502616882, 0.11541181057691574, 0.008339891210198402, 0.240330770611763, 0.7124699354171753, -0.006689618807286024, -0.25443658232688904, -0.23938168585300446, 0.17299430072307587, -0.32645875215530396, -0.19759510457515717, -0.2134176343679428, 0.24461770057678223, 0.19448426365852356, -0.0018449485069140792, -0.2829984426498413, 0.10824546217918396, 0.08396760374307632, -0.3301214277744293, -0.3713650107383728, -0.32648736238479614, 0.44044479727745056, 0.13279758393764496, -0.163350909948349, 0.4174872636795044, 0.3268742859363556, 0.5597733855247498, 0.1864984780550003, -0.10192233324050903, 0.5011693239212036, -0.05210330709815025, 0.15455937385559082, 0.10942268371582031, 0.0661076232790947, -0.2628076672554016, -0.050404779613018036, 0.08265973627567291, -0.08803612738847733, 0.10978077352046967, -0.027325168251991272, 0.021965395659208298, -0.12180129438638687 ]
https://github.com/huggingface/datasets/issues/1581
Installing datasets and transformers in a tensorflow docker image throws Permission Error on 'import transformers'
Thanks for reporting ! You can override the directory in which cache file are stored using for example ``` ENV HF_HOME="/root/cache/hf_cache_home" ``` This way both `transformers` and `datasets` will use this directory instead of the default `.cache`
I am using a docker container, based on latest tensorflow-gpu image, to run transformers and datasets (4.0.1 and 1.1.3 respectively - Dockerfile attached below). Importing transformers throws a Permission Error to access `/.cache`: ``` $ docker run --gpus=all --rm -it -u $(id -u):$(id -g) -v $(pwd)/data:/root/data -v $(pwd):/root -v $(pwd)/models/:/root/models -v $(pwd)/saved_models/:/root/saved_models -e "HOST_HOSTNAME=$(hostname)" hf-error:latest /bin/bash ________ _______________ ___ __/__________________________________ ____/__ /________ __ __ / _ _ \_ __ \_ ___/ __ \_ ___/_ /_ __ /_ __ \_ | /| / / _ / / __/ / / /(__ )/ /_/ / / _ __/ _ / / /_/ /_ |/ |/ / /_/ \___//_/ /_//____/ \____//_/ /_/ /_/ \____/____/|__/ You are running this container as user with ID 1000 and group 1000, which should map to the ID and group for your user on the Docker host. Great! tf-docker /root > python Python 3.6.9 (default, Oct 8 2020, 12:12:24) [GCC 8.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import transformers 2020-12-15 23:53:21.165827: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.6/dist-packages/transformers/__init__.py", line 22, in <module> from .integrations import ( # isort:skip File "/usr/local/lib/python3.6/dist-packages/transformers/integrations.py", line 5, in <module> from .trainer_utils import EvaluationStrategy File "/usr/local/lib/python3.6/dist-packages/transformers/trainer_utils.py", line 25, in <module> from .file_utils import is_tf_available, is_torch_available, is_torch_tpu_available File "/usr/local/lib/python3.6/dist-packages/transformers/file_utils.py", line 88, in <module> import datasets # noqa: F401 File "/usr/local/lib/python3.6/dist-packages/datasets/__init__.py", line 26, in <module> from .arrow_dataset import Dataset, concatenate_datasets File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py", line 40, in <module> from .arrow_reader import ArrowReader File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 31, in <module> from .utils import cached_path, logging File "/usr/local/lib/python3.6/dist-packages/datasets/utils/__init__.py", line 20, in <module> from .download_manager import DownloadManager, GenerateMode File "/usr/local/lib/python3.6/dist-packages/datasets/utils/download_manager.py", line 25, in <module> from .file_utils import HF_DATASETS_CACHE, cached_path, get_from_cache, hash_url_to_filename File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 118, in <module> os.makedirs(HF_MODULES_CACHE, exist_ok=True) File "/usr/lib/python3.6/os.py", line 210, in makedirs makedirs(head, mode, exist_ok) File "/usr/lib/python3.6/os.py", line 210, in makedirs makedirs(head, mode, exist_ok) File "/usr/lib/python3.6/os.py", line 220, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: '/.cache' ``` I've pinned the problem to `RUN pip install datasets`, and by commenting it you can actually import transformers correctly. Another workaround I've found is creating the directory and giving permissions to it directly on the Dockerfile. ``` FROM tensorflow/tensorflow:latest-gpu-jupyter WORKDIR /root EXPOSE 80 EXPOSE 8888 EXPOSE 6006 ENV SHELL /bin/bash ENV PATH="/root/.local/bin:${PATH}" ENV CUDA_CACHE_PATH="/root/cache/cuda" ENV CUDA_CACHE_MAXSIZE="4294967296" ENV TFHUB_CACHE_DIR="/root/cache/tfhub" RUN pip install --upgrade pip RUN apt update -y && apt upgrade -y RUN pip install transformers #Installing datasets will throw the error, try commenting and rebuilding RUN pip install datasets #Another workaround is creating the directory and give permissions explicitly #RUN mkdir /.cache #RUN chmod 777 /.cache ```
37
Installing datasets and transformers in a tensorflow docker image throws Permission Error on 'import transformers'
[ -0.3517875075340271, 0.17725162208080292, -0.18900349736213684, 0.02447938360273838, 0.13574844598770142, -0.09649177640676498, 0.6559001207351685, 0.13111329078674316, 0.1371830850839615, 0.07505150139331818, -0.23369422554969788, 0.09873184561729431, -0.11553201079368591, -0.1387668251991272, -0.07788030803203583, -0.06591659784317017, -0.001022100099362433, 0.18887239694595337, -0.4682008624076843, -0.22267815470695496, 0.031279951333999634, 0.0023901318199932575, 0.12440446764230728, -0.0174988005310297, -0.2741398215293884, -0.0019052063580602407, 0.3823462128639221, -0.088215172290802, -0.262461394071579, 0.05651725083589554, 0.2908087372779846, 0.22087685763835907, 0.011275805532932281, 0.6549028158187866, -0.00010331992962164804, 0.4618191123008728, 0.01586165651679039, -0.02811015583574772, 0.1283048689365387, -0.029565801844000816, -0.13027410209178925, -0.2127363234758377, -0.10975940525531769, -0.1284809559583664, -0.04789946973323822, -0.044808972626924515, 0.020939741283655167, 0.06960165500640869, 0.6684578061103821, 0.35115453600883484, 0.2904813289642334, 0.6271219849586487, 0.09912929683923721, 0.040511514991521835, 0.13304761052131653, -0.009821944870054722, -0.25943124294281006, -0.1604819893836975, -0.033030398190021515, 0.00875711441040039, 0.03387767821550369, 0.24210497736930847, 0.21381771564483643, 0.11275086551904678, 0.15269698202610016, -0.20967741310596466, 0.13427278399467468, -0.38479387760162354, 0.005257914774119854, 0.07097412645816803, 0.47313109040260315, 0.03847537189722061, -0.4451499581336975, -0.05544005334377289, -0.0716395154595375, 0.07632462680339813, 0.2320380061864853, 0.18468238413333893, -0.05433842912316322, 0.15283209085464478, -0.11891964077949524, -0.2953418493270874, -0.5370588898658752, 0.010397147387266159, -0.3498290181159973, 0.38075128197669983, -0.018534207716584206, 0.06462802737951279, -0.12641382217407227, -0.03718632832169533, 0.5557383894920349, 0.1688341647386551, 0.18820829689502716, 0.06694038957357407, -0.08710407465696335, 0.08521276712417603, 0.06988968700170517, -0.5824713706970215, -0.28846150636672974, 0.12111008912324905, -0.07129707932472229, 0.13075804710388184, -0.2135351449251175, 0.35623109340667725, -0.07665456831455231, 0.24275438487529755, -0.4435703754425049, 0.6060181856155396, 0.4280312955379486, -0.20289747416973114, 0.0756186842918396, 0.02334846369922161, -0.09434974938631058, -0.0721699520945549, -0.32081347703933716, -0.06632024049758911, 0.15954075753688812, 0.08199708163738251, -0.025262873619794846, -0.13877104222774506, 0.23202884197235107, 0.10971777886152267, 0.019674567505717278, 0.3605460226535797, 0.10431675612926483, -0.025754692032933235, 0.3338185250759125, 0.17555487155914307, -0.06917176395654678, 0.1383882761001587, -0.2933242619037628, 0.09216658771038055, -0.028177525848150253, -0.30757439136505127, 0.2226448506116867, 0.3223118782043457, 0.23322828114032745, -0.2094390094280243, 0.2138725072145462, 0.058674395084381104, 0.4716022312641144, 0.0912143662571907, 0.1955622285604477, 0.787109375, 0.09847145527601242, -0.05892348662018776, 0.10906685143709183, -0.16362860798835754, 0.05716782435774803, -0.02667105942964554, -0.17990277707576752, -0.11644694209098816, -0.04146868735551834, 0.2682792842388153, -0.18355533480644226, 0.11911267042160034, -0.18524640798568726, -0.21532052755355835, 0.24649949371814728, 0.08591071516275406, -0.06206922605633736, -0.1692020148038864, 0.17205362021923065, -0.012937633320689201, -0.07526848465204239, 0.045884668827056885, -0.17008402943611145, -0.09781311452388763, -0.029217161238193512, -0.1286144107580185, -0.0694894790649414, 0.2934853136539459, -0.20709389448165894, 0.39754748344421387, -0.01640254259109497, 0.18847417831420898, 0.16457527875900269, -0.41036370396614075, -0.36489951610565186, -0.03527766093611717, -0.14441078901290894, -0.1335955709218979, 0.10987690091133118, 0.08340232819318771, 0.3560422360897064, -0.08958099782466888, -0.2728082835674286, 0.351928174495697, 0.15847264230251312, 0.20259243249893188, 0.1684037297964096, -0.2391010820865631, -0.16260743141174316, 0.1386156529188156, 0.5173915028572083, 0.16514652967453003, -0.006657147314399481, 0.38272905349731445, -0.07375095784664154, -0.3216034770011902, 0.0796794444322586, 0.3817161023616791, 0.1986604779958725, -0.02768748439848423, -0.10609905421733856, 0.019980214536190033, -0.41754719614982605, 0.21600665152072906, -0.11940715461969376, 0.43083417415618896, -0.2514886260032654, 0.06367890536785126, -0.14399820566177368, 0.157780259847641, -0.20146237313747406, 0.030468963086605072, 0.28249579668045044, 0.09310299903154373, -0.04493136703968048, 0.02728136256337166, 0.2138822227716446, -0.012549277395009995, 0.02452212944626808, 0.19618189334869385, -0.18198032677173615, 0.3524087965488434, -0.14750833809375763, -0.06488054990768433, 0.12720493972301483, -0.07975521683692932, -0.08203944563865662, -0.364038348197937, -0.04951562359929085, 0.0878644585609436, -0.03399575501680374, 0.26447373628616333, -0.44644859433174133, 0.46404117345809937, 0.2366207242012024, -0.0756487175822258, 0.07037681341171265, 0.18788360059261322, 0.005399672314524651, -0.027890019118785858, -0.14799495041370392, 0.11367230862379074, 0.011219986714422703, -0.08869599550962448, 0.09346788376569748, 0.052792951464653015, 0.32781219482421875, 0.036230023950338364, -0.22495484352111816, -0.22498133778572083, -0.0616050586104393, 0.14202024042606354, -0.09662238508462906, -0.07720530033111572, 0.25963279604911804, -0.2908311188220978, 0.27665233612060547, 0.23286110162734985, 0.1701553910970688, -0.12721560895442963, 0.08346165716648102, 0.2815103232860565, 0.25941047072410583, 0.38034307956695557, 0.129781574010849, 0.101357102394104, -0.008004945702850819, -0.08927587419748306, -0.1074080765247345, -0.1973748803138733, -0.096058189868927, 0.06318573653697968, 0.22321180999279022, 0.21333399415016174, -0.021635131910443306, -0.1601742058992386, -0.4895545244216919, -0.11874762177467346, 0.06097041070461273, 0.21564994752407074, -0.28946372866630554, -0.011680972762405872, -0.011666011065244675, 0.05792136490345001, -0.023730192333459854, 0.047052327543497086, -0.2512167692184448, -0.19565165042877197, -0.03943020850419998, 0.20009000599384308, -0.24700681865215302, 0.3504975438117981, 0.0965951606631279, -0.05226172134280205, 0.3259783387184143, 0.022104058414697647, -0.033842090517282486, 0.03850279748439789, 0.12487859278917313, 0.19473743438720703, 0.09567764401435852, -0.28673869371414185, 0.3394169211387634, 0.0933983325958252, 0.12563663721084595, -0.024234725162386894, -0.5041525959968567, 0.11874853819608688, -0.1773112267255783, 0.11977303773164749, -0.01320632454007864, 0.35239267349243164, 0.23480698466300964, -0.34205329418182373, -0.0058677620254457, -0.04872822016477585, -0.09544996917247772, -0.19195538759231567, -0.04357943683862686, -0.26492685079574585, -0.35448768734931946, -0.4009668231010437, -0.1536729484796524, -0.42137211561203003, 0.16264638304710388, 0.39916494488716125, 0.17703460156917572, 0.49006974697113037, 0.2784859836101532, -0.01817386783659458, 0.33434221148490906, 0.10859453678131104, -0.02187759056687355, -0.09390436857938766, 0.3218384087085724, -0.3691774010658264, -0.4166935384273529, -0.02036391757428646, -0.04682576283812523, 0.3858502507209778, 0.2742103934288025, -0.2381293773651123, -0.08782503753900528, -0.28745225071907043, -0.001892284955829382, 0.021732041612267494, 0.17217406630516052, 0.1543712615966797, 0.08167321979999542, 0.0032493388280272484, -0.17387628555297852, 0.1297016739845276, 0.06782454252243042, 0.09718402475118637, -0.13415932655334473, -0.13272112607955933, 0.05679214373230934, 0.029399724677205086, 0.5338824391365051, -0.34487101435661316, -0.07594011723995209, -0.014752199873328209, -0.03982749581336975, 0.4693126082420349, 0.06917385011911392, -0.23895256221294403, 0.05596022307872772, 0.1056179329752922, -0.0741100013256073, -0.025754233822226524, -0.036070920526981354, -0.18483689427375793, 0.085675448179245, 0.3487444221973419, -0.01145684439688921, -0.2756460905075073, 0.10422101616859436, -0.026243818923830986, 0.11304723471403122, 0.17421855032444, 0.13642126321792603, -0.3362480401992798, 0.009865229949355125, 0.016232941299676895, 0.147149920463562, -0.08641768991947174, -0.016071099787950516, -0.37799373269081116, -0.07614308595657349, -0.33435794711112976, -0.17550736665725708, -0.16313111782073975, 0.3789288401603699, -0.08243943005800247, 0.1356038749217987, 0.0312516912817955, 0.07587938010692596, 0.5909123420715332, -0.312386691570282, -0.0036373483017086983, -0.14376039803028107, -0.08349552005529404, -0.3109431266784668, -0.20052863657474518, -0.25066202878952026, 0.04241947457194328, 0.10901564359664917, 0.28689950704574585, -0.17623648047447205, 0.10903407633304596, -0.08156544715166092, -0.21623185276985168, -0.14259381592273712, -0.019008556380867958, -0.21583899855613708, -0.36660507321357727, -0.566938579082489, -0.18691463768482208, 0.42886778712272644, -0.07284822314977646, -0.07770255208015442, -0.04894232377409935, -0.20810174942016602, -0.002972349524497986, 0.12081633508205414, 0.34366369247436523, 0.05245480686426163, 0.1397526115179062, -0.18880778551101685, 0.14439785480499268, -0.2661539316177368, 0.036495309323072433, 0.21699672937393188, -0.20726464688777924, -0.29220065474510193, 0.08131657540798187, -0.17905642092227936, -0.07733418792486191, 0.16714715957641602, -0.005172564648091793, -0.2587389647960663, 0.034954752773046494, -0.049358613789081573, -0.08896172791719437, 0.5547387599945068, 0.08971445262432098, 0.09142685681581497, 0.020357545465230942, -0.25939682126045227, 0.09176259487867355, 0.010627597570419312, 0.009779888205230236, 0.006049457471817732, 0.14673858880996704, -0.37929701805114746, 0.4251936674118042, 0.2028622180223465, 0.3311271071434021, -0.31563112139701843, 0.14326289296150208, 0.42980068922042847, 0.17814190685749054, 0.5748618841171265, -0.5587646961212158, 0.20417992770671844, -0.09471060335636139, -0.2587308883666992, -0.041154149919748306, -0.2882283627986908, 0.08697952330112457, 0.11306336522102356, -0.07303855568170547, -0.08171824365854263, 0.06711255759000778, 0.2662990093231201, 0.04448966309428215, 0.30359575152397156, 0.12940767407417297, -0.4410732388496399, 0.09412398189306259, 0.2616279423236847, -0.06436854600906372, 0.21959452331066132, -0.23875676095485687, -0.05738769844174385, -0.20528317987918854, 0.009088441729545593, -0.14257535338401794, 0.08062222599983215, -0.16759344935417175, 0.6066040992736816, 0.0592011958360672, 0.10721366107463837, 0.1901855170726776, 0.2406085580587387, 0.2022460699081421, 0.1896241456270218, -0.1737588495016098, 0.20702335238456726, -0.1252823770046234, -0.23360393941402435, -0.1183694452047348, 0.10541179776191711, 0.2439308911561966, -0.07708992809057236, 0.026075167581439018, -0.12688679993152618, -0.0647054985165596, -0.22316913306713104, -0.024504849687218666, 0.14507117867469788, 0.0099338972941041, -0.11580991744995117, 0.04952501878142357, 0.050009116530418396, -0.3423844575881958, 0.029031941667199135, 0.23613004386425018, -0.08738628029823303, -0.25274279713630676, 0.30693891644477844, 0.21365588903427124, -0.2350398451089859, 0.009815308265388012, 0.3598604202270508, 0.2184261679649353, -0.07400849461555481, 0.5895307660102844, 0.1264132559299469, -0.1667073518037796, -0.23542267084121704, -0.21568916738033295, 0.06301739811897278, -0.36751869320869446, 0.1488368660211563, -0.2644411325454712, -0.6100987195968628, -0.03163165599107742, -0.15193630754947662, 0.24576537311077118, -0.05923774093389511, -0.20693576335906982, -0.2528769075870514, -0.33592113852500916, -0.0017950335750356317, -0.15901465713977814, 0.21687085926532745, -0.1812102049589157, 0.1690027266740799, -0.006070805713534355, -0.023594960570335388, -0.37678998708724976, -0.06410662829875946, -0.335723876953125, 0.06286000460386276, 0.18820586800575256, -0.2816835045814514, 0.0810491219162941, -0.14203479886054993, 0.15365353226661682, 0.006766607519239187, -0.4770274758338928, -0.27035126090049744, -0.15277719497680664, 0.038702163845300674, 0.17678722739219666, -0.12322291731834412, 0.04988446831703186, -0.21975155174732208, -0.20367476344108582, 0.04723026230931282, 0.2183694690465927, 0.11054791510105133, -0.12131386250257492, 0.239951029419899, -0.10544895380735397, 0.24947629868984222, 0.19886808097362518, 0.014325583353638649, 0.009641584940254688, 0.10834222286939621, 0.0033641988411545753, 0.2688886523246765, 0.039691466838121414, -0.06081546097993851, -0.2645051181316376, 0.09615632146596909, 0.09020132571458817, 0.18331345915794373, 0.33540311455726624, -0.30686110258102417, 0.2579263150691986, -0.024319501593708992, 0.12758740782737732, 0.09025521576404572, -0.31371617317199707, -0.12991493940353394, -0.03433361276984215, 0.3021174967288971, -0.07371234893798828, -0.10895683616399765, 0.044270243495702744, -0.12247121334075928, 0.28101667761802673, 0.255624383687973, 0.22003383934497833, -0.025807952508330345, -0.026018492877483368, 0.36019986867904663, 0.4218924641609192, -0.2751960754394531, 0.18886220455169678, 0.2344493865966797, -0.5102589726448059, 0.09255754202604294, 0.14126765727996826, 0.10715232044458389, -0.012369558215141296, 0.3474859595298767, 0.12767499685287476, 0.09965821355581284, -0.14936946332454681, -0.21553143858909607, 0.3766753673553467, -0.08169463276863098, -0.06135798618197441, -0.11137233674526215, 0.10942237824201584, 0.24552199244499207, 0.10518240183591843, -0.22481423616409302, 0.042686425149440765, -0.027609696611762047, -0.3637123703956604, 0.18413695693016052, -0.2888953387737274, -0.05190854147076607, -0.19077415764331818, 0.06495977193117142, 0.050344549119472504, -0.15533064305782318, 0.06552953273057938, -0.2838505506515503, -0.3500639498233795, 0.21393917500972748, -0.13500502705574036, 0.15105463564395905, 0.11977271735668182, -0.05119642615318298, -0.23994901776313782, -0.08614476770162582, 0.17746929824352264, 0.055184025317430496, -0.08391778916120529, -0.08181680738925934, -0.015445944853127003, 0.44599464535713196, 0.18805170059204102, 0.16566134989261627, 0.22621023654937744, 0.042595233768224716, -0.1696152240037918, -0.3239993453025818, 0.20825496315956116, -0.143079474568367, 0.2278498262166977, 0.19184930622577667, 0.2207382321357727, -0.302613765001297, -0.2982042729854584, 0.09735172986984253, 0.006613333709537983, 0.10503430664539337, 0.14449921250343323, -0.2083994746208191, -0.2876887023448944, -0.06397796422243118, -0.18746870756149292, -0.2724931240081787, -0.036359772086143494, 0.526101291179657, -0.219294011592865, 0.2807261049747467, -0.1058012917637825, 0.10645344853401184, -0.2018318623304367, 0.6033810377120972, 0.15499937534332275, 0.07349838316440582, -0.12032047659158707, 0.22964583337306976, -0.38438865542411804, 0.09624119848012924, -0.07955066114664078, -0.1071183905005455, 0.00611064163967967, 0.29333069920539856, 0.1481374353170395, -0.05406823381781578, -0.0853976309299469, -0.3578096926212311, 0.07009685039520264, -0.17188923060894012, -0.26853156089782715, -0.04184146970510483, 0.062497399747371674, 0.053859371691942215, 0.1689276397228241, -0.3871825933456421, 0.06145954877138138, 0.029193241149187088, 0.2284086048603058, -0.2976817190647125, 0.12843964993953705, -0.0277702659368515, 0.18311454355716705, 0.1817777007818222, 0.04644240811467171, 0.3076837956905365, -0.0661487728357315, -0.04346846416592598, -0.3107379376888275, -0.29355767369270325, -0.34847351908683777, 0.03100205399096012, 0.15349064767360687, 0.5037693381309509, -0.1460210233926773, -0.10389532893896103, -0.30914533138275146, 0.005974095780402422, 0.17712081968784332, -0.0490703359246254, -0.19785714149475098, 0.307200163602829, -0.2531074583530426, 0.20600944757461548, 0.11755454540252686, -0.07240688055753708, 0.19570989906787872, 0.08488710969686508, -0.16516275703907013, -0.4539574682712555, 0.4601138234138489, -0.2300826609134674, -0.4251743257045746, 0.10904529690742493, -0.02353740483522415, -0.18085214495658875, 0.00591632816940546, -0.4636472165584564, 0.3582477569580078, -0.0046906196512281895, -0.43439745903015137, -0.3791412115097046, 0.1159670501947403, 0.28177914023399353, 0.025280330330133438, -0.10448223352432251, 0.30163899064064026, -0.04376278817653656, -0.29079386591911316, -0.05672141909599304, -0.018731843680143356 ]
https://github.com/huggingface/datasets/issues/1581
Installing datasets and transformers in a tensorflow docker image throws Permission Error on 'import transformers'
> Thanks for reporting ! > You can override the directory in which cache file are stored using for example > > ``` > ENV HF_HOME="/root/cache/hf_cache_home" > ``` > > This way both `transformers` and `datasets` will use this directory instead of the default `.cache` can we disable caching directly?
I am using a docker container, based on latest tensorflow-gpu image, to run transformers and datasets (4.0.1 and 1.1.3 respectively - Dockerfile attached below). Importing transformers throws a Permission Error to access `/.cache`: ``` $ docker run --gpus=all --rm -it -u $(id -u):$(id -g) -v $(pwd)/data:/root/data -v $(pwd):/root -v $(pwd)/models/:/root/models -v $(pwd)/saved_models/:/root/saved_models -e "HOST_HOSTNAME=$(hostname)" hf-error:latest /bin/bash ________ _______________ ___ __/__________________________________ ____/__ /________ __ __ / _ _ \_ __ \_ ___/ __ \_ ___/_ /_ __ /_ __ \_ | /| / / _ / / __/ / / /(__ )/ /_/ / / _ __/ _ / / /_/ /_ |/ |/ / /_/ \___//_/ /_//____/ \____//_/ /_/ /_/ \____/____/|__/ You are running this container as user with ID 1000 and group 1000, which should map to the ID and group for your user on the Docker host. Great! tf-docker /root > python Python 3.6.9 (default, Oct 8 2020, 12:12:24) [GCC 8.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import transformers 2020-12-15 23:53:21.165827: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.6/dist-packages/transformers/__init__.py", line 22, in <module> from .integrations import ( # isort:skip File "/usr/local/lib/python3.6/dist-packages/transformers/integrations.py", line 5, in <module> from .trainer_utils import EvaluationStrategy File "/usr/local/lib/python3.6/dist-packages/transformers/trainer_utils.py", line 25, in <module> from .file_utils import is_tf_available, is_torch_available, is_torch_tpu_available File "/usr/local/lib/python3.6/dist-packages/transformers/file_utils.py", line 88, in <module> import datasets # noqa: F401 File "/usr/local/lib/python3.6/dist-packages/datasets/__init__.py", line 26, in <module> from .arrow_dataset import Dataset, concatenate_datasets File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py", line 40, in <module> from .arrow_reader import ArrowReader File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 31, in <module> from .utils import cached_path, logging File "/usr/local/lib/python3.6/dist-packages/datasets/utils/__init__.py", line 20, in <module> from .download_manager import DownloadManager, GenerateMode File "/usr/local/lib/python3.6/dist-packages/datasets/utils/download_manager.py", line 25, in <module> from .file_utils import HF_DATASETS_CACHE, cached_path, get_from_cache, hash_url_to_filename File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 118, in <module> os.makedirs(HF_MODULES_CACHE, exist_ok=True) File "/usr/lib/python3.6/os.py", line 210, in makedirs makedirs(head, mode, exist_ok) File "/usr/lib/python3.6/os.py", line 210, in makedirs makedirs(head, mode, exist_ok) File "/usr/lib/python3.6/os.py", line 220, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: '/.cache' ``` I've pinned the problem to `RUN pip install datasets`, and by commenting it you can actually import transformers correctly. Another workaround I've found is creating the directory and giving permissions to it directly on the Dockerfile. ``` FROM tensorflow/tensorflow:latest-gpu-jupyter WORKDIR /root EXPOSE 80 EXPOSE 8888 EXPOSE 6006 ENV SHELL /bin/bash ENV PATH="/root/.local/bin:${PATH}" ENV CUDA_CACHE_PATH="/root/cache/cuda" ENV CUDA_CACHE_MAXSIZE="4294967296" ENV TFHUB_CACHE_DIR="/root/cache/tfhub" RUN pip install --upgrade pip RUN apt update -y && apt upgrade -y RUN pip install transformers #Installing datasets will throw the error, try commenting and rebuilding RUN pip install datasets #Another workaround is creating the directory and give permissions explicitly #RUN mkdir /.cache #RUN chmod 777 /.cache ```
50
Installing datasets and transformers in a tensorflow docker image throws Permission Error on 'import transformers'
[ -0.3517875075340271, 0.17725162208080292, -0.18900349736213684, 0.02447938360273838, 0.13574844598770142, -0.09649177640676498, 0.6559001207351685, 0.13111329078674316, 0.1371830850839615, 0.07505150139331818, -0.23369422554969788, 0.09873184561729431, -0.11553201079368591, -0.1387668251991272, -0.07788030803203583, -0.06591659784317017, -0.001022100099362433, 0.18887239694595337, -0.4682008624076843, -0.22267815470695496, 0.031279951333999634, 0.0023901318199932575, 0.12440446764230728, -0.0174988005310297, -0.2741398215293884, -0.0019052063580602407, 0.3823462128639221, -0.088215172290802, -0.262461394071579, 0.05651725083589554, 0.2908087372779846, 0.22087685763835907, 0.011275805532932281, 0.6549028158187866, -0.00010331992962164804, 0.4618191123008728, 0.01586165651679039, -0.02811015583574772, 0.1283048689365387, -0.029565801844000816, -0.13027410209178925, -0.2127363234758377, -0.10975940525531769, -0.1284809559583664, -0.04789946973323822, -0.044808972626924515, 0.020939741283655167, 0.06960165500640869, 0.6684578061103821, 0.35115453600883484, 0.2904813289642334, 0.6271219849586487, 0.09912929683923721, 0.040511514991521835, 0.13304761052131653, -0.009821944870054722, -0.25943124294281006, -0.1604819893836975, -0.033030398190021515, 0.00875711441040039, 0.03387767821550369, 0.24210497736930847, 0.21381771564483643, 0.11275086551904678, 0.15269698202610016, -0.20967741310596466, 0.13427278399467468, -0.38479387760162354, 0.005257914774119854, 0.07097412645816803, 0.47313109040260315, 0.03847537189722061, -0.4451499581336975, -0.05544005334377289, -0.0716395154595375, 0.07632462680339813, 0.2320380061864853, 0.18468238413333893, -0.05433842912316322, 0.15283209085464478, -0.11891964077949524, -0.2953418493270874, -0.5370588898658752, 0.010397147387266159, -0.3498290181159973, 0.38075128197669983, -0.018534207716584206, 0.06462802737951279, -0.12641382217407227, -0.03718632832169533, 0.5557383894920349, 0.1688341647386551, 0.18820829689502716, 0.06694038957357407, -0.08710407465696335, 0.08521276712417603, 0.06988968700170517, -0.5824713706970215, -0.28846150636672974, 0.12111008912324905, -0.07129707932472229, 0.13075804710388184, -0.2135351449251175, 0.35623109340667725, -0.07665456831455231, 0.24275438487529755, -0.4435703754425049, 0.6060181856155396, 0.4280312955379486, -0.20289747416973114, 0.0756186842918396, 0.02334846369922161, -0.09434974938631058, -0.0721699520945549, -0.32081347703933716, -0.06632024049758911, 0.15954075753688812, 0.08199708163738251, -0.025262873619794846, -0.13877104222774506, 0.23202884197235107, 0.10971777886152267, 0.019674567505717278, 0.3605460226535797, 0.10431675612926483, -0.025754692032933235, 0.3338185250759125, 0.17555487155914307, -0.06917176395654678, 0.1383882761001587, -0.2933242619037628, 0.09216658771038055, -0.028177525848150253, -0.30757439136505127, 0.2226448506116867, 0.3223118782043457, 0.23322828114032745, -0.2094390094280243, 0.2138725072145462, 0.058674395084381104, 0.4716022312641144, 0.0912143662571907, 0.1955622285604477, 0.787109375, 0.09847145527601242, -0.05892348662018776, 0.10906685143709183, -0.16362860798835754, 0.05716782435774803, -0.02667105942964554, -0.17990277707576752, -0.11644694209098816, -0.04146868735551834, 0.2682792842388153, -0.18355533480644226, 0.11911267042160034, -0.18524640798568726, -0.21532052755355835, 0.24649949371814728, 0.08591071516275406, -0.06206922605633736, -0.1692020148038864, 0.17205362021923065, -0.012937633320689201, -0.07526848465204239, 0.045884668827056885, -0.17008402943611145, -0.09781311452388763, -0.029217161238193512, -0.1286144107580185, -0.0694894790649414, 0.2934853136539459, -0.20709389448165894, 0.39754748344421387, -0.01640254259109497, 0.18847417831420898, 0.16457527875900269, -0.41036370396614075, -0.36489951610565186, -0.03527766093611717, -0.14441078901290894, -0.1335955709218979, 0.10987690091133118, 0.08340232819318771, 0.3560422360897064, -0.08958099782466888, -0.2728082835674286, 0.351928174495697, 0.15847264230251312, 0.20259243249893188, 0.1684037297964096, -0.2391010820865631, -0.16260743141174316, 0.1386156529188156, 0.5173915028572083, 0.16514652967453003, -0.006657147314399481, 0.38272905349731445, -0.07375095784664154, -0.3216034770011902, 0.0796794444322586, 0.3817161023616791, 0.1986604779958725, -0.02768748439848423, -0.10609905421733856, 0.019980214536190033, -0.41754719614982605, 0.21600665152072906, -0.11940715461969376, 0.43083417415618896, -0.2514886260032654, 0.06367890536785126, -0.14399820566177368, 0.157780259847641, -0.20146237313747406, 0.030468963086605072, 0.28249579668045044, 0.09310299903154373, -0.04493136703968048, 0.02728136256337166, 0.2138822227716446, -0.012549277395009995, 0.02452212944626808, 0.19618189334869385, -0.18198032677173615, 0.3524087965488434, -0.14750833809375763, -0.06488054990768433, 0.12720493972301483, -0.07975521683692932, -0.08203944563865662, -0.364038348197937, -0.04951562359929085, 0.0878644585609436, -0.03399575501680374, 0.26447373628616333, -0.44644859433174133, 0.46404117345809937, 0.2366207242012024, -0.0756487175822258, 0.07037681341171265, 0.18788360059261322, 0.005399672314524651, -0.027890019118785858, -0.14799495041370392, 0.11367230862379074, 0.011219986714422703, -0.08869599550962448, 0.09346788376569748, 0.052792951464653015, 0.32781219482421875, 0.036230023950338364, -0.22495484352111816, -0.22498133778572083, -0.0616050586104393, 0.14202024042606354, -0.09662238508462906, -0.07720530033111572, 0.25963279604911804, -0.2908311188220978, 0.27665233612060547, 0.23286110162734985, 0.1701553910970688, -0.12721560895442963, 0.08346165716648102, 0.2815103232860565, 0.25941047072410583, 0.38034307956695557, 0.129781574010849, 0.101357102394104, -0.008004945702850819, -0.08927587419748306, -0.1074080765247345, -0.1973748803138733, -0.096058189868927, 0.06318573653697968, 0.22321180999279022, 0.21333399415016174, -0.021635131910443306, -0.1601742058992386, -0.4895545244216919, -0.11874762177467346, 0.06097041070461273, 0.21564994752407074, -0.28946372866630554, -0.011680972762405872, -0.011666011065244675, 0.05792136490345001, -0.023730192333459854, 0.047052327543497086, -0.2512167692184448, -0.19565165042877197, -0.03943020850419998, 0.20009000599384308, -0.24700681865215302, 0.3504975438117981, 0.0965951606631279, -0.05226172134280205, 0.3259783387184143, 0.022104058414697647, -0.033842090517282486, 0.03850279748439789, 0.12487859278917313, 0.19473743438720703, 0.09567764401435852, -0.28673869371414185, 0.3394169211387634, 0.0933983325958252, 0.12563663721084595, -0.024234725162386894, -0.5041525959968567, 0.11874853819608688, -0.1773112267255783, 0.11977303773164749, -0.01320632454007864, 0.35239267349243164, 0.23480698466300964, -0.34205329418182373, -0.0058677620254457, -0.04872822016477585, -0.09544996917247772, -0.19195538759231567, -0.04357943683862686, -0.26492685079574585, -0.35448768734931946, -0.4009668231010437, -0.1536729484796524, -0.42137211561203003, 0.16264638304710388, 0.39916494488716125, 0.17703460156917572, 0.49006974697113037, 0.2784859836101532, -0.01817386783659458, 0.33434221148490906, 0.10859453678131104, -0.02187759056687355, -0.09390436857938766, 0.3218384087085724, -0.3691774010658264, -0.4166935384273529, -0.02036391757428646, -0.04682576283812523, 0.3858502507209778, 0.2742103934288025, -0.2381293773651123, -0.08782503753900528, -0.28745225071907043, -0.001892284955829382, 0.021732041612267494, 0.17217406630516052, 0.1543712615966797, 0.08167321979999542, 0.0032493388280272484, -0.17387628555297852, 0.1297016739845276, 0.06782454252243042, 0.09718402475118637, -0.13415932655334473, -0.13272112607955933, 0.05679214373230934, 0.029399724677205086, 0.5338824391365051, -0.34487101435661316, -0.07594011723995209, -0.014752199873328209, -0.03982749581336975, 0.4693126082420349, 0.06917385011911392, -0.23895256221294403, 0.05596022307872772, 0.1056179329752922, -0.0741100013256073, -0.025754233822226524, -0.036070920526981354, -0.18483689427375793, 0.085675448179245, 0.3487444221973419, -0.01145684439688921, -0.2756460905075073, 0.10422101616859436, -0.026243818923830986, 0.11304723471403122, 0.17421855032444, 0.13642126321792603, -0.3362480401992798, 0.009865229949355125, 0.016232941299676895, 0.147149920463562, -0.08641768991947174, -0.016071099787950516, -0.37799373269081116, -0.07614308595657349, -0.33435794711112976, -0.17550736665725708, -0.16313111782073975, 0.3789288401603699, -0.08243943005800247, 0.1356038749217987, 0.0312516912817955, 0.07587938010692596, 0.5909123420715332, -0.312386691570282, -0.0036373483017086983, -0.14376039803028107, -0.08349552005529404, -0.3109431266784668, -0.20052863657474518, -0.25066202878952026, 0.04241947457194328, 0.10901564359664917, 0.28689950704574585, -0.17623648047447205, 0.10903407633304596, -0.08156544715166092, -0.21623185276985168, -0.14259381592273712, -0.019008556380867958, -0.21583899855613708, -0.36660507321357727, -0.566938579082489, -0.18691463768482208, 0.42886778712272644, -0.07284822314977646, -0.07770255208015442, -0.04894232377409935, -0.20810174942016602, -0.002972349524497986, 0.12081633508205414, 0.34366369247436523, 0.05245480686426163, 0.1397526115179062, -0.18880778551101685, 0.14439785480499268, -0.2661539316177368, 0.036495309323072433, 0.21699672937393188, -0.20726464688777924, -0.29220065474510193, 0.08131657540798187, -0.17905642092227936, -0.07733418792486191, 0.16714715957641602, -0.005172564648091793, -0.2587389647960663, 0.034954752773046494, -0.049358613789081573, -0.08896172791719437, 0.5547387599945068, 0.08971445262432098, 0.09142685681581497, 0.020357545465230942, -0.25939682126045227, 0.09176259487867355, 0.010627597570419312, 0.009779888205230236, 0.006049457471817732, 0.14673858880996704, -0.37929701805114746, 0.4251936674118042, 0.2028622180223465, 0.3311271071434021, -0.31563112139701843, 0.14326289296150208, 0.42980068922042847, 0.17814190685749054, 0.5748618841171265, -0.5587646961212158, 0.20417992770671844, -0.09471060335636139, -0.2587308883666992, -0.041154149919748306, -0.2882283627986908, 0.08697952330112457, 0.11306336522102356, -0.07303855568170547, -0.08171824365854263, 0.06711255759000778, 0.2662990093231201, 0.04448966309428215, 0.30359575152397156, 0.12940767407417297, -0.4410732388496399, 0.09412398189306259, 0.2616279423236847, -0.06436854600906372, 0.21959452331066132, -0.23875676095485687, -0.05738769844174385, -0.20528317987918854, 0.009088441729545593, -0.14257535338401794, 0.08062222599983215, -0.16759344935417175, 0.6066040992736816, 0.0592011958360672, 0.10721366107463837, 0.1901855170726776, 0.2406085580587387, 0.2022460699081421, 0.1896241456270218, -0.1737588495016098, 0.20702335238456726, -0.1252823770046234, -0.23360393941402435, -0.1183694452047348, 0.10541179776191711, 0.2439308911561966, -0.07708992809057236, 0.026075167581439018, -0.12688679993152618, -0.0647054985165596, -0.22316913306713104, -0.024504849687218666, 0.14507117867469788, 0.0099338972941041, -0.11580991744995117, 0.04952501878142357, 0.050009116530418396, -0.3423844575881958, 0.029031941667199135, 0.23613004386425018, -0.08738628029823303, -0.25274279713630676, 0.30693891644477844, 0.21365588903427124, -0.2350398451089859, 0.009815308265388012, 0.3598604202270508, 0.2184261679649353, -0.07400849461555481, 0.5895307660102844, 0.1264132559299469, -0.1667073518037796, -0.23542267084121704, -0.21568916738033295, 0.06301739811897278, -0.36751869320869446, 0.1488368660211563, -0.2644411325454712, -0.6100987195968628, -0.03163165599107742, -0.15193630754947662, 0.24576537311077118, -0.05923774093389511, -0.20693576335906982, -0.2528769075870514, -0.33592113852500916, -0.0017950335750356317, -0.15901465713977814, 0.21687085926532745, -0.1812102049589157, 0.1690027266740799, -0.006070805713534355, -0.023594960570335388, -0.37678998708724976, -0.06410662829875946, -0.335723876953125, 0.06286000460386276, 0.18820586800575256, -0.2816835045814514, 0.0810491219162941, -0.14203479886054993, 0.15365353226661682, 0.006766607519239187, -0.4770274758338928, -0.27035126090049744, -0.15277719497680664, 0.038702163845300674, 0.17678722739219666, -0.12322291731834412, 0.04988446831703186, -0.21975155174732208, -0.20367476344108582, 0.04723026230931282, 0.2183694690465927, 0.11054791510105133, -0.12131386250257492, 0.239951029419899, -0.10544895380735397, 0.24947629868984222, 0.19886808097362518, 0.014325583353638649, 0.009641584940254688, 0.10834222286939621, 0.0033641988411545753, 0.2688886523246765, 0.039691466838121414, -0.06081546097993851, -0.2645051181316376, 0.09615632146596909, 0.09020132571458817, 0.18331345915794373, 0.33540311455726624, -0.30686110258102417, 0.2579263150691986, -0.024319501593708992, 0.12758740782737732, 0.09025521576404572, -0.31371617317199707, -0.12991493940353394, -0.03433361276984215, 0.3021174967288971, -0.07371234893798828, -0.10895683616399765, 0.044270243495702744, -0.12247121334075928, 0.28101667761802673, 0.255624383687973, 0.22003383934497833, -0.025807952508330345, -0.026018492877483368, 0.36019986867904663, 0.4218924641609192, -0.2751960754394531, 0.18886220455169678, 0.2344493865966797, -0.5102589726448059, 0.09255754202604294, 0.14126765727996826, 0.10715232044458389, -0.012369558215141296, 0.3474859595298767, 0.12767499685287476, 0.09965821355581284, -0.14936946332454681, -0.21553143858909607, 0.3766753673553467, -0.08169463276863098, -0.06135798618197441, -0.11137233674526215, 0.10942237824201584, 0.24552199244499207, 0.10518240183591843, -0.22481423616409302, 0.042686425149440765, -0.027609696611762047, -0.3637123703956604, 0.18413695693016052, -0.2888953387737274, -0.05190854147076607, -0.19077415764331818, 0.06495977193117142, 0.050344549119472504, -0.15533064305782318, 0.06552953273057938, -0.2838505506515503, -0.3500639498233795, 0.21393917500972748, -0.13500502705574036, 0.15105463564395905, 0.11977271735668182, -0.05119642615318298, -0.23994901776313782, -0.08614476770162582, 0.17746929824352264, 0.055184025317430496, -0.08391778916120529, -0.08181680738925934, -0.015445944853127003, 0.44599464535713196, 0.18805170059204102, 0.16566134989261627, 0.22621023654937744, 0.042595233768224716, -0.1696152240037918, -0.3239993453025818, 0.20825496315956116, -0.143079474568367, 0.2278498262166977, 0.19184930622577667, 0.2207382321357727, -0.302613765001297, -0.2982042729854584, 0.09735172986984253, 0.006613333709537983, 0.10503430664539337, 0.14449921250343323, -0.2083994746208191, -0.2876887023448944, -0.06397796422243118, -0.18746870756149292, -0.2724931240081787, -0.036359772086143494, 0.526101291179657, -0.219294011592865, 0.2807261049747467, -0.1058012917637825, 0.10645344853401184, -0.2018318623304367, 0.6033810377120972, 0.15499937534332275, 0.07349838316440582, -0.12032047659158707, 0.22964583337306976, -0.38438865542411804, 0.09624119848012924, -0.07955066114664078, -0.1071183905005455, 0.00611064163967967, 0.29333069920539856, 0.1481374353170395, -0.05406823381781578, -0.0853976309299469, -0.3578096926212311, 0.07009685039520264, -0.17188923060894012, -0.26853156089782715, -0.04184146970510483, 0.062497399747371674, 0.053859371691942215, 0.1689276397228241, -0.3871825933456421, 0.06145954877138138, 0.029193241149187088, 0.2284086048603058, -0.2976817190647125, 0.12843964993953705, -0.0277702659368515, 0.18311454355716705, 0.1817777007818222, 0.04644240811467171, 0.3076837956905365, -0.0661487728357315, -0.04346846416592598, -0.3107379376888275, -0.29355767369270325, -0.34847351908683777, 0.03100205399096012, 0.15349064767360687, 0.5037693381309509, -0.1460210233926773, -0.10389532893896103, -0.30914533138275146, 0.005974095780402422, 0.17712081968784332, -0.0490703359246254, -0.19785714149475098, 0.307200163602829, -0.2531074583530426, 0.20600944757461548, 0.11755454540252686, -0.07240688055753708, 0.19570989906787872, 0.08488710969686508, -0.16516275703907013, -0.4539574682712555, 0.4601138234138489, -0.2300826609134674, -0.4251743257045746, 0.10904529690742493, -0.02353740483522415, -0.18085214495658875, 0.00591632816940546, -0.4636472165584564, 0.3582477569580078, -0.0046906196512281895, -0.43439745903015137, -0.3791412115097046, 0.1159670501947403, 0.28177914023399353, 0.025280330330133438, -0.10448223352432251, 0.30163899064064026, -0.04376278817653656, -0.29079386591911316, -0.05672141909599304, -0.018731843680143356 ]
https://github.com/huggingface/datasets/issues/1581
Installing datasets and transformers in a tensorflow docker image throws Permission Error on 'import transformers'
Hi ! Unfortunately no since we need this directory to load datasets. When you load a dataset, it downloads the raw data files in the cache directory inside <cache_dir>/downloads. Then it builds the dataset and saves it as arrow data inside <cache_dir>/<dataset_name>. However you can specify the directory of your choice, and it can be a temporary directory if you want to clean everything up at one point.
I am using a docker container, based on latest tensorflow-gpu image, to run transformers and datasets (4.0.1 and 1.1.3 respectively - Dockerfile attached below). Importing transformers throws a Permission Error to access `/.cache`: ``` $ docker run --gpus=all --rm -it -u $(id -u):$(id -g) -v $(pwd)/data:/root/data -v $(pwd):/root -v $(pwd)/models/:/root/models -v $(pwd)/saved_models/:/root/saved_models -e "HOST_HOSTNAME=$(hostname)" hf-error:latest /bin/bash ________ _______________ ___ __/__________________________________ ____/__ /________ __ __ / _ _ \_ __ \_ ___/ __ \_ ___/_ /_ __ /_ __ \_ | /| / / _ / / __/ / / /(__ )/ /_/ / / _ __/ _ / / /_/ /_ |/ |/ / /_/ \___//_/ /_//____/ \____//_/ /_/ /_/ \____/____/|__/ You are running this container as user with ID 1000 and group 1000, which should map to the ID and group for your user on the Docker host. Great! tf-docker /root > python Python 3.6.9 (default, Oct 8 2020, 12:12:24) [GCC 8.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import transformers 2020-12-15 23:53:21.165827: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.6/dist-packages/transformers/__init__.py", line 22, in <module> from .integrations import ( # isort:skip File "/usr/local/lib/python3.6/dist-packages/transformers/integrations.py", line 5, in <module> from .trainer_utils import EvaluationStrategy File "/usr/local/lib/python3.6/dist-packages/transformers/trainer_utils.py", line 25, in <module> from .file_utils import is_tf_available, is_torch_available, is_torch_tpu_available File "/usr/local/lib/python3.6/dist-packages/transformers/file_utils.py", line 88, in <module> import datasets # noqa: F401 File "/usr/local/lib/python3.6/dist-packages/datasets/__init__.py", line 26, in <module> from .arrow_dataset import Dataset, concatenate_datasets File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py", line 40, in <module> from .arrow_reader import ArrowReader File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 31, in <module> from .utils import cached_path, logging File "/usr/local/lib/python3.6/dist-packages/datasets/utils/__init__.py", line 20, in <module> from .download_manager import DownloadManager, GenerateMode File "/usr/local/lib/python3.6/dist-packages/datasets/utils/download_manager.py", line 25, in <module> from .file_utils import HF_DATASETS_CACHE, cached_path, get_from_cache, hash_url_to_filename File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 118, in <module> os.makedirs(HF_MODULES_CACHE, exist_ok=True) File "/usr/lib/python3.6/os.py", line 210, in makedirs makedirs(head, mode, exist_ok) File "/usr/lib/python3.6/os.py", line 210, in makedirs makedirs(head, mode, exist_ok) File "/usr/lib/python3.6/os.py", line 220, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: '/.cache' ``` I've pinned the problem to `RUN pip install datasets`, and by commenting it you can actually import transformers correctly. Another workaround I've found is creating the directory and giving permissions to it directly on the Dockerfile. ``` FROM tensorflow/tensorflow:latest-gpu-jupyter WORKDIR /root EXPOSE 80 EXPOSE 8888 EXPOSE 6006 ENV SHELL /bin/bash ENV PATH="/root/.local/bin:${PATH}" ENV CUDA_CACHE_PATH="/root/cache/cuda" ENV CUDA_CACHE_MAXSIZE="4294967296" ENV TFHUB_CACHE_DIR="/root/cache/tfhub" RUN pip install --upgrade pip RUN apt update -y && apt upgrade -y RUN pip install transformers #Installing datasets will throw the error, try commenting and rebuilding RUN pip install datasets #Another workaround is creating the directory and give permissions explicitly #RUN mkdir /.cache #RUN chmod 777 /.cache ```
68
Installing datasets and transformers in a tensorflow docker image throws Permission Error on 'import transformers'
[ -0.3517875075340271, 0.17725162208080292, -0.18900349736213684, 0.02447938360273838, 0.13574844598770142, -0.09649177640676498, 0.6559001207351685, 0.13111329078674316, 0.1371830850839615, 0.07505150139331818, -0.23369422554969788, 0.09873184561729431, -0.11553201079368591, -0.1387668251991272, -0.07788030803203583, -0.06591659784317017, -0.001022100099362433, 0.18887239694595337, -0.4682008624076843, -0.22267815470695496, 0.031279951333999634, 0.0023901318199932575, 0.12440446764230728, -0.0174988005310297, -0.2741398215293884, -0.0019052063580602407, 0.3823462128639221, -0.088215172290802, -0.262461394071579, 0.05651725083589554, 0.2908087372779846, 0.22087685763835907, 0.011275805532932281, 0.6549028158187866, -0.00010331992962164804, 0.4618191123008728, 0.01586165651679039, -0.02811015583574772, 0.1283048689365387, -0.029565801844000816, -0.13027410209178925, -0.2127363234758377, -0.10975940525531769, -0.1284809559583664, -0.04789946973323822, -0.044808972626924515, 0.020939741283655167, 0.06960165500640869, 0.6684578061103821, 0.35115453600883484, 0.2904813289642334, 0.6271219849586487, 0.09912929683923721, 0.040511514991521835, 0.13304761052131653, -0.009821944870054722, -0.25943124294281006, -0.1604819893836975, -0.033030398190021515, 0.00875711441040039, 0.03387767821550369, 0.24210497736930847, 0.21381771564483643, 0.11275086551904678, 0.15269698202610016, -0.20967741310596466, 0.13427278399467468, -0.38479387760162354, 0.005257914774119854, 0.07097412645816803, 0.47313109040260315, 0.03847537189722061, -0.4451499581336975, -0.05544005334377289, -0.0716395154595375, 0.07632462680339813, 0.2320380061864853, 0.18468238413333893, -0.05433842912316322, 0.15283209085464478, -0.11891964077949524, -0.2953418493270874, -0.5370588898658752, 0.010397147387266159, -0.3498290181159973, 0.38075128197669983, -0.018534207716584206, 0.06462802737951279, -0.12641382217407227, -0.03718632832169533, 0.5557383894920349, 0.1688341647386551, 0.18820829689502716, 0.06694038957357407, -0.08710407465696335, 0.08521276712417603, 0.06988968700170517, -0.5824713706970215, -0.28846150636672974, 0.12111008912324905, -0.07129707932472229, 0.13075804710388184, -0.2135351449251175, 0.35623109340667725, -0.07665456831455231, 0.24275438487529755, -0.4435703754425049, 0.6060181856155396, 0.4280312955379486, -0.20289747416973114, 0.0756186842918396, 0.02334846369922161, -0.09434974938631058, -0.0721699520945549, -0.32081347703933716, -0.06632024049758911, 0.15954075753688812, 0.08199708163738251, -0.025262873619794846, -0.13877104222774506, 0.23202884197235107, 0.10971777886152267, 0.019674567505717278, 0.3605460226535797, 0.10431675612926483, -0.025754692032933235, 0.3338185250759125, 0.17555487155914307, -0.06917176395654678, 0.1383882761001587, -0.2933242619037628, 0.09216658771038055, -0.028177525848150253, -0.30757439136505127, 0.2226448506116867, 0.3223118782043457, 0.23322828114032745, -0.2094390094280243, 0.2138725072145462, 0.058674395084381104, 0.4716022312641144, 0.0912143662571907, 0.1955622285604477, 0.787109375, 0.09847145527601242, -0.05892348662018776, 0.10906685143709183, -0.16362860798835754, 0.05716782435774803, -0.02667105942964554, -0.17990277707576752, -0.11644694209098816, -0.04146868735551834, 0.2682792842388153, -0.18355533480644226, 0.11911267042160034, -0.18524640798568726, -0.21532052755355835, 0.24649949371814728, 0.08591071516275406, -0.06206922605633736, -0.1692020148038864, 0.17205362021923065, -0.012937633320689201, -0.07526848465204239, 0.045884668827056885, -0.17008402943611145, -0.09781311452388763, -0.029217161238193512, -0.1286144107580185, -0.0694894790649414, 0.2934853136539459, -0.20709389448165894, 0.39754748344421387, -0.01640254259109497, 0.18847417831420898, 0.16457527875900269, -0.41036370396614075, -0.36489951610565186, -0.03527766093611717, -0.14441078901290894, -0.1335955709218979, 0.10987690091133118, 0.08340232819318771, 0.3560422360897064, -0.08958099782466888, -0.2728082835674286, 0.351928174495697, 0.15847264230251312, 0.20259243249893188, 0.1684037297964096, -0.2391010820865631, -0.16260743141174316, 0.1386156529188156, 0.5173915028572083, 0.16514652967453003, -0.006657147314399481, 0.38272905349731445, -0.07375095784664154, -0.3216034770011902, 0.0796794444322586, 0.3817161023616791, 0.1986604779958725, -0.02768748439848423, -0.10609905421733856, 0.019980214536190033, -0.41754719614982605, 0.21600665152072906, -0.11940715461969376, 0.43083417415618896, -0.2514886260032654, 0.06367890536785126, -0.14399820566177368, 0.157780259847641, -0.20146237313747406, 0.030468963086605072, 0.28249579668045044, 0.09310299903154373, -0.04493136703968048, 0.02728136256337166, 0.2138822227716446, -0.012549277395009995, 0.02452212944626808, 0.19618189334869385, -0.18198032677173615, 0.3524087965488434, -0.14750833809375763, -0.06488054990768433, 0.12720493972301483, -0.07975521683692932, -0.08203944563865662, -0.364038348197937, -0.04951562359929085, 0.0878644585609436, -0.03399575501680374, 0.26447373628616333, -0.44644859433174133, 0.46404117345809937, 0.2366207242012024, -0.0756487175822258, 0.07037681341171265, 0.18788360059261322, 0.005399672314524651, -0.027890019118785858, -0.14799495041370392, 0.11367230862379074, 0.011219986714422703, -0.08869599550962448, 0.09346788376569748, 0.052792951464653015, 0.32781219482421875, 0.036230023950338364, -0.22495484352111816, -0.22498133778572083, -0.0616050586104393, 0.14202024042606354, -0.09662238508462906, -0.07720530033111572, 0.25963279604911804, -0.2908311188220978, 0.27665233612060547, 0.23286110162734985, 0.1701553910970688, -0.12721560895442963, 0.08346165716648102, 0.2815103232860565, 0.25941047072410583, 0.38034307956695557, 0.129781574010849, 0.101357102394104, -0.008004945702850819, -0.08927587419748306, -0.1074080765247345, -0.1973748803138733, -0.096058189868927, 0.06318573653697968, 0.22321180999279022, 0.21333399415016174, -0.021635131910443306, -0.1601742058992386, -0.4895545244216919, -0.11874762177467346, 0.06097041070461273, 0.21564994752407074, -0.28946372866630554, -0.011680972762405872, -0.011666011065244675, 0.05792136490345001, -0.023730192333459854, 0.047052327543497086, -0.2512167692184448, -0.19565165042877197, -0.03943020850419998, 0.20009000599384308, -0.24700681865215302, 0.3504975438117981, 0.0965951606631279, -0.05226172134280205, 0.3259783387184143, 0.022104058414697647, -0.033842090517282486, 0.03850279748439789, 0.12487859278917313, 0.19473743438720703, 0.09567764401435852, -0.28673869371414185, 0.3394169211387634, 0.0933983325958252, 0.12563663721084595, -0.024234725162386894, -0.5041525959968567, 0.11874853819608688, -0.1773112267255783, 0.11977303773164749, -0.01320632454007864, 0.35239267349243164, 0.23480698466300964, -0.34205329418182373, -0.0058677620254457, -0.04872822016477585, -0.09544996917247772, -0.19195538759231567, -0.04357943683862686, -0.26492685079574585, -0.35448768734931946, -0.4009668231010437, -0.1536729484796524, -0.42137211561203003, 0.16264638304710388, 0.39916494488716125, 0.17703460156917572, 0.49006974697113037, 0.2784859836101532, -0.01817386783659458, 0.33434221148490906, 0.10859453678131104, -0.02187759056687355, -0.09390436857938766, 0.3218384087085724, -0.3691774010658264, -0.4166935384273529, -0.02036391757428646, -0.04682576283812523, 0.3858502507209778, 0.2742103934288025, -0.2381293773651123, -0.08782503753900528, -0.28745225071907043, -0.001892284955829382, 0.021732041612267494, 0.17217406630516052, 0.1543712615966797, 0.08167321979999542, 0.0032493388280272484, -0.17387628555297852, 0.1297016739845276, 0.06782454252243042, 0.09718402475118637, -0.13415932655334473, -0.13272112607955933, 0.05679214373230934, 0.029399724677205086, 0.5338824391365051, -0.34487101435661316, -0.07594011723995209, -0.014752199873328209, -0.03982749581336975, 0.4693126082420349, 0.06917385011911392, -0.23895256221294403, 0.05596022307872772, 0.1056179329752922, -0.0741100013256073, -0.025754233822226524, -0.036070920526981354, -0.18483689427375793, 0.085675448179245, 0.3487444221973419, -0.01145684439688921, -0.2756460905075073, 0.10422101616859436, -0.026243818923830986, 0.11304723471403122, 0.17421855032444, 0.13642126321792603, -0.3362480401992798, 0.009865229949355125, 0.016232941299676895, 0.147149920463562, -0.08641768991947174, -0.016071099787950516, -0.37799373269081116, -0.07614308595657349, -0.33435794711112976, -0.17550736665725708, -0.16313111782073975, 0.3789288401603699, -0.08243943005800247, 0.1356038749217987, 0.0312516912817955, 0.07587938010692596, 0.5909123420715332, -0.312386691570282, -0.0036373483017086983, -0.14376039803028107, -0.08349552005529404, -0.3109431266784668, -0.20052863657474518, -0.25066202878952026, 0.04241947457194328, 0.10901564359664917, 0.28689950704574585, -0.17623648047447205, 0.10903407633304596, -0.08156544715166092, -0.21623185276985168, -0.14259381592273712, -0.019008556380867958, -0.21583899855613708, -0.36660507321357727, -0.566938579082489, -0.18691463768482208, 0.42886778712272644, -0.07284822314977646, -0.07770255208015442, -0.04894232377409935, -0.20810174942016602, -0.002972349524497986, 0.12081633508205414, 0.34366369247436523, 0.05245480686426163, 0.1397526115179062, -0.18880778551101685, 0.14439785480499268, -0.2661539316177368, 0.036495309323072433, 0.21699672937393188, -0.20726464688777924, -0.29220065474510193, 0.08131657540798187, -0.17905642092227936, -0.07733418792486191, 0.16714715957641602, -0.005172564648091793, -0.2587389647960663, 0.034954752773046494, -0.049358613789081573, -0.08896172791719437, 0.5547387599945068, 0.08971445262432098, 0.09142685681581497, 0.020357545465230942, -0.25939682126045227, 0.09176259487867355, 0.010627597570419312, 0.009779888205230236, 0.006049457471817732, 0.14673858880996704, -0.37929701805114746, 0.4251936674118042, 0.2028622180223465, 0.3311271071434021, -0.31563112139701843, 0.14326289296150208, 0.42980068922042847, 0.17814190685749054, 0.5748618841171265, -0.5587646961212158, 0.20417992770671844, -0.09471060335636139, -0.2587308883666992, -0.041154149919748306, -0.2882283627986908, 0.08697952330112457, 0.11306336522102356, -0.07303855568170547, -0.08171824365854263, 0.06711255759000778, 0.2662990093231201, 0.04448966309428215, 0.30359575152397156, 0.12940767407417297, -0.4410732388496399, 0.09412398189306259, 0.2616279423236847, -0.06436854600906372, 0.21959452331066132, -0.23875676095485687, -0.05738769844174385, -0.20528317987918854, 0.009088441729545593, -0.14257535338401794, 0.08062222599983215, -0.16759344935417175, 0.6066040992736816, 0.0592011958360672, 0.10721366107463837, 0.1901855170726776, 0.2406085580587387, 0.2022460699081421, 0.1896241456270218, -0.1737588495016098, 0.20702335238456726, -0.1252823770046234, -0.23360393941402435, -0.1183694452047348, 0.10541179776191711, 0.2439308911561966, -0.07708992809057236, 0.026075167581439018, -0.12688679993152618, -0.0647054985165596, -0.22316913306713104, -0.024504849687218666, 0.14507117867469788, 0.0099338972941041, -0.11580991744995117, 0.04952501878142357, 0.050009116530418396, -0.3423844575881958, 0.029031941667199135, 0.23613004386425018, -0.08738628029823303, -0.25274279713630676, 0.30693891644477844, 0.21365588903427124, -0.2350398451089859, 0.009815308265388012, 0.3598604202270508, 0.2184261679649353, -0.07400849461555481, 0.5895307660102844, 0.1264132559299469, -0.1667073518037796, -0.23542267084121704, -0.21568916738033295, 0.06301739811897278, -0.36751869320869446, 0.1488368660211563, -0.2644411325454712, -0.6100987195968628, -0.03163165599107742, -0.15193630754947662, 0.24576537311077118, -0.05923774093389511, -0.20693576335906982, -0.2528769075870514, -0.33592113852500916, -0.0017950335750356317, -0.15901465713977814, 0.21687085926532745, -0.1812102049589157, 0.1690027266740799, -0.006070805713534355, -0.023594960570335388, -0.37678998708724976, -0.06410662829875946, -0.335723876953125, 0.06286000460386276, 0.18820586800575256, -0.2816835045814514, 0.0810491219162941, -0.14203479886054993, 0.15365353226661682, 0.006766607519239187, -0.4770274758338928, -0.27035126090049744, -0.15277719497680664, 0.038702163845300674, 0.17678722739219666, -0.12322291731834412, 0.04988446831703186, -0.21975155174732208, -0.20367476344108582, 0.04723026230931282, 0.2183694690465927, 0.11054791510105133, -0.12131386250257492, 0.239951029419899, -0.10544895380735397, 0.24947629868984222, 0.19886808097362518, 0.014325583353638649, 0.009641584940254688, 0.10834222286939621, 0.0033641988411545753, 0.2688886523246765, 0.039691466838121414, -0.06081546097993851, -0.2645051181316376, 0.09615632146596909, 0.09020132571458817, 0.18331345915794373, 0.33540311455726624, -0.30686110258102417, 0.2579263150691986, -0.024319501593708992, 0.12758740782737732, 0.09025521576404572, -0.31371617317199707, -0.12991493940353394, -0.03433361276984215, 0.3021174967288971, -0.07371234893798828, -0.10895683616399765, 0.044270243495702744, -0.12247121334075928, 0.28101667761802673, 0.255624383687973, 0.22003383934497833, -0.025807952508330345, -0.026018492877483368, 0.36019986867904663, 0.4218924641609192, -0.2751960754394531, 0.18886220455169678, 0.2344493865966797, -0.5102589726448059, 0.09255754202604294, 0.14126765727996826, 0.10715232044458389, -0.012369558215141296, 0.3474859595298767, 0.12767499685287476, 0.09965821355581284, -0.14936946332454681, -0.21553143858909607, 0.3766753673553467, -0.08169463276863098, -0.06135798618197441, -0.11137233674526215, 0.10942237824201584, 0.24552199244499207, 0.10518240183591843, -0.22481423616409302, 0.042686425149440765, -0.027609696611762047, -0.3637123703956604, 0.18413695693016052, -0.2888953387737274, -0.05190854147076607, -0.19077415764331818, 0.06495977193117142, 0.050344549119472504, -0.15533064305782318, 0.06552953273057938, -0.2838505506515503, -0.3500639498233795, 0.21393917500972748, -0.13500502705574036, 0.15105463564395905, 0.11977271735668182, -0.05119642615318298, -0.23994901776313782, -0.08614476770162582, 0.17746929824352264, 0.055184025317430496, -0.08391778916120529, -0.08181680738925934, -0.015445944853127003, 0.44599464535713196, 0.18805170059204102, 0.16566134989261627, 0.22621023654937744, 0.042595233768224716, -0.1696152240037918, -0.3239993453025818, 0.20825496315956116, -0.143079474568367, 0.2278498262166977, 0.19184930622577667, 0.2207382321357727, -0.302613765001297, -0.2982042729854584, 0.09735172986984253, 0.006613333709537983, 0.10503430664539337, 0.14449921250343323, -0.2083994746208191, -0.2876887023448944, -0.06397796422243118, -0.18746870756149292, -0.2724931240081787, -0.036359772086143494, 0.526101291179657, -0.219294011592865, 0.2807261049747467, -0.1058012917637825, 0.10645344853401184, -0.2018318623304367, 0.6033810377120972, 0.15499937534332275, 0.07349838316440582, -0.12032047659158707, 0.22964583337306976, -0.38438865542411804, 0.09624119848012924, -0.07955066114664078, -0.1071183905005455, 0.00611064163967967, 0.29333069920539856, 0.1481374353170395, -0.05406823381781578, -0.0853976309299469, -0.3578096926212311, 0.07009685039520264, -0.17188923060894012, -0.26853156089782715, -0.04184146970510483, 0.062497399747371674, 0.053859371691942215, 0.1689276397228241, -0.3871825933456421, 0.06145954877138138, 0.029193241149187088, 0.2284086048603058, -0.2976817190647125, 0.12843964993953705, -0.0277702659368515, 0.18311454355716705, 0.1817777007818222, 0.04644240811467171, 0.3076837956905365, -0.0661487728357315, -0.04346846416592598, -0.3107379376888275, -0.29355767369270325, -0.34847351908683777, 0.03100205399096012, 0.15349064767360687, 0.5037693381309509, -0.1460210233926773, -0.10389532893896103, -0.30914533138275146, 0.005974095780402422, 0.17712081968784332, -0.0490703359246254, -0.19785714149475098, 0.307200163602829, -0.2531074583530426, 0.20600944757461548, 0.11755454540252686, -0.07240688055753708, 0.19570989906787872, 0.08488710969686508, -0.16516275703907013, -0.4539574682712555, 0.4601138234138489, -0.2300826609134674, -0.4251743257045746, 0.10904529690742493, -0.02353740483522415, -0.18085214495658875, 0.00591632816940546, -0.4636472165584564, 0.3582477569580078, -0.0046906196512281895, -0.43439745903015137, -0.3791412115097046, 0.1159670501947403, 0.28177914023399353, 0.025280330330133438, -0.10448223352432251, 0.30163899064064026, -0.04376278817653656, -0.29079386591911316, -0.05672141909599304, -0.018731843680143356 ]
https://github.com/huggingface/datasets/issues/1541
connection issue while downloading data
could you tell me how I can avoid download, by pre-downloading the data first, put them in a folder so the code does not try to redownload? could you tell me the path to put the downloaded data, and how to do it? thanks @lhoestq
Hi I am running my codes on google cloud, and I am getting this error resulting in the failure of the codes when trying to download the data, could you assist me to solve this? also as a temporary solution, could you tell me how I can increase the number of retries and timeout to at least let the models run for now. thanks ``` Traceback (most recent call last): File "finetune_t5_trainer.py", line 361, in <module> main() File "finetune_t5_trainer.py", line 269, in main add_prefix=False if training_args.train_adapters else True) File "/workdir/seq2seq/data/tasks.py", line 70, in get_dataset dataset = self.load_dataset(split=split) File "/workdir/seq2seq/data/tasks.py", line 306, in load_dataset return datasets.load_dataset('glue', 'cola', split=split) File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 263, in prepare_module head_hf_s3(path, filename=name, dataset=dataset) File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 200, in head_hf_s3 return http_head(hf_bucket_url(identifier=identifier, filename=filename, use_cdn=use_cdn, dataset=dataset)) File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 403, in http_head url, proxies=proxies, headers=headers, cookies=cookies, allow_redirects=allow_redirects, timeout=timeout File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 104, in head return request('head', url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 504, in send raise ConnectTimeout(e, request=request) requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url: /datasets.huggingface.co/datasets/datasets/glue/glue.py (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f47db511e80>, 'Connection to s3.amazonaws.com timed out. (connect timeout=10)')) ```
45
connection issue while downloading data
[ -0.32088375091552734, -0.08600062131881714, -0.22570975124835968, 0.3667914569377899, 0.2211412787437439, -0.23713241517543793, -0.11878155171871185, 0.14228662848472595, -0.06660011410713196, 0.11585262417793274, -0.03680716082453728, -0.26917269825935364, 0.4013669192790985, 0.0076360623352229595, -0.27462613582611084, 0.005854393355548382, -0.07910777628421783, 0.14302688837051392, -0.03109428472816944, 0.04600482061505318, 0.06472623348236084, 0.032496239989995956, 0.11588480323553085, -0.010036597959697247, 0.01567777805030346, -0.040040671825408936, 0.2021476775407791, 0.12076364457607269, -0.31685760617256165, -0.22068162262439728, 0.08130254596471786, 0.3089246451854706, 0.04956865683197975, 0.03815243020653725, -0.0000942797414609231, 0.0816517323255539, 0.19400207698345184, -0.012347230687737465, -0.32213976979255676, 0.005084000527858734, -0.31516727805137634, -0.09893501549959183, 0.08591435104608536, -0.24498842656612396, 0.05034372955560684, 0.21951845288276672, -0.026320643723011017, 0.13225814700126648, 0.38500964641571045, 0.14150945842266083, 0.42253193259239197, 0.06563261151313782, 0.18652386963367462, -0.08712522685527802, 0.2158912867307663, -0.17691496014595032, 0.08018699288368225, 0.35031193494796753, 0.3763246536254883, 0.16619475185871124, 0.05023292079567909, -0.04675953835248947, 0.009508801624178886, 0.11397243291139603, -0.1545615792274475, 0.01974981091916561, 0.20351795852184296, -0.019774092361330986, 0.30186155438423157, 0.034705497324466705, 0.4822661876678467, 0.1750069409608841, -0.060253389179706573, 0.26846224069595337, -0.0010819477029144764, -0.01956777647137642, 0.3387116491794586, -0.026448579505085945, -0.3765023946762085, 0.12133505940437317, 0.09659299999475479, -0.1434430480003357, -0.18800340592861176, 0.3004770874977112, -0.12448955327272415, 0.04558363929390907, -0.030124813318252563, -0.06480428576469421, -0.07088899612426758, -0.022845296189188957, 0.11677296459674835, -0.2637680768966675, -0.01076550967991352, -0.09861943125724792, -0.0420784056186676, 0.051028914749622345, -0.16093817353248596, -0.021708672866225243, -0.023339176550507545, -0.06385162472724915, 0.13476848602294922, 0.1764434576034546, 0.10244733095169067, -0.07312007248401642, 0.08922672271728516, -0.21388299763202667, -0.1587470918893814, -0.2868841588497162, 0.24070364236831665, 0.38523513078689575, -0.03776855766773224, -0.2063608169555664, -0.12057261914014816, -0.032876644283533096, -0.021163828670978546, -0.043231815099716187, 0.3020332157611847, -0.2444859892129898, -0.1856396198272705, 0.03726475313305855, -0.16933809220790863, 0.012065756134688854, -0.053068142384290695, 0.26859748363494873, -0.29099181294441223, -0.015959814190864563, 0.1006958931684494, 0.031245823949575424, -0.0855470672249794, -0.2187112271785736, -0.2567591965198517, -0.20313012599945068, -0.004283066373318434, -0.2925611734390259, 0.19112180173397064, 0.20594052970409393, -0.03601357340812683, 0.019858695566654205, -0.19292622804641724, -0.2859126031398773, 0.06468585878610611, -0.23339639604091644, -0.17374257743358612, 0.18492069840431213, 0.11424510180950165, 0.1617548167705536, 0.01479087769985199, 0.05471007525920868, 0.22346045076847076, 0.13464142382144928, -0.2259063869714737, 0.030624112114310265, -0.0723574236035347, 0.36548784375190735, 0.06201425939798355, 0.06666168570518494, 0.3032931685447693, -0.24043434858322144, -0.23570357263088226, -0.2858845889568329, -0.2034522145986557, 0.14139582216739655, -0.01875065453350544, -0.1711372286081314, 0.24236224591732025, 0.31818366050720215, -0.046916231513023376, -0.04143137112259865, 0.03138792887330055, -0.390571266412735, 0.2669849991798401, -0.0347861684858799, -0.1457459181547165, 0.11590474843978882, -0.06258703023195267, 0.23016998171806335, 0.5214319229125977, -0.22999484837055206, -0.7510367035865784, 0.3402213156223297, -0.280173122882843, -0.10489029437303543, 0.06195017322897911, 0.15005463361740112, 0.2687855362892151, 0.12933294475078583, 0.013102466240525246, 0.25224998593330383, 0.09019004553556442, -0.017025956884026527, -0.19509100914001465, -0.19823482632637024, -0.252098023891449, 0.07569169253110886, -0.031048288568854332, 0.18421275913715363, 0.2512960135936737, -0.16982217133045197, 0.22177129983901978, 0.22168289124965668, 0.2253691405057907, 0.1969422996044159, 0.2246030867099762, 0.06654122471809387, -0.2077508270740509, 0.3326757550239563, -0.31412747502326965, -0.027512725442647934, -0.07023374736309052, 0.009050664491951466, -0.34989121556282043, 0.0483219288289547, -0.37181681394577026, -0.007521374616771936, 0.07596266269683838, 0.48488113284111023, 0.4066288471221924, 0.09053081274032593, -0.01868712343275547, 0.0689873918890953, 0.2801443636417389, 0.4054794907569885, -0.16867594420909882, 0.20008927583694458, 0.15585942566394806, 0.3965989947319031, -0.11169476807117462, -0.15358850359916687, 0.0998278558254242, -0.30577370524406433, 0.2837696373462677, -0.05902976170182228, -0.08274022489786148, 0.014374769292771816, -0.08171816170215607, 0.31043457984924316, 0.2566714286804199, -0.05927315354347229, 0.08872051537036896, -0.10030194371938705, 0.029737962409853935, 0.1404908299446106, 0.42885732650756836, -0.07281109690666199, 0.30685505270957947, -0.11602029949426651, -0.01677045039832592, 0.05907746031880379, 0.012858093716204166, 0.08966226875782013, 0.21781066060066223, -0.13621558248996735, 0.16219887137413025, 0.1329118311405182, 0.21526794135570526, 0.06913888454437256, 0.05082564428448677, -0.17079785466194153, -0.13631202280521393, 0.08758999407291412, -0.079743891954422, -0.07416293025016785, 0.28941836953163147, 0.10078950226306915, 0.08911842107772827, 0.0492096021771431, 0.11879642307758331, 0.2909315526485443, 0.4212166666984558, 0.011657968163490295, 0.2024313509464264, 0.21069805324077606, 0.26141953468322754, -0.3601584732532501, 0.17731639742851257, 0.027813591063022614, -0.16554805636405945, 0.21948860585689545, -0.22277861833572388, -0.1508944183588028, -0.12842580676078796, -0.14768463373184204, 0.011664614081382751, 0.21777133643627167, 0.038098230957984924, -0.027708912268280983, -0.1568058580160141, -0.40957111120224, 0.01235195342451334, -0.0785311907529831, -0.15898339450359344, -0.33716335892677307, -0.18352721631526947, 0.3137609362602234, 0.029621919617056847, -0.012059974484145641, -0.2328132688999176, 0.09717174619436264, 0.06435809284448624, -0.017198508605360985, -0.09381809830665588, -0.19633014500141144, -0.2732325494289398, 0.23669445514678955, 0.06359376013278961, 0.18520931899547577, 0.25039786100387573, -0.34599971771240234, 0.17323283851146698, -0.15542805194854736, 0.04440189525485039, 0.06148004159331322, 0.438570111989975, -0.26695284247398376, -0.05963259935379028, 0.44444313645362854, -0.17887379229068756, -0.04056250676512718, 0.3273059129714966, -0.1817682385444641, -0.05213383212685585, 0.019007360562682152, 0.004801106173545122, -0.018049832433462143, 0.07507561892271042, -0.22397615015506744, -0.39889034628868103, -0.13335144519805908, 0.059727299958467484, 0.02555515058338642, 0.21463939547538757, -0.26335030794143677, 0.010925658978521824, -0.026365865021944046, -0.11515609174966812, 0.16286355257034302, -0.365743488073349, -0.25500184297561646, 0.10654731094837189, -0.015335173346102238, -0.35393133759498596, 0.2067662924528122, 0.12175001949071884, 0.17183448374271393, 0.2934603691101074, -0.45808759331703186, -0.056295011192560196, -0.07727442681789398, 0.21973861753940582, -0.14403457939624786, -0.1154288575053215, 0.21580438315868378, -0.09183960407972336, -0.2662416696548462, -0.05108344554901123, 0.061545293778181076, 0.15661153197288513, -0.08758553862571716, 0.23918400704860687, -0.08483174443244934, 0.1243603527545929, -0.15232421457767487, 0.28489792346954346, 0.04744188115000725, 0.0027952888049185276, 0.38323497772216797, 0.045285072177648544, 0.07831596583127975, 0.0876363143324852, -0.0876125693321228, -0.05132465809583664, 0.0914173424243927, 0.06921477615833282, 0.13314422965049744, -0.012430686503648758, -0.15594713389873505, -0.5065911412239075, -0.09965642541646957, -0.42224210500717163, -0.3353528082370758, -0.06952300667762756, 0.16876137256622314, 0.15005755424499512, 0.2209279090166092, 0.011736265383660793, 0.08324933052062988, -0.1981530338525772, -0.014643295668065548, 0.3282119631767273, -0.1597784459590912, -0.1454162299633026, 0.07895007729530334, 0.10391044616699219, -0.4153302013874054, 0.24273939430713654, 0.045496758073568344, 0.5206544995307922, -0.45494696497917175, 0.1240309625864029, 0.3175990581512451, -0.061385076493024826, 0.4187477231025696, -0.1852041780948639, 0.18941761553287506, -0.09448611736297607, 0.20737513899803162, 0.031702667474746704, 0.08244960755109787, -0.13705892860889435, -0.06651493161916733, 0.31494829058647156, -0.06457559019327164, -0.3604339063167572, 0.26038339734077454, 0.029175687581300735, -0.15501457452774048, 0.017173167318105698, -0.17978830635547638, -0.11824917793273926, -0.25627586245536804, -0.09166021645069122, -0.12218815088272095, -0.3527897000312805, 0.0811159610748291, 0.16025783121585846, -0.050415873527526855, 0.12695081532001495, 0.21035411953926086, -0.06551441550254822, -0.06592023372650146, -0.07294610887765884, -0.1212945282459259, 0.12384262681007385, 0.16629794239997864, 0.168206587433815, 0.15191209316253662, 0.23477999866008759, 0.2430843710899353, -0.16187016665935516, 0.12059459835290909, -0.08164484798908234, -0.0680169090628624, 0.3437045216560364, 0.3382267951965332, 0.27367734909057617, 0.21803638339042664, 0.11429696530103683, -0.07077265530824661, 0.036252617835998535, 0.28300800919532776, -0.09590476751327515, -0.14716869592666626, 0.03286062180995941, 0.015886718407273293, -0.21405664086341858, -0.2310955822467804, 0.14357620477676392, -0.213351309299469, 0.13767769932746887, -0.165946826338768, -0.25197479128837585, 1.0011744499206543, 0.19790618121623993, -0.14742310345172882, 0.1386856734752655, -0.69203782081604, 0.15238572657108307, -0.2021772712469101, 0.09184643626213074, -0.0792730376124382, -0.08780360966920853, -0.054979853332042694, -0.01826758310198784, 0.13836203515529633, 0.02178439125418663, -0.26011696457862854, 0.05981775000691414, -0.3088509738445282, 0.2486075907945633, 0.04891233891248703, 0.07876009494066238, -0.08474219590425491, 0.16420966386795044, -0.0562032125890255, 0.3453141152858734, -0.2646848261356354, 0.4708261489868164, -0.2573401629924774, -0.18394583463668823, -0.21814197301864624, -0.26331207156181335, -0.05737229436635971, 0.12848877906799316, -0.32353895902633667, -0.0028267689049243927, -0.2134048193693161, -0.03474083170294762, -0.22904643416404724, -0.21836459636688232, -0.01934022456407547, 0.04889712855219841, -0.1443706899881363, 0.18714022636413574, -0.15372754633426666, -0.06617065519094467, 0.012046651914715767, 0.04846266284584999, -0.3495735228061676, -0.18138304352760315, -0.4741927683353424, 0.20900417864322662, 0.06038021668791771, -0.1101454645395279, 0.22892384231090546, 0.05075449123978615, 0.07386790961027145, -0.27965980768203735, 0.07887733727693558, -0.19876369833946228, -0.1174481213092804, -0.09452757984399796, 0.352150559425354, 0.032851509749889374, -0.004189331084489822, 0.1260077953338623, 0.31641778349876404, -0.1552620828151703, -0.30600544810295105, 0.6945215463638306, -0.055856477469205856, -0.016532456502318382, 0.22934581339359283, -0.17160513997077942, -0.3612276315689087, -0.2909534275531769, -0.06756957620382309, -0.29417768120765686, -0.37126240134239197, -0.2329472303390503, -0.12348052114248276, 0.11502920091152191, -0.16440117359161377, -0.0458441786468029, 0.12946459650993347, 0.22161617875099182, 0.0800338089466095, -0.36403560638427734, -0.1762305647134781, -0.06808028370141983, 0.12214081734418869, 0.061034832149744034, -0.11895224452018738, -0.1394873708486557, 0.2944453954696655, -0.11912338435649872, -0.5183576941490173, -0.016203811392188072, -0.18380534648895264, -0.03702492639422417, 0.15650208294391632, -0.3113957643508911, 0.1961502879858017, -0.06382741034030914, 0.3844338655471802, -0.04087996482849121, -0.2802375257015228, -0.4118151366710663, 0.10524902492761612, 0.044881679117679596, 0.0016225834842771292, -0.3645600378513336, -0.21870394051074982, -0.16070039570331573, 0.014008302241563797, 0.3648674488067627, -0.17525245249271393, -0.0819365605711937, 0.0010141729144379497, -0.3362288475036621, -0.03041531890630722, 0.2796640992164612, -0.2884446680545807, 0.30982813239097595, -0.14461220800876617, 0.45993292331695557, -0.22045059502124786, 0.009614764712750912, -0.1104290559887886, -0.19476419687271118, -0.09033473581075668, -0.05068586394190788, 0.2690172493457794, -0.17661330103874207, 0.45644545555114746, -0.14708639681339264, -0.04582195356488228, -0.044713202863931656, 0.15006433427333832, 0.32065027952194214, -0.07500888407230377, -0.17840512096881866, 0.038385771214962006, 0.3910827040672302, 0.033092938363552094, -0.004150553606450558, 0.18725430965423584, 0.06777379661798477, 0.04999830946326256, -0.008642690256237984, -0.016664737835526466, -0.20897497236728668, 0.02306756190955639, 0.019411904737353325, 0.22747302055358887, 0.1311323195695877, -0.05909721553325653, 0.310569703578949, 0.008503999561071396, 0.08150168508291245, 0.0844334289431572, 0.16810108721256256, -0.15621010959148407, 0.07619233429431915, -0.30073070526123047, -0.09279811382293701, -0.04262325540184975, 0.15728004276752472, -0.2641241252422333, -0.3146420121192932, -0.058355774730443954, 0.21848049759864807, -0.35980039834976196, -0.12743285298347473, 0.05997108295559883, 0.01966535858809948, -0.08164390921592712, -0.025808338075876236, -0.37373432517051697, 0.04587069898843765, -0.14357903599739075, 0.032800715416669846, -0.14511477947235107, -0.16836516559123993, -0.19728699326515198, -0.10168160498142242, 0.16861334443092346, -0.00749807246029377, 0.15454483032226562, 0.011194232851266861, -0.07513837516307831, -0.168756902217865, -0.27133557200431824, -0.1181180477142334, 0.0030756702180951834, -0.188916876912117, 0.09375785291194916, -0.08430171757936478, 0.37327054142951965, 0.21225138008594513, 0.34178945422172546, 0.2871425449848175, 0.19005686044692993, 0.19053134322166443, -0.11963433772325516, 0.28784236311912537, -0.1216890960931778, -0.24004918336868286, 0.3147752583026886, 0.5517060160636902, 0.1785479336977005, 0.2111695110797882, 0.3016095459461212, -0.36104637384414673, 0.173025980591774, 0.08044343441724777, 0.033340808004140854, 0.11904655396938324, 0.06322066485881805, -0.13412240147590637, 0.08526961505413055, -0.2631085216999054, -0.20718082785606384, -0.37879714369773865, 0.0582062192261219, -0.03498201072216034, -0.2677134573459625, 0.31041640043258667, -0.11482516676187515, 0.17477107048034668, -0.26195037364959717, 0.4286234974861145, 0.2038944661617279, 0.24547970294952393, -0.28833889961242676, -0.3112831115722656, -0.316959947347641, 0.1671523153781891, -0.033959146589040756, -0.04445664584636688, -0.1695401966571808, 0.07394552230834961, -0.2054366171360016, 0.21442866325378418, 0.24823756515979767, 0.04617426544427872, -0.05543535575270653, 0.18544897437095642, -0.1296941637992859, -0.20984187722206116, 0.23566396534442902, -0.05545712262392044, -0.20067885518074036, -0.3098704218864441, 0.4788411259651184, -0.1918644905090332, 0.3680109977722168, 0.0019009062089025974, -0.22887153923511505, -0.3057074248790741, -0.05815732851624489, 0.4933614134788513, 0.0621095672249794, 0.6082321405410767, -0.06223803758621216, -0.046686526387929916, 0.08581747859716415, -0.11821598559617996, 0.24284274876117706, 0.1306624859571457, 0.03666821867227554, -0.08826752007007599, 0.24519090354442596, 0.3339254856109619, -0.09303529560565948, 0.34899526834487915, 0.04095858335494995, 0.3685131371021271, 0.2113514393568039, -0.14988598227500916, 0.05180377885699272, 0.0925937294960022, 0.019734755158424377, -0.17067939043045044, -0.06655389815568924, -0.07183323055505753, -0.270010381937027, -0.06747569888830185, 0.12278842180967331, 0.26751506328582764, 0.08307960629463196, -0.2650347054004669, 0.2783871293067932, -0.0035050332080572844, 0.0757661759853363, -0.013287529349327087, 0.2908940613269806, 0.22287242114543915, -0.29950201511383057, -0.10530289262533188, 0.24697178602218628, -0.007060841657221317, 0.05793549120426178, 0.10114705562591553, 0.4166519343852997, -0.06579558551311493, -0.04612742364406586, -0.020919347181916237, -0.08350835740566254 ]
https://github.com/huggingface/datasets/issues/1541
connection issue while downloading data
Does your instance have an internet connection ? If you don't have an internet connection you'll need to have the dataset on the instance disk. To do so first download the dataset on another machine using `load_dataset` and then you can save it in a folder using `my_dataset.save_to_disk("path/to/folder")`. Once the folder is copied on your instance you can reload the dataset with `datasets.load_from_disk("path/to/folder")`
Hi I am running my codes on google cloud, and I am getting this error resulting in the failure of the codes when trying to download the data, could you assist me to solve this? also as a temporary solution, could you tell me how I can increase the number of retries and timeout to at least let the models run for now. thanks ``` Traceback (most recent call last): File "finetune_t5_trainer.py", line 361, in <module> main() File "finetune_t5_trainer.py", line 269, in main add_prefix=False if training_args.train_adapters else True) File "/workdir/seq2seq/data/tasks.py", line 70, in get_dataset dataset = self.load_dataset(split=split) File "/workdir/seq2seq/data/tasks.py", line 306, in load_dataset return datasets.load_dataset('glue', 'cola', split=split) File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 263, in prepare_module head_hf_s3(path, filename=name, dataset=dataset) File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 200, in head_hf_s3 return http_head(hf_bucket_url(identifier=identifier, filename=filename, use_cdn=use_cdn, dataset=dataset)) File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 403, in http_head url, proxies=proxies, headers=headers, cookies=cookies, allow_redirects=allow_redirects, timeout=timeout File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 104, in head return request('head', url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 504, in send raise ConnectTimeout(e, request=request) requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url: /datasets.huggingface.co/datasets/datasets/glue/glue.py (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f47db511e80>, 'Connection to s3.amazonaws.com timed out. (connect timeout=10)')) ```
63
connection issue while downloading data
[ -0.32088375091552734, -0.08600062131881714, -0.22570975124835968, 0.3667914569377899, 0.2211412787437439, -0.23713241517543793, -0.11878155171871185, 0.14228662848472595, -0.06660011410713196, 0.11585262417793274, -0.03680716082453728, -0.26917269825935364, 0.4013669192790985, 0.0076360623352229595, -0.27462613582611084, 0.005854393355548382, -0.07910777628421783, 0.14302688837051392, -0.03109428472816944, 0.04600482061505318, 0.06472623348236084, 0.032496239989995956, 0.11588480323553085, -0.010036597959697247, 0.01567777805030346, -0.040040671825408936, 0.2021476775407791, 0.12076364457607269, -0.31685760617256165, -0.22068162262439728, 0.08130254596471786, 0.3089246451854706, 0.04956865683197975, 0.03815243020653725, -0.0000942797414609231, 0.0816517323255539, 0.19400207698345184, -0.012347230687737465, -0.32213976979255676, 0.005084000527858734, -0.31516727805137634, -0.09893501549959183, 0.08591435104608536, -0.24498842656612396, 0.05034372955560684, 0.21951845288276672, -0.026320643723011017, 0.13225814700126648, 0.38500964641571045, 0.14150945842266083, 0.42253193259239197, 0.06563261151313782, 0.18652386963367462, -0.08712522685527802, 0.2158912867307663, -0.17691496014595032, 0.08018699288368225, 0.35031193494796753, 0.3763246536254883, 0.16619475185871124, 0.05023292079567909, -0.04675953835248947, 0.009508801624178886, 0.11397243291139603, -0.1545615792274475, 0.01974981091916561, 0.20351795852184296, -0.019774092361330986, 0.30186155438423157, 0.034705497324466705, 0.4822661876678467, 0.1750069409608841, -0.060253389179706573, 0.26846224069595337, -0.0010819477029144764, -0.01956777647137642, 0.3387116491794586, -0.026448579505085945, -0.3765023946762085, 0.12133505940437317, 0.09659299999475479, -0.1434430480003357, -0.18800340592861176, 0.3004770874977112, -0.12448955327272415, 0.04558363929390907, -0.030124813318252563, -0.06480428576469421, -0.07088899612426758, -0.022845296189188957, 0.11677296459674835, -0.2637680768966675, -0.01076550967991352, -0.09861943125724792, -0.0420784056186676, 0.051028914749622345, -0.16093817353248596, -0.021708672866225243, -0.023339176550507545, -0.06385162472724915, 0.13476848602294922, 0.1764434576034546, 0.10244733095169067, -0.07312007248401642, 0.08922672271728516, -0.21388299763202667, -0.1587470918893814, -0.2868841588497162, 0.24070364236831665, 0.38523513078689575, -0.03776855766773224, -0.2063608169555664, -0.12057261914014816, -0.032876644283533096, -0.021163828670978546, -0.043231815099716187, 0.3020332157611847, -0.2444859892129898, -0.1856396198272705, 0.03726475313305855, -0.16933809220790863, 0.012065756134688854, -0.053068142384290695, 0.26859748363494873, -0.29099181294441223, -0.015959814190864563, 0.1006958931684494, 0.031245823949575424, -0.0855470672249794, -0.2187112271785736, -0.2567591965198517, -0.20313012599945068, -0.004283066373318434, -0.2925611734390259, 0.19112180173397064, 0.20594052970409393, -0.03601357340812683, 0.019858695566654205, -0.19292622804641724, -0.2859126031398773, 0.06468585878610611, -0.23339639604091644, -0.17374257743358612, 0.18492069840431213, 0.11424510180950165, 0.1617548167705536, 0.01479087769985199, 0.05471007525920868, 0.22346045076847076, 0.13464142382144928, -0.2259063869714737, 0.030624112114310265, -0.0723574236035347, 0.36548784375190735, 0.06201425939798355, 0.06666168570518494, 0.3032931685447693, -0.24043434858322144, -0.23570357263088226, -0.2858845889568329, -0.2034522145986557, 0.14139582216739655, -0.01875065453350544, -0.1711372286081314, 0.24236224591732025, 0.31818366050720215, -0.046916231513023376, -0.04143137112259865, 0.03138792887330055, -0.390571266412735, 0.2669849991798401, -0.0347861684858799, -0.1457459181547165, 0.11590474843978882, -0.06258703023195267, 0.23016998171806335, 0.5214319229125977, -0.22999484837055206, -0.7510367035865784, 0.3402213156223297, -0.280173122882843, -0.10489029437303543, 0.06195017322897911, 0.15005463361740112, 0.2687855362892151, 0.12933294475078583, 0.013102466240525246, 0.25224998593330383, 0.09019004553556442, -0.017025956884026527, -0.19509100914001465, -0.19823482632637024, -0.252098023891449, 0.07569169253110886, -0.031048288568854332, 0.18421275913715363, 0.2512960135936737, -0.16982217133045197, 0.22177129983901978, 0.22168289124965668, 0.2253691405057907, 0.1969422996044159, 0.2246030867099762, 0.06654122471809387, -0.2077508270740509, 0.3326757550239563, -0.31412747502326965, -0.027512725442647934, -0.07023374736309052, 0.009050664491951466, -0.34989121556282043, 0.0483219288289547, -0.37181681394577026, -0.007521374616771936, 0.07596266269683838, 0.48488113284111023, 0.4066288471221924, 0.09053081274032593, -0.01868712343275547, 0.0689873918890953, 0.2801443636417389, 0.4054794907569885, -0.16867594420909882, 0.20008927583694458, 0.15585942566394806, 0.3965989947319031, -0.11169476807117462, -0.15358850359916687, 0.0998278558254242, -0.30577370524406433, 0.2837696373462677, -0.05902976170182228, -0.08274022489786148, 0.014374769292771816, -0.08171816170215607, 0.31043457984924316, 0.2566714286804199, -0.05927315354347229, 0.08872051537036896, -0.10030194371938705, 0.029737962409853935, 0.1404908299446106, 0.42885732650756836, -0.07281109690666199, 0.30685505270957947, -0.11602029949426651, -0.01677045039832592, 0.05907746031880379, 0.012858093716204166, 0.08966226875782013, 0.21781066060066223, -0.13621558248996735, 0.16219887137413025, 0.1329118311405182, 0.21526794135570526, 0.06913888454437256, 0.05082564428448677, -0.17079785466194153, -0.13631202280521393, 0.08758999407291412, -0.079743891954422, -0.07416293025016785, 0.28941836953163147, 0.10078950226306915, 0.08911842107772827, 0.0492096021771431, 0.11879642307758331, 0.2909315526485443, 0.4212166666984558, 0.011657968163490295, 0.2024313509464264, 0.21069805324077606, 0.26141953468322754, -0.3601584732532501, 0.17731639742851257, 0.027813591063022614, -0.16554805636405945, 0.21948860585689545, -0.22277861833572388, -0.1508944183588028, -0.12842580676078796, -0.14768463373184204, 0.011664614081382751, 0.21777133643627167, 0.038098230957984924, -0.027708912268280983, -0.1568058580160141, -0.40957111120224, 0.01235195342451334, -0.0785311907529831, -0.15898339450359344, -0.33716335892677307, -0.18352721631526947, 0.3137609362602234, 0.029621919617056847, -0.012059974484145641, -0.2328132688999176, 0.09717174619436264, 0.06435809284448624, -0.017198508605360985, -0.09381809830665588, -0.19633014500141144, -0.2732325494289398, 0.23669445514678955, 0.06359376013278961, 0.18520931899547577, 0.25039786100387573, -0.34599971771240234, 0.17323283851146698, -0.15542805194854736, 0.04440189525485039, 0.06148004159331322, 0.438570111989975, -0.26695284247398376, -0.05963259935379028, 0.44444313645362854, -0.17887379229068756, -0.04056250676512718, 0.3273059129714966, -0.1817682385444641, -0.05213383212685585, 0.019007360562682152, 0.004801106173545122, -0.018049832433462143, 0.07507561892271042, -0.22397615015506744, -0.39889034628868103, -0.13335144519805908, 0.059727299958467484, 0.02555515058338642, 0.21463939547538757, -0.26335030794143677, 0.010925658978521824, -0.026365865021944046, -0.11515609174966812, 0.16286355257034302, -0.365743488073349, -0.25500184297561646, 0.10654731094837189, -0.015335173346102238, -0.35393133759498596, 0.2067662924528122, 0.12175001949071884, 0.17183448374271393, 0.2934603691101074, -0.45808759331703186, -0.056295011192560196, -0.07727442681789398, 0.21973861753940582, -0.14403457939624786, -0.1154288575053215, 0.21580438315868378, -0.09183960407972336, -0.2662416696548462, -0.05108344554901123, 0.061545293778181076, 0.15661153197288513, -0.08758553862571716, 0.23918400704860687, -0.08483174443244934, 0.1243603527545929, -0.15232421457767487, 0.28489792346954346, 0.04744188115000725, 0.0027952888049185276, 0.38323497772216797, 0.045285072177648544, 0.07831596583127975, 0.0876363143324852, -0.0876125693321228, -0.05132465809583664, 0.0914173424243927, 0.06921477615833282, 0.13314422965049744, -0.012430686503648758, -0.15594713389873505, -0.5065911412239075, -0.09965642541646957, -0.42224210500717163, -0.3353528082370758, -0.06952300667762756, 0.16876137256622314, 0.15005755424499512, 0.2209279090166092, 0.011736265383660793, 0.08324933052062988, -0.1981530338525772, -0.014643295668065548, 0.3282119631767273, -0.1597784459590912, -0.1454162299633026, 0.07895007729530334, 0.10391044616699219, -0.4153302013874054, 0.24273939430713654, 0.045496758073568344, 0.5206544995307922, -0.45494696497917175, 0.1240309625864029, 0.3175990581512451, -0.061385076493024826, 0.4187477231025696, -0.1852041780948639, 0.18941761553287506, -0.09448611736297607, 0.20737513899803162, 0.031702667474746704, 0.08244960755109787, -0.13705892860889435, -0.06651493161916733, 0.31494829058647156, -0.06457559019327164, -0.3604339063167572, 0.26038339734077454, 0.029175687581300735, -0.15501457452774048, 0.017173167318105698, -0.17978830635547638, -0.11824917793273926, -0.25627586245536804, -0.09166021645069122, -0.12218815088272095, -0.3527897000312805, 0.0811159610748291, 0.16025783121585846, -0.050415873527526855, 0.12695081532001495, 0.21035411953926086, -0.06551441550254822, -0.06592023372650146, -0.07294610887765884, -0.1212945282459259, 0.12384262681007385, 0.16629794239997864, 0.168206587433815, 0.15191209316253662, 0.23477999866008759, 0.2430843710899353, -0.16187016665935516, 0.12059459835290909, -0.08164484798908234, -0.0680169090628624, 0.3437045216560364, 0.3382267951965332, 0.27367734909057617, 0.21803638339042664, 0.11429696530103683, -0.07077265530824661, 0.036252617835998535, 0.28300800919532776, -0.09590476751327515, -0.14716869592666626, 0.03286062180995941, 0.015886718407273293, -0.21405664086341858, -0.2310955822467804, 0.14357620477676392, -0.213351309299469, 0.13767769932746887, -0.165946826338768, -0.25197479128837585, 1.0011744499206543, 0.19790618121623993, -0.14742310345172882, 0.1386856734752655, -0.69203782081604, 0.15238572657108307, -0.2021772712469101, 0.09184643626213074, -0.0792730376124382, -0.08780360966920853, -0.054979853332042694, -0.01826758310198784, 0.13836203515529633, 0.02178439125418663, -0.26011696457862854, 0.05981775000691414, -0.3088509738445282, 0.2486075907945633, 0.04891233891248703, 0.07876009494066238, -0.08474219590425491, 0.16420966386795044, -0.0562032125890255, 0.3453141152858734, -0.2646848261356354, 0.4708261489868164, -0.2573401629924774, -0.18394583463668823, -0.21814197301864624, -0.26331207156181335, -0.05737229436635971, 0.12848877906799316, -0.32353895902633667, -0.0028267689049243927, -0.2134048193693161, -0.03474083170294762, -0.22904643416404724, -0.21836459636688232, -0.01934022456407547, 0.04889712855219841, -0.1443706899881363, 0.18714022636413574, -0.15372754633426666, -0.06617065519094467, 0.012046651914715767, 0.04846266284584999, -0.3495735228061676, -0.18138304352760315, -0.4741927683353424, 0.20900417864322662, 0.06038021668791771, -0.1101454645395279, 0.22892384231090546, 0.05075449123978615, 0.07386790961027145, -0.27965980768203735, 0.07887733727693558, -0.19876369833946228, -0.1174481213092804, -0.09452757984399796, 0.352150559425354, 0.032851509749889374, -0.004189331084489822, 0.1260077953338623, 0.31641778349876404, -0.1552620828151703, -0.30600544810295105, 0.6945215463638306, -0.055856477469205856, -0.016532456502318382, 0.22934581339359283, -0.17160513997077942, -0.3612276315689087, -0.2909534275531769, -0.06756957620382309, -0.29417768120765686, -0.37126240134239197, -0.2329472303390503, -0.12348052114248276, 0.11502920091152191, -0.16440117359161377, -0.0458441786468029, 0.12946459650993347, 0.22161617875099182, 0.0800338089466095, -0.36403560638427734, -0.1762305647134781, -0.06808028370141983, 0.12214081734418869, 0.061034832149744034, -0.11895224452018738, -0.1394873708486557, 0.2944453954696655, -0.11912338435649872, -0.5183576941490173, -0.016203811392188072, -0.18380534648895264, -0.03702492639422417, 0.15650208294391632, -0.3113957643508911, 0.1961502879858017, -0.06382741034030914, 0.3844338655471802, -0.04087996482849121, -0.2802375257015228, -0.4118151366710663, 0.10524902492761612, 0.044881679117679596, 0.0016225834842771292, -0.3645600378513336, -0.21870394051074982, -0.16070039570331573, 0.014008302241563797, 0.3648674488067627, -0.17525245249271393, -0.0819365605711937, 0.0010141729144379497, -0.3362288475036621, -0.03041531890630722, 0.2796640992164612, -0.2884446680545807, 0.30982813239097595, -0.14461220800876617, 0.45993292331695557, -0.22045059502124786, 0.009614764712750912, -0.1104290559887886, -0.19476419687271118, -0.09033473581075668, -0.05068586394190788, 0.2690172493457794, -0.17661330103874207, 0.45644545555114746, -0.14708639681339264, -0.04582195356488228, -0.044713202863931656, 0.15006433427333832, 0.32065027952194214, -0.07500888407230377, -0.17840512096881866, 0.038385771214962006, 0.3910827040672302, 0.033092938363552094, -0.004150553606450558, 0.18725430965423584, 0.06777379661798477, 0.04999830946326256, -0.008642690256237984, -0.016664737835526466, -0.20897497236728668, 0.02306756190955639, 0.019411904737353325, 0.22747302055358887, 0.1311323195695877, -0.05909721553325653, 0.310569703578949, 0.008503999561071396, 0.08150168508291245, 0.0844334289431572, 0.16810108721256256, -0.15621010959148407, 0.07619233429431915, -0.30073070526123047, -0.09279811382293701, -0.04262325540184975, 0.15728004276752472, -0.2641241252422333, -0.3146420121192932, -0.058355774730443954, 0.21848049759864807, -0.35980039834976196, -0.12743285298347473, 0.05997108295559883, 0.01966535858809948, -0.08164390921592712, -0.025808338075876236, -0.37373432517051697, 0.04587069898843765, -0.14357903599739075, 0.032800715416669846, -0.14511477947235107, -0.16836516559123993, -0.19728699326515198, -0.10168160498142242, 0.16861334443092346, -0.00749807246029377, 0.15454483032226562, 0.011194232851266861, -0.07513837516307831, -0.168756902217865, -0.27133557200431824, -0.1181180477142334, 0.0030756702180951834, -0.188916876912117, 0.09375785291194916, -0.08430171757936478, 0.37327054142951965, 0.21225138008594513, 0.34178945422172546, 0.2871425449848175, 0.19005686044692993, 0.19053134322166443, -0.11963433772325516, 0.28784236311912537, -0.1216890960931778, -0.24004918336868286, 0.3147752583026886, 0.5517060160636902, 0.1785479336977005, 0.2111695110797882, 0.3016095459461212, -0.36104637384414673, 0.173025980591774, 0.08044343441724777, 0.033340808004140854, 0.11904655396938324, 0.06322066485881805, -0.13412240147590637, 0.08526961505413055, -0.2631085216999054, -0.20718082785606384, -0.37879714369773865, 0.0582062192261219, -0.03498201072216034, -0.2677134573459625, 0.31041640043258667, -0.11482516676187515, 0.17477107048034668, -0.26195037364959717, 0.4286234974861145, 0.2038944661617279, 0.24547970294952393, -0.28833889961242676, -0.3112831115722656, -0.316959947347641, 0.1671523153781891, -0.033959146589040756, -0.04445664584636688, -0.1695401966571808, 0.07394552230834961, -0.2054366171360016, 0.21442866325378418, 0.24823756515979767, 0.04617426544427872, -0.05543535575270653, 0.18544897437095642, -0.1296941637992859, -0.20984187722206116, 0.23566396534442902, -0.05545712262392044, -0.20067885518074036, -0.3098704218864441, 0.4788411259651184, -0.1918644905090332, 0.3680109977722168, 0.0019009062089025974, -0.22887153923511505, -0.3057074248790741, -0.05815732851624489, 0.4933614134788513, 0.0621095672249794, 0.6082321405410767, -0.06223803758621216, -0.046686526387929916, 0.08581747859716415, -0.11821598559617996, 0.24284274876117706, 0.1306624859571457, 0.03666821867227554, -0.08826752007007599, 0.24519090354442596, 0.3339254856109619, -0.09303529560565948, 0.34899526834487915, 0.04095858335494995, 0.3685131371021271, 0.2113514393568039, -0.14988598227500916, 0.05180377885699272, 0.0925937294960022, 0.019734755158424377, -0.17067939043045044, -0.06655389815568924, -0.07183323055505753, -0.270010381937027, -0.06747569888830185, 0.12278842180967331, 0.26751506328582764, 0.08307960629463196, -0.2650347054004669, 0.2783871293067932, -0.0035050332080572844, 0.0757661759853363, -0.013287529349327087, 0.2908940613269806, 0.22287242114543915, -0.29950201511383057, -0.10530289262533188, 0.24697178602218628, -0.007060841657221317, 0.05793549120426178, 0.10114705562591553, 0.4166519343852997, -0.06579558551311493, -0.04612742364406586, -0.020919347181916237, -0.08350835740566254 ]