html_url stringlengths 48 51 | title stringlengths 5 280 | comments stringlengths 63 51.8k | body stringlengths 0 36.2k ⌀ | comment_length int64 16 1.52k | text stringlengths 159 54.1k | embeddings listlengths 768 768 |
|---|---|---|---|---|---|---|
https://github.com/huggingface/datasets/issues/4737 | Download error on scene_parse_150 | Hi! The server with the data seems to be down. I've reported this issue (https://github.com/CSAILVision/sceneparsing/issues/34) in the dataset repo. | ```
from datasets import load_dataset
dataset = load_dataset("scene_parse_150", "scene_parsing")
FileNotFoundError: Couldn't find file at http://data.csail.mit.edu/places/ADEchallenge/ADEChallengeData2016.zip
```
| 19 | Download error on scene_parse_150
```
from datasets import load_dataset
dataset = load_dataset("scene_parse_150", "scene_parsing")
FileNotFoundError: Couldn't find file at http://data.csail.mit.edu/places/ADEchallenge/ADEChallengeData2016.zip
```
Hi! The server with the data seems to be down. I've reported this issue (https://github.com/CSAILVision/sceneparsing/issues/34) in the dataset repo. | [
-0.5512938499450684,
0.06893397867679596,
-0.16764745116233826,
0.2011212706565857,
0.2956451177597046,
0.04557730257511139,
0.0844016894698143,
0.35918712615966797,
0.2685076892375946,
0.09819366782903671,
0.1391146183013916,
0.07217804342508316,
-0.028820805251598358,
0.3277462422847748,
0.08276819437742233,
-0.041243262588977814,
-0.03226596862077713,
0.16723127663135529,
-0.3062664866447449,
0.012555517256259918,
-0.24281013011932373,
0.3102863132953644,
-0.36077582836151123,
-0.00903782993555069,
-0.246994286775589,
-0.02539982460439205,
-0.02703668549656868,
0.022101450711488724,
-0.16819176077842712,
-0.4559120535850525,
0.23250068724155426,
-0.17390882968902588,
0.16284289956092834,
0.4198470413684845,
-0.00010580713569652289,
-0.062324222177267075,
0.35832059383392334,
-0.19752950966358185,
-0.32587751746177673,
-0.07353582978248596,
-0.13774457573890686,
-0.15566915273666382,
0.16614024341106415,
-0.10150718688964844,
-0.0746004581451416,
-0.027233436703681946,
0.21439728140830994,
-0.40508797764778137,
0.2423732578754425,
0.4003097414970398,
0.28003665804862976,
0.01426832377910614,
0.09153221547603607,
-0.27627062797546387,
-0.21284165978431702,
0.21577169001102448,
0.030299002304673195,
0.21288272738456726,
0.34341275691986084,
-0.009945649653673172,
0.23988977074623108,
0.06793753802776337,
-0.1785661280155182,
-0.031429752707481384,
0.12944716215133667,
0.03746337816119194,
0.1405954509973526,
-0.4099076986312866,
0.46719494462013245,
0.13865536451339722,
0.5794994235038757,
-0.20610740780830383,
-0.2574545741081238,
-0.13023999333381653,
-0.030006282031536102,
-0.1675853729248047,
0.05943748727440834,
0.0803474709391594,
-0.14653514325618744,
0.1020594909787178,
-0.1280093938112259,
-0.11196916550397873,
0.017791613936424255,
0.16932114958763123,
0.035304464399814606,
0.2992212176322937,
-0.2155960351228714,
0.002066396176815033,
-0.1435752660036087,
-0.12450003623962402,
-0.17946802079677582,
0.01607034169137478,
0.08043855428695679,
0.27783915400505066,
-0.3910927474498749,
-0.11843834817409515,
-0.14394134283065796,
-0.16002550721168518,
-0.28866201639175415,
0.3805009126663208,
-0.13649225234985352,
0.07098475098609924,
-0.07073366641998291,
0.0024668872356414795,
0.4084799289703369,
0.1228824108839035,
0.048975296318531036,
0.1210726872086525,
0.0901031494140625,
0.2946375608444214,
0.15596424043178558,
-0.1365775763988495,
-0.13587245345115662,
-0.24722743034362793,
-0.42390745878219604,
0.25672662258148193,
0.3032491207122803,
-0.3752247095108032,
-0.31596609950065613,
0.07559819519519806,
0.36431100964546204,
0.09236561506986618,
0.07288192212581635,
0.3179725706577301,
0.2207605391740799,
0.21275392174720764,
0.023951292037963867,
0.09900281578302383,
-0.1782984733581543,
-0.20390205085277557,
-0.21373461186885834,
0.01753852516412735,
-0.08601651340723038,
-0.16119693219661713,
0.2296687811613083,
-0.12635235488414764,
0.2950875759124756,
0.04645531624555588,
-0.13355319201946259,
-0.07854598015546799,
0.08174513280391693,
-0.14425520598888397,
-0.02231532335281372,
0.4441458284854889,
0.17594602704048157,
0.29016852378845215,
0.2722321152687073,
-0.12732690572738647,
-0.11100083589553833,
0.033199287950992584,
-0.2065143883228302,
-0.25941333174705505,
0.0025935061275959015,
0.26764893531799316,
-0.14926384389400482,
-0.14336282014846802,
-0.32503342628479004,
0.01717030256986618,
-0.09086679667234421,
-0.1041380763053894,
0.03574962168931961,
-0.09179018437862396,
-0.05098414793610573,
-0.2069019079208374,
0.39184045791625977,
0.6680432558059692,
-0.8988708257675171,
-0.016811370849609375,
-0.2860777974128723,
-0.4167778491973877,
0.14670395851135254,
0.22774137556552887,
-0.21880781650543213,
0.02443784475326538,
-0.4097346067428589,
0.3505881428718567,
0.0063769519329071045,
-0.327919065952301,
-0.3355443775653839,
0.3637933135032654,
-0.29624366760253906,
-0.3306201994419098,
0.126499742269516,
0.10146331787109375,
0.44315290451049805,
-0.12965044379234314,
-0.43934348225593567,
0.18231233954429626,
0.05995732545852661,
0.030401168391108513,
-0.18432050943374634,
0.027394717559218407,
-0.03429435193538666,
0.17702361941337585,
0.0945029929280281,
-0.07012715190649033,
0.07920916378498077,
0.1788213849067688,
0.2849535048007965,
0.1282942295074463,
0.24833230674266815,
0.3728134036064148,
0.3081901967525482,
0.34377068281173706,
0.06314215809106827,
0.0063301995396614075,
-0.1267978549003601,
0.0911765769124031,
0.20606350898742676,
-0.08409935235977173,
-0.3813140392303467,
-0.18223102390766144,
-0.22966521978378296,
0.09875844419002533,
-0.14399346709251404,
-0.3698655962944031,
0.2530175745487213,
-0.028175659477710724,
-0.018982090055942535,
0.10129737854003906,
-0.2856312692165375,
0.34227997064590454,
-0.03381696343421936,
0.16334696114063263,
-0.21766942739486694,
0.28672733902931213,
-0.07277330756187439,
-0.19959568977355957,
0.086336150765419,
-0.17858567833900452,
0.2345278561115265,
-0.2177950143814087,
-0.12463103979825974,
0.33914515376091003,
0.11850190907716751,
0.455238938331604,
0.11606428772211075,
-0.4061970114707947,
0.0728079304099083,
-0.3817603588104248,
0.158268004655838,
0.17515456676483154,
0.08761067688465118,
0.0332985520362854,
0.05966198071837425,
0.0173255056142807,
-0.13677485287189484,
0.2916918694972992,
0.16821162402629852,
0.22607602179050446,
0.37592777609825134,
-0.10747507214546204,
0.2818586230278015,
-0.29512616991996765,
0.34869682788848877,
0.23816019296646118,
0.4776325225830078,
-0.1572301834821701,
0.22981223464012146,
0.1646476835012436,
0.3322755992412567,
-0.03180110827088356,
0.16454307734966278,
0.018576351925730705,
-0.29381173849105835,
0.08278046548366547,
0.08095555752515793,
0.15584078431129456,
0.3442860543727875,
0.09149924665689468,
-0.07023629546165466,
0.10985422134399414,
0.23449751734733582,
-0.2773018181324005,
0.34550395607948303,
0.27511823177337646,
0.0918489545583725,
0.08486424386501312,
-0.2688952088356018,
0.006713542155921459,
-0.25983700156211853,
-0.3988865315914154,
0.1707228124141693,
0.30079957842826843,
-0.23895512521266937,
-0.09783914685249329,
-0.482999712228775,
-0.36161375045776367,
-0.15510904788970947,
0.2079048603773117,
-0.04206191375851631,
-0.28715217113494873,
-0.17708711326122284,
-0.030424166470766068,
-0.20876136422157288,
0.033444903790950775,
-0.2512156069278717,
0.0007060617208480835,
-0.17884181439876556,
0.056038521230220795,
-0.15254464745521545,
-0.31173044443130493,
-0.19983091950416565,
0.12660938501358032,
0.3929688036441803,
-0.0735604390501976,
0.24884438514709473,
-0.2935521602630615,
0.029287617653608322,
-0.21617047488689423,
-0.14792762696743011,
0.24492909014225006,
-0.016121286898851395,
0.051879867911338806,
0.018962427973747253,
0.3686727285385132,
-0.013804355636239052,
-0.12172434478998184,
-0.015118887647986412,
-0.2643793523311615,
-0.0897931456565857,
0.09799929708242416,
0.12051666527986526,
-0.1891975700855255,
-0.23189383745193481,
-0.46149346232414246,
-0.34431150555610657,
-0.32894080877304077,
0.16105714440345764,
-0.02751743048429489,
0.0755002349615097,
-0.14680612087249756,
0.009757799096405506,
0.24059011042118073,
-0.1173769012093544,
-0.11094821244478226,
-0.1294185221195221,
-0.21070505678653717,
0.17543183267116547,
-0.25822049379348755,
-0.32489919662475586,
0.2543044686317444,
0.1361996978521347,
0.42947450280189514,
-0.19745606184005737,
-0.397468626499176,
0.1330932229757309,
-0.1329098641872406,
-0.11990989744663239,
0.1401345580816269,
-0.23161934316158295,
0.3205431401729584,
-0.20879866182804108,
-0.10990938544273376,
-0.03922681137919426,
0.05988259240984917,
-0.043302468955516815,
-0.245594322681427,
0.08932898193597794,
-0.25567230582237244,
0.6556769609451294,
0.09830006957054138,
0.49169236421585083,
0.3656107485294342,
-0.09408465027809143,
0.42761167883872986,
-0.13855206966400146,
0.3773188591003418,
-0.015528604388237,
-0.23198558390140533,
0.034207962453365326,
0.13429616391658783,
-0.10100553184747696,
0.1403612196445465,
-0.02202686294913292,
-0.24055854976177216,
-0.23951730132102966,
-0.09877227246761322,
-0.5950015783309937,
-0.26508229970932007,
-0.09127547591924667,
0.29368630051612854,
0.2176695466041565,
0.016783442348241806,
0.23005804419517517,
0.11044679582118988,
-0.014254206791520119,
0.049877796322107315,
0.4091956615447998,
0.07899917662143707,
-0.026447460055351257,
0.03212844952940941,
-0.22508661448955536,
-0.27069443464279175,
0.3266720771789551,
-0.3342724144458771,
0.3437668979167938,
-0.23306895792484283,
0.08882524818181992,
0.07533809542655945,
-0.08846074342727661,
0.8714293241500854,
-0.1148383691906929,
0.15443474054336548,
0.10391019284725189,
0.0260687917470932,
-0.3981858193874359,
0.022343333810567856,
-0.21578314900398254,
0.10248223692178726,
0.3300682008266449,
0.25249195098876953,
-0.14322495460510254,
-0.18205885589122772,
0.05095543712377548,
0.12511229515075684,
-0.18388554453849792,
0.11955562978982925,
-0.15215271711349487,
-0.26163268089294434,
-0.43087339401245117,
-0.07259032875299454,
0.09351759403944016,
-0.1872432678937912,
0.1646593064069748,
-0.04379293695092201,
0.07228807359933853,
-0.21204054355621338,
-0.14137986302375793,
0.016702987253665924,
0.35613420605659485,
0.15293526649475098,
0.28706297278404236,
0.21683773398399353,
-0.07722355425357819,
0.18762773275375366,
0.6007382273674011,
0.1319723278284073,
-0.4159466624259949,
0.48725131154060364,
-0.14379768073558807,
0.23738059401512146,
0.37430721521377563,
-0.2053094506263733,
-0.16327297687530518,
-0.02473866567015648,
0.2938453257083893,
-0.23232100903987885,
0.16755643486976624,
0.3021682798862457,
-0.017840830609202385,
-0.005503673572093248,
-0.45409366488456726,
0.32712745666503906,
-0.02512839250266552,
0.03408429026603699,
-0.2560223639011383,
-0.017194010317325592,
-0.026158688589930534,
0.2718428373336792,
0.09466314315795898,
0.7994719743728638,
-0.07056087255477905,
-0.06327065825462341,
-0.12431446462869644,
-0.12721914052963257,
0.5771189332008362,
-0.13208675384521484,
-0.023567207157611847,
-0.30994582176208496,
-0.16387900710105896,
-0.03328818082809448,
-0.06053365021944046,
0.12413498759269714,
0.34272652864456177,
-0.3542356491088867,
0.44040030241012573,
-0.17017801105976105,
-0.04352803900837898,
-0.022623421624302864,
0.3525204658508301,
-0.14810167253017426,
-0.0885358452796936,
-0.19080467522144318,
0.2857566177845001,
0.0070868246257305145,
0.3931296467781067,
-0.15833282470703125,
-0.014432772994041443,
-0.07397951185703278,
-0.1334836483001709,
-0.44057101011276245,
0.23885542154312134,
0.028757203370332718,
0.28380286693573,
-0.4039992392063141,
-0.1594214141368866,
-0.009147793985903263,
0.10542319715023041,
0.19682440161705017,
0.19207316637039185,
-0.169424369931221,
0.28686562180519104,
-0.009770162403583527,
-0.25367075204849243,
0.2143584042787552,
0.15914081037044525,
0.16482700407505035,
-0.18015682697296143,
-0.12538324296474457,
0.05427267402410507,
0.10722798109054565,
-0.12607550621032715,
0.06847028434276581,
-0.1447831243276596,
0.17345838248729706,
-0.1015717089176178,
-0.1688637137413025,
-0.04814779758453369,
-0.04048331081867218,
-0.08930724859237671,
0.19721300899982452,
0.08790652453899384,
0.13545992970466614,
-0.016598783433437347,
-0.016627568751573563,
-0.263374388217926,
-0.1075548380613327,
0.308246910572052,
-0.0721256285905838,
-0.05429362505674362,
0.5986155271530151,
0.30513817071914673,
-0.25144875049591064,
-0.35863587260246277,
-0.2181449830532074,
-0.25036710500717163,
-0.6405443549156189,
0.15424670279026031,
0.010501498356461525,
0.20257069170475006,
0.11786099523305893,
-0.17986443638801575,
0.1512795090675354,
-0.3883276879787445,
-0.3269333839416504,
-0.6201818585395813,
-0.19627538323402405,
0.1461426317691803,
-0.09485901892185211,
0.1765526980161667,
0.027834296226501465,
0.2549513578414917,
0.17509843409061432,
-0.1734784096479416,
-0.34174323081970215,
0.08272083848714828,
-0.1279514878988266,
0.058908842504024506,
0.2620970904827118,
-0.04252114146947861,
-0.019724341109395027,
-0.0523805096745491,
0.13976670801639557,
0.2114008218050003,
-0.1500364989042282,
-0.2650620639324188,
0.14829900860786438,
0.07310797274112701,
-0.04241902381181717,
-0.11281440407037735,
-0.15404750406742096,
-0.201511412858963,
-0.19885076582431793,
-0.02674229070544243,
0.03481880947947502,
0.10611196607351303,
0.08062878996133804,
0.08606434613466263,
0.18140242993831635,
-0.07510838657617569,
-0.31379079818725586,
0.2475643903017044,
-0.04224890470504761,
0.23970100283622742,
-0.043370719999074936,
0.2042410671710968,
-0.014766809530556202,
-0.016796313226222992,
-0.053690116852521896,
0.03736136853694916,
-0.0868777185678482,
0.10362625122070312,
0.36826837062835693,
-0.19065377116203308,
0.22243160009384155,
0.26408806443214417,
0.11815866827964783,
0.3791722059249878,
-0.10119893401861191,
-0.08684931695461273,
0.25935807824134827,
0.24032816290855408,
-0.2774426341056824,
0.0716283768415451,
0.01477887388318777,
0.3616415560245514,
0.05456600710749626,
-0.004770897328853607,
0.02031617984175682,
-0.06815184652805328,
0.294621080160141,
0.2728913426399231,
0.6569063663482666,
0.328369140625,
0.34693634510040283,
0.4069496989250183,
0.07854464650154114,
0.1534113585948944,
-0.0801878497004509,
0.011434713378548622,
0.14496536552906036,
0.5700117945671082,
-0.4554583430290222,
0.22404776513576508,
-0.367267370223999,
0.11491991579532623,
0.0014534369111061096,
-0.45814183354377747,
0.2520607113838196,
0.19982485473155975,
-0.27938857674598694,
0.17854651808738708,
0.07843509316444397,
0.3815664052963257,
-0.27530133724212646,
0.068854920566082,
-0.3001403510570526,
0.29919683933258057,
-0.22720056772232056,
0.1512054055929184,
-0.06641147285699844,
-0.06939999014139175,
-0.12006848305463791,
0.09439811110496521,
0.0829690471291542,
-0.16948720812797546,
0.05083037167787552,
0.23361390829086304,
-0.22690321505069733,
-0.06674514710903168,
-0.06781863421201706,
0.029174402356147766,
0.16015493869781494,
-0.16758257150650024,
0.2490924596786499,
0.05668912082910538,
0.11416830122470856,
0.23162350058555603,
0.4344448745250702,
0.4244192838668823,
0.24069644510746002,
-0.06648488342761993,
0.23682118952274323,
0.2185303121805191,
-0.1301564872264862,
-0.055976759642362595,
0.07024014741182327,
-0.009770669043064117,
0.3484340012073517,
0.2879246771335602,
0.29486629366874695,
-0.17649179697036743,
-0.23558618128299713,
0.13117609918117523,
0.3686392903327942,
0.021375417709350586,
0.07446765899658203,
-0.0680939257144928,
-0.00465678796172142,
-0.20508535206317902,
-0.24229896068572998,
-0.5795618891716003,
-0.2593959867954254,
0.17478515207767487,
-0.2636648416519165,
0.08298134058713913,
-0.12198259681463242,
0.11641913652420044,
-0.05800464376807213,
0.317691445350647,
0.1777716875076294,
0.1461019217967987,
-0.2836083471775055,
-0.359871506690979,
-0.8418875932693481,
0.12535573542118073,
0.06157263368368149,
-0.2848643660545349,
-0.11919797956943512,
0.036455996334552765,
0.15702611207962036,
0.2602943778038025,
0.3480226993560791,
0.12650614976882935,
-0.29791152477264404,
0.11039549857378006,
-0.1635040044784546,
-0.2817800045013428,
-0.2183845490217209,
0.006196153350174427,
0.027531906962394714,
-0.14836251735687256,
0.08854452520608902,
-0.07038217782974243,
0.09375330060720444,
0.029368579387664795,
-0.19824211299419403,
-0.18283633887767792,
-0.25907862186431885,
0.4473845362663269,
-0.05000736564397812,
0.4571799039840698,
-0.20681679248809814,
0.05954007804393768,
-0.2560151517391205,
-0.12082402408123016,
-0.12818731367588043,
0.38987404108047485,
0.08855244517326355,
0.12468522787094116,
-0.17666751146316528,
-0.02634400501847267,
-0.2296006679534912,
0.1581263244152069,
0.037179991602897644,
0.09784730523824692,
-0.36448609828948975,
0.007346073165535927,
-0.09308077394962311,
-0.018612869083881378,
0.02319175750017166,
0.12237042188644409,
-0.030079327523708344,
-0.020966678857803345,
-0.20833557844161987,
-0.3699834942817688,
0.4452727437019348,
-0.2757253646850586,
0.04487447813153267,
-0.18866635859012604,
0.37194207310676575,
-0.12309027463197708,
-0.07502911984920502,
-0.3772779107093811,
0.1475541889667511,
0.21354131400585175,
0.10363714396953583,
-0.10321454703807831,
0.2510746717453003,
-0.24661538004875183,
-0.20701254904270172,
-0.11219276487827301,
0.7417125701904297,
0.07510876655578613,
-0.29607775807380676,
0.2203977108001709,
-0.20521105825901031
] |
https://github.com/huggingface/datasets/issues/4736 | Dataset Viewer issue for deepklarity/huggingface-spaces-dataset | Thanks for reporting. You're right, workers were under-provisioned due to a manual error, and the job queue was full. It's fixed now. | ### Link
https://huggingface.co/datasets/deepklarity/huggingface-spaces-dataset/viewer/deepklarity--huggingface-spaces-dataset/train
### Description
Hi Team,
I'm getting the following error on a uploaded dataset. I'm getting the same status for a couple of hours now. The dataset size is `<1MB` and the format is csv, so I'm not sure if it's supposed to take this much time or not.
```
Status code: 400
Exception: Status400Error
Message: The split is being processed. Retry later.
```
Is there any explicit step to be taken to get the viewer to work?
### Owner
Yes | 22 | Dataset Viewer issue for deepklarity/huggingface-spaces-dataset
### Link
https://huggingface.co/datasets/deepklarity/huggingface-spaces-dataset/viewer/deepklarity--huggingface-spaces-dataset/train
### Description
Hi Team,
I'm getting the following error on a uploaded dataset. I'm getting the same status for a couple of hours now. The dataset size is `<1MB` and the format is csv, so I'm not sure if it's supposed to take this much time or not.
```
Status code: 400
Exception: Status400Error
Message: The split is being processed. Retry later.
```
Is there any explicit step to be taken to get the viewer to work?
### Owner
Yes
Thanks for reporting. You're right, workers were under-provisioned due to a manual error, and the job queue was full. It's fixed now. | [
-0.10864707827568054,
-0.4255355894565582,
-0.0010786168277263641,
0.36908310651779175,
0.11772353202104568,
0.00539620965719223,
0.11066329479217529,
0.3273029923439026,
-0.2276887595653534,
0.13360613584518433,
-0.07271554321050644,
-0.16030684113502502,
-0.09176535159349442,
0.3448663353919983,
-0.17267169058322906,
-0.3371553122997284,
-0.16073402762413025,
-0.03567090630531311,
-0.3197106122970581,
0.15389113128185272,
-0.16956068575382233,
0.1532154530286789,
-0.24763208627700806,
-0.2105790227651596,
-0.352689266204834,
-0.15336303412914276,
-0.11223672330379486,
0.025364629924297333,
-0.05165141075849533,
-0.3173943758010864,
0.14343371987342834,
0.05820059776306152,
0.2481517493724823,
0.7270248532295227,
-0.00012146705557825044,
0.11827707290649414,
0.44798535108566284,
-0.024158738553524017,
-0.13261999189853668,
0.03675369918346405,
-0.13725167512893677,
-0.5107725858688354,
0.2584661543369293,
-0.12601487338542938,
-0.1465356945991516,
0.07087879627943039,
0.19961167871952057,
-0.10659263283014297,
0.6423078179359436,
-0.029512859880924225,
0.09603451192378998,
0.14522305130958557,
0.17993439733982086,
-0.11564421653747559,
-0.12286566942930222,
0.1542411595582962,
-0.13001176714897156,
0.13119637966156006,
-0.06609600782394409,
0.273206889629364,
-0.1567961871623993,
0.36509785056114197,
0.3158313035964966,
0.014263789169490337,
0.2984054386615753,
-0.21113251149654388,
-0.5290661454200745,
-0.609357476234436,
0.18198975920677185,
0.4338647425174713,
0.47287142276763916,
0.1659022718667984,
-0.17771309614181519,
-0.31448492407798767,
-0.08365141600370407,
-0.3641299307346344,
0.49272894859313965,
0.24504031240940094,
-0.013309964910149574,
0.07132308185100555,
-0.2431388944387436,
-0.025736497715115547,
-0.33824750781059265,
-0.1510782241821289,
-0.31904876232147217,
-0.11866146326065063,
-0.27605438232421875,
0.13923697173595428,
0.31228718161582947,
-0.051839880645275116,
0.07583340257406235,
0.028331724926829338,
-0.01626933366060257,
0.048296742141246796,
-0.5835099816322327,
-0.16303712129592896,
-0.20398887991905212,
0.3935694396495819,
-0.10685281455516815,
0.1499808430671692,
-0.20144900679588318,
0.09406586736440659,
-0.12366311252117157,
0.12147900462150574,
0.542279839515686,
-0.07887953519821167,
-0.01627785712480545,
-0.0402950718998909,
0.35241711139678955,
0.12305055558681488,
0.2709938883781433,
-0.019433923065662384,
-0.17812217772006989,
-0.6776937246322632,
-0.23558281362056732,
-0.19335126876831055,
0.2716415524482727,
-0.085929736495018,
-0.17544880509376526,
0.1718941032886505,
-0.13953551650047302,
0.034033287316560745,
0.05164210498332977,
0.28962162137031555,
-0.1201036274433136,
-0.09120933711528778,
0.04061667621135712,
0.17583227157592773,
-0.28876614570617676,
-0.3399040102958679,
0.02296612411737442,
0.06336380541324615,
-0.11158870160579681,
-0.14209230244159698,
0.0709686130285263,
-0.42175519466400146,
-0.025583766400814056,
-0.06207165867090225,
0.15244394540786743,
-0.2194044291973114,
-0.12382255494594574,
-0.31989872455596924,
-0.1450645923614502,
0.3608035743236542,
0.37876954674720764,
0.1490531861782074,
0.02973182499408722,
0.0455252006649971,
0.05153220146894455,
-0.08722590655088425,
-0.10048858076334,
-0.1984720379114151,
-0.1889825463294983,
0.06492728739976883,
-0.2335054576396942,
0.29579052329063416,
-0.19772708415985107,
0.204665407538414,
0.0363042876124382,
0.02398117259144783,
-0.13546741008758545,
0.0794178768992424,
-0.15398328006267548,
0.013675457797944546,
0.26211774349212646,
0.578528881072998,
-0.5360526442527771,
-0.012519802898168564,
-0.5516183376312256,
-0.17248059809207916,
0.23646503686904907,
0.42219775915145874,
0.016303986310958862,
0.031329914927482605,
-0.32233288884162903,
0.3779033422470093,
-0.019148893654346466,
-0.023762846365571022,
-0.3822508156299591,
0.43171587586402893,
-0.3436187505722046,
0.07796318084001541,
0.2728472054004669,
0.054696377366781235,
0.5555578470230103,
-0.15901325643062592,
0.06315124034881592,
-0.1900177150964737,
-0.031744226813316345,
-0.28575360774993896,
-0.3955078721046448,
-0.17473305761814117,
0.23291230201721191,
0.06016073748469353,
0.3784730136394501,
-0.3805391788482666,
0.18522581458091736,
-0.1610049605369568,
0.21905043721199036,
0.2539867162704468,
0.22560466825962067,
0.13952183723449707,
0.23253633081912994,
0.3414539694786072,
0.057078685611486435,
-0.04607132822275162,
-0.18114390969276428,
0.08096111565828323,
0.25280997157096863,
0.07020462304353714,
0.06722386181354523,
-0.08382390439510345,
-0.3714103400707245,
-0.029812311753630638,
-0.3974311351776123,
-0.10143300890922546,
0.015921246260404587,
-0.17684489488601685,
-0.0388144925236702,
0.08254559338092804,
-0.042619481682777405,
0.1416686624288559,
-0.10769583284854889,
0.30891746282577515,
-0.3286067545413971,
0.4660644233226776,
-0.18265849351882935,
0.01682276464998722,
0.1578761488199234,
0.00651126354932785,
0.21306607127189636,
-0.27985474467277527,
-0.02542714774608612,
0.3791920840740204,
0.12405301630496979,
0.18301084637641907,
0.18577009439468384,
-0.09745617210865021,
0.34899938106536865,
-0.4782153069972992,
-0.0646633729338646,
0.07741184532642365,
0.025713704526424408,
0.16429370641708374,
-0.33406996726989746,
0.23949939012527466,
-0.36241522431373596,
0.19809046387672424,
-0.10371145606040955,
0.312039852142334,
0.28172677755355835,
-0.010446175932884216,
-0.04156684875488281,
0.009707584977149963,
0.4380401074886322,
-0.31901034712791443,
0.14820335805416107,
-0.042250052094459534,
-0.327192485332489,
-0.01665322482585907,
0.03402280434966087,
-0.11219486594200134,
0.04153250530362129,
0.19018620252609253,
-0.16314944624900818,
0.04922567307949066,
0.08345074206590652,
0.4029061794281006,
0.08663776516914368,
0.13901381194591522,
-0.09426645934581757,
0.05281754583120346,
0.30788654088974,
-0.19200921058654785,
0.07837669551372528,
0.2593536078929901,
0.2124864012002945,
0.19153523445129395,
-0.05000581592321396,
-0.016018059104681015,
-0.2719736397266388,
0.26459801197052,
0.33506035804748535,
0.20719978213310242,
-0.2630307972431183,
-0.26385703682899475,
-0.04652422294020653,
-0.2593141794204712,
-0.07235252112150192,
0.0737195685505867,
-0.27691739797592163,
-0.24196086823940277,
0.00022541359066963196,
0.11435499787330627,
-0.04386238008737564,
0.19606953859329224,
0.03173181414604187,
0.1646851748228073,
0.05167294293642044,
0.5044608116149902,
-0.05173371732234955,
0.015197671949863434,
-0.005110088735818863,
0.035119328647851944,
0.39629581570625305,
-0.04186539351940155,
0.22208888828754425,
0.05118162930011749,
0.055186010897159576,
-0.3884872496128082,
-0.410081684589386,
0.1710825264453888,
-0.15080752968788147,
0.2879895269870758,
0.017315469682216644,
0.3133523166179657,
0.15693870186805725,
-0.1316533088684082,
0.044043801724910736,
0.14426963031291962,
0.06955181807279587,
0.046729154884815216,
0.09599039703607559,
0.04448040947318077,
0.014978211373090744,
0.0008155182003974915,
-0.20411282777786255,
-0.35101112723350525,
0.4736670255661011,
-0.2424316555261612,
0.012148372828960419,
-0.2369624525308609,
-0.06619007885456085,
-0.05562945082783699,
0.07912091910839081,
-0.3512420952320099,
-0.13703276216983795,
-0.2936948835849762,
0.2801287770271301,
-0.3487769067287445,
-0.3532505929470062,
0.35956424474716187,
0.15347923338413239,
0.23660734295845032,
-0.1620854139328003,
-0.48282748460769653,
0.056042369455099106,
-0.3252902626991272,
0.18838758766651154,
0.15801255404949188,
-0.24896566569805145,
0.3607889711856842,
-0.08115909993648529,
0.030910151079297066,
0.07042573392391205,
-0.04495244473218918,
-0.039925508201122284,
-0.12120998650789261,
0.23251956701278687,
-0.27699875831604004,
0.5008938312530518,
0.2285400927066803,
0.7171626091003418,
0.43641215562820435,
0.2854122221469879,
0.14903613924980164,
-0.00022170878946781158,
0.3898860812187195,
0.004809364676475525,
-0.34880903363227844,
0.18460971117019653,
-0.339992493391037,
-0.007878722622990608,
0.35132861137390137,
0.11162824183702469,
-0.00047356821596622467,
-0.0942859798669815,
-0.4066443145275116,
-0.5911096334457397,
-0.3888394832611084,
-0.15873251855373383,
-0.010504253208637238,
0.2612001299858093,
-0.004147212952375412,
0.17536747455596924,
0.08907082676887512,
-0.24442803859710693,
-0.18613870441913605,
0.5326776504516602,
0.3583488464355469,
-0.07032356411218643,
-0.36354127526283264,
-0.0907980352640152,
-0.369939923286438,
0.30601954460144043,
-0.2650754153728485,
0.12402200698852539,
-0.23686783015727997,
0.08806760609149933,
0.24845004081726074,
-0.10987567156553268,
0.8229840397834778,
0.009757365100085735,
0.2095014899969101,
-0.3559096157550812,
-0.07315021753311157,
-0.043576229363679886,
0.04745208099484444,
0.16184449195861816,
0.1555277407169342,
0.24878175556659698,
0.21545633673667908,
-0.28613269329071045,
0.08567548543214798,
0.34952789545059204,
-0.3162183463573456,
-0.3238724172115326,
-0.09959277510643005,
-0.08489975333213806,
-0.18477007746696472,
-0.08640941977500916,
0.07324118912220001,
0.014979967847466469,
0.022762343287467957,
-0.14715798199176788,
-0.047980643808841705,
-0.10192066431045532,
-0.31334131956100464,
0.22760340571403503,
0.03252596780657768,
0.2231602668762207,
-0.0700019970536232,
0.35638630390167236,
0.5474081039428711,
0.20538601279258728,
0.5152721405029297,
0.46106094121932983,
0.0005614086985588074,
-0.5081679821014404,
0.49142181873321533,
-0.19555248320102692,
0.3708284795284271,
0.59466552734375,
-0.0951666533946991,
0.06320744752883911,
0.20253513753414154,
0.5912562012672424,
-0.4896698594093323,
0.16947507858276367,
0.5218446850776672,
0.12429287284612656,
-0.4059068262577057,
-0.23012448847293854,
0.29751208424568176,
0.02677440643310547,
0.07988816499710083,
-0.2259419858455658,
0.5834570527076721,
-0.1006656214594841,
-0.16582249104976654,
-0.12046170979738235,
1.0893322229385376,
-0.09879942238330841,
-0.10511429607868195,
0.18233805894851685,
-0.25821778178215027,
0.38329488039016724,
-0.3869794011116028,
0.17458917200565338,
-0.24228382110595703,
-0.12504693865776062,
-0.1497049331665039,
0.12229438126087189,
0.29793432354927063,
-0.31748437881469727,
-0.1838112473487854,
0.05154218152165413,
-0.01577230542898178,
-0.0027034394443035126,
-0.2722180187702179,
0.17909882962703705,
-0.2774064540863037,
-0.037598866969347,
-0.09754724055528641,
0.05264648050069809,
0.019442565739154816,
0.32813262939453125,
-0.16057974100112915,
-0.21245446801185608,
0.008700568228960037,
-0.024115335196256638,
-0.33178526163101196,
-0.11145845055580139,
0.052180077880620956,
0.06371112167835236,
-0.08899310231208801,
-0.3746762275695801,
0.5601726770401001,
0.3257072865962982,
0.029823344200849533,
0.20841169357299805,
-0.2497866451740265,
0.4673282504081726,
-0.055862344801425934,
-0.303937166929245,
0.03500892221927643,
0.09924806654453278,
0.028638402000069618,
-0.06888198107481003,
0.018322892487049103,
0.03208377584815025,
-0.09039735049009323,
0.17827002704143524,
-0.3540673851966858,
0.2729176878929138,
0.02952691912651062,
-0.504338264465332,
0.040721211582422256,
-0.2932421863079071,
-0.1566348373889923,
-0.1893850564956665,
0.05420629307627678,
-0.12124745547771454,
-0.04576735198497772,
-0.0542842373251915,
-0.008486982434988022,
-0.09348758310079575,
-0.08693496882915497,
0.24978294968605042,
0.02778390794992447,
0.04364001005887985,
0.5592888593673706,
0.2929139733314514,
-0.25410813093185425,
-0.10667897760868073,
0.43781012296676636,
0.22740055620670319,
-0.614311933517456,
0.19887955486774445,
0.10512399673461914,
0.25007182359695435,
0.06733518838882446,
0.03612962365150452,
0.04598250612616539,
-0.3705296814441681,
-0.07981669157743454,
-0.3095031678676605,
-0.020863132551312447,
0.14897091686725616,
-0.21719251573085785,
0.1014464795589447,
-0.09416021406650543,
0.4639594852924347,
0.12790139019489288,
0.20218931138515472,
-0.171893909573555,
0.10422371327877045,
-0.19001643359661102,
0.08250781893730164,
0.2092592716217041,
-0.2763994634151459,
0.06535056978464127,
-0.07491788268089294,
-0.06285083293914795,
0.43045860528945923,
-0.14378641545772552,
-0.02783307433128357,
0.04453815892338753,
0.17718715965747833,
-0.0098690465092659,
-0.21340012550354004,
0.1132437065243721,
-0.0013232715427875519,
-0.2753213346004486,
0.06281967461109161,
-0.08149303495883942,
-0.011269915848970413,
0.11120130866765976,
-0.22875188291072845,
0.2715848982334137,
-0.02939251810312271,
-0.22099965810775757,
0.22507502138614655,
0.11712271720170975,
0.6050260066986084,
-0.06998749822378159,
-0.05293723940849304,
-0.17143233120441437,
0.053489744663238525,
-0.12872865796089172,
0.27152809500694275,
0.3577086925506592,
-0.17288926243782043,
0.5421858429908752,
-0.37835341691970825,
0.2622512876987457,
-0.07014239579439163,
0.6178178787231445,
0.19174204766750336,
0.03405440226197243,
-0.03153237700462341,
0.23937928676605225,
0.062242746353149414,
-0.5008819103240967,
0.1320216804742813,
0.06359449028968811,
-0.1183028295636177,
0.07408100366592407,
0.08931303024291992,
0.001772124320268631,
0.34568148851394653,
-0.3381432890892029,
0.11328961700201035,
0.38829338550567627,
-0.15961182117462158,
0.462177038192749,
0.5040856003761292,
-0.05949130281805992,
0.03558047115802765,
0.2505683898925781,
0.05903039127588272,
0.10741664469242096,
0.46542590856552124,
-0.1890999972820282,
0.36365920305252075,
-0.17724403738975525,
0.28488484025001526,
0.10373053699731827,
-0.5780226588249207,
-0.0695573091506958,
0.2271292358636856,
-0.2916516363620758,
0.07750561088323593,
-0.19533824920654297,
0.3745381236076355,
-0.32504090666770935,
-0.04354710131883621,
-0.34648099541664124,
0.36538904905319214,
0.07411099970340729,
0.140104740858078,
0.16299955546855927,
-0.28444963693618774,
-0.2788642346858978,
0.21938973665237427,
0.050223104655742645,
-0.039163969457149506,
0.009494803845882416,
0.17304515838623047,
-0.10212984681129456,
-0.05741775035858154,
-0.16907674074172974,
0.18354710936546326,
0.3605966567993164,
-0.3109973967075348,
0.08554306626319885,
0.2016107738018036,
-0.09361957013607025,
0.1357026994228363,
0.376342236995697,
0.49078914523124695,
0.04924333840608597,
-0.11876150965690613,
0.016157029196619987,
0.13981716334819794,
0.03905414044857025,
0.1725829839706421,
0.20644669234752655,
0.1922125220298767,
0.3705693185329437,
0.18546374142169952,
-0.03086237795650959,
-0.118681900203228,
0.14786580204963684,
-0.053090956062078476,
0.24140216410160065,
-0.429155170917511,
-0.07709697633981705,
-0.447549432516098,
-0.14134152233600616,
-0.2863932251930237,
-0.5045471787452698,
-0.5283527374267578,
-0.08686861395835876,
0.09215220808982849,
-0.22218941152095795,
0.026578716933727264,
-0.3048721253871918,
0.013204105198383331,
-0.1255897730588913,
0.6035123467445374,
0.28516262769699097,
-0.10206311196088791,
-0.33045539259910583,
-0.43734949827194214,
-0.4767214357852936,
0.027490437030792236,
-0.38576945662498474,
0.07230114936828613,
0.09132415801286697,
0.12897580862045288,
-0.05179498344659805,
-0.0030345655977725983,
0.08612437546253204,
-0.03156843036413193,
-0.03497562184929848,
0.1877695769071579,
-0.17844080924987793,
0.11175046861171722,
0.08527053147554398,
-0.10886389017105103,
-0.11281484365463257,
-0.11482567340135574,
0.37985584139823914,
-0.07483920454978943,
-0.18390724062919617,
0.31332558393478394,
0.2385558784008026,
-0.0718935877084732,
-0.07922454178333282,
-0.05207878351211548,
0.18016675114631653,
0.32615190744400024,
0.17023620009422302,
-0.015548878349363804,
-0.26056936383247375,
-0.22587834298610687,
-0.3775545060634613,
0.24961653351783752,
0.3408259153366089,
0.47891566157341003,
-0.12278729677200317,
-0.36850520968437195,
-0.2004871368408203,
0.01945934072136879,
-0.08610044419765472,
0.23426811397075653,
-0.17341327667236328,
-0.12463990598917007,
-0.23638486862182617,
0.2381121814250946,
0.5659012794494629,
0.3906662166118622,
0.09681214392185211,
-0.05765480548143387,
-0.38754600286483765,
-0.4023130536079407,
0.3192928433418274,
-0.4002692699432373,
-0.03668193146586418,
-0.19389234483242035,
0.19170765578746796,
0.31151601672172546,
-0.1326860636472702,
-0.22194084525108337,
-0.2077135145664215,
0.2295362800359726,
0.07309886068105698,
0.16111692786216736,
0.02210165187716484,
0.10683378577232361,
-0.3367074131965637,
0.02375505492091179,
0.3467227816581726,
0.21123644709587097,
-0.2518634796142578,
0.3401730954647064,
-0.09360747039318085
] |
https://github.com/huggingface/datasets/issues/4734 | Package rouge-score cannot be imported | We have added a comment on an existing issue opened in their repo: https://github.com/google-research/google-research/issues/1212#issuecomment-1192267130
- https://github.com/google-research/google-research/issues/1212 | ## Describe the bug
After the today release of `rouge_score-0.0.7` it seems no longer importable. Our CI fails: https://github.com/huggingface/datasets/runs/7463218591?check_suite_focus=true
```
FAILED tests/test_dataset_common.py::LocalDatasetTest::test_builder_class_bigbench
FAILED tests/test_dataset_common.py::LocalDatasetTest::test_builder_configs_bigbench
FAILED tests/test_dataset_common.py::LocalDatasetTest::test_load_dataset_bigbench
FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_rouge
```
with errors:
```
> from rouge_score import rouge_scorer
E ModuleNotFoundError: No module named 'rouge_score'
```
```
E ImportError: To be able to use rouge, you need to install the following dependency: rouge_score.
E Please install it using 'pip install rouge_score' for instance'
```
| 16 | Package rouge-score cannot be imported
## Describe the bug
After the today release of `rouge_score-0.0.7` it seems no longer importable. Our CI fails: https://github.com/huggingface/datasets/runs/7463218591?check_suite_focus=true
```
FAILED tests/test_dataset_common.py::LocalDatasetTest::test_builder_class_bigbench
FAILED tests/test_dataset_common.py::LocalDatasetTest::test_builder_configs_bigbench
FAILED tests/test_dataset_common.py::LocalDatasetTest::test_load_dataset_bigbench
FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_rouge
```
with errors:
```
> from rouge_score import rouge_scorer
E ModuleNotFoundError: No module named 'rouge_score'
```
```
E ImportError: To be able to use rouge, you need to install the following dependency: rouge_score.
E Please install it using 'pip install rouge_score' for instance'
```
We have added a comment on an existing issue opened in their repo: https://github.com/google-research/google-research/issues/1212#issuecomment-1192267130
- https://github.com/google-research/google-research/issues/1212 | [
-0.37668901681900024,
-0.14988991618156433,
-0.0989338755607605,
0.07872013747692108,
0.12048112601041794,
-0.15932872891426086,
0.0045976415276527405,
0.15980367362499237,
0.26415568590164185,
0.2637264132499695,
0.016209032386541367,
0.10538609325885773,
-0.1802535057067871,
0.5757995247840881,
0.1500272899866104,
-0.07235943526029587,
0.08002472668886185,
-0.031987667083740234,
0.11465439200401306,
-0.079908087849617,
-0.1383274346590042,
0.3657931089401245,
-0.15303932130336761,
0.13806559145450592,
0.058063287287950516,
0.08633595705032349,
0.13589563965797424,
0.07097278535366058,
-0.35395148396492004,
-0.4280507266521454,
0.27180975675582886,
0.07656197249889374,
-0.13941693305969238,
0.5641228556632996,
-0.00011118734255433083,
-0.13295096158981323,
0.347262442111969,
-0.037566978484392166,
-0.2731764018535614,
-0.5778236985206604,
-0.1836792230606079,
-0.24788735806941986,
0.0036492436192929745,
0.24373498558998108,
0.07651229202747345,
-0.1823664903640747,
-0.3332895040512085,
-0.32495373487472534,
0.16349394619464874,
0.536144495010376,
0.26072958111763,
0.13442836701869965,
0.19448845088481903,
-0.3633541762828827,
0.4109700620174408,
-0.06477008759975433,
-0.020163454115390778,
0.8387206196784973,
0.2788064777851105,
0.0960770696401596,
0.1145414263010025,
0.09117759764194489,
0.13386142253875732,
-0.15444938838481903,
0.13463960587978363,
-0.24609212577342987,
0.19084806740283966,
-0.27434587478637695,
-0.0900876447558403,
0.15727858245372772,
0.2625519037246704,
-0.08420947939157486,
-0.30210983753204346,
0.09893963485956192,
0.26288869976997375,
-0.6141114830970764,
0.14190316200256348,
-0.1288495510816574,
0.166112020611763,
-0.030542436987161636,
-0.09827693551778793,
-0.2761920690536499,
-0.09671442210674286,
-0.049489058554172516,
-0.2826247215270996,
-0.1286640763282776,
-0.08993478864431381,
-0.033023469150066376,
0.26150602102279663,
-0.09866142272949219,
-0.19542790949344635,
0.3417353630065918,
-0.3817337155342102,
0.14306418597698212,
-0.38017943501472473,
-0.0450303815305233,
0.2745603024959564,
0.36891424655914307,
0.24357149004936218,
0.5678117275238037,
-0.1518363356590271,
0.13634786009788513,
-0.029720153659582138,
0.18619412183761597,
-0.03616897761821747,
0.4260717034339905,
0.10628405958414078,
-0.05120132863521576,
0.5254953503608704,
0.2485048472881317,
0.0918453186750412,
0.089361771941185,
0.19219784438610077,
-0.5235763788223267,
-0.20368121564388275,
0.1737554967403412,
0.190068319439888,
-0.4459863305091858,
-0.4795056879520416,
0.2653198540210724,
-0.058615319430828094,
0.08267055451869965,
0.07728131860494614,
0.34896120429039,
-0.1632722169160843,
0.23697510361671448,
0.054875053465366364,
0.023707430809736252,
-0.023955877870321274,
-0.1489918828010559,
-0.18284209072589874,
0.20978771150112152,
-0.1673864871263504,
-0.044116586446762085,
0.2214517742395401,
-0.4407193660736084,
0.27325502038002014,
0.05068699270486832,
0.5152606964111328,
-0.16970603168010712,
-0.07937155663967133,
-0.1779308021068573,
-0.15492886304855347,
0.18961748480796814,
-0.23353911936283112,
-0.0432014986872673,
0.13389451801776886,
-0.4369088411331177,
-0.09873630851507187,
-0.2243475317955017,
-0.4681549668312073,
-0.11854185163974762,
0.012747310101985931,
0.2374265193939209,
-0.17497196793556213,
-0.1396920531988144,
-0.5534631609916687,
-0.09577520191669464,
-0.46457669138908386,
-0.14460031688213348,
-0.12400766462087631,
-0.3358979821205139,
-0.07888684421777725,
-0.11196206510066986,
0.3031271994113922,
0.2867130637168884,
-0.11537283658981323,
-0.1681743562221527,
0.12659871578216553,
-0.167546808719635,
-0.23779121041297913,
0.15973271429538727,
-0.08813706040382385,
0.1544763445854187,
-0.2580462396144867,
-0.48591333627700806,
0.4398668706417084,
-0.5658343434333801,
-0.5437048673629761,
0.04298921674489975,
-0.22977058589458466,
-0.22823837399482727,
-0.02035541832447052,
-0.3021612763404846,
-0.21838578581809998,
0.02606634795665741,
0.12064558267593384,
0.25329697132110596,
-0.22115860879421234,
-0.12891319394111633,
-0.16737870872020721,
-0.052612174302339554,
0.16364732384681702,
0.37002700567245483,
0.3663664758205414,
-0.09942054003477097,
0.13150504231452942,
-0.26387664675712585,
0.13246339559555054,
0.045877885073423386,
-0.17846530675888062,
0.4358214735984802,
0.43994221091270447,
0.149429589509964,
0.13714954257011414,
-0.2572155296802521,
-0.03281638026237488,
0.17508843541145325,
-0.6011862754821777,
-0.006814382970333099,
-0.1381758600473404,
-0.1472359299659729,
-0.7088935971260071,
0.015357216820120811,
-0.13864116370677948,
-0.19568854570388794,
0.1092570424079895,
0.04494527354836464,
0.13025899231433868,
0.39376482367515564,
-0.14685934782028198,
0.37206345796585083,
-0.26615893840789795,
0.0008432212052866817,
-0.1597100794315338,
0.02132549323141575,
-0.21301762759685516,
-0.14728936553001404,
0.21497273445129395,
0.2596290409564972,
0.28673917055130005,
-0.15531209111213684,
-0.151765376329422,
0.18942880630493164,
-0.010461753234267235,
0.041696470230817795,
0.28311529755592346,
0.12720608711242676,
0.1969403177499771,
-0.32832270860671997,
-0.06745410710573196,
0.204592764377594,
0.12136340141296387,
0.10267937928438187,
-0.14581596851348877,
0.2903515696525574,
-0.5349952578544617,
0.12039840966463089,
0.07966934144496918,
0.07155770063400269,
0.36149170994758606,
-0.04926961660385132,
-0.10802257806062698,
-0.04978314787149429,
0.46581369638442993,
-0.019343461841344833,
0.28904151916503906,
-0.26288527250289917,
0.03804798424243927,
-0.1721767783164978,
0.2705981433391571,
0.16849030554294586,
0.06442911922931671,
-0.012021280825138092,
-0.03522744029760361,
0.026782725006341934,
0.1600685864686966,
0.008573736995458603,
0.43073707818984985,
0.11178416013717651,
-0.15619874000549316,
0.10428914427757263,
0.1955709457397461,
-0.034356169402599335,
0.08484211564064026,
-0.13851097226142883,
0.02002284675836563,
0.4333658218383789,
0.23540012538433075,
-0.02704903483390808,
-0.2487976849079132,
-0.2610940635204315,
-0.056180596351623535,
0.10938657075166702,
-0.12176686525344849,
0.25350865721702576,
-0.3122897148132324,
0.09250164777040482,
-0.18529684841632843,
0.07513916492462158,
-0.3408187925815582,
-0.3566863536834717,
-0.12941531836986542,
0.2218388170003891,
0.0736783891916275,
0.11531950533390045,
0.31522586941719055,
0.2919732332229614,
-0.11295124143362045,
-0.27548643946647644,
-0.1717756986618042,
-0.19246317446231842,
-0.11418939381837845,
0.13072055578231812,
0.06201724708080292,
-0.1846054494380951,
0.4159992039203644,
-0.30047333240509033,
-0.03797972947359085,
-0.24753466248512268,
-0.47567474842071533,
0.10995680093765259,
-0.15465226769447327,
0.45113691687583923,
0.10345572233200073,
-0.16201694309711456,
-0.0676620602607727,
0.24448074400424957,
0.12816214561462402,
-0.44404202699661255,
-0.15594129264354706,
0.054121680557727814,
-0.25687870383262634,
0.1485142558813095,
0.03246190771460533,
-0.41767945885658264,
-0.3600308299064636,
-0.3294830322265625,
0.4330281615257263,
0.165598064661026,
-0.189138263463974,
0.34501615166664124,
0.2173648327589035,
0.12151451408863068,
0.12416964024305344,
0.18997177481651306,
-0.15644773840904236,
-0.06305909156799316,
0.22193773090839386,
-0.34672340750694275,
-0.5676377415657043,
0.2583335041999817,
0.2103491723537445,
0.10578746348619461,
0.0004176236689090729,
-0.27081379294395447,
-0.13143080472946167,
0.13140340149402618,
0.3141156733036041,
-0.03800018131732941,
0.08476842939853668,
0.3059946298599243,
-0.1440247893333435,
-0.05419043451547623,
-0.02377203106880188,
-0.06663510203361511,
-0.3393630087375641,
0.12054793536663055,
0.2709124684333801,
-0.09914026409387589,
0.3843238651752472,
-0.08329202979803085,
0.3820301294326782,
0.2919372320175171,
0.2316795438528061,
0.25268635153770447,
0.07924219965934753,
0.44269320368766785,
-0.24462339282035828,
-0.29368916153907776,
0.0452222041785717,
-0.10443305969238281,
0.025859691202640533,
-0.08721500635147095,
-0.1957848072052002,
0.27872318029403687,
-0.28631237149238586,
-0.053436361253261566,
0.07632724940776825,
0.012296956032514572,
-0.15698564052581787,
-0.3229721784591675,
0.22697535157203674,
-0.2105577141046524,
-0.17410650849342346,
-0.09658080339431763,
-0.03089498169720173,
0.39241451025009155,
0.24798327684402466,
0.015168637037277222,
0.07245329767465591,
-0.23582227528095245,
-0.14999762177467346,
-0.19985967874526978,
0.2807372510433197,
-0.04100876674056053,
0.22481298446655273,
-0.1945778876543045,
0.15587398409843445,
-0.03776735067367554,
-0.11793053150177002,
0.158792644739151,
-0.11489105969667435,
0.018545156344771385,
0.3455021381378174,
-0.2546805441379547,
-0.3045942187309265,
-0.16942192614078522,
-0.11473536491394043,
0.1832922250032425,
0.12907741963863373,
0.22247649729251862,
-0.18129697442054749,
-0.04705873131752014,
0.4685274064540863,
0.3961522579193115,
-0.09448011219501495,
0.2742069959640503,
-0.40992090106010437,
-0.33310845494270325,
-0.13614247739315033,
0.1550017148256302,
0.05149766057729721,
0.46458014845848083,
-0.11219875514507294,
0.3301413357257843,
-0.19164972007274628,
-0.11317618936300278,
0.23716050386428833,
0.06272612512111664,
0.2186162769794464,
-0.019114188849925995,
-0.03524038568139076,
0.007597055286169052,
-0.1871277540922165,
0.0961056649684906,
0.7213030457496643,
0.048765406012535095,
-0.4901101589202881,
0.11833091080188751,
0.006623961962759495,
0.3433980941772461,
0.2515648603439331,
-0.2654134929180145,
0.006080232560634613,
-0.3128879964351654,
0.04160316661000252,
-0.3243536651134491,
0.17112566530704498,
0.11615506559610367,
0.0616396963596344,
0.04186549410223961,
-0.08125584572553635,
0.40010011196136475,
0.18552960455417633,
-0.11045684665441513,
0.19969205558300018,
0.11900435388088226,
-0.06173970550298691,
0.2793477773666382,
-0.09421610087156296,
0.6840415596961975,
0.16953882575035095,
-0.14329591393470764,
0.03620925545692444,
-0.11102856695652008,
0.3382207751274109,
-0.2704989016056061,
0.12670215964317322,
-0.3735002875328064,
-0.3403458893299103,
0.0731077715754509,
-0.17940819263458252,
0.30708450078964233,
-0.3146962523460388,
0.06753136217594147,
0.4641050398349762,
0.03590473532676697,
0.25936031341552734,
0.07666918635368347,
0.3193649351596832,
0.13008926808834076,
0.07941623032093048,
0.026024095714092255,
0.2169695794582367,
-0.11409980058670044,
0.3445103168487549,
-0.26218974590301514,
0.053383443504571915,
-0.28707587718963623,
-0.10627003014087677,
-0.2504376173019409,
-0.005422303453087807,
-0.1265762895345688,
0.20031128823757172,
-0.03653259202837944,
-0.7506190538406372,
0.20328718423843384,
0.22303506731987,
0.4327870011329651,
0.27717867493629456,
-0.18517126142978668,
0.13590563833713531,
-0.13285911083221436,
-0.016755523160099983,
0.1209191158413887,
0.1268022209405899,
0.19573499262332916,
-0.14512109756469727,
-0.168874129652977,
0.28051072359085083,
0.06106533110141754,
-0.23653371632099152,
-0.15316390991210938,
0.1512722373008728,
-0.17132410407066345,
0.05283944681286812,
0.14464642107486725,
-0.10167692601680756,
0.42160725593566895,
-0.24739010632038116,
0.16275647282600403,
0.20676329731941223,
-0.10126147419214249,
0.029457539319992065,
0.0755952000617981,
-0.11463256180286407,
-0.13017688691616058,
0.42904961109161377,
0.07622077316045761,
-0.3763592839241028,
0.03705987334251404,
0.08932982385158539,
0.09243680536746979,
-0.23932278156280518,
0.00950450450181961,
0.338503897190094,
-0.3780805766582489,
0.10300947725772858,
-0.1385861188173294,
-0.22897912561893463,
-0.041520677506923676,
0.43641605973243713,
0.19430133700370789,
-0.1356339156627655,
0.18203553557395935,
-0.29031944274902344,
-0.38536733388900757,
0.2624455690383911,
0.1144915521144867,
-0.05466855689883232,
0.04003657400608063,
-0.217826709151268,
-0.04111737012863159,
0.31081676483154297,
-0.33317574858665466,
0.034276172518730164,
-0.26376625895500183,
-0.06577515602111816,
0.094804547727108,
-0.07516495138406754,
0.23687328398227692,
-0.018181975930929184,
0.10025103390216827,
0.018778853118419647,
-0.1258365362882614,
-0.21258553862571716,
-0.24750567972660065,
0.08212196826934814,
-0.03634112700819969,
0.2832437753677368,
-0.003986208699643612,
-0.0021017249673604965,
0.20378707349300385,
0.06348257511854172,
0.2783128619194031,
0.13164940476417542,
0.11622564494609833,
0.009254866279661655,
-0.10975638031959534,
0.10840918123722076,
-0.04071557894349098,
0.08807641267776489,
0.22369812428951263,
0.19006451964378357,
-0.018732625991106033,
0.12967494130134583,
0.1920415610074997,
-0.012884765863418579,
-0.4263254404067993,
-0.11905307322740555,
-0.014178022742271423,
-0.20393246412277222,
0.3038138151168823,
-0.20819886028766632,
-0.12143021821975708,
0.11880162358283997,
0.26471278071403503,
0.27189719676971436,
-0.3358786702156067,
0.25240981578826904,
0.035508573055267334,
0.20420296490192413,
-0.2900935709476471,
-0.252272367477417,
0.13126718997955322,
0.09546100348234177,
0.04890548810362816,
0.10865108668804169,
0.5066202878952026,
0.017654716968536377,
0.208362877368927,
0.2515999376773834,
0.22264263033866882,
-0.0015172157436609268,
0.40505877137184143,
-0.2343059480190277,
0.08602778613567352,
-0.12695179879665375,
0.5441925525665283,
0.2292291671037674,
0.19601771235466003,
0.23396599292755127,
-0.0864735022187233,
0.2142639458179474,
-0.38276058435440063,
0.0558893196284771,
0.01196315884590149,
-0.2361627072095871,
-0.015307866036891937,
-0.1086510717868805,
0.030937202274799347,
-0.16959309577941895,
-0.05885718762874603,
0.3109203279018402,
-0.4437488615512848,
-0.26100632548332214,
-0.1221814751625061,
-0.07202368974685669,
-0.07799801230430603,
-0.007758599705994129,
-0.09221993386745453,
-0.16270379722118378,
-0.3947238326072693,
0.15857809782028198,
0.1760757714509964,
-0.03397610783576965,
0.28180041909217834,
0.2584682106971741,
-0.2530030608177185,
-0.073821060359478,
-0.35992535948753357,
0.17308449745178223,
0.23422279953956604,
-0.19397802650928497,
0.12120259553194046,
-0.012310020625591278,
0.04337986558675766,
-0.07012198865413666,
0.35357528924942017,
0.263814240694046,
0.091628298163414,
-0.19825302064418793,
-0.05213748291134834,
-0.17290771007537842,
-0.12405883520841599,
-0.015514982864260674,
0.1420687884092331,
-0.11860981583595276,
0.20287272334098816,
0.12452444434165955,
0.1912197768688202,
-0.1346147656440735,
0.0342276431620121,
-0.02419692650437355,
0.11116576194763184,
-0.4028380215167999,
0.3595632016658783,
0.0257774256169796,
-0.012913867831230164,
-0.3326997458934784,
0.05321165546774864,
-0.20834064483642578,
-0.026535693556070328,
0.03813961520791054,
0.27759912610054016,
-0.0829043984413147,
-0.31505873799324036,
0.1190963089466095,
0.1051938533782959,
0.31019896268844604,
0.22236868739128113,
0.2959173917770386,
-0.3860204219818115,
-0.23189164698123932,
-0.445121705532074,
0.2602139115333557,
0.12602703273296356,
0.22522702813148499,
0.26697805523872375,
0.009246278554201126,
-0.18757003545761108,
0.3339415192604065,
-0.037647128105163574,
0.15908107161521912,
0.2589423358440399,
-0.2681366503238678,
-0.4087546765804291,
-0.15401332080364227,
0.022729773074388504,
-0.19146333634853363,
0.08392094820737839,
-0.15642599761486053,
0.047491393983364105,
-0.3674037456512451,
0.09462372213602066,
-0.1981554627418518,
-0.4916154146194458,
-0.057674527168273926,
-0.1591174304485321,
0.7277548313140869,
0.10288787633180618,
0.3957318961620331,
0.14389783143997192,
-0.16016820073127747,
-0.16171956062316895,
-0.268569678068161,
-0.1687098741531372,
0.39997053146362305,
-0.15351438522338867,
0.2468341588973999,
0.04697158932685852,
-0.27415555715560913,
-0.28386011719703674,
0.5870321393013,
0.020802095532417297,
-0.09607359021902084,
-0.2328300029039383,
-0.000549832358956337,
0.17766711115837097,
0.10063546150922775,
0.017927326261997223,
0.24527570605278015,
-0.13142341375350952,
0.21284805238246918,
-0.3061256408691406,
-0.13831040263175964,
0.38124215602874756,
-0.09050798416137695,
0.04506455734372139,
-0.0823994055390358,
0.5816546678543091,
0.23450180888175964,
-0.2658939063549042,
-0.22894957661628723,
0.2013888955116272,
0.11238717287778854,
0.2549557089805603,
-0.19976948201656342,
0.41426458954811096,
-0.1532164365053177,
0.20998810231685638,
0.03937998786568642,
0.35279467701911926,
-0.14224833250045776,
0.10217960178852081,
0.1251349300146103,
-0.12895965576171875
] |
https://github.com/huggingface/datasets/issues/4732 | Document better that loading a dataset passing its name does not use the local script | Thanks for the feedback!
I think since this issue is closely related to loading, I can add a clearer explanation under [Load > local loading script](https://huggingface.co/docs/datasets/main/en/loading#local-loading-script). | As reported by @TrentBrick here https://github.com/huggingface/datasets/issues/4725#issuecomment-1191858596, it could be more clear that loading a dataset by passing its name does not use the (modified) local script of it.
What he did:
- he installed `datasets` from source
- he modified locally `datasets/the_pile/the_pile.py` loading script
- he tried to load it but using `load_dataset("the_pile")` instead of `load_dataset("datasets/the_pile")`
- as explained here https://github.com/huggingface/datasets/issues/4725#issuecomment-1191040245:
- the former does not use the local script, but instead it downloads a copy of `the_pile.py` from our GitHub, caches it locally (inside `~/.cache/huggingface/modules`) and uses that.
He suggests adding a more clear explanation about this. He suggests adding it maybe in [Installation > source](https://huggingface.co/docs/datasets/installation))
CC: @stevhliu | 26 | Document better that loading a dataset passing its name does not use the local script
As reported by @TrentBrick here https://github.com/huggingface/datasets/issues/4725#issuecomment-1191858596, it could be more clear that loading a dataset by passing its name does not use the (modified) local script of it.
What he did:
- he installed `datasets` from source
- he modified locally `datasets/the_pile/the_pile.py` loading script
- he tried to load it but using `load_dataset("the_pile")` instead of `load_dataset("datasets/the_pile")`
- as explained here https://github.com/huggingface/datasets/issues/4725#issuecomment-1191040245:
- the former does not use the local script, but instead it downloads a copy of `the_pile.py` from our GitHub, caches it locally (inside `~/.cache/huggingface/modules`) and uses that.
He suggests adding a more clear explanation about this. He suggests adding it maybe in [Installation > source](https://huggingface.co/docs/datasets/installation))
CC: @stevhliu
Thanks for the feedback!
I think since this issue is closely related to loading, I can add a clearer explanation under [Load > local loading script](https://huggingface.co/docs/datasets/main/en/loading#local-loading-script). | [
0.01958369091153145,
-0.24545450508594513,
-0.056283026933670044,
0.1955309808254242,
0.3226845860481262,
-0.08595974743366241,
0.3693872094154358,
0.11190173029899597,
0.22396977245807648,
0.1813625693321228,
-0.12174481153488159,
0.379509299993515,
0.11593537032604218,
0.27605417370796204,
0.16204872727394104,
-0.035598382353782654,
0.0022197067737579346,
-0.04878897964954376,
-0.2642873227596283,
-0.1015644520521164,
-0.18877995014190674,
0.11676383763551712,
-0.013109415769577026,
0.09078104794025421,
-0.14420190453529358,
0.29704225063323975,
0.019475964829325676,
0.37385985255241394,
-0.0993255153298378,
-0.4028048515319824,
0.26553085446357727,
0.23247872292995453,
-0.012165142223238945,
0.5631971955299377,
-0.00010173942428082228,
0.08200535178184509,
0.4118000864982605,
-0.074891597032547,
-0.2749219536781311,
-0.27488481998443604,
0.036969274282455444,
-0.22270376980304718,
0.25969669222831726,
-0.22487518191337585,
-0.18310773372650146,
-0.14849402010440826,
0.01206652820110321,
-0.32415854930877686,
0.3206161856651306,
0.0021808352321386337,
0.331466943025589,
0.4753791391849518,
-0.010006818920373917,
-0.16317160427570343,
-0.02921483665704727,
0.24378220736980438,
-0.10794176906347275,
0.5683495402336121,
0.2208138108253479,
0.027323180809617043,
-0.16425365209579468,
0.2375287264585495,
0.026234714314341545,
0.10431092977523804,
0.5460932850837708,
0.006623235996812582,
-0.11348628252744675,
0.01793103851377964,
0.15909001231193542,
0.12094558775424957,
0.31828492879867554,
-0.3714931309223175,
-0.37188249826431274,
-0.2966747283935547,
0.0734252780675888,
-0.05658688396215439,
0.12882530689239502,
0.06826794892549515,
-0.12758012115955353,
0.2500934898853302,
-0.1910589188337326,
-0.12550167739391327,
-0.022665925323963165,
-0.031088776886463165,
0.15550732612609863,
-0.14395436644554138,
-0.2851593494415283,
0.11185318976640701,
0.08835625648498535,
-0.1885184794664383,
-0.16523948311805725,
-0.014079902321100235,
0.12531808018684387,
0.1448381394147873,
-0.061724599450826645,
0.19441135227680206,
0.2662051022052765,
0.5202406644821167,
0.25844496488571167,
0.016485251486301422,
-0.007041252218186855,
0.18853577971458435,
-0.11433148384094238,
0.14247478544712067,
0.3033789396286011,
0.1826300472021103,
0.17774909734725952,
-0.1618151217699051,
0.13355761766433716,
0.29927167296409607,
0.09647798538208008,
-0.135122150182724,
-0.003685530973598361,
-0.21518532931804657,
-0.1189759373664856,
-0.20482137799263,
0.3347635865211487,
-0.25304147601127625,
-0.04099580645561218,
-0.03641941398382187,
0.28129449486732483,
-0.14557720720767975,
0.12147065997123718,
0.6531724333763123,
-0.07815343141555786,
0.11492250859737396,
-0.03484128788113594,
0.18174521625041962,
-0.11169597506523132,
-0.02989358827471733,
-0.36698171496391296,
0.0103452168405056,
-0.23371167480945587,
0.1777125746011734,
0.13176488876342773,
-0.5217771530151367,
0.431450754404068,
-0.05339377373456955,
0.2590087354183197,
0.0971502959728241,
-0.1673014760017395,
0.20288126170635223,
0.11423851549625397,
0.1556924283504486,
-0.07580776512622833,
0.08659734576940536,
0.2948995530605316,
0.004409279674291611,
-0.15195141732692719,
0.018320605158805847,
-0.27898871898651123,
-0.31525173783302307,
-0.08961036801338196,
0.25713568925857544,
-0.11836640536785126,
0.05946087837219238,
-0.2611438035964966,
-0.09947426617145538,
-0.02817850559949875,
0.05654152110219002,
0.008034780621528625,
0.038262609392404556,
-0.20213212072849274,
-0.24448682367801666,
0.2787171006202698,
0.5354396104812622,
-0.2230043262243271,
-0.3188783526420593,
-0.08694468438625336,
-0.3684947192668915,
-0.029972337186336517,
0.2765049934387207,
-0.32643890380859375,
0.06039353460073471,
-0.323519229888916,
-0.036066558212041855,
0.012245744466781616,
-0.4726574718952179,
-0.13852056860923767,
0.35175761580467224,
-0.18926431238651276,
0.14376185834407806,
0.0707172378897667,
-0.20474056899547577,
-0.17579735815525055,
-0.030923496931791306,
0.23033326864242554,
0.023525971919298172,
0.13172781467437744,
0.13372796773910522,
-0.1926186978816986,
-0.2081759124994278,
-0.0723288506269455,
0.1331704705953598,
-0.24236087501049042,
0.2425576150417328,
0.09867749363183975,
-0.2238854616880417,
0.230660080909729,
0.03116334229707718,
0.019073864445090294,
0.2535709738731384,
0.2613123953342438,
0.29629677534103394,
0.06906424462795258,
0.12257485836744308,
-0.5780726671218872,
0.2618922293186188,
-0.16645526885986328,
0.10664010047912598,
-0.23849864304065704,
-0.4192922115325928,
-0.38127100467681885,
0.06720605492591858,
-0.13884282112121582,
-0.14910563826560974,
0.17396293580532074,
0.23039501905441284,
0.04285057261586189,
-0.03211703896522522,
-0.25046876072883606,
0.2569756805896759,
-0.09950800985097885,
0.19244320690631866,
-0.614683985710144,
0.004013217985630035,
-0.10185541957616806,
-0.036054596304893494,
0.1067415177822113,
0.09887650609016418,
0.17226213216781616,
-0.24055199325084686,
0.028045853599905968,
0.5598960518836975,
-0.08945745974779129,
0.32330191135406494,
-0.02728782594203949,
0.0379130095243454,
0.06363216042518616,
-0.001044776290655136,
0.16278961300849915,
-0.10907125473022461,
0.12939594686031342,
-0.04675522446632385,
-0.3070070445537567,
0.2671663463115692,
-0.09171348810195923,
0.18250377476215363,
0.16085471212863922,
-0.2137603908777237,
0.1793874204158783,
-0.01979924738407135,
-0.193841353058815,
-0.40789148211479187,
0.09403199702501297,
0.03618481010198593,
0.4674890637397766,
0.20743267238140106,
-0.2554914355278015,
0.033352404832839966,
0.2630368769168854,
0.02533716708421707,
-0.15770414471626282,
0.1015670970082283,
-0.09690061956644058,
0.008590854704380035,
0.13465671241283417,
-0.06330639868974686,
0.343539834022522,
0.26578187942504883,
-0.10443262755870819,
0.14317068457603455,
0.1829793006181717,
-0.2514496445655823,
0.011304900050163269,
0.0015820562839508057,
-0.13428747653961182,
-0.012613922357559204,
-0.10789655148983002,
-0.17632943391799927,
-0.280450701713562,
-0.05619005858898163,
-0.10335774719715118,
0.12738317251205444,
-0.4143446087837219,
-0.07688161730766296,
-0.35470178723335266,
-0.3139001429080963,
-0.3360295593738556,
-0.07510744035243988,
-0.2478666603565216,
-0.22903652489185333,
-0.1803022027015686,
0.17664887011051178,
-0.1965213418006897,
0.12869350612163544,
0.04460468515753746,
0.12700197100639343,
-0.13986323773860931,
-0.11646083742380142,
-0.29056769609451294,
-0.0936218872666359,
-0.07130472362041473,
0.11256296932697296,
0.15504860877990723,
0.10606709867715836,
0.31326356530189514,
-0.3108879625797272,
-0.08548841625452042,
-0.21002605557441711,
-0.17647075653076172,
0.16791915893554688,
-0.17549434304237366,
0.2618677020072937,
0.23466937243938446,
0.3124240040779114,
-0.054028838872909546,
-0.13640238344669342,
0.45996859669685364,
-0.33477041125297546,
-0.15073037147521973,
-0.2159794121980667,
0.11642035841941833,
-0.14709876477718353,
-0.3225966691970825,
-0.3266603946685791,
-0.029115157201886177,
-0.46101921796798706,
0.47218286991119385,
0.18525683879852295,
0.05723503604531288,
0.21474316716194153,
0.07952871173620224,
0.3274507522583008,
-0.22820645570755005,
0.175214022397995,
-0.2438511848449707,
-0.57045978307724,
0.1505793035030365,
-0.29890426993370056,
-0.3660271465778351,
-0.03260456770658493,
0.2061372548341751,
0.11680963635444641,
-0.2078685164451599,
-0.24799267947673798,
-0.33745071291923523,
-0.1504836529493332,
0.07369188964366913,
0.21213290095329285,
0.20906156301498413,
0.14531543850898743,
0.06322389096021652,
-0.19974248111248016,
-0.18518051505088806,
-0.4180479645729065,
0.046419426798820496,
-0.1604783535003662,
-0.04663010686635971,
0.19675582647323608,
0.32045653462409973,
-0.07162819802761078,
0.5315355062484741,
0.044744860380887985,
-0.0566706545650959,
0.3696441948413849,
-0.09759923070669174,
0.5752426385879517,
-0.2500351667404175,
-0.3879636526107788,
0.08139358460903168,
0.012356668710708618,
0.05986025929450989,
0.34684282541275024,
0.12306328117847443,
0.29248344898223877,
-0.18793898820877075,
-0.18025857210159302,
-0.2067415714263916,
-0.2459372729063034,
-0.05491911619901657,
0.2642771005630493,
-0.03141695261001587,
0.12839064002037048,
0.0029399245977401733,
-0.07226743549108505,
0.023549631237983704,
0.1236836165189743,
0.3570581078529358,
0.16787086427211761,
0.019446084275841713,
-0.4736729860305786,
0.27858996391296387,
-0.5493461489677429,
0.2377370297908783,
-0.0948633998632431,
0.07963575422763824,
-0.14042077958583832,
-0.2600587010383606,
0.15677592158317566,
0.018186835572123528,
0.5675349235534668,
0.0880119800567627,
0.01906120404601097,
0.019825462251901627,
-0.21143832802772522,
-0.524084746837616,
0.09366849064826965,
-0.02327258139848709,
0.15585164725780487,
0.08002610504627228,
0.45314013957977295,
-0.36351484060287476,
-0.45418548583984375,
0.17639049887657166,
0.1798279732465744,
-0.113268181681633,
-0.3551831841468811,
-0.45967599749565125,
-0.2998778223991394,
-0.3464963734149933,
-0.10115575045347214,
-0.01945815421640873,
0.09596415609121323,
-0.026363912969827652,
0.11207062005996704,
0.14285176992416382,
0.016952868551015854,
0.22110715508460999,
0.0619451068341732,
0.30320000648498535,
0.14123202860355377,
0.05275430902838707,
0.2941833734512329,
0.4389510750770569,
0.2567249834537506,
0.7279204726219177,
-0.25988760590553284,
-0.3124036192893982,
-0.07310736924409866,
0.038382772356271744,
0.242997407913208,
0.38647544384002686,
-0.08150352537631989,
0.004435621201992035,
0.13184908032417297,
0.1839355230331421,
-0.22560042142868042,
0.1263391524553299,
0.15298978984355927,
-0.20992623269557953,
-0.1467093974351883,
-0.43582361936569214,
0.3741154670715332,
-0.0022025257349014282,
-0.15046149492263794,
0.2165079414844513,
0.3939926028251648,
-0.15138563513755798,
0.13943630456924438,
-0.126080721616745,
0.8625872731208801,
-0.1834409385919571,
0.14224278926849365,
0.2733931243419647,
0.012215226888656616,
0.3333551287651062,
0.04973834753036499,
-0.18150943517684937,
-0.3507700264453888,
-0.17091742157936096,
0.11908037960529327,
-0.01565118506550789,
0.18591108918190002,
0.21741151809692383,
-0.11052551865577698,
0.3337349593639374,
-0.23447412252426147,
0.2829621732234955,
-0.1272631734609604,
0.4160612225532532,
-0.13551931083202362,
-0.29131880402565,
-0.2932051122188568,
0.23663535714149475,
0.1190718412399292,
0.3276357352733612,
-0.08759430795907974,
-0.1066463366150856,
0.09380501508712769,
-0.25651460886001587,
0.07478582859039307,
0.02283584326505661,
-0.06995364278554916,
-0.040139880031347275,
0.16795004904270172,
-0.04649287462234497,
0.015551500022411346,
0.26175057888031006,
0.2966406047344208,
0.11629925668239594,
-0.2740979790687561,
0.11292383074760437,
-0.10931115597486496,
-0.03743177652359009,
-0.09501378238201141,
0.14359499514102936,
0.2753337323665619,
-0.03341406211256981,
-0.21794110536575317,
-0.1688706874847412,
0.007562763057649136,
-0.23041971027851105,
-0.15875960886478424,
0.12522263824939728,
-0.06384027004241943,
-0.4475401043891907,
-0.3511331379413605,
-0.16667407751083374,
0.12172472476959229,
-0.0877378061413765,
0.2227768748998642,
0.1565573811531067,
-0.013846803456544876,
-0.08185454457998276,
0.2109503149986267,
-0.294644832611084,
-0.23247583210468292,
0.5182552933692932,
-0.2052655816078186,
-0.2012888640165329,
0.23586177825927734,
0.09155730903148651,
-0.19084575772285461,
-0.20499005913734436,
-0.28424930572509766,
0.4979754388332367,
-0.3038927912712097,
0.009207756258547306,
0.3914443254470825,
0.10917149484157562,
-0.03336941823363304,
0.0937405601143837,
0.007338188588619232,
-0.06398183852434158,
-0.055136390030384064,
-0.2367624044418335,
-0.3752836585044861,
0.31521666049957275,
0.07368776947259903,
0.19164811074733734,
0.246759295463562,
0.1559440642595291,
0.11791650950908661,
-0.0034270789474248886,
-0.4624445140361786,
0.021423215046525,
0.05736318975687027,
-0.053052082657814026,
0.4385029971599579,
0.09413187205791473,
0.30289679765701294,
-0.048961903899908066,
0.2516699731349945,
0.0879015177488327,
-0.3039148449897766,
-0.3183206021785736,
-0.06146018207073212,
0.1019514873623848,
-0.11200783401727676,
-0.10638388991355896,
-0.08017497509717941,
-0.057941045612096786,
0.02702062577009201,
-0.26533982157707214,
0.4030000567436218,
0.42651891708374023,
0.06581243872642517,
0.09320469945669174,
0.2430691421031952,
0.0635177344083786,
0.027604393661022186,
0.0456230528652668,
0.041855163872241974,
0.14163556694984436,
0.08319313824176788,
-0.1629585325717926,
-0.42328184843063354,
-0.03531288728117943,
0.20739434659481049,
0.08587124943733215,
0.27462348341941833,
0.3464893102645874,
0.117063969373703,
-0.011985883116722107,
-0.053780317306518555,
0.07913747429847717,
0.4263608157634735,
0.2508850693702698,
-0.2633906602859497,
0.08604909479618073,
0.35777339339256287,
0.2874632179737091,
-0.2599606513977051,
-0.050261858850717545,
0.13286688923835754,
-0.06902230530977249,
0.0542515404522419,
0.2747037708759308,
0.16856904327869415,
0.06899560987949371,
0.13179993629455566,
-0.02333584986627102,
0.4301828444004059,
-0.01979292556643486,
0.03840608149766922,
0.054263677448034286,
-0.0853206217288971,
-0.0932244211435318,
0.35818058252334595,
0.2339422106742859,
0.22023355960845947,
0.1882757544517517,
-0.08795879036188126,
0.18395103514194489,
-0.32676059007644653,
0.28616008162498474,
0.02429584413766861,
-0.3952659070491791,
0.15475186705589294,
0.44028440117836,
-0.12277586758136749,
0.042452529072761536,
-0.09368252754211426,
0.5871783494949341,
-0.1833411306142807,
-0.0820687785744667,
-0.1276053637266159,
0.18465080857276917,
-0.09656775742769241,
-0.2953051030635834,
0.061681561172008514,
-0.034255631268024445,
-0.08021952956914902,
0.04330293461680412,
-0.11274105310440063,
-0.20132403075695038,
0.16576406359672546,
-0.1072806566953659,
-0.07199995219707489,
-0.2751380503177643,
-0.11136310547590256,
0.029652804136276245,
0.24778923392295837,
-0.06964848190546036,
0.14950913190841675,
0.06554137170314789,
-0.03686933219432831,
0.20686368644237518,
0.2077956646680832,
0.3872980773448944,
0.2295108586549759,
0.42811158299446106,
0.006746796891093254,
-0.2003508061170578,
-0.0033365506678819656,
-0.21692371368408203,
0.14216017723083496,
-0.2348850667476654,
0.018787499517202377,
0.297948956489563,
0.2876243591308594,
-0.3045128583908081,
-0.08700479567050934,
0.0007598996162414551,
0.21697989106178284,
-0.27281004190444946,
0.3747320771217346,
-0.18825210630893707,
-0.0563383512198925,
-0.2607860267162323,
0.028227224946022034,
-0.5175700187683105,
-0.027030877768993378,
0.31045395135879517,
0.043754249811172485,
0.09157485514879227,
-0.34337636828422546,
0.14562420547008514,
0.15520231425762177,
0.4380221962928772,
0.23377221822738647,
0.06889417767524719,
-0.15636307001113892,
-0.25220242142677307,
-0.7678273916244507,
0.08753948658704758,
0.0531405545771122,
0.1073560118675232,
0.03259667754173279,
0.04498719424009323,
0.0020672082901000977,
0.055299609899520874,
-0.14824874699115753,
-0.2695773243904114,
0.007902679033577442,
-0.26420995593070984,
-0.06238684058189392,
-0.04367692396044731,
-0.3652142882347107,
0.032782141119241714,
0.3378710448741913,
-0.2157948911190033,
0.04562925174832344,
-0.23903776705265045,
0.0901973769068718,
-0.25792497396469116,
0.23746821284294128,
-0.0474858433008194,
-0.21081283688545227,
0.30576634407043457,
-0.07553144544363022,
0.11903175711631775,
-0.05379771441221237,
-0.13513325154781342,
-0.2811306416988373,
-0.21659381687641144,
-0.17046502232551575,
0.336145281791687,
-0.09625515341758728,
0.08516566455364227,
-0.17364448308944702,
-0.36266979575157166,
-0.30179309844970703,
0.30857259035110474,
0.09884956479072571,
-0.07962111383676529,
-0.1508045643568039,
0.14777570962905884,
-0.04387554153800011,
-0.10130614042282104,
0.00824939925223589,
0.30706587433815,
-0.01979464292526245,
0.18379662930965424,
-0.19441808760166168,
-0.3205251693725586,
0.832141637802124,
-0.25376448035240173,
-0.045844338834285736,
0.014814355410635471,
0.21091827750205994,
-0.06340467184782028,
-0.4280906915664673,
-0.6715936660766602,
0.3108884394168854,
0.1801355630159378,
0.1786961555480957,
-0.1712481528520584,
0.22614453732967377,
-0.3899369537830353,
0.03662717714905739,
-0.1689833104610443,
0.24420613050460815,
0.18062332272529602,
-0.10387912392616272,
0.14927557110786438,
-0.08748991787433624
] |
https://github.com/huggingface/datasets/issues/4732 | Document better that loading a dataset passing its name does not use the local script | That makes sense but I think having a line about it under https://huggingface.co/docs/datasets/installation#source the "source" header here would be useful. My mental model of `pip install -e .` does not include the fact that the source files aren't actually being used. | As reported by @TrentBrick here https://github.com/huggingface/datasets/issues/4725#issuecomment-1191858596, it could be more clear that loading a dataset by passing its name does not use the (modified) local script of it.
What he did:
- he installed `datasets` from source
- he modified locally `datasets/the_pile/the_pile.py` loading script
- he tried to load it but using `load_dataset("the_pile")` instead of `load_dataset("datasets/the_pile")`
- as explained here https://github.com/huggingface/datasets/issues/4725#issuecomment-1191040245:
- the former does not use the local script, but instead it downloads a copy of `the_pile.py` from our GitHub, caches it locally (inside `~/.cache/huggingface/modules`) and uses that.
He suggests adding a more clear explanation about this. He suggests adding it maybe in [Installation > source](https://huggingface.co/docs/datasets/installation))
CC: @stevhliu | 41 | Document better that loading a dataset passing its name does not use the local script
As reported by @TrentBrick here https://github.com/huggingface/datasets/issues/4725#issuecomment-1191858596, it could be more clear that loading a dataset by passing its name does not use the (modified) local script of it.
What he did:
- he installed `datasets` from source
- he modified locally `datasets/the_pile/the_pile.py` loading script
- he tried to load it but using `load_dataset("the_pile")` instead of `load_dataset("datasets/the_pile")`
- as explained here https://github.com/huggingface/datasets/issues/4725#issuecomment-1191040245:
- the former does not use the local script, but instead it downloads a copy of `the_pile.py` from our GitHub, caches it locally (inside `~/.cache/huggingface/modules`) and uses that.
He suggests adding a more clear explanation about this. He suggests adding it maybe in [Installation > source](https://huggingface.co/docs/datasets/installation))
CC: @stevhliu
That makes sense but I think having a line about it under https://huggingface.co/docs/datasets/installation#source the "source" header here would be useful. My mental model of `pip install -e .` does not include the fact that the source files aren't actually being used. | [
-0.06728801131248474,
-0.2245730608701706,
-0.05678287148475647,
0.14324796199798584,
0.1927424818277359,
-0.14800229668617249,
0.22318586707115173,
-0.036974746733903885,
0.23953351378440857,
0.0726543441414833,
-0.05654362589120865,
0.5195302963256836,
0.08183693885803223,
0.26037734746932983,
0.1648535430431366,
0.007300976663827896,
0.041000042110681534,
0.11630062013864517,
-0.27991431951522827,
-0.20179620385169983,
-0.08446108549833298,
0.1310185045003891,
0.006588354706764221,
0.13415950536727905,
-0.061844948679208755,
0.281333863735199,
0.0645708292722702,
0.32775476574897766,
-0.26187121868133545,
-0.4423177242279053,
0.2622164189815521,
0.32467058300971985,
-0.0640784204006195,
0.48007023334503174,
-0.0001077678389265202,
0.1328117698431015,
0.33479368686676025,
-0.10772363841533661,
-0.3509443998336792,
-0.20432834327220917,
-0.03716110810637474,
-0.44561296701431274,
0.31808072328567505,
-0.3023952841758728,
-0.016840504482388496,
-0.09454015642404556,
0.01888643205165863,
-0.21885892748832703,
0.4034595489501953,
-0.00596995884552598,
0.2808719575405121,
0.45095592737197876,
0.06962902843952179,
-0.03794725239276886,
0.07009968906641006,
0.2688775360584259,
-0.10036396980285645,
0.5307562947273254,
0.27861708402633667,
0.06373271346092224,
-0.033075205981731415,
0.24866797029972076,
-0.13193659484386444,
0.06742534786462784,
0.5991107821464539,
-0.010796847753226757,
-0.11164697259664536,
-0.07123944163322449,
0.013986861333251,
0.16184654831886292,
0.3560410439968109,
-0.3770623803138733,
-0.49174702167510986,
-0.3079390525817871,
-0.08675205707550049,
-0.04872707650065422,
0.10527528822422028,
0.09820207208395004,
-0.21948851644992828,
0.2581239342689514,
-0.1980460286140442,
-0.18124812841415405,
-0.007462318986654282,
-0.07595434784889221,
0.21298211812973022,
-0.030069880187511444,
-0.20566442608833313,
0.16032667458057404,
0.1219664067029953,
-0.0006995312869548798,
-0.05724720284342766,
-0.022144731134176254,
0.1031075268983841,
0.16436824202537537,
0.07611133903265,
0.16428741812705994,
0.19967490434646606,
0.5701287984848022,
0.24357426166534424,
0.11592157185077667,
0.015186905860900879,
0.09535235166549683,
-0.09323151409626007,
0.2652478814125061,
0.26597991585731506,
0.20572178065776825,
0.023592330515384674,
-0.05085684359073639,
0.154139906167984,
0.2774553596973419,
0.2670365571975708,
-0.12583577632904053,
0.04989299550652504,
-0.26070845127105713,
-0.141008660197258,
-0.26130178570747375,
0.27727168798446655,
-0.210580512881279,
-0.15223099291324615,
-0.03833718225359917,
0.2352258563041687,
-0.17770403623580933,
0.10778678953647614,
0.507148027420044,
-0.09074539691209793,
0.2167554795742035,
-0.04496687650680542,
0.1472054421901703,
-0.08973676711320877,
0.04374569654464722,
-0.29619574546813965,
0.08863919973373413,
-0.30588483810424805,
0.13785268366336823,
0.08951801061630249,
-0.49968886375427246,
0.5755370855331421,
-0.011406103149056435,
0.19939839839935303,
0.15090182423591614,
-0.18966254591941833,
0.24595759809017181,
0.10735251754522324,
0.2718620300292969,
-0.10610459744930267,
0.11538989096879959,
0.29594841599464417,
0.008841022849082947,
-0.25116056203842163,
0.08776715397834778,
-0.38558241724967957,
-0.35967791080474854,
-0.09888675808906555,
0.20092236995697021,
-0.13477346301078796,
0.07390156388282776,
-0.3537040948867798,
-0.17836447060108185,
-0.019748792052268982,
-0.09263040125370026,
0.12977828085422516,
-0.025550324469804764,
-0.10189665853977203,
-0.2552640438079834,
0.2872253954410553,
0.5414102077484131,
-0.20591488480567932,
-0.27301090955734253,
-0.10834981501102448,
-0.4005737602710724,
0.04127033054828644,
0.26739686727523804,
-0.3426777720451355,
0.2233339250087738,
-0.3387916088104248,
-0.15129852294921875,
0.15206238627433777,
-0.6559593081474304,
-0.16958390176296234,
0.47024446725845337,
-0.15866276621818542,
0.19684816896915436,
0.19877567887306213,
-0.13185593485832214,
-0.1638910323381424,
-0.10859894007444382,
0.20514947175979614,
-0.07496055215597153,
0.12502019107341766,
0.18598590791225433,
-0.1941787302494049,
-0.31088289618492126,
-0.21194113790988922,
0.08146804571151733,
-0.20013608038425446,
0.21399271488189697,
-0.010947003960609436,
-0.1859302818775177,
0.28317025303840637,
0.09757785499095917,
0.0033522339072078466,
0.2696184515953064,
0.33689695596694946,
0.3577902913093567,
-0.104281485080719,
0.13769903779029846,
-0.44278907775878906,
0.223709374666214,
-0.15746288001537323,
0.0173279270529747,
-0.24927391111850739,
-0.5529394745826721,
-0.3511918783187866,
0.156454935669899,
-0.20257289707660675,
-0.2670257091522217,
0.15153874456882477,
0.17800173163414001,
0.12281166017055511,
-0.034721169620752335,
-0.27905401587486267,
0.2947288453578949,
-0.06477158516645432,
0.25003698468208313,
-0.5894606709480286,
-0.04714454337954521,
-0.13200978934764862,
0.04932144284248352,
-0.057714320719242096,
0.1060573011636734,
0.10645657777786255,
-0.19938799738883972,
0.09570199996232986,
0.582624614238739,
-0.14980457723140717,
0.3116036653518677,
-0.10570228844881058,
0.1379234939813614,
0.05233774706721306,
-0.04050058871507645,
0.20053298771381378,
-0.15432830154895782,
0.11862819641828537,
0.03672073781490326,
-0.25648510456085205,
0.033729471266269684,
-0.2007535994052887,
0.12490162253379822,
0.18150077760219574,
-0.25662925839424133,
0.12107795476913452,
-0.02994268387556076,
-0.3131372928619385,
-0.35996782779693604,
0.06416206061840057,
0.12601521611213684,
0.4784287214279175,
0.2079799771308899,
-0.10181660950183868,
-0.016350246965885162,
0.23477526009082794,
0.05440152809023857,
-0.19077259302139282,
0.19152477383613586,
-0.04439502954483032,
-0.01440522726625204,
0.18551504611968994,
-0.006182793527841568,
0.37725454568862915,
0.2783582806587219,
-0.04508935287594795,
0.17163604497909546,
0.18337269127368927,
-0.19561690092086792,
0.02564632147550583,
0.2036139965057373,
-0.32636454701423645,
0.049970127642154694,
-0.1672595888376236,
-0.08151422441005707,
-0.17602476477622986,
0.0063624754548072815,
-0.1340731680393219,
0.12513403594493866,
-0.5399350523948669,
0.06589340418577194,
-0.29903683066368103,
-0.14748606085777283,
-0.41708821058273315,
-0.1733659952878952,
-0.1532294750213623,
-0.2692048251628876,
-0.07661128044128418,
0.20084020495414734,
-0.13219507038593292,
0.13016049563884735,
0.11469237506389618,
0.01921825110912323,
-0.21755798161029816,
-0.3300130069255829,
-0.26604774594306946,
0.01929222047328949,
-0.09334934502840042,
0.05505668744444847,
0.2162078320980072,
0.21425247192382812,
0.39654743671417236,
-0.3846474587917328,
-0.10917344689369202,
-0.24757343530654907,
-0.1861179769039154,
0.20843005180358887,
-0.25889188051223755,
0.3636624217033386,
0.3474732041358948,
0.26284950971603394,
-0.08722124993801117,
-0.19384707510471344,
0.3562523424625397,
-0.27394309639930725,
-0.08042767643928528,
-0.2713164687156677,
0.0490022748708725,
-0.1693723201751709,
-0.29114601016044617,
-0.3776061236858368,
-0.05729624629020691,
-0.465069055557251,
0.40291720628738403,
0.10836176574230194,
0.09629741311073303,
0.1857047826051712,
0.11736467480659485,
0.25210273265838623,
-0.07097727805376053,
0.23629896342754364,
-0.11773554980754852,
-0.5423983335494995,
0.0913817510008812,
-0.2958114743232727,
-0.12182934582233429,
0.08708475530147552,
0.09523219615221024,
0.17793650925159454,
-0.1272609978914261,
-0.27996826171875,
-0.43821778893470764,
-0.1517660766839981,
-0.02525155618786812,
0.11316792666912079,
0.3136874735355377,
0.28964006900787354,
0.09372690320014954,
-0.14576885104179382,
-0.06083063408732414,
-0.24431581795215607,
-0.012068741023540497,
-0.2622683644294739,
-0.07148247212171555,
0.24384158849716187,
0.3450162410736084,
-0.042897164821624756,
0.736429750919342,
0.17489834129810333,
0.09256169945001602,
0.3543156087398529,
-0.05741889029741287,
0.5847697854042053,
-0.2416764497756958,
-0.3348383903503418,
-0.01928107440471649,
-0.00927703082561493,
-0.031427863985300064,
0.3139472007751465,
0.15251636505126953,
0.4320835471153259,
-0.16408517956733704,
-0.0572412945330143,
-0.22617051005363464,
-0.1979059875011444,
0.033613260835409164,
0.2832324504852295,
0.045324236154556274,
0.07389545440673828,
0.03265107423067093,
0.05996237322688103,
0.060171179473400116,
0.011024653911590576,
0.38444769382476807,
0.1682625412940979,
0.11548806726932526,
-0.3796969950199127,
0.13341696560382843,
-0.4841238260269165,
0.11300206184387207,
-0.08714717626571655,
-0.010005536489188671,
-0.09002189338207245,
-0.14217230677604675,
0.24241258203983307,
0.018660740926861763,
0.4724133014678955,
-0.008154401555657387,
-0.029968105256557465,
-0.08888278901576996,
-0.10526733100414276,
-0.5381239652633667,
0.01117977499961853,
-0.0227273628115654,
0.13920564949512482,
0.17070622742176056,
0.2559018135070801,
-0.5477463603019714,
-0.40775632858276367,
0.3584845960140228,
0.17097298800945282,
-0.021454859524965286,
-0.24898074567317963,
-0.48050397634506226,
-0.4125639796257019,
-0.3952759802341461,
-0.04187469929456711,
0.14560699462890625,
-0.129843071103096,
-0.02052583172917366,
0.16421276330947876,
0.19154894351959229,
0.20007503032684326,
0.1881176233291626,
-0.013668895699083805,
0.2791529595851898,
0.03515138477087021,
-0.036232657730579376,
0.2861729860305786,
0.334388792514801,
0.24463847279548645,
0.8791506290435791,
-0.43754762411117554,
-0.26515138149261475,
-0.19603490829467773,
0.03557209670543671,
0.2054394781589508,
0.451625257730484,
-0.04384163022041321,
-0.144955575466156,
0.12012500315904617,
0.12017303705215454,
-0.17205893993377686,
0.10678442567586899,
0.20179055631160736,
-0.19280454516410828,
-0.11094480752944946,
-0.5831294059753418,
0.42063722014427185,
0.19276928901672363,
-0.23284460604190826,
0.1908620297908783,
0.5007584691047668,
-0.16963498294353485,
0.13167130947113037,
-0.08885849267244339,
0.875724196434021,
-0.060403816401958466,
0.25618451833724976,
0.3591613471508026,
-0.016489557921886444,
0.3528366684913635,
-0.1210779920220375,
-0.3094829320907593,
-0.28750231862068176,
-0.04451093450188637,
0.050519563257694244,
-0.020589593797922134,
0.19715291261672974,
0.1623309999704361,
-0.2356395721435547,
0.4860348105430603,
-0.1739923357963562,
0.2635366916656494,
-0.028518887236714363,
0.35243237018585205,
-0.18147876858711243,
-0.3051469624042511,
-0.18425709009170532,
0.1736518293619156,
0.1163356751203537,
0.32772189378738403,
-0.13749945163726807,
-0.084462009370327,
-0.025139179080724716,
-0.36460983753204346,
-0.028094179928302765,
-0.18954569101333618,
-0.15852199494838715,
-0.02622660994529724,
0.12028509378433228,
-0.16424645483493805,
0.04968002066016197,
0.31951066851615906,
0.23900894820690155,
0.17260491847991943,
-0.23813572525978088,
0.025350574404001236,
-0.057051874697208405,
-0.085154689848423,
-0.012152300216257572,
0.05787065625190735,
0.26116612553596497,
0.02650325745344162,
-0.26283201575279236,
-0.13938471674919128,
-0.11793897300958633,
-0.2729995846748352,
0.0014159232378005981,
0.13456536829471588,
0.03489287570118904,
-0.46094074845314026,
-0.4575224816799164,
-0.1078442931175232,
0.13648517429828644,
-0.027143854647874832,
0.15976330637931824,
0.11928017437458038,
-0.047988053411245346,
0.06043297052383423,
0.12190988659858704,
-0.27022188901901245,
-0.21545930206775665,
0.3973088264465332,
-0.24835509061813354,
-0.2820981740951538,
0.14603465795516968,
-0.1014818400144577,
-0.22994911670684814,
-0.16567081212997437,
-0.2175542712211609,
0.3478298783302307,
-0.3377368152141571,
-0.12820909917354584,
0.39270278811454773,
0.03923916816711426,
-0.04719677194952965,
0.11879058182239532,
0.03264445438981056,
-0.02345801144838333,
-0.09692931175231934,
-0.14840102195739746,
-0.26612216234207153,
0.3362428545951843,
0.14855611324310303,
0.1442427933216095,
0.29647931456565857,
-0.01944996416568756,
0.18918418884277344,
0.020662587136030197,
-0.409025639295578,
0.04541138559579849,
0.10360496491193771,
-0.08835922926664352,
0.5259807109832764,
0.19640681147575378,
0.34425586462020874,
-0.07602524757385254,
0.16897054016590118,
0.09311898052692413,
-0.34519755840301514,
-0.26444488763809204,
-0.05281766504049301,
0.12424580752849579,
-0.10640225559473038,
-0.1574172079563141,
0.04255680367350578,
0.010578066110610962,
0.021145062521100044,
-0.23030491173267365,
0.4392319321632385,
0.417294979095459,
0.08020973205566406,
0.103721983730793,
0.06115403398871422,
0.20566394925117493,
0.003885950893163681,
0.07616721093654633,
-0.033253200352191925,
0.2293214499950409,
0.1562606692314148,
-0.06804811954498291,
-0.3263346552848816,
-0.10297286510467529,
0.18248771131038666,
0.12822067737579346,
0.37628042697906494,
0.3828529715538025,
0.06403333693742752,
-0.1050911694765091,
0.019549798220396042,
0.07751498371362686,
0.41905677318573,
0.2819470763206482,
-0.267406165599823,
0.09867840260267258,
0.4363204538822174,
0.2642352283000946,
-0.17105723917484283,
-0.051313988864421844,
0.1629805564880371,
-0.06509912014007568,
0.08880938589572906,
0.37780672311782837,
0.3374902606010437,
-0.11175580322742462,
0.22717879712581635,
0.0026018470525741577,
0.43958795070648193,
-0.04684274643659592,
0.05325622111558914,
0.14699411392211914,
-0.2022913098335266,
-0.007719460874795914,
0.19396333396434784,
0.2429238110780716,
0.28727078437805176,
0.2605610489845276,
-0.06844780594110489,
0.23084481060504913,
-0.28084152936935425,
0.29680579900741577,
-0.12980955839157104,
-0.35364267230033875,
0.05819737911224365,
0.27404725551605225,
-0.021855130791664124,
0.07692249864339828,
-0.01988855004310608,
0.462842732667923,
-0.14055000245571136,
-0.06752842664718628,
-0.21192814409732819,
0.22666986286640167,
-0.061206184327602386,
-0.30520105361938477,
0.1106865257024765,
0.0370803102850914,
-0.014056555926799774,
0.04040751978754997,
-0.09153221547603607,
-0.22761009633541107,
0.051338404417037964,
-0.07000865042209625,
-0.05595394968986511,
-0.2397863119840622,
-0.036279261112213135,
-0.039233580231666565,
0.17319351434707642,
-0.06619130820035934,
0.13168786466121674,
0.07560642808675766,
-0.011325076222419739,
0.07893358170986176,
0.2538282871246338,
0.4819534718990326,
0.2228815108537674,
0.4545133411884308,
-0.037399955093860626,
-0.36228981614112854,
0.11100609600543976,
-0.26436975598335266,
0.07538720965385437,
-0.33403974771499634,
0.11594723165035248,
0.29463285207748413,
0.2600097060203552,
-0.3326437771320343,
-0.1327947974205017,
-0.08066171407699585,
0.1478026658296585,
-0.3382912576198578,
0.43295764923095703,
-0.14077937602996826,
-0.1396152675151825,
-0.12330156564712524,
0.016411103308200836,
-0.5147426128387451,
0.049876388162374496,
0.3056949973106384,
0.081608846783638,
0.040404390543699265,
-0.349759578704834,
0.12138114869594574,
0.23059643805027008,
0.32640936970710754,
0.3209298551082611,
0.1516808718442917,
-0.2004600614309311,
-0.19209730625152588,
-0.8525384068489075,
0.017837874591350555,
-0.09408393502235413,
0.03268183767795563,
0.07319234311580658,
-0.03901658207178116,
-0.031366631388664246,
0.16947844624519348,
-0.22436057031154633,
-0.3428634703159332,
0.06349100172519684,
-0.21163269877433777,
0.0651228278875351,
-0.05643606558442116,
-0.3615851402282715,
0.042265817523002625,
0.341640830039978,
-0.31772860884666443,
-0.0510871447622776,
-0.21685869991779327,
0.04664292931556702,
-0.24236853420734406,
0.2728838324546814,
0.08877725899219513,
-0.1540812999010086,
0.33882054686546326,
-0.04848305135965347,
0.1848304569721222,
-0.0500500351190567,
-0.16325496137142181,
-0.24386656284332275,
-0.08297163993120193,
-0.29584482312202454,
0.3586582839488983,
-0.1636088639497757,
0.10412967205047607,
-0.3331649899482727,
-0.4157921373844147,
-0.3914940655231476,
0.25387030839920044,
0.199070006608963,
-0.1338317096233368,
-0.15353192389011383,
0.0956268459558487,
-0.03698614239692688,
-0.039541859179735184,
-0.025299180299043655,
0.25358909368515015,
-0.04048870503902435,
0.11978457868099213,
-0.17989078164100647,
-0.32482847571372986,
0.734898567199707,
-0.20070715248584747,
0.043925900012254715,
0.03548968955874443,
0.2544647455215454,
-0.09002435952425003,
-0.29307451844215393,
-0.6065157055854797,
0.2761531472206116,
0.15069346129894257,
0.1688401997089386,
-0.208726167678833,
0.24251773953437805,
-0.35475605726242065,
0.0031742192804813385,
-0.1664792150259018,
0.27363044023513794,
0.04408231005072594,
-0.09846251457929611,
0.17640748620033264,
-0.2252998799085617
] |
https://github.com/huggingface/datasets/issues/4732 | Document better that loading a dataset passing its name does not use the local script | Thanks for sharing your perspective. I think the `load_dataset` function is the only one that pulls from GitHub, and since this use-case is very specific, I don't think we need to include such a broad clarification in the Installation section.
Feel free to check out the linked PR and let me know if it needs any additional explanation 😊 | As reported by @TrentBrick here https://github.com/huggingface/datasets/issues/4725#issuecomment-1191858596, it could be more clear that loading a dataset by passing its name does not use the (modified) local script of it.
What he did:
- he installed `datasets` from source
- he modified locally `datasets/the_pile/the_pile.py` loading script
- he tried to load it but using `load_dataset("the_pile")` instead of `load_dataset("datasets/the_pile")`
- as explained here https://github.com/huggingface/datasets/issues/4725#issuecomment-1191040245:
- the former does not use the local script, but instead it downloads a copy of `the_pile.py` from our GitHub, caches it locally (inside `~/.cache/huggingface/modules`) and uses that.
He suggests adding a more clear explanation about this. He suggests adding it maybe in [Installation > source](https://huggingface.co/docs/datasets/installation))
CC: @stevhliu | 59 | Document better that loading a dataset passing its name does not use the local script
As reported by @TrentBrick here https://github.com/huggingface/datasets/issues/4725#issuecomment-1191858596, it could be more clear that loading a dataset by passing its name does not use the (modified) local script of it.
What he did:
- he installed `datasets` from source
- he modified locally `datasets/the_pile/the_pile.py` loading script
- he tried to load it but using `load_dataset("the_pile")` instead of `load_dataset("datasets/the_pile")`
- as explained here https://github.com/huggingface/datasets/issues/4725#issuecomment-1191040245:
- the former does not use the local script, but instead it downloads a copy of `the_pile.py` from our GitHub, caches it locally (inside `~/.cache/huggingface/modules`) and uses that.
He suggests adding a more clear explanation about this. He suggests adding it maybe in [Installation > source](https://huggingface.co/docs/datasets/installation))
CC: @stevhliu
Thanks for sharing your perspective. I think the `load_dataset` function is the only one that pulls from GitHub, and since this use-case is very specific, I don't think we need to include such a broad clarification in the Installation section.
Feel free to check out the linked PR and let me know if it needs any additional explanation 😊 | [
0.01423533633351326,
-0.1659870594739914,
-0.06281080842018127,
0.13313141465187073,
0.17901405692100525,
-0.10626693814992905,
0.3312259018421173,
-0.0992247611284256,
0.3050311505794525,
0.10479962080717087,
-0.07774697989225388,
0.3792703449726105,
0.14354804158210754,
0.23274226486682892,
0.2197219431400299,
0.00259510800242424,
0.04282288998365402,
0.01985323429107666,
-0.2629155218601227,
-0.10624010115861893,
-0.18948733806610107,
0.09794597327709198,
-0.0002469494938850403,
0.1295395791530609,
-0.05018356814980507,
0.23168593645095825,
0.020702889189124107,
0.3950042724609375,
-0.2147718369960785,
-0.5013003945350647,
0.36313843727111816,
0.23552927374839783,
0.015008989721536636,
0.4814508259296417,
-0.00010591092723188922,
0.17796576023101807,
0.4016205072402954,
-0.16259758174419403,
-0.2954203188419342,
-0.21550817787647247,
0.015423744916915894,
-0.24413041770458221,
0.2784523069858551,
-0.3291413486003876,
-0.09341708570718765,
0.009642674587666988,
0.03835004195570946,
-0.2728198170661926,
0.31754541397094727,
-0.02795550972223282,
0.28677162528038025,
0.42448097467422485,
0.003953080624341965,
-0.10944998264312744,
0.0649559423327446,
0.29565563797950745,
-0.1170959398150444,
0.6369635462760925,
0.251257061958313,
0.08382431417703629,
-0.0721920058131218,
0.21809308230876923,
0.010308021679520607,
0.11303147673606873,
0.6383373737335205,
-0.010568671859800816,
-0.05952809005975723,
-0.12696966528892517,
0.03179675340652466,
0.09053118526935577,
0.3358972370624542,
-0.40603241324424744,
-0.4214199185371399,
-0.26353296637535095,
0.044472627341747284,
0.011979261413216591,
0.124547079205513,
0.14840544760227203,
-0.21081222593784332,
0.28663790225982666,
-0.27395498752593994,
-0.24746625125408173,
-0.0392950102686882,
-0.10471847653388977,
0.14891371130943298,
-0.11585260927677155,
-0.3197576701641083,
0.19264844059944153,
0.10764540731906891,
-0.09901809692382812,
-0.29687899351119995,
-0.14951445162296295,
0.146604984998703,
0.14446106553077698,
0.10669078677892685,
0.07815316319465637,
0.17482957243919373,
0.4808972179889679,
0.36599233746528625,
0.12470339983701706,
-0.07645739614963531,
0.013821803033351898,
-0.14840002357959747,
0.20552557706832886,
0.26337340474128723,
0.21683700382709503,
0.17274974286556244,
-0.06922595202922821,
0.1677946150302887,
0.26940253376960754,
0.17702935636043549,
-0.07534069567918777,
-0.0663330927491188,
-0.16349977254867554,
-0.16888707876205444,
-0.24197134375572205,
0.3600239157676697,
-0.27516892552375793,
-0.10906879603862762,
-0.016521703451871872,
0.21017000079154968,
-0.20081909000873566,
0.049573637545108795,
0.5949177742004395,
-0.03235039487481117,
0.007945379242300987,
-0.11409886926412582,
0.1795610636472702,
0.03291618824005127,
0.028889641165733337,
-0.3040941655635834,
0.09991173446178436,
-0.20848411321640015,
0.28174442052841187,
0.02811870351433754,
-0.6517078280448914,
0.5545942783355713,
-0.0758504793047905,
0.36148613691329956,
0.07902833819389343,
-0.22562767565250397,
0.21632254123687744,
0.16011174023151398,
0.33455753326416016,
-0.10098204016685486,
0.08114385604858398,
0.2897301912307739,
-0.09278915822505951,
-0.24464747309684753,
0.17582647502422333,
-0.2691815495491028,
-0.4005155563354492,
-0.07495024800300598,
0.1820913553237915,
-0.1993623822927475,
0.07423490285873413,
-0.4146558344364166,
-0.10368995368480682,
-0.06003355234861374,
0.13009421527385712,
0.11423025280237198,
0.06499829143285751,
-0.0958254486322403,
-0.31181493401527405,
0.2609265446662903,
0.5902904272079468,
-0.20819588005542755,
-0.29793688654899597,
-0.07883226871490479,
-0.4553685188293457,
-0.06400895863771439,
0.23804746568202972,
-0.3793887495994568,
0.15340332686901093,
-0.35518279671669006,
-0.03132085129618645,
0.12623025476932526,
-0.6396961808204651,
-0.08504313975572586,
0.4834444224834442,
-0.11426136642694473,
0.24251176416873932,
0.050079215317964554,
-0.2225552648305893,
-0.1874229907989502,
-0.11303114145994186,
0.20393019914627075,
-0.015187174081802368,
0.0851670578122139,
0.11045042425394058,
-0.09912903606891632,
-0.306056946516037,
-0.07223962992429733,
0.18612158298492432,
-0.23167090117931366,
0.3566301763057709,
0.07638620585203171,
-0.17302393913269043,
0.2532764673233032,
0.13453727960586548,
-0.07528997957706451,
0.26107752323150635,
0.28678345680236816,
0.24879233539104462,
-0.09506148844957352,
0.17549988627433777,
-0.5640437602996826,
0.29074549674987793,
-0.08432486653327942,
0.11853642016649246,
-0.21459607779979706,
-0.43480873107910156,
-0.3867955803871155,
0.13240671157836914,
-0.1690056174993515,
-0.22357726097106934,
0.1313704252243042,
0.22174613177776337,
0.08538411557674408,
-0.0944938063621521,
-0.24801647663116455,
0.29752659797668457,
-0.22756202518939972,
0.23556171357631683,
-0.49665677547454834,
-0.029547087848186493,
-0.11873253434896469,
0.11103440821170807,
0.09497040510177612,
0.011419817805290222,
0.11720141768455505,
-0.2996476888656616,
0.13507556915283203,
0.6059452295303345,
-0.03552122786641121,
0.2089715301990509,
-0.03215531259775162,
0.10544101148843765,
0.060683831572532654,
0.02513071522116661,
0.21557208895683289,
-0.1894395351409912,
0.11470704525709152,
0.03831923007965088,
-0.24253472685813904,
0.17847977578639984,
-0.05770501121878624,
0.08619333803653717,
0.19951830804347992,
-0.23049065470695496,
0.1770554631948471,
0.0878763496875763,
-0.3444935977458954,
-0.3693261444568634,
-0.09917543828487396,
0.15561939775943756,
0.469438374042511,
0.20239892601966858,
-0.21523495018482208,
-0.025368548929691315,
0.2750246524810791,
-0.07881908118724823,
-0.23998498916625977,
0.12755952775478363,
-0.04846695810556412,
-0.05554960295557976,
0.17168642580509186,
-0.07368185371160507,
0.40465688705444336,
0.23912373185157776,
-0.11506980657577515,
0.16507230699062347,
0.14096800982952118,
-0.19890259206295013,
0.03715576231479645,
0.13378936052322388,
-0.11134567111730576,
-0.1660870909690857,
-0.25862929224967957,
-0.10963219404220581,
-0.1521560102701187,
-0.1271456480026245,
-0.08925829827785492,
0.11507859826087952,
-0.5151035189628601,
-0.07417498528957367,
-0.257449209690094,
-0.3400988280773163,
-0.4015553295612335,
-0.04201139882206917,
-0.3114270269870758,
-0.19525684416294098,
-0.25626617670059204,
0.12356947362422943,
-0.14313670992851257,
0.10345631837844849,
0.1301753669977188,
0.17115570604801178,
-0.22652778029441833,
-0.27640795707702637,
-0.15819334983825684,
0.002513477811589837,
-0.09671912342309952,
0.08889244496822357,
0.2134963572025299,
0.07681689411401749,
0.3184395432472229,
-0.3806453049182892,
-0.1169670969247818,
-0.2528567612171173,
-0.1473386138677597,
0.24482621252536774,
-0.24644817411899567,
0.2787981331348419,
0.21451915800571442,
0.3005955219268799,
-0.044884972274303436,
-0.12704455852508545,
0.2952825427055359,
-0.168229341506958,
-0.12365002185106277,
-0.3589801490306854,
0.11645769327878952,
-0.2254721224308014,
-0.3127208948135376,
-0.3139076232910156,
-0.04021191596984863,
-0.42147380113601685,
0.3637332320213318,
0.28259924054145813,
0.1256507933139801,
0.2378145158290863,
0.014084803871810436,
0.3114008903503418,
-0.1449926644563675,
0.14672355353832245,
-0.1916821151971817,
-0.6245344877243042,
0.11093022674322128,
-0.3153853714466095,
-0.20363761484622955,
0.12299144268035889,
0.2694621682167053,
0.04073944687843323,
-0.17037850618362427,
-0.36875617504119873,
-0.35429009795188904,
-0.07154843211174011,
0.10925178229808807,
0.25385063886642456,
0.2592467963695526,
0.2120572328567505,
0.03740958869457245,
-0.11155354231595993,
-0.14727109670639038,
-0.5347938537597656,
0.01913534104824066,
-0.06548632681369781,
-0.11983370035886765,
0.2918853163719177,
0.25226351618766785,
-0.1383223831653595,
0.7254878878593445,
0.17994974553585052,
-0.0029272735118865967,
0.27205151319503784,
-0.09510864317417145,
0.5440716743469238,
-0.24195998907089233,
-0.17031966149806976,
0.07952621579170227,
-0.015202596783638,
0.03704880177974701,
0.37513965368270874,
0.14157593250274658,
0.29340896010398865,
-0.19321906566619873,
-0.16378697752952576,
-0.25499215722084045,
-0.19218847155570984,
-0.04213345795869827,
0.14231058955192566,
-0.027560889720916748,
0.09574367105960846,
-0.0048533156514167786,
0.0424373596906662,
0.16734132170677185,
0.0628734678030014,
0.4645376205444336,
0.2162753939628601,
0.1706996113061905,
-0.38048839569091797,
0.15136390924453735,
-0.4816684126853943,
0.12897972762584686,
-0.059571802616119385,
-0.0009432565420866013,
-0.0932445153594017,
-0.25089651346206665,
0.1587950587272644,
0.0635104775428772,
0.31047898530960083,
-0.03826288878917694,
-0.01806952804327011,
-0.005575130693614483,
-0.23260074853897095,
-0.43925729393959045,
-0.0013890452682971954,
0.06015590950846672,
0.24136249721050262,
0.054549649357795715,
0.42150261998176575,
-0.4255940020084381,
-0.4812842905521393,
0.30440473556518555,
0.1773432493209839,
-0.05160415545105934,
-0.29970571398735046,
-0.49458521604537964,
-0.4146336019039154,
-0.3787207007408142,
-0.04473603516817093,
0.08365722000598907,
-0.065555639564991,
-0.0002919791731983423,
0.22249479591846466,
0.21465058624744415,
0.15765061974525452,
0.18470962345600128,
0.10392947494983673,
0.2631481885910034,
0.1263522058725357,
-0.08318837732076645,
0.2782416343688965,
0.3682239353656769,
0.19509047269821167,
0.8239875435829163,
-0.28251731395721436,
-0.22458991408348083,
-0.018566153943538666,
0.025490224361419678,
0.16698342561721802,
0.49064022302627563,
-0.00333532621152699,
-0.12291684001684189,
0.1798175871372223,
0.03208952024579048,
-0.24473732709884644,
0.06614755839109421,
0.10148727148771286,
-0.31061944365501404,
-0.17586417496204376,
-0.5994820594787598,
0.4482595920562744,
-0.013337993994355202,
-0.2208932638168335,
0.22766943275928497,
0.5657457113265991,
-0.10638593137264252,
0.10469405353069305,
-0.03140512853860855,
0.9667423367500305,
-0.11099477112293243,
0.1703157126903534,
0.3387622833251953,
-0.0324537456035614,
0.37779635190963745,
-0.037799153476953506,
-0.33790773153305054,
-0.2799634337425232,
-0.020185403525829315,
0.06435151398181915,
-0.0799960121512413,
0.24843215942382812,
0.11744409799575806,
-0.19982381165027618,
0.316135436296463,
-0.17369215190410614,
0.36815160512924194,
-0.021377431228756905,
0.37136879563331604,
-0.0902123898267746,
-0.2385191023349762,
-0.2238921821117401,
0.18097449839115143,
0.20298366248607635,
0.4004148542881012,
-0.14162874221801758,
-0.034879419952631,
0.02765735611319542,
-0.33743637800216675,
-0.07806182652711868,
-0.11346650123596191,
-0.0790363997220993,
-0.016489136964082718,
0.15542913973331451,
-0.03296065330505371,
0.07231010496616364,
0.2576950788497925,
0.34377533197402954,
0.120867520570755,
-0.22817277908325195,
0.05321680009365082,
-0.09472610801458359,
0.04410242289304733,
-0.005468978546559811,
0.07535823434591293,
0.3520127832889557,
-0.09760712087154388,
-0.2042963206768036,
-0.13160541653633118,
-0.1286114901304245,
-0.3364347815513611,
-0.10290397703647614,
0.14749132096767426,
-0.1586080938577652,
-0.38945066928863525,
-0.43110036849975586,
-0.02654961496591568,
0.1692173182964325,
-0.02696029469370842,
0.15588563680648804,
0.15619033575057983,
-0.03659753128886223,
-0.07537896186113358,
0.13244886696338654,
-0.3293714225292206,
-0.28288733959198,
0.27870413661003113,
-0.12380828708410263,
-0.22130252420902252,
0.04185875877737999,
-0.05428842455148697,
-0.1829579770565033,
-0.16363933682441711,
-0.21247264742851257,
0.5274410247802734,
-0.27945607900619507,
-0.11149780452251434,
0.3309314250946045,
0.1394728273153305,
-0.14789605140686035,
0.16837142407894135,
0.003310486674308777,
0.048841945827007294,
-0.05924481898546219,
-0.22960661351680756,
-0.26483672857284546,
0.33391398191452026,
0.023623019456863403,
0.17236587405204773,
0.31001946330070496,
0.09519360959529877,
0.18214662373065948,
0.010769566521048546,
-0.41158953309059143,
-0.010575488209724426,
0.06004783511161804,
-0.08001763373613358,
0.515184760093689,
0.3032662570476532,
0.33448100090026855,
-0.0415927954018116,
0.17161919176578522,
0.06671389192342758,
-0.3074566721916199,
-0.2360350489616394,
-0.044738929718732834,
0.12489429116249084,
-0.12925872206687927,
-0.09758512675762177,
-0.013109336607158184,
0.018697839230298996,
0.04108470678329468,
-0.1288362592458725,
0.5408115983009338,
0.34780627489089966,
0.06348023563623428,
0.13372570276260376,
0.19700393080711365,
0.11905677616596222,
-0.06927726417779922,
0.10654366761445999,
0.008146435022354126,
0.3207552433013916,
0.1741316020488739,
-0.042641781270504,
-0.33800840377807617,
-0.08999571204185486,
0.11910397559404373,
0.13388623297214508,
0.23892483115196228,
0.448995441198349,
0.09119865298271179,
0.008960016071796417,
0.07418709993362427,
0.03137735277414322,
0.3382638394832611,
0.2562124729156494,
-0.306939959526062,
0.029108794406056404,
0.39909905195236206,
0.22588981688022614,
-0.1713288128376007,
-0.056760985404253006,
0.1625964641571045,
-0.14287452399730682,
0.014946196228265762,
0.4440770447254181,
0.24708256125450134,
0.21704697608947754,
0.14742711186408997,
-0.06670470535755157,
0.5204660892486572,
0.05706903338432312,
0.06264305114746094,
0.07976332306861877,
-0.12562109529972076,
-0.00751713290810585,
0.23345112800598145,
0.31399136781692505,
0.25723230838775635,
0.18024325370788574,
-0.1162177249789238,
0.2368910014629364,
-0.21791449189186096,
0.21321158111095428,
-0.02351650595664978,
-0.3916115164756775,
0.2092793881893158,
0.5083487033843994,
-0.1713584065437317,
0.0012543648481369019,
-0.03662700206041336,
0.38453730940818787,
-0.1659948080778122,
-0.053971946239471436,
-0.1581425964832306,
0.10207600891590118,
-0.048707738518714905,
-0.24045410752296448,
0.031498491764068604,
-0.06915200501680374,
-0.09405259788036346,
0.05344795808196068,
-0.14904990792274475,
-0.28435957431793213,
0.23879624903202057,
-0.1719929277896881,
-0.07024568319320679,
-0.20499524474143982,
-0.0328335165977478,
-0.036694057285785675,
0.13600598275661469,
-0.08083948493003845,
0.12250448018312454,
0.05898238345980644,
-0.04768197238445282,
0.20812411606311798,
0.21644936501979828,
0.4564550518989563,
0.1929258555173874,
0.4989653527736664,
-0.04613811522722244,
-0.1738646924495697,
0.042084433138370514,
-0.16153058409690857,
0.00571632944047451,
-0.2683151960372925,
0.11302703619003296,
0.352586030960083,
0.2631964087486267,
-0.22152602672576904,
-0.08691078424453735,
-0.04262393340468407,
0.11596530675888062,
-0.34237387776374817,
0.47245392203330994,
-0.2433781623840332,
-0.10924141108989716,
-0.12960664927959442,
0.1464105248451233,
-0.38703253865242004,
-0.02637585997581482,
0.2408086061477661,
0.13496823608875275,
0.023944899439811707,
-0.32046768069267273,
0.13049381971359253,
0.17285172641277313,
0.5207700729370117,
0.26123225688934326,
0.08655612170696259,
-0.21239641308784485,
-0.2872586250305176,
-0.770421028137207,
0.007051713764667511,
0.0325942263007164,
0.026503046974539757,
0.14250515401363373,
0.017057007178664207,
0.032676175236701965,
0.19469274580478668,
-0.31268221139907837,
-0.40368208289146423,
0.04138356074690819,
-0.2720792293548584,
0.053158488124608994,
-0.06403274834156036,
-0.362606942653656,
0.12546250224113464,
0.2547740042209625,
-0.20293384790420532,
0.05971510708332062,
-0.26020464301109314,
0.027818478643894196,
-0.2693328857421875,
0.23783418536186218,
0.16916926205158234,
-0.27063754200935364,
0.36062556505203247,
-0.0877864733338356,
0.05051369220018387,
-0.016772253438830376,
-0.2619520425796509,
-0.19867545366287231,
-0.087811678647995,
-0.22475959360599518,
0.30062052607536316,
-0.2211214303970337,
0.0741831436753273,
-0.2062368541955948,
-0.3410184383392334,
-0.3551625907421112,
0.21801719069480896,
0.08618426322937012,
-0.0862763449549675,
-0.16589532792568207,
0.0003272108733654022,
-0.10036426782608032,
-0.08056846261024475,
0.0697472095489502,
0.22879168391227722,
-0.016507230699062347,
0.12158864736557007,
-0.19281965494155884,
-0.16451822221279144,
0.7606509327888489,
-0.12913952767848969,
-0.015079197473824024,
0.007552584633231163,
0.18315616250038147,
-0.08917254954576492,
-0.3862040340900421,
-0.698641836643219,
0.33223217725753784,
0.21266596019268036,
0.20706707239151,
-0.27281326055526733,
0.21626663208007812,
-0.3676609396934509,
0.004222098737955093,
-0.18934662640094757,
0.16688565909862518,
-0.038810886442661285,
-0.16737781465053558,
0.10117392241954803,
-0.2258329838514328
] |
https://github.com/huggingface/datasets/issues/4730 | Loading imagenet-1k validation split takes much more RAM than expected | My bad, `482 * 418 * 50000 * 3 / 1000000 = 30221 MB` ( https://stackoverflow.com/a/42979315 ).
Meanwhile `256 * 256 * 50000 * 3 / 1000000 = 9830 MB`. We are loading the non-cropped images and that is why we take so much RAM. | ## Describe the bug
Loading into memory the validation split of imagenet-1k takes much more RAM than expected. Assuming ImageNet-1k is 150 GB, split is 50000 validation images and 1,281,167 train images, I would expect only about 6 GB loaded in RAM.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("imagenet-1k", split="validation")
print(dataset)
"""prints
Dataset({
features: ['image', 'label'],
num_rows: 50000
})
"""
pipe_inputs = dataset["image"]
# and wait :-)
```
## Expected results
Use only < 10 GB RAM when loading the images.
## Actual results

```
Using custom data configuration default
Reusing dataset imagenet-1k (/home/fxmarty/.cache/huggingface/datasets/imagenet-1k/default/1.0.0/a1e9bfc56c3a7350165007d1176b15e9128fcaf9ab972147840529aed3ae52bc)
Killed
```
## Environment info
- `datasets` version: 2.3.3.dev0
- Platform: Linux-5.15.0-41-generic-x86_64-with-glibc2.35
- Python version: 3.9.12
- PyArrow version: 7.0.0
- Pandas version: 1.3.5
- datasets commit: 4e4222f1b6362c2788aec0dd2cd8cede6dd17b80
| 45 | Loading imagenet-1k validation split takes much more RAM than expected
## Describe the bug
Loading into memory the validation split of imagenet-1k takes much more RAM than expected. Assuming ImageNet-1k is 150 GB, split is 50000 validation images and 1,281,167 train images, I would expect only about 6 GB loaded in RAM.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("imagenet-1k", split="validation")
print(dataset)
"""prints
Dataset({
features: ['image', 'label'],
num_rows: 50000
})
"""
pipe_inputs = dataset["image"]
# and wait :-)
```
## Expected results
Use only < 10 GB RAM when loading the images.
## Actual results

```
Using custom data configuration default
Reusing dataset imagenet-1k (/home/fxmarty/.cache/huggingface/datasets/imagenet-1k/default/1.0.0/a1e9bfc56c3a7350165007d1176b15e9128fcaf9ab972147840529aed3ae52bc)
Killed
```
## Environment info
- `datasets` version: 2.3.3.dev0
- Platform: Linux-5.15.0-41-generic-x86_64-with-glibc2.35
- Python version: 3.9.12
- PyArrow version: 7.0.0
- Pandas version: 1.3.5
- datasets commit: 4e4222f1b6362c2788aec0dd2cd8cede6dd17b80
My bad, `482 * 418 * 50000 * 3 / 1000000 = 30221 MB` ( https://stackoverflow.com/a/42979315 ).
Meanwhile `256 * 256 * 50000 * 3 / 1000000 = 9830 MB`. We are loading the non-cropped images and that is why we take so much RAM. | [
0.07649700343608856,
-0.25032949447631836,
-0.1554672122001648,
0.6247954368591309,
0.1433967649936676,
0.1404964029788971,
0.26671501994132996,
0.20433677732944489,
0.19151641428470612,
0.15608377754688263,
-0.1351902037858963,
0.0779588595032692,
-0.09449920058250427,
-0.22861187160015106,
0.04748710244894028,
-0.23469185829162598,
-0.022366665303707123,
-0.00987204909324646,
-0.041907019913196564,
0.02375442534685135,
-0.0991266667842865,
0.10138294100761414,
-0.2730354070663452,
-0.035801008343696594,
-0.40791529417037964,
0.25721606612205505,
-0.1522044539451599,
0.30739057064056396,
0.09787783026695251,
-0.3234243392944336,
0.35562509298324585,
-0.15398605167865753,
-0.03648674488067627,
0.3140556812286377,
-0.00011504000576678663,
-0.04215867817401886,
0.48487770557403564,
0.11285199224948883,
-0.11399224400520325,
0.5417653918266296,
-0.3315639793872833,
-0.2481972724199295,
-0.17876213788986206,
-0.004686497151851654,
0.12554961442947388,
0.12360874563455582,
-0.027537865564227104,
0.10481691360473633,
0.2894321084022522,
0.3174438178539276,
0.22043712437152863,
-0.03697089105844498,
-0.11439403891563416,
0.13637182116508484,
-0.04261007905006409,
0.0723673552274704,
-0.06395819038152695,
0.12806372344493866,
-0.11135050654411316,
-0.1899961233139038,
-0.047009341418743134,
0.4476239085197449,
0.11839555203914642,
-0.004929667338728905,
0.24640187621116638,
0.03259005397558212,
-0.31020039319992065,
-0.22318360209465027,
-0.022248949855566025,
0.07349083572626114,
-0.004623934626579285,
-0.032990165054798126,
0.13812723755836487,
-0.40488967299461365,
-0.282420814037323,
-0.28676581382751465,
0.26086676120758057,
0.30177199840545654,
-0.17225521802902222,
0.03496193885803223,
-0.5233067274093628,
-0.06332385540008545,
-0.17453977465629578,
0.15293313562870026,
-0.4092874526977539,
0.0977049320936203,
0.11160615086555481,
0.1467670500278473,
0.3444667160511017,
0.22390307486057281,
0.09321121126413345,
-0.2773755192756653,
0.04540981352329254,
0.09092801809310913,
-0.34781065583229065,
0.0023511461913585663,
-0.024786725640296936,
-0.2035309076309204,
0.09276042133569717,
-0.07893829047679901,
-0.12181676924228668,
-0.03625766932964325,
-0.07043872773647308,
-0.06394458562135696,
0.33211642503738403,
0.1744956076145172,
-0.47763288021087646,
0.5573175549507141,
-0.06417059898376465,
0.018091922625899315,
-0.06909836828708649,
-0.10995357483625412,
-0.008073247969150543,
-0.07058203965425491,
0.4521268606185913,
-0.1707870066165924,
-0.16651207208633423,
-0.062333181500434875,
-0.39985141158103943,
-0.017678018659353256,
-0.10759476572275162,
0.12660753726959229,
0.12277169525623322,
0.032183606177568436,
-0.30959510803222656,
0.0798921287059784,
-0.0006507821381092072,
-0.02270357310771942,
-0.2142234593629837,
-0.23587051033973694,
-0.36303719878196716,
0.11872139573097229,
-0.3520626127719879,
0.23784592747688293,
0.18438558280467987,
0.07057130336761475,
0.15258292853832245,
-0.07143587619066238,
-0.011921755969524384,
-0.14705899357795715,
0.031704068183898926,
-0.2076031118631363,
0.1709061861038208,
0.32229703664779663,
-0.39914581179618835,
-0.07848981767892838,
-0.08580951392650604,
0.36542314291000366,
-0.047693341970443726,
0.17743726074695587,
-0.32741108536720276,
-0.39294108748435974,
0.045566316694021225,
0.11807409673929214,
-0.05722929909825325,
0.1145811453461647,
-0.5406390428543091,
0.17829936742782593,
0.2123751938343048,
0.15433652698993683,
-0.04531107097864151,
-0.11693762242794037,
-0.5191735625267029,
-0.07452625781297684,
0.40048155188560486,
0.24167081713676453,
-0.30356860160827637,
-0.05458793789148331,
-0.23600460588932037,
-0.08450531959533691,
0.4132968783378601,
0.42798277735710144,
-0.15217560529708862,
0.4113733172416687,
-0.3007088303565979,
0.2793838381767273,
-0.0015197321772575378,
-0.34982407093048096,
-0.6384968161582947,
0.30593445897102356,
-0.08648824691772461,
0.3685378432273865,
-0.19263136386871338,
0.2854161560535431,
0.2593376934528351,
0.18519680202007294,
0.30870652198791504,
0.4963095784187317,
-0.06411860883235931,
0.18873745203018188,
-0.4883076846599579,
-0.23787221312522888,
-0.05686728656291962,
0.28775259852409363,
0.3743818700313568,
-0.1872483193874359,
-0.0016221776604652405,
0.16100917756557465,
0.44916850328445435,
0.16633766889572144,
-0.24079005420207977,
0.1390637755393982,
-0.0064148977398872375,
-0.04965290427207947,
0.09692025184631348,
-0.2191583216190338,
-0.20056569576263428,
0.4348820745944977,
0.021821636706590652,
-0.1620430052280426,
0.028704248368740082,
-0.04133922606706619,
-0.4521929621696472,
-0.11755023896694183,
-0.12290354073047638,
-0.1709500402212143,
0.06147506833076477,
-0.10198721289634705,
0.11833100020885468,
-0.22207635641098022,
0.22469769418239594,
0.745685875415802,
-0.20649075508117676,
0.12780769169330597,
-0.25986358523368835,
0.18217779695987701,
-0.004855973646044731,
-0.12007899582386017,
-0.2678750455379486,
-0.08077112585306168,
-0.09831466525793076,
-0.07403776049613953,
-0.17421594262123108,
0.451809287071228,
0.2851712107658386,
0.04571074619889259,
-0.4318481981754303,
-0.06282079219818115,
0.24128413200378418,
-0.3130216896533966,
0.14427025616168976,
0.16225968301296234,
0.01884426921606064,
-0.09497252106666565,
-0.22984415292739868,
0.20037338137626648,
-0.08286972343921661,
0.1383342444896698,
-0.09305078536272049,
-0.09389664977788925,
-0.05441408231854439,
0.03863196447491646,
-0.03292025998234749,
-0.15019986033439636,
0.07029438018798828,
-0.07994000613689423,
-0.11431799829006195,
0.287169486284256,
-0.1064915806055069,
-0.304983913898468,
0.3274993300437927,
-0.09114621579647064,
-0.17346400022506714,
0.05483970046043396,
-0.08063323050737381,
-0.1859857738018036,
0.25555211305618286,
-0.017465200275182724,
0.43854647874832153,
0.18294350802898407,
-0.13939429819583893,
0.2039177417755127,
-0.11099154502153397,
-0.035582203418016434,
0.07386599481105804,
0.22400493919849396,
0.2656007707118988,
-0.07402466982603073,
0.1416618973016739,
0.013340001925826073,
-0.23749196529388428,
0.10599322617053986,
0.08877120912075043,
0.053305044770240784,
-0.3179139494895935,
0.1905776709318161,
-0.16480356454849243,
-0.14579620957374573,
-0.19161678850650787,
0.4418407082557678,
-0.017321959137916565,
-0.18212732672691345,
-0.11079861223697662,
-0.018866892904043198,
0.1879713088274002,
0.010242894291877747,
-0.3416587710380554,
0.43988558650016785,
-0.010937465354800224,
-0.12408889085054398,
-0.13761918246746063,
0.27464187145233154,
-0.4259006381034851,
0.07261113822460175,
0.26013538241386414,
0.01662520319223404,
0.4875768721103668,
0.15616284310817719,
-0.24388249218463898,
0.4081140160560608,
-0.46528106927871704,
0.04220648109912872,
0.010833045467734337,
0.19819240272045135,
-0.07467779517173767,
0.10149046033620834,
-0.15160050988197327,
-0.006413926370441914,
0.10904745012521744,
0.21756866574287415,
-0.2529844343662262,
0.19770881533622742,
0.027136975899338722,
0.20094873011112213,
-0.14654824137687683,
-0.3194510340690613,
-0.07348126173019409,
-0.14191780984401703,
0.21802620589733124,
-0.03320550173521042,
0.21256832778453827,
0.34041300415992737,
0.22782759368419647,
-0.09428777545690536,
-0.09266500920057297,
0.023610541597008705,
-0.2919574975967407,
0.1102622002363205,
-0.0215095616877079,
0.1260971873998642,
-0.13630515336990356,
-0.34442049264907837,
-0.010524583980441093,
0.21743126213550568,
0.3336741328239441,
-0.7293585538864136,
0.16517668962478638,
-0.34870976209640503,
0.14255622029304504,
-0.24733051657676697,
-0.30618876218795776,
0.19778141379356384,
-0.117268405854702,
0.010188242420554161,
0.07504907250404358,
0.1189776062965393,
-0.11491178721189499,
-0.05440213531255722,
0.1665872186422348,
0.13674777746200562,
0.48109564185142517,
0.4648089110851288,
0.5474790334701538,
0.1954508125782013,
0.08785639703273773,
0.09959829598665237,
-0.11646346002817154,
0.027857400476932526,
-0.25446048378944397,
-0.4138321876525879,
0.3550645709037781,
-0.16721594333648682,
0.0289374440908432,
-0.01820927858352661,
0.0379486009478569,
-0.1392591893672943,
0.08770529925823212,
-0.10489889979362488,
-0.02802283875644207,
-0.0953560322523117,
0.25885793566703796,
-0.07391580939292908,
0.08878488093614578,
0.11800281703472137,
-0.009896930307149887,
-0.16498254239559174,
-0.20555007457733154,
0.0362972654402256,
-0.10344302654266357,
0.12041856348514557,
-0.12642963230609894,
0.039911214262247086,
0.13602016866207123,
-0.23148313164710999,
-0.07182365655899048,
-0.048317715525627136,
0.11753660440444946,
0.12793581187725067,
0.06793123483657837,
0.30460646748542786,
0.09294846653938293,
0.7450237274169922,
-0.1579241156578064,
-0.061050668358802795,
-0.06963277608156204,
0.047013238072395325,
-0.46448031067848206,
-0.247234046459198,
-0.21897363662719727,
0.07537376135587692,
0.3892635703086853,
0.5842911601066589,
-0.18309466540813446,
-0.04453529417514801,
0.5396132469177246,
0.24709786474704742,
-0.30300864577293396,
-0.3760650157928467,
-0.4409211277961731,
-0.07661755383014679,
-0.0370393842458725,
0.3079328238964081,
0.21977770328521729,
0.37582212686538696,
0.27968496084213257,
-0.1870611160993576,
-0.15127849578857422,
-0.14987245202064514,
0.07510460168123245,
0.05337266996502876,
0.3014775514602661,
-0.18824484944343567,
0.2533842921257019,
-0.04071725159883499,
-0.12454788386821747,
-0.033687442541122437,
0.5238097310066223,
-0.20274968445301056,
-0.2706061899662018,
-0.11446770280599594,
0.09704100340604782,
0.2829403281211853,
0.3591803014278412,
-0.04387158527970314,
-0.3942318856716156,
0.16805705428123474,
0.13830380141735077,
-0.4541068971157074,
0.4303680658340454,
0.2674328088760376,
-0.20335564017295837,
0.04331956058740616,
-0.41247043013572693,
0.3986886143684387,
0.4151287376880646,
-0.17565423250198364,
0.6192575693130493,
-0.0787106305360794,
-0.540808379650116,
0.16113916039466858,
0.18708720803260803,
0.8660666942596436,
-0.13173320889472961,
0.11540614068508148,
0.2766234278678894,
-0.17357027530670166,
-0.05170964077115059,
-0.08121705800294876,
0.25697022676467896,
-0.17671442031860352,
-0.24456678330898285,
0.17578324675559998,
-0.06886056065559387,
-0.14722400903701782,
0.2093668133020401,
0.1958901733160019,
0.12809322774410248,
-0.03349587321281433,
0.26544392108917236,
0.009114576503634453,
0.187062069773674,
0.05220010131597519,
-0.20679259300231934,
0.02443244680762291,
0.18398115038871765,
0.07641986012458801,
0.054171621799468994,
-0.06417065858840942,
0.159352645277977,
-0.08916352689266205,
-0.13019625842571259,
-0.32500147819519043,
0.09506316483020782,
-0.14389632642269135,
0.4470478892326355,
-0.008379947394132614,
0.2238665670156479,
-0.2520735561847687,
0.09472763538360596,
-0.14104601740837097,
0.2210026979446411,
0.15571554005146027,
0.2937041223049164,
0.01963859051465988,
0.1605008840560913,
0.29849129915237427,
-0.29928353428840637,
0.3805168867111206,
-0.019865158945322037,
-0.37788698077201843,
-0.10523662716150284,
-0.02722640335559845,
-0.35892248153686523,
-0.09942290186882019,
0.24507102370262146,
0.18087279796600342,
-0.2253435105085373,
-0.28312361240386963,
-0.1470748484134674,
0.12590035796165466,
-0.0462113656103611,
0.18018803000450134,
-0.035169973969459534,
-0.0890062153339386,
0.5852649807929993,
-0.060884762555360794,
-0.2973042130470276,
-0.03496916964650154,
0.29379624128341675,
0.2264120876789093,
-0.05701477825641632,
0.2416069060564041,
-0.20621003210544586,
-0.09960900992155075,
-0.12891151010990143,
0.08385517448186874,
0.48564019799232483,
-0.40802401304244995,
0.29321742057800293,
-0.34907740354537964,
-0.14954079687595367,
-0.15632735192775726,
-0.12683311104774475,
0.17916856706142426,
-0.3008458614349365,
-0.12823258340358734,
-0.09607578814029694,
-0.2690958082675934,
0.1815108358860016,
-0.10371269285678864,
0.2814147472381592,
-0.21173247694969177,
-0.17872017621994019,
-0.23770102858543396,
0.20752370357513428,
-0.32023608684539795,
-0.06938888877630234,
0.09732044488191605,
0.053576283156871796,
-0.27185118198394775,
0.008950352668762207,
0.1334248036146164,
-0.14832991361618042,
0.12096773087978363,
0.37660104036331177,
0.0952124148607254,
-0.2155604064464569,
0.0007134340703487396,
0.10236126184463501,
-0.05723340064287186,
-0.23867091536521912,
-0.05154738575220108,
-0.2219039499759674,
-0.14438147842884064,
-0.12082527577877045,
0.22009076178073883,
-0.018917173147201538,
0.14811457693576813,
-0.08859275281429291,
0.3188227713108063,
0.06469506025314331,
0.23822744190692902,
0.1868283897638321,
-0.4378364384174347,
0.5788312554359436,
0.2653008699417114,
0.2681629955768585,
0.3191238045692444,
-0.06837677955627441,
-0.4111073613166809,
0.08792553097009659,
0.060382455587387085,
0.01418738067150116,
0.21485444903373718,
-0.107145294547081,
-0.11258399486541748,
0.13784168660640717,
0.13990379869937897,
0.3660040497779846,
-0.19723162055015564,
-0.19060420989990234,
-0.14192351698875427,
0.2150757610797882,
0.08276863396167755,
-0.05136481299996376,
0.1577817052602768,
-0.013579077087342739,
-0.05622093379497528,
0.22520586848258972,
0.12220804393291473,
0.17597925662994385,
-0.40512287616729736,
0.07016780227422714,
0.5842311978340149,
-0.28185731172561646,
0.0686381608247757,
0.26203498244285583,
0.14220264554023743,
-0.13229843974113464,
0.18693163990974426,
-0.12405149638652802,
0.11724774539470673,
0.5882272720336914,
-0.004623249173164368,
0.1699708253145218,
-0.11980726569890976,
0.36672869324684143,
0.003880344331264496,
-0.0864337608218193,
-0.11293786764144897,
0.4316898286342621,
-0.5731033682823181,
0.31210875511169434,
-0.14850197732448578,
-0.11944354325532913,
-0.053357165306806564,
-0.33784016966819763,
-0.33858418464660645,
0.06964746117591858,
-0.13192886114120483,
0.07704907655715942,
-0.22843477129936218,
0.06556696444749832,
-0.29402971267700195,
0.38874274492263794,
0.10954786837100983,
-0.25553447008132935,
0.46296441555023193,
0.041611477732658386,
-0.4074852466583252,
0.09098391979932785,
-0.17701858282089233,
0.35534465312957764,
0.28965938091278076,
-0.30805647373199463,
0.22141017019748688,
0.09317469596862793,
0.04927121847867966,
0.16620583832263947,
0.23646849393844604,
0.3684077560901642,
0.31208881735801697,
0.12921197712421417,
0.09278855472803116,
0.13500863313674927,
-0.07209581136703491,
-0.19592095911502838,
0.31820642948150635,
0.013896413147449493,
0.3984810411930084,
-0.02628888003528118,
0.11825375258922577,
-0.1605287492275238,
-0.16653594374656677,
0.16990891098976135,
0.10988835990428925,
-0.5643024444580078,
0.34710419178009033,
-0.22052088379859924,
-0.12036795914173126,
-0.2523980736732483,
0.04580783098936081,
-0.1971779465675354,
-0.2719093859195709,
0.23666740953922272,
-0.11865480244159698,
0.3195941746234894,
0.1671808809041977,
0.06761752814054489,
-0.3007809519767761,
0.4644045829772949,
0.0047866106033325195,
0.09621265530586243,
-0.3909798562526703,
-0.09203004837036133,
-0.4814475178718567,
-0.04223816841840744,
-0.4386160671710968,
-0.30115383863449097,
0.19921749830245972,
0.3849214017391205,
-0.4918249547481537,
-0.1286424696445465,
-0.09316733479499817,
-0.022773077711462975,
0.21556152403354645,
0.024603482335805893,
-0.2738371789455414,
0.04050549864768982,
0.3696427345275879,
-0.006441120058298111,
-0.05336097627878189,
-0.4397523105144501,
0.20843815803527832,
-0.14921873807907104,
-0.07037393003702164,
0.09980104118585587,
-0.15590617060661316,
-0.014826295897364616,
0.4386194944381714,
0.3843406140804291,
0.17457298934459686,
0.3532709777355194,
0.07161716371774673,
-0.17550814151763916,
-0.44579386711120605,
0.15144935250282288,
-0.3142712116241455,
0.06352578103542328,
-0.00002720579504966736,
0.2904488742351532,
-0.06575236469507217,
-0.32092300057411194,
-0.12330754101276398,
0.3873645067214966,
0.04107801616191864,
-0.33765164017677307,
0.04996073991060257,
-0.1948707401752472,
-0.09484951198101044,
0.3248070776462555,
0.07967255264520645,
0.13353902101516724,
-0.042227573692798615,
0.0562434196472168,
-0.03628644719719887,
-0.6906998753547668,
0.20074158906936646,
-0.09275666624307632,
-0.06486295163631439,
-0.32732486724853516,
0.23884999752044678,
-0.05391556769609451,
0.11984031647443771,
-0.6493063569068909,
-0.2507600486278534,
0.3957699239253998,
-0.19066718220710754,
-0.019537854939699173,
0.3018483519554138,
0.40655383467674255,
0.19294030964374542,
0.06894174218177795,
-0.0055570825934410095,
-0.14909428358078003,
-0.18127833306789398,
0.3065856099128723,
-0.11358203738927841
] |
https://github.com/huggingface/datasets/issues/4728 | load_dataset gives "403" error when using Financial Phrasebank | Hi @rohitvincent, thanks for reporting.
Unfortunately I'm not able to reproduce your issue:
```python
In [2]: from datasets import load_dataset, DownloadMode
...: load_dataset(path='financial_phrasebank',name='sentences_allagree', download_mode="force_redownload")
Downloading builder script: 6.04kB [00:00, 2.87MB/s]
Downloading metadata: 13.7kB [00:00, 7.24MB/s]
Downloading and preparing dataset financial_phrasebank/sentences_allagree (download: 665.91 KiB, generated: 296.26 KiB, post-processed: Unknown size, total: 962.17 KiB) to .../.cache/huggingface/datasets/financial_phrasebank/sentences_allagree/1.0.0/550bde12e6c30e2674da973a55f57edde5181d53f5a5a34c1531c53f93b7e141...
Downloading data: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 682k/682k [00:00<00:00, 7.66MB/s]
Dataset financial_phrasebank downloaded and prepared to .../.cache/huggingface/datasets/financial_phrasebank/sentences_allagree/1.0.0/550bde12e6c30e2674da973a55f57edde5181d53f5a5a34c1531c53f93b7e141. Subsequent calls will reuse this data.
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 918.80it/s]
Out[2]:
DatasetDict({
train: Dataset({
features: ['sentence', 'label'],
num_rows: 2264
})
})
```
Are you able to access the link? https://www.researchgate.net/profile/Pekka-Malo/publication/251231364_FinancialPhraseBank-v10/data/0c96051eee4fb1d56e000000/FinancialPhraseBank-v10.zip | I tried both codes below to download the financial phrasebank dataset (https://huggingface.co/datasets/financial_phrasebank) with the sentences_allagree subset. However, the code gives a 403 error when executed from multiple machines locally or on the cloud.
```
from datasets import load_dataset, DownloadMode
load_dataset(path='financial_phrasebank',name='sentences_allagree',download_mode=DownloadMode.FORCE_REDOWNLOAD)
```
```
from datasets import load_dataset, DownloadMode
load_dataset(path='financial_phrasebank',name='sentences_allagree')
```
**Error**
ConnectionError: Couldn't reach https://www.researchgate.net/profile/Pekka_Malo/publication/251231364_FinancialPhraseBank-v10/data/0c96051eee4fb1d56e000000/FinancialPhraseBank-v10.zip (error 403)
| 97 | load_dataset gives "403" error when using Financial Phrasebank
I tried both codes below to download the financial phrasebank dataset (https://huggingface.co/datasets/financial_phrasebank) with the sentences_allagree subset. However, the code gives a 403 error when executed from multiple machines locally or on the cloud.
```
from datasets import load_dataset, DownloadMode
load_dataset(path='financial_phrasebank',name='sentences_allagree',download_mode=DownloadMode.FORCE_REDOWNLOAD)
```
```
from datasets import load_dataset, DownloadMode
load_dataset(path='financial_phrasebank',name='sentences_allagree')
```
**Error**
ConnectionError: Couldn't reach https://www.researchgate.net/profile/Pekka_Malo/publication/251231364_FinancialPhraseBank-v10/data/0c96051eee4fb1d56e000000/FinancialPhraseBank-v10.zip (error 403)
Hi @rohitvincent, thanks for reporting.
Unfortunately I'm not able to reproduce your issue:
```python
In [2]: from datasets import load_dataset, DownloadMode
...: load_dataset(path='financial_phrasebank',name='sentences_allagree', download_mode="force_redownload")
Downloading builder script: 6.04kB [00:00, 2.87MB/s]
Downloading metadata: 13.7kB [00:00, 7.24MB/s]
Downloading and preparing dataset financial_phrasebank/sentences_allagree (download: 665.91 KiB, generated: 296.26 KiB, post-processed: Unknown size, total: 962.17 KiB) to .../.cache/huggingface/datasets/financial_phrasebank/sentences_allagree/1.0.0/550bde12e6c30e2674da973a55f57edde5181d53f5a5a34c1531c53f93b7e141...
Downloading data: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 682k/682k [00:00<00:00, 7.66MB/s]
Dataset financial_phrasebank downloaded and prepared to .../.cache/huggingface/datasets/financial_phrasebank/sentences_allagree/1.0.0/550bde12e6c30e2674da973a55f57edde5181d53f5a5a34c1531c53f93b7e141. Subsequent calls will reuse this data.
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 918.80it/s]
Out[2]:
DatasetDict({
train: Dataset({
features: ['sentence', 'label'],
num_rows: 2264
})
})
```
Are you able to access the link? https://www.researchgate.net/profile/Pekka-Malo/publication/251231364_FinancialPhraseBank-v10/data/0c96051eee4fb1d56e000000/FinancialPhraseBank-v10.zip | [
-0.23997090756893158,
0.3639432489871979,
-0.02297424152493477,
0.37587231397628784,
0.010911306366324425,
-0.042938653379678726,
0.44665876030921936,
0.23761925101280212,
-0.12657681107521057,
0.1795794665813446,
-0.3686704635620117,
-0.0909930169582367,
0.47572147846221924,
0.21131008863449097,
0.2804034650325775,
0.030803650617599487,
-0.03884478658437729,
-0.11644460260868073,
-0.2878105342388153,
-0.16810670495033264,
-0.06816184520721436,
0.3287745416164398,
-0.09314318746328354,
0.13406765460968018,
-0.17781320214271545,
0.028591129928827286,
-0.026347124949097633,
0.29462727904319763,
-0.19008837640285492,
-0.1929907500743866,
0.45429351925849915,
0.19403806328773499,
0.24571162462234497,
0.38415876030921936,
-0.0001264064194401726,
-0.15530019998550415,
0.20094506442546844,
-0.005756329745054245,
-0.25413978099823,
-0.5165271162986755,
-0.27438241243362427,
-0.22675900161266327,
0.2576901316642761,
-0.0731295496225357,
-0.03988078236579895,
0.16441644728183746,
-0.040227778255939484,
-0.13436461985111237,
0.5027672648429871,
0.20423951745033264,
0.062309373170137405,
0.07021944969892502,
-0.11504946649074554,
-0.13978588581085205,
-0.049797795712947845,
-0.3262826204299927,
-0.06997821480035782,
0.36644142866134644,
0.15296080708503723,
-0.06147591769695282,
0.09938040375709534,
0.12921743094921112,
-0.13595272600650787,
0.19168950617313385,
0.1114690974354744,
-0.0029476871713995934,
0.1508680284023285,
-0.2898696959018707,
0.11502256989479065,
0.3162531554698944,
0.9258819818496704,
-0.12782812118530273,
-0.3929027020931244,
-0.0915728509426117,
0.059954069554805756,
0.07755479961633682,
0.32679131627082825,
0.49449750781059265,
-0.18621087074279785,
0.1503649204969406,
-0.5029986500740051,
-0.2858862280845642,
-0.27151331305503845,
0.3547557592391968,
-0.15503105521202087,
-0.18503671884536743,
-0.2609081566333771,
0.15990303456783295,
0.08716017007827759,
-0.06110963970422745,
-0.008790318854153156,
-0.20918889343738556,
-0.14490291476249695,
0.18172231316566467,
-0.06277240812778473,
0.1374020129442215,
-0.35041651129722595,
0.14380858838558197,
0.2803801894187927,
0.20592276751995087,
0.4811182916164398,
0.09081222116947174,
-0.09666904807090759,
0.3190896809101105,
0.2544761300086975,
0.3780912756919861,
0.30606895685195923,
-0.16532215476036072,
0.24836435914039612,
0.3083208501338959,
-0.10366354137659073,
0.13677167892456055,
-0.2576840817928314,
0.026705369353294373,
-0.16284625232219696,
-0.188595712184906,
0.13578341901302338,
-0.31054607033729553,
-0.29433369636535645,
0.1751258373260498,
-0.22712042927742004,
-0.326545387506485,
0.08319215476512909,
0.24666589498519897,
0.17560584843158722,
-0.22689655423164368,
0.003419574350118637,
0.35926294326782227,
0.031484320759773254,
-0.37278100848197937,
-0.14914965629577637,
-0.11965654790401459,
-0.1486065834760666,
0.4366236925125122,
0.24226273596286774,
-0.24341389536857605,
0.13956522941589355,
-0.186472088098526,
0.19761593639850616,
-0.052532754838466644,
-0.03733150660991669,
-0.11163592338562012,
-0.12986281514167786,
0.1084681823849678,
0.43718838691711426,
0.025098642334342003,
0.043491262942552567,
0.013151995837688446,
0.022549569606781006,
-0.056594640016555786,
-0.12061584740877151,
-0.3208751380443573,
0.1554190218448639,
-0.025233544409275055,
-0.40484297275543213,
-0.1506030559539795,
-0.4085955321788788,
0.18176057934761047,
0.007095590233802795,
0.06751364469528198,
0.07503998279571533,
0.1486469805240631,
-0.14458009600639343,
-0.1641928106546402,
0.06726238876581192,
0.6406132578849792,
-0.2772943079471588,
-0.18715578317642212,
-0.02118454873561859,
-0.09741458296775818,
0.2232372760772705,
0.39102432131767273,
-0.41952839493751526,
0.07852278649806976,
-0.0831163227558136,
0.4144206643104553,
0.5436934232711792,
-0.5010767579078674,
-0.6819352507591248,
0.718489944934845,
-0.15038622915744781,
-0.05110738426446915,
0.043204400688409805,
-0.08836091309785843,
-0.0636168122291565,
-0.03094223141670227,
-0.04882018268108368,
0.595204770565033,
0.12061157822608948,
-0.11786369234323502,
0.009703900665044785,
-0.3874913454055786,
-0.227333202958107,
-0.07956018298864365,
-0.17160935699939728,
0.12884114682674408,
0.33824917674064636,
-0.06308151036500931,
0.3244488835334778,
0.061075545847415924,
0.13544651865959167,
0.1347435563802719,
0.14267465472221375,
0.18812942504882812,
-0.06286301463842392,
-0.10591539740562439,
-0.23430222272872925,
0.22488471865653992,
-0.38113313913345337,
0.20258189737796783,
-0.06970842182636261,
-0.027770143002271652,
-0.20191580057144165,
-0.10455550998449326,
-0.38861092925071716,
0.08237102627754211,
-0.04969660937786102,
0.287014901638031,
0.38453343510627747,
0.05187488719820976,
-0.10133665800094604,
0.3394882380962372,
0.18874020874500275,
0.14967608451843262,
0.00705299898982048,
0.3716732859611511,
0.07314310222864151,
0.08720377832651138,
0.04010620713233948,
-0.032814688980579376,
0.25467175245285034,
-0.03487185761332512,
-0.1486521065235138,
0.458118736743927,
-0.33384302258491516,
0.18421417474746704,
0.09705519676208496,
0.043261438608169556,
0.20210102200508118,
-0.2051037698984146,
0.3134213984012604,
-0.13458864390850067,
-0.029214538633823395,
0.20360949635505676,
0.19299572706222534,
0.14732137322425842,
0.05382947623729706,
0.1516229808330536,
0.13094250857830048,
0.08323774486780167,
0.11373324692249298,
0.12040458619594574,
-0.15201100707054138,
-0.3889693021774292,
0.32171452045440674,
-0.32525506615638733,
0.2700604498386383,
-0.06525368243455887,
-0.05273156985640526,
0.08060438930988312,
-0.04511773958802223,
-0.23094211518764496,
0.11117017269134521,
0.004056427627801895,
-0.01615268737077713,
0.03463894873857498,
-0.05111003667116165,
0.36738699674606323,
0.18057361245155334,
0.01243068277835846,
0.06960538774728775,
0.13147979974746704,
0.2235431969165802,
-0.25571656227111816,
0.09111611545085907,
0.1752844750881195,
0.30616241693496704,
0.009588971734046936,
0.062369219958782196,
0.02380869723856449,
-0.25787028670310974,
-0.073734812438488,
0.35020560026168823,
-0.02367345057427883,
-0.17176766693592072,
0.2516883313655853,
-0.281033456325531,
-0.6326337456703186,
-0.057784028351306915,
-0.26846739649772644,
-0.15562674403190613,
-0.18591447174549103,
-0.359144389629364,
0.2657869756221771,
0.08213916420936584,
-0.06064654886722565,
-0.21966421604156494,
0.18286249041557312,
-0.06806726008653641,
-0.2600015103816986,
-0.16155192255973816,
0.3008788824081421,
-0.405221164226532,
-0.14073054492473602,
0.24668560922145844,
-0.048891421407461166,
-0.019316328689455986,
-0.164934903383255,
-0.0020548999309539795,
-0.5727243423461914,
-0.0952480286359787,
0.248615562915802,
0.0011179745197296143,
0.2508600056171417,
-0.08939023315906525,
0.01617763191461563,
-0.26688191294670105,
-0.023192886263132095,
0.22660909593105316,
0.12198032438755035,
-0.09881951659917831,
0.13245166838169098,
-0.02837465889751911,
-0.1760709434747696,
0.09175002574920654,
0.07729604840278625,
-0.3645421266555786,
-0.27473998069763184,
0.26992517709732056,
-0.07240134477615356,
0.18433205783367157,
0.26311641931533813,
-0.2609218657016754,
0.0459098257124424,
-0.23837769031524658,
0.2518364191055298,
-0.15901561081409454,
-0.3916594684123993,
0.32280969619750977,
-0.2185060977935791,
-0.488273948431015,
0.006294798105955124,
0.22468775510787964,
0.14504988491535187,
0.43411266803741455,
-0.448419451713562,
0.08537598699331284,
-0.21112996339797974,
-0.06637462228536606,
0.08063653111457825,
0.06583163887262344,
-0.02290903776884079,
-0.17491315305233002,
0.06503449380397797,
0.04448752850294113,
-0.21169282495975494,
0.2015151083469391,
0.23421120643615723,
0.22334769368171692,
-0.07579967379570007,
0.2083619236946106,
0.1279720813035965,
0.054290771484375,
0.22728636860847473,
0.42812058329582214,
0.6532111167907715,
-0.010982567444443703,
0.12190628051757812,
-0.02209244668483734,
-0.15310807526111603,
-0.13250946998596191,
-0.16260239481925964,
-0.1239631175994873,
0.28514420986175537,
0.1290002465248108,
0.08268623054027557,
-0.5049235820770264,
-0.5598973631858826,
-0.3137655556201935,
-0.1276005059480667,
-0.1491338163614273,
-0.11752869188785553,
0.3920702040195465,
0.2666547894477844,
0.2993119955062866,
0.2244034856557846,
-0.12072712182998657,
-0.163005530834198,
0.3085225820541382,
0.17003177106380463,
0.27162301540374756,
-0.08707188069820404,
0.015593448653817177,
-0.5471330881118774,
0.4782339930534363,
-0.04493831843137741,
0.26690322160720825,
-0.24218767881393433,
0.08905000239610672,
0.08165978640317917,
-0.03848770260810852,
0.1281280666589737,
-0.08171268552541733,
0.1964416652917862,
-0.20427171885967255,
-0.4552558362483978,
-0.24636857211589813,
-0.10171133279800415,
-0.01711859740316868,
0.11577107012271881,
0.05602303147315979,
0.30006831884384155,
-0.09895110130310059,
-0.009214131161570549,
-0.1316409558057785,
0.05867321416735649,
0.008336909115314484,
-0.29651835560798645,
-0.21777895092964172,
-0.37604743242263794,
-0.4934682846069336,
-0.2383630871772766,
-0.2833329439163208,
0.3367500305175781,
0.07445266097784042,
0.07119034230709076,
0.19180507957935333,
0.07004780322313309,
0.1993754655122757,
0.08007192611694336,
0.06607633829116821,
0.006940943654626608,
0.11956104636192322,
0.26869818568229675,
-0.19453302025794983,
0.6029121279716492,
0.5324689149856567,
0.1312027871608734,
-0.3096323609352112,
-0.11324294656515121,
-0.06468449532985687,
0.13961821794509888,
0.46546339988708496,
-0.10077085345983505,
-0.17513218522071838,
0.5431036949157715,
-0.1300441026687622,
0.09572400152683258,
-0.16109156608581543,
0.09256140887737274,
-0.06971654295921326,
-0.38932377099990845,
-0.509761393070221,
0.5399426817893982,
-0.009454147890210152,
-0.004537634551525116,
-0.019174441695213318,
0.3555745482444763,
-0.08799992501735687,
0.23133957386016846,
-0.3482702076435089,
0.7157840728759766,
-0.2605357766151428,
0.2311761975288391,
0.3926467299461365,
0.2569423317909241,
0.49454590678215027,
-0.21778644621372223,
0.10802645981311798,
-0.013600464910268784,
-0.046345531940460205,
-0.2656101882457733,
-0.15387822687625885,
0.17041820287704468,
0.35457056760787964,
0.0707131028175354,
0.5144782662391663,
-0.2488643378019333,
0.06811407208442688,
0.12953144311904907,
0.22257444262504578,
-0.36488768458366394,
-0.0778726190328598,
-0.48694169521331787,
0.0019045453518629074,
-0.05583777278661728,
0.5715495944023132,
-0.023983757942914963,
-0.3417580723762512,
-0.28765949606895447,
-0.08369959890842438,
-0.30245423316955566,
0.35550862550735474,
-0.40019091963768005,
-0.019199836999177933,
-0.32413819432258606,
-0.25451964139938354,
0.3204858899116516,
0.3247656524181366,
0.20423252880573273,
0.026550695300102234,
-0.35015320777893066,
-0.03896843269467354,
0.008012991398572922,
-0.3114798665046692,
-0.00502605177462101,
-0.19780954718589783,
0.1416151523590088,
-0.20217815041542053,
-0.281148761510849,
0.09382062405347824,
0.18973517417907715,
-0.27585601806640625,
0.12027192115783691,
0.14561110734939575,
0.04225313663482666,
-0.214613676071167,
-0.22727639973163605,
-0.09518991410732269,
-0.08272998034954071,
-0.08109279721975327,
-0.07606452703475952,
0.1146702766418457,
-0.22689639031887054,
-0.3311028778553009,
0.11755707859992981,
-0.32199573516845703,
-0.10261502861976624,
0.5154491066932678,
-0.0970250591635704,
-0.1510845273733139,
0.40795043110847473,
0.24253009259700775,
-0.03054185025393963,
-0.08120271563529968,
-0.33292508125305176,
0.45868760347366333,
-0.3700993061065674,
0.0481727197766304,
0.03643989562988281,
0.12958209216594696,
-0.13360749185085297,
0.5286046266555786,
0.15438883006572723,
-0.1073869839310646,
0.07939285039901733,
-0.480135977268219,
-0.1334621012210846,
0.18018180131912231,
0.04576479271054268,
-0.10720868408679962,
0.38705259561538696,
0.10388033092021942,
-0.025079773738980293,
-0.25989553332328796,
-0.09621060639619827,
0.03849262744188309,
-0.2421216368675232,
-0.23049747943878174,
0.4330790936946869,
0.005256615579128265,
0.2529500424861908,
0.1627253144979477,
-0.05126926302909851,
0.15531238913536072,
-0.24926161766052246,
-0.08669774234294891,
0.028522823005914688,
0.2390260547399521,
0.23927876353263855,
-0.3627055287361145,
-0.017804985865950584,
-0.607175886631012,
-0.14039619266986847,
-0.10028423368930817,
0.12502330541610718,
0.2105598747730255,
0.22328829765319824,
-0.09464305639266968,
0.10756624490022659,
0.009554717689752579,
-0.256866455078125,
0.27037787437438965,
-0.12871424853801727,
0.3422074317932129,
0.05299990251660347,
0.3384793698787689,
-0.020276272669434547,
-0.043979987502098083,
-0.43226826190948486,
-0.05674450844526291,
0.35013341903686523,
0.02592264860868454,
0.14407435059547424,
-0.45923686027526855,
0.10173806548118591,
0.17383140325546265,
0.3344395160675049,
0.3616243004798889,
-0.2941749095916748,
-0.11175818741321564,
-0.03753279522061348,
-0.007650621235370636,
-0.14748546481132507,
-0.21420389413833618,
-0.26353856921195984,
-0.1594482660293579,
-0.08952389657497406,
0.18697002530097961,
0.47530654072761536,
-0.16075082123279572,
-0.35532110929489136,
0.07214422523975372,
0.4516964256763458,
0.17886747419834137,
0.015650801360607147,
0.3109695613384247,
0.05579422041773796,
0.2955029010772705,
0.04790620505809784,
0.41589367389678955,
0.02156757563352585,
0.16425813734531403,
-0.40092840790748596,
-0.008440891280770302,
0.11536330729722977,
0.2291405349969864,
0.07960508018732071,
-0.43537160754203796,
0.14559924602508545,
0.2734602093696594,
0.19188298285007477,
-0.23108425736427307,
-0.2116590142250061,
0.33042284846305847,
0.09826551377773285,
0.28181740641593933,
-0.37713950872421265,
0.2062920480966568,
0.06892083585262299,
0.02803603559732437,
-0.1059848815202713,
-0.16893187165260315,
0.14096073806285858,
0.05294528976082802,
-0.3230704963207245,
-0.3048117756843567,
0.03389862924814224,
0.14250625669956207,
0.08685190230607986,
-0.6139885187149048,
-0.019162718206644058,
0.3724330961704254,
-0.35117918252944946,
-0.26405519247055054,
0.5366546511650085,
0.17274171113967896,
-0.17393997311592102,
0.4255034625530243,
0.1490904688835144,
0.5563371777534485,
0.265228807926178,
0.2576870918273926,
0.20895925164222717,
-0.19602426886558533,
-0.0635591447353363,
-0.04949727654457092,
0.1413106471300125,
0.29716238379478455,
0.40336874127388,
0.46636947989463806,
-0.04724865406751633,
0.06789373606443405,
-0.2277514487504959,
0.0941622257232666,
0.25330203771591187,
-0.23731331527233124,
0.38457152247428894,
-0.4169982373714447,
0.4412115812301636,
-0.30202460289001465,
0.15987861156463623,
-0.36827918887138367,
0.26885536313056946,
0.48842087388038635,
0.09257690608501434,
0.03058644011616707,
0.059526652097702026,
-0.051249273121356964,
-0.07682205736637115,
0.3940090239048004,
0.41585761308670044,
0.43552717566490173,
-0.3049989342689514,
-0.08030258864164352,
-0.697364091873169,
0.14382100105285645,
-0.1556667685508728,
0.04441813379526138,
-0.08119433373212814,
0.2863231599330902,
0.05558769032359123,
0.08410154283046722,
0.17472600936889648,
0.44182777404785156,
0.10603023320436478,
0.20139086246490479,
0.057512227445840836,
-0.14848175644874573,
-0.039416007697582245,
0.3470757305622101,
-0.19531063735485077,
-0.38148757815361023,
0.2917470932006836,
-0.15791182219982147,
-0.16410420835018158,
-0.1117141842842102,
-0.16843733191490173,
0.04601629450917244,
-0.03118571639060974,
0.3442419171333313,
0.09041532129049301,
0.5633286833763123,
0.01680630072951317,
-0.2481338381767273,
-0.16491830348968506,
-0.07624267786741257,
-0.048612456768751144,
0.13284841179847717,
-0.08193011581897736,
-0.13111084699630737,
-0.22567979991436005,
0.1816301941871643,
-0.2572815716266632,
0.24028955399990082,
-0.04292730242013931,
-0.051150184124708176,
-0.10600034147500992,
-0.245343878865242,
-0.09350456297397614,
0.06428728252649307,
0.1185210794210434,
-0.05072680115699768,
0.11662788689136505,
0.11244706809520721,
-0.17468087375164032,
-0.19700226187705994,
0.8378093242645264,
-0.47902265191078186,
-0.1795148253440857,
0.02352404221892357,
0.21386900544166565,
0.49795496463775635,
-0.12300948053598404,
-0.3363285958766937,
0.22303476929664612,
0.21866463124752045,
-0.1151154413819313,
-0.4448452293872833,
-0.011841990053653717,
-0.21334071457386017,
-0.000048998743295669556,
-0.09452243894338608,
0.1881851851940155,
0.12927229702472687,
-0.4910469651222229,
-0.10681866109371185,
-0.163503035902977
] |
https://github.com/huggingface/datasets/issues/4728 | load_dataset gives "403" error when using Financial Phrasebank | Yes was able to download from the link manually. But still, get the same error when I use load_dataset. | I tried both codes below to download the financial phrasebank dataset (https://huggingface.co/datasets/financial_phrasebank) with the sentences_allagree subset. However, the code gives a 403 error when executed from multiple machines locally or on the cloud.
```
from datasets import load_dataset, DownloadMode
load_dataset(path='financial_phrasebank',name='sentences_allagree',download_mode=DownloadMode.FORCE_REDOWNLOAD)
```
```
from datasets import load_dataset, DownloadMode
load_dataset(path='financial_phrasebank',name='sentences_allagree')
```
**Error**
ConnectionError: Couldn't reach https://www.researchgate.net/profile/Pekka_Malo/publication/251231364_FinancialPhraseBank-v10/data/0c96051eee4fb1d56e000000/FinancialPhraseBank-v10.zip (error 403)
| 19 | load_dataset gives "403" error when using Financial Phrasebank
I tried both codes below to download the financial phrasebank dataset (https://huggingface.co/datasets/financial_phrasebank) with the sentences_allagree subset. However, the code gives a 403 error when executed from multiple machines locally or on the cloud.
```
from datasets import load_dataset, DownloadMode
load_dataset(path='financial_phrasebank',name='sentences_allagree',download_mode=DownloadMode.FORCE_REDOWNLOAD)
```
```
from datasets import load_dataset, DownloadMode
load_dataset(path='financial_phrasebank',name='sentences_allagree')
```
**Error**
ConnectionError: Couldn't reach https://www.researchgate.net/profile/Pekka_Malo/publication/251231364_FinancialPhraseBank-v10/data/0c96051eee4fb1d56e000000/FinancialPhraseBank-v10.zip (error 403)
Yes was able to download from the link manually. But still, get the same error when I use load_dataset. | [
-0.270984947681427,
0.3810783624649048,
-0.03410463407635689,
0.3408368229866028,
-0.03972512483596802,
-0.030590958893299103,
0.47049379348754883,
0.23637032508850098,
-0.06424454599618912,
0.19109880924224854,
-0.3640376627445221,
-0.09909309446811676,
0.5061171650886536,
0.24446798861026764,
0.3002535402774811,
0.06568107008934021,
-0.006479606032371521,
-0.09498454630374908,
-0.2537544369697571,
-0.20462383329868317,
-0.07816922664642334,
0.3196648061275482,
-0.14651010930538177,
0.12849412858486176,
-0.1489245891571045,
0.066023088991642,
0.0033899005502462387,
0.270793080329895,
-0.21719923615455627,
-0.18810589611530304,
0.415920227766037,
0.22550225257873535,
0.25528132915496826,
0.3658822774887085,
-0.00012589592370204628,
-0.19306090474128723,
0.21374526619911194,
-0.002398695796728134,
-0.2077525109052658,
-0.4878605604171753,
-0.28312307596206665,
-0.16815142333507538,
0.26271504163742065,
-0.03828512504696846,
0.02870366722345352,
0.14911706745624542,
-0.023975076153874397,
-0.12303238362073898,
0.442105770111084,
0.2423953115940094,
0.05535871535539627,
-0.01899397186934948,
-0.16518643498420715,
-0.2115948349237442,
0.02897811308503151,
-0.33729690313339233,
-0.03637665510177612,
0.3235442638397217,
0.13650472462177277,
-0.08536485582590103,
0.07060813158750534,
0.14791418612003326,
-0.1427207887172699,
0.24601250886917114,
0.1303776204586029,
0.017133578658103943,
0.08078166097402573,
-0.29600024223327637,
0.13296449184417725,
0.3798413574695587,
0.9789428114891052,
-0.04999849200248718,
-0.34779924154281616,
-0.08828569203615189,
0.08254723995923996,
0.15912973880767822,
0.3793284595012665,
0.4654279053211212,
-0.14676682651042938,
0.15146632492542267,
-0.42319485545158386,
-0.28190818428993225,
-0.28584784269332886,
0.30805468559265137,
-0.20959971845149994,
-0.15446440875530243,
-0.24634069204330444,
0.13988259434700012,
0.15103548765182495,
-0.054930612444877625,
0.05773705616593361,
-0.17557279765605927,
-0.16526618599891663,
0.13189542293548584,
-0.025489289313554764,
0.181400328874588,
-0.27971673011779785,
0.12277048081159592,
0.30321556329727173,
0.17108534276485443,
0.389574259519577,
0.10237600654363632,
-0.04871251806616783,
0.3127071261405945,
0.24469660222530365,
0.3106957972049713,
0.3850848972797394,
-0.21188771724700928,
0.2934189438819885,
0.29627594351768494,
-0.11331625282764435,
0.13064931333065033,
-0.307413786649704,
0.008378254249691963,
-0.23537276685237885,
-0.21213895082473755,
0.09666559845209122,
-0.38657090067863464,
-0.29510560631752014,
0.14053760468959808,
-0.1631278693675995,
-0.36740756034851074,
0.04951482638716698,
0.28409647941589355,
0.1543319970369339,
-0.15121543407440186,
-0.015062006190419197,
0.3176228404045105,
0.0008362662047147751,
-0.4435843527317047,
-0.12070266157388687,
-0.12950339913368225,
-0.16994629800319672,
0.3703968822956085,
0.2649732530117035,
-0.21900448203086853,
0.1689121127128601,
-0.24499531090259552,
0.23800963163375854,
-0.06726936995983124,
-0.06124527007341385,
-0.12038196623325348,
-0.14919382333755493,
0.14557737112045288,
0.494560569524765,
0.001745099201798439,
0.002889372408390045,
-0.006449352949857712,
0.04309803992509842,
-0.05349213629961014,
-0.17614135146141052,
-0.32005080580711365,
0.1872694045305252,
-0.014562360011041164,
-0.4438149333000183,
-0.2050732672214508,
-0.4356168806552887,
0.22421039640903473,
-0.06937090307474136,
0.05117141827940941,
0.005575589835643768,
0.14705051481723785,
-0.07486478984355927,
-0.15379343926906586,
0.0755983367562294,
0.6172153353691101,
-0.30332744121551514,
-0.15961866080760956,
-0.07289847731590271,
-0.13335296511650085,
0.2183508425951004,
0.39394107460975647,
-0.4042239487171173,
0.135611891746521,
-0.031178906559944153,
0.46025002002716064,
0.6210759878158569,
-0.46584346890449524,
-0.7134244441986084,
0.6868505477905273,
-0.09055318683385849,
-0.13384877145290375,
0.07853753864765167,
-0.12057486176490784,
-0.020165326073765755,
0.04223652929067612,
-0.01098553091287613,
0.5842314958572388,
0.13774795830249786,
-0.12169160693883896,
0.06019868329167366,
-0.3701593577861786,
-0.1939002126455307,
-0.07688406109809875,
-0.16158589720726013,
0.10468755662441254,
0.3839874863624573,
-0.06449079513549805,
0.29536429047584534,
0.03349822014570236,
0.09114682674407959,
0.06976345181465149,
0.08825759589672089,
0.16805529594421387,
-0.020457284525036812,
-0.1095239594578743,
-0.27588632702827454,
0.21193072199821472,
-0.35270148515701294,
0.17893190681934357,
-0.053228408098220825,
-0.0025482289493083954,
-0.22486889362335205,
-0.12044833600521088,
-0.3535584509372711,
0.1166614294052124,
-0.06632628291845322,
0.32094067335128784,
0.30837610363960266,
0.06765492260456085,
-0.15905781090259552,
0.291813462972641,
0.16922704875469208,
0.14209645986557007,
0.03926398605108261,
0.3399016559123993,
0.08013564348220825,
0.06973434239625931,
0.09129369258880615,
-0.03284858167171478,
0.2139805555343628,
-0.014371942728757858,
-0.16440773010253906,
0.4388781189918518,
-0.3186912536621094,
0.20880857110023499,
0.11150842905044556,
0.018184348940849304,
0.18113626539707184,
-0.23052243888378143,
0.2614953815937042,
-0.1784747689962387,
0.011883114464581013,
0.2234790325164795,
0.14115890860557556,
0.12062214314937592,
0.10262857377529144,
0.13629843294620514,
0.1492161899805069,
0.10047395527362823,
0.15218956768512726,
0.13454650342464447,
-0.1291973888874054,
-0.41868168115615845,
0.35348376631736755,
-0.306552916765213,
0.2311878651380539,
-0.09906578063964844,
-0.05607344210147858,
0.10305581241846085,
0.07205035537481308,
-0.2269374281167984,
0.12964662909507751,
0.04812467098236084,
-0.0055689141154289246,
-0.027771050110459328,
0.007253766059875488,
0.3787709176540375,
0.1711089313030243,
0.026888392865657806,
0.06930000334978104,
0.113768070936203,
0.20640794932842255,
-0.323027104139328,
0.06912688165903091,
0.13844221830368042,
0.30103033781051636,
0.020255520939826965,
0.01610499620437622,
0.03970253840088844,
-0.2932925224304199,
-0.09761510789394379,
0.3258502185344696,
-0.010704455897212029,
-0.16623631119728088,
0.21605154871940613,
-0.2673250436782837,
-0.627894401550293,
0.003265662118792534,
-0.22283503413200378,
-0.18406829237937927,
-0.1825992614030838,
-0.3140913248062134,
0.21119683980941772,
0.06503617763519287,
-0.10130913555622101,
-0.19132477045059204,
0.23538221418857574,
-0.09035076200962067,
-0.2502021789550781,
-0.16179674863815308,
0.29917338490486145,
-0.42493560910224915,
-0.13529770076274872,
0.21974395215511322,
0.0119110606610775,
-0.030825139954686165,
-0.2470380663871765,
0.058794714510440826,
-0.5495681166648865,
-0.1013718843460083,
0.27037081122398376,
-0.025455042719841003,
0.22821909189224243,
-0.052830860018730164,
0.008650384843349457,
-0.2268650084733963,
0.02026114985346794,
0.17880232632160187,
0.04211460053920746,
-0.08641063421964645,
0.15870386362075806,
-0.062139056622982025,
-0.18100988864898682,
0.05939660593867302,
-0.04090593010187149,
-0.3255575895309448,
-0.3032897114753723,
0.24322594702243805,
-0.046214599162340164,
0.17259909212589264,
0.2494179904460907,
-0.23478247225284576,
0.12635238468647003,
-0.20540449023246765,
0.289888858795166,
-0.1584705412387848,
-0.38004982471466064,
0.3678444027900696,
-0.22219210863113403,
-0.5184720158576965,
0.08365033566951752,
0.2790525555610657,
0.1078563928604126,
0.4597816467285156,
-0.46091407537460327,
0.14808912575244904,
-0.19979964196681976,
-0.1134265661239624,
0.07854968309402466,
0.08043865859508514,
-0.013803958892822266,
-0.1618562936782837,
0.06466320902109146,
-0.0023296773433685303,
-0.1988568902015686,
0.21785256266593933,
0.2628965377807617,
0.21852807700634003,
-0.09081164747476578,
0.21039533615112305,
0.11295104026794434,
0.06403639167547226,
0.1659790277481079,
0.47103238105773926,
0.5978298187255859,
-0.04308070242404938,
0.1437280774116516,
-0.05627072602510452,
-0.07721234112977982,
-0.12728388607501984,
-0.12312060594558716,
-0.10639692842960358,
0.3234039545059204,
0.16809475421905518,
0.05233287066221237,
-0.5114084482192993,
-0.508098304271698,
-0.2583780586719513,
-0.11265896260738373,
-0.13824212551116943,
-0.057701610028743744,
0.3339674472808838,
0.26362934708595276,
0.31563642621040344,
0.25589409470558167,
-0.11054863780736923,
-0.11655393242835999,
0.2942160665988922,
0.16812734305858612,
0.27094563841819763,
-0.10790719091892242,
0.05345247685909271,
-0.554088830947876,
0.5060826539993286,
-0.06699777394533157,
0.27219611406326294,
-0.2539919912815094,
0.080650195479393,
0.07211573421955109,
-0.05248892679810524,
0.07747910171747208,
-0.14413808286190033,
0.18431918323040009,
-0.2015097737312317,
-0.39586856961250305,
-0.2311345338821411,
-0.05432679504156113,
-0.06705538183450699,
0.057955801486968994,
0.04365537688136101,
0.22919127345085144,
-0.05727933347225189,
-0.020893974229693413,
-0.15817904472351074,
0.08745892345905304,
0.025105666369199753,
-0.27925318479537964,
-0.25424638390541077,
-0.41036057472229004,
-0.5032001733779907,
-0.2906697392463684,
-0.2772931158542633,
0.293818861246109,
0.13952046632766724,
0.07065901160240173,
0.15356284379959106,
0.014623373746871948,
0.19630104303359985,
0.1503560096025467,
0.034360121935606,
0.045666299760341644,
0.0334673635661602,
0.3355088531970978,
-0.23140102624893188,
0.6292733550071716,
0.5211197137832642,
0.09212441742420197,
-0.33747535943984985,
-0.05465038865804672,
-0.13467596471309662,
0.17998209595680237,
0.4778720438480377,
-0.14387381076812744,
-0.1930336356163025,
0.5958552360534668,
-0.18000705540180206,
0.09433995187282562,
-0.08437708765268326,
0.07559054344892502,
-0.06911513954401016,
-0.37188053131103516,
-0.5555552244186401,
0.5188236236572266,
0.020096607506275177,
-0.040387123823165894,
0.025205766782164574,
0.3339337706565857,
-0.10392926633358002,
0.25482577085494995,
-0.33359459042549133,
0.7039801478385925,
-0.2858380675315857,
0.22166162729263306,
0.37363168597221375,
0.3203837275505066,
0.4628942906856537,
-0.23072312772274017,
0.13903053104877472,
0.03464917466044426,
-0.056146636605262756,
-0.29516464471817017,
-0.16535083949565887,
0.18080425262451172,
0.3025631904602051,
0.09696206450462341,
0.5593968033790588,
-0.20318138599395752,
0.1128489077091217,
0.12413793057203293,
0.2165735960006714,
-0.3263285756111145,
-0.12954047322273254,
-0.4825102686882019,
-0.007993355393409729,
-0.045302242040634155,
0.5339654088020325,
-0.03910712152719498,
-0.2873690128326416,
-0.2365483194589615,
-0.10451190918684006,
-0.2735024690628052,
0.3519403338432312,
-0.3181985318660736,
-0.053645581007003784,
-0.39586886763572693,
-0.2375529557466507,
0.28624412417411804,
0.3248733878135681,
0.13306574523448944,
0.03260117769241333,
-0.36527019739151,
-0.02614220604300499,
-0.027909323573112488,
-0.31472069025039673,
-0.03989740088582039,
-0.18199989199638367,
0.16289925575256348,
-0.22533386945724487,
-0.29668325185775757,
0.11916165798902512,
0.1744208037853241,
-0.31414860486984253,
0.1886952817440033,
0.1632985770702362,
0.05435613542795181,
-0.1942448765039444,
-0.17500707507133484,
-0.08504927158355713,
-0.09398433566093445,
-0.06835591793060303,
-0.06837677955627441,
0.11199802160263062,
-0.188197523355484,
-0.3423343598842621,
0.13348762691020966,
-0.3381810486316681,
-0.12349729239940643,
0.47411638498306274,
-0.09405975788831711,
-0.13160301744937897,
0.33549848198890686,
0.268048495054245,
-0.03803008422255516,
-0.09020888805389404,
-0.3123171627521515,
0.4524570405483246,
-0.3846518099308014,
0.07836811244487762,
-0.02765226736664772,
0.05136151611804962,
-0.12669752538204193,
0.5581230521202087,
0.1309301257133484,
-0.14189237356185913,
0.06888172030448914,
-0.48905080556869507,
-0.11933264136314392,
0.21404306590557098,
0.008072398602962494,
-0.14664633572101593,
0.39850857853889465,
0.011907871812582016,
0.01075798086822033,
-0.3369349539279938,
-0.10346495360136032,
0.03566417098045349,
-0.21984727680683136,
-0.2258439064025879,
0.30571526288986206,
0.028177285566926003,
0.26076194643974304,
0.16898244619369507,
-0.07110985368490219,
0.162491574883461,
-0.255215048789978,
-0.07253897190093994,
0.053136710077524185,
0.24083255231380463,
0.21561074256896973,
-0.2605920433998108,
-0.007135328836739063,
-0.6256396174430847,
-0.22002051770687103,
-0.09337501227855682,
0.16203273832798004,
0.16623491048812866,
0.19005697965621948,
-0.11325368285179138,
0.11174586415290833,
0.0035518407821655273,
-0.25530561804771423,
0.28825777769088745,
-0.15922001004219055,
0.3894580006599426,
0.03643626347184181,
0.3284776210784912,
-0.07006549090147018,
-0.034021906554698944,
-0.4188278615474701,
-0.045256443321704865,
0.35739201307296753,
0.02219867706298828,
0.1073950007557869,
-0.4155331254005432,
0.14074629545211792,
0.17362715303897858,
0.3249431252479553,
0.41080233454704285,
-0.3076856732368469,
-0.1169036403298378,
-0.0010446896776556969,
-0.0064826849848032,
-0.1322186291217804,
-0.21841862797737122,
-0.30009225010871887,
-0.13663814961910248,
-0.09454008936882019,
0.22134804725646973,
0.5215991735458374,
-0.15652592480182648,
-0.29199641942977905,
0.0766390860080719,
0.3995891511440277,
0.18148425221443176,
0.033083226531744,
0.2834761142730713,
0.011447649449110031,
0.32900911569595337,
0.0347326397895813,
0.3980667293071747,
0.015493862330913544,
0.1792442798614502,
-0.3921598792076111,
-0.04663306474685669,
0.1988864541053772,
0.23827286064624786,
0.05228666588664055,
-0.4399135112762451,
0.18389460444450378,
0.30701974034309387,
0.18666209280490875,
-0.186487078666687,
-0.13925084471702576,
0.24867498874664307,
0.11577065289020538,
0.3223334848880768,
-0.39076223969459534,
0.18799962103366852,
0.09060005843639374,
0.019119052216410637,
-0.12788555026054382,
-0.18076695501804352,
0.11473001539707184,
0.09165017306804657,
-0.3114841878414154,
-0.2677406072616577,
0.06626482307910919,
0.13557176291942596,
0.12800121307373047,
-0.6588441133499146,
0.013388440012931824,
0.34347033500671387,
-0.331227570772171,
-0.2796545624732971,
0.5272470712661743,
0.112709179520607,
-0.1577121764421463,
0.5162444114685059,
0.17603406310081482,
0.5075872540473938,
0.25894463062286377,
0.23139800131320953,
0.1613825559616089,
-0.19726777076721191,
-0.06827110797166824,
-0.05220730975270271,
0.20099401473999023,
0.3103274405002594,
0.46749886870384216,
0.4907691776752472,
-0.03520246595144272,
0.06851021200418472,
-0.19724182784557343,
0.08454898744821548,
0.21429459750652313,
-0.22268246114253998,
0.3641607463359833,
-0.3448728024959564,
0.45180749893188477,
-0.2714415490627289,
0.14891581237316132,
-0.4111432135105133,
0.23960518836975098,
0.5258162617683411,
0.04533379524946213,
0.023668866604566574,
0.015305601991713047,
-0.04596342146396637,
-0.05844627693295479,
0.4434950649738312,
0.399748295545578,
0.484535813331604,
-0.20003896951675415,
-0.06910917162895203,
-0.7048922777175903,
0.12256741523742676,
-0.14397844672203064,
0.08064272254705429,
-0.03931771218776703,
0.2658872604370117,
0.06894812732934952,
0.10023024678230286,
0.20983950793743134,
0.41867443919181824,
0.11342399567365646,
0.124800905585289,
0.04309802129864693,
-0.16080816090106964,
0.006830140948295593,
0.37220752239227295,
-0.2522420883178711,
-0.3703518211841583,
0.2870538830757141,
-0.2029837965965271,
-0.17077705264091492,
-0.1105092316865921,
-0.2118058204650879,
0.05306925252079964,
-0.01727701723575592,
0.3991199731826782,
0.10229519754648209,
0.5258089303970337,
0.005657505244016647,
-0.22910961508750916,
-0.1941855251789093,
-0.12938740849494934,
-0.04500211775302887,
0.12782929837703705,
-0.04514208063483238,
-0.18719109892845154,
-0.2521003782749176,
0.2327851504087448,
-0.22612378001213074,
0.2049933224916458,
-0.015157274901866913,
0.03409760445356369,
-0.1654585748910904,
-0.2254582941532135,
-0.09979502111673355,
0.023352064192295074,
0.07734879851341248,
-0.03802274912595749,
0.12299080938100815,
0.04426521807909012,
-0.15390057861804962,
-0.18032194674015045,
0.7935449481010437,
-0.542693018913269,
-0.215657040476799,
0.0627639889717102,
0.21074333786964417,
0.5437645316123962,
-0.13300800323486328,
-0.37228426337242126,
0.2139330804347992,
0.21861952543258667,
-0.09806565195322037,
-0.5139614939689636,
-0.03354198485612869,
-0.20954379439353943,
-0.014480732381343842,
-0.1159241795539856,
0.1874050796031952,
0.11865336447954178,
-0.540499210357666,
-0.09800572693347931,
-0.18590708076953888
] |
https://github.com/huggingface/datasets/issues/4725 | the_pile datasets URL broken. | Thanks for reporting, @TrentBrick. We are addressing the change with their data host server.
On the meantime, if you would like to work with your fixed local copy of the_pile script, you should use:
```python
load_dataset("path/to/your/local/the_pile/the_pile.py",...
```
instead of just `load_dataset("the_pile",...`.
The latter downloads a copy of `the_pile.py` from our GitHub, caches it locally (inside `~/.cache/huggingface/modules`) and uses that. | https://github.com/huggingface/datasets/pull/3627 changed the Eleuther AI Pile dataset URL from https://the-eye.eu/ to https://mystic.the-eye.eu/ but the latter is now broken and the former works again.
Note that when I git clone the repo and use `pip install -e .` and then edit the URL back the codebase doesn't seem to use this edit so the mystic URL is also cached somewhere else that I can't find? | 59 | the_pile datasets URL broken.
https://github.com/huggingface/datasets/pull/3627 changed the Eleuther AI Pile dataset URL from https://the-eye.eu/ to https://mystic.the-eye.eu/ but the latter is now broken and the former works again.
Note that when I git clone the repo and use `pip install -e .` and then edit the URL back the codebase doesn't seem to use this edit so the mystic URL is also cached somewhere else that I can't find?
Thanks for reporting, @TrentBrick. We are addressing the change with their data host server.
On the meantime, if you would like to work with your fixed local copy of the_pile script, you should use:
```python
load_dataset("path/to/your/local/the_pile/the_pile.py",...
```
instead of just `load_dataset("the_pile",...`.
The latter downloads a copy of `the_pile.py` from our GitHub, caches it locally (inside `~/.cache/huggingface/modules`) and uses that. | [
0.008803699165582657,
0.10232333838939667,
0.028942830860614777,
-0.007558904588222504,
0.11634640395641327,
-0.1296534240245819,
0.2873503267765045,
0.09818871319293976,
0.12217698991298676,
-0.018741920590400696,
-0.1085190549492836,
0.24716457724571228,
0.09457540512084961,
0.2668797969818115,
0.14014822244644165,
0.0947439968585968,
-0.09369169920682907,
-0.08808742463588715,
-0.09861493110656738,
-0.09741267561912537,
-0.08226125687360764,
0.2392427623271942,
-0.19904237985610962,
-0.1052650511264801,
0.08495841920375824,
0.3938630223274231,
-0.27300897240638733,
0.3607572317123413,
-0.09575938433408737,
-0.27278265357017517,
0.3302490711212158,
0.026646189391613007,
-0.03450392931699753,
0.630216658115387,
-0.00010582424147287384,
0.07089084386825562,
0.311112642288208,
-0.003852272406220436,
-0.2391856461763382,
-0.3985174894332886,
-0.10195398330688477,
-0.1624424159526825,
0.12428100407123566,
-0.134013831615448,
-0.001516837626695633,
-0.04771224409341812,
0.21668986976146698,
-0.14617154002189636,
0.19672542810440063,
0.2561562657356262,
0.22798487544059753,
0.5328052043914795,
0.285693883895874,
-0.11954335868358612,
0.045819658786058426,
0.059815894812345505,
-0.11842208355665207,
0.4919090270996094,
-0.0032029524445533752,
-0.001006036065518856,
0.1009787917137146,
0.3331766426563263,
0.15642966330051422,
-0.0018452703952789307,
0.2800236940383911,
0.22932149469852448,
-0.15913879871368408,
-0.01926489919424057,
-0.02169477939605713,
0.13698318600654602,
0.04552847519516945,
-0.37520432472229004,
-0.4176301062107086,
0.05002191662788391,
-0.003520140890032053,
-0.14418789744377136,
0.16291594505310059,
0.1625213772058487,
0.1562391221523285,
0.2873106598854065,
0.014852075837552547,
-0.05633486062288284,
-0.08730173110961914,
0.38387250900268555,
-0.05238519608974457,
0.2528359889984131,
-0.1828923523426056,
0.06450628489255905,
0.08546827733516693,
-0.10726688802242279,
-0.013737146742641926,
0.2541133165359497,
-0.11984069645404816,
0.17953166365623474,
-0.2003956288099289,
-0.005302805453538895,
0.14967887103557587,
0.42245084047317505,
0.26164689660072327,
0.29581886529922485,
0.2134564220905304,
0.20473191142082214,
-0.15906523168087006,
0.15937551856040955,
0.31895750761032104,
0.2946217954158783,
-0.006949670612812042,
-0.0846857950091362,
0.44008493423461914,
0.5470683574676514,
0.09005950391292572,
-0.007460162043571472,
-0.0014809179119765759,
-0.14084334671497345,
-0.04446898400783539,
-0.34574735164642334,
0.24343247711658478,
-0.14292430877685547,
-0.04861344397068024,
-0.017001625150442123,
0.11063661426305771,
-0.05440591648221016,
0.07267554104328156,
0.3172335922718048,
-0.23745450377464294,
0.2710498571395874,
0.06905700266361237,
0.15295681357383728,
0.002053000032901764,
-0.005942779127508402,
-0.2680990397930145,
0.07433828711509705,
-0.2643052637577057,
0.2132815271615982,
0.14510831236839294,
-0.44353294372558594,
0.47781139612197876,
0.005031001754105091,
0.3371230363845825,
0.0776100680232048,
-0.0664307177066803,
0.11483137309551239,
-0.02284833788871765,
0.18244753777980804,
0.1434488743543625,
0.030751166865229607,
0.13597838580608368,
-0.22282780706882477,
-0.07762906700372696,
-0.11925236135721207,
-0.3936484456062317,
-0.35935088992118835,
-0.33826327323913574,
0.17634674906730652,
-0.22197017073631287,
-0.12526138126850128,
-0.3591281473636627,
-0.19665460288524628,
-0.032507531344890594,
0.01735864207148552,
0.0449809730052948,
-0.19443508982658386,
0.2597483694553375,
-0.25034862756729126,
0.3890362083911896,
0.48816752433776855,
-0.13323791325092316,
-0.11617080867290497,
-0.47553807497024536,
0.011737826280295849,
-0.24741381406784058,
0.43388041853904724,
-0.14668239653110504,
-0.22576329112052917,
-0.45255807042121887,
-0.017508313059806824,
0.2637709975242615,
-0.3529774844646454,
-0.45099112391471863,
0.2697565257549286,
-0.09708082675933838,
0.022012164816260338,
-0.10302228480577469,
-0.010815517976880074,
-0.15093378722667694,
-0.053469423204660416,
0.1351955682039261,
0.20470552146434784,
0.12225832790136337,
-0.09587869048118591,
-0.26980429887771606,
-0.42696553468704224,
-0.32546180486679077,
0.15916721522808075,
-0.03831115737557411,
0.005159154534339905,
0.1326303631067276,
-0.2862434387207031,
0.40521952509880066,
0.09430156648159027,
-0.006974611431360245,
0.15105441212654114,
0.4174457788467407,
0.34257811307907104,
0.2354603260755539,
-0.06238289922475815,
-0.5204620361328125,
0.20915824174880981,
-0.27128562331199646,
0.32282617688179016,
-0.41179531812667847,
-0.22048607468605042,
-0.33214786648750305,
0.04978952556848526,
-0.2062463015317917,
-0.23780041933059692,
0.05927769094705582,
0.03795306384563446,
-0.020607691258192062,
0.10073772072792053,
-0.40825560688972473,
0.034734081476926804,
0.10257136821746826,
0.18995052576065063,
-0.5646942257881165,
0.503267765045166,
-0.21377789974212646,
-0.1218530535697937,
-0.021014269441366196,
0.14698433876037598,
0.04252306744456291,
-0.25759264826774597,
0.11946907639503479,
0.5279353857040405,
-0.37612882256507874,
0.1031743735074997,
0.18686199188232422,
0.1956706941127777,
0.27088990807533264,
-0.4642638564109802,
0.3535768687725067,
0.12436710298061371,
0.06790435314178467,
0.08487928658723831,
-0.09995213896036148,
0.2019500583410263,
0.02449733391404152,
0.19595834612846375,
0.19584167003631592,
0.05921643227338791,
0.2201915979385376,
-0.1502443104982376,
-0.13905055820941925,
-0.3073946237564087,
0.11219645291566849,
0.017177367582917213,
0.23841096460819244,
-0.10093551874160767,
-0.21221168339252472,
0.27156928181648254,
0.20221851766109467,
0.01673182100057602,
0.107217937707901,
0.23800602555274963,
-0.24866428971290588,
-0.1710999608039856,
-0.12613748013973236,
-0.01744050160050392,
0.35450270771980286,
0.1215725690126419,
-0.12652167677879333,
0.2191651463508606,
-0.046842511743307114,
-0.24575009942054749,
-0.03347674757242203,
-0.017298296093940735,
-0.2714913785457611,
-0.09536317735910416,
0.2576889395713806,
-0.1105981096625328,
-0.4232368767261505,
-0.2705753445625305,
-0.18135550618171692,
0.12980496883392334,
-0.257129967212677,
-0.03176146000623703,
-0.3845777213573456,
-0.24153941869735718,
-0.3501768410205841,
-0.1665869802236557,
-0.41259393095970154,
-0.3882427215576172,
-0.1457376480102539,
0.062413349747657776,
-0.1428195685148239,
0.16369661688804626,
0.014469049870967865,
0.012080118060112,
-0.0962202399969101,
-0.11424504965543747,
-0.3727608323097229,
-0.15511740744113922,
-0.16795462369918823,
0.04244065657258034,
0.06845574826002121,
-0.004410544876009226,
0.015731757506728172,
-0.24443964660167694,
-0.16990168392658234,
-0.4142524302005768,
-0.5362766981124878,
0.06628090888261795,
-0.03758428245782852,
0.4014434814453125,
0.20410937070846558,
0.3129269778728485,
0.049972645938396454,
-0.12998755276203156,
0.5035171508789062,
-0.26303309202194214,
0.18300281465053558,
-0.028631966561079025,
0.15112356841564178,
-0.11421848088502884,
-0.14153610169887543,
-0.35992231965065,
-0.09844136983156204,
-0.17308643460273743,
0.292655348777771,
0.11851257085800171,
-0.0031103938817977905,
-0.08967900276184082,
0.10810061544179916,
0.18495194613933563,
-0.07384786754846573,
-0.2457994818687439,
-0.13620653748512268,
-0.5529593825340271,
0.4582422971725464,
-0.39144590497016907,
-0.4170761704444885,
0.05112488940358162,
0.14980746805667877,
0.20620906352996826,
-0.1436963528394699,
-0.47599297761917114,
-0.36154812574386597,
-0.274860680103302,
0.031067434698343277,
0.18434402346611023,
0.2621440291404724,
0.20953728258609772,
-0.08757204562425613,
-0.15617232024669647,
0.012446735054254532,
-0.4053535461425781,
0.25271934270858765,
0.16178974509239197,
0.21934184432029724,
0.24018579721450806,
0.31326717138290405,
0.10673250257968903,
0.6011837720870972,
-0.08851991593837738,
-0.1251174509525299,
0.475327730178833,
-0.1302390694618225,
0.5666660666465759,
-0.03222019225358963,
-0.2529072165489197,
0.08854939043521881,
0.12141875177621841,
0.1809270828962326,
0.18457186222076416,
0.30162620544433594,
0.14396189153194427,
-0.20061083137989044,
-0.030551105737686157,
-0.24257388710975647,
-0.25894156098365784,
-0.09658827632665634,
0.1994960606098175,
-0.05605948716402054,
0.18544919788837433,
-0.04968825727701187,
-0.023863064125180244,
-0.20000535249710083,
0.3345596194267273,
0.4424789547920227,
-0.08361537009477615,
0.0391085110604763,
-0.4745657742023468,
-0.11348416656255722,
-0.25904586911201477,
0.45633798837661743,
-0.2500101923942566,
0.1970762014389038,
0.045083608478307724,
-0.1931799352169037,
0.11682317405939102,
-0.03122657537460327,
0.5887803435325623,
0.04835427179932594,
0.030672086402773857,
-0.05269866809248924,
0.032067157328128815,
-0.35996824502944946,
-0.016757391393184662,
0.08871491253376007,
-0.09393211454153061,
0.3256707191467285,
0.5176634788513184,
-0.2738272249698639,
-0.06140561029314995,
0.3439653217792511,
0.15552528202533722,
-0.10661771148443222,
-0.0454070158302784,
-0.22348245978355408,
-0.5473130345344543,
0.01757022924721241,
-0.20260298252105713,
-0.06312379240989685,
-0.08280307799577713,
0.09096566587686539,
0.007860135287046432,
0.002387130632996559,
-0.33059003949165344,
-0.04176463186740875,
0.026826143264770508,
0.24004632234573364,
0.0881471112370491,
0.0781494528055191,
0.2719382047653198,
0.23820754885673523,
0.12060753256082535,
0.6751266717910767,
-0.24833476543426514,
-0.5840663313865662,
-0.026645511388778687,
-0.045666199177503586,
0.01549191027879715,
0.41371670365333557,
0.027100592851638794,
-0.11392689496278763,
0.28480052947998047,
0.25413066148757935,
0.059929683804512024,
0.028283586725592613,
0.27993667125701904,
-0.06163080409169197,
-0.1636618822813034,
-0.48218345642089844,
0.415378600358963,
-0.09313122928142548,
0.07949729263782501,
0.3044474422931671,
0.27812302112579346,
-0.026900285854935646,
0.38120466470718384,
-0.1755085587501526,
0.9335260987281799,
-0.04288361966609955,
0.21372969448566437,
0.2691750228404999,
-0.027640987187623978,
0.21741871535778046,
0.08732952177524567,
-0.029116839170455933,
-0.3375779688358307,
-0.03056449070572853,
0.008774621412158012,
-0.15018145740032196,
0.15397855639457703,
0.056623660027980804,
0.023805465549230576,
0.5829946398735046,
-0.24547599256038666,
0.18150794506072998,
-0.011166147887706757,
0.2754705846309662,
-0.22203844785690308,
-0.0745190978050232,
-0.4023401141166687,
0.20475001633167267,
0.20477809011936188,
0.3613712787628174,
-0.10863368213176727,
-0.07724670320749283,
0.0033771544694900513,
-0.16287285089492798,
-0.2919129729270935,
0.2641429305076599,
-0.20999859273433685,
0.15216630697250366,
0.147194966673851,
-0.26882991194725037,
-0.13944168388843536,
0.18378829956054688,
0.3225075900554657,
0.17093302309513092,
-0.2797400653362274,
0.3486059010028839,
-0.048604317009449005,
-0.21413634717464447,
0.2876370847225189,
0.014663218520581722,
0.034104686230421066,
-0.09356720000505447,
-0.33723124861717224,
0.04187127202749252,
0.11791184544563293,
-0.20771661400794983,
-0.15821075439453125,
0.035046499222517014,
0.06147006154060364,
-0.0693010538816452,
-0.0904344916343689,
-0.00520806759595871,
0.30066126585006714,
-0.28148096799850464,
0.12153497338294983,
0.27773594856262207,
0.30835816264152527,
-0.17807143926620483,
-0.07864463329315186,
-0.1863098293542862,
-0.22496531903743744,
0.4887554347515106,
-0.18223091959953308,
-0.3786470293998718,
0.24207733571529388,
0.2681528329849243,
-0.014357384294271469,
-0.15370792150497437,
-0.1491624414920807,
0.1395828127861023,
-0.48738744854927063,
0.06732163578271866,
0.025165608152747154,
0.10635267198085785,
-0.008275853469967842,
0.08114330470561981,
0.030629588291049004,
0.03035757690668106,
-0.07037216424942017,
-0.5059942603111267,
0.026697224006056786,
0.2560376822948456,
0.1604955494403839,
-0.04275084659457207,
0.016156986355781555,
0.022186066955327988,
0.2319190502166748,
-0.21502135694026947,
-0.35094189643859863,
0.36819493770599365,
-0.06700871884822845,
-0.22730904817581177,
-0.07055983692407608,
0.05634256452322006,
0.6489101648330688,
-0.08576697111129761,
0.18585197627544403,
-0.11760787665843964,
-0.21381771564483643,
-0.1604345142841339,
-0.2489694356918335,
0.09561724960803986,
0.07795235514640808,
-0.12246569246053696,
-0.07126440107822418,
-0.2846601605415344,
-0.05960642918944359,
-0.1950482279062271,
0.18048806488513947,
0.3593491315841675,
-0.008362017571926117,
-0.118890680372715,
0.08075269311666489,
-0.1247827485203743,
0.14904987812042236,
0.16825294494628906,
0.13512969017028809,
0.13574233651161194,
0.22160030901432037,
0.03067101165652275,
-0.22633463144302368,
-0.05642928555607796,
0.1512669175863266,
-0.06203576177358627,
-0.08941793441772461,
0.3448697030544281,
0.23143476247787476,
-0.18747156858444214,
-0.2673313319683075,
-0.09502539038658142,
0.34342846274375916,
0.419602632522583,
-0.2200622856616974,
-0.022533828392624855,
0.3931863605976105,
0.20032228529453278,
-0.3473845422267914,
0.09867209196090698,
-0.03644354268908501,
0.14219699800014496,
-0.053754910826683044,
-0.0010260120034217834,
-0.02588288113474846,
0.0033367574214935303,
-0.03505104035139084,
0.1745700240135193,
0.5331902503967285,
-0.21785877645015717,
0.14642980694770813,
-0.14514119923114777,
-0.07218513637781143,
0.042588867247104645,
0.18174375593662262,
0.13352100551128387,
0.29636043310165405,
0.015321724116802216,
-0.1523224413394928,
-0.07249011844396591,
-0.02841366082429886,
0.2563125789165497,
0.08644471317529678,
-0.15890857577323914,
-0.3439232110977173,
0.217817485332489,
0.0657586082816124,
0.1489831954240799,
0.060498811304569244,
0.747161865234375,
-0.16348998248577118,
0.04138727858662605,
-0.14099062979221344,
0.1795433908700943,
0.24776911735534668,
-0.1619015485048294,
0.11648988723754883,
-0.11670362949371338,
-0.10197393596172333,
-0.05893947184085846,
0.0031334757804870605,
-0.25791555643081665,
0.2182893455028534,
0.033179640769958496,
-0.15338614583015442,
-0.6446223855018616,
-0.1371259093284607,
0.15289366245269775,
0.19228413701057434,
0.07828068733215332,
0.22579656541347504,
0.2893028259277344,
-0.19983860850334167,
0.14036285877227783,
0.2824842631816864,
0.3193720877170563,
0.10466590523719788,
0.28906896710395813,
0.16943244636058807,
-0.03814512491226196,
-0.04307752102613449,
-0.167862206697464,
-0.026484481990337372,
0.052369825541973114,
0.014445068314671516,
0.18203549087047577,
0.24639010429382324,
-0.23067893087863922,
-0.0057573094964027405,
-0.23783110082149506,
0.552890956401825,
-0.16503745317459106,
0.8444752097129822,
-0.33696526288986206,
-0.029347803443670273,
-0.253414124250412,
-0.08801884204149246,
-0.645002543926239,
-0.20803190767765045,
0.17641456425189972,
0.026293853297829628,
-0.06824477761983871,
-0.36168980598449707,
0.1069774478673935,
0.14134442806243896,
0.46405458450317383,
0.6568125486373901,
0.04048909991979599,
-0.02785208448767662,
-0.311077356338501,
-0.6851436495780945,
0.2327791452407837,
0.06736990809440613,
0.07421024143695831,
-0.03476874530315399,
0.17504405975341797,
-0.0521913543343544,
-0.12271817028522491,
0.22343137860298157,
0.04679887741804123,
-0.021710585802793503,
-0.13283392786979675,
-0.15393207967281342,
0.055790774524211884,
-0.42558127641677856,
0.27891942858695984,
0.24139180779457092,
-0.10937826335430145,
-0.005441736429929733,
-0.1657610535621643,
0.012521881610155106,
-0.12419073283672333,
0.11674338579177856,
-0.139378160238266,
-0.5535507202148438,
0.5222539901733398,
0.03892579674720764,
-0.13808253407478333,
0.06274177134037018,
-0.19707827270030975,
-0.5737838745117188,
-0.44765472412109375,
-0.10768212378025055,
0.2976546287536621,
0.015698565170168877,
0.100955531001091,
-0.19115062057971954,
-0.22018657624721527,
-0.43350690603256226,
0.2973800301551819,
-0.033777303993701935,
-0.19178315997123718,
0.015807677060365677,
0.2458849549293518,
0.030374601483345032,
-0.06569316238164902,
0.06251535564661026,
0.18902549147605896,
-0.11643658578395844,
0.04501032829284668,
0.025464102625846863,
-0.16071578860282898,
0.6120070219039917,
-0.3908822536468506,
0.0030703991651535034,
-0.005832187831401825,
0.3602379560470581,
-0.19067791104316711,
-0.28965213894844055,
-0.46322062611579895,
0.19041317701339722,
0.16776707768440247,
0.3745878040790558,
-0.4100756347179413,
0.010702652856707573,
-0.2726075351238251,
0.13279683887958527,
-0.1492808759212494,
0.3309744894504547,
0.28370174765586853,
-0.37100404500961304,
0.21167245507240295,
0.05488899350166321
] |
https://github.com/huggingface/datasets/issues/4725 | the_pile datasets URL broken. | @TrentBrick, I have checked the URLs and both hosts work, the original (https://the-eye.eu/) and the mirror (https://mystic.the-eye.eu/). See e.g.:
- https://mystic.the-eye.eu/public/AI/pile/
- https://mystic.the-eye.eu/public/AI/pile_preliminary_components/
Please, let me know if you still find any issue loading this dataset by using current server URLs. | https://github.com/huggingface/datasets/pull/3627 changed the Eleuther AI Pile dataset URL from https://the-eye.eu/ to https://mystic.the-eye.eu/ but the latter is now broken and the former works again.
Note that when I git clone the repo and use `pip install -e .` and then edit the URL back the codebase doesn't seem to use this edit so the mystic URL is also cached somewhere else that I can't find? | 41 | the_pile datasets URL broken.
https://github.com/huggingface/datasets/pull/3627 changed the Eleuther AI Pile dataset URL from https://the-eye.eu/ to https://mystic.the-eye.eu/ but the latter is now broken and the former works again.
Note that when I git clone the repo and use `pip install -e .` and then edit the URL back the codebase doesn't seem to use this edit so the mystic URL is also cached somewhere else that I can't find?
@TrentBrick, I have checked the URLs and both hosts work, the original (https://the-eye.eu/) and the mirror (https://mystic.the-eye.eu/). See e.g.:
- https://mystic.the-eye.eu/public/AI/pile/
- https://mystic.the-eye.eu/public/AI/pile_preliminary_components/
Please, let me know if you still find any issue loading this dataset by using current server URLs. | [
0.027461033314466476,
0.24456235766410828,
0.04138950631022453,
0.10977862775325775,
-0.11028482019901276,
-0.17548182606697083,
0.265245258808136,
-0.02813183143734932,
-0.05127947777509689,
-0.20966731011867523,
-0.19598588347434998,
0.020313246175646782,
0.21618027985095978,
0.09825202077627182,
0.03699837997555733,
0.10180075466632843,
-0.03267870098352432,
-0.04546618461608887,
-0.10148487985134125,
-0.09982077032327652,
0.01774442568421364,
0.24643462896347046,
-0.23633715510368347,
-0.10726974904537201,
0.14493386447429657,
0.3664505183696747,
-0.3523145020008087,
0.3608454167842865,
-0.20838984847068787,
-0.1964423656463623,
0.3153269290924072,
0.11918294429779053,
-0.021930700168013573,
0.5760695934295654,
-0.00011766555689973757,
0.08021427690982819,
0.30163055658340454,
0.05703292787075043,
-0.26042574644088745,
-0.16887901723384857,
-0.36776912212371826,
-0.18338638544082642,
0.06744853407144547,
-0.09012490510940552,
0.1010812446475029,
-0.10839840769767761,
0.1908019781112671,
-0.05990353599190712,
0.2994600534439087,
0.3222868740558624,
0.08956000953912735,
0.4206032156944275,
0.22017516195774078,
-0.03946531563997269,
0.052969299256801605,
-0.011892348527908325,
0.014851389452815056,
0.5305350422859192,
-0.024578824639320374,
0.13873682916164398,
0.04804302006959915,
0.2509768307209015,
0.1647430658340454,
-0.0005886759608983994,
0.0310671366751194,
0.09847719222307205,
-0.18036794662475586,
0.13591308891773224,
0.01492697186768055,
0.18863627314567566,
0.29004690051078796,
-0.09814607352018356,
-0.41228175163269043,
0.14209741353988647,
-0.14279226958751678,
-0.013724825344979763,
0.3372417688369751,
0.09003707766532898,
0.3029049336910248,
0.3969017267227173,
-0.04968710243701935,
-0.35049551725387573,
-0.12186233699321747,
0.5258551239967346,
-0.07783835381269455,
0.44967952370643616,
-0.06718521565198898,
0.1391906440258026,
-0.0034555085003376007,
0.005083343014121056,
0.2072412371635437,
0.22945892810821533,
-0.24806612730026245,
0.05960527062416077,
-0.3279007375240326,
-0.040211375802755356,
-0.07868493348360062,
0.16834405064582825,
0.12814873456954956,
0.5141467452049255,
0.23535113036632538,
0.199350506067276,
-0.2960933744907379,
-0.00859147310256958,
0.34333938360214233,
0.256779283285141,
-0.10310997813940048,
0.0639229342341423,
0.4543708562850952,
0.48207661509513855,
0.10636235773563385,
-0.02599465101957321,
-0.04585559666156769,
-0.16703557968139648,
-0.26484784483909607,
-0.3184809982776642,
0.054663486778736115,
-0.2291441410779953,
0.03543949872255325,
-0.1360948085784912,
-0.06615384668111801,
-0.05292053148150444,
0.06447156518697739,
0.17997446656227112,
-0.1342945545911789,
0.41996753215789795,
0.09641534090042114,
0.06520932167768478,
0.06973865628242493,
-0.18569311499595642,
-0.16258099675178528,
-0.08900433778762817,
-0.21435414254665375,
0.23282228410243988,
0.14012965559959412,
-0.3848682940006256,
0.38992828130722046,
0.08520727604627609,
0.32254505157470703,
0.0582352951169014,
-0.08673851937055588,
0.09765282273292542,
-0.040532879531383514,
0.13087618350982666,
-0.014573145657777786,
0.1441335529088974,
0.05511268973350525,
-0.1344539374113083,
0.043893344700336456,
-0.11358771473169327,
-0.5953065752983093,
-0.4089023768901825,
-0.34942176938056946,
0.038701266050338745,
-0.2162979692220688,
-0.11673915386199951,
-0.43386635184288025,
-0.09784692525863647,
-0.1300504505634308,
0.015008848160505295,
0.02042112499475479,
-0.11811473965644836,
0.4485889971256256,
-0.17617186903953552,
0.44428515434265137,
0.3234167993068695,
-0.18528872728347778,
-0.005234338343143463,
-0.434557169675827,
0.12515191733837128,
-0.21702328324317932,
0.6036355495452881,
-0.29356488585472107,
-0.31133049726486206,
-0.36183542013168335,
-0.08146154135465622,
0.3233729302883148,
-0.2537669837474823,
-0.5333048701286316,
0.2553718388080597,
0.012742139399051666,
-0.12623465061187744,
-0.2080557942390442,
0.0075440481305122375,
-0.006073780357837677,
-0.06398424506187439,
0.041079867631196976,
0.29105210304260254,
0.11485876888036728,
-0.15510883927345276,
-0.29350408911705017,
-0.47838297486305237,
-0.39237910509109497,
0.19832946360111237,
0.05814097076654434,
0.04163124039769173,
0.0812714695930481,
-0.09973344951868057,
0.4477479159832001,
0.05345685034990311,
-0.09558965265750885,
0.1662929356098175,
0.34779784083366394,
0.33844196796417236,
0.2861073613166809,
0.04051338881254196,
-0.4925065040588379,
0.18845313787460327,
-0.06797118484973907,
0.3736267685890198,
-0.2375190407037735,
0.06988780945539474,
-0.261014461517334,
-0.020432891324162483,
-0.13646483421325684,
-0.05480562523007393,
-0.07517259567975998,
0.045759689062833786,
-0.20325462520122528,
-0.054234325885772705,
-0.33725953102111816,
0.11851253360509872,
-0.05862767994403839,
0.232426255941391,
-0.38382694125175476,
0.6274716258049011,
-0.1402059942483902,
-0.019481118768453598,
0.025483950972557068,
0.00356881320476532,
0.08039122819900513,
-0.34025946259498596,
0.07743633538484573,
0.6450455784797668,
-0.38473260402679443,
0.14700105786323547,
0.38682085275650024,
0.15829351544380188,
0.38543254137039185,
-0.7124707102775574,
0.3815518617630005,
0.24543370306491852,
-0.012326305732131004,
0.029224544763565063,
-0.03150150924921036,
0.0819881334900856,
0.006893247365951538,
0.14918482303619385,
0.11298200488090515,
0.1321219801902771,
0.09241519123315811,
-0.18200166523456573,
-0.1997402459383011,
-0.15027669072151184,
0.2044220119714737,
-0.00449487566947937,
0.17040999233722687,
-0.0673460066318512,
-0.25614234805107117,
0.1625157594680786,
0.12691541016101837,
-0.04318147525191307,
-0.055012114346027374,
0.22879013419151306,
-0.2645602822303772,
-0.25188538432121277,
-0.12968723475933075,
0.0460209883749485,
0.14954307675361633,
0.025336697697639465,
-0.1024150550365448,
0.08290969580411911,
-0.07397344708442688,
-0.24677039682865143,
0.14457762241363525,
0.020455271005630493,
-0.16103288531303406,
-0.07120663672685623,
0.3153074085712433,
-0.15963837504386902,
-0.37571725249290466,
-0.3645278215408325,
0.03468891978263855,
0.15262410044670105,
-0.25488168001174927,
-0.03625224158167839,
-0.4186340570449829,
-0.16829031705856323,
-0.406236857175827,
-0.24396641552448273,
-0.37741321325302124,
-0.48649153113365173,
-0.256328821182251,
-0.0385834164917469,
-0.07807672023773193,
0.12219654768705368,
-0.07934866100549698,
0.021869495511054993,
-0.08867606520652771,
0.051809996366500854,
-0.31619516015052795,
-0.1415102779865265,
-0.19473174214363098,
-0.014919186010956764,
0.12089613080024719,
0.01796657219529152,
-0.19902607798576355,
-0.20898176729679108,
-0.15822328627109528,
-0.494354248046875,
-0.5510287284851074,
0.031463030725717545,
0.031147940084338188,
0.36716607213020325,
0.13380691409111023,
0.37950313091278076,
0.05569577217102051,
-0.0531599260866642,
0.4564163088798523,
-0.16716758906841278,
0.3301134705543518,
-0.08859580010175705,
0.06461966037750244,
-0.014650763012468815,
-0.015787336975336075,
-0.40040770173072815,
-0.03894050419330597,
0.02095182240009308,
0.0775723084807396,
-0.06814226508140564,
0.0321221724152565,
-0.12619593739509583,
0.08092930912971497,
0.05151013284921646,
0.039056677371263504,
-0.39353296160697937,
-0.029355229809880257,
-0.6808111071586609,
0.5069668889045715,
-0.1876068115234375,
-0.2879375219345093,
0.04909161105751991,
0.2735709547996521,
0.1779211312532425,
-0.03664631024003029,
-0.5777257084846497,
-0.12750254571437836,
-0.1602270007133484,
-0.10218556225299835,
0.20447969436645508,
0.018761634826660156,
0.09522229433059692,
-0.17484939098358154,
-0.09823588281869888,
0.05343490093946457,
-0.3250313103199005,
0.26595020294189453,
0.311216801404953,
0.42004990577697754,
0.2639237940311432,
0.32234567403793335,
0.1561320275068283,
0.854788064956665,
-0.13566818833351135,
-0.08264446258544922,
0.46599212288856506,
-0.026353297755122185,
0.3292154371738434,
0.10191147029399872,
-0.20880889892578125,
0.04811728000640869,
-0.012517616152763367,
0.2318851500749588,
0.061326347291469574,
0.43699008226394653,
-0.02245052345097065,
-0.2172236144542694,
0.03169400244951248,
-0.22547703981399536,
-0.16837438941001892,
-0.06430639326572418,
0.010169584304094315,
-0.004129648208618164,
0.24527263641357422,
-0.09516627341508865,
0.0024542082101106644,
-0.1508486568927765,
0.37140074372291565,
0.36078941822052,
-0.09539123624563217,
-0.00542181683704257,
-0.4981844127178192,
-0.07737130671739578,
-0.18027174472808838,
0.3946114778518677,
-0.3269559442996979,
0.4051975607872009,
0.08789266645908356,
0.025744352489709854,
0.14816364645957947,
-0.04807818681001663,
0.6589017510414124,
-0.07185973972082138,
0.06627572327852249,
-0.12370340526103973,
0.19475525617599487,
-0.29025501012802124,
-0.046890776604413986,
0.06682461500167847,
-0.16055110096931458,
0.5980491638183594,
0.6225104928016663,
-0.22470325231552124,
-0.041961319744586945,
0.376859575510025,
0.05825519934296608,
-0.24319548904895782,
0.042113400995731354,
-0.12074580788612366,
-0.5103126168251038,
0.13764047622680664,
-0.31214988231658936,
-0.142248272895813,
-0.058588843792676926,
0.08622255176305771,
0.08198344707489014,
-0.004498481750488281,
-0.27774539589881897,
-0.0640697032213211,
-0.09399612247943878,
0.19788587093353271,
0.03341586887836456,
-0.019059110432863235,
0.5079836845397949,
0.37082335352897644,
0.14669357240200043,
0.5663835406303406,
-0.11468647420406342,
-0.4663902521133423,
-0.0027871523052453995,
-0.04611062631011009,
0.010884203016757965,
0.5474644899368286,
0.17391054332256317,
-0.2394285798072815,
0.4185035824775696,
0.17037588357925415,
0.20012395083904266,
0.0033012540079653263,
0.2453872114419937,
0.04081559553742409,
-0.43479233980178833,
-0.45201796293258667,
0.5326991677284241,
-0.15302763879299164,
0.0020900294184684753,
0.30136436223983765,
0.4201766848564148,
-0.08282655477523804,
0.4007416367530823,
-0.03542257100343704,
0.9743022322654724,
-0.07752339541912079,
0.09993291646242142,
0.22814300656318665,
-0.16952195763587952,
0.22776144742965698,
-0.10495708882808685,
-0.029285941272974014,
-0.1700945347547531,
-0.030803125351667404,
-0.14001186192035675,
-0.24298489093780518,
0.20360010862350464,
0.10912345349788666,
0.07473579049110413,
0.6505151987075806,
-0.08860866725444794,
0.2236201912164688,
0.05518624931573868,
0.28653815388679504,
-0.024984804913401604,
0.08476211130619049,
-0.3109011650085449,
0.09442413598299026,
0.13117007911205292,
0.1740538626909256,
-0.14603129029273987,
-0.12498952448368073,
-0.03942956402897835,
-0.06654845178127289,
-0.4460771083831787,
0.2625824213027954,
-0.09087447822093964,
0.19797849655151367,
0.12332028150558472,
-0.3523508906364441,
-0.03306187689304352,
0.043489616364240646,
0.4139079451560974,
0.056570518761873245,
-0.34948480129241943,
0.5044777989387512,
-0.1537538468837738,
-0.14179788529872894,
0.325412780046463,
-0.025777749717235565,
-0.11206988990306854,
-0.013130052015185356,
-0.46220892667770386,
0.14275023341178894,
0.0983593761920929,
-0.4752501845359802,
-0.1179027408361435,
-0.08867722749710083,
0.04722703993320465,
0.060200341045856476,
0.056384194642305374,
0.1618196666240692,
0.33103451132774353,
-0.33456429839134216,
0.01847340352833271,
0.2915711998939514,
0.38066405057907104,
-0.3144340515136719,
-0.02269783243536949,
-0.13204705715179443,
-0.16127701103687286,
0.4868941307067871,
-0.11606628447771072,
-0.20448967814445496,
0.4113806188106537,
0.3155783712863922,
0.06863649934530258,
-0.03599081188440323,
-0.10138697177171707,
-0.004350457340478897,
-0.5513258576393127,
-0.05842093005776405,
-0.3289526402950287,
0.09454023838043213,
-0.06475535035133362,
0.06318286806344986,
0.15070673823356628,
0.18431420624256134,
-0.1731000542640686,
-0.5568253993988037,
0.19664371013641357,
0.23137518763542175,
-0.0041082389652729034,
-0.0005292482674121857,
-0.1757211685180664,
-0.03307114541530609,
0.24508604407310486,
-0.2108761966228485,
-0.1940639764070511,
0.5698742270469666,
-0.05286984145641327,
-0.10651986300945282,
-0.23318728804588318,
0.05122576653957367,
0.536182701587677,
-0.2251749038696289,
0.04168540984392166,
-0.20744208991527557,
-0.020186498761177063,
0.007228683680295944,
-0.21229925751686096,
0.1528932750225067,
0.141103595495224,
-0.24548380076885223,
-0.17837004363536835,
-0.3502209782600403,
-0.0630151629447937,
-0.05237703025341034,
-0.03959902375936508,
0.08911799639463425,
0.07276231795549393,
-0.16995932161808014,
0.1267838329076767,
-0.23584997653961182,
0.033167243003845215,
0.3062637448310852,
0.34060192108154297,
0.23167197406291962,
0.17368534207344055,
0.20232318341732025,
-0.149483323097229,
-0.1291070133447647,
-0.0824936181306839,
0.07055148482322693,
-0.14632302522659302,
0.39083269238471985,
0.34779131412506104,
-0.2385714203119278,
-0.24999788403511047,
0.05973963439464569,
0.308301717042923,
0.3918548822402954,
-0.0686047300696373,
-0.08061376214027405,
0.2535370886325836,
0.06424332410097122,
-0.19777654111385345,
0.07130087167024612,
0.06436772644519806,
0.2814491391181946,
-0.23538438975811005,
-0.17517024278640747,
0.043882738798856735,
-0.12162703275680542,
-0.11979347467422485,
0.20302700996398926,
0.5883035659790039,
-0.21458053588867188,
0.26309719681739807,
-0.11129225790500641,
-0.039089515805244446,
0.12128773331642151,
0.251376748085022,
0.06585822999477386,
0.14741072058677673,
0.019939832389354706,
-0.13565143942832947,
-0.10615973174571991,
0.29585713148117065,
0.3554327189922333,
0.1312977522611618,
-0.11089324951171875,
-0.5634369254112244,
0.19982340931892395,
0.06237628310918808,
0.13009721040725708,
0.1385304033756256,
0.6161895394325256,
-0.016186002641916275,
-0.07519461214542389,
-0.25405576825141907,
0.17623060941696167,
0.2692590653896332,
-0.24271534383296967,
-0.127133309841156,
-0.15352311730384827,
-0.0780695378780365,
0.0364346019923687,
-0.09494848549365997,
-0.2913409471511841,
0.3228462040424347,
0.0369420163333416,
-0.04475367069244385,
-0.7920326590538025,
-0.08292269706726074,
0.17650219798088074,
0.08606378734111786,
0.1214357316493988,
0.27530092000961304,
0.25728604197502136,
-0.31554922461509705,
0.34658941626548767,
0.30808326601982117,
0.1358473002910614,
-0.04595640301704407,
0.2533661723136902,
0.21980762481689453,
0.07553917169570923,
-0.10917279124259949,
-0.07053451985120773,
0.05557248368859291,
0.1136731281876564,
-0.10229702293872833,
0.11838418245315552,
0.12226001918315887,
-0.11439064145088196,
0.02018554136157036,
-0.23987014591693878,
0.6513172388076782,
-0.20639285445213318,
0.8365966081619263,
-0.3598722219467163,
-0.03145201876759529,
-0.0954635739326477,
-0.1262616217136383,
-0.4875932037830353,
-0.114283487200737,
0.21572889387607574,
-0.10726191103458405,
-0.030829880386590958,
-0.11014264076948166,
0.019566893577575684,
0.09090836346149445,
0.5185533165931702,
0.7417205572128296,
0.006639029830694199,
-0.03987425938248634,
-0.47408032417297363,
-0.6176398992538452,
0.07176573574542999,
0.11372189223766327,
0.16441743075847626,
0.04430080205202103,
0.23818306624889374,
0.044750507920980453,
-0.10062654316425323,
0.2583572566509247,
0.19155316054821014,
-0.0690682902932167,
-0.04302888363599777,
-0.19338013231754303,
0.13806301355361938,
-0.2752339839935303,
0.44093790650367737,
-0.049528930336236954,
-0.005953352898359299,
0.19593548774719238,
0.05730466917157173,
-0.11864220350980759,
-0.039042163640260696,
-0.0034113042056560516,
-0.09410472214221954,
-0.5056890249252319,
0.3214108347892761,
0.12198707461357117,
-0.2033592164516449,
0.21802490949630737,
-0.14124634861946106,
-0.5961974859237671,
-0.6333457231521606,
-0.07538886368274689,
0.21303746104240417,
-0.027734648436307907,
0.14191728830337524,
-0.21674148738384247,
0.08703844249248505,
-0.3024987578392029,
0.13397322595119476,
-0.07122644037008286,
-0.13159258663654327,
-0.2260269969701767,
0.1247057244181633,
-0.02520667016506195,
-0.1646527200937271,
-0.010260194540023804,
0.19507881999015808,
-0.01244308054447174,
-0.06844372302293777,
0.044548243284225464,
0.016241123899817467,
0.5005807280540466,
-0.533386766910553,
0.06038567051291466,
0.0010229726321995258,
0.30072271823883057,
0.02075246348977089,
-0.026257561519742012,
-0.38731634616851807,
0.04725649207830429,
0.2251950055360794,
0.23098963499069214,
-0.48652711510658264,
-0.12697544693946838,
0.019901100546121597,
0.1988227218389511,
-0.1513614058494568,
0.27687904238700867,
0.2415471076965332,
-0.5877810120582581,
0.06593795120716095,
0.12029451131820679
] |
https://github.com/huggingface/datasets/issues/4725 | the_pile datasets URL broken. | Great this is working now. Re the download from GitHub... I'm sure thought went into doing this but could it be made more clear maybe here? https://huggingface.co/docs/datasets/installation for example under installing from source? I spent over an hour questioning my sanity as I kept trying to edit this file, uninstall and reinstall the repo, git reset to previous versions of the file etc. | https://github.com/huggingface/datasets/pull/3627 changed the Eleuther AI Pile dataset URL from https://the-eye.eu/ to https://mystic.the-eye.eu/ but the latter is now broken and the former works again.
Note that when I git clone the repo and use `pip install -e .` and then edit the URL back the codebase doesn't seem to use this edit so the mystic URL is also cached somewhere else that I can't find? | 63 | the_pile datasets URL broken.
https://github.com/huggingface/datasets/pull/3627 changed the Eleuther AI Pile dataset URL from https://the-eye.eu/ to https://mystic.the-eye.eu/ but the latter is now broken and the former works again.
Note that when I git clone the repo and use `pip install -e .` and then edit the URL back the codebase doesn't seem to use this edit so the mystic URL is also cached somewhere else that I can't find?
Great this is working now. Re the download from GitHub... I'm sure thought went into doing this but could it be made more clear maybe here? https://huggingface.co/docs/datasets/installation for example under installing from source? I spent over an hour questioning my sanity as I kept trying to edit this file, uninstall and reinstall the repo, git reset to previous versions of the file etc. | [
0.20789171755313873,
0.19409453868865967,
0.04316883906722069,
0.09011675417423248,
0.07177511602640152,
-0.11088104546070099,
0.09704592823982239,
-0.09865091741085052,
-0.14412334561347961,
-0.2026054710149765,
-0.16724394261837006,
0.12127814441919327,
0.2268880307674408,
0.05948115885257721,
0.13759909570217133,
0.13659179210662842,
-0.09210187941789627,
0.022384941577911377,
-0.014437586069107056,
-0.018211178481578827,
0.038180626928806305,
0.18754242360591888,
-0.1968826949596405,
-0.09941670298576355,
0.08805375546216965,
0.10232454538345337,
-0.3353363275527954,
0.37681668996810913,
-0.31187427043914795,
-0.27615299820899963,
0.2623823583126068,
0.1984449177980423,
-0.11858205497264862,
0.6144163012504578,
-0.00011861899838550016,
-0.0539880096912384,
0.14645496010780334,
0.03783027082681656,
-0.2443232387304306,
-0.16215895116329193,
-0.4193558692932129,
-0.1490413099527359,
-0.08146380633115768,
-0.13877861201763153,
0.27428382635116577,
-0.061334047466516495,
0.12180684506893158,
-0.07882605493068695,
0.25939586758613586,
0.35404497385025024,
0.11310805380344391,
0.3419405221939087,
0.3627442717552185,
-0.02562580816447735,
0.07596997171640396,
0.039499230682849884,
0.0021028462797403336,
0.5777788758277893,
-0.012835122644901276,
0.24056720733642578,
0.07895544171333313,
0.27353644371032715,
0.1739136427640915,
-0.07634150981903076,
0.21603816747665405,
0.09990163147449493,
-0.2622779309749603,
-0.018746323883533478,
0.009032364934682846,
0.17142608761787415,
0.0442369244992733,
-0.3205922842025757,
-0.4311487078666687,
0.02095583826303482,
-0.014535405673086643,
-0.12730753421783447,
0.33963558077812195,
0.12138150632381439,
0.2257746011018753,
0.38186734914779663,
-0.14449654519557953,
-0.38245707750320435,
-0.08219339698553085,
0.3985089063644409,
-0.021332796663045883,
0.25182366371154785,
-0.2039543092250824,
0.01821722835302353,
0.11603781580924988,
0.10234096646308899,
0.03632858023047447,
0.19197188317775726,
-0.32286038994789124,
0.10723353922367096,
-0.07262097299098969,
-0.11511608213186264,
-0.0140242800116539,
0.39268791675567627,
0.2224283516407013,
0.2860797643661499,
0.18589790165424347,
0.12509417533874512,
-0.23576323688030243,
-0.02505584806203842,
0.2676171362400055,
0.3262164890766144,
-0.05713609606027603,
-0.000945637933909893,
0.43984657526016235,
0.6099799871444702,
0.07337738573551178,
0.02164030820131302,
0.06942740082740784,
-0.17643079161643982,
-0.2224026471376419,
-0.29565665125846863,
0.16265663504600525,
-0.15809321403503418,
-0.03918163478374481,
-0.032582271844148636,
-0.19383341073989868,
-0.11016015708446503,
0.026500409469008446,
0.10144547373056412,
-0.21449576318264008,
0.18175628781318665,
-0.011544646695256233,
0.009540626779198647,
0.016516344621777534,
-0.1502668559551239,
-0.14618048071861267,
0.06391896307468414,
-0.2375035285949707,
0.27474939823150635,
0.07774554193019867,
-0.3833848237991333,
0.4615612030029297,
0.21812938153743744,
0.22242499887943268,
-0.15135350823402405,
-0.1911902129650116,
0.12828706204891205,
0.023165829479694366,
0.09378351271152496,
-0.04933004453778267,
0.16767600178718567,
0.08644767105579376,
-0.30638837814331055,
-0.029919903725385666,
-0.15109580755233765,
-0.5607252717018127,
-0.3350147008895874,
-0.32570528984069824,
0.06593185663223267,
-0.3042405843734741,
-0.10686652362346649,
-0.46045640110969543,
-0.1101636290550232,
-0.1020684614777565,
0.04815618321299553,
0.1732930988073349,
0.011545838788151741,
0.5112383961677551,
-0.2587835490703583,
0.38883522152900696,
0.3859565854072571,
-0.19382344186306,
-0.07272640615701675,
-0.4196120500564575,
0.15860362350940704,
-0.15159597992897034,
0.5322426557540894,
-0.25931280851364136,
-0.0430869460105896,
-0.3731095790863037,
-0.0015984848141670227,
0.42710795998573303,
-0.30542421340942383,
-0.4828431308269501,
0.29492586851119995,
0.013833396136760712,
0.003923183307051659,
-0.21298575401306152,
-0.08540071547031403,
-0.08757644146680832,
-0.0260530523955822,
0.022236835211515427,
0.12359315901994705,
0.12614478170871735,
-0.20806480944156647,
-0.35102972388267517,
-0.42748481035232544,
-0.40436679124832153,
0.013876449316740036,
-0.06402744352817535,
0.11034781485795975,
0.18145553767681122,
-0.12164921313524246,
0.4524107873439789,
0.06195981428027153,
-0.10193902999162674,
0.27594196796417236,
0.434510201215744,
0.36446428298950195,
0.16553209722042084,
-0.09264117479324341,
-0.4776923656463623,
0.06686043739318848,
-0.14531251788139343,
0.3066807985305786,
-0.39726465940475464,
-0.1944778859615326,
-0.2790054678916931,
-0.08727922290563583,
-0.14401045441627502,
-0.3214161992073059,
-0.015500228852033615,
0.10819964855909348,
-0.1328035295009613,
0.007036946713924408,
-0.3522217869758606,
0.09753211587667465,
-0.08180566132068634,
0.2660512626171112,
-0.4294193387031555,
0.43488749861717224,
-0.19744180142879486,
0.023277897387742996,
-0.07102571427822113,
0.2010672390460968,
-0.06361939758062363,
-0.3187551498413086,
0.07625751197338104,
0.7063934206962585,
-0.3963468670845032,
0.017942629754543304,
0.3717750608921051,
0.20118176937103271,
0.35926511883735657,
-0.57744961977005,
0.22504299879074097,
0.07391071319580078,
-0.028045546263456345,
0.1168028935790062,
-0.18014949560165405,
0.11615448445081711,
-0.08089746534824371,
0.046869561076164246,
0.16380274295806885,
0.06389033049345016,
0.16166432201862335,
-0.15145865082740784,
-0.2620861530303955,
-0.1555061638355255,
0.12054307758808136,
0.06307439506053925,
0.16818873584270477,
0.011575635522603989,
-0.19099801778793335,
0.28158676624298096,
0.3221558928489685,
-0.007895879447460175,
0.0025632306933403015,
0.11019090563058853,
-0.17962300777435303,
-0.27940264344215393,
-0.18039514124393463,
0.21285028755664825,
0.19678184390068054,
0.03628731891512871,
-0.0755169540643692,
0.15695852041244507,
-0.11209624260663986,
-0.22011782228946686,
0.1361297219991684,
0.1399138867855072,
-0.2821841835975647,
-0.08737672120332718,
0.24986688792705536,
0.016979511827230453,
-0.3859044313430786,
-0.30462855100631714,
-0.07282787561416626,
0.21683362126350403,
-0.36888059973716736,
0.042776696383953094,
-0.4583214819431305,
-0.3118012845516205,
-0.45934316515922546,
-0.152240589261055,
-0.5263881087303162,
-0.4308171272277832,
-0.21057233214378357,
-0.10503682494163513,
-0.013391243293881416,
0.19144195318222046,
0.1401686668395996,
0.09451836347579956,
-0.16862936317920685,
0.02344490960240364,
-0.23757918179035187,
-0.02484244666993618,
-0.13526004552841187,
-0.011073561385273933,
0.1693536937236786,
0.05855422839522362,
-0.04086071252822876,
-0.2959682047367096,
-0.16922728717327118,
-0.5215592384338379,
-0.6086552739143372,
0.010222312062978745,
-0.09109970927238464,
0.45814454555511475,
0.21914876997470856,
0.31474098563194275,
-0.07831119745969772,
-0.037244971841573715,
0.30816176533699036,
-0.0318252332508564,
0.21081304550170898,
-0.18781499564647675,
0.05803646519780159,
-0.04714307188987732,
-0.09136836230754852,
-0.3940207064151764,
0.10116666555404663,
-0.08190086483955383,
0.3118787407875061,
-0.03258836269378662,
-0.042070649564266205,
-0.057290367782115936,
0.02257000282406807,
0.24443426728248596,
-0.0889534130692482,
-0.2760758697986603,
-0.07150019705295563,
-0.5888863205909729,
0.46309149265289307,
-0.25550606846809387,
-0.28641706705093384,
0.17089010775089264,
0.2993764877319336,
0.23251953721046448,
-0.025712214410305023,
-0.5706233382225037,
-0.18026350438594818,
-0.2540309727191925,
-0.009441506117582321,
0.08506443351507187,
0.21140561997890472,
0.22246798872947693,
-0.08450763672590256,
-0.06501521915197372,
0.0020429380238056183,
-0.3577856421470642,
0.20048251748085022,
0.22172453999519348,
0.42611294984817505,
0.13504330813884735,
0.35069596767425537,
0.1860751062631607,
0.7520492076873779,
-0.03496820107102394,
-0.041130032390356064,
0.3230958878993988,
-0.13802915811538696,
0.5976478457450867,
0.14169973134994507,
-0.16587358713150024,
0.040207404643297195,
-0.0072350651025772095,
0.2689783573150635,
0.08526989072561264,
0.41580742597579956,
0.16063091158866882,
-0.13526280224323273,
0.07339403033256531,
-0.27628618478775024,
-0.244903564453125,
-0.12265007197856903,
0.11415456235408783,
-0.03724176436662674,
0.27034759521484375,
-0.06531830132007599,
0.031484875828027725,
-0.13507071137428284,
0.3213953971862793,
0.48952555656433105,
-0.019652076065540314,
0.07686424255371094,
-0.4816899001598358,
-0.07973213493824005,
-0.17204084992408752,
0.23546987771987915,
-0.2680055499076843,
0.27685514092445374,
0.12632478773593903,
0.031335532665252686,
0.22122223675251007,
0.020405957475304604,
0.5966728925704956,
-0.08813229203224182,
0.012364331632852554,
-0.13390807807445526,
0.20464134216308594,
-0.20208396017551422,
0.05141013488173485,
0.025326576083898544,
-0.012616842985153198,
0.5589569807052612,
0.6051167845726013,
-0.3059649169445038,
-0.024515774101018906,
0.4412809908390045,
0.05472332611680031,
-0.05750545486807823,
0.037052661180496216,
-0.06404320150613785,
-0.5884891748428345,
0.054317571222782135,
-0.2991380989551544,
0.03609583526849747,
-0.1049337089061737,
0.11187148839235306,
0.11638477444648743,
0.06465610861778259,
-0.14966748654842377,
0.027752898633480072,
-0.1357623040676117,
0.21040287613868713,
0.09033433347940445,
-0.1489536315202713,
0.40679922699928284,
0.37055546045303345,
0.12008196860551834,
0.6173174977302551,
-0.19938836991786957,
-0.500578761100769,
0.022752391174435616,
-0.1257888823747635,
-0.012709483504295349,
0.6033872365951538,
0.11812540143728256,
-0.08016311377286911,
0.4971393644809723,
0.2300058752298355,
0.187708780169487,
0.106471948325634,
0.3572172522544861,
0.09059489518404007,
-0.44789037108421326,
-0.4992678463459015,
0.48812568187713623,
-0.06169399991631508,
-0.011233672499656677,
0.3748951852321625,
0.5978838801383972,
-0.12960444390773773,
0.1937408447265625,
0.005551353096961975,
1.1459572315216064,
0.025568898767232895,
0.15430711209774017,
0.2207709550857544,
-0.2684394121170044,
0.44508475065231323,
-0.0643080398440361,
-0.0323740653693676,
-0.11416240781545639,
0.11116897314786911,
-0.13810670375823975,
-0.21924392879009247,
0.20716020464897156,
-0.022364221513271332,
-0.07516219466924667,
0.5904420614242554,
-0.13550424575805664,
0.2901298999786377,
0.09640562534332275,
0.06952428817749023,
-0.1798340082168579,
0.1311453878879547,
-0.3138794004917145,
0.05984596163034439,
0.1501682996749878,
0.2660990059375763,
-0.17084771394729614,
-0.13761651515960693,
-0.10664971172809601,
-0.04908168315887451,
-0.4953534007072449,
0.030754737555980682,
-0.21001189947128296,
0.024274975061416626,
0.12236511707305908,
-0.31346651911735535,
0.0012910086661577225,
0.20222161710262299,
0.4785814881324768,
0.19070060551166534,
-0.4003293216228485,
0.43648386001586914,
-0.20523521304130554,
-0.13443277776241302,
0.3615271747112274,
0.02597625181078911,
-0.028874391689896584,
-0.04444291442632675,
-0.2958114445209503,
0.0008839219808578491,
0.0013953810557723045,
-0.40096473693847656,
-0.21902449429035187,
-0.08093926310539246,
-0.024412445724010468,
-0.0681610256433487,
0.08073930442333221,
0.08635032922029495,
0.2940627336502075,
-0.39338865876197815,
0.01832273229956627,
0.18512564897537231,
0.3964570462703705,
-0.21416598558425903,
-0.07640822231769562,
-0.23053008317947388,
-0.22844208776950836,
0.4186968207359314,
-0.24381384253501892,
-0.28689074516296387,
0.22265224158763885,
0.13838213682174683,
-0.1344117522239685,
-0.08184806257486343,
-0.14689302444458008,
0.045264896005392075,
-0.6168172955513,
-0.0571359358727932,
-0.3340107500553131,
0.14193202555179596,
-0.09132371097803116,
0.03876010328531265,
0.20162609219551086,
0.2507493495941162,
-0.09187360852956772,
-0.5283888578414917,
0.1472933441400528,
0.23163102567195892,
0.1161266416311264,
-0.04251594468951225,
-0.18632236123085022,
-0.0007938705384731293,
0.2545526921749115,
-0.19929146766662598,
-0.225185364484787,
0.5776183009147644,
-0.0056823305785655975,
-0.230760395526886,
-0.10263316333293915,
0.1484203040599823,
0.524163544178009,
-0.24212199449539185,
0.05426716059446335,
-0.07333933562040329,
-0.0728662982583046,
-0.0021545737981796265,
-0.2370394766330719,
0.1636413186788559,
0.0337635837495327,
-0.23113760352134705,
0.031611669808626175,
-0.20940285921096802,
-0.06358127295970917,
-0.06744485348463058,
0.053566668182611465,
0.16473257541656494,
0.18741512298583984,
-0.10182125866413116,
0.12697531282901764,
-0.10628365725278854,
0.06696963310241699,
0.21009057760238647,
0.32943910360336304,
0.25868621468544006,
0.2701301574707031,
0.1990625262260437,
-0.2760685980319977,
-0.10186800360679626,
-0.05156648904085159,
0.09578350186347961,
-0.12410511076450348,
0.37724488973617554,
0.28377971053123474,
-0.242633655667305,
-0.10174323618412018,
0.016832860186696053,
0.3891667127609253,
0.47775551676750183,
-0.13502776622772217,
-0.03184036165475845,
0.316129595041275,
0.05618877708911896,
-0.14319971203804016,
0.12174908816814423,
0.02276545576751232,
0.07827232033014297,
-0.15100467205047607,
-0.022043682634830475,
-0.037256184965372086,
-0.07039055228233337,
-0.14648164808750153,
0.15666422247886658,
0.6343430280685425,
-0.18855731189250946,
0.21748314797878265,
-0.06673060357570648,
-0.13121941685676575,
0.05752525478601456,
0.28675416111946106,
0.149443119764328,
0.1756749302148819,
0.00007533282041549683,
-0.08892572671175003,
-0.05208531767129898,
0.1970636546611786,
0.3365362882614136,
0.05116664990782738,
-0.10567693412303925,
-0.381808876991272,
0.28374171257019043,
0.10168838500976562,
0.10636422038078308,
0.12716439366340637,
0.6012219190597534,
-0.0995974913239479,
-0.08716000616550446,
-0.015346799045801163,
0.17246916890144348,
0.2837512493133545,
-0.16888722777366638,
0.01085030660033226,
-0.26469510793685913,
-0.11891262233257294,
-0.026211537420749664,
-0.046876031905412674,
-0.27565425634384155,
0.20089077949523926,
0.03593054041266441,
-0.1908671110868454,
-0.8028684258460999,
-0.044229790568351746,
-0.039064884185791016,
0.294929563999176,
0.03407924249768257,
0.2293119728565216,
0.11670129746198654,
-0.2407107651233673,
0.2285984307527542,
0.3611062467098236,
0.2284395545721054,
0.007871624082326889,
0.395614892244339,
0.1823149174451828,
0.025932174175977707,
-0.02973899058997631,
0.014312271028757095,
0.06754623353481293,
0.09121614694595337,
-0.13533607125282288,
0.10077714920043945,
0.11888861656188965,
-0.15325455367565155,
0.060256317257881165,
-0.28429752588272095,
0.5858975052833557,
-0.22567427158355713,
0.8229542970657349,
-0.35196736454963684,
-0.02604847028851509,
-0.07193838804960251,
-0.20987921953201294,
-0.38282689452171326,
-0.11675570905208588,
0.14149042963981628,
-0.06222103163599968,
-0.07273923605680466,
-0.1623220294713974,
0.04268474876880646,
0.15282729268074036,
0.4245859682559967,
0.859285295009613,
0.03348312899470329,
0.02926034852862358,
-0.4310445785522461,
-0.7256446480751038,
0.048442207276821136,
0.1696668118238449,
0.014629023149609566,
0.036594457924366,
0.09740246832370758,
-0.12516412138938904,
-0.15242783725261688,
0.25036776065826416,
-0.03862324729561806,
0.11016764491796494,
-0.12900428473949432,
-0.20787250995635986,
0.013178164139389992,
-0.20969177782535553,
0.40524521470069885,
0.06671495735645294,
0.03156213462352753,
0.22325849533081055,
0.1037726029753685,
-0.0996708869934082,
0.004779202863574028,
0.1299256831407547,
-0.0982702374458313,
-0.508299708366394,
0.2296745628118515,
0.15540778636932373,
-0.1862073838710785,
0.1534830927848816,
-0.39146947860717773,
-0.6217609643936157,
-0.45640814304351807,
-0.10711722075939178,
0.3678666949272156,
-0.025806330144405365,
0.13063398003578186,
-0.1741517037153244,
-0.15176942944526672,
-0.40908607840538025,
0.28134000301361084,
-0.02364465221762657,
-0.05178355798125267,
-0.1753767728805542,
0.1579163819551468,
0.05822667479515076,
-0.0842139795422554,
0.18033486604690552,
0.21215853095054626,
-0.12750184535980225,
0.11347189545631409,
-0.021105647087097168,
-0.05057092010974884,
0.5383602380752563,
-0.3617478609085083,
0.13900306820869446,
0.10302266478538513,
0.45410481095314026,
0.06512734293937683,
-0.23594221472740173,
-0.5540362596511841,
-0.035150304436683655,
0.3030361533164978,
0.23724928498268127,
-0.5036965012550354,
0.003519541583955288,
-0.26351475715637207,
0.18911315500736237,
-0.061990126967430115,
0.4064857065677643,
0.20492452383041382,
-0.45976173877716064,
0.3026884198188782,
0.05250239372253418
] |
https://github.com/huggingface/datasets/issues/4725 | the_pile datasets URL broken. | Thanks @TrentBrick for the suggestion about improving our docs: we should definitely do this if you find they are not clear enough.
Currently, our docs explain how to load a dataset from a local loading script here: [Load > Local loading script](https://huggingface.co/docs/datasets/loading#local-loading-script)
I've opened an issue here:
- #4732
Feel free to comment on it any additional explanation/suggestion/requirement related to this problem. | https://github.com/huggingface/datasets/pull/3627 changed the Eleuther AI Pile dataset URL from https://the-eye.eu/ to https://mystic.the-eye.eu/ but the latter is now broken and the former works again.
Note that when I git clone the repo and use `pip install -e .` and then edit the URL back the codebase doesn't seem to use this edit so the mystic URL is also cached somewhere else that I can't find? | 62 | the_pile datasets URL broken.
https://github.com/huggingface/datasets/pull/3627 changed the Eleuther AI Pile dataset URL from https://the-eye.eu/ to https://mystic.the-eye.eu/ but the latter is now broken and the former works again.
Note that when I git clone the repo and use `pip install -e .` and then edit the URL back the codebase doesn't seem to use this edit so the mystic URL is also cached somewhere else that I can't find?
Thanks @TrentBrick for the suggestion about improving our docs: we should definitely do this if you find they are not clear enough.
Currently, our docs explain how to load a dataset from a local loading script here: [Load > Local loading script](https://huggingface.co/docs/datasets/loading#local-loading-script)
I've opened an issue here:
- #4732
Feel free to comment on it any additional explanation/suggestion/requirement related to this problem. | [
0.06096474453806877,
0.20854142308235168,
0.09434591233730316,
0.06399401277303696,
0.08075379580259323,
-0.03316529095172882,
0.21478207409381866,
-0.027576550841331482,
0.1631937175989151,
-0.12858296930789948,
-0.11716625839471817,
0.12172406166791916,
0.15459991991519928,
0.2019178867340088,
0.22412177920341492,
0.09347005933523178,
-0.06748075038194656,
-0.15494102239608765,
-0.04399077594280243,
-0.04241984337568283,
-0.08673421293497086,
0.18323057889938354,
-0.20666281878948212,
-0.16424992680549622,
0.07226745039224625,
0.41416653990745544,
-0.30758237838745117,
0.45560166239738464,
-0.16608430445194244,
-0.3047066628932953,
0.324263334274292,
0.14612863957881927,
0.08761253952980042,
0.5383530259132385,
-0.00011636268754955381,
-0.0675877258181572,
0.3718690276145935,
-0.008220093324780464,
-0.23035675287246704,
-0.269473671913147,
-0.292163610458374,
-0.16033989191055298,
0.18673785030841827,
-0.0711955577135086,
0.13647520542144775,
-0.10806101560592651,
0.15660017728805542,
-0.134391188621521,
0.17681217193603516,
0.28824397921562195,
0.09983301907777786,
0.4761449098587036,
0.2002841979265213,
-0.06751609593629837,
-0.010554425418376923,
0.10431056469678879,
-0.033778589218854904,
0.7000981569290161,
0.11497460305690765,
-0.04889305680990219,
-0.10128270834684372,
0.24787475168704987,
0.15758106112480164,
-0.0710044801235199,
0.27337735891342163,
0.21069733798503876,
-0.22609007358551025,
0.08239780366420746,
-0.07162798196077347,
0.18863466382026672,
0.25847458839416504,
-0.2906227707862854,
-0.35280120372772217,
-0.019112877547740936,
-0.03611617907881737,
-0.065122090280056,
0.3134273290634155,
0.11153334379196167,
0.18216904997825623,
0.35897335410118103,
-0.09709900617599487,
-0.30782371759414673,
-0.09989705681800842,
0.4796971082687378,
0.04900544881820679,
0.2270781397819519,
-0.12750588357448578,
0.00016547739505767822,
0.12054701149463654,
0.003210064023733139,
0.22609220445156097,
0.25107812881469727,
-0.14205043017864227,
0.15913482010364532,
-0.18656957149505615,
-0.037905365228652954,
0.08633193373680115,
0.48971423506736755,
0.29119858145713806,
0.3174901604652405,
0.31679943203926086,
0.13408389687538147,
-0.27244630455970764,
0.04622023180127144,
0.30982786417007446,
0.2908003628253937,
0.09664785861968994,
-0.05000164359807968,
0.3771181106567383,
0.606404721736908,
0.022387508302927017,
-0.050495490431785583,
-0.08673026412725449,
-0.22693948447704315,
-0.18424279987812042,
-0.3155004680156708,
0.08914045244455338,
-0.21927772462368011,
0.0658477321267128,
0.01632913388311863,
0.11676505953073502,
-0.11422678828239441,
0.13297949731349945,
0.23270022869110107,
-0.16540056467056274,
0.34135088324546814,
0.009643863886594772,
0.08361842483282089,
-0.008978755213320255,
-0.20451343059539795,
-0.178521990776062,
0.04114346578717232,
-0.3127703368663788,
0.3935123085975647,
0.12338453531265259,
-0.4041181206703186,
0.4560200273990631,
0.02430768311023712,
0.19391869008541107,
-0.0009456649422645569,
-0.24998056888580322,
0.20976467430591583,
-0.003646358847618103,
0.12575708329677582,
0.12040053308010101,
0.06730438768863678,
0.17744095623493195,
-0.1968940943479538,
-0.05573614314198494,
-0.08690012246370316,
-0.5184062719345093,
-0.4117511212825775,
-0.443471759557724,
0.010595373809337616,
-0.17775633931159973,
-0.14269804954528809,
-0.4836191236972809,
-0.008921273052692413,
-0.1255722939968109,
0.021057095378637314,
0.012039393186569214,
-0.012516792863607407,
0.18943318724632263,
-0.20280398428440094,
0.3794234097003937,
0.555534303188324,
-0.25532886385917664,
-0.14401891827583313,
-0.37540388107299805,
0.11181442439556122,
-0.17561322450637817,
0.5328006148338318,
-0.35705336928367615,
-0.07749851793050766,
-0.42876893281936646,
-0.053943559527397156,
0.3074330687522888,
-0.34805387258529663,
-0.38711461424827576,
0.4021625220775604,
-0.0432509146630764,
-0.09186100214719772,
-0.2044863998889923,
-0.041486531496047974,
-0.12194852530956268,
-0.09241778403520584,
0.10899689793586731,
0.2285720556974411,
0.04235678166151047,
-0.10371080785989761,
-0.2647051513195038,
-0.4484003186225891,
-0.3185993432998657,
0.18795017898082733,
-0.09915727376937866,
0.12984591722488403,
0.18464580178260803,
-0.17358951270580292,
0.4980902373790741,
0.09406633675098419,
-0.16554692387580872,
0.21639886498451233,
0.24740220606327057,
0.34927135705947876,
0.22325468063354492,
0.0405157133936882,
-0.747435450553894,
0.14114487171173096,
-0.2145506590604782,
0.24579323828220367,
-0.3620139956474304,
-0.167230486869812,
-0.302578330039978,
0.02789975516498089,
-0.10948649048805237,
-0.07440036535263062,
-0.11385053396224976,
0.03000577539205551,
-0.12501946091651917,
0.0906762182712555,
-0.37219154834747314,
0.01966205984354019,
-0.07983008772134781,
0.274789035320282,
-0.608787477016449,
0.5104742050170898,
-0.06315861642360687,
0.0015980768948793411,
-0.03749289736151695,
0.07368725538253784,
0.055920783430337906,
-0.2332306206226349,
0.04433608055114746,
0.6622381210327148,
-0.2133837789297104,
0.1802692711353302,
0.3133834898471832,
0.2548421025276184,
0.38935190439224243,
-0.53209388256073,
0.24093152582645416,
0.0768599733710289,
-0.03729085624217987,
0.0494307205080986,
-0.27101781964302063,
0.12708285450935364,
-0.09260314702987671,
0.12393470853567123,
0.15197338163852692,
0.05526486039161682,
0.07561251521110535,
-0.10875029861927032,
-0.26370730996131897,
-0.25497913360595703,
0.14015983045101166,
0.08538389205932617,
0.21147415041923523,
0.005932603031396866,
-0.17509683966636658,
0.2560514509677887,
0.16585670411586761,
-0.06740843504667282,
-0.009195223450660706,
0.23630160093307495,
-0.1922253668308258,
-0.3219740688800812,
-0.07543342560529709,
-0.008288729935884476,
0.22211599349975586,
0.057345692068338394,
-0.08580367267131805,
0.13268913328647614,
-0.09689632058143616,
-0.23686422407627106,
0.02863464504480362,
0.046606846153736115,
-0.24964885413646698,
-0.042073845863342285,
0.11099404841661453,
-0.09890421479940414,
-0.43860533833503723,
-0.24074898660182953,
-0.07720036059617996,
0.1805439293384552,
-0.38876938819885254,
-0.0691056177020073,
-0.42130523920059204,
-0.2407403588294983,
-0.40696507692337036,
-0.20245599746704102,
-0.3639945089817047,
-0.5009980797767639,
-0.3134751319885254,
0.06907808035612106,
-0.12885794043540955,
0.13193410634994507,
-0.06831563264131546,
0.08886134624481201,
-0.13015422224998474,
-0.037278272211551666,
-0.26155954599380493,
-0.07805964350700378,
-0.16697543859481812,
-0.06989024579524994,
0.22307957708835602,
0.07373502850532532,
-0.14219652116298676,
-0.29096969962120056,
-0.10919752717018127,
-0.4703163802623749,
-0.5100435614585876,
0.08068405091762543,
0.03226420283317566,
0.4082465171813965,
0.19192524254322052,
0.34312164783477783,
-0.009798118844628334,
-0.11522682756185532,
0.378405898809433,
-0.17637652158737183,
0.2911296784877777,
-0.08824077248573303,
0.11349164694547653,
-0.07219075411558151,
-0.07332400977611542,
-0.4755353629589081,
0.045776449143886566,
-0.10201506316661835,
0.154678076505661,
-0.07155200839042664,
-0.02418404072523117,
-0.1317632645368576,
0.11282415688037872,
0.1289665848016739,
-0.19078433513641357,
-0.4267691373825073,
-0.052209433168172836,
-0.6548202633857727,
0.5044704675674438,
-0.32391631603240967,
-0.3565807342529297,
-0.002352677285671234,
0.18188506364822388,
0.1755041480064392,
-0.12553995847702026,
-0.4776155352592468,
-0.17504428327083588,
-0.18867389857769012,
-0.05326376110315323,
0.13505566120147705,
0.09294050186872482,
0.19841936230659485,
-0.1280079185962677,
-0.0019327402114868164,
0.061222516000270844,
-0.35877442359924316,
0.160324364900589,
0.20013058185577393,
0.32632195949554443,
0.25630849599838257,
0.37225502729415894,
0.07156820595264435,
0.5962372422218323,
-0.10549566149711609,
-0.06069415435194969,
0.47256389260292053,
-0.18812093138694763,
0.5519097447395325,
0.10051698982715607,
-0.2149575650691986,
0.022649137303233147,
0.06228369474411011,
0.13812898099422455,
0.21313931047916412,
0.43449485301971436,
0.14126189053058624,
-0.18898572027683258,
0.02788158878684044,
-0.28535163402557373,
-0.2636316418647766,
-0.03453144431114197,
0.09352000057697296,
-0.13578948378562927,
0.16049177944660187,
-0.0011932291090488434,
0.025782249867916107,
-0.09260024130344391,
0.3620632290840149,
0.48010963201522827,
0.08910954743623734,
0.03177303820848465,
-0.5067553520202637,
0.053761035203933716,
-0.34241983294487,
0.260814905166626,
-0.20928122103214264,
0.28922781348228455,
0.08277870714664459,
-0.030108219012618065,
0.10046938061714172,
0.08267047256231308,
0.6679911017417908,
-0.04316376894712448,
0.02339356020092964,
-0.14261490106582642,
0.10157576203346252,
-0.3428739905357361,
0.0695769339799881,
0.12353858351707458,
-0.10702195018529892,
0.38516589999198914,
0.6001207828521729,
-0.21692883968353271,
-0.07620847970247269,
0.35274186730384827,
0.006732946261763573,
-0.12983152270317078,
-0.16972266137599945,
-0.0358874574303627,
-0.43552881479263306,
0.07201208174228668,
-0.29533684253692627,
-0.04719201475381851,
-0.0736924558877945,
0.08610188961029053,
0.07215361297130585,
0.18298457562923431,
-0.2491166591644287,
-0.03900836408138275,
-0.0943015068769455,
0.17607632279396057,
0.13968026638031006,
0.028197504580020905,
0.527172327041626,
0.3385538160800934,
0.14826618134975433,
0.657655656337738,
-0.2654098570346832,
-0.615063488483429,
-0.015875443816184998,
-0.023949677124619484,
0.09669569134712219,
0.46730178594589233,
0.11667867004871368,
-0.20391744375228882,
0.4887077808380127,
0.14161133766174316,
0.041252005845308304,
0.15166451036930084,
0.22991998493671417,
-0.01059582270681858,
-0.3513099253177643,
-0.5347658395767212,
0.6253902912139893,
-0.08267901837825775,
-0.00846099853515625,
0.36692553758621216,
0.35303795337677,
-0.08712563663721085,
0.31131070852279663,
-0.029550813138484955,
0.9262011051177979,
-0.16587099432945251,
0.18083728849887848,
0.3065062463283539,
-0.07016889750957489,
0.31271809339523315,
0.022712334990501404,
-0.15073567628860474,
-0.27625927329063416,
0.013482145965099335,
-0.13332965970039368,
-0.1672637015581131,
0.11301849037408829,
0.1746653914451599,
0.039654362946748734,
0.6853033900260925,
-0.22402261197566986,
0.2688830494880676,
0.052866943180561066,
0.2780649960041046,
-0.14190152287483215,
-0.0909116268157959,
-0.3158167004585266,
0.05511583387851715,
0.16985130310058594,
0.33467185497283936,
-0.11017756164073944,
-0.05289270728826523,
0.07872360944747925,
-0.07008271664381027,
-0.36469483375549316,
0.16260188817977905,
-0.18676985800266266,
-0.00639372318983078,
0.10125623643398285,
-0.1906801462173462,
-0.119021475315094,
0.3934079706668854,
0.3098732829093933,
0.13507960736751556,
-0.456833153963089,
0.3700607717037201,
-0.21170341968536377,
-0.22273100912570953,
0.23336456716060638,
-0.08296304941177368,
0.03407425060868263,
0.05343218892812729,
-0.2931481897830963,
-0.09603873640298843,
0.08242423087358475,
-0.35475659370422363,
-0.20283620059490204,
-0.006744742393493652,
0.1356484591960907,
-0.14293603599071503,
-0.16129663586616516,
0.013319581747055054,
0.33272868394851685,
-0.283891499042511,
-0.0064775533974170685,
0.30166539549827576,
0.4422628581523895,
-0.2758163511753082,
0.00237906351685524,
-0.14274436235427856,
-0.19338636100292206,
0.5269174575805664,
-0.2781876027584076,
-0.40093082189559937,
0.15252801775932312,
0.3296857476234436,
-0.011549104005098343,
-0.06708269566297531,
-0.12479568272829056,
0.37780341506004333,
-0.5090755224227905,
-0.05186666175723076,
-0.08967306464910507,
0.15912066400051117,
-0.08083456754684448,
0.011858034878969193,
0.1696222424507141,
0.05526717007160187,
-0.03747548162937164,
-0.5114928483963013,
0.014307638630270958,
0.4046880006790161,
0.05220630764961243,
-0.044268619269132614,
-0.06256752461194992,
-0.08104133605957031,
0.20444633066654205,
-0.19709810614585876,
-0.18456394970417023,
0.4704301655292511,
0.13098368048667908,
-0.2776704430580139,
-0.08559802174568176,
0.18975093960762024,
0.621021568775177,
-0.19270259141921997,
0.021787451580166817,
-0.19753500819206238,
-0.013011651113629341,
0.0156739242374897,
-0.3052477240562439,
0.16853535175323486,
0.11972887814044952,
-0.12980525195598602,
-0.0847223550081253,
-0.35147249698638916,
-0.11319658160209656,
-0.26368939876556396,
0.09601819515228271,
0.344164103269577,
0.10690846294164658,
-0.09173376113176346,
0.22205984592437744,
-0.09177590161561966,
0.03478562831878662,
0.3149219751358032,
0.2311229109764099,
0.23402783274650574,
0.16905882954597473,
0.0921793282032013,
-0.2599231004714966,
-0.09282178431749344,
0.058677077293395996,
0.08941257745027542,
0.04355478286743164,
0.38990139961242676,
0.2833922207355499,
-0.1492505818605423,
-0.20786941051483154,
-0.04069831594824791,
0.3608730137348175,
0.3512415587902069,
-0.21508540213108063,
-0.044204745441675186,
0.2962588667869568,
0.051794152706861496,
-0.17651477456092834,
0.015976840630173683,
-0.06755080819129944,
0.1654079705476761,
-0.16323700547218323,
-0.06138395518064499,
0.0017480254173278809,
-0.0973447784781456,
-0.13843697309494019,
0.05949317663908005,
0.5604578852653503,
-0.1520678550004959,
0.11900243163108826,
-0.07710437476634979,
-0.1071842759847641,
0.026030197739601135,
0.2114773541688919,
0.14872044324874878,
0.24941682815551758,
-0.038240931928157806,
-0.030998341739177704,
-0.09498493373394012,
0.09571416676044464,
0.4590814411640167,
0.07722122967243195,
-0.27407747507095337,
-0.41450735926628113,
0.3484664857387543,
0.006847947835922241,
0.1490645557641983,
0.09329745173454285,
0.690945029258728,
-0.014552951790392399,
-0.029293838888406754,
-0.11879882961511612,
0.10137947648763657,
0.2975052297115326,
-0.2709696590900421,
0.014658071100711823,
-0.12739208340644836,
-0.06495355814695358,
0.013947982341051102,
-0.06073317304253578,
-0.3422245383262634,
0.14244288206100464,
-0.025032013654708862,
-0.1562831550836563,
-0.6940937638282776,
-0.05403353273868561,
0.19139906764030457,
0.14836423099040985,
0.06539671123027802,
0.25846150517463684,
0.07972247898578644,
-0.22141140699386597,
0.3073853850364685,
0.20453856885433197,
0.20828033983707428,
0.06422032415866852,
0.38819220662117004,
0.07240360230207443,
-0.029862750321626663,
0.010248808190226555,
0.032231587916612625,
0.011149346828460693,
-0.03174059838056564,
-0.09905630350112915,
0.2174878865480423,
0.120388463139534,
-0.13321155309677124,
0.05619243532419205,
-0.17618072032928467,
0.6081947684288025,
-0.11178120970726013,
0.7010064125061035,
-0.2723918557167053,
0.016290828585624695,
-0.17554907500743866,
-0.024683579802513123,
-0.47419387102127075,
-0.1910145878791809,
0.18238478899002075,
-0.003166839247569442,
-0.07731695473194122,
-0.16070273518562317,
0.02277977764606476,
0.21813450753688812,
0.4895774722099304,
0.8432846069335938,
0.06160719692707062,
-0.0441230833530426,
-0.40075355768203735,
-0.7509132623672485,
0.10098896920681,
0.2363455593585968,
0.1411256492137909,
0.11051668226718903,
0.14682339131832123,
-0.12339464575052261,
-0.021850354969501495,
0.03281726688146591,
0.041195232421159744,
0.04750252515077591,
-0.11667773127555847,
-0.13000208139419556,
-0.01975199580192566,
-0.2840096354484558,
0.3970996141433716,
0.045978084206581116,
-0.05244850739836693,
0.16569094359874725,
-0.03837554529309273,
-0.15709155797958374,
-0.12346477806568146,
0.1728149801492691,
-0.16859804093837738,
-0.46168532967567444,
0.36058545112609863,
0.1206350028514862,
-0.09313036501407623,
0.12999621033668518,
-0.23198018968105316,
-0.6359989047050476,
-0.5145488977432251,
-0.11832060664892197,
0.32138791680336,
-0.09260915219783783,
0.11318877339363098,
-0.21266290545463562,
-0.1267755925655365,
-0.3580774962902069,
0.29147228598594666,
-0.012135036289691925,
-0.08790072798728943,
-0.2545933425426483,
0.15478253364562988,
0.005645923316478729,
-0.07211366295814514,
0.07892823964357376,
0.23432275652885437,
-0.13472880423069,
0.19305840134620667,
0.18665768206119537,
-0.0882800817489624,
0.5981030464172363,
-0.4296112060546875,
0.1577116847038269,
0.031006842851638794,
0.39602091908454895,
0.02761782705783844,
-0.16280825436115265,
-0.5354649424552917,
0.0281723290681839,
0.19683289527893066,
0.24957773089408875,
-0.40078580379486084,
0.04960998520255089,
-0.22075138986110687,
0.1962793916463852,
-0.2009972780942917,
0.42663878202438354,
0.32445216178894043,
-0.40916308760643005,
0.15079818665981293,
0.03163677453994751
] |
https://github.com/huggingface/datasets/issues/4721 | PyArrow Dataset error when calling `load_dataset` | Hi ! It looks like a bug in `pyarrow`. If you manage to end up with only one chunk per parquet file it should workaround this issue.
To achieve that you can try to lower the value of `max_shard_size` and also don't use `map` before `push_to_hub`.
Do you have a minimum reproducible example that we can share with the Arrow team for further debugging ? | ## Describe the bug
I am fine tuning a wav2vec2 model following the script here using my own dataset: https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py
Loading my Audio dataset from the hub which was originally generated from disk results in the following PyArrow error:
```sh
File "/home/ubuntu/w2v2/run_speech_recognition_ctc.py", line 227, in main
raw_datasets = load_dataset(
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/load.py", line 1679, in load_dataset
builder_instance.download_and_prepare(
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/builder.py", line 704, in download_and_prepare
self._download_and_prepare(
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/builder.py", line 793, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/builder.py", line 1268, in _prepare_split
for key, table in logging.tqdm(
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/tqdm/std.py", line 1195, in __iter__
for obj in iterable:
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/packaged_modules/parquet/parquet.py", line 68, in _generate_tables
for batch_idx, record_batch in enumerate(
File "pyarrow/_parquet.pyx", line 1309, in iter_batches
File "pyarrow/error.pxi", line 121, in pyarrow.lib.check_status
pyarrow.lib.ArrowNotImplementedError: Nested data conversions not implemented for chunked array outputs
```
## Steps to reproduce the bug
I created a dataset from a JSON lines manifest of `audio_filepath`, `text`, and `duration`.
When creating the dataset, I do something like this:
```python
import json
from datasets import Dataset, Audio
# manifest_lines is a list of dicts w/ "audio_filepath", "duration", and "text
for line in manifest_lines:
line = line.strip()
if line:
line_dict = json.loads(line)
manifest_dict["audio"].append(f"{root_path}/{line_dict['audio_filepath']}")
manifest_dict["duration"].append(line_dict["duration"])
manifest_dict["transcription"].append(line_dict["text"])
# Create a HF dataset
dataset = Dataset.from_dict(manifest_dict).cast_column(
"audio", Audio(sampling_rate=16_000),
)
# From the docs for saving to disk
# https://huggingface.co/docs/datasets/v2.3.2/en/package_reference/main_classes#datasets.Dataset.save_to_disk
def read_audio_file(example):
with open(example["audio"]["path"], "rb") as f:
return {"audio": {"bytes": f.read()}}
dataset = dataset.map(read_audio_file, num_proc=70)
dataset.save_to_disk(f"/audio-data/hf/{artifact_name}")
dataset.push_to_hub(f"{org-name}/{artifact_name}", max_shard_size="5GB", private=True)
```
Then when I call `load_dataset()` in my training script, with the same dataset I generated above, and download from the huggingface hub I get the above stack trace.
I am able to load the dataset fine if I use `load_from_disk()`.
## Expected results
`load_dataset()` should behave just like `load_from_disk()` and not cause any errors.
## Actual results
See above
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
I am using the `huggingface/transformers-pytorch-gpu:latest` image
- `datasets` version: 2.3.0
- Platform: Docker/Ubuntu 20.04
- Python version: 3.8
- PyArrow version: 8.0.0
| 65 | PyArrow Dataset error when calling `load_dataset`
## Describe the bug
I am fine tuning a wav2vec2 model following the script here using my own dataset: https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py
Loading my Audio dataset from the hub which was originally generated from disk results in the following PyArrow error:
```sh
File "/home/ubuntu/w2v2/run_speech_recognition_ctc.py", line 227, in main
raw_datasets = load_dataset(
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/load.py", line 1679, in load_dataset
builder_instance.download_and_prepare(
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/builder.py", line 704, in download_and_prepare
self._download_and_prepare(
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/builder.py", line 793, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/builder.py", line 1268, in _prepare_split
for key, table in logging.tqdm(
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/tqdm/std.py", line 1195, in __iter__
for obj in iterable:
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/packaged_modules/parquet/parquet.py", line 68, in _generate_tables
for batch_idx, record_batch in enumerate(
File "pyarrow/_parquet.pyx", line 1309, in iter_batches
File "pyarrow/error.pxi", line 121, in pyarrow.lib.check_status
pyarrow.lib.ArrowNotImplementedError: Nested data conversions not implemented for chunked array outputs
```
## Steps to reproduce the bug
I created a dataset from a JSON lines manifest of `audio_filepath`, `text`, and `duration`.
When creating the dataset, I do something like this:
```python
import json
from datasets import Dataset, Audio
# manifest_lines is a list of dicts w/ "audio_filepath", "duration", and "text
for line in manifest_lines:
line = line.strip()
if line:
line_dict = json.loads(line)
manifest_dict["audio"].append(f"{root_path}/{line_dict['audio_filepath']}")
manifest_dict["duration"].append(line_dict["duration"])
manifest_dict["transcription"].append(line_dict["text"])
# Create a HF dataset
dataset = Dataset.from_dict(manifest_dict).cast_column(
"audio", Audio(sampling_rate=16_000),
)
# From the docs for saving to disk
# https://huggingface.co/docs/datasets/v2.3.2/en/package_reference/main_classes#datasets.Dataset.save_to_disk
def read_audio_file(example):
with open(example["audio"]["path"], "rb") as f:
return {"audio": {"bytes": f.read()}}
dataset = dataset.map(read_audio_file, num_proc=70)
dataset.save_to_disk(f"/audio-data/hf/{artifact_name}")
dataset.push_to_hub(f"{org-name}/{artifact_name}", max_shard_size="5GB", private=True)
```
Then when I call `load_dataset()` in my training script, with the same dataset I generated above, and download from the huggingface hub I get the above stack trace.
I am able to load the dataset fine if I use `load_from_disk()`.
## Expected results
`load_dataset()` should behave just like `load_from_disk()` and not cause any errors.
## Actual results
See above
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
I am using the `huggingface/transformers-pytorch-gpu:latest` image
- `datasets` version: 2.3.0
- Platform: Docker/Ubuntu 20.04
- Python version: 3.8
- PyArrow version: 8.0.0
Hi ! It looks like a bug in `pyarrow`. If you manage to end up with only one chunk per parquet file it should workaround this issue.
To achieve that you can try to lower the value of `max_shard_size` and also don't use `map` before `push_to_hub`.
Do you have a minimum reproducible example that we can share with the Arrow team for further debugging ? | [
-0.2546969950199127,
0.19534075260162354,
0.06179940328001976,
0.181983083486557,
0.21366670727729797,
0.0009270012378692627,
0.3114229440689087,
0.31124457716941833,
-0.371707558631897,
-0.18198247253894806,
-0.06331103295087814,
0.3034168481826782,
-0.16759158670902252,
-0.10379263758659363,
0.11990056186914444,
-0.16638466715812683,
0.01717597246170044,
0.05360086262226105,
-0.1344228833913803,
0.08408322930335999,
-0.230666846036911,
0.333901047706604,
-0.40038567781448364,
0.17457857728004456,
-0.4701162278652191,
0.06758545339107513,
0.21434763073921204,
0.4153006076812744,
0.026481278240680695,
-0.5935637950897217,
0.3937526047229767,
-0.02184266969561577,
0.28747621178627014,
0.21648573875427246,
-0.00011007704597432166,
0.13738605380058289,
0.19767901301383972,
-0.1205165907740593,
-0.2159520983695984,
-0.04553323984146118,
0.1290978193283081,
-0.07060525566339493,
-0.0042295558378100395,
-0.12279144674539566,
-0.0033384189009666443,
-0.15790246427059174,
-0.10398437082767487,
0.3652364909648895,
0.3114769458770752,
0.33179324865341187,
0.2000603973865509,
0.3961998224258423,
0.162620410323143,
-0.04772300273180008,
0.19961854815483093,
-0.007503174245357513,
0.08527635782957077,
0.5002333521842957,
0.08281508833169937,
-0.17716269195079803,
-0.3513556122779846,
0.24575945734977722,
-0.2807920277118683,
0.2969541549682617,
0.31711238622665405,
0.20512574911117554,
-0.27651992440223694,
-0.1383083611726761,
-0.07827430218458176,
0.16709311306476593,
0.3019413948059082,
-0.6030870676040649,
-0.10430260002613068,
-0.24107521772384644,
0.10710649192333221,
-0.29634103178977966,
0.14856933057308197,
0.08789446204900742,
-0.26140958070755005,
0.283456951379776,
-0.04925483465194702,
0.03449901565909386,
-0.2342086136341095,
-0.05875219404697418,
0.006321430206298828,
-0.045411720871925354,
-0.030876867473125458,
0.17588287591934204,
0.012186054140329361,
0.02674521878361702,
-0.004790544509887695,
0.16686491668224335,
-0.22398555278778076,
0.272703617811203,
-0.5940591096878052,
0.02238055318593979,
0.07906830310821533,
-0.03610219806432724,
0.13361230492591858,
-0.18726800382137299,
0.17424167692661285,
-0.20335882902145386,
0.18456174433231354,
0.322040855884552,
0.02725428342819214,
0.1300172507762909,
-0.28875136375427246,
-0.021991459652781487,
0.18082460761070251,
-0.25858163833618164,
0.028952930122613907,
0.016883930191397667,
-0.12746232748031616,
-0.39421892166137695,
0.27749043703079224,
0.035192154347896576,
0.4472733736038208,
-0.07023907452821732,
-0.5763991475105286,
-0.05170310288667679,
-0.1643381267786026,
0.07606504112482071,
0.17350603640079498,
0.4457092881202698,
0.2618340253829956,
0.10845321416854858,
-0.02614653669297695,
0.4398135542869568,
-0.30583223700523376,
-0.28142663836479187,
-0.11076857894659042,
-0.07507579028606415,
0.11149309575557709,
0.09283192455768585,
0.41570988297462463,
0.016393452882766724,
0.4038976728916168,
0.15553589165210724,
0.3162669837474823,
0.09550108015537262,
-0.007201649248600006,
-0.038491375744342804,
-0.12339233607053757,
0.3692680299282074,
0.03144865110516548,
0.22356343269348145,
0.05845344811677933,
0.21796424686908722,
-0.10474735498428345,
0.22511085867881775,
-0.33442220091819763,
-0.3656081557273865,
-0.1621544361114502,
0.1524234563112259,
-0.18005508184432983,
-0.031428948044776917,
-0.14136266708374023,
0.06407616287469864,
0.25080451369285583,
-0.490773469209671,
-0.2507137656211853,
-0.2736470699310303,
-0.18890832364559174,
-0.1995028853416443,
0.2472180724143982,
0.11994766443967819,
-0.5023120641708374,
0.0870528370141983,
0.15454861521720886,
0.08235488831996918,
0.13394218683242798,
0.28159192204475403,
-0.24375076591968536,
0.5682881474494934,
-0.22176571190357208,
0.42931264638900757,
0.09318014979362488,
-0.34624966979026794,
-0.4695557653903961,
-0.04815637320280075,
-0.14321023225784302,
0.07048319280147552,
0.07317623496055603,
-0.05002125725150108,
0.04175613075494766,
-0.2717116177082062,
0.16515082120895386,
0.13378864526748657,
-0.02415001578629017,
0.23488295078277588,
-0.20167990028858185,
-0.1737089902162552,
0.38995081186294556,
0.0688050240278244,
-0.12214156985282898,
-0.13470134139060974,
0.07815028727054596,
0.1046864241361618,
0.31815555691719055,
-0.1446496695280075,
0.07202588766813278,
0.08837570250034332,
0.12911027669906616,
-0.42112427949905396,
0.1522516906261444,
-0.00925552099943161,
-0.4444102644920349,
0.3300011456012726,
-0.2830807864665985,
0.17845766246318817,
-0.18181265890598297,
0.11854265630245209,
-0.43093305826187134,
0.1070297434926033,
-0.37418803572654724,
-0.1511707603931427,
0.11442713439464569,
0.09319217503070831,
0.005767472088336945,
-0.033266231417655945,
-0.15361793339252472,
0.1357661634683609,
-0.017597557976841927,
0.04611789435148239,
-0.2408774048089981,
0.3814886510372162,
0.049000635743141174,
-0.325704962015152,
0.2567110061645508,
0.3045966923236847,
0.2550625205039978,
0.05782824009656906,
-0.09771614521741867,
0.4674054980278015,
-0.011731227859854698,
0.21436423063278198,
-0.3293772339820862,
-0.0267346054315567,
0.12488587945699692,
-0.3865066468715668,
0.1207558885216713,
0.15211954712867737,
0.26640257239341736,
-0.04236116632819176,
0.20786747336387634,
0.24216966331005096,
-0.005497436970472336,
0.183611199259758,
-0.20222902297973633,
-0.07515651732683182,
0.2792215347290039,
0.24245256185531616,
0.2060554176568985,
0.07760433852672577,
0.034883275628089905,
0.25435930490493774,
0.42171984910964966,
-0.06559301912784576,
0.1687200516462326,
-0.03714092820882797,
0.4496532380580902,
-0.04602249339222908,
0.0635829046368599,
0.2370850145816803,
-0.30108126997947693,
-0.25373733043670654,
0.11102212220430374,
-0.16248849034309387,
0.3604928255081177,
0.14335760474205017,
-0.3300056457519531,
0.04951189458370209,
-0.27527865767478943,
-0.005220063030719757,
0.1756313592195511,
-0.0669047087430954,
0.28095772862434387,
0.4549236595630646,
0.24170181155204773,
-0.04015156254172325,
-0.3501986563205719,
-0.08767784386873245,
0.08474195003509521,
0.31106558442115784,
-0.5316249132156372,
-0.06571946293115616,
-0.04243321716785431,
0.38308390974998474,
-0.05166219174861908,
-0.2770524024963379,
-0.2663620710372925,
-0.06909048557281494,
0.04185863956809044,
0.34778836369514465,
-0.04237787798047066,
0.15379852056503296,
0.09854468703269958,
0.049080103635787964,
0.28998756408691406,
-0.10492024570703506,
-0.07523464411497116,
-0.2426384687423706,
-0.22277528047561646,
0.009470850229263306,
0.19647233188152313,
0.14240698516368866,
0.01194099523127079,
0.10736585408449173,
0.044424768537282944,
-0.0656869113445282,
-0.11169397830963135,
0.19863632321357727,
-0.21213336288928986,
0.43709632754325867,
0.12632006406784058,
0.10645181685686111,
0.1015203595161438,
-0.36029374599456787,
0.21060355007648468,
0.04767986387014389,
-0.09822392463684082,
0.5323723554611206,
-0.18427908420562744,
-0.14174485206604004,
0.0937143862247467,
-0.3223203420639038,
-0.30836641788482666,
-0.270471453666687,
-0.09826630353927612,
-0.1542186588048935,
0.01570052281022072,
0.25624164938926697,
0.13237755000591278,
0.07659843564033508,
-0.008056135848164558,
-0.18169544637203217,
-0.14318861067295074,
-0.27493637800216675,
0.2505273222923279,
-0.15341082215309143,
-0.28572672605514526,
-0.15195956826210022,
-0.12368551641702652,
0.3813647925853729,
-0.022501327097415924,
-0.18001413345336914,
0.010029400698840618,
0.058819323778152466,
0.32645896077156067,
-0.05120357871055603,
-0.1547827124595642,
0.3205101490020752,
0.12426741421222687,
0.052372559905052185,
-0.15940454602241516,
-0.08255606889724731,
0.18690259754657745,
0.3314339518547058,
0.012220866978168488,
-0.06140146404504776,
-0.06930617243051529,
-0.23688502609729767,
0.8396337628364563,
0.08327357470989227,
-0.0027907714247703552,
0.40852558612823486,
-0.10162822157144547,
0.024238992482423782,
-0.19879552721977234,
-0.23673854768276215,
0.061181116849184036,
-0.14110851287841797,
-0.16137729585170746,
0.45984208583831787,
-0.07515367120504379,
-0.12620286643505096,
-0.13593828678131104,
-0.13857147097587585,
-0.4151681065559387,
-0.31388550996780396,
0.010779028758406639,
0.1965194046497345,
0.27726930379867554,
0.16489055752754211,
0.30627936124801636,
-0.03135690838098526,
-0.10088249295949936,
0.11469908058643341,
-0.1952924281358719,
0.2605341970920563,
-0.07763537764549255,
-0.2525421380996704,
-0.2113322615623474,
-0.5406973361968994,
0.10061341524124146,
0.1185406967997551,
0.3540870249271393,
-0.09897063672542572,
-0.18518728017807007,
0.050993096083402634,
-0.014903174713253975,
0.557791531085968,
0.02298494428396225,
0.2669369578361511,
0.10282014310359955,
0.43350669741630554,
-0.21997374296188354,
-0.188335120677948,
-0.1216108649969101,
-0.02825319953262806,
-0.13301290571689606,
0.042608264833688736,
-0.21867582201957703,
-0.01863531954586506,
0.09861148148775101,
0.2881147861480713,
-0.15966053307056427,
-0.15926755964756012,
-0.3162776231765747,
-0.23620042204856873,
-0.27368053793907166,
-0.13720577955245972,
-0.03670915216207504,
0.34934043884277344,
-0.28543004393577576,
0.11088813841342926,
0.2670176923274994,
-0.2292792797088623,
0.077231764793396,
0.3942849934101105,
0.3686625361442566,
0.06330674141645432,
0.36118757724761963,
0.15931347012519836,
0.021782323718070984,
0.11483418941497803,
0.3971790373325348,
0.21986299753189087,
-0.45007920265197754,
-0.033455610275268555,
0.11588823795318604,
0.2621162533760071,
0.0823783203959465,
-0.21036295592784882,
0.1299486756324768,
-0.06733570992946625,
-0.058484405279159546,
-0.499950110912323,
0.11676238477230072,
0.488821804523468,
-0.11417451500892639,
-0.11228501796722412,
0.03946448862552643,
0.4663315713405609,
-0.3889962434768677,
-0.04137035459280014,
0.19540858268737793,
0.04215892776846886,
-0.34604305028915405,
0.39269059896469116,
0.04461809992790222,
0.5163584351539612,
0.11558915674686432,
0.14613837003707886,
0.8718161582946777,
0.06394694745540619,
0.03174937888979912,
-0.291073739528656,
0.18470045924186707,
-0.48493123054504395,
0.025871649384498596,
0.02845796011388302,
-0.01607564091682434,
-0.14512109756469727,
0.1857454776763916,
-0.16144759953022003,
0.192066952586174,
0.17792071402072906,
0.25734594464302063,
0.1017126590013504,
0.029040463268756866,
0.004628615453839302,
-0.3640413284301758,
-0.2682898938655853,
0.13803626596927643,
-0.28094106912612915,
-0.017035547643899918,
-0.10181190818548203,
-0.1309555619955063,
0.11603744328022003,
-0.45960748195648193,
-0.26286718249320984,
0.20386412739753723,
-0.3994360864162445,
0.034527942538261414,
0.12575212121009827,
-0.23861533403396606,
0.08217990398406982,
0.1880737841129303,
-0.11065477132797241,
0.018986884504556656,
-0.2849157154560089,
0.3511095345020294,
-0.09136775881052017,
0.23159487545490265,
0.027244549244642258,
-0.010724077001214027,
-0.009479755535721779,
-0.035510722547769547,
-0.29564422369003296,
0.12149806320667267,
-0.1766965538263321,
0.02148526906967163,
0.06791742146015167,
-0.014865882694721222,
0.16532067954540253,
-0.2783212661743164,
-0.034309279173612595,
0.01705901324748993,
0.09955303370952606,
-0.2586457431316376,
0.10872912406921387,
0.07905636727809906,
-0.2941574454307556,
0.07534284144639969,
-0.2247149795293808,
-0.3241924047470093,
0.011008700355887413,
0.2649107873439789,
-0.13088032603263855,
-0.007778957486152649,
0.6532597541809082,
0.17925134301185608,
0.05589570850133896,
-0.2138024866580963,
0.2397533357143402,
0.034973107278347015,
-0.8180363774299622,
0.09558352828025818,
0.39423295855522156,
0.15305264294147491,
-0.1758999228477478,
0.3419665992259979,
0.027371838688850403,
-0.22117692232131958,
-0.03329479321837425,
-0.4393622875213623,
-0.3902936279773712,
0.19897523522377014,
0.08223830163478851,
0.02704194001853466,
0.1635667383670807,
0.07026480883359909,
-0.17447316646575928,
0.06377237290143967,
-0.2956889569759369,
-0.043990932404994965,
0.0485353022813797,
0.09652623534202576,
-0.13567490875720978,
-0.16925233602523804,
0.23278824985027313,
0.07787632942199707,
0.17281337082386017,
0.064590685069561,
-0.1280149668455124,
-0.19020238518714905,
-0.17955175042152405,
0.13186141848564148,
-0.06084757298231125,
-0.1564318835735321,
-0.024132627993822098,
0.05151315778493881,
-0.24716508388519287,
-0.18131062388420105,
0.29714980721473694,
0.1441020667552948,
0.06147478148341179,
0.2935306131839752,
0.09630928188562393,
-0.05540456622838974,
-0.17878809571266174,
0.03642914816737175,
-0.17242103815078735,
0.05474055930972099,
0.17274528741836548,
0.2786561846733093,
-0.21789725124835968,
-0.004499465227127075,
-0.024413730949163437,
0.1990947723388672,
-0.0012184083461761475,
-0.200668603181839,
0.33136072754859924,
-0.39359432458877563,
-0.052183546125888824,
-0.19866588711738586,
0.2720586955547333,
0.20002388954162598,
-0.19830678403377533,
-0.1530703753232956,
0.2150316834449768,
0.24738353490829468,
-0.4817972183227539,
0.04682513326406479,
-0.07035259902477264,
-0.15115521848201752,
-0.057599421590566635,
0.003803856670856476,
0.022602390497922897,
-0.26741355657577515,
-0.02800239622592926,
0.05582539737224579,
0.399016797542572,
0.09857498854398727,
-0.1558857262134552,
0.7197722792625427,
-0.011878985911607742,
0.1936590075492859,
0.11694081127643585,
0.0258615892380476,
0.2349969744682312,
0.46936267614364624,
-0.4815433621406555,
0.2708214223384857,
-0.2614607512950897,
0.14750578999519348,
0.142131045460701,
-0.44742855429649353,
-0.22867946326732635,
0.12720616161823273,
-0.025133296847343445,
-0.007356494665145874,
-0.012827791273593903,
0.45746299624443054,
0.1980007290840149,
-0.16086213290691376,
-0.37867361307144165,
0.10587488114833832,
-0.1224878802895546,
-0.06863903254270554,
-0.18703803420066833,
-0.2159913182258606,
-0.03308364748954773,
0.02120232954621315,
-0.12876972556114197,
-0.2367188185453415,
0.14570239186286926,
0.21043333411216736,
-0.2821362018585205,
-0.33230558037757874,
0.09383679926395416,
0.3282429277896881,
-0.1873486042022705,
-0.2221132516860962,
0.3301534950733185,
0.38836735486984253,
-0.15937136113643646,
0.3807995915412903,
0.18236738443374634,
0.5987967848777771,
0.3279806971549988,
-0.38606882095336914,
-0.024037331342697144,
-0.14159663021564484,
0.04815254360437393,
0.06305363029241562,
0.2267608940601349,
-0.09101523458957672,
0.5235165953636169,
0.28261950612068176,
0.07799681276082993,
-0.08031881600618362,
-0.20079700648784637,
0.2928565442562103,
-0.01803094893693924,
-0.15115903317928314,
0.30869513750076294,
-0.25057563185691833,
-0.092237189412117,
-0.12849128246307373,
0.14524516463279724,
-0.36139318346977234,
0.15805372595787048,
0.47890445590019226,
0.16636446118354797,
0.15585029125213623,
0.10546837002038956,
0.10618382692337036,
-0.12871547043323517,
0.6618214249610901,
0.14062227308750153,
0.16006866097450256,
-0.4607471823692322,
-0.03868186101317406,
-0.5889219045639038,
0.18259862065315247,
-0.05620463564991951,
0.20757320523262024,
0.06346823275089264,
0.039421215653419495,
0.24173477292060852,
0.2600066065788269,
0.05113106966018677,
-0.0270355474203825,
-0.19863465428352356,
0.31428197026252747,
-0.21553906798362732,
-0.13290630280971527,
-0.14003224670886993,
0.1213410422205925,
-0.20342928171157837,
-0.5345682501792908,
0.12859080731868744,
0.03374892473220825,
0.024918600916862488,
-0.11515383422374725,
-0.052614085376262665,
0.09965550899505615,
-0.052175261080265045,
0.35887786746025085,
0.055154308676719666,
0.37570494413375854,
-0.13128310441970825,
0.18539614975452423,
-0.33025991916656494,
-0.3167411983013153,
-0.12412021309137344,
-0.18184098601341248,
-0.05596974119544029,
0.4885021150112152,
0.044573165476322174,
-0.01768653467297554,
-0.3760346472263336,
0.09045624732971191,
0.05175456404685974,
-0.04991164058446884,
-0.3194636404514313,
0.2488686740398407,
-0.3136541247367859,
0.25077223777770996,
-0.05508308857679367,
-0.12683933973312378,
-0.021623194217681885,
0.1906111091375351,
-0.3485352396965027,
-0.3408837616443634,
0.6293872594833374,
-0.6357608437538147,
-0.2549242675304413,
-0.020095940679311752,
0.41843563318252563,
-0.251834511756897,
-0.2444765865802765,
-0.4821169078350067,
0.20105606317520142,
0.37760165333747864,
-0.02156585454940796,
-0.1978664994239807,
0.12108145654201508,
-0.03702928125858307,
-0.14158353209495544,
-0.044706836342811584,
0.2449091076850891,
0.10521618276834488,
-0.3650360405445099,
-0.05951019376516342,
-0.3659895062446594
] |
https://github.com/huggingface/datasets/issues/4721 | PyArrow Dataset error when calling `load_dataset` | > If you manage to end up with only one chunk per parquet file it should workaround this issue.
Yup, I did not encounter this bug when I was testing my script with a slice of <1000 samples for my dataset.
> Do you have a minimum reproducible example...
Not sure if I can get more minimal than the script I shared above. Are you asking for a sample json file?
Just generate a random manifest list, I can add that to the above script if that's what you mean?
| ## Describe the bug
I am fine tuning a wav2vec2 model following the script here using my own dataset: https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py
Loading my Audio dataset from the hub which was originally generated from disk results in the following PyArrow error:
```sh
File "/home/ubuntu/w2v2/run_speech_recognition_ctc.py", line 227, in main
raw_datasets = load_dataset(
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/load.py", line 1679, in load_dataset
builder_instance.download_and_prepare(
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/builder.py", line 704, in download_and_prepare
self._download_and_prepare(
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/builder.py", line 793, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/builder.py", line 1268, in _prepare_split
for key, table in logging.tqdm(
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/tqdm/std.py", line 1195, in __iter__
for obj in iterable:
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/packaged_modules/parquet/parquet.py", line 68, in _generate_tables
for batch_idx, record_batch in enumerate(
File "pyarrow/_parquet.pyx", line 1309, in iter_batches
File "pyarrow/error.pxi", line 121, in pyarrow.lib.check_status
pyarrow.lib.ArrowNotImplementedError: Nested data conversions not implemented for chunked array outputs
```
## Steps to reproduce the bug
I created a dataset from a JSON lines manifest of `audio_filepath`, `text`, and `duration`.
When creating the dataset, I do something like this:
```python
import json
from datasets import Dataset, Audio
# manifest_lines is a list of dicts w/ "audio_filepath", "duration", and "text
for line in manifest_lines:
line = line.strip()
if line:
line_dict = json.loads(line)
manifest_dict["audio"].append(f"{root_path}/{line_dict['audio_filepath']}")
manifest_dict["duration"].append(line_dict["duration"])
manifest_dict["transcription"].append(line_dict["text"])
# Create a HF dataset
dataset = Dataset.from_dict(manifest_dict).cast_column(
"audio", Audio(sampling_rate=16_000),
)
# From the docs for saving to disk
# https://huggingface.co/docs/datasets/v2.3.2/en/package_reference/main_classes#datasets.Dataset.save_to_disk
def read_audio_file(example):
with open(example["audio"]["path"], "rb") as f:
return {"audio": {"bytes": f.read()}}
dataset = dataset.map(read_audio_file, num_proc=70)
dataset.save_to_disk(f"/audio-data/hf/{artifact_name}")
dataset.push_to_hub(f"{org-name}/{artifact_name}", max_shard_size="5GB", private=True)
```
Then when I call `load_dataset()` in my training script, with the same dataset I generated above, and download from the huggingface hub I get the above stack trace.
I am able to load the dataset fine if I use `load_from_disk()`.
## Expected results
`load_dataset()` should behave just like `load_from_disk()` and not cause any errors.
## Actual results
See above
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
I am using the `huggingface/transformers-pytorch-gpu:latest` image
- `datasets` version: 2.3.0
- Platform: Docker/Ubuntu 20.04
- Python version: 3.8
- PyArrow version: 8.0.0
| 90 | PyArrow Dataset error when calling `load_dataset`
## Describe the bug
I am fine tuning a wav2vec2 model following the script here using my own dataset: https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py
Loading my Audio dataset from the hub which was originally generated from disk results in the following PyArrow error:
```sh
File "/home/ubuntu/w2v2/run_speech_recognition_ctc.py", line 227, in main
raw_datasets = load_dataset(
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/load.py", line 1679, in load_dataset
builder_instance.download_and_prepare(
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/builder.py", line 704, in download_and_prepare
self._download_and_prepare(
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/builder.py", line 793, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/builder.py", line 1268, in _prepare_split
for key, table in logging.tqdm(
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/tqdm/std.py", line 1195, in __iter__
for obj in iterable:
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/packaged_modules/parquet/parquet.py", line 68, in _generate_tables
for batch_idx, record_batch in enumerate(
File "pyarrow/_parquet.pyx", line 1309, in iter_batches
File "pyarrow/error.pxi", line 121, in pyarrow.lib.check_status
pyarrow.lib.ArrowNotImplementedError: Nested data conversions not implemented for chunked array outputs
```
## Steps to reproduce the bug
I created a dataset from a JSON lines manifest of `audio_filepath`, `text`, and `duration`.
When creating the dataset, I do something like this:
```python
import json
from datasets import Dataset, Audio
# manifest_lines is a list of dicts w/ "audio_filepath", "duration", and "text
for line in manifest_lines:
line = line.strip()
if line:
line_dict = json.loads(line)
manifest_dict["audio"].append(f"{root_path}/{line_dict['audio_filepath']}")
manifest_dict["duration"].append(line_dict["duration"])
manifest_dict["transcription"].append(line_dict["text"])
# Create a HF dataset
dataset = Dataset.from_dict(manifest_dict).cast_column(
"audio", Audio(sampling_rate=16_000),
)
# From the docs for saving to disk
# https://huggingface.co/docs/datasets/v2.3.2/en/package_reference/main_classes#datasets.Dataset.save_to_disk
def read_audio_file(example):
with open(example["audio"]["path"], "rb") as f:
return {"audio": {"bytes": f.read()}}
dataset = dataset.map(read_audio_file, num_proc=70)
dataset.save_to_disk(f"/audio-data/hf/{artifact_name}")
dataset.push_to_hub(f"{org-name}/{artifact_name}", max_shard_size="5GB", private=True)
```
Then when I call `load_dataset()` in my training script, with the same dataset I generated above, and download from the huggingface hub I get the above stack trace.
I am able to load the dataset fine if I use `load_from_disk()`.
## Expected results
`load_dataset()` should behave just like `load_from_disk()` and not cause any errors.
## Actual results
See above
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
I am using the `huggingface/transformers-pytorch-gpu:latest` image
- `datasets` version: 2.3.0
- Platform: Docker/Ubuntu 20.04
- Python version: 3.8
- PyArrow version: 8.0.0
> If you manage to end up with only one chunk per parquet file it should workaround this issue.
Yup, I did not encounter this bug when I was testing my script with a slice of <1000 samples for my dataset.
> Do you have a minimum reproducible example...
Not sure if I can get more minimal than the script I shared above. Are you asking for a sample json file?
Just generate a random manifest list, I can add that to the above script if that's what you mean?
| [
-0.2546969950199127,
0.19534075260162354,
0.06179940328001976,
0.181983083486557,
0.21366670727729797,
0.0009270012378692627,
0.3114229440689087,
0.31124457716941833,
-0.371707558631897,
-0.18198247253894806,
-0.06331103295087814,
0.3034168481826782,
-0.16759158670902252,
-0.10379263758659363,
0.11990056186914444,
-0.16638466715812683,
0.01717597246170044,
0.05360086262226105,
-0.1344228833913803,
0.08408322930335999,
-0.230666846036911,
0.333901047706604,
-0.40038567781448364,
0.17457857728004456,
-0.4701162278652191,
0.06758545339107513,
0.21434763073921204,
0.4153006076812744,
0.026481278240680695,
-0.5935637950897217,
0.3937526047229767,
-0.02184266969561577,
0.28747621178627014,
0.21648573875427246,
-0.00011007704597432166,
0.13738605380058289,
0.19767901301383972,
-0.1205165907740593,
-0.2159520983695984,
-0.04553323984146118,
0.1290978193283081,
-0.07060525566339493,
-0.0042295558378100395,
-0.12279144674539566,
-0.0033384189009666443,
-0.15790246427059174,
-0.10398437082767487,
0.3652364909648895,
0.3114769458770752,
0.33179324865341187,
0.2000603973865509,
0.3961998224258423,
0.162620410323143,
-0.04772300273180008,
0.19961854815483093,
-0.007503174245357513,
0.08527635782957077,
0.5002333521842957,
0.08281508833169937,
-0.17716269195079803,
-0.3513556122779846,
0.24575945734977722,
-0.2807920277118683,
0.2969541549682617,
0.31711238622665405,
0.20512574911117554,
-0.27651992440223694,
-0.1383083611726761,
-0.07827430218458176,
0.16709311306476593,
0.3019413948059082,
-0.6030870676040649,
-0.10430260002613068,
-0.24107521772384644,
0.10710649192333221,
-0.29634103178977966,
0.14856933057308197,
0.08789446204900742,
-0.26140958070755005,
0.283456951379776,
-0.04925483465194702,
0.03449901565909386,
-0.2342086136341095,
-0.05875219404697418,
0.006321430206298828,
-0.045411720871925354,
-0.030876867473125458,
0.17588287591934204,
0.012186054140329361,
0.02674521878361702,
-0.004790544509887695,
0.16686491668224335,
-0.22398555278778076,
0.272703617811203,
-0.5940591096878052,
0.02238055318593979,
0.07906830310821533,
-0.03610219806432724,
0.13361230492591858,
-0.18726800382137299,
0.17424167692661285,
-0.20335882902145386,
0.18456174433231354,
0.322040855884552,
0.02725428342819214,
0.1300172507762909,
-0.28875136375427246,
-0.021991459652781487,
0.18082460761070251,
-0.25858163833618164,
0.028952930122613907,
0.016883930191397667,
-0.12746232748031616,
-0.39421892166137695,
0.27749043703079224,
0.035192154347896576,
0.4472733736038208,
-0.07023907452821732,
-0.5763991475105286,
-0.05170310288667679,
-0.1643381267786026,
0.07606504112482071,
0.17350603640079498,
0.4457092881202698,
0.2618340253829956,
0.10845321416854858,
-0.02614653669297695,
0.4398135542869568,
-0.30583223700523376,
-0.28142663836479187,
-0.11076857894659042,
-0.07507579028606415,
0.11149309575557709,
0.09283192455768585,
0.41570988297462463,
0.016393452882766724,
0.4038976728916168,
0.15553589165210724,
0.3162669837474823,
0.09550108015537262,
-0.007201649248600006,
-0.038491375744342804,
-0.12339233607053757,
0.3692680299282074,
0.03144865110516548,
0.22356343269348145,
0.05845344811677933,
0.21796424686908722,
-0.10474735498428345,
0.22511085867881775,
-0.33442220091819763,
-0.3656081557273865,
-0.1621544361114502,
0.1524234563112259,
-0.18005508184432983,
-0.031428948044776917,
-0.14136266708374023,
0.06407616287469864,
0.25080451369285583,
-0.490773469209671,
-0.2507137656211853,
-0.2736470699310303,
-0.18890832364559174,
-0.1995028853416443,
0.2472180724143982,
0.11994766443967819,
-0.5023120641708374,
0.0870528370141983,
0.15454861521720886,
0.08235488831996918,
0.13394218683242798,
0.28159192204475403,
-0.24375076591968536,
0.5682881474494934,
-0.22176571190357208,
0.42931264638900757,
0.09318014979362488,
-0.34624966979026794,
-0.4695557653903961,
-0.04815637320280075,
-0.14321023225784302,
0.07048319280147552,
0.07317623496055603,
-0.05002125725150108,
0.04175613075494766,
-0.2717116177082062,
0.16515082120895386,
0.13378864526748657,
-0.02415001578629017,
0.23488295078277588,
-0.20167990028858185,
-0.1737089902162552,
0.38995081186294556,
0.0688050240278244,
-0.12214156985282898,
-0.13470134139060974,
0.07815028727054596,
0.1046864241361618,
0.31815555691719055,
-0.1446496695280075,
0.07202588766813278,
0.08837570250034332,
0.12911027669906616,
-0.42112427949905396,
0.1522516906261444,
-0.00925552099943161,
-0.4444102644920349,
0.3300011456012726,
-0.2830807864665985,
0.17845766246318817,
-0.18181265890598297,
0.11854265630245209,
-0.43093305826187134,
0.1070297434926033,
-0.37418803572654724,
-0.1511707603931427,
0.11442713439464569,
0.09319217503070831,
0.005767472088336945,
-0.033266231417655945,
-0.15361793339252472,
0.1357661634683609,
-0.017597557976841927,
0.04611789435148239,
-0.2408774048089981,
0.3814886510372162,
0.049000635743141174,
-0.325704962015152,
0.2567110061645508,
0.3045966923236847,
0.2550625205039978,
0.05782824009656906,
-0.09771614521741867,
0.4674054980278015,
-0.011731227859854698,
0.21436423063278198,
-0.3293772339820862,
-0.0267346054315567,
0.12488587945699692,
-0.3865066468715668,
0.1207558885216713,
0.15211954712867737,
0.26640257239341736,
-0.04236116632819176,
0.20786747336387634,
0.24216966331005096,
-0.005497436970472336,
0.183611199259758,
-0.20222902297973633,
-0.07515651732683182,
0.2792215347290039,
0.24245256185531616,
0.2060554176568985,
0.07760433852672577,
0.034883275628089905,
0.25435930490493774,
0.42171984910964966,
-0.06559301912784576,
0.1687200516462326,
-0.03714092820882797,
0.4496532380580902,
-0.04602249339222908,
0.0635829046368599,
0.2370850145816803,
-0.30108126997947693,
-0.25373733043670654,
0.11102212220430374,
-0.16248849034309387,
0.3604928255081177,
0.14335760474205017,
-0.3300056457519531,
0.04951189458370209,
-0.27527865767478943,
-0.005220063030719757,
0.1756313592195511,
-0.0669047087430954,
0.28095772862434387,
0.4549236595630646,
0.24170181155204773,
-0.04015156254172325,
-0.3501986563205719,
-0.08767784386873245,
0.08474195003509521,
0.31106558442115784,
-0.5316249132156372,
-0.06571946293115616,
-0.04243321716785431,
0.38308390974998474,
-0.05166219174861908,
-0.2770524024963379,
-0.2663620710372925,
-0.06909048557281494,
0.04185863956809044,
0.34778836369514465,
-0.04237787798047066,
0.15379852056503296,
0.09854468703269958,
0.049080103635787964,
0.28998756408691406,
-0.10492024570703506,
-0.07523464411497116,
-0.2426384687423706,
-0.22277528047561646,
0.009470850229263306,
0.19647233188152313,
0.14240698516368866,
0.01194099523127079,
0.10736585408449173,
0.044424768537282944,
-0.0656869113445282,
-0.11169397830963135,
0.19863632321357727,
-0.21213336288928986,
0.43709632754325867,
0.12632006406784058,
0.10645181685686111,
0.1015203595161438,
-0.36029374599456787,
0.21060355007648468,
0.04767986387014389,
-0.09822392463684082,
0.5323723554611206,
-0.18427908420562744,
-0.14174485206604004,
0.0937143862247467,
-0.3223203420639038,
-0.30836641788482666,
-0.270471453666687,
-0.09826630353927612,
-0.1542186588048935,
0.01570052281022072,
0.25624164938926697,
0.13237755000591278,
0.07659843564033508,
-0.008056135848164558,
-0.18169544637203217,
-0.14318861067295074,
-0.27493637800216675,
0.2505273222923279,
-0.15341082215309143,
-0.28572672605514526,
-0.15195956826210022,
-0.12368551641702652,
0.3813647925853729,
-0.022501327097415924,
-0.18001413345336914,
0.010029400698840618,
0.058819323778152466,
0.32645896077156067,
-0.05120357871055603,
-0.1547827124595642,
0.3205101490020752,
0.12426741421222687,
0.052372559905052185,
-0.15940454602241516,
-0.08255606889724731,
0.18690259754657745,
0.3314339518547058,
0.012220866978168488,
-0.06140146404504776,
-0.06930617243051529,
-0.23688502609729767,
0.8396337628364563,
0.08327357470989227,
-0.0027907714247703552,
0.40852558612823486,
-0.10162822157144547,
0.024238992482423782,
-0.19879552721977234,
-0.23673854768276215,
0.061181116849184036,
-0.14110851287841797,
-0.16137729585170746,
0.45984208583831787,
-0.07515367120504379,
-0.12620286643505096,
-0.13593828678131104,
-0.13857147097587585,
-0.4151681065559387,
-0.31388550996780396,
0.010779028758406639,
0.1965194046497345,
0.27726930379867554,
0.16489055752754211,
0.30627936124801636,
-0.03135690838098526,
-0.10088249295949936,
0.11469908058643341,
-0.1952924281358719,
0.2605341970920563,
-0.07763537764549255,
-0.2525421380996704,
-0.2113322615623474,
-0.5406973361968994,
0.10061341524124146,
0.1185406967997551,
0.3540870249271393,
-0.09897063672542572,
-0.18518728017807007,
0.050993096083402634,
-0.014903174713253975,
0.557791531085968,
0.02298494428396225,
0.2669369578361511,
0.10282014310359955,
0.43350669741630554,
-0.21997374296188354,
-0.188335120677948,
-0.1216108649969101,
-0.02825319953262806,
-0.13301290571689606,
0.042608264833688736,
-0.21867582201957703,
-0.01863531954586506,
0.09861148148775101,
0.2881147861480713,
-0.15966053307056427,
-0.15926755964756012,
-0.3162776231765747,
-0.23620042204856873,
-0.27368053793907166,
-0.13720577955245972,
-0.03670915216207504,
0.34934043884277344,
-0.28543004393577576,
0.11088813841342926,
0.2670176923274994,
-0.2292792797088623,
0.077231764793396,
0.3942849934101105,
0.3686625361442566,
0.06330674141645432,
0.36118757724761963,
0.15931347012519836,
0.021782323718070984,
0.11483418941497803,
0.3971790373325348,
0.21986299753189087,
-0.45007920265197754,
-0.033455610275268555,
0.11588823795318604,
0.2621162533760071,
0.0823783203959465,
-0.21036295592784882,
0.1299486756324768,
-0.06733570992946625,
-0.058484405279159546,
-0.499950110912323,
0.11676238477230072,
0.488821804523468,
-0.11417451500892639,
-0.11228501796722412,
0.03946448862552643,
0.4663315713405609,
-0.3889962434768677,
-0.04137035459280014,
0.19540858268737793,
0.04215892776846886,
-0.34604305028915405,
0.39269059896469116,
0.04461809992790222,
0.5163584351539612,
0.11558915674686432,
0.14613837003707886,
0.8718161582946777,
0.06394694745540619,
0.03174937888979912,
-0.291073739528656,
0.18470045924186707,
-0.48493123054504395,
0.025871649384498596,
0.02845796011388302,
-0.01607564091682434,
-0.14512109756469727,
0.1857454776763916,
-0.16144759953022003,
0.192066952586174,
0.17792071402072906,
0.25734594464302063,
0.1017126590013504,
0.029040463268756866,
0.004628615453839302,
-0.3640413284301758,
-0.2682898938655853,
0.13803626596927643,
-0.28094106912612915,
-0.017035547643899918,
-0.10181190818548203,
-0.1309555619955063,
0.11603744328022003,
-0.45960748195648193,
-0.26286718249320984,
0.20386412739753723,
-0.3994360864162445,
0.034527942538261414,
0.12575212121009827,
-0.23861533403396606,
0.08217990398406982,
0.1880737841129303,
-0.11065477132797241,
0.018986884504556656,
-0.2849157154560089,
0.3511095345020294,
-0.09136775881052017,
0.23159487545490265,
0.027244549244642258,
-0.010724077001214027,
-0.009479755535721779,
-0.035510722547769547,
-0.29564422369003296,
0.12149806320667267,
-0.1766965538263321,
0.02148526906967163,
0.06791742146015167,
-0.014865882694721222,
0.16532067954540253,
-0.2783212661743164,
-0.034309279173612595,
0.01705901324748993,
0.09955303370952606,
-0.2586457431316376,
0.10872912406921387,
0.07905636727809906,
-0.2941574454307556,
0.07534284144639969,
-0.2247149795293808,
-0.3241924047470093,
0.011008700355887413,
0.2649107873439789,
-0.13088032603263855,
-0.007778957486152649,
0.6532597541809082,
0.17925134301185608,
0.05589570850133896,
-0.2138024866580963,
0.2397533357143402,
0.034973107278347015,
-0.8180363774299622,
0.09558352828025818,
0.39423295855522156,
0.15305264294147491,
-0.1758999228477478,
0.3419665992259979,
0.027371838688850403,
-0.22117692232131958,
-0.03329479321837425,
-0.4393622875213623,
-0.3902936279773712,
0.19897523522377014,
0.08223830163478851,
0.02704194001853466,
0.1635667383670807,
0.07026480883359909,
-0.17447316646575928,
0.06377237290143967,
-0.2956889569759369,
-0.043990932404994965,
0.0485353022813797,
0.09652623534202576,
-0.13567490875720978,
-0.16925233602523804,
0.23278824985027313,
0.07787632942199707,
0.17281337082386017,
0.064590685069561,
-0.1280149668455124,
-0.19020238518714905,
-0.17955175042152405,
0.13186141848564148,
-0.06084757298231125,
-0.1564318835735321,
-0.024132627993822098,
0.05151315778493881,
-0.24716508388519287,
-0.18131062388420105,
0.29714980721473694,
0.1441020667552948,
0.06147478148341179,
0.2935306131839752,
0.09630928188562393,
-0.05540456622838974,
-0.17878809571266174,
0.03642914816737175,
-0.17242103815078735,
0.05474055930972099,
0.17274528741836548,
0.2786561846733093,
-0.21789725124835968,
-0.004499465227127075,
-0.024413730949163437,
0.1990947723388672,
-0.0012184083461761475,
-0.200668603181839,
0.33136072754859924,
-0.39359432458877563,
-0.052183546125888824,
-0.19866588711738586,
0.2720586955547333,
0.20002388954162598,
-0.19830678403377533,
-0.1530703753232956,
0.2150316834449768,
0.24738353490829468,
-0.4817972183227539,
0.04682513326406479,
-0.07035259902477264,
-0.15115521848201752,
-0.057599421590566635,
0.003803856670856476,
0.022602390497922897,
-0.26741355657577515,
-0.02800239622592926,
0.05582539737224579,
0.399016797542572,
0.09857498854398727,
-0.1558857262134552,
0.7197722792625427,
-0.011878985911607742,
0.1936590075492859,
0.11694081127643585,
0.0258615892380476,
0.2349969744682312,
0.46936267614364624,
-0.4815433621406555,
0.2708214223384857,
-0.2614607512950897,
0.14750578999519348,
0.142131045460701,
-0.44742855429649353,
-0.22867946326732635,
0.12720616161823273,
-0.025133296847343445,
-0.007356494665145874,
-0.012827791273593903,
0.45746299624443054,
0.1980007290840149,
-0.16086213290691376,
-0.37867361307144165,
0.10587488114833832,
-0.1224878802895546,
-0.06863903254270554,
-0.18703803420066833,
-0.2159913182258606,
-0.03308364748954773,
0.02120232954621315,
-0.12876972556114197,
-0.2367188185453415,
0.14570239186286926,
0.21043333411216736,
-0.2821362018585205,
-0.33230558037757874,
0.09383679926395416,
0.3282429277896881,
-0.1873486042022705,
-0.2221132516860962,
0.3301534950733185,
0.38836735486984253,
-0.15937136113643646,
0.3807995915412903,
0.18236738443374634,
0.5987967848777771,
0.3279806971549988,
-0.38606882095336914,
-0.024037331342697144,
-0.14159663021564484,
0.04815254360437393,
0.06305363029241562,
0.2267608940601349,
-0.09101523458957672,
0.5235165953636169,
0.28261950612068176,
0.07799681276082993,
-0.08031881600618362,
-0.20079700648784637,
0.2928565442562103,
-0.01803094893693924,
-0.15115903317928314,
0.30869513750076294,
-0.25057563185691833,
-0.092237189412117,
-0.12849128246307373,
0.14524516463279724,
-0.36139318346977234,
0.15805372595787048,
0.47890445590019226,
0.16636446118354797,
0.15585029125213623,
0.10546837002038956,
0.10618382692337036,
-0.12871547043323517,
0.6618214249610901,
0.14062227308750153,
0.16006866097450256,
-0.4607471823692322,
-0.03868186101317406,
-0.5889219045639038,
0.18259862065315247,
-0.05620463564991951,
0.20757320523262024,
0.06346823275089264,
0.039421215653419495,
0.24173477292060852,
0.2600066065788269,
0.05113106966018677,
-0.0270355474203825,
-0.19863465428352356,
0.31428197026252747,
-0.21553906798362732,
-0.13290630280971527,
-0.14003224670886993,
0.1213410422205925,
-0.20342928171157837,
-0.5345682501792908,
0.12859080731868744,
0.03374892473220825,
0.024918600916862488,
-0.11515383422374725,
-0.052614085376262665,
0.09965550899505615,
-0.052175261080265045,
0.35887786746025085,
0.055154308676719666,
0.37570494413375854,
-0.13128310441970825,
0.18539614975452423,
-0.33025991916656494,
-0.3167411983013153,
-0.12412021309137344,
-0.18184098601341248,
-0.05596974119544029,
0.4885021150112152,
0.044573165476322174,
-0.01768653467297554,
-0.3760346472263336,
0.09045624732971191,
0.05175456404685974,
-0.04991164058446884,
-0.3194636404514313,
0.2488686740398407,
-0.3136541247367859,
0.25077223777770996,
-0.05508308857679367,
-0.12683933973312378,
-0.021623194217681885,
0.1906111091375351,
-0.3485352396965027,
-0.3408837616443634,
0.6293872594833374,
-0.6357608437538147,
-0.2549242675304413,
-0.020095940679311752,
0.41843563318252563,
-0.251834511756897,
-0.2444765865802765,
-0.4821169078350067,
0.20105606317520142,
0.37760165333747864,
-0.02156585454940796,
-0.1978664994239807,
0.12108145654201508,
-0.03702928125858307,
-0.14158353209495544,
-0.044706836342811584,
0.2449091076850891,
0.10521618276834488,
-0.3650360405445099,
-0.05951019376516342,
-0.3659895062446594
] |
https://github.com/huggingface/datasets/issues/4721 | PyArrow Dataset error when calling `load_dataset` | Actually this is probably linked to this open issue: https://issues.apache.org/jira/browse/ARROW-5030.
setting `max_shard_size="2GB"` should do the job (or `max_shard_size="1GB"` if you want to be on the safe side, especially given that there can be some variance in the shard sizes if the dataset is not evenly distributed) | ## Describe the bug
I am fine tuning a wav2vec2 model following the script here using my own dataset: https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py
Loading my Audio dataset from the hub which was originally generated from disk results in the following PyArrow error:
```sh
File "/home/ubuntu/w2v2/run_speech_recognition_ctc.py", line 227, in main
raw_datasets = load_dataset(
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/load.py", line 1679, in load_dataset
builder_instance.download_and_prepare(
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/builder.py", line 704, in download_and_prepare
self._download_and_prepare(
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/builder.py", line 793, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/builder.py", line 1268, in _prepare_split
for key, table in logging.tqdm(
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/tqdm/std.py", line 1195, in __iter__
for obj in iterable:
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/packaged_modules/parquet/parquet.py", line 68, in _generate_tables
for batch_idx, record_batch in enumerate(
File "pyarrow/_parquet.pyx", line 1309, in iter_batches
File "pyarrow/error.pxi", line 121, in pyarrow.lib.check_status
pyarrow.lib.ArrowNotImplementedError: Nested data conversions not implemented for chunked array outputs
```
## Steps to reproduce the bug
I created a dataset from a JSON lines manifest of `audio_filepath`, `text`, and `duration`.
When creating the dataset, I do something like this:
```python
import json
from datasets import Dataset, Audio
# manifest_lines is a list of dicts w/ "audio_filepath", "duration", and "text
for line in manifest_lines:
line = line.strip()
if line:
line_dict = json.loads(line)
manifest_dict["audio"].append(f"{root_path}/{line_dict['audio_filepath']}")
manifest_dict["duration"].append(line_dict["duration"])
manifest_dict["transcription"].append(line_dict["text"])
# Create a HF dataset
dataset = Dataset.from_dict(manifest_dict).cast_column(
"audio", Audio(sampling_rate=16_000),
)
# From the docs for saving to disk
# https://huggingface.co/docs/datasets/v2.3.2/en/package_reference/main_classes#datasets.Dataset.save_to_disk
def read_audio_file(example):
with open(example["audio"]["path"], "rb") as f:
return {"audio": {"bytes": f.read()}}
dataset = dataset.map(read_audio_file, num_proc=70)
dataset.save_to_disk(f"/audio-data/hf/{artifact_name}")
dataset.push_to_hub(f"{org-name}/{artifact_name}", max_shard_size="5GB", private=True)
```
Then when I call `load_dataset()` in my training script, with the same dataset I generated above, and download from the huggingface hub I get the above stack trace.
I am able to load the dataset fine if I use `load_from_disk()`.
## Expected results
`load_dataset()` should behave just like `load_from_disk()` and not cause any errors.
## Actual results
See above
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
I am using the `huggingface/transformers-pytorch-gpu:latest` image
- `datasets` version: 2.3.0
- Platform: Docker/Ubuntu 20.04
- Python version: 3.8
- PyArrow version: 8.0.0
| 46 | PyArrow Dataset error when calling `load_dataset`
## Describe the bug
I am fine tuning a wav2vec2 model following the script here using my own dataset: https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py
Loading my Audio dataset from the hub which was originally generated from disk results in the following PyArrow error:
```sh
File "/home/ubuntu/w2v2/run_speech_recognition_ctc.py", line 227, in main
raw_datasets = load_dataset(
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/load.py", line 1679, in load_dataset
builder_instance.download_and_prepare(
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/builder.py", line 704, in download_and_prepare
self._download_and_prepare(
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/builder.py", line 793, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/builder.py", line 1268, in _prepare_split
for key, table in logging.tqdm(
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/tqdm/std.py", line 1195, in __iter__
for obj in iterable:
File "/home/ubuntu/.virtualenvs/meval/lib/python3.8/site-packages/datasets/packaged_modules/parquet/parquet.py", line 68, in _generate_tables
for batch_idx, record_batch in enumerate(
File "pyarrow/_parquet.pyx", line 1309, in iter_batches
File "pyarrow/error.pxi", line 121, in pyarrow.lib.check_status
pyarrow.lib.ArrowNotImplementedError: Nested data conversions not implemented for chunked array outputs
```
## Steps to reproduce the bug
I created a dataset from a JSON lines manifest of `audio_filepath`, `text`, and `duration`.
When creating the dataset, I do something like this:
```python
import json
from datasets import Dataset, Audio
# manifest_lines is a list of dicts w/ "audio_filepath", "duration", and "text
for line in manifest_lines:
line = line.strip()
if line:
line_dict = json.loads(line)
manifest_dict["audio"].append(f"{root_path}/{line_dict['audio_filepath']}")
manifest_dict["duration"].append(line_dict["duration"])
manifest_dict["transcription"].append(line_dict["text"])
# Create a HF dataset
dataset = Dataset.from_dict(manifest_dict).cast_column(
"audio", Audio(sampling_rate=16_000),
)
# From the docs for saving to disk
# https://huggingface.co/docs/datasets/v2.3.2/en/package_reference/main_classes#datasets.Dataset.save_to_disk
def read_audio_file(example):
with open(example["audio"]["path"], "rb") as f:
return {"audio": {"bytes": f.read()}}
dataset = dataset.map(read_audio_file, num_proc=70)
dataset.save_to_disk(f"/audio-data/hf/{artifact_name}")
dataset.push_to_hub(f"{org-name}/{artifact_name}", max_shard_size="5GB", private=True)
```
Then when I call `load_dataset()` in my training script, with the same dataset I generated above, and download from the huggingface hub I get the above stack trace.
I am able to load the dataset fine if I use `load_from_disk()`.
## Expected results
`load_dataset()` should behave just like `load_from_disk()` and not cause any errors.
## Actual results
See above
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
I am using the `huggingface/transformers-pytorch-gpu:latest` image
- `datasets` version: 2.3.0
- Platform: Docker/Ubuntu 20.04
- Python version: 3.8
- PyArrow version: 8.0.0
Actually this is probably linked to this open issue: https://issues.apache.org/jira/browse/ARROW-5030.
setting `max_shard_size="2GB"` should do the job (or `max_shard_size="1GB"` if you want to be on the safe side, especially given that there can be some variance in the shard sizes if the dataset is not evenly distributed) | [
-0.2546969950199127,
0.19534075260162354,
0.06179940328001976,
0.181983083486557,
0.21366670727729797,
0.0009270012378692627,
0.3114229440689087,
0.31124457716941833,
-0.371707558631897,
-0.18198247253894806,
-0.06331103295087814,
0.3034168481826782,
-0.16759158670902252,
-0.10379263758659363,
0.11990056186914444,
-0.16638466715812683,
0.01717597246170044,
0.05360086262226105,
-0.1344228833913803,
0.08408322930335999,
-0.230666846036911,
0.333901047706604,
-0.40038567781448364,
0.17457857728004456,
-0.4701162278652191,
0.06758545339107513,
0.21434763073921204,
0.4153006076812744,
0.026481278240680695,
-0.5935637950897217,
0.3937526047229767,
-0.02184266969561577,
0.28747621178627014,
0.21648573875427246,
-0.00011007704597432166,
0.13738605380058289,
0.19767901301383972,
-0.1205165907740593,
-0.2159520983695984,
-0.04553323984146118,
0.1290978193283081,
-0.07060525566339493,
-0.0042295558378100395,
-0.12279144674539566,
-0.0033384189009666443,
-0.15790246427059174,
-0.10398437082767487,
0.3652364909648895,
0.3114769458770752,
0.33179324865341187,
0.2000603973865509,
0.3961998224258423,
0.162620410323143,
-0.04772300273180008,
0.19961854815483093,
-0.007503174245357513,
0.08527635782957077,
0.5002333521842957,
0.08281508833169937,
-0.17716269195079803,
-0.3513556122779846,
0.24575945734977722,
-0.2807920277118683,
0.2969541549682617,
0.31711238622665405,
0.20512574911117554,
-0.27651992440223694,
-0.1383083611726761,
-0.07827430218458176,
0.16709311306476593,
0.3019413948059082,
-0.6030870676040649,
-0.10430260002613068,
-0.24107521772384644,
0.10710649192333221,
-0.29634103178977966,
0.14856933057308197,
0.08789446204900742,
-0.26140958070755005,
0.283456951379776,
-0.04925483465194702,
0.03449901565909386,
-0.2342086136341095,
-0.05875219404697418,
0.006321430206298828,
-0.045411720871925354,
-0.030876867473125458,
0.17588287591934204,
0.012186054140329361,
0.02674521878361702,
-0.004790544509887695,
0.16686491668224335,
-0.22398555278778076,
0.272703617811203,
-0.5940591096878052,
0.02238055318593979,
0.07906830310821533,
-0.03610219806432724,
0.13361230492591858,
-0.18726800382137299,
0.17424167692661285,
-0.20335882902145386,
0.18456174433231354,
0.322040855884552,
0.02725428342819214,
0.1300172507762909,
-0.28875136375427246,
-0.021991459652781487,
0.18082460761070251,
-0.25858163833618164,
0.028952930122613907,
0.016883930191397667,
-0.12746232748031616,
-0.39421892166137695,
0.27749043703079224,
0.035192154347896576,
0.4472733736038208,
-0.07023907452821732,
-0.5763991475105286,
-0.05170310288667679,
-0.1643381267786026,
0.07606504112482071,
0.17350603640079498,
0.4457092881202698,
0.2618340253829956,
0.10845321416854858,
-0.02614653669297695,
0.4398135542869568,
-0.30583223700523376,
-0.28142663836479187,
-0.11076857894659042,
-0.07507579028606415,
0.11149309575557709,
0.09283192455768585,
0.41570988297462463,
0.016393452882766724,
0.4038976728916168,
0.15553589165210724,
0.3162669837474823,
0.09550108015537262,
-0.007201649248600006,
-0.038491375744342804,
-0.12339233607053757,
0.3692680299282074,
0.03144865110516548,
0.22356343269348145,
0.05845344811677933,
0.21796424686908722,
-0.10474735498428345,
0.22511085867881775,
-0.33442220091819763,
-0.3656081557273865,
-0.1621544361114502,
0.1524234563112259,
-0.18005508184432983,
-0.031428948044776917,
-0.14136266708374023,
0.06407616287469864,
0.25080451369285583,
-0.490773469209671,
-0.2507137656211853,
-0.2736470699310303,
-0.18890832364559174,
-0.1995028853416443,
0.2472180724143982,
0.11994766443967819,
-0.5023120641708374,
0.0870528370141983,
0.15454861521720886,
0.08235488831996918,
0.13394218683242798,
0.28159192204475403,
-0.24375076591968536,
0.5682881474494934,
-0.22176571190357208,
0.42931264638900757,
0.09318014979362488,
-0.34624966979026794,
-0.4695557653903961,
-0.04815637320280075,
-0.14321023225784302,
0.07048319280147552,
0.07317623496055603,
-0.05002125725150108,
0.04175613075494766,
-0.2717116177082062,
0.16515082120895386,
0.13378864526748657,
-0.02415001578629017,
0.23488295078277588,
-0.20167990028858185,
-0.1737089902162552,
0.38995081186294556,
0.0688050240278244,
-0.12214156985282898,
-0.13470134139060974,
0.07815028727054596,
0.1046864241361618,
0.31815555691719055,
-0.1446496695280075,
0.07202588766813278,
0.08837570250034332,
0.12911027669906616,
-0.42112427949905396,
0.1522516906261444,
-0.00925552099943161,
-0.4444102644920349,
0.3300011456012726,
-0.2830807864665985,
0.17845766246318817,
-0.18181265890598297,
0.11854265630245209,
-0.43093305826187134,
0.1070297434926033,
-0.37418803572654724,
-0.1511707603931427,
0.11442713439464569,
0.09319217503070831,
0.005767472088336945,
-0.033266231417655945,
-0.15361793339252472,
0.1357661634683609,
-0.017597557976841927,
0.04611789435148239,
-0.2408774048089981,
0.3814886510372162,
0.049000635743141174,
-0.325704962015152,
0.2567110061645508,
0.3045966923236847,
0.2550625205039978,
0.05782824009656906,
-0.09771614521741867,
0.4674054980278015,
-0.011731227859854698,
0.21436423063278198,
-0.3293772339820862,
-0.0267346054315567,
0.12488587945699692,
-0.3865066468715668,
0.1207558885216713,
0.15211954712867737,
0.26640257239341736,
-0.04236116632819176,
0.20786747336387634,
0.24216966331005096,
-0.005497436970472336,
0.183611199259758,
-0.20222902297973633,
-0.07515651732683182,
0.2792215347290039,
0.24245256185531616,
0.2060554176568985,
0.07760433852672577,
0.034883275628089905,
0.25435930490493774,
0.42171984910964966,
-0.06559301912784576,
0.1687200516462326,
-0.03714092820882797,
0.4496532380580902,
-0.04602249339222908,
0.0635829046368599,
0.2370850145816803,
-0.30108126997947693,
-0.25373733043670654,
0.11102212220430374,
-0.16248849034309387,
0.3604928255081177,
0.14335760474205017,
-0.3300056457519531,
0.04951189458370209,
-0.27527865767478943,
-0.005220063030719757,
0.1756313592195511,
-0.0669047087430954,
0.28095772862434387,
0.4549236595630646,
0.24170181155204773,
-0.04015156254172325,
-0.3501986563205719,
-0.08767784386873245,
0.08474195003509521,
0.31106558442115784,
-0.5316249132156372,
-0.06571946293115616,
-0.04243321716785431,
0.38308390974998474,
-0.05166219174861908,
-0.2770524024963379,
-0.2663620710372925,
-0.06909048557281494,
0.04185863956809044,
0.34778836369514465,
-0.04237787798047066,
0.15379852056503296,
0.09854468703269958,
0.049080103635787964,
0.28998756408691406,
-0.10492024570703506,
-0.07523464411497116,
-0.2426384687423706,
-0.22277528047561646,
0.009470850229263306,
0.19647233188152313,
0.14240698516368866,
0.01194099523127079,
0.10736585408449173,
0.044424768537282944,
-0.0656869113445282,
-0.11169397830963135,
0.19863632321357727,
-0.21213336288928986,
0.43709632754325867,
0.12632006406784058,
0.10645181685686111,
0.1015203595161438,
-0.36029374599456787,
0.21060355007648468,
0.04767986387014389,
-0.09822392463684082,
0.5323723554611206,
-0.18427908420562744,
-0.14174485206604004,
0.0937143862247467,
-0.3223203420639038,
-0.30836641788482666,
-0.270471453666687,
-0.09826630353927612,
-0.1542186588048935,
0.01570052281022072,
0.25624164938926697,
0.13237755000591278,
0.07659843564033508,
-0.008056135848164558,
-0.18169544637203217,
-0.14318861067295074,
-0.27493637800216675,
0.2505273222923279,
-0.15341082215309143,
-0.28572672605514526,
-0.15195956826210022,
-0.12368551641702652,
0.3813647925853729,
-0.022501327097415924,
-0.18001413345336914,
0.010029400698840618,
0.058819323778152466,
0.32645896077156067,
-0.05120357871055603,
-0.1547827124595642,
0.3205101490020752,
0.12426741421222687,
0.052372559905052185,
-0.15940454602241516,
-0.08255606889724731,
0.18690259754657745,
0.3314339518547058,
0.012220866978168488,
-0.06140146404504776,
-0.06930617243051529,
-0.23688502609729767,
0.8396337628364563,
0.08327357470989227,
-0.0027907714247703552,
0.40852558612823486,
-0.10162822157144547,
0.024238992482423782,
-0.19879552721977234,
-0.23673854768276215,
0.061181116849184036,
-0.14110851287841797,
-0.16137729585170746,
0.45984208583831787,
-0.07515367120504379,
-0.12620286643505096,
-0.13593828678131104,
-0.13857147097587585,
-0.4151681065559387,
-0.31388550996780396,
0.010779028758406639,
0.1965194046497345,
0.27726930379867554,
0.16489055752754211,
0.30627936124801636,
-0.03135690838098526,
-0.10088249295949936,
0.11469908058643341,
-0.1952924281358719,
0.2605341970920563,
-0.07763537764549255,
-0.2525421380996704,
-0.2113322615623474,
-0.5406973361968994,
0.10061341524124146,
0.1185406967997551,
0.3540870249271393,
-0.09897063672542572,
-0.18518728017807007,
0.050993096083402634,
-0.014903174713253975,
0.557791531085968,
0.02298494428396225,
0.2669369578361511,
0.10282014310359955,
0.43350669741630554,
-0.21997374296188354,
-0.188335120677948,
-0.1216108649969101,
-0.02825319953262806,
-0.13301290571689606,
0.042608264833688736,
-0.21867582201957703,
-0.01863531954586506,
0.09861148148775101,
0.2881147861480713,
-0.15966053307056427,
-0.15926755964756012,
-0.3162776231765747,
-0.23620042204856873,
-0.27368053793907166,
-0.13720577955245972,
-0.03670915216207504,
0.34934043884277344,
-0.28543004393577576,
0.11088813841342926,
0.2670176923274994,
-0.2292792797088623,
0.077231764793396,
0.3942849934101105,
0.3686625361442566,
0.06330674141645432,
0.36118757724761963,
0.15931347012519836,
0.021782323718070984,
0.11483418941497803,
0.3971790373325348,
0.21986299753189087,
-0.45007920265197754,
-0.033455610275268555,
0.11588823795318604,
0.2621162533760071,
0.0823783203959465,
-0.21036295592784882,
0.1299486756324768,
-0.06733570992946625,
-0.058484405279159546,
-0.499950110912323,
0.11676238477230072,
0.488821804523468,
-0.11417451500892639,
-0.11228501796722412,
0.03946448862552643,
0.4663315713405609,
-0.3889962434768677,
-0.04137035459280014,
0.19540858268737793,
0.04215892776846886,
-0.34604305028915405,
0.39269059896469116,
0.04461809992790222,
0.5163584351539612,
0.11558915674686432,
0.14613837003707886,
0.8718161582946777,
0.06394694745540619,
0.03174937888979912,
-0.291073739528656,
0.18470045924186707,
-0.48493123054504395,
0.025871649384498596,
0.02845796011388302,
-0.01607564091682434,
-0.14512109756469727,
0.1857454776763916,
-0.16144759953022003,
0.192066952586174,
0.17792071402072906,
0.25734594464302063,
0.1017126590013504,
0.029040463268756866,
0.004628615453839302,
-0.3640413284301758,
-0.2682898938655853,
0.13803626596927643,
-0.28094106912612915,
-0.017035547643899918,
-0.10181190818548203,
-0.1309555619955063,
0.11603744328022003,
-0.45960748195648193,
-0.26286718249320984,
0.20386412739753723,
-0.3994360864162445,
0.034527942538261414,
0.12575212121009827,
-0.23861533403396606,
0.08217990398406982,
0.1880737841129303,
-0.11065477132797241,
0.018986884504556656,
-0.2849157154560089,
0.3511095345020294,
-0.09136775881052017,
0.23159487545490265,
0.027244549244642258,
-0.010724077001214027,
-0.009479755535721779,
-0.035510722547769547,
-0.29564422369003296,
0.12149806320667267,
-0.1766965538263321,
0.02148526906967163,
0.06791742146015167,
-0.014865882694721222,
0.16532067954540253,
-0.2783212661743164,
-0.034309279173612595,
0.01705901324748993,
0.09955303370952606,
-0.2586457431316376,
0.10872912406921387,
0.07905636727809906,
-0.2941574454307556,
0.07534284144639969,
-0.2247149795293808,
-0.3241924047470093,
0.011008700355887413,
0.2649107873439789,
-0.13088032603263855,
-0.007778957486152649,
0.6532597541809082,
0.17925134301185608,
0.05589570850133896,
-0.2138024866580963,
0.2397533357143402,
0.034973107278347015,
-0.8180363774299622,
0.09558352828025818,
0.39423295855522156,
0.15305264294147491,
-0.1758999228477478,
0.3419665992259979,
0.027371838688850403,
-0.22117692232131958,
-0.03329479321837425,
-0.4393622875213623,
-0.3902936279773712,
0.19897523522377014,
0.08223830163478851,
0.02704194001853466,
0.1635667383670807,
0.07026480883359909,
-0.17447316646575928,
0.06377237290143967,
-0.2956889569759369,
-0.043990932404994965,
0.0485353022813797,
0.09652623534202576,
-0.13567490875720978,
-0.16925233602523804,
0.23278824985027313,
0.07787632942199707,
0.17281337082386017,
0.064590685069561,
-0.1280149668455124,
-0.19020238518714905,
-0.17955175042152405,
0.13186141848564148,
-0.06084757298231125,
-0.1564318835735321,
-0.024132627993822098,
0.05151315778493881,
-0.24716508388519287,
-0.18131062388420105,
0.29714980721473694,
0.1441020667552948,
0.06147478148341179,
0.2935306131839752,
0.09630928188562393,
-0.05540456622838974,
-0.17878809571266174,
0.03642914816737175,
-0.17242103815078735,
0.05474055930972099,
0.17274528741836548,
0.2786561846733093,
-0.21789725124835968,
-0.004499465227127075,
-0.024413730949163437,
0.1990947723388672,
-0.0012184083461761475,
-0.200668603181839,
0.33136072754859924,
-0.39359432458877563,
-0.052183546125888824,
-0.19866588711738586,
0.2720586955547333,
0.20002388954162598,
-0.19830678403377533,
-0.1530703753232956,
0.2150316834449768,
0.24738353490829468,
-0.4817972183227539,
0.04682513326406479,
-0.07035259902477264,
-0.15115521848201752,
-0.057599421590566635,
0.003803856670856476,
0.022602390497922897,
-0.26741355657577515,
-0.02800239622592926,
0.05582539737224579,
0.399016797542572,
0.09857498854398727,
-0.1558857262134552,
0.7197722792625427,
-0.011878985911607742,
0.1936590075492859,
0.11694081127643585,
0.0258615892380476,
0.2349969744682312,
0.46936267614364624,
-0.4815433621406555,
0.2708214223384857,
-0.2614607512950897,
0.14750578999519348,
0.142131045460701,
-0.44742855429649353,
-0.22867946326732635,
0.12720616161823273,
-0.025133296847343445,
-0.007356494665145874,
-0.012827791273593903,
0.45746299624443054,
0.1980007290840149,
-0.16086213290691376,
-0.37867361307144165,
0.10587488114833832,
-0.1224878802895546,
-0.06863903254270554,
-0.18703803420066833,
-0.2159913182258606,
-0.03308364748954773,
0.02120232954621315,
-0.12876972556114197,
-0.2367188185453415,
0.14570239186286926,
0.21043333411216736,
-0.2821362018585205,
-0.33230558037757874,
0.09383679926395416,
0.3282429277896881,
-0.1873486042022705,
-0.2221132516860962,
0.3301534950733185,
0.38836735486984253,
-0.15937136113643646,
0.3807995915412903,
0.18236738443374634,
0.5987967848777771,
0.3279806971549988,
-0.38606882095336914,
-0.024037331342697144,
-0.14159663021564484,
0.04815254360437393,
0.06305363029241562,
0.2267608940601349,
-0.09101523458957672,
0.5235165953636169,
0.28261950612068176,
0.07799681276082993,
-0.08031881600618362,
-0.20079700648784637,
0.2928565442562103,
-0.01803094893693924,
-0.15115903317928314,
0.30869513750076294,
-0.25057563185691833,
-0.092237189412117,
-0.12849128246307373,
0.14524516463279724,
-0.36139318346977234,
0.15805372595787048,
0.47890445590019226,
0.16636446118354797,
0.15585029125213623,
0.10546837002038956,
0.10618382692337036,
-0.12871547043323517,
0.6618214249610901,
0.14062227308750153,
0.16006866097450256,
-0.4607471823692322,
-0.03868186101317406,
-0.5889219045639038,
0.18259862065315247,
-0.05620463564991951,
0.20757320523262024,
0.06346823275089264,
0.039421215653419495,
0.24173477292060852,
0.2600066065788269,
0.05113106966018677,
-0.0270355474203825,
-0.19863465428352356,
0.31428197026252747,
-0.21553906798362732,
-0.13290630280971527,
-0.14003224670886993,
0.1213410422205925,
-0.20342928171157837,
-0.5345682501792908,
0.12859080731868744,
0.03374892473220825,
0.024918600916862488,
-0.11515383422374725,
-0.052614085376262665,
0.09965550899505615,
-0.052175261080265045,
0.35887786746025085,
0.055154308676719666,
0.37570494413375854,
-0.13128310441970825,
0.18539614975452423,
-0.33025991916656494,
-0.3167411983013153,
-0.12412021309137344,
-0.18184098601341248,
-0.05596974119544029,
0.4885021150112152,
0.044573165476322174,
-0.01768653467297554,
-0.3760346472263336,
0.09045624732971191,
0.05175456404685974,
-0.04991164058446884,
-0.3194636404514313,
0.2488686740398407,
-0.3136541247367859,
0.25077223777770996,
-0.05508308857679367,
-0.12683933973312378,
-0.021623194217681885,
0.1906111091375351,
-0.3485352396965027,
-0.3408837616443634,
0.6293872594833374,
-0.6357608437538147,
-0.2549242675304413,
-0.020095940679311752,
0.41843563318252563,
-0.251834511756897,
-0.2444765865802765,
-0.4821169078350067,
0.20105606317520142,
0.37760165333747864,
-0.02156585454940796,
-0.1978664994239807,
0.12108145654201508,
-0.03702928125858307,
-0.14158353209495544,
-0.044706836342811584,
0.2449091076850891,
0.10521618276834488,
-0.3650360405445099,
-0.05951019376516342,
-0.3659895062446594
] |
https://github.com/huggingface/datasets/issues/4720 | Dataset Viewer issue for shamikbose89/lancaster_newsbooks | It seems like the list of splits could not be obtained:
```python
>>> from datasets import get_dataset_split_names
>>> get_dataset_split_names("shamikbose89/lancaster_newsbooks", "default")
Using custom data configuration default
Traceback (most recent call last):
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 354, in get_dataset_config_info
for split_generator in builder._split_generators(
File "/home/slesage/.cache/huggingface/modules/datasets_modules/datasets/shamikbose89--lancaster_newsbooks/2d1c63d269bf7b9342accce0a95960b1710ab4bc774248878bd80eb96c1afaf7/lancaster_newsbooks.py", line 73, in _split_generators
data_dir = dl_manager.download_and_extract(_URL)
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 916, in download_and_extract
return self.extract(self.download(url_or_urls))
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 879, in extract
urlpaths = map_nested(self._extract, path_or_paths, map_tuple=True)
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/utils/py_utils.py", line 348, in map_nested
return function(data_struct)
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 884, in _extract
protocol = _get_extraction_protocol(urlpath, use_auth_token=self.download_config.use_auth_token)
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 388, in _get_extraction_protocol
return _get_extraction_protocol_with_magic_number(f)
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 354, in _get_extraction_protocol_with_magic_number
f.seek(0)
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/fsspec/implementations/http.py", line 684, in seek
raise ValueError("Cannot seek streaming HTTP file")
ValueError: Cannot seek streaming HTTP file
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 404, in get_dataset_split_names
info = get_dataset_config_info(
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 359, in get_dataset_config_info
raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.
```
ping @huggingface/datasets | ### Link
https://huggingface.co/datasets/shamikbose89/lancaster_newsbooks
### Description
Status code: 400
Exception: ValueError
Message: Cannot seek streaming HTTP file
I am able to use the dataset loading script locally and it also runs when I'm using the one from the hub, but the viewer still doesn't load
### Owner
Yes | 185 | Dataset Viewer issue for shamikbose89/lancaster_newsbooks
### Link
https://huggingface.co/datasets/shamikbose89/lancaster_newsbooks
### Description
Status code: 400
Exception: ValueError
Message: Cannot seek streaming HTTP file
I am able to use the dataset loading script locally and it also runs when I'm using the one from the hub, but the viewer still doesn't load
### Owner
Yes
It seems like the list of splits could not be obtained:
```python
>>> from datasets import get_dataset_split_names
>>> get_dataset_split_names("shamikbose89/lancaster_newsbooks", "default")
Using custom data configuration default
Traceback (most recent call last):
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 354, in get_dataset_config_info
for split_generator in builder._split_generators(
File "/home/slesage/.cache/huggingface/modules/datasets_modules/datasets/shamikbose89--lancaster_newsbooks/2d1c63d269bf7b9342accce0a95960b1710ab4bc774248878bd80eb96c1afaf7/lancaster_newsbooks.py", line 73, in _split_generators
data_dir = dl_manager.download_and_extract(_URL)
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 916, in download_and_extract
return self.extract(self.download(url_or_urls))
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 879, in extract
urlpaths = map_nested(self._extract, path_or_paths, map_tuple=True)
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/utils/py_utils.py", line 348, in map_nested
return function(data_struct)
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 884, in _extract
protocol = _get_extraction_protocol(urlpath, use_auth_token=self.download_config.use_auth_token)
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 388, in _get_extraction_protocol
return _get_extraction_protocol_with_magic_number(f)
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 354, in _get_extraction_protocol_with_magic_number
f.seek(0)
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/fsspec/implementations/http.py", line 684, in seek
raise ValueError("Cannot seek streaming HTTP file")
ValueError: Cannot seek streaming HTTP file
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 404, in get_dataset_split_names
info = get_dataset_config_info(
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 359, in get_dataset_config_info
raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.
```
ping @huggingface/datasets | [
-0.585961103439331,
-0.12167181819677353,
-0.02017316035926342,
0.39476847648620605,
0.21447698771953583,
0.04132431745529175,
0.12052857130765915,
0.303825318813324,
0.12895558774471283,
0.11349041014909744,
-0.4595491290092468,
0.1776672601699829,
0.037276286631822586,
0.15605129301548004,
-0.036098819226026535,
-0.1349279284477234,
-0.21117427945137024,
0.29495930671691895,
-0.035274118185043335,
0.2014927715063095,
-0.05239289253950119,
0.1476716846227646,
-0.17305263876914978,
-0.08972516655921936,
-0.20379434525966644,
0.00015969760715961456,
0.1259288191795349,
0.08158942312002182,
-0.16266560554504395,
-0.41012632846832275,
0.19613449275493622,
0.33339935541152954,
0.2319931536912918,
0.4955502450466156,
-0.0001262342557311058,
0.25807034969329834,
0.41403037309646606,
0.020554499700665474,
-0.3459826111793518,
-0.22492794692516327,
-0.24116265773773193,
-0.043565958738327026,
0.3658673167228699,
-0.13434524834156036,
-0.2169845998287201,
-0.012262540869414806,
-0.04213263839483261,
-0.22235636413097382,
0.3640761971473694,
0.1881803572177887,
0.09436392039060593,
0.29860565066337585,
0.08863098919391632,
-0.16798414289951324,
-0.022439129650592804,
0.04203275591135025,
-0.19796910881996155,
0.09363789856433868,
-0.1174156665802002,
0.32605504989624023,
-0.21736228466033936,
0.19205306470394135,
0.01963908039033413,
0.24515314400196075,
0.3014616072177887,
-0.15253835916519165,
-0.4825117588043213,
-0.3515617251396179,
0.20088893175125122,
0.2325250804424286,
0.7352730631828308,
-0.05211365222930908,
-0.3390975296497345,
-0.268284410238266,
0.052680324763059616,
0.04045785218477249,
0.31998369097709656,
0.2735065221786499,
-0.20708486437797546,
0.24681662023067474,
-0.290446013212204,
-0.18719421327114105,
-0.4136151075363159,
0.17331722378730774,
-0.39714160561561584,
0.07234125584363937,
-0.18787677586078644,
0.07517126947641373,
0.27421584725379944,
0.05933760851621628,
0.30355337262153625,
-0.11073203384876251,
0.10269248485565186,
-0.02286773920059204,
-0.25353750586509705,
0.08966651558876038,
-0.0047196075320243835,
0.4348587691783905,
-0.1685696840286255,
0.19701525568962097,
0.09312037378549576,
0.27522316575050354,
-0.2119990438222885,
0.07531432062387466,
0.24021084606647491,
-0.08826658129692078,
0.260118305683136,
0.09051374346017838,
0.28289785981178284,
0.7877146601676941,
0.17391647398471832,
-0.11404161900281906,
-0.12432863563299179,
-0.21873626112937927,
-0.3830907344818115,
-0.2997762858867645,
0.3105129599571228,
-0.13860563933849335,
-0.23482973873615265,
-0.039863646030426025,
-0.04919346049427986,
-0.14898820221424103,
0.22678016126155853,
0.464505136013031,
-0.13511794805526733,
0.2670498490333557,
-0.0004246346652507782,
0.09743929654359818,
-0.2697356045246124,
-0.3363896310329437,
-0.15353791415691376,
-0.061526600271463394,
-0.01709393411874771,
0.10584191232919693,
0.39473846554756165,
-0.4266204535961151,
0.25356587767601013,
-0.24672925472259521,
0.23333440721035004,
0.030074872076511383,
-0.1627061516046524,
-0.07165054976940155,
-0.14592939615249634,
0.4199039340019226,
0.42983514070510864,
0.1647600680589676,
0.10526587069034576,
-0.13775017857551575,
-0.012863054871559143,
0.0010216236114501953,
0.08154013752937317,
-0.43171074986457825,
0.14901012182235718,
0.06873650848865509,
-0.14171390235424042,
-0.041838958859443665,
-0.21735891699790955,
0.06875801086425781,
-0.2561287581920624,
0.0040160901844501495,
-0.24701634049415588,
-0.05476949363946915,
-0.16190999746322632,
-0.10391080379486084,
0.3501596450805664,
0.6816825866699219,
-0.3991333246231079,
-0.10119462013244629,
-0.27239158749580383,
-0.19782647490501404,
-0.11459878832101822,
0.25963810086250305,
-0.32220911979675293,
0.13441428542137146,
-0.25936368107795715,
0.15970616042613983,
0.3417753577232361,
-0.2004832774400711,
-0.574176549911499,
0.5071609616279602,
-0.07625201344490051,
0.03240024298429489,
0.4161722958087921,
-0.13889135420322418,
0.30931705236434937,
-0.12127894163131714,
-0.17637580633163452,
0.10952014476060867,
-0.0018915403634309769,
-0.052137069404125214,
0.022723402827978134,
-0.189966082572937,
-0.033454544842243195,
0.29450613260269165,
0.33827054500579834,
-0.016572624444961548,
0.05699630826711655,
0.11838928610086441,
0.4153142273426056,
0.1310882717370987,
0.29243725538253784,
0.016183121129870415,
0.08578640222549438,
0.35480666160583496,
0.035663459450006485,
-0.17166218161582947,
-0.34503573179244995,
0.1863139569759369,
0.10441580414772034,
-0.1739257276058197,
-0.3106098175048828,
-0.18875716626644135,
-0.4753193259239197,
-0.12090711295604706,
-0.4577089250087738,
-0.07323315739631653,
0.041455112397670746,
0.18895162642002106,
-0.007973998785018921,
0.11012598872184753,
-0.21531744301319122,
0.16170088946819305,
0.20338468253612518,
0.2967081069946289,
-0.3029959797859192,
0.4794563949108124,
-0.10027515143156052,
0.06832925230264664,
0.03689411282539368,
-0.06750083714723587,
0.3191797435283661,
-0.05195211246609688,
-0.05602391064167023,
0.28320327401161194,
0.06943285465240479,
0.293099582195282,
0.398796021938324,
-0.027867093682289124,
0.5404857397079468,
-0.587090015411377,
0.24503810703754425,
0.28621840476989746,
0.06059078872203827,
-0.07442963123321533,
-0.1545686423778534,
0.16068656742572784,
-0.3135460317134857,
0.2470390498638153,
0.18820473551750183,
0.17925213277339935,
0.23355188965797424,
0.05030791833996773,
0.18306054174900055,
-0.1210298165678978,
0.05437798425555229,
-0.2510088384151459,
0.45180779695510864,
-0.3276781439781189,
-0.22109729051589966,
0.15742650628089905,
0.09803220629692078,
0.030612360686063766,
-0.14293310046195984,
0.05353008955717087,
-0.22269397974014282,
-0.05547589808702469,
0.11945684254169464,
0.08596056699752808,
0.12835130095481873,
0.10906120389699936,
0.15145903825759888,
0.1824617087841034,
0.14358611404895782,
-0.28783729672431946,
0.23893865942955017,
0.18772056698799133,
-0.08804751932621002,
0.22501057386398315,
-0.3009021580219269,
-0.20424020290374756,
-0.25349438190460205,
-0.3347108066082001,
0.11092347651720047,
0.08836565911769867,
-0.30423498153686523,
-0.23586837947368622,
-0.29368269443511963,
-0.25613054633140564,
-0.18534156680107117,
-0.25302284955978394,
-0.08384181559085846,
-0.3710431456565857,
-0.1295182704925537,
0.5202646255493164,
-0.0329972468316555,
0.056129418313503265,
-0.2900194823741913,
0.017465174198150635,
0.0968000739812851,
0.15168295800685883,
-0.3738539218902588,
-0.012828748673200607,
-0.07062394917011261,
-0.039354074746370316,
0.3568854033946991,
0.11439750343561172,
0.20008601248264313,
-0.3249683380126953,
0.024956412613391876,
-0.4848766326904297,
0.014956869184970856,
0.13770487904548645,
0.0331803523004055,
0.09497344493865967,
0.1217433512210846,
0.26578018069267273,
0.04727010428905487,
-0.14901293814182281,
0.32655763626098633,
-0.04267820343375206,
0.07995403558015823,
0.17056165635585785,
0.05056246742606163,
0.05146598070859909,
0.1711074262857437,
-0.33796340227127075,
-0.1988060474395752,
-0.5394871830940247,
0.11837063729763031,
0.000809449702501297,
0.0556461326777935,
-0.06367392092943192,
0.05427020415663719,
0.08571425080299377,
-0.0692206397652626,
-0.0929865837097168,
-0.10019848495721817,
-0.21594813466072083,
0.33553436398506165,
-0.2835785150527954,
-0.3857111632823944,
0.31364211440086365,
0.2520830035209656,
0.08979164063930511,
0.08062612265348434,
-0.5482768416404724,
0.22912800312042236,
-0.01792866177856922,
0.23663565516471863,
0.030295222997665405,
0.008924363180994987,
0.33137643337249756,
-0.02519313618540764,
0.1070735901594162,
-0.1058788150548935,
-0.05673247575759888,
-0.08270513266324997,
-0.29250645637512207,
0.07578736543655396,
0.003142278641462326,
0.2013796865940094,
0.017318524420261383,
0.6512807011604309,
0.4707455039024353,
0.29473888874053955,
0.24167965352535248,
0.10743623971939087,
0.34574809670448303,
-0.02818308025598526,
-0.39776211977005005,
-0.20634159445762634,
-0.1308663785457611,
0.023326285183429718,
0.47948241233825684,
0.23771268129348755,
-0.11014238744974136,
-0.5170383453369141,
-0.37084072828292847,
-0.44816854596138,
-0.3580203652381897,
-0.1538478434085846,
0.07082522660493851,
0.05700214207172394,
-0.07708533108234406,
0.2818881869316101,
0.02367236092686653,
-0.24014002084732056,
0.025409448891878128,
0.5303535461425781,
0.2128434181213379,
-0.0023672140669077635,
-0.13026747107505798,
-0.058922767639160156,
-0.46775299310684204,
0.32679688930511475,
-0.09578061103820801,
0.24610522389411926,
0.0792853981256485,
0.10912332683801651,
0.3230474591255188,
0.09018725156784058,
0.581749439239502,
-0.23923616111278534,
0.259837806224823,
0.048151638358831406,
-0.2486879825592041,
-0.14195369184017181,
-0.06517604738473892,
-0.1282348334789276,
0.3158227205276489,
-0.07163885235786438,
0.13434526324272156,
-0.33937692642211914,
-0.13805073499679565,
0.1490756869316101,
-0.09761026501655579,
-0.10086822509765625,
-0.29378220438957214,
-0.08969555795192719,
-0.2138771414756775,
-0.22060081362724304,
-0.11872812360525131,
-0.19905829429626465,
0.23588384687900543,
-0.22166752815246582,
0.0525180958211422,
0.08295294642448425,
-0.16638389229774475,
-0.049624696373939514,
0.06441719830036163,
0.12688392400741577,
0.03321357071399689,
0.27594298124313354,
0.6151055097579956,
0.20502331852912903,
0.424818754196167,
0.748824417591095,
0.20337733626365662,
-0.6151948571205139,
0.05673830583691597,
-0.051259566098451614,
-0.1369553506374359,
0.4208063781261444,
-0.03577378764748573,
-0.1389196515083313,
0.5284518003463745,
0.20439159870147705,
-0.18163907527923584,
-0.043417949229478836,
0.32656654715538025,
-0.3169904947280884,
-0.33237528800964355,
-0.3824065625667572,
0.5322349667549133,
-0.2879788279533386,
0.026785917580127716,
0.2681262493133545,
0.11801911145448685,
-0.10508687049150467,
0.07236088067293167,
-0.20074790716171265,
0.660621166229248,
0.049471624195575714,
-0.039431121200323105,
0.29792627692222595,
-0.23518094420433044,
0.1312890201807022,
-0.36613231897354126,
0.14717762172222137,
-0.33720263838768005,
-0.14690053462982178,
-0.23979580402374268,
-0.06751757860183716,
0.43470126390457153,
0.18050517141819,
-0.22563357651233673,
0.16475489735603333,
0.025601230561733246,
0.6432625651359558,
-0.023503901436924934,
0.1751074194908142,
-0.5087984800338745,
-0.061860259622335434,
-0.2812452018260956,
-0.014562882483005524,
-0.13612660765647888,
0.17069385945796967,
-0.08678989112377167,
-0.13020116090774536,
-0.11055430769920349,
0.006051231175661087,
-0.24344226717948914,
0.08486151695251465,
-0.24066926538944244,
0.20619438588619232,
-0.3229539394378662,
-0.09974630177021027,
0.2679862082004547,
0.2354866862297058,
0.027526196092367172,
-0.055328208953142166,
-0.5018393993377686,
0.23342502117156982,
-0.21175456047058105,
-0.23075290024280548,
0.05780382081866264,
0.06381013989448547,
0.13467475771903992,
-0.018685583025217056,
-0.2049916684627533,
0.18363463878631592,
0.060498788952827454,
-0.0505552776157856,
-0.04019305855035782,
0.08378123492002487,
0.07083486020565033,
-0.532280445098877,
-0.013283094391226768,
-0.137076735496521,
-0.0050175003707408905,
-0.11681747436523438,
-0.007797939702868462,
-0.05540871620178223,
-0.24179573357105255,
-0.0938725695014,
0.035038117319345474,
-0.07792940735816956,
-0.15603330731391907,
0.5250553488731384,
-0.008299753069877625,
-0.06855636835098267,
0.2912716865539551,
0.17532198131084442,
-0.44314509630203247,
-0.16388452053070068,
0.02624642103910446,
-0.05444018542766571,
-0.5784621834754944,
0.1268356293439865,
0.0150057477876544,
0.08922450244426727,
0.06971381604671478,
-0.05046645924448967,
0.1442233771085739,
-0.1740626096725464,
-0.24558942019939423,
-0.4339306354522705,
0.1405409723520279,
0.13023261725902557,
-0.009030420333147049,
0.052442945539951324,
0.05543588846921921,
0.20430593192577362,
0.16497981548309326,
-0.02998066507279873,
-0.14218655228614807,
0.20752114057540894,
0.10210778564214706,
-0.1539117842912674,
-0.5010894536972046,
0.01586310565471649,
0.21187128126621246,
0.07401429116725922,
-0.01375716831535101,
0.11522883921861649,
-0.3948310911655426,
0.02577085793018341,
0.04413888230919838,
0.23847858607769012,
0.11892618238925934,
-0.17218150198459625,
-0.14357014000415802,
-0.162544846534729,
-0.2877574861049652,
-0.1283135563135147,
0.11845305562019348,
0.0879102274775505,
0.12980888783931732,
-0.060610655695199966,
0.9461883306503296,
-0.11585871130228043,
-0.33718323707580566,
0.4031301438808441,
-0.10608281195163727,
0.5767011046409607,
-0.07918673753738403,
0.11063206195831299,
-0.12162031978368759,
-0.04008524492383003,
-0.09758121520280838,
0.07006513327360153,
0.12141226977109909,
0.04018140584230423,
0.6448513269424438,
-0.34117233753204346,
0.25253158807754517,
0.20342892408370972,
0.612027645111084,
0.39528074860572815,
0.056414443999528885,
-0.0529816597700119,
0.13003873825073242,
0.08308985829353333,
-0.25821536779403687,
-0.051798392087221146,
0.5221596956253052,
-0.18179237842559814,
0.174397811293602,
0.04344745725393295,
0.18222983181476593,
-0.14366848766803741,
0.00930582731962204,
0.22635787725448608,
0.465276300907135,
0.02606622874736786,
0.37356796860694885,
0.6224019527435303,
0.013557624071836472,
0.03247706592082977,
0.16767963767051697,
0.18522687256336212,
0.10233547538518906,
0.44945788383483887,
-0.2683919072151184,
0.20695221424102783,
-0.1684117317199707,
0.22545011341571808,
0.15415355563163757,
-0.4935499131679535,
-0.04520553722977638,
0.049972258508205414,
-0.16972443461418152,
-0.15109848976135254,
-0.19845625758171082,
0.30624499917030334,
-0.39438214898109436,
0.329926073551178,
-0.3977009356021881,
0.15451069176197052,
-0.08303207904100418,
0.28395673632621765,
-0.12796707451343536,
-0.393219918012619,
-0.2546365559101105,
0.11374162137508392,
0.08023877441883087,
-0.1277937889099121,
0.08455880731344223,
0.21935585141181946,
-0.08949115872383118,
-0.30225732922554016,
0.051316797733306885,
-0.07821516692638397,
0.3235343098640442,
-0.3177834749221802,
0.045195139944553375,
0.29266422986984253,
0.0838576927781105,
0.3666289448738098,
0.3183547854423523,
0.2233666181564331,
0.035294413566589355,
-0.19600948691368103,
-0.023568809032440186,
0.18723160028457642,
-0.17382171750068665,
-0.08277033269405365,
0.07126923650503159,
0.11740230023860931,
0.297664076089859,
0.41686102747917175,
0.02720804698765278,
-0.09966027736663818,
-0.07800346612930298,
-0.11369425058364868,
0.16135531663894653,
-0.274631142616272,
0.1849762201309204,
-0.25926080346107483,
-0.0456743985414505,
0.04404368996620178,
-0.4333077371120453,
-0.5807381272315979,
0.16175764799118042,
0.20587116479873657,
-0.2610321342945099,
0.04497356712818146,
-0.20297233760356903,
-0.024537784978747368,
0.12254410982131958,
0.5267002582550049,
0.24988599121570587,
0.03511533513665199,
-0.10765577107667923,
-0.3887951970100403,
-0.4779401123523712,
0.1340354084968567,
0.12968403100967407,
-0.2404087632894516,
0.21753238141536713,
0.202694371342659,
-0.1794150173664093,
0.17169687151908875,
0.23309540748596191,
-0.12136467546224594,
0.3555046617984772,
0.3803381025791168,
-0.1469758152961731,
-0.17998236417770386,
0.2182818055152893,
0.19021324813365936,
-0.2594243586063385,
-0.2984003722667694,
0.2980649471282959,
0.18974129855632782,
-0.08309116214513779,
0.025046562775969505,
0.07635684311389923,
0.1360611468553543,
-0.48364099860191345,
0.012307681143283844,
-0.020345984026789665,
0.3848845064640045,
0.14768540859222412,
0.08527292311191559,
-0.18137118220329285,
-0.054834995418787,
-0.23749282956123352,
0.15083912014961243,
0.13450974225997925,
0.552304744720459,
-0.04319144785404205,
-0.37970852851867676,
-0.22498326003551483,
0.30826979875564575,
-0.016737066209316254,
0.27441903948783875,
-0.27311941981315613,
-0.15563397109508514,
-0.41147395968437195,
0.14357510209083557,
0.2848397493362427,
0.1861654818058014,
0.01986103504896164,
0.031007079407572746,
-0.26796817779541016,
-0.5303578972816467,
0.6673955917358398,
-0.46651366353034973,
-0.17845465242862701,
-0.10215819627046585,
0.048226140439510345,
0.0685436874628067,
-0.04193558543920517,
-0.3309469521045685,
0.22980087995529175,
0.36910566687583923,
-0.1528804898262024,
0.2872396409511566,
0.1891457438468933,
-0.07851302623748779,
-0.005939558148384094,
-0.08366578817367554,
0.20550845563411713,
0.16309040784835815,
-0.21833662688732147,
-0.02959338389337063,
-0.0519561804831028
] |
https://github.com/huggingface/datasets/issues/4720 | Dataset Viewer issue for shamikbose89/lancaster_newsbooks | Oh, I removed the 'split' key from `kwargs`. I put it back in, but there's still the same error | ### Link
https://huggingface.co/datasets/shamikbose89/lancaster_newsbooks
### Description
Status code: 400
Exception: ValueError
Message: Cannot seek streaming HTTP file
I am able to use the dataset loading script locally and it also runs when I'm using the one from the hub, but the viewer still doesn't load
### Owner
Yes | 19 | Dataset Viewer issue for shamikbose89/lancaster_newsbooks
### Link
https://huggingface.co/datasets/shamikbose89/lancaster_newsbooks
### Description
Status code: 400
Exception: ValueError
Message: Cannot seek streaming HTTP file
I am able to use the dataset loading script locally and it also runs when I'm using the one from the hub, but the viewer still doesn't load
### Owner
Yes
Oh, I removed the 'split' key from `kwargs`. I put it back in, but there's still the same error | [
-0.5473050475120544,
-0.046886540949344635,
-0.003484763205051422,
0.3854411840438843,
0.15918999910354614,
0.09274060279130936,
0.08627408742904663,
0.2350134253501892,
0.07396036386489868,
0.17535433173179626,
-0.3550621569156647,
0.18995465338230133,
0.11080601811408997,
0.10897741466760635,
0.026088498532772064,
0.03572109714150429,
-0.12753242254257202,
0.3054365813732147,
0.05098439007997513,
0.21973107755184174,
0.09061332046985626,
0.05583972483873367,
-0.20591911673545837,
-0.0026577040553092957,
-0.18203778564929962,
-0.04344630986452103,
0.11462630331516266,
0.0507129542529583,
-0.15304699540138245,
-0.323599249124527,
0.29349997639656067,
0.34020501375198364,
0.206595316529274,
0.5323029160499573,
-0.0001262761652469635,
0.22059990465641022,
0.46637850999832153,
0.020756619051098824,
-0.1637033373117447,
-0.06142033636569977,
-0.07143963873386383,
0.027421770617365837,
0.25294163823127747,
-0.19421112537384033,
-0.21769315004348755,
-0.0012464448809623718,
0.01591525226831436,
-0.11661610007286072,
0.334780752658844,
0.23392465710639954,
0.07811519503593445,
0.18234948813915253,
0.1684926301240921,
-0.19790539145469666,
0.03720717132091522,
-0.02178831398487091,
-0.14920452237129211,
0.17212048172950745,
-0.0240771621465683,
0.30921322107315063,
-0.4124947190284729,
0.2269849181175232,
0.019805310294032097,
0.16112752258777618,
0.2964463531970978,
-0.20087014138698578,
-0.4400218725204468,
-0.2199895679950714,
0.2477598786354065,
0.19463622570037842,
0.8498966693878174,
0.011251337826251984,
-0.18993736803531647,
-0.14195972681045532,
0.13858187198638916,
0.10707880556583405,
0.4180048108100891,
0.21616339683532715,
-0.1835978627204895,
0.3597094714641571,
-0.2809181809425354,
-0.25734490156173706,
-0.5288556814193726,
0.20569774508476257,
-0.41845420002937317,
-0.012837439775466919,
-0.1157992035150528,
0.1481752097606659,
0.28537002205848694,
0.006665512919425964,
0.4384675621986389,
-0.06429837644100189,
-0.08652335405349731,
-0.03821262717247009,
-0.1759604662656784,
0.11832325160503387,
0.0886455699801445,
0.615425705909729,
-0.08488984405994415,
0.0031720921397209167,
0.0950465202331543,
0.2700549364089966,
-0.24651513993740082,
0.14428260922431946,
0.30611276626586914,
-0.08355781435966492,
0.3278275728225708,
-0.08955927938222885,
0.3818945288658142,
0.6697878837585449,
0.12823103368282318,
-0.1203778013586998,
-0.12716655433177948,
-0.26048240065574646,
-0.2709467113018036,
-0.40290093421936035,
0.35258376598358154,
-0.25328129529953003,
-0.08910901099443436,
0.0582994781434536,
0.058112628757953644,
-0.09717510640621185,
0.07840950042009354,
0.40171054005622864,
-0.025392819195985794,
0.2801561951637268,
0.0477508082985878,
0.05692226439714432,
-0.24453718960285187,
-0.32382720708847046,
-0.14194141328334808,
-0.11778216063976288,
0.002499207854270935,
0.021276643499732018,
0.3232486844062805,
-0.43752795457839966,
0.17106103897094727,
-0.3092411160469055,
0.2530165910720825,
0.0013658031821250916,
-0.22637531161308289,
-0.06289234757423401,
-0.2758008539676666,
0.4227552115917206,
0.23935836553573608,
0.07873878628015518,
0.06784331798553467,
-0.17868319153785706,
0.030163966119289398,
0.14739006757736206,
-0.004439152777194977,
-0.43221545219421387,
0.14297005534172058,
0.019395407289266586,
-0.12641127407550812,
-0.045827992260456085,
-0.33490052819252014,
0.17313358187675476,
-0.25069257616996765,
-0.21914394199848175,
-0.2481883466243744,
0.008521206676959991,
-0.16678103804588318,
-0.039314646273851395,
0.18215171992778778,
0.4637632369995117,
-0.43605899810791016,
-0.05743361636996269,
-0.21912506222724915,
-0.2253221571445465,
-0.08463393896818161,
0.2745722830295563,
-0.3832905888557434,
0.22497954964637756,
-0.1950581669807434,
0.23998500406742096,
0.44600701332092285,
-0.27954375743865967,
-0.7069594860076904,
0.500624418258667,
-0.11137975007295609,
-0.0662279725074768,
0.2848955988883972,
-0.11698000878095627,
0.2647235691547394,
-0.04626388102769852,
-0.12643954157829285,
0.0052826497703790665,
0.08802864700555801,
-0.04766160994768143,
0.056861598044633865,
-0.21779833734035492,
0.07124458253383636,
0.3335583806037903,
0.27452850341796875,
-0.05470549315214157,
0.14246866106987,
-0.0791638121008873,
0.3859482407569885,
0.16224485635757446,
0.2781180143356323,
0.0013951025903224945,
0.14990754425525665,
0.22627779841423035,
0.020147262141108513,
-0.1197473481297493,
-0.2834790349006653,
0.16889193654060364,
0.22847634553909302,
-0.22393757104873657,
-0.19402770698070526,
-0.1991811990737915,
-0.485592782497406,
-0.0916501060128212,
-0.3929062485694885,
0.08322809636592865,
-0.01458095945417881,
-0.006397657096385956,
-0.17551979422569275,
0.2038862109184265,
-0.16588886082172394,
0.08853017538785934,
0.209960475564003,
0.23006467521190643,
-0.24083028733730316,
0.3271788954734802,
-0.22481678426265717,
0.07731292396783829,
0.001386009156703949,
-0.23558452725410461,
0.3076658844947815,
0.027061155065894127,
-0.1354866325855255,
0.2568383812904358,
-0.02951590158045292,
0.30700722336769104,
0.4623803496360779,
-0.037847474217414856,
0.5225080251693726,
-0.5370782613754272,
0.20887252688407898,
0.2984212040901184,
0.12762095034122467,
-0.16912567615509033,
-0.29066628217697144,
0.053190119564533234,
-0.2778254747390747,
0.10103714466094971,
-0.10051177442073822,
0.20292158424854279,
0.23827898502349854,
0.007812675088644028,
0.1703372448682785,
0.05162897706031799,
0.10085318982601166,
-0.4268091917037964,
0.33842703700065613,
-0.3725440502166748,
-0.09189476817846298,
0.13729560375213623,
0.040293291211128235,
0.019839927554130554,
-0.06011395901441574,
0.17873263359069824,
-0.15785402059555054,
-0.11832503229379654,
0.2587302029132843,
-0.004644852131605148,
0.07714379578828812,
0.10537005215883255,
0.07517261803150177,
0.09023236483335495,
0.15338030457496643,
-0.30825239419937134,
0.15208731591701508,
0.07085820287466049,
-0.03356747329235077,
0.23900961875915527,
-0.2364419400691986,
-0.30879920721054077,
-0.2483747899532318,
-0.2137373387813568,
0.17313745617866516,
0.15416258573532104,
-0.2699206471443176,
-0.3286966383457184,
-0.1446455419063568,
-0.15950924158096313,
-0.02399892359972,
-0.04568164795637131,
-0.12084193527698517,
-0.3555922210216522,
-0.04162311553955078,
0.6656784415245056,
-0.12200403213500977,
-0.020051848143339157,
-0.32043319940567017,
0.20651325583457947,
0.16764132678508759,
0.3453575670719147,
-0.4007168114185333,
-0.18763914704322815,
-0.17184403538703918,
-0.06384392827749252,
0.33435308933258057,
0.10345117747783661,
0.14290250837802887,
-0.21364888548851013,
0.20324017107486725,
-0.4236108958721161,
-0.051619648933410645,
0.10890468955039978,
-0.016766920685768127,
0.17870080471038818,
-0.042827412486076355,
0.3343495726585388,
-0.04518870636820793,
-0.09337300062179565,
0.3412973880767822,
-0.08682876825332642,
-0.01380571536719799,
0.24983152747154236,
0.11544071137905121,
-0.02666463516652584,
0.2268345057964325,
-0.1989491879940033,
-0.08366628736257553,
-0.457661896944046,
0.08431044965982437,
-0.17961043119430542,
0.03433375060558319,
-0.08190298825502396,
0.2092304527759552,
0.09239368140697479,
-0.11723845452070236,
-0.16833683848381042,
-0.11301031708717346,
-0.3025575578212738,
0.2789476811885834,
-0.14779400825500488,
-0.44368281960487366,
0.39414048194885254,
0.44897907972335815,
-0.0873028039932251,
-0.02843337133526802,
-0.6710371375083923,
0.22953765094280243,
0.06991495192050934,
0.3174563944339752,
-0.03961963206529617,
-0.012255674228072166,
0.3315330743789673,
0.01684173196554184,
0.10981534421443939,
-0.1146569475531578,
-0.08583475649356842,
-0.0218556746840477,
-0.20760184526443481,
0.1587117612361908,
0.061826225370168686,
0.16644462943077087,
-0.06496451795101166,
0.5148276686668396,
0.2702891230583191,
0.28486475348472595,
0.24214480817317963,
0.15272833406925201,
0.3994320333003998,
-0.017248302698135376,
-0.3675753176212311,
-0.19463831186294556,
-0.09308138489723206,
-0.06987742334604263,
0.5679481625556946,
0.2549223303794861,
-0.26334741711616516,
-0.4765344560146332,
-0.6132607460021973,
-0.385807067155838,
-0.3605334162712097,
-0.08874881267547607,
0.050540465861558914,
-0.16263267397880554,
-0.05956052243709564,
0.2176736295223236,
0.036448780447244644,
-0.3302779495716095,
0.10178795456886292,
0.47789424657821655,
0.09217362105846405,
-0.00007076005567796528,
-0.2418188601732254,
0.022269107401371002,
-0.5474599599838257,
0.3836824297904968,
-0.243398517370224,
0.20698338747024536,
0.009045679122209549,
0.14985379576683044,
0.3645861744880676,
0.029621295630931854,
0.6748523712158203,
-0.23583872616291046,
0.2202180027961731,
-0.01132969744503498,
-0.02639145962893963,
-0.03558860719203949,
-0.09779715538024902,
-0.09941276907920837,
0.42027175426483154,
-0.21594585478305817,
0.1641148179769516,
-0.27914008498191833,
0.03963277116417885,
-0.08762212842702866,
-0.28447625041007996,
-0.1388935148715973,
-0.44036829471588135,
-0.12344090640544891,
-0.13859719038009644,
-0.19698235392570496,
0.012412376701831818,
-0.21965767443180084,
0.20857220888137817,
-0.19701442122459412,
0.14277642965316772,
0.013938941061496735,
-0.0222209170460701,
-0.11582419276237488,
0.02458881586790085,
0.0973842442035675,
0.06951563060283661,
0.16828332841396332,
0.538864254951477,
0.30222636461257935,
0.419899046421051,
0.6610389947891235,
0.3212118148803711,
-0.5131019949913025,
-0.013956274837255478,
-0.16262225806713104,
-0.1102536991238594,
0.45384371280670166,
-0.010818809270858765,
-0.1591358482837677,
0.6431272029876709,
0.08183028548955917,
-0.17860719561576843,
-0.08071653544902802,
0.23186984658241272,
-0.27709367871284485,
-0.32961326837539673,
-0.17704346776008606,
0.49216151237487793,
-0.33980873227119446,
-0.07674789428710938,
0.2974383234977722,
0.22522543370723724,
-0.08819405734539032,
0.1883704513311386,
-0.20980653166770935,
0.888192355632782,
0.004989143460988998,
0.05582128092646599,
0.15491563081741333,
-0.22844567894935608,
-0.005983307026326656,
-0.5429642200469971,
0.17579595744609833,
-0.27139928936958313,
-0.14054062962532043,
-0.27176687121391296,
-0.02684018388390541,
0.3969062566757202,
0.210255429148674,
-0.16878201067447662,
0.10027215629816055,
0.07851128280162811,
0.7485573887825012,
-0.10759329795837402,
0.013414856046438217,
-0.38497671484947205,
-0.02035992592573166,
-0.20851808786392212,
-0.015292268246412277,
-0.25599342584609985,
0.11240817606449127,
-0.13788822293281555,
-0.10912597179412842,
-0.11606030911207199,
-0.031187428161501884,
-0.23021858930587769,
0.04595749080181122,
-0.06009179726243019,
0.21669891476631165,
-0.36280447244644165,
-0.08550812304019928,
0.2065771073102951,
0.26591527462005615,
-0.01727212965488434,
-0.025504086166620255,
-0.6127908229827881,
0.24398575723171234,
-0.10823329538106918,
-0.2597384452819824,
-0.06221514940261841,
0.024529632180929184,
-0.020304108038544655,
-0.010041940957307816,
-0.30648672580718994,
0.27775469422340393,
0.03131943196058273,
-0.14648322761058807,
0.020998850464820862,
0.2128588706254959,
-0.04191845655441284,
-0.6301391124725342,
-0.1921089142560959,
-0.1824510097503662,
0.03232787922024727,
-0.0864376351237297,
-0.03220497816801071,
0.011984791606664658,
-0.21546007692813873,
-0.07221172004938126,
0.15641041100025177,
-0.009631738066673279,
-0.013049550354480743,
0.6537659764289856,
0.02456028386950493,
-0.17643199861049652,
0.22228024899959564,
0.14556129276752472,
-0.3765350580215454,
-0.140016108751297,
0.13116630911827087,
0.13043275475502014,
-0.5947985053062439,
0.022633172571659088,
0.022778121754527092,
-0.007508277893066406,
-0.003917054273188114,
-0.037991318851709366,
0.16280484199523926,
-0.18139711022377014,
-0.15907759964466095,
-0.32375502586364746,
0.03925915062427521,
0.15925699472427368,
0.13145478069782257,
0.11271767318248749,
0.12140492349863052,
-0.07680644094944,
0.1848001629114151,
-0.02064150758087635,
-0.13917405903339386,
0.24411246180534363,
0.07467622309923172,
-0.12899695336818695,
-0.5355238914489746,
0.10809215903282166,
0.09053285419940948,
-0.04476548358798027,
-0.08132069557905197,
0.14558780193328857,
-0.3070705533027649,
0.027509130537509918,
0.14476892352104187,
0.24728494882583618,
0.21379739046096802,
-0.0009589404799044132,
-0.14061424136161804,
-0.2886463403701782,
-0.26096057891845703,
-0.024396415799856186,
0.06886005401611328,
0.11722099035978317,
0.19866248965263367,
-0.13123849034309387,
1.079532504081726,
-0.023918472230434418,
-0.29796719551086426,
0.36800259351730347,
-0.02977563440799713,
0.5939682722091675,
-0.24102000892162323,
-0.061210617423057556,
-0.1259303092956543,
-0.02510719746351242,
0.05238183215260506,
0.1796044558286667,
0.15959814190864563,
0.13517823815345764,
0.5567167401313782,
-0.2879542112350464,
0.3137567639350891,
0.2269148826599121,
0.5206815004348755,
0.36891233921051025,
-0.1351478546857834,
-0.10715869814157486,
0.15484619140625,
0.08210334926843643,
-0.22664234042167664,
-0.13215963542461395,
0.5596575140953064,
-0.21120208501815796,
0.09609152376651764,
-0.0906185433268547,
0.07679842412471771,
-0.16809269785881042,
-0.0688721090555191,
0.19609150290489197,
0.4371804893016815,
0.05311141908168793,
0.21420805156230927,
0.5099175572395325,
-0.09190917015075684,
-0.044183727353811264,
0.16755762696266174,
0.18553516268730164,
0.12347143143415451,
0.5196364521980286,
-0.2778470516204834,
0.11868106573820114,
0.0585198700428009,
0.28169456124305725,
0.11274498701095581,
-0.5220620632171631,
0.07398515939712524,
0.03990790992975235,
-0.07575714588165283,
-0.23167869448661804,
-0.02624257653951645,
0.13543106615543365,
-0.2677883207798004,
0.2729215919971466,
-0.389064222574234,
0.11484977602958679,
-0.1370106041431427,
0.318411260843277,
-0.19497697055339813,
-0.3995975852012634,
-0.1352183222770691,
0.1332825869321823,
-0.044781383126974106,
0.01423860713839531,
0.0967252254486084,
0.24340663850307465,
-0.14805388450622559,
-0.26918885111808777,
0.04982611909508705,
-0.07598701864480972,
0.30225610733032227,
-0.2680690288543701,
0.15722908079624176,
0.3113977313041687,
0.06676825135946274,
0.47823596000671387,
0.4003751873970032,
0.2656380236148834,
0.07711967825889587,
-0.14325061440467834,
0.11637519299983978,
0.1240263283252716,
-0.17190217971801758,
-0.0620310977101326,
0.16297397017478943,
0.2988223433494568,
0.3170037269592285,
0.39678436517715454,
-0.013031871058046818,
-0.0714455172419548,
0.021873842924833298,
-0.17008420825004578,
0.14607694745063782,
-0.1145937442779541,
-0.09713909775018692,
-0.2616470158100128,
-0.15786048769950867,
-0.0035988613963127136,
-0.4310794174671173,
-0.4589616358280182,
0.21903854608535767,
0.22939468920230865,
-0.2362125962972641,
-0.004401091486215591,
-0.3200346529483795,
-0.03571584075689316,
0.11236482858657837,
0.5820916891098022,
0.3768182098865509,
-0.03681573271751404,
-0.12681744992733002,
-0.29753631353378296,
-0.503349781036377,
0.28395184874534607,
-0.01829688623547554,
-0.2210424691438675,
0.15532800555229187,
0.09964976459741592,
-0.01942121982574463,
0.15605613589286804,
0.29451072216033936,
-0.05632627382874489,
0.3337938189506531,
0.31154051423072815,
-0.1864774376153946,
-0.11603116989135742,
0.44814562797546387,
0.13484454154968262,
-0.30246084928512573,
-0.29973188042640686,
0.44212499260902405,
0.34233832359313965,
-0.07407526671886444,
0.045115165412425995,
0.06662337481975555,
-0.06501339375972748,
-0.5054354667663574,
0.04478462040424347,
-0.01807132177054882,
0.36022502183914185,
0.18962973356246948,
0.17237448692321777,
-0.17892518639564514,
-0.0030350186862051487,
-0.19704708456993103,
0.0033035799860954285,
0.23511835932731628,
0.4355210065841675,
-0.1018000990152359,
-0.3635158836841583,
-0.035446666181087494,
0.1777416616678238,
-0.1169334277510643,
0.2980373203754425,
-0.2762737572193146,
-0.2698904573917389,
-0.39643222093582153,
0.06826411187648773,
0.23127812147140503,
0.11881371587514877,
0.0721120536327362,
-0.04739966243505478,
-0.23373720049858093,
-0.5806507468223572,
0.6432958841323853,
-0.46025550365448,
-0.18483583629131317,
-0.017672188580036163,
-0.009045779705047607,
0.16584178805351257,
-0.029931312426924706,
-0.4484144151210785,
0.20500752329826355,
0.2318466603755951,
-0.08382929861545563,
0.2818716764450073,
0.15636074542999268,
-0.15789951384067535,
0.07683365046977997,
-0.06872890889644623,
0.18070195615291595,
0.2110186219215393,
-0.17319156229496002,
-0.1710793375968933,
-0.07203999906778336
] |
https://github.com/huggingface/datasets/issues/4720 | Dataset Viewer issue for shamikbose89/lancaster_newsbooks | It looks like the data host doesn't support http range requests, which is necessary to glob inside a ZIP archive in streaming mode. Can you try hosting the dataset elsewhere ? Or download each file separately from https://ota.bodleian.ox.ac.uk/repository/xmlui/handle/20.500.12024/2531 ? | ### Link
https://huggingface.co/datasets/shamikbose89/lancaster_newsbooks
### Description
Status code: 400
Exception: ValueError
Message: Cannot seek streaming HTTP file
I am able to use the dataset loading script locally and it also runs when I'm using the one from the hub, but the viewer still doesn't load
### Owner
Yes | 39 | Dataset Viewer issue for shamikbose89/lancaster_newsbooks
### Link
https://huggingface.co/datasets/shamikbose89/lancaster_newsbooks
### Description
Status code: 400
Exception: ValueError
Message: Cannot seek streaming HTTP file
I am able to use the dataset loading script locally and it also runs when I'm using the one from the hub, but the viewer still doesn't load
### Owner
Yes
It looks like the data host doesn't support http range requests, which is necessary to glob inside a ZIP archive in streaming mode. Can you try hosting the dataset elsewhere ? Or download each file separately from https://ota.bodleian.ox.ac.uk/repository/xmlui/handle/20.500.12024/2531 ? | [
-0.7030402421951294,
-0.003796786069869995,
-0.03198622167110443,
0.36630892753601074,
0.12229303270578384,
0.08851661533117294,
-0.033968206495046616,
0.307990700006485,
0.11582988500595093,
0.11100500822067261,
-0.371549129486084,
0.22815857827663422,
0.12867312133312225,
0.17756378650665283,
0.0750659927725792,
0.01353209838271141,
-0.15474969148635864,
0.25692063570022583,
-0.17135877907276154,
0.17789098620414734,
-0.02057361975312233,
-0.005402278155088425,
-0.2693668603897095,
-0.20437298715114594,
-0.06973955035209656,
0.0413043275475502,
0.01797623746097088,
0.0629240944981575,
-0.27383583784103394,
-0.26737192273139954,
0.2981014847755432,
0.34533387422561646,
0.44674983620643616,
0.33527761697769165,
-0.00011460321547929198,
0.2394653707742691,
0.3001800775527954,
-0.04100103676319122,
-0.2080431878566742,
-0.2023553103208542,
-0.04166831821203232,
-0.048082225024700165,
0.19526757299900055,
-0.1750604510307312,
-0.2014753222465515,
-0.051680728793144226,
0.14305007457733154,
-0.1084044873714447,
0.2837314009666443,
0.2950524091720581,
0.1701926440000534,
0.14504455029964447,
0.25994980335235596,
-0.15761804580688477,
0.15089327096939087,
-0.12422966957092285,
-0.17541129887104034,
0.1904313713312149,
0.21833421289920807,
0.5082734823226929,
-0.3923696279525757,
0.222838893532753,
0.1788199245929718,
0.28182658553123474,
0.29265090823173523,
-0.14019982516765594,
-0.46828657388687134,
-0.2765042185783386,
0.04717695340514183,
0.11635617166757584,
0.8824711441993713,
-0.16503295302391052,
-0.25468435883522034,
0.04317440092563629,
0.00638932827860117,
0.032162152230739594,
0.3151635527610779,
0.2585158944129944,
-0.15453657507896423,
0.3248121440410614,
-0.17971256375312805,
-0.11993587762117386,
-0.4715982675552368,
0.20230022072792053,
-0.38114413619041443,
0.048283837735652924,
-0.18656153976917267,
-0.000352419912815094,
0.2083757072687149,
0.02243414893746376,
0.45208606123924255,
-0.07634168118238449,
-0.0566396526992321,
-0.008074206300079823,
-0.10288022458553314,
0.13148917257785797,
0.07710841298103333,
0.532366931438446,
0.04804491996765137,
0.20633378624916077,
0.20751221477985382,
0.29149487614631653,
-0.32164812088012695,
0.059706613421440125,
0.19663836061954498,
-0.04188236594200134,
0.2905636727809906,
-0.10595347732305527,
0.28667303919792175,
0.766455888748169,
0.1559848040342331,
-0.21367233991622925,
-0.19912824034690857,
-0.20360122621059418,
-0.3395123779773712,
-0.3496472239494324,
0.3195265531539917,
-0.35038021206855774,
-0.15827609598636627,
0.03160950541496277,
0.10663347691297531,
-0.09297152608633041,
0.015015625394880772,
0.3181511163711548,
0.007505148649215698,
0.2760064899921417,
0.05114205926656723,
0.10202902555465698,
-0.13255903124809265,
-0.3279159665107727,
-0.1158507838845253,
-0.13162603974342346,
0.0235954187810421,
0.037160374224185944,
0.4619957506656647,
-0.4091643691062927,
0.15632113814353943,
-0.15233126282691956,
0.31456345319747925,
0.10372678935527802,
-0.05351943522691727,
-0.1008012443780899,
-0.09874249249696732,
0.3166137635707855,
0.2658994197845459,
0.02613851986825466,
0.02826383337378502,
0.038202911615371704,
0.05186086148023605,
0.1072506532073021,
0.02756410464644432,
-0.2678850591182709,
0.11106588691473007,
0.10908234119415283,
-0.08368857949972153,
0.048912644386291504,
-0.20510846376419067,
0.11739949882030487,
-0.5168310403823853,
-0.21991026401519775,
-0.227812260389328,
0.03085464984178543,
-0.07422549277544022,
-0.012179951183497906,
0.20880359411239624,
0.4266415238380432,
-0.44890764355659485,
0.02696630358695984,
-0.16185429692268372,
-0.08532626926898956,
-0.010584913194179535,
0.08749687671661377,
-0.3832336664199829,
0.10873527824878693,
-0.2712445855140686,
0.18648992478847504,
0.41649308800697327,
-0.12592746317386627,
-0.7635721564292908,
0.44633886218070984,
-0.08452266454696655,
-0.06510460376739502,
0.19012482464313507,
-0.12445080280303955,
0.3014475107192993,
-0.058866020292043686,
-0.007790714502334595,
0.11382126808166504,
0.16596832871437073,
0.0031006429344415665,
-0.09799685329198837,
-0.07707185298204422,
0.044358935207128525,
0.37001141905784607,
0.10508421063423157,
-0.144138902425766,
0.04506829008460045,
-0.05298313871026039,
0.3271443545818329,
0.13468194007873535,
0.29914382100105286,
0.11825748533010483,
-0.06167137250304222,
0.13165341317653656,
0.03975529223680496,
-0.12108411639928818,
-0.28947198390960693,
0.12447618693113327,
0.17203637957572937,
-0.21237027645111084,
-0.12262234091758728,
-0.10592596232891083,
-0.3721345365047455,
-0.19846783578395844,
-0.3837466835975647,
-0.03060923144221306,
0.13147230446338654,
0.0924074649810791,
-0.11205518245697021,
0.04008780047297478,
-0.21450096368789673,
0.13029740750789642,
0.25120463967323303,
0.1419844925403595,
-0.2276466339826584,
0.35890406370162964,
-0.17904938757419586,
0.01707739755511284,
0.20506303012371063,
-0.25992462038993835,
0.18590128421783447,
-0.0668618232011795,
-0.12811556458473206,
0.16943661868572235,
-0.07921535521745682,
0.1161700189113617,
0.44067445397377014,
-0.004657849669456482,
0.46238335967063904,
-0.5885193943977356,
0.2938561737537384,
0.2554325759410858,
0.11650683730840683,
-0.1521698236465454,
-0.36721378564834595,
0.11707756668329239,
-0.1500893533229828,
-0.008800648152828217,
-0.014363862574100494,
0.16954077780246735,
0.25956064462661743,
0.005122773349285126,
0.1513669490814209,
0.1011044830083847,
0.12182216346263885,
-0.09949581325054169,
0.6208921670913696,
-0.23583735525608063,
-0.05462067201733589,
0.18870678544044495,
-0.12288382649421692,
0.08573180437088013,
-0.03377298265695572,
0.15266942977905273,
-0.2636566758155823,
-0.11108709126710892,
0.21289539337158203,
-0.20434026420116425,
0.16813305020332336,
0.19766145944595337,
0.1863430142402649,
0.08850713819265366,
0.13503724336624146,
-0.2969416379928589,
0.04229824244976044,
-0.10413630306720734,
-0.01666220836341381,
0.12303085625171661,
-0.1576647013425827,
-0.1947440356016159,
-0.3677562475204468,
-0.2703924775123596,
0.16485416889190674,
0.023749154061079025,
-0.13758747279644012,
-0.25384339690208435,
-0.07883770763874054,
-0.2301705777645111,
-0.03648388385772705,
-0.10209823399782181,
-0.05985705927014351,
-0.2381959855556488,
-0.057020775973796844,
0.45656538009643555,
-0.11507497727870941,
-0.08733430504798889,
-0.10889457166194916,
0.2396661937236786,
0.17637687921524048,
0.2460811734199524,
-0.38905268907546997,
-0.0328095369040966,
-0.19298511743545532,
0.0734129548072815,
0.3318774104118347,
0.1548573523759842,
0.1718677133321762,
-0.18772637844085693,
0.2243356555700302,
-0.5957372188568115,
0.03715444356203079,
0.0809193029999733,
-0.01248793676495552,
0.15844015777111053,
-0.023790448904037476,
0.3957751393318176,
-0.17030276358127594,
0.10265523940324783,
0.24529211223125458,
0.06648942828178406,
0.015919877216219902,
0.12853623926639557,
0.04880967736244202,
-0.05300932377576828,
0.10780024528503418,
-0.33934730291366577,
-0.12804557383060455,
-0.5172650814056396,
0.08392424136400223,
-0.07661586999893188,
0.08749857544898987,
-0.18179048597812653,
0.1741780787706375,
0.005125226452946663,
0.005665736272931099,
-0.1658564656972885,
-0.09964975714683533,
-0.4250386953353882,
0.4645678997039795,
-0.24357247352600098,
-0.5346429347991943,
0.2933211326599121,
0.3643532395362854,
0.011624705046415329,
0.09527401626110077,
-0.610420823097229,
0.14386263489723206,
0.0027383584529161453,
0.28974971175193787,
0.06860197335481644,
-0.0026849638670682907,
0.37505680322647095,
-0.10439785569906235,
0.03987305611371994,
-0.10148997604846954,
-0.09071274101734161,
-0.08292192965745926,
-0.22747862339019775,
0.08496259152889252,
0.07633070647716522,
-0.0322585254907608,
-0.025124892592430115,
0.32953375577926636,
0.2666120231151581,
0.1944209486246109,
0.4156956672668457,
0.21543821692466736,
0.37550675868988037,
-0.019231244921684265,
-0.17778164148330688,
-0.10331796109676361,
-0.025514230132102966,
-0.19218897819519043,
0.5065031051635742,
0.27204030752182007,
-0.19424720108509064,
-0.5109784007072449,
-0.4682563841342926,
-0.27019011974334717,
-0.25366151332855225,
-0.012734262272715569,
0.039405979216098785,
-0.020648285746574402,
-0.07185016572475433,
0.14064672589302063,
0.02279185876250267,
-0.30734118819236755,
0.13465669751167297,
0.2923998236656189,
0.14315029978752136,
0.09514422714710236,
-0.09513358771800995,
0.01074680220335722,
-0.4502721428871155,
0.3914142847061157,
-0.1238260343670845,
0.18624454736709595,
0.013808775693178177,
0.1375623345375061,
0.27481135725975037,
-0.06240920349955559,
0.4745519757270813,
-0.25719204545021057,
0.2375098466873169,
0.15038137137889862,
0.010063931345939636,
-0.08386266231536865,
-0.20199143886566162,
-0.2563033998012543,
0.30546969175338745,
-0.13404938578605652,
0.20640598237514496,
-0.3685624599456787,
0.027301311492919922,
-0.08413932472467422,
-0.18125790357589722,
-0.04959271475672722,
-0.21891672909259796,
-0.059927139431238174,
-0.22362393140792847,
-0.15170080959796906,
-0.0392211452126503,
-0.18570517003536224,
0.11815951019525528,
-0.24308326840400696,
0.10123191773891449,
0.10106641799211502,
0.057305917143821716,
-0.12575973570346832,
-0.006181534379720688,
0.27019184827804565,
0.0800393745303154,
0.19217915832996368,
0.6069024801254272,
0.33978769183158875,
0.4700498878955841,
0.7106600999832153,
0.40446364879608154,
-0.4449155926704407,
0.10112428665161133,
-0.1985948383808136,
-0.19100159406661987,
0.3670489192008972,
0.09398651123046875,
-0.27056601643562317,
0.3537290394306183,
0.0559886172413826,
-0.1316041797399521,
-0.01208673045039177,
0.2110333889722824,
-0.23083087801933289,
-0.29476088285446167,
-0.11245658248662949,
0.5567090511322021,
-0.24120818078517914,
0.010807417333126068,
0.39693477749824524,
-0.15041720867156982,
-0.055513493716716766,
0.2100604921579361,
-0.08381039649248123,
0.7118897438049316,
-0.08564901351928711,
0.04070180654525757,
0.12686112523078918,
-0.1435910165309906,
-0.11401002109050751,
-0.46716147661209106,
0.1585589051246643,
-0.23899395763874054,
-0.2836041748523712,
-0.27225831151008606,
-0.08334404975175858,
0.35096144676208496,
0.33723652362823486,
-0.40531662106513977,
0.023108305409550667,
0.1783328801393509,
0.5844141840934753,
0.02004847303032875,
-0.06316111981868744,
-0.4538295567035675,
-0.0418475978076458,
-0.3818713128566742,
0.10736437141895294,
-0.18399792909622192,
0.09588544815778732,
-0.24018466472625732,
-0.24154458940029144,
-0.10032625496387482,
-0.037673745304346085,
-0.23341894149780273,
0.16811150312423706,
-0.15927332639694214,
0.07787036895751953,
-0.22068774700164795,
0.05477799475193024,
0.11977456510066986,
0.2951829731464386,
-0.058703720569610596,
-0.05876786634325981,
-0.6159169673919678,
0.2679629325866699,
-0.048352472484111786,
-0.31876686215400696,
0.030559083446860313,
0.03606654703617096,
-0.0004920568317174911,
-0.07134035974740982,
-0.16293880343437195,
0.39104047417640686,
-0.055046819150447845,
-0.18287035822868347,
-0.02533414214849472,
0.1470804512500763,
0.015506010502576828,
-0.5147517323493958,
-0.0864352285861969,
-0.07356210052967072,
-0.0013373568654060364,
-0.012890754267573357,
0.0758252888917923,
-0.06646706163883209,
-0.1815447360277176,
-0.09881097823381424,
0.30093836784362793,
-0.07349807769060135,
0.02909369394183159,
0.6118653416633606,
-0.05196470767259598,
-0.03136931732296944,
0.21002905070781708,
0.27378255128860474,
-0.3763144016265869,
-0.17915436625480652,
0.01667945086956024,
0.024580800905823708,
-0.4834615886211395,
0.035224270075559616,
0.03572713956236839,
0.11931963264942169,
0.001830163411796093,
0.08231305330991745,
0.13974244892597198,
-0.32089272141456604,
-0.15128180384635925,
-0.37181800603866577,
0.12165188044309616,
0.07914973795413971,
0.0010079406201839447,
0.18578064441680908,
0.17889666557312012,
-0.09582293033599854,
0.3140679895877838,
-0.15015120804309845,
-0.2658548355102539,
0.2076222449541092,
0.0359882190823555,
-0.09284334629774094,
-0.806766152381897,
0.0822504460811615,
0.0994327962398529,
0.08329395949840546,
0.0042806826531887054,
0.19982704520225525,
-0.44384539127349854,
-0.1157032921910286,
0.24852198362350464,
0.18005289137363434,
0.11992320418357849,
-0.13395826518535614,
-0.22858326137065887,
-0.24669025838375092,
-0.27753371000289917,
-0.03697598725557327,
0.09376010298728943,
-0.03496544063091278,
0.08493679016828537,
-0.19836218655109406,
0.9176061749458313,
-0.13202616572380066,
-0.344457745552063,
0.22064553201198578,
0.07358193397521973,
0.6727582216262817,
-0.2471318244934082,
-0.06173340976238251,
-0.12831057608127594,
-0.06347145140171051,
-0.08428332954645157,
0.12425246089696884,
0.24551239609718323,
0.12469678372144699,
0.5180642008781433,
-0.2707080841064453,
0.25817105174064636,
0.220081627368927,
0.42313921451568604,
0.40812069177627563,
-0.18205510079860687,
-0.02713906206190586,
-0.02133285626769066,
0.19343554973602295,
-0.2295762151479721,
-0.130350261926651,
0.29145583510398865,
-0.1849195957183838,
0.04474920406937599,
-0.16470259428024292,
0.23717010021209717,
-0.2858388423919678,
-0.006373949348926544,
0.17238816618919373,
0.25365322828292847,
0.2205839306116104,
0.009756588377058506,
0.514621913433075,
0.0357094444334507,
-0.03868412598967552,
0.10303030163049698,
0.13524356484413147,
0.12247724831104279,
0.2584742307662964,
-0.21570122241973877,
0.17653463780879974,
0.12425800412893295,
0.24868178367614746,
-0.11891134828329086,
-0.6649684309959412,
-0.028296928852796555,
0.08036287873983383,
0.11942655593156815,
-0.13393259048461914,
0.003843441605567932,
0.1622203290462494,
-0.11451903730630875,
0.09714270383119583,
-0.39442893862724304,
0.010305292904376984,
-0.07818318903446198,
0.3836509585380554,
-0.22106342017650604,
-0.3210129737854004,
-0.24593546986579895,
0.2765306532382965,
-0.10996462404727936,
0.03854309394955635,
0.2734196186065674,
0.21638110280036926,
-0.09324513375759125,
-0.29750171303749084,
0.13369052112102509,
-0.074363574385643,
0.15299518406391144,
-0.32030418515205383,
0.27959179878234863,
0.26928162574768066,
-0.022066384553909302,
0.42720910906791687,
0.49692004919052124,
0.19315026700496674,
0.1532166302204132,
-0.10116489231586456,
0.07985589653253555,
0.06366948783397675,
-0.15972010791301727,
-0.1414256989955902,
-0.00007061101496219635,
0.2096448540687561,
0.24388480186462402,
0.4539332687854767,
0.12447357177734375,
-0.08301976323127747,
0.12325082719326019,
-0.27656808495521545,
0.17725980281829834,
-0.09290152788162231,
-0.17128613591194153,
-0.2018805742263794,
-0.010713629424571991,
-0.004440966993570328,
-0.544230043888092,
-0.4735298454761505,
0.1480635702610016,
0.22776195406913757,
-0.247113436460495,
0.025496069341897964,
-0.23673871159553528,
0.05044695734977722,
0.0987866073846817,
0.6234064102172852,
0.5149245262145996,
0.04630398750305176,
-0.17560240626335144,
-0.5554301142692566,
-0.49117210507392883,
0.299580454826355,
-0.015893131494522095,
-0.14339381456375122,
0.22097104787826538,
0.13278953731060028,
0.0358906164765358,
0.25343719124794006,
0.21501155197620392,
-0.10781769454479218,
0.08259875327348709,
0.3142912983894348,
-0.4674398601055145,
-0.14835238456726074,
0.45979470014572144,
0.3404277563095093,
-0.32137826085090637,
-0.3177019953727722,
0.5010407567024231,
0.21843233704566956,
0.08519642800092697,
-0.005421968176960945,
0.08572903275489807,
-0.11995857954025269,
-0.4865771234035492,
0.2771695852279663,
-0.07966624200344086,
0.22858206927776337,
0.08297668397426605,
0.16240757703781128,
-0.1961510181427002,
0.10830838978290558,
-0.04061563313007355,
-0.03862711042165756,
0.0891520231962204,
0.44033282995224,
-0.011052306741476059,
-0.2852025032043457,
-0.037012722343206406,
0.13569535315036774,
-0.04848390817642212,
0.3314818739891052,
-0.1649090200662613,
-0.2601999044418335,
-0.4709673523902893,
0.015924349427223206,
0.08010521531105042,
0.14096657931804657,
0.044476307928562164,
-0.13001330196857452,
-0.19275560975074768,
-0.5068220496177673,
0.5180862545967102,
-0.3674761950969696,
-0.20280508697032928,
0.05254197493195534,
-0.09756480157375336,
0.11811532080173492,
-0.12566371262073517,
-0.3862670958042145,
0.29087427258491516,
0.22220443189144135,
-0.047028981149196625,
0.09073051810264587,
0.14850828051567078,
-0.13970482349395752,
0.06551170349121094,
-0.11961650848388672,
0.42226019501686096,
0.1108410656452179,
-0.081034816801548,
-0.29287484288215637,
-0.07103441655635834
] |
https://github.com/huggingface/datasets/issues/4720 | Dataset Viewer issue for shamikbose89/lancaster_newsbooks | @lhoestq Thanks! That seems to have solved it. I can get the splits with the `get_dataset_split_names()` function. The dataset viewer is still not loading properly, though. The new error is
```
Status code: 400
Exception: BadZipFile
Message: File is not a zip file
```
PS. The dataset loads properly and can be accessed | ### Link
https://huggingface.co/datasets/shamikbose89/lancaster_newsbooks
### Description
Status code: 400
Exception: ValueError
Message: Cannot seek streaming HTTP file
I am able to use the dataset loading script locally and it also runs when I'm using the one from the hub, but the viewer still doesn't load
### Owner
Yes | 53 | Dataset Viewer issue for shamikbose89/lancaster_newsbooks
### Link
https://huggingface.co/datasets/shamikbose89/lancaster_newsbooks
### Description
Status code: 400
Exception: ValueError
Message: Cannot seek streaming HTTP file
I am able to use the dataset loading script locally and it also runs when I'm using the one from the hub, but the viewer still doesn't load
### Owner
Yes
@lhoestq Thanks! That seems to have solved it. I can get the splits with the `get_dataset_split_names()` function. The dataset viewer is still not loading properly, though. The new error is
```
Status code: 400
Exception: BadZipFile
Message: File is not a zip file
```
PS. The dataset loads properly and can be accessed | [
-0.5757743120193481,
-0.0382235050201416,
0.021358925849199295,
0.4675867557525635,
0.08479131758213043,
0.05845183879137039,
0.18854649364948273,
0.39184433221817017,
-0.004197930917143822,
0.0005979835987091064,
-0.43981319665908813,
0.32067665457725525,
0.20386019349098206,
0.08589079231023788,
0.016455281525850296,
-0.057855427265167236,
-0.11818588525056839,
0.24840037524700165,
0.01892198994755745,
0.16092213988304138,
-0.028884602710604668,
0.12730784714221954,
-0.25593310594558716,
-0.05707816779613495,
-0.19252169132232666,
0.06332684308290482,
-0.030582010746002197,
0.07370440661907196,
-0.15988846123218536,
-0.21409782767295837,
0.21330274641513824,
0.43768811225891113,
0.2882763743400574,
0.5071077942848206,
-0.00012321214308030903,
0.17447608709335327,
0.4048730134963989,
0.018006248399615288,
-0.17902246117591858,
-0.0912768691778183,
-0.08099612593650818,
-0.13741356134414673,
0.2496003806591034,
-0.12934646010398865,
-0.2116820514202118,
-0.03301915526390076,
-0.013188185170292854,
-0.12995114922523499,
0.38598108291625977,
0.15011556446552277,
0.09061440825462341,
0.09579987078905106,
0.16570933163166046,
-0.1718578338623047,
0.17567384243011475,
0.08768729120492935,
-0.23320135474205017,
0.09405389428138733,
0.07575453817844391,
0.2839103937149048,
-0.3398281931877136,
0.1827075332403183,
0.13003510236740112,
0.18491369485855103,
0.2423039972782135,
-0.054173752665519714,
-0.5457560420036316,
-0.20581309497356415,
0.17085140943527222,
0.30050820112228394,
0.8575057983398438,
-0.04547588527202606,
-0.29506203532218933,
-0.18441593647003174,
0.0608554407954216,
0.039780423045158386,
0.40965256094932556,
0.23949074745178223,
-0.1491098701953888,
0.2763488292694092,
-0.22995656728744507,
-0.15448002517223358,
-0.4171161949634552,
0.17831331491470337,
-0.4447633922100067,
0.02493946999311447,
-0.17454273998737335,
0.12282903492450714,
0.2695845067501068,
-0.05264726281166077,
0.4275674521923065,
-0.15318261086940765,
-0.07563066482543945,
-0.1306312531232834,
-0.13277333974838257,
0.05456850677728653,
-0.06806854158639908,
0.5202986001968384,
-0.12086877226829529,
0.1405434012413025,
0.08159036189317703,
0.349983274936676,
-0.2763898968696594,
0.026272287592291832,
0.4300132393836975,
-0.0778963565826416,
0.3621741831302643,
0.12020572274923325,
0.33754074573516846,
0.7051721811294556,
0.14434364438056946,
-0.12349966913461685,
-0.16293948888778687,
-0.2369362711906433,
-0.3571224808692932,
-0.3130563795566559,
0.26740241050720215,
-0.3975110352039337,
-0.08757752180099487,
0.03525785729289055,
0.20577585697174072,
-0.1530294120311737,
0.07147542387247086,
0.3600316047668457,
-0.0821974128484726,
0.31856662034988403,
-0.017075955867767334,
0.0912831649184227,
-0.2794845402240753,
-0.29133540391921997,
-0.06424735486507416,
-0.138447567820549,
-0.08281508088111877,
0.10780612379312515,
0.4446331560611725,
-0.32624760270118713,
0.08389213681221008,
-0.266215056180954,
0.23413121700286865,
0.06636779010295868,
-0.18859463930130005,
-0.1614697128534317,
-0.1394234001636505,
0.2773803770542145,
0.2718498706817627,
0.1526893526315689,
0.044633649289608,
-0.13641512393951416,
-0.010316811501979828,
0.12578241527080536,
-0.04040590673685074,
-0.19480372965335846,
0.0684429481625557,
0.052176881581544876,
-0.1611405909061432,
0.016190405935049057,
-0.1572486162185669,
0.16989527642726898,
-0.2197268307209015,
-0.2769702076911926,
-0.28315359354019165,
-0.014946125447750092,
-0.12269005179405212,
-0.04305298626422882,
0.1896999478340149,
0.500679612159729,
-0.6005885004997253,
-0.08850470930337906,
-0.34467998147010803,
-0.25295665860176086,
-0.06598087400197983,
0.21842536330223083,
-0.2854660451412201,
0.1620832085609436,
-0.24223798513412476,
0.29365861415863037,
0.267645001411438,
-0.10604757070541382,
-0.6850059032440186,
0.4813711941242218,
-0.03123323619365692,
0.053183414041996,
0.10337910056114197,
-0.09491458535194397,
0.36592668294906616,
-0.06162980571389198,
0.00003580749034881592,
0.03239361569285393,
0.058690764009952545,
-0.10371733456850052,
-0.09491081535816193,
-0.15696607530117035,
0.16183233261108398,
0.33378109335899353,
0.21312639117240906,
-0.16115015745162964,
0.04433165118098259,
-0.08715885877609253,
0.40339213609695435,
0.2339741438627243,
0.2534196078777313,
-0.03258313983678818,
0.08621559292078018,
0.26658111810684204,
0.11609408259391785,
-0.08927096426486969,
-0.3840438425540924,
0.20882350206375122,
0.18263286352157593,
-0.28270456194877625,
-0.21429668366909027,
-0.20062173902988434,
-0.34913381934165955,
-0.2253648191690445,
-0.37830889225006104,
0.06621610373258591,
0.02599930390715599,
0.013526774942874908,
-0.09458144009113312,
0.05847014859318733,
-0.196446031332016,
0.12206415086984634,
0.29570409655570984,
0.2971586287021637,
-0.2801118791103363,
0.47897884249687195,
-0.06803223490715027,
-0.006176474504172802,
0.00805215910077095,
-0.21344834566116333,
0.24956583976745605,
-0.0402299240231514,
-0.12855222821235657,
0.21357226371765137,
0.05388607084751129,
0.16825218498706818,
0.45579835772514343,
-0.07684211432933807,
0.5177872180938721,
-0.5729356408119202,
0.2314215898513794,
0.3158160448074341,
0.039222411811351776,
-0.21406614780426025,
-0.4663199484348297,
0.2450617402791977,
-0.3073396384716034,
0.11855452507734299,
-0.05019819363951683,
0.16694308817386627,
0.26470643281936646,
-0.0524878203868866,
0.16879135370254517,
-0.006759878247976303,
0.08048807084560394,
-0.26792672276496887,
0.5250264406204224,
-0.31760841608047485,
0.03156059980392456,
0.20539629459381104,
0.0988103598356247,
-0.006251569837331772,
-0.06640269607305527,
0.1107487604022026,
-0.22146877646446228,
-0.021271446719765663,
0.22867585718631744,
0.05608658865094185,
0.1292870044708252,
0.10196389257907867,
0.058095771819353104,
0.09145104140043259,
0.1831422746181488,
-0.25622037053108215,
0.07797103375196457,
0.10720266401767731,
-0.10942976176738739,
0.21454375982284546,
-0.3356906771659851,
-0.25146743655204773,
-0.277267187833786,
-0.13271895051002502,
0.19427992403507233,
0.05129063129425049,
-0.2571069598197937,
-0.2577655017375946,
-0.18817824125289917,
-0.2233782708644867,
-0.13182710111141205,
0.004610513802617788,
-0.12405407428741455,
-0.3587160110473633,
-0.048712849617004395,
0.5313560962677002,
-0.11903119087219238,
-0.04705716669559479,
-0.16630099713802338,
0.3072618842124939,
0.05352769047021866,
0.2780797779560089,
-0.3109660744667053,
-0.10909288376569748,
-0.2138158082962036,
0.007658328860998154,
0.43648767471313477,
0.09432696551084518,
0.036252353340387344,
-0.29319074749946594,
0.14778323471546173,
-0.519253134727478,
0.006806805729866028,
0.1510750949382782,
-0.09093895554542542,
0.14466984570026398,
-0.10460422933101654,
0.2749183475971222,
-0.06428375095129013,
-0.049134284257888794,
0.2731735408306122,
-0.09816446155309677,
0.07501404732465744,
0.216439351439476,
0.13399937748908997,
-0.07913734763860703,
0.13889993727207184,
-0.3197569251060486,
-0.08570534735918045,
-0.415554940700531,
0.21644699573516846,
-0.12114863097667694,
0.0007909834384918213,
-0.1415855884552002,
0.04216624051332474,
-0.023490358144044876,
-0.08012592792510986,
-0.2781420648097992,
-0.08996836096048355,
-0.27120792865753174,
0.3616940677165985,
-0.20476782321929932,
-0.4444292485713959,
0.2918694317340851,
0.4116445779800415,
-0.12295444309711456,
-0.015819109976291656,
-0.5032561421394348,
0.3681844472885132,
0.08527389913797379,
0.33847594261169434,
0.09924542158842087,
-0.04111973196268082,
0.3022648096084595,
-0.11342325061559677,
0.10732236504554749,
-0.09566690772771835,
-0.12903757393360138,
-0.054531775414943695,
-0.206635981798172,
0.24418240785598755,
-0.02159939706325531,
-0.0267900712788105,
-0.07953162491321564,
0.5238786935806274,
0.2884552776813507,
0.2652311623096466,
0.16595661640167236,
0.21244525909423828,
0.37047478556632996,
0.024750851094722748,
-0.23282036185264587,
-0.23896737396717072,
-0.21048304438591003,
-0.12258478254079819,
0.6273913383483887,
0.3414704203605652,
-0.33048322796821594,
-0.46625053882598877,
-0.3873070776462555,
-0.3943338096141815,
-0.4198548495769501,
-0.005737006664276123,
0.07293663173913956,
-0.2594648003578186,
-0.06047144904732704,
0.3302307426929474,
0.02249838411808014,
-0.401233434677124,
0.11456602811813354,
0.3971279263496399,
0.16391460597515106,
-0.12673446536064148,
-0.27133476734161377,
0.05229630693793297,
-0.48399966955184937,
0.37374234199523926,
-0.1911732405424118,
0.20145003497600555,
0.039617281407117844,
-0.0027872733771800995,
0.27904313802719116,
0.021003976464271545,
0.6528096199035645,
-0.18211501836776733,
0.13049544394016266,
0.15999636054039001,
-0.10080162435770035,
-0.06059679388999939,
-0.1887483149766922,
-0.2184218317270279,
0.4532211720943451,
-0.2410515695810318,
0.21632426977157593,
-0.3889155089855194,
0.02984590083360672,
-0.05073089897632599,
-0.1911957859992981,
-0.17081433534622192,
-0.31562933325767517,
-0.0031713321805000305,
-0.07253134250640869,
-0.06074224412441254,
-0.04767280071973801,
-0.281648725271225,
0.11653424054384232,
-0.2866867184638977,
0.12139326333999634,
0.12038960307836533,
-0.11738414317369461,
0.006177738308906555,
0.10103566944599152,
0.22288191318511963,
0.03149285539984703,
0.3260391652584076,
0.5731852054595947,
0.286967009305954,
0.45618733763694763,
0.715174674987793,
0.24154295027256012,
-0.5350568890571594,
0.12080688029527664,
-0.30593153834342957,
-0.15891918540000916,
0.49168702960014343,
-0.002031151670962572,
-0.22237271070480347,
0.5142202377319336,
0.1064036637544632,
-0.23424264788627625,
-0.1368732750415802,
0.2912558317184448,
-0.2660593092441559,
-0.38131314516067505,
-0.16285301744937897,
0.48670870065689087,
-0.21306447684764862,
-0.015139959752559662,
0.3822362422943115,
0.01527317613363266,
-0.06993437558412552,
0.19485920667648315,
-0.2325851023197174,
0.8643945455551147,
-0.09988062083721161,
-0.04065175727009773,
0.09708013385534286,
-0.19196227192878723,
0.017297476530075073,
-0.5385956168174744,
0.12926480174064636,
-0.3396833837032318,
-0.2972491681575775,
-0.2121407687664032,
0.02407914027571678,
0.4034698009490967,
0.29817771911621094,
-0.2482726126909256,
0.11119358986616135,
0.018353648483753204,
0.6619490385055542,
-0.10579244792461395,
-0.011084791272878647,
-0.3443903625011444,
-0.11155886948108673,
-0.19763736426830292,
0.018530000001192093,
-0.16833047568798065,
0.10785950720310211,
-0.20369789004325867,
-0.1140703484416008,
-0.15843148529529572,
0.002692919224500656,
-0.248216450214386,
0.21977484226226807,
0.054604481905698776,
0.17246870696544647,
-0.23079782724380493,
0.0680474191904068,
0.11065591871738434,
0.12900696694850922,
-0.007020674645900726,
-0.022495228797197342,
-0.5721784234046936,
0.2856862545013428,
-0.07379508763551712,
-0.15847480297088623,
0.014887486584484577,
-0.03815352916717529,
0.03580770641565323,
0.059635311365127563,
-0.18549436330795288,
0.163293719291687,
0.01508928183466196,
-0.09073630720376968,
-0.023616060614585876,
0.1470307558774948,
0.09136822074651718,
-0.69790118932724,
-0.0368194654583931,
-0.10967192053794861,
0.032836828380823135,
-0.09188851714134216,
0.02039036527276039,
-0.0031989142298698425,
-0.2148415446281433,
0.016932085156440735,
0.12499850988388062,
-0.04900023713707924,
-0.0677260011434555,
0.5549572706222534,
0.0018168874084949493,
-0.16367217898368835,
0.1346738189458847,
0.19380724430084229,
-0.37246865034103394,
-0.140762597322464,
0.12680906057357788,
0.10645262151956558,
-0.622589647769928,
0.019179340451955795,
-0.12908414006233215,
0.09022954106330872,
0.034463975578546524,
-0.0966852605342865,
0.11764796823263168,
-0.239085853099823,
-0.20784780383110046,
-0.30560675263404846,
0.1889285296201706,
0.1662748157978058,
0.13257725536823273,
0.14858300983905792,
0.16276943683624268,
-0.05617852136492729,
0.1607692837715149,
-0.027055533602833748,
-0.16492721438407898,
0.23807111382484436,
0.10906136780977249,
-0.08798398822546005,
-0.6835453510284424,
0.10067953169345856,
0.059125952422618866,
-0.10905420780181885,
-0.07847212255001068,
0.24812400341033936,
-0.26304730772972107,
-0.018382588401436806,
0.10865291953086853,
0.23471948504447937,
0.15499559044837952,
-0.10175618529319763,
-0.15416207909584045,
-0.16682422161102295,
-0.26004379987716675,
-0.12260498106479645,
0.08207061886787415,
0.05016549676656723,
0.14448407292366028,
-0.11793229728937149,
1.2135363817214966,
-0.03384092450141907,
-0.33764469623565674,
0.40666666626930237,
-0.0007042065262794495,
0.7106982469558716,
-0.16974641382694244,
0.021025333553552628,
-0.2191695123910904,
0.006103739142417908,
-0.08154387772083282,
0.1495848149061203,
0.2204599827528,
0.1496446132659912,
0.6111478805541992,
-0.2748720049858093,
0.3059222102165222,
0.19995494186878204,
0.5411407947540283,
0.5875491499900818,
-0.07972848415374756,
-0.07279374450445175,
0.14861994981765747,
0.098057821393013,
-0.13063329458236694,
-0.16090860962867737,
0.5384491682052612,
-0.22601421177387238,
0.019486363977193832,
-0.013350941240787506,
0.08317159116268158,
-0.16501131653785706,
-0.02702002227306366,
0.11715339869260788,
0.46113839745521545,
0.144771009683609,
0.3285347521305084,
0.6853306889533997,
-0.07704480737447739,
0.015544809401035309,
0.06602616608142853,
0.06836335361003876,
0.048403769731521606,
0.44407790899276733,
-0.20230671763420105,
0.19252833724021912,
0.015279429033398628,
0.4087817668914795,
0.16137465834617615,
-0.5662976503372192,
0.11030246317386627,
0.009803861379623413,
0.005438089370727539,
-0.10507475584745407,
-0.0718536376953125,
0.20578494668006897,
-0.3749857246875763,
0.17385044693946838,
-0.44377565383911133,
0.05846591293811798,
-0.08448292315006256,
0.3120432198047638,
-0.16053219139575958,
-0.33165425062179565,
-0.24423637986183167,
0.1894855946302414,
-0.10372909903526306,
0.03719955310225487,
0.22457824647426605,
0.25405293703079224,
-0.05808092653751373,
-0.17438268661499023,
0.07405111193656921,
-0.11004257947206497,
0.34605732560157776,
-0.33606085181236267,
0.07475734502077103,
0.18661347031593323,
0.05316559970378876,
0.4123342037200928,
0.29337215423583984,
0.1168634295463562,
0.08568060398101807,
-0.14815326035022736,
-0.05075780674815178,
0.11107583343982697,
-0.09128918498754501,
-0.003969275392591953,
0.12651918828487396,
0.18031316995620728,
0.26276537775993347,
0.4109838902950287,
0.052335046231746674,
-0.07191678136587143,
0.06171971186995506,
-0.15734195709228516,
0.20630386471748352,
-0.11115570366382599,
-0.15680137276649475,
-0.24002942442893982,
-0.09652721881866455,
0.030449209734797478,
-0.5060753226280212,
-0.39192014932632446,
0.09452588856220245,
0.1970030665397644,
-0.2232787162065506,
0.050066642463207245,
-0.18128082156181335,
-0.006496740505099297,
0.10966390371322632,
0.6121862530708313,
0.3235478401184082,
-0.0855451449751854,
-0.13814908266067505,
-0.3463207483291626,
-0.4773292541503906,
0.27515044808387756,
-0.03546004369854927,
-0.08263565599918365,
0.1592269092798233,
0.18631067872047424,
-0.01304798573255539,
0.21190068125724792,
0.23352986574172974,
-0.1160137951374054,
0.2855796813964844,
0.29409801959991455,
-0.32689929008483887,
-0.14532862603664398,
0.3975675702095032,
0.20409317314624786,
-0.2330421358346939,
-0.32940053939819336,
0.39627599716186523,
0.38021379709243774,
-0.10955218970775604,
0.1416270136833191,
-0.05583211034536362,
-0.030768757686018944,
-0.5319380760192871,
0.08857336640357971,
-0.004229763522744179,
0.31910860538482666,
0.19872453808784485,
0.09487328678369522,
-0.2216949164867401,
-0.05262994393706322,
-0.118692547082901,
0.09256244450807571,
0.14636796712875366,
0.3927278220653534,
-0.002632955089211464,
-0.2939336895942688,
-0.10181912034749985,
0.06794571131467819,
-0.09862449765205383,
0.4257332682609558,
-0.27817580103874207,
-0.2747681736946106,
-0.3393908143043518,
0.07225410640239716,
0.21465283632278442,
0.19490456581115723,
-0.017130956053733826,
-0.0625661090016365,
-0.16716712713241577,
-0.46418577432632446,
0.5875694751739502,
-0.38472288846969604,
-0.12322570383548737,
-0.09001251310110092,
-0.023331061005592346,
0.04409021884202957,
-0.04393002390861511,
-0.3274063467979431,
0.10616982728242874,
0.25475117564201355,
-0.1895202398300171,
0.2885558009147644,
0.02878105640411377,
-0.0887136310338974,
0.0031630992889404297,
-0.11255118250846863,
0.24068032205104828,
0.1806311309337616,
-0.18371063470840454,
-0.10617570579051971,
-0.0105865728110075
] |
https://github.com/huggingface/datasets/issues/4719 | Issue loading TheNoob3131/mosquito-data dataset | I am also getting a ValueError: 'Couldn't cast' at the bottom. Is this because of some delimiter issue? My dataset is on the Huggingface Hub. If you could look at it, that would be greatly appreciated. | 
So my dataset is public in the Huggingface Hub, but when I try to load it using the load_dataset command, it shows that it is downloading the files, but throws a ValueError. When I went to my directory to see if the files were downloaded, the folder was blank.
Here is the error below:
ValueError Traceback (most recent call last)
Input In [8], in <cell line: 3>()
1 from datasets import load_dataset
----> 3 dataset = load_dataset("TheNoob3131/mosquito-data", split="train")
File ~\Anaconda3\lib\site-packages\datasets\load.py:1679, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, revision, use_auth_token, task, streaming, **config_kwargs)
1676 try_from_hf_gcs = path not in _PACKAGED_DATASETS_MODULES
1678 # Download and prepare data
-> 1679 builder_instance.download_and_prepare(
1680 download_config=download_config,
1681 download_mode=download_mode,
1682 ignore_verifications=ignore_verifications,
1683 try_from_hf_gcs=try_from_hf_gcs,
1684 use_auth_token=use_auth_token,
1685 )
1687 # Build dataset for splits
1688 keep_in_memory = (
1689 keep_in_memory if keep_in_memory is not None else is_small_dataset(builder_instance.info.dataset_size)
1690 )
Is the dataset in the wrong format or is there some security permission that I should enable? | 36 | Issue loading TheNoob3131/mosquito-data dataset

So my dataset is public in the Huggingface Hub, but when I try to load it using the load_dataset command, it shows that it is downloading the files, but throws a ValueError. When I went to my directory to see if the files were downloaded, the folder was blank.
Here is the error below:
ValueError Traceback (most recent call last)
Input In [8], in <cell line: 3>()
1 from datasets import load_dataset
----> 3 dataset = load_dataset("TheNoob3131/mosquito-data", split="train")
File ~\Anaconda3\lib\site-packages\datasets\load.py:1679, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, revision, use_auth_token, task, streaming, **config_kwargs)
1676 try_from_hf_gcs = path not in _PACKAGED_DATASETS_MODULES
1678 # Download and prepare data
-> 1679 builder_instance.download_and_prepare(
1680 download_config=download_config,
1681 download_mode=download_mode,
1682 ignore_verifications=ignore_verifications,
1683 try_from_hf_gcs=try_from_hf_gcs,
1684 use_auth_token=use_auth_token,
1685 )
1687 # Build dataset for splits
1688 keep_in_memory = (
1689 keep_in_memory if keep_in_memory is not None else is_small_dataset(builder_instance.info.dataset_size)
1690 )
Is the dataset in the wrong format or is there some security permission that I should enable?
I am also getting a ValueError: 'Couldn't cast' at the bottom. Is this because of some delimiter issue? My dataset is on the Huggingface Hub. If you could look at it, that would be greatly appreciated. | [
-0.21247801184654236,
-0.324712872505188,
0.014664240181446075,
0.7459122538566589,
0.3170517683029175,
0.050436146557331085,
0.3379972279071808,
0.15805652737617493,
-0.1373370736837387,
0.1735282838344574,
-0.34668585658073425,
-0.13931331038475037,
-0.16574838757514954,
0.07831119000911713,
0.04534471035003662,
-0.15273460745811462,
-0.09301648288965225,
0.062429290264844894,
-0.16638179123401642,
-0.02040901780128479,
-0.250996470451355,
0.31267818808555603,
-0.23867717385292053,
0.20474760234355927,
-0.08778990805149078,
-0.021171478554606438,
-0.04985237121582031,
0.326714426279068,
-0.30292052030563354,
-0.3836834728717804,
0.4121587574481964,
0.1737663298845291,
0.48881956934928894,
0.37829771637916565,
-0.0001209971378557384,
-0.03610200434923172,
0.2621001601219177,
-0.14385928213596344,
-0.27023619413375854,
-0.10602019727230072,
-0.2149200737476349,
-0.1167062371969223,
-0.016456086188554764,
0.1483106017112732,
-0.23575374484062195,
-0.19961631298065186,
-0.044866159558296204,
-0.02453656494617462,
0.2618417739868164,
0.3846977949142456,
0.10508136451244354,
0.2995359003543854,
0.24370746314525604,
0.03582141175866127,
0.19559362530708313,
0.07380103319883347,
-0.041081879287958145,
0.5128839015960693,
0.17706969380378723,
0.15518289804458618,
0.1588207185268402,
0.10848487913608551,
0.0055858176201581955,
0.23176300525665283,
0.26265138387680054,
0.09424751996994019,
0.28026750683784485,
-0.3698608875274658,
0.16776320338249207,
0.26220881938934326,
0.49589115381240845,
-0.01823444664478302,
-0.46233293414115906,
-0.30555614829063416,
-0.005811563692986965,
-0.27846741676330566,
0.1964651346206665,
0.43348395824432373,
0.00658581405878067,
0.18138475716114044,
0.1370505541563034,
-0.18587157130241394,
-0.3335059583187103,
0.25233492255210876,
-0.2272273451089859,
0.12585796415805817,
-0.44699105620384216,
0.25718265771865845,
-0.18154332041740417,
-0.10370485484600067,
0.18599578738212585,
-0.23333507776260376,
-0.06422561407089233,
0.3000147342681885,
-0.08684904873371124,
0.25738245248794556,
-0.15233898162841797,
-0.0432213619351387,
0.23611566424369812,
0.3981502652168274,
-0.09305396676063538,
0.06902281939983368,
-0.22356124222278595,
0.06189477816224098,
0.2971448302268982,
0.0007854551076889038,
-0.026348650455474854,
0.13627931475639343,
0.22964869439601898,
0.37857675552368164,
0.07875140011310577,
-0.14216837286949158,
-0.33981308341026306,
-0.11969030648469925,
-0.23924553394317627,
-0.0023133568465709686,
0.4562583565711975,
-0.3658926486968994,
-0.3856143355369568,
-0.12019287794828415,
-0.046137284487485886,
0.09946074336767197,
0.28067779541015625,
0.5221560597419739,
-0.05035817623138428,
-0.08911339938640594,
0.14664074778556824,
0.26893407106399536,
-0.12809929251670837,
-0.14454862475395203,
-0.18663452565670013,
-0.035496994853019714,
-0.02642686292529106,
0.01886182464659214,
0.180815652012825,
-0.40471258759498596,
0.22438015043735504,
-0.3046329915523529,
0.14062845706939697,
-0.255079060792923,
-0.09658603370189667,
-0.07456181943416595,
0.14877790212631226,
0.39757871627807617,
-0.02498442307114601,
0.08917827904224396,
0.31433653831481934,
-0.19180354475975037,
-0.30891624093055725,
0.060279782861471176,
-0.15040916204452515,
-0.1857501119375229,
-0.12365566194057465,
-0.02757205441594124,
-0.505013644695282,
0.08551450818777084,
-0.1886589229106903,
-0.22852446138858795,
0.11745543777942657,
0.05954507365822792,
-0.0019229426980018616,
0.0657019317150116,
-0.14533603191375732,
-0.2553359270095825,
0.4154721200466156,
0.6819077134132385,
-0.1010492593050003,
-0.11423347890377045,
0.17665281891822815,
-0.1459992676973343,
0.12178444117307663,
-0.04765412583947182,
-0.16149447858333588,
0.43731793761253357,
-0.3495115339756012,
0.015275344252586365,
0.10151733458042145,
-0.4939127266407013,
-0.3731463551521301,
0.18391968309879303,
-0.08301974087953568,
0.15165524184703827,
0.05240323394536972,
0.03569437190890312,
0.05151241272687912,
-0.05862665921449661,
0.1897597312927246,
0.26037633419036865,
0.16761206090450287,
0.06768401712179184,
0.014141794294118881,
-0.19914938509464264,
0.10114622861146927,
0.25681012868881226,
0.10226676613092422,
0.25278937816619873,
0.04046246036887169,
-0.1442347764968872,
0.17735880613327026,
-0.06455928087234497,
-0.01627306267619133,
0.25351211428642273,
0.25777098536491394,
0.14732539653778076,
-0.1512994021177292,
0.09718609601259232,
-0.27429255843162537,
0.25646981596946716,
-0.12477590143680573,
0.0764675959944725,
-0.031699538230895996,
0.17905715107917786,
-0.3293868899345398,
0.11959864944219589,
-0.45385506749153137,
-0.36343586444854736,
-0.042579397559165955,
0.23139588534832,
0.09548079967498779,
0.1364811807870865,
-0.08829133212566376,
0.970944881439209,
-0.28040483593940735,
0.27208229899406433,
-0.5644083023071289,
0.4633408486843109,
0.14969608187675476,
0.024354860186576843,
0.39121970534324646,
0.020697254687547684,
0.19511744379997253,
-0.19109240174293518,
-0.10633282363414764,
0.450217604637146,
0.14624345302581787,
0.030720606446266174,
0.07686061412096024,
-0.11568476259708405,
0.1988193243741989,
-0.16850879788398743,
0.2539004683494568,
-0.04677611216902733,
0.2933291494846344,
0.047221750020980835,
-0.1432202160358429,
0.44362741708755493,
-0.17580221593379974,
0.14563259482383728,
0.01608242839574814,
-0.03767407685518265,
0.24204418063163757,
0.18982179462909698,
-0.39906612038612366,
0.08276708424091339,
0.0030610263347625732,
-0.3072705864906311,
0.33203044533729553,
-0.005006520077586174,
-0.09695404767990112,
-0.1974538266658783,
0.10204976797103882,
-0.10991835594177246,
-0.016262829303741455,
0.09732130914926529,
-0.24235686659812927,
0.18403276801109314,
0.2716539800167084,
0.32391157746315,
0.4648345112800598,
-0.025418858975172043,
-0.13193339109420776,
0.10363884270191193,
0.24286878108978271,
0.15783953666687012,
0.12307597696781158,
0.09688515961170197,
0.1556941121816635,
0.04153725877404213,
-0.2748556137084961,
0.10115331411361694,
-0.2903986871242523,
0.004451468586921692,
-0.08280553668737411,
0.4368809461593628,
-0.4908806085586548,
-0.02893849089741707,
0.0014834031462669373,
-0.18463578820228577,
-0.0048005422577261925,
-0.06344230473041534,
-0.4132736325263977,
-0.19939282536506653,
-0.34071433544158936,
0.3799023926258087,
0.2400311529636383,
0.10573910921812057,
-0.2778312861919403,
0.18235336244106293,
0.11817638576030731,
-0.19697891175746918,
-0.03545473888516426,
0.20700785517692566,
-0.18843874335289001,
-0.11991825699806213,
0.149635449051857,
0.237104594707489,
0.2424808293581009,
-0.30213698744773865,
0.48251134157180786,
-0.39619922637939453,
-0.17141036689281464,
0.11816064268350601,
-0.13278865814208984,
0.4178844690322876,
0.16862216591835022,
0.375659704208374,
0.11157539486885071,
-0.03230615705251694,
0.30742207169532776,
-0.21678045392036438,
-0.13222143054008484,
0.05368927866220474,
0.040637314319610596,
-0.10262556374073029,
0.11429435014724731,
-0.08798473328351974,
-0.4030347764492035,
-0.3047950267791748,
-0.176984041929245,
0.21638621389865875,
0.11070753633975983,
0.4484134912490845,
0.17850464582443237,
0.11847269535064697,
-0.0763898566365242,
0.06854679435491562,
-0.2475898116827011,
-0.7003418803215027,
0.33590778708457947,
-0.200041726231575,
-0.473206490278244,
0.0028368905186653137,
0.08397067338228226,
0.3688580393791199,
-0.17610926926136017,
-0.41696321964263916,
0.1529928594827652,
-0.10591496527194977,
-0.11159102618694305,
0.04676332697272301,
0.18023113906383514,
0.1451331377029419,
-0.11188261955976486,
0.15542206168174744,
-0.0002546347677707672,
-0.3110131323337555,
-0.283843457698822,
0.0759081095457077,
0.4234043061733246,
0.17440268397331238,
0.1710169017314911,
-0.14043964445590973,
0.4174017906188965,
0.241202712059021,
-0.06337742507457733,
0.5045602321624756,
-0.11551781743764877,
0.5688467621803284,
-0.027837418019771576,
-0.5948760509490967,
-0.06396739929914474,
-0.0012092143297195435,
0.036194734275341034,
0.3917348384857178,
0.23258525133132935,
0.11395523697137833,
-0.2928544580936432,
-0.1150224506855011,
-0.4619130790233612,
-0.3154734969139099,
-0.05053308606147766,
0.006548907607793808,
-0.02436228096485138,
-0.034944333136081696,
-0.05369270592927933,
-0.2780424654483795,
-0.06771063804626465,
-0.08582814037799835,
0.40128809213638306,
0.07463221997022629,
0.06588655710220337,
-0.06683074682950974,
0.07557699829339981,
-0.5947532057762146,
0.19137635827064514,
-0.21829375624656677,
0.37620848417282104,
-0.07327081263065338,
0.13930591940879822,
0.20484313368797302,
-0.18345209956169128,
0.6638148427009583,
-0.07785770297050476,
0.27488863468170166,
-0.06452877819538116,
-0.21220949292182922,
-0.4253632724285126,
-0.03403487056493759,
0.0036492981016635895,
0.3253304064273834,
-0.29009702801704407,
0.20307478308677673,
-0.29137876629829407,
-0.3092553913593292,
0.1740841269493103,
-0.20345190167427063,
-0.25108182430267334,
-0.23139959573745728,
-0.6407750248908997,
-0.42093488574028015,
-0.4466336667537689,
-0.21276256442070007,
0.0029473956674337387,
0.1761038601398468,
0.10114992409944534,
0.04847797378897667,
-0.07506783306598663,
0.02835545688867569,
0.17630848288536072,
0.06432381272315979,
0.11748169362545013,
0.14621670544147491,
0.0882682204246521,
0.28107988834381104,
0.13984446227550507,
0.19905726611614227,
0.7099642157554626,
0.026228835806250572,
-0.36235594749450684,
0.04176934063434601,
0.004088515415787697,
0.39870697259902954,
0.34305036067962646,
-0.1754172444343567,
-0.26351672410964966,
0.03328898921608925,
-0.012335635721683502,
-0.20438602566719055,
0.1771904081106186,
0.35354432463645935,
0.147870272397995,
-0.41071265935897827,
-0.2180432677268982,
0.568416178226471,
0.08115881681442261,
-0.03997381404042244,
0.33810901641845703,
0.511954665184021,
-0.18108122050762177,
0.07322965562343597,
-0.0781761035323143,
0.9730960130691528,
-0.37162065505981445,
0.2016860544681549,
0.38635727763175964,
0.07184913754463196,
0.2921741306781769,
-0.1910962611436844,
-0.0289413183927536,
-0.27819162607192993,
-0.12255997955799103,
-0.12291045486927032,
-0.07282803952693939,
0.42440682649612427,
-0.19385765492916107,
0.053802262991666794,
0.14974692463874817,
-0.007099233567714691,
0.5205994248390198,
-0.00008706748485565186,
0.1678171455860138,
-0.1509685516357422,
-0.24820852279663086,
-0.4069581925868988,
0.06606555730104446,
-0.18356314301490784,
0.47698935866355896,
-0.18925762176513672,
-0.14840586483478546,
-0.26102668046951294,
-0.14721547067165375,
-0.08091291785240173,
0.20109540224075317,
-0.04277459532022476,
-0.04751868546009064,
0.02739953249692917,
-0.1698729395866394,
-0.05958077311515808,
0.358879029750824,
0.16547927260398865,
0.06283982843160629,
-0.3010258674621582,
0.01563040353357792,
-0.31613588333129883,
-0.3091650903224945,
-0.17346440255641937,
0.1441996693611145,
0.049958162009716034,
-0.12364736199378967,
-0.2970373034477234,
0.03316323086619377,
0.044544246047735214,
-0.17408736050128937,
0.19595766067504883,
0.1378069967031479,
0.12320844829082489,
-0.3291811943054199,
-0.18388231098651886,
-0.03478959947824478,
-0.005411209538578987,
-0.1422281563282013,
0.014003608375787735,
0.2780137360095978,
-0.4794091284275055,
-0.15751394629478455,
0.39706236124038696,
-0.4194377660751343,
-0.030456114560365677,
0.4539557099342346,
-0.12082324177026749,
0.24846333265304565,
0.5059587359428406,
0.10213302075862885,
-0.0006212815642356873,
-0.12217331677675247,
0.3601563572883606,
0.20048104226589203,
-0.4380699396133423,
-0.01627350226044655,
0.15008407831192017,
0.05935873091220856,
-0.034911103546619415,
0.19608375430107117,
0.2097548544406891,
-0.34517702460289,
0.1672622561454773,
-0.5710716843605042,
-0.3942948877811432,
0.012514747679233551,
-0.28077560663223267,
0.2768312692642212,
-0.09087452292442322,
-0.21580125391483307,
-0.04126567393541336,
-0.19660688936710358,
-0.16021710634231567,
0.15816977620124817,
-0.4922453463077545,
-0.038773611187934875,
0.1079484149813652,
0.07432816922664642,
0.11631867289543152,
-0.06782449036836624,
0.01875886507332325,
0.04900386929512024,
-0.2358158677816391,
-0.0710434690117836,
-0.10342682898044586,
0.23456250131130219,
0.16453617811203003,
-0.2723241448402405,
-0.029117830097675323,
-0.16955839097499847,
-0.24511414766311646,
-0.1611899882555008,
0.1775638610124588,
0.2885500192642212,
0.16334567964076996,
-0.005344000179320574,
0.2710621953010559,
0.16861601173877716,
-0.16691063344478607,
0.30627864599227905,
-0.10101491212844849,
0.12648826837539673,
0.2245759218931198,
-0.020920559763908386,
-0.25305846333503723,
-0.10424986481666565,
-0.05188974738121033,
0.07918783277273178,
0.16371220350265503,
-0.015660226345062256,
0.5848158001899719,
-0.3651336431503296,
0.3028004765510559,
-0.09812434017658234,
0.0884660854935646,
0.24257034063339233,
-0.1707274466753006,
0.14864082634449005,
-0.043574292212724686,
-0.022762803360819817,
-0.30157190561294556,
0.03768010810017586,
0.013333452865481377,
-0.009729170240461826,
-0.05073283985257149,
0.2979162037372589,
-0.08429187536239624,
0.23654863238334656,
0.04729520156979561,
-0.09383350610733032,
0.7946551442146301,
0.09654133021831512,
0.012573626823723316,
0.3130601644515991,
-0.26604363322257996,
0.20285919308662415,
0.3377222418785095,
0.47806110978126526,
-0.061216987669467926,
0.49856412410736084,
-0.2538638710975647,
0.3023032248020172,
-0.19709888100624084,
0.059342458844184875,
0.0718541294336319,
-0.5650529861450195,
-0.17369455099105835,
0.309756338596344,
-0.006047748029232025,
-0.08582103997468948,
-0.1733492910861969,
0.2252485454082489,
-0.25484544038772583,
0.019606204703450203,
-0.3279021084308624,
0.14164264500141144,
0.007726581767201424,
-0.10481515526771545,
-0.20090962946414948,
-0.13851408660411835,
0.013578943908214569,
-0.16037271916866302,
-0.06080794706940651,
-0.7714253067970276,
0.12872251868247986,
0.09047552943229675,
-0.2764861583709717,
-0.3834485411643982,
-0.05358554422855377,
0.13694825768470764,
-0.14555922150611877,
-0.15449504554271698,
0.34186848998069763,
0.010929860174655914,
0.17466503381729126,
0.3175797760486603,
0.27190184593200684,
0.4163643717765808,
0.21204301714897156,
0.06331348419189453,
0.06169326230883598,
-0.10239726305007935,
-0.137364462018013,
-0.0007114112377166748,
0.2570751905441284,
-0.13169778883457184,
0.36344650387763977,
0.4085026979446411,
0.0850212574005127,
0.030605264008045197,
0.002600584179162979,
0.04290706664323807,
-0.022714458405971527,
-0.17193061113357544,
0.3368690311908722,
-0.641143798828125,
0.028155937790870667,
-0.35408979654312134,
-0.0010300427675247192,
-0.3488651514053345,
-0.05735756456851959,
0.29694756865501404,
-0.18079303205013275,
0.22797098755836487,
0.042752932757139206,
-0.0480048730969429,
-0.22672976553440094,
0.44858112931251526,
0.5938461422920227,
0.32260310649871826,
-0.30215391516685486,
-0.053579702973365784,
-0.6924026012420654,
0.16182540357112885,
-0.02856806293129921,
-0.18408916890621185,
-0.029555749148130417,
-0.021545562893152237,
0.26038241386413574,
0.2624583840370178,
0.04387745261192322,
0.37511226534843445,
0.03576017916202545,
-0.1528475284576416,
-0.23722687363624573,
-0.2965499758720398,
-0.08818542957305908,
0.3054894208908081,
-0.168156698346138,
-0.2635597288608551,
0.1517041176557541,
-0.12687788903713226,
-0.07057439535856247,
0.1248222216963768,
-0.016284026205539703,
-0.3068360686302185,
-0.2004716396331787,
0.4976845681667328,
0.051766201853752136,
0.3288249969482422,
0.0810994803905487,
-0.07577241957187653,
-0.32244232296943665,
-0.15621329843997955,
0.056104425340890884,
0.13274434208869934,
0.0268271304666996,
0.13800668716430664,
-0.10976080596446991,
-0.059933293610811234,
-0.28352978825569153,
0.09354212135076523,
0.09565712511539459,
0.22456377744674683,
-0.16773347556591034,
0.13220785558223724,
-0.0915054976940155,
-0.009976155124604702,
0.1652195006608963,
-0.08334244042634964,
-0.1605030596256256,
0.01535758189857006,
-0.2011842131614685,
-0.07076752185821533,
0.7511276602745056,
-0.3044269382953644,
-0.23217670619487762,
0.03266267105937004,
0.09013959765434265,
0.23197400569915771,
-0.14060743153095245,
-0.36552056670188904,
0.3852056562900543,
0.23116403818130493,
-0.17449229955673218,
-0.35810425877571106,
0.14367419481277466,
-0.0939057320356369,
-0.054535314440727234,
-0.051477644592523575,
0.4795762896537781,
-0.13826248049736023,
0.08072228729724884,
0.239053875207901,
-0.11448051780462265
] |
https://github.com/huggingface/datasets/issues/4719 | Issue loading TheNoob3131/mosquito-data dataset | Hi @thenerd31, thanks for reporting.
Please note that your issue is not caused by the Hugging Face Datasets library, but it has to do with the specific implementation of your dataset on the Hub.
Therefore, I'm transferring this discussion to your own dataset Community tab: https://huggingface.co/datasets/TheNoob3131/mosquito-data/discussions/1 | 
So my dataset is public in the Huggingface Hub, but when I try to load it using the load_dataset command, it shows that it is downloading the files, but throws a ValueError. When I went to my directory to see if the files were downloaded, the folder was blank.
Here is the error below:
ValueError Traceback (most recent call last)
Input In [8], in <cell line: 3>()
1 from datasets import load_dataset
----> 3 dataset = load_dataset("TheNoob3131/mosquito-data", split="train")
File ~\Anaconda3\lib\site-packages\datasets\load.py:1679, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, revision, use_auth_token, task, streaming, **config_kwargs)
1676 try_from_hf_gcs = path not in _PACKAGED_DATASETS_MODULES
1678 # Download and prepare data
-> 1679 builder_instance.download_and_prepare(
1680 download_config=download_config,
1681 download_mode=download_mode,
1682 ignore_verifications=ignore_verifications,
1683 try_from_hf_gcs=try_from_hf_gcs,
1684 use_auth_token=use_auth_token,
1685 )
1687 # Build dataset for splits
1688 keep_in_memory = (
1689 keep_in_memory if keep_in_memory is not None else is_small_dataset(builder_instance.info.dataset_size)
1690 )
Is the dataset in the wrong format or is there some security permission that I should enable? | 46 | Issue loading TheNoob3131/mosquito-data dataset

So my dataset is public in the Huggingface Hub, but when I try to load it using the load_dataset command, it shows that it is downloading the files, but throws a ValueError. When I went to my directory to see if the files were downloaded, the folder was blank.
Here is the error below:
ValueError Traceback (most recent call last)
Input In [8], in <cell line: 3>()
1 from datasets import load_dataset
----> 3 dataset = load_dataset("TheNoob3131/mosquito-data", split="train")
File ~\Anaconda3\lib\site-packages\datasets\load.py:1679, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, revision, use_auth_token, task, streaming, **config_kwargs)
1676 try_from_hf_gcs = path not in _PACKAGED_DATASETS_MODULES
1678 # Download and prepare data
-> 1679 builder_instance.download_and_prepare(
1680 download_config=download_config,
1681 download_mode=download_mode,
1682 ignore_verifications=ignore_verifications,
1683 try_from_hf_gcs=try_from_hf_gcs,
1684 use_auth_token=use_auth_token,
1685 )
1687 # Build dataset for splits
1688 keep_in_memory = (
1689 keep_in_memory if keep_in_memory is not None else is_small_dataset(builder_instance.info.dataset_size)
1690 )
Is the dataset in the wrong format or is there some security permission that I should enable?
Hi @thenerd31, thanks for reporting.
Please note that your issue is not caused by the Hugging Face Datasets library, but it has to do with the specific implementation of your dataset on the Hub.
Therefore, I'm transferring this discussion to your own dataset Community tab: https://huggingface.co/datasets/TheNoob3131/mosquito-data/discussions/1 | [
-0.19258317351341248,
-0.3140283226966858,
0.0077390484511852264,
0.7367770671844482,
0.3272162675857544,
0.06612623482942581,
0.3420355021953583,
0.16371196508407593,
-0.12879027426242828,
0.1592704951763153,
-0.35095900297164917,
-0.13011908531188965,
-0.15793471038341522,
0.07161328196525574,
0.05470401048660278,
-0.14978687465190887,
-0.09446591883897781,
0.054392259567976,
-0.17535319924354553,
-0.023210417479276657,
-0.23778413236141205,
0.2966797351837158,
-0.23311664164066315,
0.22166620194911957,
-0.09571877121925354,
-0.025368882343173027,
-0.02957962453365326,
0.3468987047672272,
-0.29756683111190796,
-0.3907686769962311,
0.41829514503479004,
0.17567028105258942,
0.4747812747955322,
0.3636378049850464,
-0.00012093958503101021,
-0.025350533425807953,
0.25505098700523376,
-0.1366187483072281,
-0.26260313391685486,
-0.11479346454143524,
-0.21258166432380676,
-0.12379011511802673,
-0.010710454545915127,
0.13654252886772156,
-0.23984825611114502,
-0.15371298789978027,
-0.026421284303069115,
-0.03910769522190094,
0.2751764953136444,
0.3887612521648407,
0.10825977474451065,
0.31119513511657715,
0.25362086296081543,
0.034321773797273636,
0.21000558137893677,
0.08074761927127838,
-0.03287747502326965,
0.49947187304496765,
0.16094055771827698,
0.18219497799873352,
0.1632743775844574,
0.1122945100069046,
0.010092681273818016,
0.2243698239326477,
0.2689298987388611,
0.07796841114759445,
0.2561851143836975,
-0.35751575231552124,
0.1740671694278717,
0.26189059019088745,
0.5076066255569458,
-0.03233920782804489,
-0.45523279905319214,
-0.29165855050086975,
0.00962937530130148,
-0.2676647901535034,
0.19922113418579102,
0.45925697684288025,
0.004042014479637146,
0.19456949830055237,
0.14359542727470398,
-0.19080525636672974,
-0.341767281293869,
0.24480395019054413,
-0.21201840043067932,
0.08807800710201263,
-0.447601854801178,
0.2575865387916565,
-0.20043419301509857,
-0.10072928667068481,
0.17307034134864807,
-0.22374141216278076,
-0.062016863375902176,
0.3131216764450073,
-0.09259168803691864,
0.2855614721775055,
-0.14818137884140015,
-0.030647873878479004,
0.24582427740097046,
0.3826788067817688,
-0.10603535175323486,
0.08018630743026733,
-0.2292322963476181,
0.06489166617393494,
0.30825841426849365,
-0.018861519172787666,
-0.03073044866323471,
0.15537004172801971,
0.23683030903339386,
0.36851221323013306,
0.06498056650161743,
-0.13571441173553467,
-0.3565778434276581,
-0.12327633053064346,
-0.23431259393692017,
0.0013849325478076935,
0.45220130681991577,
-0.35537806153297424,
-0.38500863313674927,
-0.1275954246520996,
-0.018371807411313057,
0.1087925136089325,
0.2731931805610657,
0.5380208492279053,
-0.04109256714582443,
-0.09776026755571365,
0.14260649681091309,
0.26227062940597534,
-0.11587904393672943,
-0.13915282487869263,
-0.19272613525390625,
-0.0458606518805027,
-0.03777983784675598,
-0.004717022180557251,
0.18087238073349,
-0.4066280126571655,
0.211329385638237,
-0.30545851588249207,
0.13514071702957153,
-0.27219462394714355,
-0.09328398108482361,
-0.06697262823581696,
0.1637214720249176,
0.4337874948978424,
-0.009120190516114235,
0.09275125712156296,
0.31214389204978943,
-0.17629869282245636,
-0.29868289828300476,
0.06095496565103531,
-0.17862117290496826,
-0.1984768658876419,
-0.13124707341194153,
-0.028410520404577255,
-0.4875839352607727,
0.10100477933883667,
-0.18098101019859314,
-0.2331833690404892,
0.10664556175470352,
0.030926961451768875,
-0.0010826066136360168,
0.06987062096595764,
-0.15778179466724396,
-0.2692207098007202,
0.40512320399284363,
0.6917867660522461,
-0.11536632478237152,
-0.09914425015449524,
0.1576894223690033,
-0.16656231880187988,
0.11441829055547714,
-0.030052799731492996,
-0.16446150839328766,
0.4154055714607239,
-0.3591964840888977,
0.03920753300189972,
0.11947911232709885,
-0.5075207352638245,
-0.3830893635749817,
0.1932782530784607,
-0.08521606028079987,
0.131585955619812,
0.06798265874385834,
0.02139248326420784,
0.04373883455991745,
-0.07301487028598785,
0.18303707242012024,
0.2517690658569336,
0.18624134361743927,
0.07768532633781433,
0.017795052379369736,
-0.20489981770515442,
0.09964597225189209,
0.24282322824001312,
0.10955449193716049,
0.25054115056991577,
0.0729679986834526,
-0.13317061960697174,
0.2098436951637268,
-0.058859940618276596,
-0.013570703566074371,
0.2675740122795105,
0.24620302021503448,
0.14434820413589478,
-0.15620671212673187,
0.09107276797294617,
-0.26692137122154236,
0.2544673681259155,
-0.13954095542430878,
0.06690406799316406,
-0.059931039810180664,
0.1510310024023056,
-0.34921184182167053,
0.13075800240039825,
-0.44670185446739197,
-0.34994494915008545,
-0.03490803763270378,
0.2373034507036209,
0.08098241686820984,
0.13415776193141937,
-0.07279986143112183,
0.9378783702850342,
-0.28807923197746277,
0.26854273676872253,
-0.5725516080856323,
0.4433702230453491,
0.1572808176279068,
0.030850879848003387,
0.3709569573402405,
0.022518452256917953,
0.20933833718299866,
-0.19642631709575653,
-0.10800191015005112,
0.44584891200065613,
0.13885363936424255,
0.04093761742115021,
0.0591842383146286,
-0.11586864292621613,
0.19002166390419006,
-0.17859207093715668,
0.24337591230869293,
-0.047380704432725906,
0.3000335693359375,
0.04947759211063385,
-0.15130484104156494,
0.43407243490219116,
-0.19565723836421967,
0.12910829484462738,
0.005612436681985855,
-0.03213152661919594,
0.2524726092815399,
0.19705471396446228,
-0.39982709288597107,
0.07273995876312256,
0.002154257148504257,
-0.2888316214084625,
0.33627909421920776,
-0.014119749888777733,
-0.0848844051361084,
-0.19308409094810486,
0.10636226087808609,
-0.1132826954126358,
-0.007057495415210724,
0.09765531122684479,
-0.22804045677185059,
0.16767719388008118,
0.2633092999458313,
0.30559250712394714,
0.4678525924682617,
-0.022695079445838928,
-0.10301361978054047,
0.09646006673574448,
0.23757915198802948,
0.1496242731809616,
0.12144578993320465,
0.0784098356962204,
0.14514043927192688,
0.04524753987789154,
-0.26525917649269104,
0.08463532477617264,
-0.30345451831817627,
0.015107914805412292,
-0.05947054177522659,
0.43303078413009644,
-0.5078142285346985,
-0.03310862183570862,
0.012852633371949196,
-0.17033928632736206,
0.01733199693262577,
-0.06155719235539436,
-0.40742045640945435,
-0.17967407405376434,
-0.3493061065673828,
0.36131763458251953,
0.24037182331085205,
0.10689011216163635,
-0.28572356700897217,
0.1785796731710434,
0.12183268368244171,
-0.22685734927654266,
-0.05156749114394188,
0.2289993166923523,
-0.1783115267753601,
-0.11800192296504974,
0.15774665772914886,
0.2381838709115982,
0.23501934111118317,
-0.28265029191970825,
0.47438347339630127,
-0.3938433825969696,
-0.15953075885772705,
0.1136568933725357,
-0.12937915325164795,
0.43061092495918274,
0.17909210920333862,
0.37360256910324097,
0.11828459799289703,
-0.004134804010391235,
0.30085763335227966,
-0.20812764763832092,
-0.13297727704048157,
0.06274595856666565,
0.040925510227680206,
-0.10166838020086288,
0.10304279625415802,
-0.08162789791822433,
-0.40722358226776123,
-0.31238001585006714,
-0.1561381071805954,
0.20791183412075043,
0.11605532467365265,
0.4358695447444916,
0.17294862866401672,
0.13132762908935547,
-0.07727300375699997,
0.0819515511393547,
-0.27106645703315735,
-0.7122094631195068,
0.33414149284362793,
-0.2107866257429123,
-0.4919723570346832,
0.002302657812833786,
0.08482678979635239,
0.3777012526988983,
-0.14638707041740417,
-0.4080948829650879,
0.15041130781173706,
-0.10439972579479218,
-0.09196288138628006,
0.025680461898446083,
0.17768160998821259,
0.148097425699234,
-0.1349712461233139,
0.15284357964992523,
-0.002622358500957489,
-0.30270931124687195,
-0.2873787581920624,
0.06756822019815445,
0.38853785395622253,
0.15631532669067383,
0.1524314433336258,
-0.12118159234523773,
0.4235522747039795,
0.26258790493011475,
-0.038128603249788284,
0.5034828782081604,
-0.11819186061620712,
0.5897682905197144,
-0.027471721172332764,
-0.5874037742614746,
-0.048046261072158813,
0.005183100700378418,
0.020027462393045425,
0.38580697774887085,
0.2347199022769928,
0.11164559423923492,
-0.2777044177055359,
-0.1420317441225052,
-0.48708364367485046,
-0.3213525414466858,
-0.041912175714969635,
0.009287744760513306,
-0.002764299511909485,
-0.012138831429183483,
-0.03718819469213486,
-0.2840091288089752,
-0.08956729620695114,
-0.08218333125114441,
0.42768394947052,
0.08819442987442017,
0.07283255457878113,
-0.07336176186800003,
0.07424288988113403,
-0.5837620496749878,
0.18968936800956726,
-0.21478794515132904,
0.39934617280960083,
-0.08200676739215851,
0.1479944884777069,
0.22086256742477417,
-0.17015525698661804,
0.6841588616371155,
-0.09497103095054626,
0.3087918162345886,
-0.05129977688193321,
-0.1890408843755722,
-0.40575793385505676,
-0.019850265234708786,
0.011593475937843323,
0.2942515015602112,
-0.281076043844223,
0.20192907750606537,
-0.2938257157802582,
-0.31921809911727905,
0.16152191162109375,
-0.1987597644329071,
-0.2370569407939911,
-0.22358982264995575,
-0.6431949734687805,
-0.41855812072753906,
-0.44824159145355225,
-0.2051839828491211,
0.028697343543171883,
0.17643718421459198,
0.10757626593112946,
0.04887545481324196,
-0.10259347409009933,
0.044326819479465485,
0.16469034552574158,
0.051039811223745346,
0.11710116267204285,
0.16047120094299316,
0.06723758578300476,
0.287066251039505,
0.12684126198291779,
0.17265070974826813,
0.733992338180542,
0.01661692187190056,
-0.36482855677604675,
0.03178820013999939,
-0.00026789121329784393,
0.38060033321380615,
0.3503396511077881,
-0.19240900874137878,
-0.2591268718242645,
0.033882465213537216,
-0.015065498650074005,
-0.19826699793338776,
0.17717066407203674,
0.35097306966781616,
0.13356706500053406,
-0.406304270029068,
-0.23014430701732635,
0.5452951788902283,
0.07179278135299683,
-0.049573805183172226,
0.3371726870536804,
0.5068293809890747,
-0.19088317453861237,
0.06957723945379257,
-0.09056020528078079,
0.9693403244018555,
-0.38340628147125244,
0.22826066613197327,
0.3761633038520813,
0.07155831158161163,
0.30341222882270813,
-0.18192535638809204,
-0.02670270949602127,
-0.27213144302368164,
-0.10848483443260193,
-0.1261734515428543,
-0.06873548775911331,
0.4073493182659149,
-0.1745961457490921,
0.07940889894962311,
0.1519768089056015,
0.0013757944107055664,
0.4960099160671234,
0.00036103837192058563,
0.1737905889749527,
-0.13588988780975342,
-0.25001758337020874,
-0.40064963698387146,
0.06928691267967224,
-0.18339090049266815,
0.4768359661102295,
-0.18967172503471375,
-0.14306217432022095,
-0.24530787765979767,
-0.14920905232429504,
-0.0955057442188263,
0.20487207174301147,
-0.05210569128394127,
-0.04741000384092331,
0.0038930438458919525,
-0.18280747532844543,
-0.04600562900304794,
0.3638692796230316,
0.15693771839141846,
0.08353166282176971,
-0.302606999874115,
0.021754330024123192,
-0.32049328088760376,
-0.30449703335762024,
-0.19160586595535278,
0.1515693962574005,
0.07861889898777008,
-0.1122332289814949,
-0.29767102003097534,
0.04030627757310867,
0.01688361167907715,
-0.17227305471897125,
0.2023465931415558,
0.15724241733551025,
0.13054418563842773,
-0.33412832021713257,
-0.18289899826049805,
-0.05271241068840027,
0.00046228617429733276,
-0.1378949135541916,
0.013234008103609085,
0.2885242700576782,
-0.4682047665119171,
-0.1612204909324646,
0.39972180128097534,
-0.43462252616882324,
-0.01963135227560997,
0.4731229543685913,
-0.13405433297157288,
0.23280414938926697,
0.5184476375579834,
0.10744716227054596,
0.0015471689403057098,
-0.12820138037204742,
0.3676106333732605,
0.19247618317604065,
-0.4422762989997864,
-0.01608087494969368,
0.15419206023216248,
0.0632777065038681,
-0.03260733187198639,
0.18542589247226715,
0.21074408292770386,
-0.34971004724502563,
0.1670137494802475,
-0.5898606777191162,
-0.3889853060245514,
-0.00040865689516067505,
-0.28842055797576904,
0.26823753118515015,
-0.07016581296920776,
-0.212126687169075,
-0.022086123004555702,
-0.20768210291862488,
-0.16136883199214935,
0.17500077188014984,
-0.4870253801345825,
-0.048257917165756226,
0.11865869909524918,
0.07078588753938675,
0.13090574741363525,
-0.078621506690979,
0.021017054095864296,
0.05449593439698219,
-0.2584363520145416,
-0.0751272439956665,
-0.12558652460575104,
0.23424051702022552,
0.1475594937801361,
-0.2479543834924698,
-0.02810710296034813,
-0.18622443079948425,
-0.2522693872451782,
-0.16039930284023285,
0.17921428382396698,
0.28813862800598145,
0.17548668384552002,
-0.0018660621717572212,
0.23109371960163116,
0.17177227139472961,
-0.19471842050552368,
0.302249938249588,
-0.10064190626144409,
0.10472731292247772,
0.20549900829792023,
-0.009162984788417816,
-0.2586779296398163,
-0.10882976651191711,
-0.07090872526168823,
0.06376292556524277,
0.1748451292514801,
-0.009537629783153534,
0.5747789144515991,
-0.3551040291786194,
0.27844494581222534,
-0.11589985340833664,
0.09444717317819595,
0.24058197438716888,
-0.16913798451423645,
0.1595778614282608,
-0.045857153832912445,
-0.021189460530877113,
-0.3089890480041504,
0.039998140186071396,
-0.006734941154718399,
-0.011359193362295628,
-0.04199540987610817,
0.2825155556201935,
-0.07822632789611816,
0.22056633234024048,
0.02494196593761444,
-0.09810632467269897,
0.7810344099998474,
0.08916399627923965,
-0.005507566034793854,
0.3268231749534607,
-0.2545434236526489,
0.2034851312637329,
0.3416845500469208,
0.4845694899559021,
-0.07156568020582199,
0.5161493420600891,
-0.2324368953704834,
0.3058931529521942,
-0.20571938157081604,
0.057425111532211304,
0.051569998264312744,
-0.5688995718955994,
-0.1690540909767151,
0.3077681362628937,
-0.014132060110569,
-0.06653545051813126,
-0.1616857349872589,
0.2468661367893219,
-0.2588998079299927,
0.015013031661510468,
-0.31258848309516907,
0.1263456791639328,
0.012297725304961205,
-0.11635322868824005,
-0.20680220425128937,
-0.1313105970621109,
-0.0016419067978858948,
-0.17453886568546295,
-0.06712141633033752,
-0.7554873824119568,
0.144677072763443,
0.10060237348079681,
-0.25224244594573975,
-0.38537493348121643,
-0.03660473972558975,
0.14816385507583618,
-0.16045963764190674,
-0.16674458980560303,
0.3446914851665497,
0.00516858696937561,
0.16401606798171997,
0.3282181918621063,
0.2690114974975586,
0.4241528809070587,
0.18196362257003784,
0.08539853990077972,
0.058723513036966324,
-0.1054317057132721,
-0.1377759426832199,
-0.02261463925242424,
0.2808404266834259,
-0.11126607656478882,
0.3778461515903473,
0.397413969039917,
0.08489600569009781,
0.030039124190807343,
0.00008885934948921204,
0.03339630365371704,
-0.026361070573329926,
-0.18659570813179016,
0.35053375363349915,
-0.6554262638092041,
-0.00006715208292007446,
-0.3504831790924072,
-0.018015682697296143,
-0.3346298635005951,
-0.024602770805358887,
0.31616276502609253,
-0.17572617530822754,
0.23058044910430908,
0.027086656540632248,
-0.04599016159772873,
-0.21826474368572235,
0.4406422972679138,
0.5980705618858337,
0.31346389651298523,
-0.2944788932800293,
-0.037741340696811676,
-0.7108102440834045,
0.18618851900100708,
-0.024044092744588852,
-0.18905599415302277,
-0.013458143919706345,
-0.016362879425287247,
0.27181193232536316,
0.25976526737213135,
0.05807826668024063,
0.339923232793808,
0.033065881580114365,
-0.13657940924167633,
-0.21575966477394104,
-0.2903306186199188,
-0.08879052102565765,
0.30310744047164917,
-0.16551463305950165,
-0.29805445671081543,
0.1494578868150711,
-0.13893535733222961,
-0.07285009324550629,
0.11668439209461212,
-0.02665390446782112,
-0.30021733045578003,
-0.19660180807113647,
0.5171442031860352,
0.05153244733810425,
0.3097718060016632,
0.06533513218164444,
-0.07638440281152725,
-0.34366193413734436,
-0.13137638568878174,
0.0486244261264801,
0.14312992990016937,
0.026848934590816498,
0.13851255178451538,
-0.11644508689641953,
-0.06142015382647514,
-0.27440646290779114,
0.07866599410772324,
0.0943063497543335,
0.21621084213256836,
-0.1766718477010727,
0.1508924961090088,
-0.1092233657836914,
-0.004668335430324078,
0.16631270945072174,
-0.05532584339380264,
-0.16509416699409485,
0.00712822750210762,
-0.20243796706199646,
-0.08126505464315414,
0.7484633922576904,
-0.3298836052417755,
-0.24721580743789673,
0.04482579231262207,
0.1188429445028305,
0.24074679613113403,
-0.15459398925304413,
-0.37665361166000366,
0.4039123058319092,
0.22643427550792694,
-0.16390454769134521,
-0.363116592168808,
0.13343481719493866,
-0.11106441915035248,
-0.03617454320192337,
-0.05808721482753754,
0.48919618129730225,
-0.13522091507911682,
0.054461829364299774,
0.2430589497089386,
-0.14223748445510864
] |
https://github.com/huggingface/datasets/issues/4717 | Dataset Viewer issue for LawalAfeez/englishreview-ds-mini | It's currently working, as far as I understand
https://huggingface.co/datasets/LawalAfeez/englishreview-ds-mini/viewer/LawalAfeez--englishreview-ds-mini/train
<img width="1556" alt="Capture d’écran 2022-07-19 à 09 24 01" src="https://user-images.githubusercontent.com/1676121/179761130-2d7980b9-c0f6-4093-8b1d-f0a3872fef3f.png">
---
What was your issue? | ### Link
_No response_
### Description
Unable to view the split data
### Owner
_No response_ | 24 | Dataset Viewer issue for LawalAfeez/englishreview-ds-mini
### Link
_No response_
### Description
Unable to view the split data
### Owner
_No response_
It's currently working, as far as I understand
https://huggingface.co/datasets/LawalAfeez/englishreview-ds-mini/viewer/LawalAfeez--englishreview-ds-mini/train
<img width="1556" alt="Capture d’écran 2022-07-19 à 09 24 01" src="https://user-images.githubusercontent.com/1676121/179761130-2d7980b9-c0f6-4093-8b1d-f0a3872fef3f.png">
---
What was your issue? | [
-0.2838478088378906,
-0.023729979991912842,
-0.03626461699604988,
0.3594207167625427,
0.20022127032279968,
0.006689451634883881,
0.6666424870491028,
0.3826550543308258,
-0.19821777939796448,
0.13961707055568695,
-0.29566165804862976,
0.08395460247993469,
0.11572681367397308,
0.2994581162929535,
-0.1589823067188263,
-0.270545095205307,
-0.015112549066543579,
0.16319629549980164,
-0.08483074605464935,
-0.0891059935092926,
-0.06521912664175034,
0.23952870070934296,
-0.3544577956199646,
-0.051404714584350586,
-0.3936031758785248,
-0.08128243684768677,
-0.10903675854206085,
0.06711114197969437,
-0.19694378972053528,
-0.0790354534983635,
0.08757469058036804,
0.11905793845653534,
0.1081983670592308,
0.5219064354896545,
-0.00010929820564342663,
0.1224888265132904,
0.2812040448188782,
0.032960325479507446,
-0.006521253846585751,
-0.16838638484477997,
-0.17403700947761536,
-0.17621025443077087,
-0.025344545021653175,
-0.1353623867034912,
-0.23987466096878052,
-0.20053572952747345,
0.10110216587781906,
-0.1856808215379715,
0.6727252006530762,
0.25317591428756714,
0.272590696811676,
-0.09946426749229431,
0.08465936779975891,
-0.20498394966125488,
0.21851268410682678,
0.16003766655921936,
-0.22913458943367004,
0.027839908376336098,
-0.1115129292011261,
0.09718089550733566,
-0.13925310969352722,
0.4316290318965912,
0.25934743881225586,
0.003499601036310196,
-0.2985900640487671,
-0.04492822661995888,
-0.262357234954834,
-0.18690486252307892,
0.3321639895439148,
0.3576127290725708,
0.4643942713737488,
0.17410558462142944,
-0.2006893903017044,
-0.07153207808732986,
0.022600628435611725,
0.13066047430038452,
0.1445959210395813,
0.3137736916542053,
0.019683584570884705,
0.32843926548957825,
-0.17516012489795685,
-0.06614437699317932,
-0.30736616253852844,
0.11397513747215271,
-0.6216824054718018,
0.19416940212249756,
-0.33015793561935425,
0.12818476557731628,
0.16399778425693512,
-0.13850277662277222,
0.2401488870382309,
0.12345515191555023,
-0.076653391122818,
0.09323706477880478,
-0.0838886946439743,
-0.045670971274375916,
-0.15240776538848877,
0.04643910378217697,
-0.04434780031442642,
-0.022413652390241623,
0.001580905169248581,
0.2221318483352661,
-0.03393460065126419,
0.046159159392118454,
0.32303586602211,
0.003821898251771927,
0.07873782515525818,
0.4308129847049713,
0.45588618516921997,
0.24816085398197174,
0.027288977056741714,
-0.11335950344800949,
-0.06899628788232803,
-0.23716439306735992,
-0.6326742768287659,
-0.22796764969825745,
0.1963977962732315,
-0.2349444180727005,
-0.25299644470214844,
-0.03438958898186684,
-0.04040466994047165,
-0.05761649087071419,
0.07155919075012207,
0.44643354415893555,
-0.045618969947099686,
0.04537858068943024,
-0.09483003616333008,
0.2663072347640991,
-0.16187097132205963,
-0.2605842053890228,
-0.2714282274246216,
-0.08366207778453827,
-0.2609749436378479,
0.08736725896596909,
-0.02135412208735943,
-0.21481317281723022,
0.1493716984987259,
0.05623680353164673,
-0.03013192117214203,
-0.3139632046222687,
-0.11297169327735901,
-0.3787335753440857,
-0.129083514213562,
0.11140748858451843,
0.21471509337425232,
-0.05326279252767563,
0.048264920711517334,
-0.2534761428833008,
0.12682956457138062,
0.11945470422506332,
-0.1677878499031067,
-0.038799576461315155,
-0.32354336977005005,
0.19763126969337463,
-0.35880517959594727,
0.07179499417543411,
0.20751412212848663,
0.40867945551872253,
0.052163366228342056,
-0.12112493813037872,
-0.14368242025375366,
0.27670419216156006,
-0.4095018804073334,
-0.040449053049087524,
0.21194800734519958,
0.31697678565979004,
-0.5526760220527649,
-0.123781219124794,
-0.429262638092041,
-0.26247093081474304,
0.1946040242910385,
0.2371566891670227,
-0.05450844019651413,
-0.1253434419631958,
-0.4522263705730438,
0.45727676153182983,
0.27512532472610474,
-0.2208569049835205,
-0.42220836877822876,
0.4006880819797516,
0.011340782046318054,
-0.26960813999176025,
0.2724625766277313,
-0.15718722343444824,
0.5608946084976196,
0.016857953742146492,
-0.33052369952201843,
0.21514323353767395,
-0.0532049685716629,
-0.004123196005821228,
-0.31408172845840454,
-0.16626816987991333,
-0.07923087477684021,
0.4298386871814728,
0.32860249280929565,
-0.20562726259231567,
0.3277115523815155,
0.036535490304231644,
0.4066240191459656,
0.07211663573980331,
0.17881536483764648,
0.015910565853118896,
0.1901274025440216,
0.13170590996742249,
0.03956714645028114,
-0.07698742300271988,
-0.17429488897323608,
0.015372462570667267,
0.0388476625084877,
0.13988038897514343,
-0.10794295370578766,
-0.1517803817987442,
-0.41849610209465027,
-0.16550365090370178,
-0.4601493179798126,
-0.40092670917510986,
0.20706336200237274,
0.01528795063495636,
-0.30369052290916443,
0.28821638226509094,
0.07048968970775604,
0.08738718181848526,
0.03480914980173111,
0.06329743564128876,
-0.13096842169761658,
0.5786680579185486,
-0.18500889837741852,
0.09389782696962357,
-0.08339529484510422,
0.10910056531429291,
0.2270430326461792,
-0.08204767107963562,
-0.07022546976804733,
0.3614344894886017,
0.5128036141395569,
0.4846200942993164,
0.30403241515159607,
-0.5008230805397034,
0.44498130679130554,
-0.7381580471992493,
0.28448033332824707,
-0.1640995293855667,
-0.09952296316623688,
-0.11926812678575516,
-0.37167757749557495,
0.2899954915046692,
-0.012112770229578018,
0.09427798539400101,
-0.09722986817359924,
0.29430291056632996,
0.1597738116979599,
-0.18036866188049316,
-0.007340527605265379,
-0.4930720329284668,
-0.14081239700317383,
0.1456654965877533,
0.06031690165400505,
-0.0967475026845932,
-0.08309723436832428,
0.13695086538791656,
0.48323649168014526,
0.13618816435337067,
-0.06295575946569443,
0.08435031026601791,
-0.24250975251197815,
-0.04270582273602486,
0.15851323306560516,
0.532661497592926,
0.05465083569288254,
0.32278984785079956,
0.17597529292106628,
0.11392286419868469,
0.3439520299434662,
-0.09256178140640259,
0.07895047962665558,
0.025544531643390656,
0.19243541359901428,
0.09213794767856598,
0.051343489438295364,
-0.27799493074417114,
-0.3718954026699066,
0.12075382471084595,
0.18271753191947937,
0.14068596065044403,
-0.0963682234287262,
-0.17651236057281494,
-0.28507646918296814,
-0.1308344304561615,
-0.18081636726856232,
-0.03599732741713524,
-0.21897834539413452,
-0.268451988697052,
0.18966948986053467,
0.134872168302536,
-0.06735904514789581,
0.334506094455719,
-0.16832855343818665,
0.11512881517410278,
-0.17308789491653442,
0.35173726081848145,
-0.27033281326293945,
-0.1401548534631729,
-0.2143280804157257,
0.2237318456172943,
0.5304498672485352,
0.13513796031475067,
0.3418859839439392,
-0.3129017651081085,
-0.09251810610294342,
-0.19243574142456055,
-0.5959864258766174,
0.2455180436372757,
-0.0982542634010315,
0.28705376386642456,
0.08567404747009277,
0.10135924071073532,
-0.16146841645240784,
0.1610943078994751,
0.30016371607780457,
0.14872002601623535,
-0.2559535801410675,
-0.0792655348777771,
0.12385454773902893,
0.1465180367231369,
-0.028942063450813293,
-0.2331353724002838,
-0.17662684619426727,
-0.33823350071907043,
0.2599618434906006,
-0.128510981798172,
0.10211056470870972,
-0.08818012475967407,
0.20788350701332092,
0.003241589292883873,
-0.016255775466561317,
-0.09555809944868088,
-0.4781966507434845,
-0.0678144246339798,
0.25331154465675354,
-0.48535749316215515,
-0.3546425402164459,
0.23779073357582092,
0.25736796855926514,
0.14878645539283752,
-0.15160101652145386,
-0.5267144441604614,
0.02724946290254593,
-0.1575363576412201,
0.004527237266302109,
0.14441615343093872,
-0.10543395578861237,
0.20901185274124146,
-0.09819034487009048,
-0.060933105647563934,
-0.1689770668745041,
-0.04315771162509918,
0.01987193524837494,
-0.37546250224113464,
0.19258847832679749,
-0.17789065837860107,
0.263325959444046,
0.21600255370140076,
0.5678663849830627,
0.30317309498786926,
0.17423707246780396,
0.3154810667037964,
-0.20944584906101227,
0.3924770653247833,
0.011006340384483337,
-0.22668322920799255,
0.18139901757240295,
0.08363766223192215,
-0.00942344218492508,
0.3127850294113159,
0.1403936892747879,
-0.033185623586177826,
-0.3113432824611664,
0.005974236875772476,
-0.47335073351860046,
-0.18571822345256805,
-0.088036447763443,
0.13149115443229675,
0.004334665834903717,
-0.01461536530405283,
0.14259493350982666,
0.20600026845932007,
-0.20072904229164124,
-0.17412227392196655,
0.20547470450401306,
-0.06234820932149887,
-0.16437892615795135,
-0.014150917530059814,
0.020327484235167503,
-0.0799965038895607,
0.34543776512145996,
-0.0344776026904583,
0.03963726758956909,
-0.2825411856174469,
-0.26210495829582214,
0.26469582319259644,
-0.022607920691370964,
0.819048285484314,
-0.06389763206243515,
-0.01821817457675934,
-0.1585884988307953,
-0.02512562833726406,
0.02325119636952877,
-0.000555969774723053,
-0.002296794205904007,
-0.14398233592510223,
0.12950660288333893,
0.5148612260818481,
-0.20023204386234283,
-0.07958754897117615,
0.3456128239631653,
-0.31398579478263855,
-0.15582159161567688,
-0.253510057926178,
-0.01579231023788452,
-0.1047288328409195,
-0.157779723405838,
-0.06954344362020493,
0.10927734524011612,
0.03661874309182167,
-0.06340803951025009,
-0.3603258430957794,
0.011386314406991005,
-0.4289843440055847,
0.017461664974689484,
0.32362526655197144,
0.37351715564727783,
-0.07819290459156036,
0.22452443838119507,
0.35908547043800354,
0.048862993717193604,
0.45672863721847534,
0.6276663541793823,
0.014313163235783577,
-0.3648395240306854,
0.33705776929855347,
-0.40046942234039307,
0.0920294001698494,
0.41264060139656067,
-0.02010958641767502,
-0.10704594105482101,
0.32061949372291565,
0.2730916738510132,
-0.13087350130081177,
0.08790561556816101,
0.33939310908317566,
-0.047462232410907745,
-0.2115766704082489,
-0.10841064155101776,
0.2181900143623352,
-0.011796632781624794,
0.04074464738368988,
-0.09869429469108582,
0.16913750767707825,
-0.11457143723964691,
0.001369859091937542,
-0.1412975788116455,
0.9514511823654175,
0.03783711791038513,
-0.02866244688630104,
0.20298203825950623,
-0.3431183099746704,
0.27768516540527344,
-0.021472400054335594,
-0.07204843312501907,
-0.24265064299106598,
-0.10981898009777069,
-0.15322525799274445,
0.04327679052948952,
0.27135181427001953,
-0.01301419734954834,
-0.09059204161167145,
-0.08515164256095886,
-0.04762853682041168,
0.19538605213165283,
-0.02053407020866871,
0.09021107852458954,
-0.21184921264648438,
0.07975496351718903,
-0.12489473819732666,
0.18616682291030884,
-0.0502549484372139,
0.004650421440601349,
0.06372079998254776,
-0.2998585104942322,
-0.13235218822956085,
-0.029737655073404312,
-0.40674686431884766,
0.11035489290952682,
-0.14822639524936676,
-0.0655587911605835,
-0.26817789673805237,
-0.36008232831954956,
0.420134037733078,
0.26939305663108826,
0.04497066140174866,
-0.030341248959302902,
-0.30427441000938416,
0.46274489164352417,
-0.0012019649147987366,
-0.05690883845090866,
-0.14162805676460266,
0.12723438441753387,
0.1921941339969635,
-0.17049568891525269,
-0.2410801649093628,
-0.1021343395113945,
0.1139427050948143,
0.3048821687698364,
-0.19051004946231842,
0.10246273130178452,
0.06420739740133286,
-0.49560466408729553,
0.09600041806697845,
-0.15529115498065948,
-0.04339081048965454,
-0.4169713854789734,
0.20899495482444763,
-0.18281437456607819,
-0.21065597236156464,
-0.0008651167154312134,
0.11811600625514984,
-0.2074200063943863,
0.056382693350315094,
0.4365653693675995,
0.056840572506189346,
0.03023732453584671,
0.3679618239402771,
0.324698269367218,
-0.21700167655944824,
-0.2966166138648987,
0.29542243480682373,
0.046418312937021255,
-0.6242600679397583,
0.06229133903980255,
-0.067758709192276,
-0.057663239538669586,
-0.022579200565814972,
-0.20524495840072632,
-0.01357339695096016,
-0.1299319565296173,
-0.11358858644962311,
-0.3989934027194977,
-0.08010292798280716,
0.05814959108829498,
-0.27224990725517273,
0.33126696944236755,
-0.14491894841194153,
0.2861925959587097,
-0.011130502447485924,
0.07609061151742935,
-0.3523774743080139,
0.3190810978412628,
-0.096062570810318,
-0.08826176077127457,
-0.1917702704668045,
-0.09864503890275955,
0.09128253161907196,
-0.13350416719913483,
0.16785959899425507,
0.3660241365432739,
-0.14635775983333588,
-0.27898654341697693,
-0.11260499060153961,
0.114078089594841,
0.1865711212158203,
-0.22080402076244354,
-0.07519511133432388,
-0.0005695652216672897,
-0.19650565087795258,
0.1992507427930832,
0.0674794465303421,
0.029941357672214508,
0.04285338521003723,
-0.07414243370294571,
0.1738918572664261,
-0.033722490072250366,
0.14667882025241852,
0.01311478391289711,
0.15674316883087158,
0.4340716600418091,
0.03249092772603035,
0.2567644417285919,
-0.02074684016406536,
-0.05392085388302803,
-0.016903776675462723,
0.12456481158733368,
0.22932924330234528,
0.013495363295078278,
0.257962167263031,
-0.19255928695201874,
0.15505602955818176,
-0.03370613232254982,
0.5039130449295044,
0.28010863065719604,
-0.186338871717453,
-0.0703919380903244,
0.3885234296321869,
0.24943684041500092,
-0.39966997504234314,
0.26155221462249756,
0.12947137653827667,
-0.28184303641319275,
0.13458530604839325,
0.07926717400550842,
-0.06851332634687424,
0.5620830059051514,
-0.17408449947834015,
0.0862380638718605,
0.22309371829032898,
0.09351388365030289,
0.3647160232067108,
0.5611048340797424,
-0.3680708408355713,
0.2574973702430725,
0.2922689914703369,
0.05423368513584137,
-0.04606025665998459,
0.668411135673523,
-0.19649818539619446,
0.26806315779685974,
-0.22962364554405212,
0.34097710251808167,
0.35948821902275085,
-0.40514060854911804,
0.12153545022010803,
0.2814065217971802,
-0.23374098539352417,
-0.23676136136054993,
-0.23559001088142395,
0.5431379079818726,
0.15944166481494904,
-0.07696080207824707,
-0.2374093383550644,
0.23911377787590027,
-0.001974165439605713,
0.18993911147117615,
-0.2868358790874481,
-0.29725468158721924,
-0.4725961983203888,
-0.044614750891923904,
-0.01861737295985222,
-0.022958673536777496,
-0.06451225280761719,
0.09763093292713165,
-0.09941421449184418,
-0.26060721278190613,
-0.23449921607971191,
-0.06378818303346634,
0.12864676117897034,
-0.2496783435344696,
0.3513845205307007,
-0.07738812267780304,
0.24310436844825745,
0.3135325312614441,
0.38752925395965576,
0.17867249250411987,
-0.09353242814540863,
0.0762467309832573,
-0.31446245312690735,
0.0886959433555603,
-0.17858485877513885,
-0.1104556992650032,
0.3025957942008972,
0.3718057870864868,
0.05857224017381668,
0.3106265068054199,
0.1969520002603531,
-0.22790290415287018,
0.10102726519107819,
0.002727266401052475,
-0.20508667826652527,
-0.014432808384299278,
-0.04226113110780716,
-0.40358275175094604,
-0.009448010474443436,
-0.19835370779037476,
-0.5271204113960266,
-0.3289908468723297,
-0.14349938929080963,
0.19883368909358978,
-0.31598082184791565,
0.23950868844985962,
-0.13571760058403015,
0.07813134789466858,
0.053627558052539825,
0.10487212240695953,
0.18773861229419708,
0.15616410970687866,
-0.11808646470308304,
-0.39882081747055054,
-0.35258665680885315,
0.28568047285079956,
-0.034017499536275864,
0.000726284459233284,
-0.10619417577981949,
0.06624879688024521,
0.15325191617012024,
-0.08422821760177612,
0.6007919907569885,
0.34464195370674133,
0.1543232649564743,
0.3352277874946594,
-0.1582602858543396,
0.10898634791374207,
-0.05703142285346985,
0.04905486851930618,
-0.1181291937828064,
-0.231528639793396,
0.15614919364452362,
0.22895552217960358,
0.022665567696094513,
-0.013393584638834,
0.08515907824039459,
-0.33808305859565735,
-0.4049481749534607,
0.15615051984786987,
0.13449424505233765,
0.4015112817287445,
-0.0479474700987339,
0.18698690831661224,
-0.29272323846817017,
-0.403455913066864,
-0.3338771462440491,
0.31819915771484375,
0.2712586522102356,
0.08504583686590195,
-0.007535037584602833,
-0.21087957918643951,
-0.1708567589521408,
0.17774458229541779,
0.06321997940540314,
0.3115648329257965,
-0.18440181016921997,
-0.024164773523807526,
0.045325182378292084,
-0.12095316499471664,
0.27590280771255493,
0.12310871481895447,
-0.04045972228050232,
-0.2157013863325119,
-0.25475049018859863,
-0.33114340901374817,
0.23470179736614227,
-0.03886187821626663,
-0.21395979821681976,
0.27251920104026794,
-0.10475996136665344,
0.22533127665519714,
0.04629089683294296,
-0.5606429576873779,
0.0804181918501854,
0.3250199258327484,
-0.04370255768299103,
0.22853055596351624,
0.18363094329833984,
0.14442497491836548,
-0.056059662252664566,
-0.0874485895037651,
0.030004095286130905,
0.28148534893989563,
-0.11296714097261429,
0.2200447916984558,
-0.11738854646682739
] |
https://github.com/huggingface/datasets/issues/4711 | Document how to create a dataset loading script for audio/vision | I'm closing this issue as both the Audio and Image sections now have a "Create dataset" page that contains the info about writing the loading script version of a dataset. | Currently, in our docs for Audio/Vision/Text, we explain how to:
- Load data
- Process data
However we only explain how to *Create a dataset loading script* for text data.
I think it would be useful that we add the same for Audio/Vision as these have some specificities different from Text.
See, for example:
- #4697
- and comment there: https://github.com/huggingface/datasets/issues/4697#issuecomment-1191502492
CC: @stevhliu
| 30 | Document how to create a dataset loading script for audio/vision
Currently, in our docs for Audio/Vision/Text, we explain how to:
- Load data
- Process data
However we only explain how to *Create a dataset loading script* for text data.
I think it would be useful that we add the same for Audio/Vision as these have some specificities different from Text.
See, for example:
- #4697
- and comment there: https://github.com/huggingface/datasets/issues/4697#issuecomment-1191502492
CC: @stevhliu
I'm closing this issue as both the Audio and Image sections now have a "Create dataset" page that contains the info about writing the loading script version of a dataset. | [
-0.34591129422187805,
-0.10923682153224945,
-0.11845313012599945,
0.0035368017852306366,
0.14353275299072266,
-0.05294723063707352,
0.317175954580307,
0.1071755439043045,
0.4087912142276764,
0.27908286452293396,
-0.15308870375156403,
0.08818260580301285,
-0.07643036544322968,
0.3389303386211395,
0.5533487796783447,
-0.11511442065238953,
0.022658415138721466,
0.38115835189819336,
-0.29415908455848694,
0.2550389766693115,
-0.1368955373764038,
0.016893986612558365,
0.040216587483882904,
-0.06745178997516632,
-0.0455600842833519,
0.14832274615764618,
-0.0752069354057312,
0.1127021461725235,
-0.24450568854808807,
-0.5924738049507141,
-0.08096562325954437,
0.3305661678314209,
0.1931721419095993,
0.23430778086185455,
-0.00011468901357147843,
-0.17729607224464417,
0.4757962226867676,
-0.16723662614822388,
-0.15829527378082275,
-0.016749590635299683,
-0.26913177967071533,
-0.2778661251068115,
0.30395182967185974,
0.08581244200468063,
-0.049429405480623245,
-0.23128575086593628,
0.23383913934230804,
-0.16766783595085144,
0.34072116017341614,
0.10997867584228516,
0.11576801538467407,
0.0857052206993103,
0.13996626436710358,
-0.012288587167859077,
0.05162598937749863,
0.5191707015037537,
-0.20863252878189087,
0.09449321031570435,
0.40896445512771606,
-0.38517242670059204,
-0.32026195526123047,
0.3220627009868622,
-0.08261719346046448,
0.0540035255253315,
0.49808046221733093,
0.12874533236026764,
-0.43233418464660645,
-0.5397961139678955,
-0.20139861106872559,
0.5454509258270264,
0.9798167943954468,
-0.34893983602523804,
-0.3367033302783966,
-0.17618884146213531,
0.08358519524335861,
-0.21316418051719666,
0.10055020451545715,
0.234577476978302,
-0.1748153567314148,
0.11637800931930542,
-0.3800205886363983,
-0.21360862255096436,
-0.029511742293834686,
0.20564787089824677,
0.40121686458587646,
-0.3618062436580658,
-0.11184418201446533,
-0.00313422828912735,
0.37522584199905396,
-0.082623690366745,
0.018474478274583817,
-0.1965717375278473,
-0.05365661159157753,
0.31956490874290466,
-0.16141118109226227,
-0.1487482637166977,
-0.13051873445510864,
0.18868672847747803,
0.14545464515686035,
0.1603129506111145,
0.36092695593833923,
-0.11515923589468002,
-0.2325223684310913,
0.3189849555492401,
-0.1470237374305725,
-0.07751841843128204,
0.3761807680130005,
-0.26994192600250244,
0.32035142183303833,
0.15238051116466522,
0.28206920623779297,
-0.23911318182945251,
-0.19121053814888,
-0.09383333474397659,
0.0499194972217083,
-0.03107704222202301,
0.3230297565460205,
-0.12074196338653564,
-0.16739849746227264,
-0.2424723505973816,
0.3030475676059723,
-0.16479533910751343,
-0.013035946525633335,
0.30901017785072327,
0.17213968932628632,
0.0621362067759037,
0.408253014087677,
0.30744874477386475,
-0.26875028014183044,
-0.11512120813131332,
0.14452102780342102,
0.1822294294834137,
-0.13664712011814117,
0.7506162524223328,
0.3700912296772003,
0.0370299406349659,
0.33715176582336426,
0.07730334252119064,
0.1762627810239792,
-0.1980561465024948,
0.10312183946371078,
0.13598638772964478,
-0.02392018586397171,
0.5177321434020996,
0.13462212681770325,
-0.09731417894363403,
-0.170066699385643,
0.22627519071102142,
-0.24534016847610474,
0.32294315099716187,
-0.22635424137115479,
0.021610531955957413,
-0.0876447930932045,
0.11325021088123322,
-0.09238434582948685,
-0.02292807400226593,
-0.44429197907447815,
0.6437572240829468,
-0.0534522607922554,
-0.42330360412597656,
0.13778388500213623,
0.13956058025360107,
-0.593504011631012,
-0.2034342736005783,
0.3522355258464813,
0.5588778853416443,
-0.5894041657447815,
-0.24420997500419617,
-0.2965269982814789,
-0.2962317168712616,
-0.35067829489707947,
0.032486725598573685,
-0.043631259351968765,
0.3738098740577698,
-0.31410133838653564,
0.14673306047916412,
0.26147013902664185,
-0.44479888677597046,
0.0876186266541481,
-0.08584221452474594,
-0.07268963754177094,
0.06223557889461517,
0.2130463719367981,
0.2619248628616333,
0.29048430919647217,
-0.34506458044052124,
-0.18409985303878784,
0.17755477130413055,
-0.23698538541793823,
0.20797623693943024,
0.4576549828052521,
-0.21201057732105255,
-0.061771318316459656,
0.323519229888916,
-0.3848262131214142,
0.12641555070877075,
0.11101214587688446,
-0.15007765591144562,
0.09098511934280396,
-0.15562474727630615,
0.07720236480236053,
0.19796212017536163,
0.19131436944007874,
0.013106174767017365,
0.0008926792070269585,
-0.3124687075614929,
-0.5497316122055054,
-0.03736627474427223,
0.21438270807266235,
0.18504869937896729,
0.17502182722091675,
-0.3150367736816406,
-0.06830660253763199,
-0.24591483175754547,
-0.20643924176692963,
0.03135734423995018,
-0.028776470571756363,
-0.15521977841854095,
-0.19901612401008606,
0.035008493810892105,
-0.18479804694652557,
0.18213115632534027,
-0.048797301948070526,
0.2596333920955658,
-0.3894825875759125,
0.08601118624210358,
0.13861078023910522,
-0.1595013588666916,
0.22683760523796082,
0.1336183249950409,
-0.00024789199233055115,
0.045017752796411514,
-0.009619919583201408,
0.6750228404998779,
0.5097371339797974,
0.4934454560279846,
-0.0559028685092926,
0.5155214667320251,
0.2696223855018616,
-0.3387463688850403,
0.3483000099658966,
-0.2819863557815552,
0.03160221129655838,
-0.18438805639743805,
-0.3491016626358032,
0.18460553884506226,
0.07619132101535797,
0.07826153934001923,
-0.008362650871276855,
-0.1283104419708252,
0.022802570834755898,
0.12203551828861237,
-0.35318365693092346,
0.04490376263856888,
-0.23280073702335358,
-0.13569821417331696,
0.020076598972082138,
-0.06697963923215866,
-0.11430780589580536,
0.07039762288331985,
0.2833344340324402,
-0.281027615070343,
0.22657516598701477,
0.33967503905296326,
-0.02701690047979355,
-0.12685614824295044,
0.04533445090055466,
-0.22172655165195465,
0.20388901233673096,
0.2565356492996216,
-0.18487171828746796,
0.04062727093696594,
0.062366925179958344,
-0.1166079193353653,
0.29257458448410034,
0.07583202421665192,
0.17182715237140656,
0.05673566460609436,
-0.20753248035907745,
-0.2812098562717438,
-0.4157394766807556,
-0.1884072721004486,
-0.1679794043302536,
-0.1829044371843338,
-0.3895990550518036,
-0.3736357092857361,
0.03280822932720184,
-0.25464075803756714,
-0.22034360468387604,
0.02383459359407425,
-0.1640588641166687,
0.10853543877601624,
0.08825686573982239,
0.23494303226470947,
-0.11330804228782654,
0.11449563503265381,
-0.04153652489185333,
0.4024861454963684,
-0.12881821393966675,
0.2408379167318344,
-0.2218913733959198,
-0.04521754011511803,
0.14228957891464233,
0.02900196611881256,
0.14175842702388763,
0.3317466378211975,
0.23881001770496368,
-0.23748688399791718,
0.2277890145778656,
-0.2838568389415741,
-0.3226005733013153,
0.3020998239517212,
-0.018537044525146484,
0.14938604831695557,
-0.05869121849536896,
0.21623672544956207,
0.12342830002307892,
-0.3445270359516144,
-0.08769892156124115,
-0.04307248815894127,
-0.35600122809410095,
-0.1019313633441925,
0.11589115113019943,
0.07387135177850723,
-0.1598590910434723,
-0.4713157117366791,
0.015447432175278664,
-0.4902217388153076,
0.22846655547618866,
-0.2518259584903717,
0.29485514760017395,
0.06662950664758682,
0.12180358171463013,
-0.030274342745542526,
-0.3486902415752411,
0.24011264741420746,
-0.04576236754655838,
-0.1783345490694046,
0.04714176058769226,
-0.38377824425697327,
-0.10524898767471313,
0.03637739643454552,
0.12319277226924896,
0.1794602870941162,
0.04810067638754845,
-0.20213395357131958,
-0.2319793403148651,
-0.026769695803523064,
-0.13049301505088806,
0.10418853163719177,
0.001487215980887413,
0.2787691354751587,
0.16879042983055115,
0.03821535408496857,
-0.17472457885742188,
-0.33665037155151367,
-0.2143639624118805,
0.11499939858913422,
0.005240797996520996,
0.16781219840049744,
0.5486637353897095,
-0.5178931355476379,
0.45277494192123413,
0.06419607996940613,
0.009313244372606277,
0.23819836974143982,
-0.037017710506916046,
0.5088313817977905,
-0.28203967213630676,
0.02821207605302334,
0.10929975658655167,
0.10791364312171936,
0.0835857167840004,
0.27830666303634644,
0.2654724419116974,
0.06001785397529602,
-0.16980940103530884,
0.16891184449195862,
-0.5809741616249084,
-0.34855127334594727,
0.17056269943714142,
-0.2534763813018799,
0.046931006014347076,
-0.1816985309123993,
0.08578681200742722,
0.19807294011116028,
0.006173103116452694,
0.0519188828766346,
0.6317938566207886,
0.5905647873878479,
0.08071044087409973,
-0.38351383805274963,
0.03633720055222511,
-0.28961145877838135,
0.07434724271297455,
0.030402397736907005,
0.1487824022769928,
-0.3685952425003052,
-0.14522719383239746,
-0.11631511151790619,
0.16193349659442902,
0.2034560739994049,
-0.22579246759414673,
-0.04311010241508484,
-0.24372299015522003,
-0.12512710690498352,
0.054261788725852966,
0.09542211890220642,
0.03077923133969307,
-0.139631450176239,
-0.13529254496097565,
0.28390663862228394,
-0.3123420178890228,
-0.34750789403915405,
0.2904873788356781,
0.32563889026641846,
-0.034973882138729095,
-0.41831016540527344,
-0.06618675589561462,
-0.14406342804431915,
-0.4036986231803894,
-0.12650227546691895,
-0.017023595049977303,
-0.3064514398574829,
-0.20672856271266937,
-0.20728799700737,
0.30125880241394043,
-0.0539475679397583,
0.15070736408233643,
-0.07570454478263855,
0.20496392250061035,
0.0787753313779831,
0.3863365650177002,
0.4456486999988556,
-0.33040788769721985,
0.11716849356889725,
0.3521219789981842,
-0.14168381690979004,
-0.26877108216285706,
0.16287022829055786,
-0.10620955377817154,
0.2950604557991028,
0.21198448538780212,
0.3826589286327362,
-0.09721788018941879,
0.357283353805542,
-0.15005753934383392,
-0.7160333395004272,
0.15551649034023285,
0.11217140406370163,
0.0892144963145256,
-0.16511797904968262,
-0.5473527908325195,
0.511434018611908,
0.09708556532859802,
-0.17648613452911377,
0.5505940318107605,
0.2672332525253296,
-0.17078299820423126,
-0.006131338886916637,
-0.12189199775457382,
0.7145002484321594,
-0.41052180528640747,
0.2542412281036377,
0.08632370829582214,
-0.16174191236495972,
-0.007161544635891914,
-0.2642192840576172,
-0.12477745115756989,
-0.24641913175582886,
-0.07945474237203598,
-0.022693445906043053,
-0.055928267538547516,
0.05515111982822418,
0.2523268163204193,
-0.2757352590560913,
0.33357542753219604,
0.21448145806789398,
0.29857394099235535,
-0.07376042008399963,
0.3998900055885315,
-0.2568793296813965,
-0.7174087762832642,
0.2682305574417114,
0.10761682689189911,
-0.1367321014404297,
0.07603166997432709,
0.12340154498815536,
-0.01481415331363678,
0.25204282999038696,
-0.049379900097846985,
-0.1860964000225067,
0.032842107117176056,
-0.1249966099858284,
-0.09842028468847275,
-0.35246551036834717,
-0.1497819423675537,
0.23177200555801392,
0.3654405176639557,
-0.18073038756847382,
0.19187887012958527,
-0.2944733798503876,
0.3038805425167084,
-0.2342635691165924,
0.1949540376663208,
-0.3532865047454834,
-0.20300433039665222,
0.23479671776294708,
0.18303602933883667,
-0.21002554893493652,
-0.0801454409956932,
-0.0986449122428894,
0.11600738763809204,
-0.04611727595329285,
-0.18542729318141937,
0.06075716391205788,
-0.28498032689094543,
-0.2139681726694107,
-0.2313583791255951,
0.03768981620669365,
-0.03072635643184185,
0.11081629991531372,
0.2800837457180023,
0.005189418792724609,
0.045191194862127304,
0.20389699935913086,
0.07715588808059692,
-0.05598356947302818,
0.21629682183265686,
-0.07598727941513062,
-0.37671348452568054,
0.1334407925605774,
0.1588931530714035,
-0.04902489855885506,
-0.26030075550079346,
0.2006988525390625,
0.6191574931144714,
-0.22929561138153076,
0.04540911689400673,
0.09194092452526093,
-0.19589462876319885,
-0.03948778286576271,
-0.0012525804340839386,
-0.27994221448898315,
-0.297242134809494,
0.02020128443837166,
-0.1656007617712021,
-0.4140823781490326,
0.5641559362411499,
-0.13578428328037262,
0.423363596200943,
-0.015490204095840454,
-0.27514874935150146,
0.11119140684604645,
0.07712388038635254,
-0.2485232949256897,
-0.18019801378250122,
0.23193985223770142,
0.21246589720249176,
0.5053635835647583,
0.24251475930213928,
0.2552289068698883,
0.0020151855424046516,
-0.015492001548409462,
-0.16965201497077942,
-0.30687329173088074,
-0.009180059656500816,
-0.09754936397075653,
0.18358714878559113,
-0.0018095355480909348,
0.04757215827703476,
-0.06111634895205498,
-0.2629241645336151,
-0.13068649172782898,
-0.3187299966812134,
0.21782389283180237,
0.019624419510364532,
-0.18214403092861176,
0.047872722148895264,
-0.09622882306575775,
-0.14152446389198303,
0.3404458165168762,
0.03446974977850914,
-0.2504020631313324,
0.1662273108959198,
0.04830558970570564,
-0.1062740683555603,
-0.1359591782093048,
0.0012876689434051514,
0.09985652565956116,
0.3732368052005768,
0.48224228620529175,
-0.20415326952934265,
0.1897260844707489,
0.3354450464248657,
0.11145514249801636,
-0.09351039677858353,
0.3255936801433563,
0.20664845407009125,
-0.1808670461177826,
0.028071755543351173,
-0.04217462241649628,
0.1470087617635727,
0.03490292280912399,
0.10315103828907013,
-0.033496011048555374,
-0.26715710759162903,
0.1853332370519638,
0.2271474152803421,
0.05277397856116295,
0.181829571723938,
0.07706702500581741,
-0.17418056726455688,
0.4547998011112213,
-0.3856552839279175,
0.06822887063026428,
0.12021461129188538,
-0.09677106887102127,
0.03593846783041954,
0.40169471502304077,
0.11588384211063385,
0.1346464455127716,
0.2206769436597824,
-0.21913298964500427,
0.3343067169189453,
0.1767394244670868,
0.19062821567058563,
0.4039919078350067,
-0.3185231685638428,
-0.21136103570461273,
0.11490093916654587,
-0.0635528713464737,
-0.05792342871427536,
0.24340514838695526,
0.18355435132980347,
-0.06639010459184647,
0.05797260254621506,
-0.12532009184360504,
0.04523979872465134,
0.03457202389836311,
-0.04959196224808693,
-0.21438632905483246,
-0.13084645569324493,
0.1871492564678192,
-0.07618571817874908,
0.1785828322172165,
-0.05760621279478073,
0.40178215503692627,
-0.009128592908382416,
0.22210779786109924,
-0.11019061505794525,
-0.03765405714511871,
0.19941121339797974,
0.004091374576091766,
0.007349666208028793,
0.055245280265808105,
0.24632690846920013,
-0.020611688494682312,
0.49231407046318054,
0.4148966670036316,
0.4696483016014099,
0.051681049168109894,
0.07431147247552872,
0.21449227631092072,
-0.10932590067386627,
-0.08965412527322769,
0.09636690467596054,
0.2644546329975128,
0.04180331528186798,
0.3586750626564026,
0.032207269221544266,
0.16188080608844757,
-0.004861585795879364,
-0.15291930735111237,
0.025938648730516434,
-0.38365352153778076,
-0.14702554047107697,
0.08098596334457397,
-0.14346882700920105,
-0.053585484623909,
-0.21143940091133118,
0.18501520156860352,
-0.2476496696472168,
-0.07058777660131454,
0.4368302822113037,
0.05647977814078331,
-0.15756502747535706,
0.04138599708676338,
0.036189526319503784,
0.16746310889720917,
0.21300147473812103,
0.21653810143470764,
0.2590448260307312,
0.0022095423191785812,
-0.16913864016532898,
-0.40101560950279236,
-0.37037184834480286,
0.06989972293376923,
-0.08945504575967789,
0.11299241334199905,
-0.04877883195877075,
0.2178780734539032,
0.24639761447906494,
0.004031874239444733,
-0.1540132313966751,
0.26025837659835815,
-0.17893345654010773,
-0.19994187355041504,
-0.2201315313577652,
0.16650378704071045,
0.37723374366760254,
-0.1306164264678955,
-0.31490322947502136,
-0.016934219747781754,
0.18307223916053772,
-0.09653986990451813,
-0.17037101089954376,
0.38710710406303406,
-0.0509117916226387,
-0.14971603453159332,
0.362643837928772,
-0.15173868834972382,
0.5346658229827881,
-0.3855513036251068,
-0.21954776346683502,
-0.0064961351454257965,
-0.25601181387901306,
-0.1349848508834839,
0.09548580646514893,
-0.07674041390419006,
0.34347042441368103,
-0.019159585237503052,
-0.0573025606572628,
-0.2710232138633728,
0.2544056475162506,
-0.3112594485282898,
-0.06301647424697876,
-0.32562869787216187,
0.08520276844501495,
-0.08425767719745636,
-0.03702414035797119,
0.1929687112569809,
-0.09883489459753036,
-0.11493270099163055,
0.008322075009346008,
-0.13329645991325378,
-0.30144158005714417,
0.539602518081665,
0.012157582677900791,
0.08802640438079834,
-0.07311064749956131,
0.2792707681655884,
-0.015641354024410248,
0.13106974959373474,
-0.8271395564079285,
0.2686784267425537,
0.06666399538516998,
-0.006802234798669815,
-0.1366530954837799,
0.4162519574165344,
-0.25080448389053345,
-0.06444094330072403,
-0.12243272364139557,
0.24202609062194824,
0.36841443181037903,
-0.03424771502614021,
-0.3657382130622864,
-0.39312267303466797
] |
https://github.com/huggingface/datasets/issues/4709 | WMT21 & WMT22 | Hi ! That would be awesome to have them indeed, thanks for opening this issue
I just added you to the WMT org on the HF Hub if you're interested in adding those datasets.
Feel free to create a dataset repository for each dataset and upload the data files there :) preferably in ZIP archives instead of TAR archives (the current WMT scripts don't support streaming TAR archives, so it would break the dataset preview). We've also had issues with the `statmt.org` host (data unavailable, slow download speed), that's why I think it's better if we re-host the files on the Hub.
`wmt21` (and wmt22) can be added <s>in this GitHub repository I think</s> on the HF Hub under the `WMT` org (we'll move the previous ones to this org soon as well).
To add it, you can copy paste the code of the previous one (e.g. wmt19), and add the new data:
- in wmt_utils.py, add the new data subsets. You need to provide the download URLs, as well as the target and source languages
- in wmt21.py (renamed from wmt19.py), you can specify the subsets that WMT21 uses (i.e. the one you just added)
- in wmt_utils.py, define the python function that must be used to parse the subsets you added. To do so, you must go in `_generate_examples` and chose the proper `sub_generator` based on the subset name. For example, the `paracrawl_v3` subset uses the `_parse_tmx` function:
https://github.com/huggingface/datasets/blob/ede72d3f9796339701ec59899c7c31d2427046fb/datasets/wmt19/wmt_utils.py#L834-L835
Hopefully the data is in a format that is already supported and there's no need to write a new `_parse_*` function for the new subsets. Let me know if you have questions or if I can help :) | ## Adding a Dataset
- **Name:** WMT21 & WMT22
- **Description:** We are going to have three tracks: two small tasks and a large task.
The small tracks evaluate translation between fairly related languages and English (all pairs). The large track uses 101 languages.
- **Paper:** /
- **Data:** https://statmt.org/wmt21/large-scale-multilingual-translation-task.html https://statmt.org/wmt22/large-scale-multilingual-translation-task.html
- **Motivation:** Many more languages than previous WMT versions - Could be very high impact
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/main/ADD_NEW_DATASET.md).
I could also tackle this. I saw the existing logic for WMT models is a bit complex (datasets are stored on the wmt account & retrieved in separate wmt datasets afaict). How long do you think it would take me? @lhoestq
| 279 | WMT21 & WMT22
## Adding a Dataset
- **Name:** WMT21 & WMT22
- **Description:** We are going to have three tracks: two small tasks and a large task.
The small tracks evaluate translation between fairly related languages and English (all pairs). The large track uses 101 languages.
- **Paper:** /
- **Data:** https://statmt.org/wmt21/large-scale-multilingual-translation-task.html https://statmt.org/wmt22/large-scale-multilingual-translation-task.html
- **Motivation:** Many more languages than previous WMT versions - Could be very high impact
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/main/ADD_NEW_DATASET.md).
I could also tackle this. I saw the existing logic for WMT models is a bit complex (datasets are stored on the wmt account & retrieved in separate wmt datasets afaict). How long do you think it would take me? @lhoestq
Hi ! That would be awesome to have them indeed, thanks for opening this issue
I just added you to the WMT org on the HF Hub if you're interested in adding those datasets.
Feel free to create a dataset repository for each dataset and upload the data files there :) preferably in ZIP archives instead of TAR archives (the current WMT scripts don't support streaming TAR archives, so it would break the dataset preview). We've also had issues with the `statmt.org` host (data unavailable, slow download speed), that's why I think it's better if we re-host the files on the Hub.
`wmt21` (and wmt22) can be added <s>in this GitHub repository I think</s> on the HF Hub under the `WMT` org (we'll move the previous ones to this org soon as well).
To add it, you can copy paste the code of the previous one (e.g. wmt19), and add the new data:
- in wmt_utils.py, add the new data subsets. You need to provide the download URLs, as well as the target and source languages
- in wmt21.py (renamed from wmt19.py), you can specify the subsets that WMT21 uses (i.e. the one you just added)
- in wmt_utils.py, define the python function that must be used to parse the subsets you added. To do so, you must go in `_generate_examples` and chose the proper `sub_generator` based on the subset name. For example, the `paracrawl_v3` subset uses the `_parse_tmx` function:
https://github.com/huggingface/datasets/blob/ede72d3f9796339701ec59899c7c31d2427046fb/datasets/wmt19/wmt_utils.py#L834-L835
Hopefully the data is in a format that is already supported and there's no need to write a new `_parse_*` function for the new subsets. Let me know if you have questions or if I can help :) | [
-0.3275354206562042,
-0.05008842051029205,
-0.013531492091715336,
0.18428707122802734,
0.011375471949577332,
0.02849375456571579,
0.41782093048095703,
0.15633748471736908,
0.10321864485740662,
0.3520328402519226,
-0.29302462935447693,
-0.26087313890457153,
-0.20637951791286469,
0.44054654240608215,
0.27951136231422424,
-0.21415293216705322,
0.07976904511451721,
-0.31334587931632996,
-0.8086767196655273,
0.007103674113750458,
-0.27432358264923096,
-0.07682707160711288,
0.026084765791893005,
-0.0684426873922348,
-0.2606072723865509,
-0.16466686129570007,
-0.5585175156593323,
0.001119617372751236,
-0.17808037996292114,
-0.058993685990571976,
-0.18633319437503815,
0.4490046501159668,
0.18788716197013855,
0.6288781762123108,
-0.00010905900853686035,
-0.16895464062690735,
0.0790567398071289,
0.05446391552686691,
-0.1321626752614975,
-0.3178790807723999,
-0.20714858174324036,
-0.38873669505119324,
-0.42222827672958374,
0.03778728097677231,
0.08792493492364883,
-0.10905424505472183,
-0.07003757357597351,
-0.17097584903240204,
0.29004210233688354,
0.1700640171766281,
0.20839662849903107,
0.2994227707386017,
-0.07021906971931458,
-0.2738898694515228,
0.5180821418762207,
0.06557728350162506,
-0.12810926139354706,
-0.06632454693317413,
0.3485392928123474,
-0.2168811410665512,
0.05401298776268959,
0.41886913776397705,
0.16909435391426086,
0.009909512475132942,
0.15062683820724487,
0.034415435045957565,
0.17949634790420532,
-0.23502430319786072,
-0.13974493741989136,
0.5584244132041931,
0.4521371126174927,
-0.04585643112659454,
-0.347605437040329,
-0.16382338106632233,
-0.19128817319869995,
-0.42860791087150574,
-0.03634074330329895,
0.19347509741783142,
-0.007746358402073383,
0.18353593349456787,
0.12592637538909912,
-0.04442380741238594,
0.09967300295829773,
0.03162878006696701,
-0.018203195184469223,
0.5962768793106079,
0.07939328998327255,
-0.009667977690696716,
0.05086543411016464,
-0.15263386070728302,
0.22576689720153809,
-0.2101985365152359,
0.18939439952373505,
0.0516786202788353,
-0.09563687443733215,
-0.03940834850072861,
0.44127607345581055,
-0.08309159427881241,
0.19400566816329956,
-0.1903161108493805,
-0.07342399656772614,
0.03305749595165253,
-0.13815437257289886,
0.06609918177127838,
0.13286636769771576,
0.0889110267162323,
-0.3529260456562042,
-0.4899410009384155,
0.15693575143814087,
0.07480396330356598,
0.055613841861486435,
0.0854838490486145,
-0.09024875611066818,
-0.20859479904174805,
-0.3335425555706024,
0.00960347056388855,
0.008851718157529831,
-0.07761209458112717,
-0.0483463853597641,
-0.08980847150087357,
0.13317051529884338,
-0.4580802619457245,
-0.19315966963768005,
0.2628166973590851,
-0.05722053349018097,
0.3827945291996002,
-0.021381497383117676,
0.21589328348636627,
-0.20865455269813538,
-0.08174428343772888,
-0.17361831665039062,
0.18543410301208496,
-0.11576040089130402,
0.1216338574886322,
0.1262272596359253,
0.2685316801071167,
-0.14684699475765228,
0.15289902687072754,
0.17157027125358582,
-0.020959291607141495,
0.19095800817012787,
-0.1742384135723114,
0.10585860162973404,
-0.0825512558221817,
-0.05078660324215889,
0.08404972404241562,
-0.09929583966732025,
0.041677236557006836,
-0.34476378560066223,
0.007272619754076004,
0.05441576987504959,
-0.007674902677536011,
0.05249248072504997,
0.23482123017311096,
-0.043893419206142426,
-0.09780877828598022,
-0.0074164047837257385,
0.7958057522773743,
-0.14606168866157532,
0.2647973299026489,
-0.0722384825348854,
0.017780210822820663,
-0.43553614616394043,
-0.0327041819691658,
0.09437012672424316,
0.5921807885169983,
-0.3045090436935425,
-0.05219317600131035,
0.09912402182817459,
0.1061115711927414,
-0.01130317896604538,
0.28853029012680054,
-0.3157109022140503,
0.22280395030975342,
0.08112971484661102,
-0.01622229814529419,
0.05071958899497986,
-0.10445782542228699,
0.18595793843269348,
-0.13239268958568573,
-0.25845763087272644,
-0.0360487625002861,
0.2319948971271515,
0.0687430128455162,
0.13105502724647522,
-0.3745521605014801,
0.041754141449928284,
0.17100757360458374,
-0.22796937823295593,
-0.028791066259145737,
-0.21868714690208435,
-0.47824084758758545,
0.5344370603561401,
0.1405707597732544,
0.5234804153442383,
-0.5630519986152649,
0.09501118212938309,
0.030505843460559845,
0.2337709367275238,
-0.17718948423862457,
0.13492076098918915,
-0.019555915147066116,
0.08515916764736176,
0.1247757151722908,
-0.1192886158823967,
-0.23944053053855896,
-0.1138155534863472,
0.06928909569978714,
-0.048971451818943024,
0.4216134250164032,
0.5822067856788635,
-0.037027209997177124,
0.04008281230926514,
-0.03503205627202988,
-0.14045450091362,
-0.04973798617720604,
0.1510925143957138,
0.10624068230390549,
-0.07126215100288391,
-0.07278932631015778,
-0.04321538656949997,
-0.09535293281078339,
-0.10827775299549103,
-0.14405065774917603,
0.07698345929384232,
0.19035758078098297,
-0.1164717897772789,
0.1433720886707306,
0.2577630579471588,
0.42703738808631897,
0.03791883960366249,
-0.04708138108253479,
0.03813241422176361,
-0.016976527869701385,
-0.16844812035560608,
0.23593245446681976,
0.1836373209953308,
0.37936222553253174,
0.17675523459911346,
-0.12613621354103088,
0.46447086334228516,
-0.311398446559906,
0.16059614717960358,
-0.17449285089969635,
-0.16807541251182556,
0.41338300704956055,
-0.1818346083164215,
0.27212193608283997,
0.1512698233127594,
-0.23933996260166168,
0.16852115094661713,
0.02059992030262947,
-0.17992277443408966,
-0.008056137710809708,
0.20334146916866302,
-0.19684834778308868,
-0.3486844003200531,
-0.02972511015832424,
-0.0330788679420948,
0.4515416622161865,
0.6346099376678467,
0.2603200078010559,
0.14497607946395874,
-0.07542379200458527,
-0.17531493306159973,
-0.2092999815940857,
-0.21497896313667297,
0.09526079893112183,
0.3378186821937561,
0.2840414047241211,
0.40697288513183594,
0.06379237771034241,
0.07166893780231476,
-0.08781789243221283,
0.2833389341831207,
0.02162136882543564,
0.0835004448890686,
0.17132121324539185,
0.06152822822332382,
-0.05898797884583473,
-0.0159000251442194,
-0.008283887058496475,
0.08197566866874695,
-0.059708259999752045,
0.018784653395414352,
-0.2803177833557129,
-0.16732804477214813,
-0.1067478135228157,
-0.641386091709137,
-0.3469962775707245,
-0.16567960381507874,
-0.22768855094909668,
0.14909744262695312,
-0.1906145215034485,
-0.1769648790359497,
0.15150228142738342,
0.17184102535247803,
0.14627733826637268,
-0.5941208004951477,
0.6553993225097656,
0.22478055953979492,
-0.36949729919433594,
0.019894683733582497,
0.1497456580400467,
0.4971214532852173,
0.1086636334657669,
0.457918643951416,
-0.2766261696815491,
-0.13307589292526245,
0.0895441323518753,
-0.52036052942276,
0.14925682544708252,
-0.18484368920326233,
0.1576293259859085,
-0.021944820880889893,
0.059887003153562546,
0.23775933682918549,
-0.2470519244670868,
0.1904880255460739,
0.12334826588630676,
-0.04905730485916138,
-0.17254537343978882,
-0.024141766130924225,
-0.09131114929914474,
0.012461137026548386,
-0.6355192065238953,
-0.47050002217292786,
-0.2505338490009308,
0.2223508208990097,
-0.06323167681694031,
0.15146109461784363,
-0.010500245727598667,
0.059176597744226456,
0.18857410550117493,
-0.07342486828565598,
0.14515168964862823,
-0.15713787078857422,
-0.21234042942523956,
0.3185952603816986,
-0.27736207842826843,
-0.18944138288497925,
0.13886214792728424,
-0.02065180242061615,
0.10258866846561432,
-0.0836501345038414,
-0.1776895523071289,
-0.008929889649152756,
-0.11444240808486938,
0.08259332180023193,
0.18382689356803894,
0.430780827999115,
0.40654173493385315,
0.18315373361110687,
-0.1862999051809311,
-0.09089499711990356,
-0.2882342040538788,
-0.07271603494882584,
0.028273502364754677,
0.2236022651195526,
-0.13049063086509705,
0.3439117968082428,
-0.011262156069278717,
0.7476104497909546,
0.003302689641714096,
0.2332298755645752,
0.06257845461368561,
0.3558773398399353,
0.046827297657728195,
-0.0693480595946312,
-0.3030218183994293,
0.48019441962242126,
-0.17445266246795654,
0.07957911491394043,
0.41477400064468384,
0.04851522296667099,
-0.10443662852048874,
-0.17333300411701202,
-0.05611075460910797,
-0.21527186036109924,
-0.23591051995754242,
0.28223931789398193,
0.049639999866485596,
0.21688935160636902,
0.19348295032978058,
-0.4048536419868469,
-0.48319903016090393,
-0.11176534742116928,
0.12022799253463745,
0.38660115003585815,
-0.14330759644508362,
0.19816644489765167,
-0.26942387223243713,
0.17594723403453827,
-0.28331130743026733,
0.24088844656944275,
0.20767875015735626,
0.028450172394514084,
-0.23344147205352783,
-0.1562400758266449,
-0.1518981009721756,
-0.22254008054733276,
0.20186886191368103,
-0.23255644738674164,
-0.08587758243083954,
0.05668940022587776,
-0.1087985411286354,
0.20646315813064575,
-0.06735871732234955,
-0.32972249388694763,
-0.42852190136909485,
0.18787139654159546,
0.35517939925193787,
-0.23333653807640076,
-0.29065990447998047,
0.15765520930290222,
0.42593684792518616,
-0.26240867376327515,
0.06199917569756508,
0.07615245878696442,
-0.3855240046977997,
-0.18836098909378052,
0.15959885716438293,
0.0858696699142456,
0.0397568978369236,
-0.27439212799072266,
-0.025211317464709282,
0.19922897219657898,
0.10211298614740372,
0.3495914041996002,
-0.05622537434101105,
-0.217380553483963,
0.3691259026527405,
0.25468847155570984,
0.0027904435992240906,
0.3109402358531952,
0.33255326747894287,
0.29312312602996826,
-0.18956194818019867,
0.11170439422130585,
-0.07645128667354584,
-0.19857218861579895,
0.45412570238113403,
0.4620002806186676,
0.17938515543937683,
0.35445380210876465,
0.31323373317718506,
0.16660740971565247,
-0.4711727201938629,
0.29276445508003235,
0.16754114627838135,
0.4034613370895386,
-0.41633912920951843,
-0.3231925666332245,
-0.04152756929397583,
0.008800536394119263,
-0.15114577114582062,
0.2541486918926239,
-0.1841982752084732,
-0.1367926299571991,
-0.012365996837615967,
0.01094481348991394,
0.993281364440918,
-0.23917599022388458,
0.11571303009986877,
-0.0964600145816803,
-0.5543826222419739,
0.13524788618087769,
-0.07528111338615417,
-0.10388194769620895,
0.04304682835936546,
-0.15494321286678314,
-0.031709570437669754,
-0.004380799829959869,
0.14558297395706177,
0.23426122963428497,
-0.09885145723819733,
0.15064965188503265,
0.3241090178489685,
0.3755665719509125,
-0.1138530820608139,
0.28211504220962524,
-0.19386473298072815,
-0.3321923017501831,
-0.02870117500424385,
0.21139174699783325,
-0.13294711709022522,
-0.08554540574550629,
-0.16727349162101746,
-0.23573555052280426,
0.005762346088886261,
0.017067354172468185,
-0.19659286737442017,
-0.015402686782181263,
-0.5588966608047485,
-0.04107934236526489,
-0.481438547372818,
-0.2232816219329834,
0.5316665768623352,
-0.3641527593135834,
0.14517804980278015,
0.12192349135875702,
-0.13436098396778107,
-0.10618381202220917,
-0.2906682789325714,
0.07694777846336365,
-0.015263267792761326,
-0.11391036212444305,
0.36257100105285645,
-0.24033516645431519,
-0.260240375995636,
-0.1372622549533844,
-0.01570047065615654,
0.20374350249767303,
-0.43405699729919434,
-0.097593292593956,
0.5584818720817566,
0.12371776252985,
0.23837554454803467,
0.61013263463974,
-0.003480285406112671,
-0.35061535239219666,
0.1788427084684372,
0.045030377805233,
-0.14239025115966797,
0.35085439682006836,
0.07975444197654724,
0.06254369020462036,
-0.10976363718509674,
0.05571803078055382,
0.14180602133274078,
0.15029995143413544,
0.31147128343582153,
0.7118873000144958,
-0.29042452573776245,
-0.2977704405784607,
0.12335699051618576,
0.25852108001708984,
-0.3194043040275574,
0.024246612563729286,
0.23405721783638,
-0.060673341155052185,
-0.21620453894138336,
0.3487095832824707,
0.2791317105293274,
-0.2968073785305023,
-0.12497180700302124,
-0.20420542359352112,
-0.13409489393234253,
0.2775307893753052,
0.10885629057884216,
0.12386362254619598,
-0.2577765882015228,
0.49122384190559387,
-0.007701028138399124,
0.5533854365348816,
-0.4282394051551819,
0.20207752287387848,
0.1555917114019394,
0.0262153223156929,
-0.008552730083465576,
-0.3049878180027008,
0.01375485584139824,
0.04909757152199745,
-0.007779477164149284,
-0.17061147093772888,
-0.35453516244888306,
-0.2240234613418579,
-0.3795400857925415,
0.13173288106918335,
-0.08298420161008835,
-0.178946390748024,
0.3661150634288788,
-0.12026847898960114,
0.03513845428824425,
-0.07679188251495361,
0.11628289520740509,
0.16662374138832092,
-0.15726238489151,
0.03701178729534149,
0.31907281279563904,
0.038559768348932266,
0.007652003318071365,
0.11198829859495163,
0.417126327753067,
-0.14461736381053925,
0.0369674451649189,
0.06270051747560501,
0.2388838529586792,
-0.045803189277648926,
-0.09670524299144745,
0.24378332495689392,
0.15183143317699432,
-0.06007537990808487,
0.13067863881587982,
0.0628182590007782,
-0.0896000936627388,
0.4274512827396393,
0.2536609470844269,
0.10616026818752289,
0.21652624011039734,
0.17912158370018005,
0.23028525710105896,
0.1753215491771698,
-0.3940099775791168,
0.183038592338562,
-0.1541280448436737,
-0.1779208779335022,
0.12570029497146606,
0.2512085437774658,
0.2317894995212555,
0.140352264046669,
-0.12214545905590057,
-0.008627540431916714,
-0.21041080355644226,
-0.14734414219856262,
0.08620639145374298,
0.1948874592781067,
0.10857012867927551,
0.19189868867397308,
0.2839800715446472,
0.02184421382844448,
0.12586258351802826,
-0.19013874232769012,
0.0747760683298111,
0.3173206150531769,
0.06606602668762207,
0.03374164178967476,
0.2354619801044464,
-0.2604696750640869,
0.04004988819360733,
0.05800669640302658,
0.23140080273151398,
-0.12365566939115524,
-0.02173089236021042,
0.6299916505813599,
0.10657759010791779,
-0.049999453127384186,
-0.10619454830884933,
0.3822847604751587,
-0.06217838078737259,
-0.2307550609111786,
0.029288209974765778,
-0.37852516770362854,
-0.3662525415420532,
-0.08499091863632202,
-0.05806107446551323,
-0.14165830612182617,
0.31527775526046753,
0.0903807282447815,
0.1362527310848236,
-0.1918054074048996,
-0.10214518755674362,
-0.08039717376232147,
0.07147665321826935,
-0.2886990010738373,
0.10945933312177658,
0.47956687211990356,
-0.132965087890625,
-0.008673787117004395,
0.20670631527900696,
0.12036442756652832,
0.058493051677942276,
-0.38159844279289246,
0.04233303666114807,
-0.1044994443655014,
0.07347297668457031,
-0.1499997079372406,
0.13904358446598053,
-0.04943197965621948,
-0.08067099750041962,
0.3887840807437897,
0.08380649238824844,
-0.25298014283180237,
-0.08513602614402771,
-0.029209274798631668,
-0.577918291091919,
-0.24932093918323517,
0.24613189697265625,
0.005201959982514381,
0.11729397624731064,
-0.233761727809906,
0.22988289594650269,
-0.41270992159843445,
-0.044813141226768494,
0.47874632477760315,
-0.25732675194740295,
0.05416557192802429,
-0.2146470844745636,
0.09666221588850021,
-0.035433683544397354,
0.34012728929519653,
0.21705737709999084,
0.037650082260370255,
-0.23187725245952606,
-0.04831920564174652,
-0.6494453549385071,
-0.29148727655410767,
-0.18766842782497406,
0.3144266903400421,
-0.23895446956157684,
0.1604398488998413,
0.4257066547870636,
0.2646007835865021,
0.33242085576057434,
0.13371649384498596,
-0.21258096396923065,
-0.007831677794456482,
-0.5348924994468689,
0.17410828173160553,
-0.01693035662174225,
0.2307155430316925,
0.2559255361557007,
0.015997067093849182,
-0.12862807512283325,
0.25739890336990356,
0.03518139570951462,
-0.3277614712715149,
0.058277420699596405,
0.1423732191324234,
-0.08009584248065948,
0.12299887835979462,
0.10107739269733429,
0.34991127252578735,
-0.15474236011505127,
-0.0943203717470169,
-0.0991104394197464,
-0.124839648604393,
-0.05898449197411537,
0.18327108025550842,
-0.1799333095550537,
0.3331758975982666,
-0.15580590069293976,
-0.3126097619533539,
0.06956750154495239,
-0.1899695247411728,
-0.27320364117622375,
0.06400136649608612,
-0.08059699833393097,
0.06566155701875687,
-0.04804331064224243,
-0.03777342662215233,
0.3454909324645996,
0.3684806227684021,
0.1529310792684555,
0.08454570919275284,
-0.1421663910150528,
-0.2637723386287689,
0.2946154475212097,
0.23327578604221344,
-0.33124059438705444,
-0.4696103036403656,
0.01690288633108139,
0.15999291837215424,
-0.01911662332713604,
-0.5686128735542297,
0.03725556284189224,
0.13578806817531586,
0.1428956687450409,
0.023218482732772827,
0.4591679573059082,
-0.2049616128206253,
-0.2999647855758667,
-0.01631462574005127,
-0.04172995686531067,
-0.08142812550067902,
-0.008444640785455704,
-0.42763927578926086,
-0.12918570637702942
] |
https://github.com/huggingface/datasets/issues/4709 | WMT21 & WMT22 | @Muennighoff , @lhoestq let me know if you want me to look into this. Happy to help bring WMT21 & WMT22 datasets into 🤗 ! | ## Adding a Dataset
- **Name:** WMT21 & WMT22
- **Description:** We are going to have three tracks: two small tasks and a large task.
The small tracks evaluate translation between fairly related languages and English (all pairs). The large track uses 101 languages.
- **Paper:** /
- **Data:** https://statmt.org/wmt21/large-scale-multilingual-translation-task.html https://statmt.org/wmt22/large-scale-multilingual-translation-task.html
- **Motivation:** Many more languages than previous WMT versions - Could be very high impact
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/main/ADD_NEW_DATASET.md).
I could also tackle this. I saw the existing logic for WMT models is a bit complex (datasets are stored on the wmt account & retrieved in separate wmt datasets afaict). How long do you think it would take me? @lhoestq
| 25 | WMT21 & WMT22
## Adding a Dataset
- **Name:** WMT21 & WMT22
- **Description:** We are going to have three tracks: two small tasks and a large task.
The small tracks evaluate translation between fairly related languages and English (all pairs). The large track uses 101 languages.
- **Paper:** /
- **Data:** https://statmt.org/wmt21/large-scale-multilingual-translation-task.html https://statmt.org/wmt22/large-scale-multilingual-translation-task.html
- **Motivation:** Many more languages than previous WMT versions - Could be very high impact
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/main/ADD_NEW_DATASET.md).
I could also tackle this. I saw the existing logic for WMT models is a bit complex (datasets are stored on the wmt account & retrieved in separate wmt datasets afaict). How long do you think it would take me? @lhoestq
@Muennighoff , @lhoestq let me know if you want me to look into this. Happy to help bring WMT21 & WMT22 datasets into 🤗 ! | [
-0.31538382172584534,
-0.062398750334978104,
-0.02662738598883152,
0.23279798030853271,
-0.007741417735815048,
0.04825187474489212,
0.2758036255836487,
0.0725666955113411,
0.09948468208312988,
0.27296683192253113,
-0.26162219047546387,
-0.315285325050354,
-0.28453701734542847,
0.5339781641960144,
0.247850239276886,
-0.23533213138580322,
0.14465636014938354,
-0.3825313150882721,
-0.7993475198745728,
0.08236554265022278,
-0.23033970594406128,
-0.10501044988632202,
0.08629612624645233,
-0.1262797862291336,
-0.22493933141231537,
-0.19533304870128632,
-0.5274922847747803,
-0.07590904086828232,
-0.3350920081138611,
0.09723489731550217,
-0.204720139503479,
0.40845441818237305,
0.24495476484298706,
0.6139601469039917,
-0.00011149013880640268,
-0.2078775018453598,
0.042627256363630295,
0.06472642719745636,
-0.03445038944482803,
-0.2959199547767639,
-0.232302725315094,
-0.31094443798065186,
-0.3813520073890686,
0.12839290499687195,
0.11594124883413315,
0.06774421036243439,
-0.1330631673336029,
-0.18157118558883667,
0.3367035388946533,
0.14562509953975677,
0.16924245655536652,
0.16613483428955078,
-0.0434734970331192,
-0.19903306663036346,
0.33906957507133484,
0.07500036060810089,
-0.0754668340086937,
-0.11400328576564789,
0.4454088509082794,
-0.1386745125055313,
0.16341853141784668,
0.43817922472953796,
0.18508389592170715,
-0.05830420181155205,
0.1946670413017273,
0.10263894498348236,
0.19669978320598602,
-0.2581665813922882,
-0.1976553499698639,
0.467270165681839,
0.4373912811279297,
0.054562605917453766,
-0.3348151743412018,
-0.1945134401321411,
-0.18972449004650116,
-0.3989928364753723,
-0.009169556200504303,
0.11108959466218948,
0.0025426261126995087,
0.22093845903873444,
0.016444066539406776,
-0.11447548121213913,
0.1878613531589508,
-0.023868277668952942,
-0.03791221231222153,
0.6129360198974609,
0.10341116786003113,
-0.006118416786193848,
0.16354741156101227,
-0.20883780717849731,
0.2747674584388733,
-0.1871652454137802,
0.1898818463087082,
0.09306852519512177,
-0.15366214513778687,
-0.05381777882575989,
0.4313179850578308,
0.11404935270547867,
0.13490211963653564,
-0.14538109302520752,
-0.006266278214752674,
0.031060323119163513,
-0.17053107917308807,
0.019740451127290726,
0.15142574906349182,
0.13724203407764435,
-0.4499068856239319,
-0.46296727657318115,
0.045276299118995667,
-0.0389951691031456,
-0.06584930419921875,
0.13189148902893066,
-0.03655655309557915,
-0.27662017941474915,
-0.3879950940608978,
-0.08054816722869873,
0.1016232967376709,
-0.06604135036468506,
-0.030932309105992317,
-0.1541462391614914,
0.07061366736888885,
-0.5245151519775391,
-0.1808217167854309,
0.029189709573984146,
-0.05264250561594963,
0.38685962557792664,
0.027315959334373474,
0.16004839539527893,
-0.05341269075870514,
-0.05972219631075859,
-0.10930956155061722,
0.14429828524589539,
-0.12234383821487427,
0.16838796436786652,
0.04996291175484657,
0.24651196599006653,
-0.21032914519309998,
0.21688756346702576,
0.018936846405267715,
-0.02564815618097782,
0.12460978329181671,
-0.12572665512561798,
0.1401951014995575,
-0.23298470675945282,
-0.09788013249635696,
0.07763548940420151,
-0.16446372866630554,
0.04078038036823273,
-0.2853403091430664,
0.06006551533937454,
0.07179052382707596,
-0.007326051592826843,
-0.00417977012693882,
0.22425326704978943,
0.003041837364435196,
-0.1295400708913803,
0.051555972546339035,
0.8455971479415894,
-0.13033056259155273,
0.270841509103775,
-0.10181283205747604,
0.15211322903633118,
-0.40101560950279236,
0.10508214682340622,
-0.0663691908121109,
0.4086849093437195,
-0.37053003907203674,
-0.0268498994410038,
0.12337968498468399,
0.1429167538881302,
-0.08738962560892105,
0.35087352991104126,
-0.320666640996933,
0.3088490068912506,
0.12289464473724365,
-0.08975441008806229,
0.029905468225479126,
-0.039542026817798615,
0.24418851733207703,
-0.15234576165676117,
-0.2738856077194214,
-0.04319845139980316,
0.17292353510856628,
0.13602100312709808,
0.056635163724422455,
-0.33356791734695435,
0.0951802060008049,
0.1650141030550003,
-0.3081926107406616,
-0.16169439256191254,
-0.14364661276340485,
-0.48518869280815125,
0.6300990581512451,
0.04615471884608269,
0.4189193844795227,
-0.5220656991004944,
-0.01678067445755005,
0.07390697300434113,
0.22067642211914062,
-0.17273731529712677,
0.03811297565698624,
-0.08079900592565536,
0.07998836040496826,
0.08829464763402939,
-0.13826727867126465,
-0.21682041883468628,
-0.17326554656028748,
0.00689798966050148,
0.06803915649652481,
0.4449022710323334,
0.679778516292572,
0.04403524845838547,
0.09379500150680542,
-0.03249603509902954,
-0.17704889178276062,
-0.007432065904140472,
0.0910508781671524,
0.14919829368591309,
-0.05631009116768837,
-0.2262454628944397,
-0.08423519134521484,
-0.14927417039871216,
-0.10920355468988419,
-0.14430318772792816,
-0.06567654013633728,
0.05661427974700928,
-0.06934870034456253,
0.14935262501239777,
0.19261135160923004,
0.4482610821723938,
0.017870400100946426,
-0.044133298099040985,
0.17061066627502441,
-0.13506564497947693,
-0.16635675728321075,
0.38971465826034546,
0.0881316140294075,
0.41392943263053894,
0.1731901466846466,
-0.05314858630299568,
0.41696399450302124,
-0.3250226080417633,
0.1562797725200653,
-0.22478529810905457,
-0.18938028812408447,
0.37221020460128784,
-0.16359028220176697,
0.369234174489975,
0.0745403915643692,
-0.3459773659706116,
0.11557388305664062,
0.017245005816221237,
-0.1651569902896881,
-0.002829514443874359,
0.2757367491722107,
-0.20019489526748657,
-0.2880761921405792,
0.141363725066185,
0.00721421092748642,
0.4512220323085785,
0.4751603305339813,
0.2350447177886963,
0.09667941927909851,
-0.12454470247030258,
-0.07673152536153793,
-0.2604127824306488,
-0.2630798816680908,
0.11544345319271088,
0.31535404920578003,
0.28898143768310547,
0.3758848011493683,
0.08358539640903473,
0.11277119815349579,
-0.07767226547002792,
0.26277002692222595,
0.02537435293197632,
0.12358549982309341,
0.18626022338867188,
0.0692100003361702,
0.05186633765697479,
0.03702257573604584,
0.09256084263324738,
0.07292738556861877,
-0.046102188527584076,
0.0381944365799427,
-0.3350176215171814,
-0.07601473480463028,
-0.11641794443130493,
-0.6502423286437988,
-0.3550325036048889,
-0.06072985753417015,
-0.21880792081356049,
0.059179749339818954,
-0.25160348415374756,
-0.12410862743854523,
0.1144104078412056,
0.22856926918029785,
0.1258121132850647,
-0.6359714865684509,
0.609214186668396,
0.2901361584663391,
-0.31046584248542786,
0.10518255084753036,
0.1782248169183731,
0.6468909978866577,
0.043065380305051804,
0.39584702253341675,
-0.2930399179458618,
-0.07764201611280441,
0.11093255132436752,
-0.6416527628898621,
0.15836617350578308,
-0.15327295660972595,
0.09332390129566193,
-0.06842397153377533,
-0.005858235061168671,
0.28165268898010254,
-0.24254225194454193,
0.07819423079490662,
0.21895022690296173,
-0.15561126172542572,
-0.32650357484817505,
-0.05210641026496887,
-0.08237166702747345,
0.07126645743846893,
-0.6199279427528381,
-0.3973572552204132,
-0.14378273487091064,
0.1797221451997757,
-0.0872257798910141,
0.09024933725595474,
-0.08411630243062973,
-0.0056182993575930595,
0.24725383520126343,
-0.0632561519742012,
0.11207351088523865,
-0.11609414964914322,
-0.17919793725013733,
0.3468628227710724,
-0.22225715219974518,
-0.10009516775608063,
0.1814165711402893,
-0.006677089259028435,
0.12398040294647217,
-0.11196620762348175,
0.013011127710342407,
0.08181894570589066,
-0.1220325380563736,
-0.013188043609261513,
0.14581787586212158,
0.3957769572734833,
0.455800324678421,
0.16345760226249695,
-0.14645414054393768,
-0.07311945408582687,
-0.3122973144054413,
-0.08291760832071304,
0.05538184940814972,
0.21899467706680298,
-0.1225867047905922,
0.45471084117889404,
-0.05892252177000046,
0.6928591728210449,
-0.04101511836051941,
0.1506299078464508,
-0.014490537345409393,
0.3408946096897125,
-0.03545162454247475,
-0.036571234464645386,
-0.29532390832901,
0.5164237022399902,
-0.22118839621543884,
-0.026655223220586777,
0.3709070086479187,
0.0011428380385041237,
-0.0637965127825737,
-0.24156323075294495,
0.014059964567422867,
-0.22794508934020996,
-0.17586594820022583,
0.3328891098499298,
0.06751760095357895,
0.21570676565170288,
0.2754445970058441,
-0.4823949635028839,
-0.3899209797382355,
-0.08476743847131729,
0.0043362099677324295,
0.2086876630783081,
-0.06124263256788254,
0.16498108208179474,
-0.2600992023944855,
0.20398877561092377,
-0.2751365005970001,
0.2456153929233551,
0.25231146812438965,
-0.028073526918888092,
-0.15988820791244507,
-0.19222983717918396,
-0.12929099798202515,
-0.230915829539299,
0.24993209540843964,
-0.16891467571258545,
-0.1182686984539032,
-0.10948443412780762,
-0.11077909171581268,
0.27662187814712524,
-0.04655934497714043,
-0.2961747646331787,
-0.3746965825557709,
0.2309999018907547,
0.3765074610710144,
-0.1414836347103119,
-0.255230188369751,
0.23078837990760803,
0.4557478129863739,
-0.19721873104572296,
0.09049748629331589,
0.10076688230037689,
-0.3806374967098236,
-0.18880879878997803,
0.13783876597881317,
0.12578748166561127,
0.06703630089759827,
-0.22442995011806488,
-0.08748961985111237,
0.09451079368591309,
0.07955747842788696,
0.3618646264076233,
-0.08654233813285828,
-0.28050848841667175,
0.3747499883174896,
0.21377567946910858,
0.01829446293413639,
0.3876238763332367,
0.24154254794120789,
0.3111598491668701,
-0.20313161611557007,
0.13996046781539917,
-0.053882256150245667,
-0.1769387274980545,
0.472260057926178,
0.4402349889278412,
0.3031533360481262,
0.3431393504142761,
0.299416184425354,
0.07702901214361191,
-0.4159606993198395,
0.23051856458187103,
0.10640612989664078,
0.5368912220001221,
-0.5632191896438599,
-0.24968303740024567,
0.027593903243541718,
0.14208370447158813,
-0.20912688970565796,
0.18074345588684082,
-0.08875739574432373,
-0.2038172334432602,
-0.13239651918411255,
0.03810830041766167,
0.9966846108436584,
-0.25691133737564087,
0.009392976760864258,
-0.06732488423585892,
-0.5060327053070068,
0.1238003820180893,
0.022431232035160065,
-0.16425299644470215,
0.109395831823349,
0.02388833835721016,
-0.10952766239643097,
-0.029662631452083588,
0.15486623346805573,
0.25196313858032227,
-0.09157782793045044,
0.0952000766992569,
0.24722357094287872,
0.40399616956710815,
-0.0025708554312586784,
0.29150938987731934,
-0.17631015181541443,
-0.2497595250606537,
-0.04390386492013931,
0.1824914962053299,
-0.16968481242656708,
-0.1405147910118103,
-0.24263447523117065,
-0.24412505328655243,
-0.022596929222345352,
0.07282973825931549,
-0.11195584386587143,
-0.05546530336141586,
-0.5629583597183228,
-0.09192050993442535,
-0.5017232894897461,
-0.3068217635154724,
0.5479497313499451,
-0.18090945482254028,
0.19894152879714966,
0.00760427862405777,
-0.14392708241939545,
-0.05534558370709419,
-0.418137788772583,
0.02769661135971546,
-0.09219516813755035,
-0.23900623619556427,
0.29878827929496765,
-0.26271021366119385,
-0.19090253114700317,
-0.17369675636291504,
-0.04277058318257332,
0.1719624102115631,
-0.5049253702163696,
0.008293353021144867,
0.6697118282318115,
0.04984355717897415,
0.060016464442014694,
0.6528642773628235,
0.0498700849711895,
-0.2828647196292877,
0.1436881124973297,
0.027469173073768616,
-0.1483614146709442,
0.32029277086257935,
0.08650809526443481,
0.11870023608207703,
-0.08076368272304535,
-0.00866062194108963,
0.18364498019218445,
0.03922475874423981,
0.21604090929031372,
0.6539895534515381,
-0.20865210890769958,
-0.23479104042053223,
0.20111098885536194,
0.2958202660083771,
-0.2215273678302765,
0.006357328034937382,
0.2953324317932129,
-0.01870206743478775,
-0.12323568016290665,
0.43277236819267273,
0.31640368700027466,
-0.258010596036911,
-0.036072295159101486,
-0.23508615791797638,
-0.043548814952373505,
0.30628567934036255,
0.12630216777324677,
0.06534528732299805,
-0.27551132440567017,
0.4012324810028076,
0.0034115053713321686,
0.6457319855690002,
-0.385298490524292,
0.2197650521993637,
0.2396036684513092,
0.12340842187404633,
0.03727249801158905,
-0.2758457064628601,
-0.07870621979236603,
0.02951926365494728,
-0.06391634792089462,
-0.07118752598762512,
-0.21869872510433197,
-0.23612701892852783,
-0.2702867090702057,
0.11886806041002274,
-0.016422715038061142,
-0.14449100196361542,
0.4055711328983307,
-0.039972174912691116,
0.07464346289634705,
-0.016994500532746315,
0.060425031930208206,
0.11332916468381882,
-0.03193291276693344,
-0.14220738410949707,
0.27023422718048096,
0.02775711938738823,
-0.029356034472584724,
0.07485732436180115,
0.3940918743610382,
-0.202013298869133,
0.031044259667396545,
0.03498901054263115,
0.3342974781990051,
-0.026076484471559525,
-0.058674879372119904,
0.28344491124153137,
0.3051084280014038,
-0.08483599126338959,
-0.01394258439540863,
0.010915432125329971,
-0.14510250091552734,
0.4751702845096588,
0.25628918409347534,
0.11622008681297302,
0.24133558571338654,
0.19307205080986023,
0.10162944346666336,
0.1477741003036499,
-0.3662370443344116,
0.22129085659980774,
-0.08859679102897644,
-0.2817472517490387,
0.03985926881432533,
0.2192980945110321,
0.21936601400375366,
0.1621864140033722,
-0.15246061980724335,
-0.04717947542667389,
-0.2844600975513458,
-0.11768259108066559,
0.1681836098432541,
0.21504735946655273,
0.049541886895895004,
0.19055113196372986,
0.3720991909503937,
0.02307388186454773,
0.1414622813463211,
-0.1478201001882553,
-0.00762515515089035,
0.371216356754303,
0.001031719148159027,
0.048866935074329376,
0.3617374002933502,
-0.2059975117444992,
0.07894973456859589,
0.035269953310489655,
0.21725502610206604,
-0.22549080848693848,
0.044206373393535614,
0.5815558433532715,
0.17963464558124542,
-0.15198221802711487,
-0.03965844213962555,
0.390360951423645,
-0.046218931674957275,
-0.157632976770401,
-0.005274981260299683,
-0.4199914336204529,
-0.30701887607574463,
-0.007619747892022133,
-0.12773817777633667,
-0.24832288920879364,
0.2575340270996094,
0.05557326227426529,
0.10555879771709442,
-0.15732800960540771,
-0.06515083461999893,
-0.08898540586233139,
-0.03246253728866577,
-0.2726093828678131,
0.19785520434379578,
0.43057405948638916,
-0.2110207974910736,
0.0022457875311374664,
0.18972565233707428,
0.04046335071325302,
0.11157633364200592,
-0.34632930159568787,
0.17413382232189178,
-0.0858554095029831,
-0.01559828408062458,
-0.11755719035863876,
0.16776590049266815,
-0.029941879212856293,
-0.08716800808906555,
0.29386696219444275,
0.08895081281661987,
-0.2326589673757553,
-0.09356564283370972,
-0.011903803795576096,
-0.4385696351528168,
-0.3429020345211029,
0.15929725766181946,
-0.08777882903814316,
0.14409884810447693,
-0.24957576394081116,
0.2883734703063965,
-0.35752758383750916,
-0.056104645133018494,
0.4083597958087921,
-0.32366594672203064,
-0.04588364064693451,
-0.13369014859199524,
0.08590879291296005,
-0.008491519838571548,
0.32779228687286377,
0.16561025381088257,
0.07271083444356918,
-0.21297484636306763,
-0.1323903203010559,
-0.6945506930351257,
-0.3639189600944519,
0.021316582337021828,
0.3649853467941284,
-0.3095424473285675,
0.16151298582553864,
0.4106891453266144,
0.34695184230804443,
0.24562585353851318,
0.14851240813732147,
-0.20303407311439514,
-0.07207322120666504,
-0.5050420761108398,
0.19157661497592926,
0.06015622243285179,
0.20429383218288422,
0.2689291834831238,
0.05223836749792099,
-0.07920338213443756,
0.17552974820137024,
0.006899435073137283,
-0.4386095404624939,
0.11207728087902069,
0.01993371546268463,
0.09382788836956024,
0.03567662090063095,
0.19402222335338593,
0.3522166907787323,
-0.11713428050279617,
-0.018226560205221176,
-0.08545176684856415,
-0.11663883179426193,
-0.05598543584346771,
0.3395475447177887,
-0.13091686367988586,
0.2832750678062439,
-0.25536689162254333,
-0.2027929127216339,
0.17604269087314606,
-0.26256072521209717,
-0.2935032844543457,
0.033559560775756836,
-0.19217795133590698,
-0.040129341185092926,
-0.005078330636024475,
0.004706717096269131,
0.3748490512371063,
0.34359535574913025,
0.16794772446155548,
0.08374403417110443,
-0.16655656695365906,
-0.14198443293571472,
0.20232148468494415,
0.2855532169342041,
-0.28543075919151306,
-0.39287906885147095,
-0.12048599123954773,
0.20433539152145386,
-0.06347506493330002,
-0.6741769909858704,
-0.0308760404586792,
0.13435012102127075,
0.08298537880182266,
0.13614822924137115,
0.5588811039924622,
-0.05001774802803993,
-0.3405018746852875,
-0.0830642580986023,
-0.0086536705493927,
-0.018570981919765472,
0.023458236828446388,
-0.431677907705307,
-0.12964528799057007
] |
https://github.com/huggingface/datasets/issues/4709 | WMT21 & WMT22 | Hi @srhrshr :) Sure, feel free to create a dataset repository on the Hub and start from the implementation of WMT19 if you want. Then we can move the dataset under the WMT org (we'll move the other ones there as well).
Let me know if you have questions or if I can help | ## Adding a Dataset
- **Name:** WMT21 & WMT22
- **Description:** We are going to have three tracks: two small tasks and a large task.
The small tracks evaluate translation between fairly related languages and English (all pairs). The large track uses 101 languages.
- **Paper:** /
- **Data:** https://statmt.org/wmt21/large-scale-multilingual-translation-task.html https://statmt.org/wmt22/large-scale-multilingual-translation-task.html
- **Motivation:** Many more languages than previous WMT versions - Could be very high impact
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/main/ADD_NEW_DATASET.md).
I could also tackle this. I saw the existing logic for WMT models is a bit complex (datasets are stored on the wmt account & retrieved in separate wmt datasets afaict). How long do you think it would take me? @lhoestq
| 54 | WMT21 & WMT22
## Adding a Dataset
- **Name:** WMT21 & WMT22
- **Description:** We are going to have three tracks: two small tasks and a large task.
The small tracks evaluate translation between fairly related languages and English (all pairs). The large track uses 101 languages.
- **Paper:** /
- **Data:** https://statmt.org/wmt21/large-scale-multilingual-translation-task.html https://statmt.org/wmt22/large-scale-multilingual-translation-task.html
- **Motivation:** Many more languages than previous WMT versions - Could be very high impact
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/main/ADD_NEW_DATASET.md).
I could also tackle this. I saw the existing logic for WMT models is a bit complex (datasets are stored on the wmt account & retrieved in separate wmt datasets afaict). How long do you think it would take me? @lhoestq
Hi @srhrshr :) Sure, feel free to create a dataset repository on the Hub and start from the implementation of WMT19 if you want. Then we can move the dataset under the WMT org (we'll move the other ones there as well).
Let me know if you have questions or if I can help | [
-0.30995577573776245,
-0.05867457389831543,
-0.017347445711493492,
0.21638862788677216,
-0.015382185578346252,
0.047087348997592926,
0.3338567316532135,
0.08801747858524323,
0.08406579494476318,
0.31060710549354553,
-0.22710318863391876,
-0.25779321789741516,
-0.30525094270706177,
0.5497173070907593,
0.2588519752025604,
-0.21901977062225342,
0.16249001026153564,
-0.399606317281723,
-0.7550749778747559,
0.06785798072814941,
-0.2279989868402481,
-0.1304614543914795,
0.03975561261177063,
-0.13502974808216095,
-0.24618689715862274,
-0.19803667068481445,
-0.5476511716842651,
-0.09982607513666153,
-0.35514768958091736,
0.08826996386051178,
-0.18314404785633087,
0.43048757314682007,
0.1939544826745987,
0.6395904421806335,
-0.00010906720126513392,
-0.21206839382648468,
0.05632564052939415,
0.07690215855836868,
0.004460733383893967,
-0.28207260370254517,
-0.2354702353477478,
-0.3089490532875061,
-0.3996098041534424,
0.03857602924108505,
0.12008947879076004,
0.1016491949558258,
-0.10153789818286896,
-0.1476268470287323,
0.30891287326812744,
0.1271132081747055,
0.1912594735622406,
0.19175687432289124,
-0.024471480399370193,
-0.22954371571540833,
0.3236769139766693,
0.05976898595690727,
-0.11958187818527222,
-0.06385602056980133,
0.43433162569999695,
-0.09623946249485016,
0.049755826592445374,
0.4105163812637329,
0.1640811413526535,
-0.03446216136217117,
0.21742799878120422,
0.0453653521835804,
0.20420101284980774,
-0.22226467728614807,
-0.13267412781715393,
0.487471342086792,
0.45463964343070984,
-0.01521620899438858,
-0.2828425168991089,
-0.16555455327033997,
-0.20088066160678864,
-0.4246096909046173,
-0.005149327218532562,
0.10033489018678665,
-0.044732943177223206,
0.18588906526565552,
0.03888561576604843,
-0.21518602967262268,
0.1395757496356964,
-0.03603135794401169,
-0.02974744886159897,
0.61766517162323,
0.08978892862796783,
-0.003982700407505035,
0.10646005719900131,
-0.19574353098869324,
0.30897262692451477,
-0.19491539895534515,
0.21636587381362915,
0.06852409243583679,
-0.1273968368768692,
-0.07461398839950562,
0.39315593242645264,
0.11803943663835526,
0.14898738265037537,
-0.19011639058589935,
-0.01723421737551689,
0.007350508123636246,
-0.1491040587425232,
0.022818226367235184,
0.15098267793655396,
0.17058037221431732,
-0.45073026418685913,
-0.47269320487976074,
0.07421267032623291,
0.004862753674387932,
-0.001459561288356781,
0.13639894127845764,
-0.08739776164293289,
-0.2514224648475647,
-0.34791749715805054,
0.008098095655441284,
0.060639455914497375,
-0.050568364560604095,
0.018782490864396095,
-0.19017787277698517,
0.028475843369960785,
-0.4918695390224457,
-0.12503866851329803,
0.03187555819749832,
0.007535425014793873,
0.39350131154060364,
0.0034454241394996643,
0.16068392992019653,
-0.10875041782855988,
-0.09334659576416016,
-0.14668983221054077,
0.16572052240371704,
-0.1324220448732376,
0.16922630369663239,
0.09553512930870056,
0.23090068995952606,
-0.18386830389499664,
0.20580318570137024,
0.04608553647994995,
-0.018232371658086777,
0.09245681762695312,
-0.1460026055574417,
0.07672956585884094,
-0.2503298819065094,
-0.08924014866352081,
0.0829102173447609,
-0.1968204379081726,
0.05164194852113724,
-0.3202095031738281,
0.033534180372953415,
0.08738425374031067,
-0.044814758002758026,
0.047567784786224365,
0.22745069861412048,
-0.052399929612874985,
-0.12493926286697388,
-0.0328536257147789,
0.8509865999221802,
-0.11212482303380966,
0.24261966347694397,
-0.05829038470983505,
0.17290231585502625,
-0.4358310401439667,
0.03909451514482498,
-0.0501880869269371,
0.45441263914108276,
-0.33180537819862366,
-0.0036816857755184174,
0.09586963057518005,
0.15259918570518494,
-0.053786925971508026,
0.26020535826683044,
-0.29361337423324585,
0.3072405457496643,
0.11539964377880096,
-0.01775149255990982,
0.0032606571912765503,
-0.0767957866191864,
0.19152899086475372,
-0.1551310271024704,
-0.275738924741745,
-0.059404775500297546,
0.17216235399246216,
0.11405748873949051,
0.06785926222801208,
-0.3625163733959198,
0.053154341876506805,
0.12215019762516022,
-0.28229185938835144,
-0.1404854655265808,
-0.1633896380662918,
-0.48933643102645874,
0.5654209852218628,
0.018066097050905228,
0.4394148886203766,
-0.5728573203086853,
-0.020757906138896942,
0.14036116003990173,
0.1990027129650116,
-0.1472385823726654,
0.08842046558856964,
-0.05520451068878174,
0.12396468222141266,
0.05106256902217865,
-0.17698504030704498,
-0.28367680311203003,
-0.19759050011634827,
0.00446072593331337,
0.09633933007717133,
0.4677964150905609,
0.6675525307655334,
0.028260163962841034,
0.0736965537071228,
-0.04844122380018234,
-0.14241011440753937,
-0.008459813892841339,
0.13646407425403595,
0.07708784937858582,
-0.06094707176089287,
-0.2005917727947235,
-0.08307253569364548,
-0.12871792912483215,
-0.15138278901576996,
-0.19232477247714996,
-0.08459316194057465,
0.09418802708387375,
-0.1049557700753212,
0.13203392922878265,
0.2557370066642761,
0.4704188406467438,
0.02321377396583557,
-0.04192386195063591,
0.14716720581054688,
-0.0810462161898613,
-0.19097286462783813,
0.34192585945129395,
0.13732358813285828,
0.4300389587879181,
0.182478666305542,
-0.09511400014162064,
0.40830671787261963,
-0.2992956340312958,
0.11305404454469681,
-0.18674463033676147,
-0.17799749970436096,
0.3224026560783386,
-0.22263239324092865,
0.3367409408092499,
0.0987151712179184,
-0.3081272840499878,
0.12224121391773224,
0.03837123140692711,
-0.1841757446527481,
0.024864211678504944,
0.26688116788864136,
-0.19858665764331818,
-0.3221021294593811,
0.14455008506774902,
0.07999221980571747,
0.43134063482284546,
0.5191514492034912,
0.2337241768836975,
0.1299065351486206,
-0.10548948496580124,
-0.07669463008642197,
-0.2687017321586609,
-0.2513389587402344,
0.11704696714878082,
0.31293731927871704,
0.2610231339931488,
0.39864346385002136,
0.129849374294281,
0.13110296428203583,
-0.05735001340508461,
0.26859816908836365,
0.06873350590467453,
0.13407769799232483,
0.1610431671142578,
0.05329611524939537,
0.03892763331532478,
0.051789090037345886,
0.03873080387711525,
0.09133338928222656,
0.014038590714335442,
0.06789259612560272,
-0.3367912471294403,
-0.08251579850912094,
-0.14134779572486877,
-0.6328261494636536,
-0.3460976183414459,
-0.1176697313785553,
-0.16764786839485168,
0.11738890409469604,
-0.2537333071231842,
-0.12290854752063751,
0.09564083814620972,
0.2261401116847992,
0.13109198212623596,
-0.6019496917724609,
0.6275582313537598,
0.2970808744430542,
-0.34211480617523193,
0.12929131090641022,
0.17853255569934845,
0.6514776945114136,
0.12800095975399017,
0.3910943269729614,
-0.3002183735370636,
-0.07281291484832764,
0.12107060104608536,
-0.6010224223136902,
0.17529654502868652,
-0.15537326037883759,
0.11254975944757462,
-0.05057390034198761,
0.03143013268709183,
0.19026127457618713,
-0.25839748978614807,
0.09103883057832718,
0.10172581672668457,
-0.14659027755260468,
-0.2994806468486786,
-0.02834189683198929,
-0.1031428873538971,
0.08137625455856323,
-0.6282124519348145,
-0.38762688636779785,
-0.20353373885154724,
0.2029256522655487,
-0.07008413970470428,
0.10275772213935852,
-0.073847696185112,
-0.01331774890422821,
0.25610843300819397,
-0.008368277922272682,
0.10847718268632889,
-0.11829162389039993,
-0.20608367025852203,
0.2710956335067749,
-0.22522492706775665,
-0.10378952324390411,
0.1763516217470169,
-0.014574039727449417,
0.18117870390415192,
-0.11080438643693924,
-0.05097382515668869,
0.02517639473080635,
-0.067696213722229,
0.05878080800175667,
0.188271626830101,
0.42209765315055847,
0.49401718378067017,
0.2088334709405899,
-0.13723449409008026,
-0.04402013495564461,
-0.2996307909488678,
-0.05741477757692337,
0.07056672126054764,
0.16151535511016846,
-0.06771337240934372,
0.35732579231262207,
-0.04859853908419609,
0.6652360558509827,
-0.015331985428929329,
0.18603432178497314,
-0.018413029611110687,
0.4138299822807312,
-0.03855503723025322,
-0.06874959915876389,
-0.23930875957012177,
0.5024372935295105,
-0.21419501304626465,
-0.02624836564064026,
0.3951113224029541,
0.01331425178796053,
-0.06570911407470703,
-0.2208237200975418,
-0.08652950078248978,
-0.23633715510368347,
-0.1980285495519638,
0.30475008487701416,
0.09298829734325409,
0.2338365614414215,
0.23963874578475952,
-0.4855433404445648,
-0.43696245551109314,
-0.09352072328329086,
0.09606394171714783,
0.23693402111530304,
-0.10556254535913467,
0.12570691108703613,
-0.29641371965408325,
0.18587297201156616,
-0.3035455346107483,
0.22620317339897156,
0.2645387351512909,
-0.03819318860769272,
-0.1556687206029892,
-0.13014772534370422,
-0.13874223828315735,
-0.2553040683269501,
0.18859797716140747,
-0.20348715782165527,
-0.13460604846477509,
-0.1106334924697876,
-0.05485919862985611,
0.22055716812610626,
-0.00863339751958847,
-0.3086845278739929,
-0.34416815638542175,
0.2283805012702942,
0.3943161368370056,
-0.19531816244125366,
-0.3025718033313751,
0.22253049910068512,
0.471944659948349,
-0.2235749512910843,
0.04155823588371277,
0.10493765771389008,
-0.4068595767021179,
-0.1315133422613144,
0.12985363602638245,
0.106972835958004,
0.05346721410751343,
-0.19155500829219818,
0.01951616257429123,
0.12365060299634933,
0.037728697061538696,
0.3255193531513214,
-0.08599989116191864,
-0.24260994791984558,
0.3543318808078766,
0.2528563141822815,
0.015416581183671951,
0.3318904638290405,
0.2549102306365967,
0.2889117896556854,
-0.1925358921289444,
0.15282267332077026,
-0.06465693563222885,
-0.1920333355665207,
0.43128395080566406,
0.44106385111808777,
0.2781997323036194,
0.35169607400894165,
0.31272488832473755,
0.02592279762029648,
-0.48679399490356445,
0.20116545259952545,
0.12660467624664307,
0.5129583477973938,
-0.5041030049324036,
-0.25589853525161743,
0.012612193822860718,
0.12432549893856049,
-0.1933896243572235,
0.20408670604228973,
-0.0824006199836731,
-0.18993185460567474,
-0.07651553303003311,
0.048716459423303604,
0.9690640568733215,
-0.22164295613765717,
-0.026550281792879105,
-0.05179327726364136,
-0.490100622177124,
0.10385202616453171,
-0.02951248735189438,
-0.10432590544223785,
0.12372978031635284,
-0.05655854940414429,
-0.0927288606762886,
-0.0086570605635643,
0.1279105544090271,
0.21391670405864716,
-0.08572433143854141,
0.11139722913503647,
0.2992406487464905,
0.4184299111366272,
-0.00988348200917244,
0.2876177728176117,
-0.19502143561840057,
-0.2652139961719513,
-0.024482320994138718,
0.1936713457107544,
-0.1536497175693512,
-0.18944399058818817,
-0.22767740488052368,
-0.21858645975589752,
-0.05546720325946808,
0.04910401254892349,
-0.14817258715629578,
-0.09513307362794876,
-0.5354725122451782,
-0.10113287717103958,
-0.4585919976234436,
-0.24033907055854797,
0.6124228835105896,
-0.22562703490257263,
0.2132951021194458,
0.04409177228808403,
-0.1900215595960617,
-0.10895892977714539,
-0.34841227531433105,
0.0281129851937294,
-0.04335012286901474,
-0.19263650476932526,
0.3179342448711395,
-0.28029295802116394,
-0.2060069441795349,
-0.20968735218048096,
-0.01581127755343914,
0.18834513425827026,
-0.48440948128700256,
-0.04583960771560669,
0.6712778806686401,
0.05673742666840553,
0.14888082444667816,
0.6726630926132202,
0.03533486649394035,
-0.3164680600166321,
0.16545259952545166,
0.0341288223862648,
-0.2199995517730713,
0.32757067680358887,
0.06456273049116135,
0.14028066396713257,
-0.09012268483638763,
-0.0036444813013076782,
0.2262313961982727,
0.05957271158695221,
0.24181950092315674,
0.6461639404296875,
-0.26427537202835083,
-0.24746572971343994,
0.189357191324234,
0.28730151057243347,
-0.274321973323822,
-0.006765889935195446,
0.2704024016857147,
-0.0467572882771492,
-0.16641075909137726,
0.4253707826137543,
0.34036242961883545,
-0.23569095134735107,
-0.08535946160554886,
-0.14263656735420227,
-0.08111678063869476,
0.2775222659111023,
0.17118209600448608,
0.08463447540998459,
-0.2752102017402649,
0.3990422785282135,
-0.011233294382691383,
0.6208128929138184,
-0.40609753131866455,
0.21601195633411407,
0.20942430198192596,
0.09884964674711227,
-0.009261034429073334,
-0.34483426809310913,
-0.06124648451805115,
0.01333116926252842,
-0.03475886583328247,
-0.08610913157463074,
-0.24868366122245789,
-0.23908042907714844,
-0.29114678502082825,
0.11492855101823807,
-0.032170619815588,
-0.16321688890457153,
0.4232774078845978,
-0.06558877229690552,
0.05812252685427666,
-0.009794367477297783,
0.018304388970136642,
0.1564292013645172,
-0.0926273912191391,
-0.09244445711374283,
0.3869187533855438,
0.04317043721675873,
-0.040990378707647324,
0.09574329853057861,
0.39919692277908325,
-0.1359894722700119,
-0.005923719145357609,
0.05829431861639023,
0.3571394085884094,
0.00267907977104187,
-0.03373105823993683,
0.28698381781578064,
0.2665194869041443,
-0.03146055340766907,
0.008192174136638641,
0.06175023317337036,
-0.11020277440547943,
0.5140066146850586,
0.2566014528274536,
0.10576170682907104,
0.24329827725887299,
0.15026593208312988,
0.16012516617774963,
0.1831042468547821,
-0.3866066038608551,
0.25130516290664673,
-0.056019362062215805,
-0.2595534324645996,
0.06666459143161774,
0.20717346668243408,
0.24514952301979065,
0.1125451922416687,
-0.13907895982265472,
-0.03709591180086136,
-0.27124860882759094,
-0.09509076923131943,
0.15593574941158295,
0.21314509212970734,
0.06740835309028625,
0.18920375406742096,
0.3377935290336609,
0.05094365403056145,
0.13248948752880096,
-0.16294771432876587,
0.027281176298856735,
0.3903064727783203,
0.05543152242898941,
0.03190521523356438,
0.33958497643470764,
-0.16884616017341614,
0.04579336941242218,
0.026030905544757843,
0.29149091243743896,
-0.23765161633491516,
-0.020149052143096924,
0.5807254314422607,
0.16006770730018616,
-0.11897344142198563,
-0.05241920053958893,
0.33562734723091125,
-0.05844205617904663,
-0.16661947965621948,
-0.010814139619469643,
-0.41815459728240967,
-0.29520583152770996,
-0.040843039751052856,
-0.13485898077487946,
-0.23099632561206818,
0.24736392498016357,
0.07020223140716553,
0.1005069762468338,
-0.1380838006734848,
-0.06720147281885147,
-0.13628098368644714,
0.01587747037410736,
-0.2485753446817398,
0.18268100917339325,
0.4521182179450989,
-0.18942421674728394,
-0.05215250328183174,
0.23219773173332214,
0.012570913881063461,
0.08939999341964722,
-0.4005436301231384,
0.1407046914100647,
-0.05093981698155403,
0.0296028945595026,
-0.09894931316375732,
0.1470634937286377,
-0.03203000873327255,
-0.06560966372489929,
0.28857243061065674,
0.08960054814815521,
-0.2437119483947754,
-0.04355448856949806,
0.0117877759039402,
-0.5162259340286255,
-0.2682152986526489,
0.16487103700637817,
-0.07384714484214783,
0.1305793821811676,
-0.21376574039459229,
0.2959306240081787,
-0.34767261147499084,
-0.015789851546287537,
0.41132426261901855,
-0.3334144949913025,
-0.03140496090054512,
-0.15752846002578735,
0.09530296921730042,
-0.05254436656832695,
0.3496538996696472,
0.17166854441165924,
0.06749740242958069,
-0.2265099585056305,
-0.13932499289512634,
-0.6164804100990295,
-0.30480214953422546,
0.0049405284225940704,
0.3572182059288025,
-0.30224040150642395,
0.15380379557609558,
0.3493516147136688,
0.34053951501846313,
0.22139759361743927,
0.07839419692754745,
-0.20739148557186127,
-0.01676587015390396,
-0.5220152735710144,
0.21530412137508392,
0.06265750527381897,
0.1517883539199829,
0.2941264510154724,
0.02529039978981018,
-0.13051196932792664,
0.22036112844944,
0.01661568135023117,
-0.37235331535339355,
0.09269244968891144,
0.04143638536334038,
0.060017265379428864,
-0.021908149123191833,
0.13735468685626984,
0.32906976342201233,
-0.12515337765216827,
-0.07738266885280609,
-0.12155427038669586,
-0.12142661213874817,
-0.0786161795258522,
0.3409278988838196,
-0.1296154111623764,
0.2264365255832672,
-0.26583150029182434,
-0.20608149468898773,
0.15880997478961945,
-0.2839061915874481,
-0.310852587223053,
0.05739950016140938,
-0.22205373644828796,
-0.03724868595600128,
-0.03855600208044052,
-0.010687462985515594,
0.33765506744384766,
0.34232839941978455,
0.12190266698598862,
0.08674672245979309,
-0.14170710742473602,
-0.11584150791168213,
0.27126365900039673,
0.2748298943042755,
-0.2611245810985565,
-0.4124904274940491,
-0.12765894830226898,
0.19905191659927368,
-0.0580437108874321,
-0.6581571102142334,
-0.010013431310653687,
0.13996587693691254,
0.10819339752197266,
0.107267364859581,
0.5315966010093689,
-0.08699077367782593,
-0.3634592294692993,
-0.030610404908657074,
-0.0585242360830307,
-0.05227240175008774,
0.03903660923242569,
-0.3930928707122803,
-0.11564002931118011
] |
https://github.com/huggingface/datasets/issues/4709 | WMT21 & WMT22 | Hello @lhoestq ,
Would it be possible for me to be granted in the WMT organization (on hf ofc) in order to facilitate dataset uploads? I've already initiated the joining process at this link: https://huggingface.co/wmt
I appreciate your help with this. Thank you! | ## Adding a Dataset
- **Name:** WMT21 & WMT22
- **Description:** We are going to have three tracks: two small tasks and a large task.
The small tracks evaluate translation between fairly related languages and English (all pairs). The large track uses 101 languages.
- **Paper:** /
- **Data:** https://statmt.org/wmt21/large-scale-multilingual-translation-task.html https://statmt.org/wmt22/large-scale-multilingual-translation-task.html
- **Motivation:** Many more languages than previous WMT versions - Could be very high impact
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/main/ADD_NEW_DATASET.md).
I could also tackle this. I saw the existing logic for WMT models is a bit complex (datasets are stored on the wmt account & retrieved in separate wmt datasets afaict). How long do you think it would take me? @lhoestq
| 43 | WMT21 & WMT22
## Adding a Dataset
- **Name:** WMT21 & WMT22
- **Description:** We are going to have three tracks: two small tasks and a large task.
The small tracks evaluate translation between fairly related languages and English (all pairs). The large track uses 101 languages.
- **Paper:** /
- **Data:** https://statmt.org/wmt21/large-scale-multilingual-translation-task.html https://statmt.org/wmt22/large-scale-multilingual-translation-task.html
- **Motivation:** Many more languages than previous WMT versions - Could be very high impact
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/main/ADD_NEW_DATASET.md).
I could also tackle this. I saw the existing logic for WMT models is a bit complex (datasets are stored on the wmt account & retrieved in separate wmt datasets afaict). How long do you think it would take me? @lhoestq
Hello @lhoestq ,
Would it be possible for me to be granted in the WMT organization (on hf ofc) in order to facilitate dataset uploads? I've already initiated the joining process at this link: https://huggingface.co/wmt
I appreciate your help with this. Thank you! | [
-0.15642476081848145,
0.18043869733810425,
0.0043597035109996796,
0.25199854373931885,
0.09361022710800171,
0.11530362814664841,
0.2234153300523758,
-0.06339950859546661,
0.11364459991455078,
0.20126934349536896,
-0.2565426826477051,
-0.4115211069583893,
-0.2081802934408188,
0.3392287492752075,
0.14235825836658478,
-0.18244428932666779,
0.08996814489364624,
-0.3294820785522461,
-0.8012068271636963,
-0.07097895443439484,
-0.12422380596399307,
-0.1786598116159439,
-0.019390519708395004,
-0.26662594079971313,
-0.2573307752609253,
-0.27102234959602356,
-0.45619508624076843,
-0.024676531553268433,
-0.47380754351615906,
0.0822918489575386,
-0.2226894199848175,
0.4270724654197693,
0.22079746425151825,
0.6477275490760803,
-0.0001206783126690425,
-0.20676344633102417,
0.009854435920715332,
0.02526344545185566,
-0.09578834474086761,
-0.34547287225723267,
-0.30268359184265137,
-0.4354879856109619,
-0.4379640221595764,
0.19192495942115784,
0.08981599658727646,
0.20428328216075897,
0.04976751282811165,
-0.3455108404159546,
0.2904457747936249,
0.22788292169570923,
0.09735248982906342,
0.4049586355686188,
0.08746568858623505,
-0.200266033411026,
0.1739557981491089,
0.21399053931236267,
-0.11439809203147888,
0.036970265209674835,
0.36249005794525146,
-0.17301452159881592,
0.17719823122024536,
0.1087181568145752,
0.2418675720691681,
0.017849113792181015,
0.2971002161502838,
0.08155820518732071,
0.04642230272293091,
-0.3531990945339203,
-0.10048151761293411,
0.4928462505340576,
0.5554730892181396,
0.16537892818450928,
-0.609904408454895,
-0.04392733797430992,
-0.0963641107082367,
-0.2645144760608673,
0.10820265114307404,
0.23358596861362457,
0.007051747292280197,
0.14190985262393951,
0.07919098436832428,
-0.10055547207593918,
-0.03666549175977707,
-0.02678316831588745,
-0.024873007088899612,
0.5587965250015259,
0.1392543613910675,
0.006171327084302902,
-0.012473758310079575,
-0.2874913811683655,
0.1448671519756317,
-0.10561761260032654,
0.12404900789260864,
0.27130502462387085,
-0.10577821731567383,
0.08813969790935516,
0.2800436019897461,
0.22654277086257935,
0.13872292637825012,
-0.10523542761802673,
-0.02893519401550293,
-0.10307417064905167,
-0.2937980592250824,
-0.03748433291912079,
0.1624680757522583,
-0.019526027143001556,
-0.49767357110977173,
-0.42301273345947266,
-0.02087390422821045,
-0.05277983844280243,
0.019639935344457626,
0.15538839995861053,
-0.1713455319404602,
-0.27465730905532837,
-0.3299122154712677,
-0.18440330028533936,
0.08957306295633316,
-0.035620495676994324,
-0.007568648084998131,
-0.23021121323108673,
0.15151962637901306,
-0.486595094203949,
-0.20368768274784088,
0.1478937268257141,
-0.11580926924943924,
0.02310207299888134,
0.1399773508310318,
0.15556985139846802,
-0.07016624510288239,
-0.0919775664806366,
-0.061470162123441696,
0.14240914583206177,
-0.066024050116539,
0.13691750168800354,
0.147239089012146,
0.18329060077667236,
-0.34859728813171387,
0.22636669874191284,
0.20653465390205383,
0.011683635413646698,
0.02392968349158764,
-0.08726377785205841,
0.08749809861183167,
-0.04639950022101402,
-0.05005813017487526,
0.20640841126441956,
-0.18033713102340698,
0.03794863075017929,
-0.1226205974817276,
0.10769331455230713,
0.08759657293558121,
-0.07791419327259064,
-0.17297041416168213,
0.08713064342737198,
0.19095829129219055,
-0.10876719653606415,
0.07174815237522125,
0.5756378769874573,
-0.19361841678619385,
0.30338841676712036,
-0.08307894319295883,
0.23183119297027588,
-0.24041704833507538,
0.2092617303133011,
-0.1313774436712265,
0.5515537858009338,
-0.28311920166015625,
0.07331791520118713,
0.07314541935920715,
0.1519421935081482,
0.0855090469121933,
0.2689563035964966,
-0.2963568866252899,
0.2880653142929077,
0.0636979416012764,
-0.009256333112716675,
0.04551532119512558,
-0.19482579827308655,
0.08629098534584045,
-0.22251184284687042,
-0.36525803804397583,
-0.19144316017627716,
0.25468742847442627,
0.19833549857139587,
0.04664793610572815,
-0.22816789150238037,
0.026044730097055435,
0.24580924212932587,
-0.14038118720054626,
-0.08781647682189941,
-0.15050402283668518,
-0.30151256918907166,
0.6718409061431885,
0.004346858710050583,
0.3145297169685364,
-0.35003426671028137,
0.048055242747068405,
0.0823829248547554,
0.26671361923217773,
-0.181990846991539,
0.029175860807299614,
0.016646167263388634,
0.12116378545761108,
-0.021515890955924988,
-0.0865638330578804,
-0.12070301175117493,
-0.12293257564306259,
0.021866895258426666,
0.1913878172636032,
0.6385989189147949,
0.6819272041320801,
0.08627036213874817,
-0.008357923477888107,
0.09300941973924637,
-0.20805145800113678,
0.17688307166099548,
0.011051736772060394,
0.15810748934745789,
-0.05828586965799332,
-0.3709457814693451,
-0.04111871123313904,
0.042190954089164734,
-0.27868857979774475,
0.01134966779500246,
-0.04374285042285919,
0.012975720688700676,
-0.1535269320011139,
0.2616778314113617,
0.2950737476348877,
0.33125483989715576,
0.053475260734558105,
0.000028219074010849,
0.08675051480531693,
-0.118979312479496,
-0.1418248862028122,
0.41885828971862793,
0.14800766110420227,
0.43962281942367554,
0.12802447378635406,
-0.0025775246322155,
0.29976361989974976,
-0.4122321605682373,
0.17390121519565582,
-0.23820343613624573,
-0.08501269668340683,
0.3736134171485901,
-0.3077745735645294,
0.3324681520462036,
0.17716404795646667,
-0.3548043966293335,
0.1719656139612198,
0.059267621487379074,
-0.25134041905403137,
0.08759985864162445,
0.251699298620224,
-0.09433393180370331,
-0.279631644487381,
0.0426250621676445,
0.07973833382129669,
0.39737579226493835,
0.36680442094802856,
0.24034538865089417,
0.008438117802143097,
-0.14479684829711914,
-0.0014712586998939514,
-0.23862814903259277,
-0.08734522759914398,
0.08967837691307068,
0.3541560769081116,
0.2518307566642761,
0.3713333308696747,
0.036262981593608856,
0.02492937445640564,
-0.06423074007034302,
0.2847411334514618,
-0.10918691754341125,
0.024776678532361984,
0.3719061017036438,
0.0807906836271286,
0.1657932698726654,
-0.07925195246934891,
0.03775936737656593,
0.08634193986654282,
0.012645639479160309,
-0.07069326192140579,
-0.28828781843185425,
-0.005053503438830376,
-0.11339538544416428,
-0.39842721819877625,
-0.3554929196834564,
-0.1641523838043213,
-0.133981391787529,
-0.0005887709558010101,
-0.31034114956855774,
0.014212902635335922,
0.18624575436115265,
0.15082238614559174,
0.2986137270927429,
-0.5699478387832642,
0.599830687046051,
0.30047449469566345,
-0.07882807403802872,
0.07201927900314331,
0.059846747666597366,
0.7220854759216309,
0.09996934235095978,
0.4256487190723419,
-0.17792701721191406,
-0.01435648649930954,
-0.13473527133464813,
-0.49753421545028687,
0.042835041880607605,
0.055520135909318924,
0.13064822554588318,
-0.2112172245979309,
0.1210186555981636,
0.20844756066799164,
-0.20801730453968048,
0.046043071895837784,
0.1802138388156891,
-0.2883814573287964,
-0.2247561514377594,
-0.14653225243091583,
-0.2689771354198456,
0.15495872497558594,
-0.5299932360649109,
-0.5463398098945618,
-0.16898472607135773,
0.31733256578445435,
0.010724786669015884,
0.14596235752105713,
0.11580932140350342,
-0.05598016455769539,
0.2337273508310318,
-0.038878004997968674,
0.16137036681175232,
-0.19959914684295654,
-0.3240695595741272,
0.44882965087890625,
-0.11229397356510162,
-0.1814514696598053,
0.366868257522583,
-0.03621279448270798,
0.22633224725723267,
-0.022922299802303314,
0.09625446796417236,
0.05053694173693657,
-0.07326071709394455,
0.013978429138660431,
0.13030347228050232,
0.43316906690597534,
0.5521962642669678,
0.033161938190460205,
-0.09137600660324097,
-0.045364417135715485,
-0.37439075112342834,
-0.13054698705673218,
0.18769025802612305,
0.2195921242237091,
-0.11518838256597519,
0.3786528408527374,
-0.16820190846920013,
0.8262740969657898,
-0.0347372442483902,
0.12726990878582,
0.1054571345448494,
0.23908402025699615,
-0.03473098948597908,
0.02825770154595375,
-0.4421478807926178,
0.3913663327693939,
-0.2635073661804199,
0.03494446352124214,
0.28606945276260376,
0.07423867285251617,
0.0401061549782753,
-0.20037959516048431,
0.1733970195055008,
-0.3749697506427765,
-0.1674535572528839,
0.20221082866191864,
0.05964391678571701,
0.3469492197036743,
0.2432890236377716,
-0.5651354193687439,
-0.518295407295227,
-0.21999216079711914,
0.01775163598358631,
0.5164291262626648,
0.05386888608336449,
0.0864415392279625,
-0.27983707189559937,
0.21233311295509338,
-0.3476261794567108,
0.182988703250885,
0.2203093320131302,
0.1937159150838852,
-0.23432928323745728,
-0.058452919125556946,
0.05162900313735008,
-0.17075753211975098,
0.2301262617111206,
-0.236747607588768,
-0.012540489435195923,
-0.13317812979221344,
-0.0021810382604599,
0.39145511388778687,
-0.042361170053482056,
-0.22734887897968292,
-0.34372055530548096,
0.2439080774784088,
0.36678120493888855,
-0.1304251253604889,
-0.026069996878504753,
0.06089772656559944,
0.22856374084949493,
-0.15696001052856445,
0.06213073804974556,
0.1346200853586197,
-0.42395836114883423,
-0.2331937551498413,
0.010396130383014679,
0.2101949006319046,
0.13158535957336426,
-0.09950169175863266,
0.011838972568511963,
-0.03447502851486206,
0.09569856524467468,
0.4160207509994507,
-0.3137723207473755,
-0.41785329580307007,
0.5255827903747559,
0.26462945342063904,
0.0640990287065506,
0.4176188111305237,
0.37911614775657654,
0.4338515102863312,
-0.21661290526390076,
0.14606590569019318,
-0.11810924857854843,
-0.1557607799768448,
0.4963667094707489,
0.5757378339767456,
0.35809412598609924,
0.35972291231155396,
0.2566853165626526,
0.04512824863195419,
-0.522415041923523,
0.2930484712123871,
0.10141828656196594,
0.4342995882034302,
-0.6357424855232239,
-0.15320707857608795,
0.03202825412154198,
0.06303317844867706,
-0.18242283165454865,
0.1443856805562973,
0.15441890060901642,
-0.15208697319030762,
-0.29726260900497437,
0.0036562681198120117,
1.2012983560562134,
-0.24976010620594025,
0.0673975795507431,
-0.09787987917661667,
-0.5548909306526184,
0.06531017273664474,
-0.07057800889015198,
-0.19166432321071625,
-0.04488155618309975,
-0.05443347245454788,
-0.19372448325157166,
-0.12612895667552948,
0.20408326387405396,
0.2597886025905609,
0.04228402301669121,
-0.03632534667849541,
0.18957917392253876,
0.3980529308319092,
0.005799463950097561,
0.39917269349098206,
-0.17898119986057281,
-0.3210689425468445,
-0.046321794390678406,
0.0955338329076767,
-0.041011370718479156,
-0.12707176804542542,
-0.18871361017227173,
-0.26962077617645264,
-0.08805131912231445,
0.09970182180404663,
-0.349157452583313,
-0.16840693354606628,
-0.6222115159034729,
-0.23978860676288605,
-0.243802011013031,
-0.16422569751739502,
0.7421386241912842,
-0.21534502506256104,
0.12839773297309875,
0.17005282640457153,
-0.21014772355556488,
-0.026521336287260056,
-0.46927183866500854,
-0.07991370558738708,
-0.2205108255147934,
-0.16126103699207306,
0.2675608992576599,
-0.26247742772102356,
-0.03696078062057495,
-0.3011559247970581,
-0.15754108130931854,
0.13304543495178223,
-0.5308796167373657,
0.0460524782538414,
0.5944235324859619,
-0.00973473396152258,
0.023266592994332314,
0.6272066831588745,
0.0649821013212204,
-0.18870216608047485,
0.08207358419895172,
0.06452924758195877,
-0.12130016088485718,
0.19485266506671906,
0.2606510519981384,
0.17835140228271484,
-0.02952103316783905,
0.21658608317375183,
0.07900232076644897,
0.006842363625764847,
0.3382464051246643,
0.474797785282135,
-0.2625311315059662,
-0.13208667933940887,
0.18553608655929565,
0.2878772020339966,
-0.2814425230026245,
-0.012246773578226566,
0.5035966634750366,
0.1391192525625229,
-0.1570822298526764,
0.2953927516937256,
0.43120473623275757,
-0.32007771730422974,
-0.02129337005317211,
-0.28064820170402527,
0.031422875821590424,
0.16080230474472046,
0.053420886397361755,
0.08357155323028564,
-0.5386868715286255,
0.3651662766933441,
-0.06605472415685654,
0.6426284909248352,
-0.26719018816947937,
0.21126322448253632,
0.24425500631332397,
0.10038189589977264,
0.26892906427383423,
-0.28619349002838135,
-0.21122808754444122,
0.001282709650695324,
-0.11548381298780441,
-0.07028764486312866,
-0.20845887064933777,
-0.14735597372055054,
-0.21371454000473022,
0.17851361632347107,
0.16187170147895813,
-0.25013118982315063,
0.5732427835464478,
-0.16037501394748688,
-0.10675492882728577,
0.08357839286327362,
-0.1562873274087906,
-0.02049802616238594,
-0.1503075361251831,
-0.2868282198905945,
0.4315830171108246,
0.16540536284446716,
-0.0484403520822525,
0.10934417694807053,
0.4808318018913269,
-0.012206368148326874,
0.11471414566040039,
0.040335409343242645,
0.32522276043891907,
-0.026095401495695114,
-0.0948130190372467,
0.3160507380962372,
0.35839635133743286,
-0.1037735566496849,
0.09633730351924896,
-0.07372365891933441,
0.008091535419225693,
0.3267398476600647,
0.24179577827453613,
-0.08726952970027924,
0.2632720172405243,
0.24345125257968903,
0.048750922083854675,
0.07003490626811981,
-0.3933286964893341,
0.13580679893493652,
-0.06890422105789185,
-0.24685882031917572,
0.027342069894075394,
0.16586199402809143,
0.21992066502571106,
0.10906951129436493,
-0.1856728345155716,
-0.1403806209564209,
-0.3482663333415985,
0.03684315085411072,
0.08040179312229156,
0.12550516426563263,
-0.012132667005062103,
0.20877239108085632,
0.41600552201271057,
0.13223828375339508,
-0.04010754078626633,
-0.1996290534734726,
0.060661666095256805,
0.392383337020874,
0.04825400188565254,
0.031255535781383514,
0.26905393600463867,
-0.46012023091316223,
0.10326027870178223,
0.03812415897846222,
0.3704276978969574,
-0.23446336388587952,
0.053129762411117554,
0.5628511309623718,
0.0791485458612442,
-0.19848355650901794,
-0.06917697191238403,
0.4228769838809967,
-0.014001946896314621,
-0.21418356895446777,
0.10496358573436737,
-0.5201929807662964,
-0.3607446551322937,
-0.07525382936000824,
-0.06315794587135315,
-0.3504692316055298,
0.019080080091953278,
0.030333485454320908,
0.14245370030403137,
-0.22410808503627777,
-0.022337976843118668,
-0.034013889729976654,
-0.031176581978797913,
-0.26568982005119324,
0.3132612407207489,
0.21559083461761475,
-0.12358735501766205,
-0.005176186561584473,
0.1358993500471115,
0.1861037313938141,
0.0893060564994812,
-0.19898337125778198,
0.32649073004722595,
-0.10881666839122772,
-0.0272816214710474,
0.021825455129146576,
0.4184626340866089,
-0.10707518458366394,
-0.1454477310180664,
0.16735951602458954,
-0.020331306383013725,
-0.12913377583026886,
-0.17901191115379333,
-0.08510595560073853,
-0.4773360788822174,
-0.4414410889148712,
0.23402485251426697,
-0.20401331782341003,
0.06735870987176895,
-0.32518208026885986,
0.20075035095214844,
-0.2210550308227539,
-0.08206410706043243,
0.42525309324264526,
-0.3735041618347168,
0.05940881371498108,
-0.164180189371109,
0.03145145624876022,
-0.20523248612880707,
0.4030602276325226,
0.2787117660045624,
0.20531010627746582,
-0.21852412819862366,
-0.22138381004333496,
-0.6718122363090515,
-0.216656893491745,
0.04958156868815422,
0.27402710914611816,
-0.3471413254737854,
0.1271510273218155,
0.3813958764076233,
0.2460562139749527,
0.36132001876831055,
-0.004092386923730373,
-0.16925622522830963,
0.04654722660779953,
-0.40460705757141113,
0.14536406099796295,
0.06718549132347107,
0.12766502797603607,
0.12168186902999878,
0.005605921149253845,
-0.11612395942211151,
0.2794294059276581,
-0.08489353954792023,
-0.36907267570495605,
0.09341093897819519,
-0.053563088178634644,
0.19579489529132843,
-0.06787995994091034,
0.20663462579250336,
0.5042665600776672,
-0.011801434680819511,
0.056090570986270905,
-0.09889884293079376,
-0.05673377588391304,
-0.07907190173864365,
0.3366924226284027,
-0.046482380479574203,
0.2824499011039734,
-0.0661524310708046,
-0.19556120038032532,
0.19901107251644135,
-0.26962003111839294,
-0.355390727519989,
-0.08246488869190216,
-0.3172084093093872,
-0.048704005777835846,
-0.08893608301877975,
0.0348963737487793,
0.3144721984863281,
0.16658911108970642,
0.2405981570482254,
0.11055916547775269,
-0.28876084089279175,
-0.11985045671463013,
0.21387457847595215,
0.13040632009506226,
-0.2028517872095108,
-0.4049837291240692,
0.04239271581172943,
0.08444871008396149,
-0.0077523887157440186,
-0.5322446227073669,
-0.07536818087100983,
0.2110641598701477,
-0.13090720772743225,
0.22109872102737427,
0.5551011562347412,
-0.0975857675075531,
-0.18853174149990082,
-0.13910090923309326,
0.07863561809062958,
-0.1070050373673439,
0.09544092416763306,
-0.3562823534011841,
-0.08038821816444397
] |
https://github.com/huggingface/datasets/issues/4707 | Dataset Viewer issue for TheNoob3131/mosquito-data | Thanks for reporting. I refreshed the dataset viewer and it now works as expected.
https://huggingface.co/datasets/TheNoob3131/mosquito-data
<img width="1135" alt="Capture d’écran 2022-07-18 à 13 15 22" src="https://user-images.githubusercontent.com/1676121/179566497-e47f1a27-fd84-4a8d-9d7f-2e0f2da803df.png">
We will investigate why it occurred in the first place
| ### Link
_No response_
### Description
Getting this error when trying to view dataset preview:
Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Africa_train.csv')
### Owner
_No response_ | 35 | Dataset Viewer issue for TheNoob3131/mosquito-data
### Link
_No response_
### Description
Getting this error when trying to view dataset preview:
Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Africa_train.csv')
### Owner
_No response_
Thanks for reporting. I refreshed the dataset viewer and it now works as expected.
https://huggingface.co/datasets/TheNoob3131/mosquito-data
<img width="1135" alt="Capture d’écran 2022-07-18 à 13 15 22" src="https://user-images.githubusercontent.com/1676121/179566497-e47f1a27-fd84-4a8d-9d7f-2e0f2da803df.png">
We will investigate why it occurred in the first place
| [
0.022611316293478012,
-0.0251481831073761,
0.04436833783984184,
0.34771406650543213,
0.3525639772415161,
-0.014849592000246048,
0.28393515944480896,
0.34438008069992065,
-0.5440011620521545,
0.2593802511692047,
-0.3092680871486664,
-0.035563066601753235,
0.003264952450990677,
-0.2861487865447998,
-0.10172033309936523,
-0.15066754817962646,
-0.27073726058006287,
-0.020035654306411743,
-0.15215004980564117,
0.12390899658203125,
-0.2351597398519516,
0.09540195763111115,
-0.29086536169052124,
0.12886890769004822,
-0.09025968611240387,
0.025769345462322235,
-0.09807148575782776,
0.039849840104579926,
-0.26482099294662476,
-0.42527657747268677,
0.08633565157651901,
0.1445782482624054,
0.3181135058403015,
0.25475379824638367,
-0.00011575269309105352,
0.11687611043453217,
0.3115345239639282,
0.18481972813606262,
-0.11166493594646454,
-0.07587100565433502,
-0.19878003001213074,
-0.18023288249969482,
-0.05000411719083786,
-0.10119199007749557,
-0.3589330017566681,
-0.457338809967041,
0.09925872087478638,
0.004980992525815964,
0.294919490814209,
0.435903400182724,
0.16758562624454498,
0.08180654048919678,
0.25372496247291565,
0.01179275382310152,
0.050864167511463165,
0.014352694153785706,
-0.22406117618083954,
0.16481226682662964,
0.2441168874502182,
0.19307370483875275,
-0.23386481404304504,
0.2651585042476654,
0.11728619039058685,
0.19079650938510895,
-0.09172635525465012,
-0.12708668410778046,
0.29578903317451477,
-0.5150859355926514,
0.3734714090824127,
0.037956781685352325,
0.6480405330657959,
0.1997070014476776,
-0.3219403624534607,
-0.09129844605922699,
0.06464213877916336,
0.1918223351240158,
0.1973443478345871,
0.3626864552497864,
0.0764971524477005,
0.3426283895969391,
-0.28807827830314636,
-0.10482165217399597,
-0.3828038275241852,
0.07544949650764465,
-0.4145163595676422,
0.11101973801851273,
-0.25040751695632935,
0.19493013620376587,
-0.28650963306427,
-0.33602404594421387,
0.554000973701477,
-0.2085547000169754,
-0.1430976837873459,
0.16756515204906464,
0.018692344427108765,
-0.09427627921104431,
0.003796711564064026,
-0.15898928046226501,
0.08758280426263809,
0.4145880937576294,
-0.05877802520990372,
0.1398855298757553,
-0.21047408878803253,
-0.053827881813049316,
0.16034601628780365,
-0.023718398064374924,
-0.15561315417289734,
0.23136280477046967,
0.531370997428894,
0.21992096304893494,
0.12290900945663452,
-0.012039978057146072,
-0.054062824696302414,
-0.3658350110054016,
-0.4786587655544281,
-0.13890567421913147,
0.5768799185752869,
-0.2235475778579712,
-0.2708278000354767,
0.3519761860370636,
-0.4649486839771271,
0.1146327331662178,
0.11175591498613358,
0.41633322834968567,
-0.2254423052072525,
-0.11381999403238297,
0.17926929891109467,
-0.06729624420404434,
-0.09487377852201462,
-0.3095487952232361,
-0.07015938311815262,
-0.21076324582099915,
-0.20440705120563507,
-0.05635468661785126,
0.18483492732048035,
-0.1213320940732956,
-0.033368151634931564,
0.05696438252925873,
-0.11732332408428192,
-0.23340152204036713,
-0.035990066826343536,
-0.14028975367546082,
0.1529698520898819,
0.10274369269609451,
0.16892728209495544,
0.022624818608164787,
0.11906467378139496,
-0.1474582403898239,
0.1608695387840271,
0.3597651422023773,
-0.1944282352924347,
-0.15506425499916077,
-0.2902316749095917,
0.04871942102909088,
-0.5314745306968689,
0.03415408730506897,
0.32864534854888916,
0.15208110213279724,
-0.210336834192276,
0.007405519485473633,
-0.03506410866975784,
0.1327647566795349,
-0.19158664345741272,
0.03334490582346916,
0.3451070487499237,
0.37642520666122437,
-0.18133142590522766,
0.13823671638965607,
0.011293888092041016,
-0.1701226681470871,
0.12330380827188492,
-0.04023181274533272,
-0.17613212764263153,
0.05593229830265045,
-0.44387203454971313,
0.12722814083099365,
0.20388570427894592,
-0.19974856078624725,
-0.5490796566009521,
0.33588364720344543,
-0.213457390666008,
0.22290338575839996,
-0.02501221001148224,
0.07145066559314728,
0.21231313049793243,
-0.07992945611476898,
-0.07627248764038086,
0.1357528567314148,
0.258929967880249,
0.14199380576610565,
-0.17995652556419373,
-0.1773080676794052,
0.04692482948303223,
0.20977741479873657,
0.2176993191242218,
0.1418522298336029,
0.31039130687713623,
-0.3362511098384857,
0.28952181339263916,
-0.07429015636444092,
0.15768326818943024,
0.025135403499007225,
0.4342212378978729,
0.25010019540786743,
-0.0510074682533741,
0.12473595887422562,
-0.10303980857133865,
0.11503776162862778,
0.008817020803689957,
0.06592775881290436,
0.1107383668422699,
0.047334760427474976,
-0.25160595774650574,
0.07005542516708374,
-0.3778589963912964,
-0.3374527394771576,
0.10652491450309753,
0.15377578139305115,
-0.3332028090953827,
0.33133065700531006,
0.12454061210155487,
0.36000487208366394,
-0.13364407420158386,
0.10461699962615967,
-0.15489719808101654,
0.2810555696487427,
-0.06460447609424591,
0.31640323996543884,
0.3584545850753784,
0.02790907770395279,
0.29199737310409546,
0.02254246361553669,
-0.08737993985414505,
0.3244009017944336,
0.010362507775425911,
0.20291990041732788,
0.4881402254104614,
-0.21227817237377167,
0.1935632973909378,
-0.6740339398384094,
0.24696014821529388,
0.09134441614151001,
0.1097593829035759,
0.15645831823349,
-0.20076119899749756,
0.36276671290397644,
0.14705006778240204,
0.03795092552900314,
-0.12452159821987152,
0.25756147503852844,
0.20867463946342468,
-0.13056404888629913,
-0.2743297219276428,
0.012051194906234741,
0.0568087175488472,
-0.08788307011127472,
0.30499839782714844,
-0.010741135105490685,
-0.37256449460983276,
-0.050861187279224396,
-0.02226676419377327,
-0.0944509357213974,
-0.09161031991243362,
0.16336023807525635,
-0.1395415961742401,
-0.020071085542440414,
0.2509121298789978,
0.4785577356815338,
0.1777690351009369,
0.07496971637010574,
-0.07496275007724762,
0.27748048305511475,
0.22525885701179504,
-0.09144041687250137,
0.2460399866104126,
0.0863470733165741,
-0.2901808023452759,
0.0922064483165741,
0.1050238087773323,
0.11737681925296783,
-0.37400004267692566,
-0.029207933694124222,
0.16316454112529755,
0.21736952662467957,
-0.2667907476425171,
-0.15257428586483002,
-0.08011101931333542,
-0.45781072974205017,
0.056175269186496735,
-0.17216674983501434,
-0.3015460968017578,
-0.3243948221206665,
0.04294026643037796,
0.31369057297706604,
0.029563821852207184,
0.23929186165332794,
-0.49380961060523987,
0.3271029591560364,
0.2008419632911682,
0.33719149231910706,
-0.1454889178276062,
0.12725360691547394,
-0.15035393834114075,
0.043147940188646317,
0.1881079077720642,
-0.1408241093158722,
0.25461167097091675,
0.00866340845823288,
0.41431528329849243,
-0.7511681318283081,
-0.47255828976631165,
-0.03230736404657364,
0.003910627216100693,
0.39409253001213074,
0.05947360023856163,
0.06292321532964706,
0.04129903018474579,
0.21282407641410828,
0.2690310478210449,
0.22347047924995422,
0.03649874031543732,
-0.006970982998609543,
0.021120915189385414,
-0.10682880133390427,
0.18747742474079132,
-0.136723130941391,
-0.11352067440748215,
-0.2173527032136917,
-0.16500534117221832,
-0.09742849320173264,
0.1624438464641571,
0.22825315594673157,
0.19566276669502258,
0.05744070187211037,
0.025411447510123253,
-0.11892358958721161,
-0.30181223154067993,
-0.6584497094154358,
0.4745992124080658,
-0.37937912344932556,
-0.46196451783180237,
0.16404007375240326,
0.1817614585161209,
0.15457381308078766,
-0.11820180714130402,
-0.6055799722671509,
0.23781336843967438,
-0.2911125123500824,
-0.08007169514894485,
-0.03131406009197235,
-0.07757937163114548,
-0.0639902800321579,
0.09807439148426056,
-0.03453407809138298,
-0.008748698979616165,
-0.3099842965602875,
-0.3454130291938782,
-0.05408439785242081,
0.4512874186038971,
0.12479866296052933,
0.2749198377132416,
0.28449714183807373,
0.5593016743659973,
0.12973922491073608,
-0.038127053529024124,
0.47391968965530396,
-0.16912256181240082,
0.4925971031188965,
0.29300636053085327,
-0.3017841875553131,
0.13888540863990784,
0.15018777549266815,
0.1878112554550171,
0.289681077003479,
0.14224356412887573,
-0.005892610177397728,
-0.2971845269203186,
-0.0773865282535553,
-0.48530706763267517,
-0.478355348110199,
-0.16259466111660004,
-0.17927448451519012,
-0.02860099822282791,
0.0907258540391922,
0.059510573744773865,
-0.2474622130393982,
-0.15849387645721436,
-0.21256518363952637,
0.3144291937351227,
0.2535238564014435,
0.014354819431900978,
0.08332015573978424,
0.07639235258102417,
-0.6814362406730652,
0.2830788493156433,
-0.2200947105884552,
0.4295346438884735,
-0.1592467874288559,
0.1293545961380005,
0.4694344401359558,
-0.11823239922523499,
0.6253857016563416,
-0.02632027678191662,
0.3510098457336426,
-0.21944431960582733,
-0.3558315932750702,
-0.18337199091911316,
0.08886048197746277,
0.2741762399673462,
0.5342971086502075,
-0.3547874391078949,
-0.055981457233428955,
-0.04782640188932419,
-0.07986687868833542,
0.2778969705104828,
-0.6436276435852051,
-0.2387838363647461,
-0.20661067962646484,
-0.049599360674619675,
-0.164037823677063,
-0.20419913530349731,
-0.072659932076931,
-0.06289234757423401,
0.03547378256917,
-0.1535351723432541,
-0.28735220432281494,
-0.13297094404697418,
-0.07632499188184738,
0.15019243955612183,
0.20515328645706177,
-0.08806131035089493,
0.011813672259449959,
0.22409051656723022,
0.3392694890499115,
0.13510137796401978,
0.30888113379478455,
0.41489002108573914,
0.1958061009645462,
-0.4853208065032959,
0.24220037460327148,
-0.08303800225257874,
0.08460597693920135,
0.43439024686813354,
-0.08372718095779419,
-0.26545703411102295,
0.30525919795036316,
0.050893962383270264,
-0.14640511572360992,
0.06577956676483154,
0.49546799063682556,
-0.03988969698548317,
-0.5026339888572693,
-0.14063210785388947,
0.36137354373931885,
-0.13486559689044952,
-0.06163133680820465,
0.15641096234321594,
0.3395158052444458,
-0.06265079975128174,
-0.17565424740314484,
0.02617056295275688,
0.911579430103302,
-0.1657666563987732,
-0.011074170470237732,
0.17809295654296875,
-0.14241960644721985,
0.23626014590263367,
-0.13125070929527283,
0.21859538555145264,
-0.1305125504732132,
-0.09696166217327118,
-0.16394275426864624,
-0.002971608191728592,
0.28738582134246826,
-0.26210057735443115,
0.2009565532207489,
-0.1403414011001587,
0.15261408686637878,
0.34014007449150085,
0.16831597685813904,
0.015186294913291931,
-0.2828213572502136,
0.2085481733083725,
-0.285500168800354,
0.16853263974189758,
-0.2160811871290207,
0.22192971408367157,
-0.09923133254051208,
-0.31485944986343384,
-0.2798832058906555,
-0.1546456664800644,
-0.11168074607849121,
0.28209611773490906,
-0.22278007864952087,
-0.04603011906147003,
-0.12600970268249512,
-0.3318813443183899,
0.2973981499671936,
0.5763521194458008,
-0.2761436700820923,
0.235639289021492,
-0.4150203466415405,
0.3884047567844391,
-0.17472249269485474,
-0.12799668312072754,
-0.21693919599056244,
0.22967594861984253,
-0.09193743020296097,
-0.08206828683614731,
-0.217795729637146,
0.07518242299556732,
0.18557840585708618,
-0.052705876529216766,
-0.14966711401939392,
0.2539638876914978,
0.20546701550483704,
-0.2868536412715912,
-0.09959989786148071,
-0.35980668663978577,
-0.26554644107818604,
-0.1251446008682251,
0.09376882016658783,
-0.1252722144126892,
-0.2523978352546692,
-0.12481672316789627,
0.32451364398002625,
-0.28354501724243164,
0.20548582077026367,
0.5514551997184753,
-0.29996469616889954,
0.3631274402141571,
0.429457426071167,
0.054897066205739975,
-0.16297505795955658,
-0.034863874316215515,
0.20663416385650635,
-0.09368986636400223,
-0.4062156081199646,
0.05339343473315239,
0.00861362461000681,
0.34827297925949097,
0.008233949542045593,
0.009894747287034988,
-0.1399814486503601,
-0.3479115664958954,
0.13072340190410614,
-0.454380065202713,
-0.16555100679397583,
-0.019846446812152863,
-0.3291481137275696,
0.3360480070114136,
-0.08807164430618286,
0.24234221875667572,
0.02207488752901554,
-0.2230270504951477,
-0.2363196462392807,
0.32607799768447876,
-0.2919270396232605,
0.06048697233200073,
-0.1478731781244278,
0.1109623834490776,
-0.10853931307792664,
0.08619634807109833,
0.02242225594818592,
0.15331068634986877,
-0.2852318286895752,
-0.16656038165092468,
-0.11554399132728577,
0.15448085963726044,
0.5519569516181946,
-0.48217931389808655,
-0.2359970360994339,
-0.20936746895313263,
-0.298019140958786,
0.10881269723176956,
-0.093343585729599,
0.4269220530986786,
0.10007993876934052,
-0.3190544843673706,
0.13891948759555817,
-0.043320149183273315,
-0.01034894585609436,
0.211123988032341,
-0.00125209242105484,
0.26372212171554565,
0.16134214401245117,
0.013048451393842697,
-0.2862206995487213,
0.008741907775402069,
-0.07723717391490936,
0.054387256503105164,
0.18181383609771729,
-0.06639007478952408,
0.5321528911590576,
-0.1706332266330719,
0.24993306398391724,
0.145162433385849,
0.19506312906742096,
0.14402778446674347,
-0.30185309052467346,
-0.138325035572052,
0.15690210461616516,
0.07353975623846054,
-0.3163132667541504,
0.05407502502202988,
0.02660917118191719,
-0.15865734219551086,
-0.018695879727602005,
-0.2399495244026184,
-0.12975919246673584,
0.3419383764266968,
0.1408194750547409,
-0.09997721016407013,
0.6439557671546936,
0.01621353253722191,
0.12079958617687225,
0.35852164030075073,
-0.40388020873069763,
0.2129620909690857,
0.3261193335056305,
0.2029232680797577,
-0.008579522371292114,
0.6085931658744812,
-0.3625286817550659,
0.11689788848161697,
0.0753486156463623,
0.1473006308078766,
0.12311914563179016,
-0.44809049367904663,
0.046122923493385315,
0.1475105732679367,
-0.102169930934906,
-0.09584451466798782,
-0.12050005793571472,
0.3355143070220947,
0.016613874584436417,
0.2816713750362396,
-0.288188099861145,
0.38027700781822205,
-0.030863948166370392,
0.09799651801586151,
-0.2925683856010437,
-0.16389475762844086,
-0.03396886959671974,
0.059397291392087936,
-0.22775033116340637,
-0.4814597964286804,
-0.05751889944076538,
0.09943653643131256,
-0.35133713483810425,
-0.555387556552887,
-0.0751742273569107,
-0.0009421221911907196,
0.03461407497525215,
-0.10022898763418198,
0.25696882605552673,
0.07760251313447952,
0.06362403929233551,
0.4564337730407715,
0.3722077012062073,
0.271646112203598,
0.20319925248622894,
0.17963632941246033,
-0.12454380840063095,
-0.06935888528823853,
-0.12593284249305725,
0.004051286727190018,
0.2723088264465332,
0.19341067969799042,
0.014355132356286049,
0.3516482412815094,
0.09538295865058899,
-0.06367786228656769,
0.09474129974842072,
0.0722583457827568,
0.08226904273033142,
-0.1434701681137085,
0.0038952603936195374,
-0.5073082447052002,
0.00023318082094192505,
-0.19402296841144562,
-0.36884525418281555,
-0.23418936133384705,
-0.07179078459739685,
0.02479925937950611,
-0.1863175332546234,
0.1899469494819641,
-0.2378130704164505,
0.013525687158107758,
-0.11143310368061066,
0.13727325201034546,
0.5008973479270935,
0.11892963945865631,
-0.3079272210597992,
-0.21608294546604156,
-0.5368618369102478,
0.3014157712459564,
0.16010110080242157,
0.09653021395206451,
-0.06191002577543259,
-0.23438642919063568,
-0.1870405077934265,
0.0036592185497283936,
0.23053914308547974,
0.3230600655078888,
0.2322716861963272,
0.3028872013092041,
-0.11279678344726562,
-0.04453294351696968,
-0.031119801104068756,
0.12564371526241302,
-0.25888925790786743,
-0.08065823465585709,
0.3392188251018524,
0.13048644363880157,
-0.03814586251974106,
0.004745863378047943,
0.04179797321557999,
-0.4245130717754364,
-0.2124132215976715,
0.5516343712806702,
0.25370490550994873,
0.41798245906829834,
0.016536958515644073,
0.1906905472278595,
-0.45574021339416504,
-0.28304991126060486,
0.09474387019872665,
0.023414507508277893,
0.3164656460285187,
0.18302378058433533,
0.07221782207489014,
-0.19950109720230103,
-0.12241987884044647,
0.1592666655778885,
-0.02187238074839115,
0.4116295278072357,
-0.18378648161888123,
-0.045111238956451416,
-0.20993605256080627,
0.058813758194446564,
0.11643415689468384,
0.06300949305295944,
0.10058031976222992,
0.14835743606090546,
-0.3402816951274872,
-0.2868715822696686,
0.5186669826507568,
-0.41405171155929565,
-0.1150183379650116,
0.023738346993923187,
0.13733358681201935,
0.19864660501480103,
-0.15899962186813354,
-0.15765579044818878,
0.149227112531662,
0.26480627059936523,
-0.14886552095413208,
0.06733357906341553,
0.21594654023647308,
-0.08026871085166931,
-0.02221379056572914,
-0.05452975258231163,
0.5891565084457397,
0.20256227254867554,
0.07721593230962753,
0.2301381528377533,
-0.035152729600667953
] |
https://github.com/huggingface/datasets/issues/4707 | Dataset Viewer issue for TheNoob3131/mosquito-data | By chance, could you provide some details about the operations done on the dataset: was it private? gated? | ### Link
_No response_
### Description
Getting this error when trying to view dataset preview:
Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Africa_train.csv')
### Owner
_No response_ | 18 | Dataset Viewer issue for TheNoob3131/mosquito-data
### Link
_No response_
### Description
Getting this error when trying to view dataset preview:
Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Africa_train.csv')
### Owner
_No response_
By chance, could you provide some details about the operations done on the dataset: was it private? gated? | [
0.03773006424307823,
-0.06426912546157837,
0.01616831123828888,
0.4014212489128113,
0.21320556104183197,
-0.08511772006750107,
0.32540640234947205,
0.21200621128082275,
-0.475649356842041,
0.1671629250049591,
-0.4214614927768707,
-0.019881436601281166,
-0.05918056517839432,
-0.09236118942499161,
0.0006879810243844986,
-0.06505516916513443,
-0.26610371470451355,
-0.0403076708316803,
-0.3111196458339691,
0.022175796329975128,
-0.2816941440105438,
-0.03233368694782257,
-0.3029131293296814,
0.1366216540336609,
-0.05183283984661102,
-0.12607598304748535,
-0.13078221678733826,
-0.01616819202899933,
-0.15966488420963287,
-0.3868475556373596,
0.1973600536584854,
0.3349588215351105,
0.29846030473709106,
0.2889346182346344,
-0.00011422269744798541,
-0.006683170795440674,
0.19443835318088531,
0.17097371816635132,
-0.14388588070869446,
0.1618030071258545,
-0.24748766422271729,
-0.08740992099046707,
0.05170027166604996,
-0.15788254141807556,
-0.38220709562301636,
-0.4384104609489441,
0.05576100945472717,
0.009579814970493317,
0.25370240211486816,
0.3676345646381378,
0.1630992740392685,
0.21174193918704987,
0.17307931184768677,
0.04642348736524582,
0.07237838208675385,
-0.04272037744522095,
-0.20812085270881653,
0.20879797637462616,
0.26174867153167725,
0.25362691283226013,
-0.22013473510742188,
0.1481001079082489,
0.10154664516448975,
0.09319566190242767,
-0.03504670411348343,
-0.20313137769699097,
0.27317872643470764,
-0.6014915704727173,
0.361736536026001,
0.05691806599497795,
0.7242447137832642,
0.19402456283569336,
-0.34005460143089294,
-0.037849243730306625,
0.08908891677856445,
0.15711811184883118,
0.2622237205505371,
0.36255526542663574,
0.20120806992053986,
0.38919833302497864,
-0.28102949261665344,
-0.1349811851978302,
-0.4236758351325989,
-0.015421479940414429,
-0.401445597410202,
0.21004629135131836,
-0.3032374978065491,
0.1097380593419075,
-0.3550774157047272,
-0.2973979711532593,
0.5724614262580872,
-0.12826409935951233,
-0.13782545924186707,
0.1965997964143753,
-0.02613666281104088,
-0.16511878371238708,
0.09139133989810944,
-0.048168472945690155,
0.07075585424900055,
0.43330055475234985,
-0.09829126298427582,
0.24309074878692627,
-0.19593460857868195,
-0.064860038459301,
0.21649520099163055,
0.016590053215622902,
-0.23476797342300415,
0.2501830756664276,
0.6280357241630554,
0.20519131422042847,
0.06619560718536377,
0.07283346354961395,
-0.1379324048757553,
-0.1057819128036499,
-0.44382244348526,
-0.18966436386108398,
0.5366934537887573,
-0.30332234501838684,
-0.2793632745742798,
0.42991480231285095,
-0.4661232531070709,
0.053224895149469376,
0.2454441636800766,
0.4256282448768616,
-0.27596423029899597,
-0.20829039812088013,
0.052705928683280945,
-0.18341299891471863,
-0.03401213884353638,
-0.26566338539123535,
-0.11491306126117706,
-0.22972773015499115,
-0.21026518940925598,
-0.12400218099355698,
0.1220545619726181,
-0.053648125380277634,
-0.07434277981519699,
0.04036158323287964,
-0.23070813715457916,
-0.24118460714817047,
0.06282196938991547,
-0.10987614095211029,
0.07612404227256775,
0.25576329231262207,
0.2072850465774536,
0.05521807074546814,
0.00292268767952919,
-0.1211758702993393,
0.10912240296602249,
0.20754987001419067,
-0.17139002680778503,
-0.34923821687698364,
-0.2831084728240967,
0.06533437967300415,
-0.6028493046760559,
0.07001733779907227,
0.3930681347846985,
0.13612580299377441,
-0.13515019416809082,
-0.02024005353450775,
-0.020366184413433075,
0.1820255070924759,
-0.16199517250061035,
-0.11855456233024597,
0.406021386384964,
0.3904481530189514,
-0.2844755947589874,
0.20438465476036072,
0.053759168833494186,
-0.16642031073570251,
0.1682845950126648,
0.08279341459274292,
-0.1669411063194275,
0.11571907997131348,
-0.45022469758987427,
0.05928623676300049,
0.32472437620162964,
-0.020290644839406013,
-0.5872147083282471,
0.347808301448822,
-0.2528474032878876,
0.19252532720565796,
0.040728650987148285,
0.042398687452077866,
0.25198084115982056,
-0.1585775911808014,
0.0072661638259887695,
0.13365402817726135,
0.23970264196395874,
0.0754317045211792,
-0.19129641354084015,
-0.11084315925836563,
0.07944150269031525,
0.2512225806713104,
0.256108820438385,
0.10502936691045761,
0.2770708501338959,
-0.30301445722579956,
0.3644361197948456,
-0.0972568690776825,
0.13612674176692963,
-0.018147464841604233,
0.46163731813430786,
0.33012890815734863,
-0.028698470443487167,
0.07956691086292267,
0.015447519719600677,
0.023626893758773804,
-0.08932095766067505,
0.09864574670791626,
0.21871209144592285,
-0.021758459508419037,
-0.28432151675224304,
0.06293720752000809,
-0.320828378200531,
-0.31760257482528687,
0.1255275458097458,
0.19052109122276306,
-0.3309779465198517,
0.2768973410129547,
-0.0037324726581573486,
0.362249493598938,
-0.2048984169960022,
0.1063733771443367,
-0.21843816339969635,
0.21402715146541595,
0.03308158367872238,
0.26836735010147095,
0.30593132972717285,
0.12125235795974731,
0.25788527727127075,
-0.051995355635881424,
-0.06722288578748703,
0.31728044152259827,
-0.08055388182401657,
0.18939745426177979,
0.6049731373786926,
-0.017562583088874817,
0.18828928470611572,
-0.5222786664962769,
0.3307149410247803,
0.037051282823085785,
0.12110435962677002,
0.14435341954231262,
-0.19007572531700134,
0.5118382573127747,
0.1151474118232727,
-0.005934454500675201,
-0.08929678052663803,
0.2111118584871292,
0.19247473776340485,
-0.08247309178113937,
-0.2893753945827484,
0.1600346863269806,
0.08655139058828354,
-0.16865888237953186,
0.38545602560043335,
0.15275177359580994,
-0.4383147954940796,
0.12205943465232849,
-0.1057799756526947,
-0.2651516795158386,
0.019470710307359695,
0.0737372636795044,
-0.1365603506565094,
-0.14904239773750305,
0.16446737945079803,
0.5385517477989197,
0.1900923103094101,
0.10706908255815506,
0.14156782627105713,
0.2826661169528961,
0.17310217022895813,
-0.07997189462184906,
0.25673967599868774,
0.011393524706363678,
-0.3008480668067932,
0.007739745080471039,
0.09767038375139236,
0.12033776938915253,
-0.3479892313480377,
-0.00471121072769165,
0.15719722211360931,
0.25493311882019043,
-0.29771798849105835,
-0.1618862748146057,
0.0013957899063825607,
-0.33349716663360596,
0.1322806030511856,
-0.08705369383096695,
-0.2826835513114929,
-0.3405192792415619,
-0.04251846671104431,
0.37803199887275696,
0.04214256629347801,
0.13605909049510956,
-0.5020920038223267,
0.33717110753059387,
0.16051356494426727,
0.4397561848163605,
-0.03482689708471298,
0.0156658086925745,
-0.11560351401567459,
0.06846851110458374,
0.20178821682929993,
-0.03828621655702591,
0.18590177595615387,
0.01523798517882824,
0.3825981020927429,
-0.5888320803642273,
-0.374539315700531,
-0.06889036297798157,
0.01051713339984417,
0.40736255049705505,
0.09020190685987473,
0.04758569970726967,
-0.00703221932053566,
0.18752771615982056,
0.13648365437984467,
0.3077285587787628,
0.11305119097232819,
-0.061796847730875015,
-0.12630753219127655,
-0.10167330503463745,
0.21067281067371368,
-0.25415509939193726,
-0.16982999444007874,
-0.17151853442192078,
-0.0005583763122558594,
-0.1809658259153366,
0.23030154407024384,
0.09981012344360352,
-0.05704028159379959,
0.07568163424730301,
0.09564118832349777,
-0.10991422086954117,
-0.3648708462715149,
-0.7625210881233215,
0.5602098107337952,
-0.3361581563949585,
-0.43973198533058167,
0.2106119990348816,
0.1337704211473465,
0.181693434715271,
-0.15525458753108978,
-0.5798742771148682,
0.4150843024253845,
-0.26062339544296265,
-0.08970451354980469,
-0.04944156855344772,
-0.06964237987995148,
0.06994592398405075,
0.043651606887578964,
-0.03489723429083824,
0.06690510362386703,
-0.29310986399650574,
-0.33709341287612915,
0.004130922257900238,
0.43262872099876404,
0.10340648889541626,
0.16745471954345703,
0.17126891016960144,
0.656074047088623,
0.051957082003355026,
0.08891719579696655,
0.38586071133613586,
-0.1099991574883461,
0.35935571789741516,
0.3873386085033417,
-0.34388434886932373,
0.15881535410881042,
0.06526247411966324,
-0.0018827058374881744,
0.3662525415420532,
0.20652645826339722,
-0.06579937785863876,
-0.27344295382499695,
-0.2663240432739258,
-0.4612804055213928,
-0.4666680097579956,
-0.13670916855335236,
-0.17569907009601593,
0.04241354390978813,
0.02729032188653946,
0.08790969103574753,
-0.2763066589832306,
-0.0832299143075943,
-0.20967644453048706,
0.24396826326847076,
0.18040603399276733,
-0.05133964121341705,
-0.00634673610329628,
0.07426676154136658,
-0.7002391815185547,
0.2616848945617676,
-0.388101190328598,
0.37515872716903687,
-0.19841347634792328,
0.03527502715587616,
0.5337885022163391,
-0.18602608144283295,
0.6135274767875671,
-0.02799190767109394,
0.43584877252578735,
-0.18017655611038208,
-0.2765011787414551,
-0.14229989051818848,
0.06464618444442749,
0.1769009232521057,
0.45709919929504395,
-0.16288723051548004,
-0.02425343543291092,
0.00972188264131546,
-0.09990068525075912,
0.3586133122444153,
-0.599798321723938,
-0.3042728304862976,
-0.14539559185504913,
-0.06866629421710968,
-0.3016417324542999,
-0.006017496809363365,
0.11788538843393326,
-0.24741406738758087,
-0.04172888398170471,
-0.2709375321865082,
-0.2985060513019562,
-0.07254469394683838,
0.07636754214763641,
0.24874338507652283,
0.30110833048820496,
-0.2250356674194336,
-0.0266855601221323,
0.18507517874240875,
0.38265034556388855,
0.2290632724761963,
0.23407511413097382,
0.317523717880249,
0.27910852432250977,
-0.3876083493232727,
0.29347729682922363,
-0.15594209730625153,
0.34026163816452026,
0.4269280731678009,
-0.11157048493623734,
-0.22673234343528748,
0.3580166697502136,
0.0291508249938488,
-0.14476363360881805,
-0.03490808978676796,
0.4956831634044647,
0.07067862898111343,
-0.5679645538330078,
-0.278302937746048,
0.3285883665084839,
-0.0589018240571022,
-0.2086419016122818,
0.17362868785858154,
0.3418707251548767,
-0.035920172929763794,
-0.12405171990394592,
-0.04706650227308273,
1.0093005895614624,
-0.13486145436763763,
-0.01774543896317482,
0.3240221440792084,
-0.08731754124164581,
0.19684049487113953,
-0.36523234844207764,
0.1581449657678604,
-0.16933906078338623,
-0.0020517492666840553,
-0.17901942133903503,
-0.027767151594161987,
0.27520716190338135,
-0.30627912282943726,
0.21823585033416748,
-0.015056178905069828,
0.04193967580795288,
0.3257525563240051,
0.15861238539218903,
-0.04341419041156769,
-0.19637051224708557,
0.2437349557876587,
-0.33144688606262207,
0.1390078067779541,
-0.25520724058151245,
0.23674365878105164,
-0.1678166687488556,
-0.3609805107116699,
-0.220907062292099,
-0.08505284786224365,
-0.08917909860610962,
0.24641650915145874,
-0.1555074155330658,
-0.16291159391403198,
-0.1326594203710556,
-0.3786657452583313,
0.27833375334739685,
0.5510869026184082,
-0.16085098683834076,
0.3143710196018219,
-0.31036970019340515,
0.21701498329639435,
-0.1709815263748169,
-0.07829786837100983,
-0.13111214339733124,
0.26459017395973206,
-0.09665000438690186,
-0.11493503302335739,
-0.3402996063232422,
0.09058913588523865,
0.13606010377407074,
0.07278391718864441,
-0.056475311517715454,
0.2041049301624298,
0.16375112533569336,
-0.4610968232154846,
0.008296568877995014,
-0.27782946825027466,
-0.2589334547519684,
-0.1905592828989029,
0.09063732624053955,
-0.12454110383987427,
-0.34103089570999146,
-0.05577301234006882,
0.27921852469444275,
-0.2993261218070984,
0.10708683729171753,
0.46620404720306396,
-0.12240558117628098,
0.44518226385116577,
0.43109220266342163,
0.032344717532396317,
-0.17854633927345276,
-0.09842337667942047,
0.3018048405647278,
-0.08158338814973831,
-0.3143221139907837,
0.046560950577259064,
0.038802433758974075,
0.2787403464317322,
-0.04271724447607994,
0.10162274539470673,
-0.07419969141483307,
-0.2407565712928772,
-0.02630627155303955,
-0.47696414589881897,
-0.29063546657562256,
-0.020346440374851227,
-0.19364884495735168,
0.27779334783554077,
-0.13380557298660278,
0.08359222114086151,
0.00354684516787529,
-0.23525390028953552,
-0.2612960934638977,
0.25688591599464417,
-0.4603917896747589,
-0.04922635108232498,
-0.028130192309617996,
0.04680721461772919,
-0.16231408715248108,
0.09788259863853455,
0.04293938726186752,
-0.029131531715393066,
-0.2726185917854309,
-0.1461239457130432,
-0.119087815284729,
0.19282789528369904,
0.41118764877319336,
-0.481067419052124,
-0.18895933032035828,
-0.2078583836555481,
-0.2846215069293976,
0.21901275217533112,
-0.037662483751773834,
0.34613651037216187,
0.23190045356750488,
-0.2739892601966858,
0.2072635293006897,
-0.010761603713035583,
-0.1758960336446762,
0.32658377289772034,
0.050291821360588074,
0.06569966673851013,
0.007210622075945139,
0.019481876865029335,
-0.28656652569770813,
-0.08850397914648056,
-0.02026328258216381,
-0.023331306874752045,
0.21126413345336914,
-0.014831524342298508,
0.5424278378486633,
-0.10983963310718536,
0.1832980066537857,
0.11936388909816742,
0.21393956243991852,
0.2987997829914093,
-0.10229073464870453,
-0.10258951038122177,
0.07795948535203934,
0.09444734454154968,
-0.3226475715637207,
0.034408360719680786,
0.06806346029043198,
-0.09451300650835037,
-0.09193389117717743,
-0.2578808069229126,
-0.09992915391921997,
0.3773442208766937,
0.10795058310031891,
-0.1417284607887268,
0.4815187454223633,
0.010836038738489151,
0.08257497847080231,
0.48217856884002686,
-0.4651924967765808,
0.18971243500709534,
0.4154910147190094,
0.1525374948978424,
-0.12535527348518372,
0.7086883783340454,
-0.24058210849761963,
0.166962131857872,
0.25146105885505676,
0.11150387674570084,
0.1465132236480713,
-0.4740813076496124,
-0.013271111994981766,
0.0363016203045845,
-0.20973610877990723,
-0.1189381405711174,
-0.16554012894630432,
0.35701000690460205,
-0.08576186001300812,
0.22142915427684784,
-0.3427167534828186,
0.40152591466903687,
-0.05992119014263153,
0.05699732527136803,
-0.21848738193511963,
-0.2627803683280945,
0.11296956241130829,
0.02524135261774063,
-0.25308510661125183,
-0.41002970933914185,
-0.00664762407541275,
0.022742964327335358,
-0.14985696971416473,
-0.5603735446929932,
-0.006556060165166855,
-0.001934971660375595,
0.08622375130653381,
-0.09151951968669891,
0.20857375860214233,
0.09871034324169159,
0.15366476774215698,
0.37551164627075195,
0.3537713587284088,
0.25731921195983887,
0.11144007742404938,
-0.01233043521642685,
0.011149766854941845,
-0.13180558383464813,
-0.16467255353927612,
0.07414501905441284,
0.33348700404167175,
0.1881347894668579,
0.010050827637314796,
0.24222497642040253,
0.05664392560720444,
-0.03271208703517914,
0.2743351459503174,
-0.034574154764413834,
0.05427562817931175,
-0.1398707777261734,
0.08977256715297699,
-0.4851745665073395,
-0.17320463061332703,
-0.17853057384490967,
-0.3568841516971588,
-0.19073686003684998,
-0.0036628302186727524,
0.042342931032180786,
-0.07201975584030151,
0.24600589275360107,
-0.21882286667823792,
0.01842425763607025,
-0.1792687475681305,
0.3702831268310547,
0.45668190717697144,
0.22877216339111328,
-0.2116733342409134,
-0.21832138299942017,
-0.5489851236343384,
0.3030205965042114,
0.2129322588443756,
0.01222323440015316,
-0.1136072650551796,
-0.29633384943008423,
-0.1229146346449852,
0.022627022117376328,
0.12492510676383972,
0.40012282133102417,
0.20673835277557373,
0.3429741859436035,
-0.05669498071074486,
0.06730563938617706,
-0.17851850390434265,
0.163796529173851,
-0.3451838195323944,
-0.08133025467395782,
0.46665436029434204,
0.20183028280735016,
-0.06567002087831497,
0.051847197115421295,
-0.0022229626774787903,
-0.37936291098594666,
-0.12402966618537903,
0.5115242600440979,
0.19389617443084717,
0.5022485256195068,
0.11453396826982498,
0.20108069479465485,
-0.4178273379802704,
-0.2538234293460846,
0.14573605358600616,
0.024789851158857346,
0.2956887483596802,
0.028809327632188797,
0.09599640965461731,
-0.1280147284269333,
0.019082816317677498,
0.16493010520935059,
-0.10368596017360687,
0.42786046862602234,
-0.12204774469137192,
-0.13113126158714294,
-0.15233775973320007,
-0.030861210078001022,
0.26043838262557983,
-0.038972578942775726,
0.11622273921966553,
0.018182994797825813,
-0.24320659041404724,
-0.07745595276355743,
0.5458188056945801,
-0.4181841015815735,
-0.1311531513929367,
-0.18389961123466492,
0.17291834950447083,
0.3046730160713196,
-0.22346994280815125,
-0.13285130262374878,
0.16006889939308167,
0.32759764790534973,
-0.20176663994789124,
0.04291330650448799,
0.23713183403015137,
-0.12896889448165894,
-0.090421162545681,
-0.10953529179096222,
0.5978585481643677,
0.02796843647956848,
0.10075291991233826,
0.07001176476478577,
-0.07547599077224731
] |
https://github.com/huggingface/datasets/issues/4707 | Dataset Viewer issue for TheNoob3131/mosquito-data | Yes, it was a private dataset, and when I made it public, the Dataset Preview did not work.
However, now when I make the dataset private, it says that the Dataset Preview has been disabled. Why is this? | ### Link
_No response_
### Description
Getting this error when trying to view dataset preview:
Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Africa_train.csv')
### Owner
_No response_ | 38 | Dataset Viewer issue for TheNoob3131/mosquito-data
### Link
_No response_
### Description
Getting this error when trying to view dataset preview:
Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Africa_train.csv')
### Owner
_No response_
Yes, it was a private dataset, and when I made it public, the Dataset Preview did not work.
However, now when I make the dataset private, it says that the Dataset Preview has been disabled. Why is this? | [
0.00027356669306755066,
-0.0989125519990921,
0.049933042377233505,
0.3340950012207031,
0.10687128454446793,
-0.04626917093992233,
0.44230616092681885,
0.14808814227581024,
-0.4074385464191437,
0.30907171964645386,
-0.3439728915691376,
-0.022112973034381866,
0.037873025983572006,
-0.2940635681152344,
-0.14034265279769897,
-0.052004098892211914,
-0.21885406970977783,
0.06435076892375946,
-0.13700884580612183,
0.10500048100948334,
-0.18918371200561523,
-0.019059130921959877,
-0.4217662215232849,
0.0896211788058281,
0.13186563551425934,
-0.17634981870651245,
0.01659744419157505,
-0.05021776258945465,
-0.2922259569168091,
-0.39119771122932434,
0.1462981104850769,
0.2791348993778229,
0.3564257025718689,
0.21906325221061707,
-0.00012337589578237385,
0.02743612974882126,
0.2568400204181671,
0.22541433572769165,
-0.09993427991867065,
0.08482865989208221,
-0.42920243740081787,
-0.014156992547214031,
0.2520703077316284,
-0.08857140690088272,
-0.2895704507827759,
-0.47052833437919617,
0.02221924066543579,
-0.08850671350955963,
0.24474777281284332,
0.3611760437488556,
0.0783495306968689,
0.17997393012046814,
0.08876277506351471,
0.046549949795007706,
-0.0279681459069252,
-0.0056274086236953735,
-0.344576895236969,
0.15280605852603912,
0.04919295012950897,
0.2691609859466553,
-0.23819851875305176,
0.11676792800426483,
0.010038750246167183,
0.2258739173412323,
-0.038894280791282654,
-0.07087476551532745,
0.23989945650100708,
-0.49869504570961,
0.4532795548439026,
0.00803220272064209,
0.9101821184158325,
0.1733577847480774,
-0.22663599252700806,
-0.01399453729391098,
0.13468344509601593,
0.1902666538953781,
0.18186405301094055,
0.25120797753334045,
0.19955871999263763,
0.3967016935348511,
-0.20967566967010498,
-0.2326241433620453,
-0.32508227229118347,
0.09311052411794662,
-0.35809624195098877,
0.17019382119178772,
-0.29349640011787415,
0.16251814365386963,
-0.27396130561828613,
-0.22675080597400665,
0.6627572178840637,
-0.24652370810508728,
-0.05279725417494774,
0.09271114319562912,
0.1954200714826584,
-0.13654330372810364,
0.024211235344409943,
-0.06052353233098984,
0.00726265087723732,
0.40478259325027466,
-0.037144552916288376,
0.2230704426765442,
-0.172599658370018,
-0.008429452776908875,
0.2145768254995346,
0.01633271761238575,
-0.11860740929841995,
0.38727542757987976,
0.5851606130599976,
0.21214696764945984,
0.04487070068717003,
0.05878418684005737,
-0.026685357093811035,
-0.01015479490160942,
-0.32976263761520386,
-0.22321408987045288,
0.6645104885101318,
-0.41166600584983826,
-0.3714869022369385,
0.264678955078125,
-0.5023219585418701,
-0.0368652381002903,
0.15581229329109192,
0.3055378496646881,
-0.20406204462051392,
-0.302965372800827,
0.012722276151180267,
-0.052479252219200134,
-0.08799970895051956,
-0.23074951767921448,
-0.07173910737037659,
-0.42369017004966736,
-0.1354266107082367,
0.0819261372089386,
0.17665553092956543,
-0.027022570371627808,
-0.04207775741815567,
0.15271125733852386,
-0.12096920609474182,
-0.2393101155757904,
0.08932311832904816,
-0.02344365045428276,
-0.01184827834367752,
0.17883965373039246,
0.10667350888252258,
0.12359695881605148,
0.2154078632593155,
-0.13509535789489746,
0.13293537497520447,
0.29769212007522583,
-0.1439814567565918,
-0.27020522952079773,
-0.26862695813179016,
-0.024601753801107407,
-0.5176936984062195,
0.03742010146379471,
0.24671679735183716,
0.13202717900276184,
-0.1055155023932457,
-0.07762306183576584,
0.056979939341545105,
-0.034440092742443085,
-0.1828373521566391,
-0.1179569885134697,
0.26463940739631653,
0.4027302861213684,
-0.32792744040489197,
0.20537084341049194,
-0.17655915021896362,
-0.2528124749660492,
0.21928346157073975,
0.09391501545906067,
-0.29831868410110474,
0.11428871005773544,
-0.4198400378227234,
0.0027232766151428223,
0.37334996461868286,
0.03843098506331444,
-0.7659510374069214,
0.47000548243522644,
-0.3227599859237671,
0.16394418478012085,
0.06563953310251236,
0.03826195374131203,
0.15804624557495117,
-0.14119553565979004,
-0.13924528658390045,
-0.03405902907252312,
0.33051928877830505,
-0.079802505671978,
-0.12146738171577454,
-0.06698960810899734,
0.23556916415691376,
0.06263263523578644,
0.22015544772148132,
0.324908047914505,
0.3525802493095398,
-0.17594599723815918,
0.31277167797088623,
0.05204537883400917,
0.09017008543014526,
-0.03357470780611038,
0.40555116534233093,
0.3186110258102417,
-0.021892886608839035,
0.11431222409009933,
0.010237321257591248,
-0.04945669323205948,
-0.11793623864650726,
-0.015373475849628448,
0.24532614648342133,
-0.1053943783044815,
-0.24593797326087952,
-0.04232511669397354,
-0.3879318833351135,
-0.2568448483943939,
0.005436394363641739,
0.3217069208621979,
-0.3460710346698761,
0.15831820666790009,
0.061686884611845016,
0.28623706102371216,
-0.27561137080192566,
0.1414850801229477,
-0.20839661359786987,
0.13332489132881165,
0.05308425426483154,
0.3332320749759674,
0.24587562680244446,
0.1722901165485382,
0.31892186403274536,
0.07566025853157043,
-0.08763610571622849,
0.30867260694503784,
-0.06032167002558708,
0.08855513483285904,
0.4435197710990906,
-0.0065285563468933105,
0.08106070756912231,
-0.644680380821228,
0.44956228137016296,
0.1546882838010788,
0.05354267731308937,
0.15100175142288208,
-0.14877551794052124,
0.30855047702789307,
0.23748889565467834,
-0.03964937478303909,
-0.2775251865386963,
0.10022188723087311,
0.07487041503190994,
-0.07964448630809784,
-0.4260646402835846,
-0.09648159146308899,
-0.027852479368448257,
-0.234720841050148,
0.3713180124759674,
0.12661832571029663,
-0.39222511649131775,
0.09434475004673004,
-0.1379247009754181,
-0.08750727027654648,
0.033357273787260056,
0.03520570322871208,
-0.12832888960838318,
-0.15633943676948547,
0.07143860310316086,
0.46516671776771545,
0.4590715765953064,
0.04393989220261574,
0.04208526015281677,
0.21182695031166077,
0.03843194618821144,
-0.10943648219108582,
0.20134222507476807,
0.16555455327033997,
-0.11894362419843674,
-0.05931376665830612,
0.10195524990558624,
0.1919260323047638,
-0.23820048570632935,
0.053522709757089615,
0.14233820140361786,
0.19587546586990356,
-0.2723998427391052,
-0.056609734892845154,
-0.17701467871665955,
-0.30348965525627136,
0.03236118704080582,
-0.06203251704573631,
-0.24820253252983093,
-0.2869684398174286,
-0.031816378235816956,
0.22682546079158783,
0.07257485389709473,
0.16318753361701965,
-0.4879401624202728,
0.3481026291847229,
0.14796532690525055,
0.34564438462257385,
0.06902328133583069,
0.2563142478466034,
-0.12376046925783157,
-0.04627276584506035,
0.11772610247135162,
-0.06993473321199417,
0.14303499460220337,
0.10911253839731216,
0.2939298748970032,
-0.7641390562057495,
-0.3511035442352295,
-0.12487955391407013,
-0.13569821417331696,
0.3728967308998108,
-0.0698021799325943,
0.05223246291279793,
0.03413744270801544,
0.24680732190608978,
0.15969979763031006,
0.17217689752578735,
0.17857155203819275,
-0.04530780762434006,
-0.09960702061653137,
-0.0846279188990593,
0.2143040895462036,
-0.19469833374023438,
-0.12537308037281036,
-0.14499108493328094,
-0.02899026870727539,
-0.20069493353366852,
0.016326114535331726,
0.13726936280727386,
0.00455973856151104,
0.07866378128528595,
0.008031885139644146,
-0.10717394202947617,
-0.28324705362319946,
-0.7199124693870544,
0.49227017164230347,
-0.3319675624370575,
-0.40738579630851746,
0.13431620597839355,
0.17560268938541412,
0.16230954229831696,
-0.1429210901260376,
-0.706703245639801,
0.4320847690105438,
-0.2760389447212219,
-0.1051361933350563,
-0.052964940667152405,
-0.1963542401790619,
0.14395378530025482,
0.050200946629047394,
0.04712039977312088,
-0.09393499791622162,
-0.29366233944892883,
-0.43450599908828735,
-0.10208948701620102,
0.4964350163936615,
0.10164667665958405,
0.1508505642414093,
0.15228791534900665,
0.6490752100944519,
0.13187141716480255,
0.08743742853403091,
0.2864043116569519,
-0.12821154296398163,
0.38621196150779724,
0.30616632103919983,
-0.3780897855758667,
0.0677817091345787,
0.07787279039621353,
0.022089574486017227,
0.4611995816230774,
0.10633091628551483,
-0.15460965037345886,
-0.19138982892036438,
-0.14063572883605957,
-0.4288015365600586,
-0.31802403926849365,
-0.2503635585308075,
-0.15040481090545654,
0.10243413597345352,
0.17839549481868744,
0.13647493720054626,
-0.22068332135677338,
-0.11563190817832947,
-0.26603570580482483,
0.3044583797454834,
0.19053418934345245,
0.039476655423641205,
-0.046870000660419464,
0.02192435972392559,
-0.5615920424461365,
0.2508321702480316,
-0.29798203706741333,
0.48161640763282776,
-0.21144652366638184,
0.20022273063659668,
0.580077588558197,
0.08762646466493607,
0.5211270451545715,
0.047751858830451965,
0.33605390787124634,
-0.1254720687866211,
-0.26891523599624634,
-0.21044909954071045,
0.013902459293603897,
0.10470309853553772,
0.47317928075790405,
-0.31953924894332886,
0.022122249007225037,
0.106235571205616,
-0.09297160804271698,
0.4332941472530365,
-0.5374956130981445,
-0.1999969780445099,
-0.291481077671051,
-0.2417043149471283,
-0.10268193483352661,
0.053893186151981354,
0.04461964964866638,
-0.26762986183166504,
0.0398225300014019,
-0.3802178204059601,
-0.13685353100299835,
-0.029335221275687218,
-0.08029448240995407,
0.17353776097297668,
0.09235863387584686,
-0.19897785782814026,
0.11991961300373077,
0.0710734874010086,
0.49607497453689575,
0.16733631491661072,
0.3264760375022888,
0.3026430606842041,
0.3149676024913788,
-0.45909345149993896,
0.2987682819366455,
-0.018624668940901756,
0.24332508444786072,
0.32887157797813416,
-0.19608739018440247,
-0.136165052652359,
0.3737582266330719,
0.08264999836683273,
-0.07680993527173996,
-0.10977727174758911,
0.5228528380393982,
-0.07695125043392181,
-0.5369939804077148,
-0.2951202392578125,
0.44603636860847473,
-0.08264042437076569,
-0.1022440567612648,
0.14014479517936707,
0.3393923044204712,
0.024668090045452118,
-0.1950935572385788,
-0.08160308748483658,
0.8492712378501892,
-0.07185721397399902,
-0.08142654597759247,
0.17731252312660217,
0.02480670064687729,
0.20504315197467804,
-0.2799297571182251,
0.18283306062221527,
0.001723308116197586,
-0.019834056496620178,
-0.17026619613170624,
-0.047766659408807755,
0.4391149580478668,
-0.35742491483688354,
0.13937078416347504,
-0.0943816676735878,
0.0379449725151062,
0.4503142237663269,
0.18708927929401398,
-0.1596834659576416,
-0.20458778738975525,
0.275952011346817,
-0.1841641217470169,
0.04264233261346817,
-0.1857331097126007,
0.24018944799900055,
-0.10675358772277832,
-0.24995987117290497,
-0.28473395109176636,
-0.04208236560225487,
-0.11707644909620285,
0.1900976598262787,
-0.10185378044843674,
-0.07902181148529053,
-0.13869911432266235,
-0.5255294442176819,
0.543174147605896,
0.7065646052360535,
-0.04252886027097702,
0.3507789969444275,
-0.49365490674972534,
0.09747103601694107,
-0.2219409942626953,
-0.24434150755405426,
-0.28776416182518005,
0.18870437145233154,
-0.1455123871564865,
-0.010197963565587997,
-0.29235967993736267,
0.026695087552070618,
0.07742897421121597,
-0.06065249443054199,
-0.27773118019104004,
0.25814568996429443,
0.39659231901168823,
-0.5050257444381714,
0.030269742012023926,
-0.3135111629962921,
-0.07736554741859436,
-0.21242660284042358,
0.02158237248659134,
-0.06455479562282562,
-0.1130257174372673,
-0.16291853785514832,
0.24212297797203064,
-0.39259064197540283,
0.07854459434747696,
0.544377863407135,
-0.0556468665599823,
0.34195414185523987,
0.4582138657569885,
-0.05469388887286186,
-0.1777254194021225,
-0.06777819246053696,
0.2898404598236084,
-0.08321475982666016,
-0.19467392563819885,
-0.005047935992479324,
0.05508895963430405,
0.43320977687835693,
0.0872453972697258,
0.012459151446819305,
-0.22874341905117035,
-0.2962709367275238,
-0.14761760830879211,
-0.390860915184021,
-0.18955519795417786,
-0.006406322121620178,
-0.42535728216171265,
0.22962769865989685,
-0.03702879324555397,
0.1786915510892868,
0.044449545443058014,
-0.2187994420528412,
-0.131960928440094,
0.2249436378479004,
-0.3063299357891083,
-0.04634658247232437,
0.046534840017557144,
0.15049369633197784,
-0.11326266825199127,
0.10523927211761475,
-0.0203024223446846,
0.1228606179356575,
-0.22822318971157074,
-0.06234101578593254,
-0.06254775822162628,
0.20851649343967438,
0.5155677795410156,
-0.4617147445678711,
-0.2149529755115509,
-0.33643895387649536,
-0.25943514704704285,
0.1832980215549469,
0.06357012689113617,
0.3914841115474701,
0.3607168197631836,
-0.195082426071167,
0.22197017073631287,
-0.003283269703388214,
-0.16813059151172638,
0.2499929517507553,
-0.06737977266311646,
0.11171332746744156,
0.04053691402077675,
-0.013905074447393417,
-0.24901001155376434,
-0.06490223109722137,
-0.15090776979923248,
0.01031225174665451,
0.3227244019508362,
0.11465482413768768,
0.4632412791252136,
-0.27039235830307007,
0.3023746907711029,
-0.019646791741251945,
0.19923827052116394,
0.05382220074534416,
-0.15676063299179077,
-0.10472246259450912,
0.09852414578199387,
-0.021697429940104485,
-0.253612756729126,
0.04979114234447479,
0.11231961846351624,
0.15225975215435028,
-0.0640488788485527,
-0.19438666105270386,
-0.10199828445911407,
0.35414883494377136,
0.07632645964622498,
-0.17415300011634827,
0.45178669691085815,
0.0023267343640327454,
0.1513853669166565,
0.4766269326210022,
-0.4210364520549774,
0.1503009796142578,
0.4471052587032318,
0.3360918164253235,
-0.19385233521461487,
0.6955666542053223,
-0.1349937617778778,
0.24177178740501404,
0.2394087314605713,
0.12585124373435974,
0.09038659185171127,
-0.4440140128135681,
0.009102966636419296,
0.006223812699317932,
-0.2324804663658142,
-0.1399846374988556,
-0.1947205364704132,
0.13671977818012238,
-0.07071022689342499,
0.4044988751411438,
-0.16391535103321075,
0.1834958791732788,
-0.052575089037418365,
0.0013281218707561493,
-0.2307850867509842,
-0.13816562294960022,
0.2808496356010437,
-0.021435249596834183,
-0.27471986413002014,
-0.42094337940216064,
-0.20654523372650146,
-0.10132792592048645,
-0.3979610800743103,
-0.5231096148490906,
0.040512628853321075,
0.12763428688049316,
-0.01226843148469925,
-0.1036837249994278,
0.1431739777326584,
-0.2021690458059311,
0.24352215230464935,
0.44897839426994324,
0.33780890703201294,
0.16117490828037262,
0.067135289311409,
0.1176019012928009,
-0.14597591757774353,
-0.0909658670425415,
-0.24720822274684906,
0.12974274158477783,
0.2630643844604492,
0.1675538420677185,
0.08846859633922577,
0.22253455221652985,
-0.012320101261138916,
-0.020636137574911118,
0.2801011800765991,
0.09053973853588104,
0.24715813994407654,
-0.3156665563583374,
0.07563579082489014,
-0.47792288661003113,
-0.14210310578346252,
0.04089401662349701,
-0.2842350900173187,
-0.20088917016983032,
-0.013598584569990635,
0.16627174615859985,
-0.05927826091647148,
0.180762380361557,
-0.2726292610168457,
-0.03587011247873306,
-0.14792728424072266,
0.18888446688652039,
0.6053908467292786,
0.2711697220802307,
-0.2073466032743454,
-0.17570437490940094,
-0.4703395366668701,
0.4084533452987671,
0.17484837770462036,
0.12979599833488464,
-0.0209093876183033,
-0.24719475209712982,
-0.05641486495733261,
0.20534148812294006,
0.2727854251861572,
0.3247430920600891,
0.2489069104194641,
0.2914468050003052,
0.10758888721466064,
0.014378305524587631,
-0.15074609220027924,
0.13130564987659454,
-0.31381458044052124,
-0.00014239922165870667,
0.46026939153671265,
0.07189483195543289,
-0.12917158007621765,
-0.0676015242934227,
0.06358851492404938,
-0.2610420286655426,
-0.1754169762134552,
0.5946708917617798,
0.24014417827129364,
0.41547155380249023,
0.16654720902442932,
0.11112000793218613,
-0.5098533034324646,
-0.19706343114376068,
0.1857760101556778,
-0.014718718826770782,
0.24562662839889526,
0.11742335557937622,
-0.07656337320804596,
-0.08796153962612152,
-0.007833489216864109,
0.21569640934467316,
-0.04197966679930687,
0.5771057605743408,
-0.11831545829772949,
-0.04546831175684929,
-0.18515852093696594,
-0.09109877794981003,
0.20816214382648468,
-0.049066588282585144,
0.10553604364395142,
0.0010799597948789597,
-0.20476144552230835,
-0.10513921827077866,
0.5418963432312012,
-0.44910043478012085,
-0.03802516311407089,
-0.05758326128125191,
0.20865672826766968,
0.20429039001464844,
-0.3135942816734314,
-0.17107275128364563,
0.10636111348867416,
0.35838162899017334,
-0.26275545358657837,
0.080947145819664,
0.1237945705652237,
-0.10800278186798096,
0.03038087859749794,
-0.10671693086624146,
0.7092050313949585,
0.00868397206068039,
0.29356497526168823,
0.26849764585494995,
-0.09064486622810364
] |
https://github.com/huggingface/datasets/issues/4707 | Dataset Viewer issue for TheNoob3131/mosquito-data | Thanks for the details. For now, the dataset viewer is always disabled on private datasets (see https://huggingface.co/docs/hub/datasets-viewer for more details) | ### Link
_No response_
### Description
Getting this error when trying to view dataset preview:
Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Africa_train.csv')
### Owner
_No response_ | 20 | Dataset Viewer issue for TheNoob3131/mosquito-data
### Link
_No response_
### Description
Getting this error when trying to view dataset preview:
Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Africa_train.csv')
### Owner
_No response_
Thanks for the details. For now, the dataset viewer is always disabled on private datasets (see https://huggingface.co/docs/hub/datasets-viewer for more details) | [
-0.06010518968105316,
-0.1946152150630951,
0.058147456496953964,
0.29158657789230347,
0.2524867057800293,
0.013545073568820953,
0.26021453738212585,
0.31940415501594543,
-0.3029674291610718,
0.2713252305984497,
-0.4466864764690399,
0.04215541109442711,
-0.049571163952350616,
-0.036421939730644226,
-0.07770080864429474,
-0.09780441224575043,
-0.20219522714614868,
-0.06755924224853516,
-0.21614444255828857,
0.13598862290382385,
-0.27385979890823364,
0.10170283168554306,
-0.27775856852531433,
0.15564849972724915,
-0.025844428688287735,
-0.07879497110843658,
-0.025917619466781616,
0.014021281152963638,
-0.3211028277873993,
-0.4086392819881439,
0.15897542238235474,
0.2353360950946808,
0.33308544754981995,
0.3125409483909607,
-0.000112968024041038,
0.09800516068935394,
0.2552608251571655,
0.2129705250263214,
-0.1944994479417801,
-0.0017795413732528687,
-0.21848085522651672,
-0.011853092350065708,
0.18208661675453186,
-0.09210091084241867,
-0.4032461941242218,
-0.32797157764434814,
0.05077826976776123,
0.04221837967634201,
0.30586642026901245,
0.4091390371322632,
0.15440157055854797,
0.3436553180217743,
0.18508388102054596,
-0.02561113052070141,
0.016873739659786224,
-0.09268297255039215,
-0.30413690209388733,
0.24131323397159576,
0.15146459639072418,
0.2997654378414154,
-0.3625742793083191,
0.23227760195732117,
0.0945947989821434,
0.2027539312839508,
-0.005426228046417236,
-0.11529388278722763,
0.24265795946121216,
-0.4857758581638336,
0.3401365876197815,
0.008838057518005371,
0.6620503067970276,
0.02968853898346424,
-0.3119271397590637,
-0.06743256002664566,
0.09476863592863083,
0.09190773963928223,
0.27136504650115967,
0.3079689145088196,
0.0892905741930008,
0.45652464032173157,
-0.2012394517660141,
-0.2657119929790497,
-0.3259826600551605,
0.06596547365188599,
-0.3013656735420227,
0.15917444229125977,
-0.3037225902080536,
0.05696633458137512,
-0.15569859743118286,
-0.3688860535621643,
0.5222040414810181,
-0.12469728291034698,
-0.10913689434528351,
0.1307467818260193,
0.05907808989286423,
-0.16160863637924194,
0.13550513982772827,
-0.021777935326099396,
0.08195394277572632,
0.40107518434524536,
-0.04479748755693436,
0.25773224234580994,
-0.19540612399578094,
0.023764122277498245,
0.19492603838443756,
-0.05668085068464279,
-0.10350707918405533,
0.3135663568973541,
0.6930515766143799,
0.3434947431087494,
0.14408224821090698,
0.04671376943588257,
-0.05425725132226944,
-0.2575075328350067,
-0.5178821682929993,
-0.19966155290603638,
0.5752541422843933,
-0.33942049741744995,
-0.3019811511039734,
0.2768953740596771,
-0.31438174843788147,
0.13564397394657135,
0.26112881302833557,
0.33775976300239563,
-0.15560618042945862,
-0.2527941167354584,
0.05186562240123749,
-0.08767833560705185,
-0.19054259359836578,
-0.1666993498802185,
-0.13300788402557373,
-0.22544310986995697,
-0.11593115329742432,
0.051395148038864136,
0.24661360681056976,
-0.2385864555835724,
0.029201524332165718,
0.09225583076477051,
-0.11636669933795929,
-0.15053878724575043,
-0.06303422152996063,
-0.12528139352798462,
-0.04438392072916031,
0.126602441072464,
0.18901090323925018,
-0.01944388635456562,
0.1182653158903122,
-0.1557445526123047,
0.10192929953336716,
0.18643663823604584,
-0.15487626194953918,
-0.38413476943969727,
-0.2829046845436096,
0.07939037680625916,
-0.6094078421592712,
0.06970067322254181,
0.20967021584510803,
0.16381293535232544,
-0.16541790962219238,
0.014542803168296814,
-0.014579974114894867,
0.1850450038909912,
-0.16096311807632446,
0.0072289202362298965,
0.3732234239578247,
0.4535227417945862,
-0.09748665243387222,
0.053948335349559784,
0.10163263976573944,
-0.3005713224411011,
-0.0029135867953300476,
0.01282496377825737,
-0.2380124181509018,
0.046053625643253326,
-0.4401593506336212,
0.043739669024944305,
0.27776050567626953,
-0.10904134809970856,
-0.6102063655853271,
0.32543453574180603,
-0.24721325933933258,
0.19712239503860474,
0.0011402443051338196,
0.03037966415286064,
0.14527466893196106,
-0.07758019119501114,
-0.002439044415950775,
0.0649120956659317,
0.42508000135421753,
0.06598825007677078,
-0.25318920612335205,
-0.15021127462387085,
0.015773138031363487,
0.20511172711849213,
0.20677509903907776,
0.125611811876297,
0.2515997588634491,
-0.20287972688674927,
0.30414828658103943,
-0.015171196311712265,
0.08999654650688171,
0.011194711551070213,
0.4175751209259033,
0.21883748471736908,
-0.06512808799743652,
-0.007509525865316391,
-0.09969944506883621,
0.058956876397132874,
-0.0925862193107605,
0.0786624550819397,
0.17031103372573853,
-0.08798667788505554,
-0.20994281768798828,
0.010437624529004097,
-0.42326319217681885,
-0.28706830739974976,
0.10178820788860321,
0.04313615709543228,
-0.21540233492851257,
0.3108091354370117,
0.031629402190446854,
0.35018429160118103,
-0.19850879907608032,
0.17282003164291382,
-0.31713494658470154,
0.28132665157318115,
-0.04145243018865585,
0.2798842787742615,
0.3867012858390808,
0.11338178813457489,
0.23547124862670898,
0.021494315937161446,
-0.05029758810997009,
0.2758226692676544,
-0.056943196803331375,
0.2118149995803833,
0.5625665783882141,
-0.01263473927974701,
0.16124902665615082,
-0.5205913186073303,
0.2980702817440033,
0.12672117352485657,
0.08880943804979324,
0.2680465281009674,
-0.2345154583454132,
0.41996335983276367,
0.193240225315094,
-0.02186787873506546,
-0.08861950039863586,
0.17326122522354126,
0.17833338677883148,
-0.09590896219015121,
-0.33428749442100525,
-0.04620746150612831,
0.101724773645401,
-0.23619095981121063,
0.3469117283821106,
0.06273606419563293,
-0.42888444662094116,
-0.01909160614013672,
-0.0890473872423172,
-0.08776974678039551,
-0.0026884451508522034,
0.16990965604782104,
-0.23645034432411194,
-0.055097755044698715,
0.19540272653102875,
0.35826876759529114,
0.23618903756141663,
0.07850312441587448,
0.049602407962083817,
0.302570641040802,
0.1354428231716156,
-0.16690930724143982,
0.2038678079843521,
0.10007617622613907,
-0.2977737784385681,
0.06417688727378845,
0.07601805031299591,
0.07154252380132675,
-0.3978184163570404,
0.08759355545043945,
0.14135071635246277,
0.25938981771469116,
-0.32013699412345886,
-0.21031813323497772,
-0.06612987816333771,
-0.4507339596748352,
0.03550533950328827,
-0.12490416318178177,
-0.30715566873550415,
-0.3565894365310669,
0.08137796819210052,
0.43887147307395935,
-0.03149949014186859,
0.16111236810684204,
-0.41500937938690186,
0.37317222356796265,
0.1366564929485321,
0.3578740060329437,
-0.03271616995334625,
0.13340334594249725,
-0.12614277005195618,
0.04349793866276741,
0.2343023270368576,
-0.009259907528758049,
0.20884503424167633,
-0.04569123685359955,
0.3609611392021179,
-0.7535630464553833,
-0.37268295884132385,
-0.03191705048084259,
0.029291927814483643,
0.36818403005599976,
0.09249117225408554,
0.051089681684970856,
0.026224449276924133,
0.1003328338265419,
0.253668874502182,
0.1545257270336151,
0.10846494138240814,
-0.01781018078327179,
-0.03408227115869522,
-0.073246069252491,
0.15713486075401306,
-0.26606452465057373,
-0.16522687673568726,
-0.2699529230594635,
-0.04931538552045822,
-0.17249339818954468,
0.1320039927959442,
0.17576327919960022,
0.029689107090234756,
0.09898902475833893,
0.01482323370873928,
-0.23111699521541595,
-0.31189119815826416,
-0.7106783986091614,
0.5491116046905518,
-0.43387922644615173,
-0.3994865417480469,
0.19661211967468262,
0.16629312932491302,
0.17137514054775238,
-0.23785896599292755,
-0.5891101956367493,
0.22645138204097748,
-0.2975555956363678,
-0.03556691110134125,
-0.002906598150730133,
-0.048101335763931274,
0.0028210803866386414,
0.06913197040557861,
-0.03428056836128235,
0.083286352455616,
-0.3160417973995209,
-0.36152419447898865,
-0.08373039215803146,
0.40849626064300537,
0.07496878504753113,
0.14110004901885986,
0.2469651699066162,
0.5310950875282288,
0.1430545151233673,
0.05252888426184654,
0.34046223759651184,
-0.14710195362567902,
0.4203987121582031,
0.27129197120666504,
-0.3702643811702728,
0.0762946605682373,
0.02625473588705063,
0.0942312553524971,
0.44572633504867554,
0.19732898473739624,
-0.0074663348495960236,
-0.32320255041122437,
-0.22268487513065338,
-0.33617842197418213,
-0.5070092082023621,
-0.21830473840236664,
-0.1534307599067688,
0.009114347398281097,
0.08751547336578369,
0.10479473322629929,
-0.3051418662071228,
-0.1602349877357483,
-0.1530214101076126,
0.31947994232177734,
0.14059719443321228,
0.07355991005897522,
0.10060422122478485,
0.053234923630952835,
-0.7565953731536865,
0.2793811857700348,
-0.2699357569217682,
0.3114376366138458,
-0.12235982716083527,
0.09128966182470322,
0.5027178525924683,
-0.07994658499956131,
0.5377014875411987,
0.05667809396982193,
0.34815341234207153,
-0.19585616886615753,
-0.3487912118434906,
-0.2846648693084717,
0.05632088705897331,
0.13690409064292908,
0.5329036712646484,
-0.3015000820159912,
0.11994624137878418,
-0.020532771944999695,
-0.15609073638916016,
0.31902840733528137,
-0.6286942958831787,
-0.20873890817165375,
-0.24557466804981232,
-0.14751286804676056,
-0.16413024067878723,
-0.15992233157157898,
0.07885853201150894,
-0.169412299990654,
0.03620755299925804,
-0.3303873836994171,
-0.2519626319408417,
-0.03760657459497452,
-0.06955353915691376,
0.21959823369979858,
0.31400811672210693,
-0.06885749101638794,
0.04548012837767601,
0.1912614405155182,
0.40572452545166016,
0.1502038836479187,
0.2759116590023041,
0.4188610911369324,
0.16050733625888824,
-0.4885857105255127,
0.21720176935195923,
-0.11618509143590927,
0.1410622000694275,
0.3993303179740906,
-0.12497352063655853,
-0.08051414042711258,
0.33219730854034424,
0.10207439213991165,
-0.1634928584098816,
0.012432532384991646,
0.4417645037174225,
0.04445667192339897,
-0.5502983331680298,
-0.10547326505184174,
0.4493474066257477,
-0.035827286541461945,
-0.10589681565761566,
0.040332645177841187,
0.34475094079971313,
-0.05151994526386261,
-0.1757396012544632,
-0.1303783655166626,
0.8413524627685547,
-0.13898581266403198,
-0.057124581187963486,
0.2562243640422821,
-0.06400491297245026,
0.292184442281723,
-0.28199881315231323,
0.25722789764404297,
-0.08213657140731812,
-0.13596557080745697,
-0.17252174019813538,
-0.005019590258598328,
0.4007280170917511,
-0.3127708435058594,
0.1838800311088562,
-0.02462928369641304,
0.08256080746650696,
0.5015605092048645,
0.06031534820795059,
-0.001538097858428955,
-0.33271855115890503,
0.18774373829364777,
-0.3974808156490326,
0.1413002908229828,
-0.2042851597070694,
0.3094269037246704,
-0.09989915043115616,
-0.33109670877456665,
-0.2210119217634201,
-0.177781343460083,
-0.08887357264757156,
0.22788545489311218,
-0.1296592354774475,
-0.03237286955118179,
-0.11441388726234436,
-0.37510061264038086,
0.3677625060081482,
0.5559238791465759,
-0.0637378990650177,
0.3444012701511383,
-0.4460674822330475,
0.20771460235118866,
-0.24043527245521545,
-0.2394980788230896,
-0.30537959933280945,
0.2483239471912384,
-0.13711446523666382,
-0.10579121112823486,
-0.296729177236557,
0.05969966948032379,
0.18347632884979248,
0.001031346619129181,
-0.12489461898803711,
0.19167622923851013,
0.21367624402046204,
-0.4373668134212494,
-0.037558600306510925,
-0.32126423716545105,
-0.22656729817390442,
-0.1952260434627533,
0.10331469774246216,
-0.14143601059913635,
-0.2974388599395752,
-0.1513620913028717,
0.28500503301620483,
-0.25709185004234314,
0.13724009692668915,
0.5999446511268616,
-0.24992311000823975,
0.34350597858428955,
0.4204072952270508,
0.06304672360420227,
-0.24740396440029144,
-0.0828145295381546,
0.1924005150794983,
0.04583221301436424,
-0.2986350655555725,
0.05700802803039551,
0.1795082986354828,
0.3066104054450989,
0.03035849891602993,
0.10237696766853333,
-0.08464358747005463,
-0.3323756158351898,
0.07119101285934448,
-0.4125882387161255,
-0.22154785692691803,
0.06698906421661377,
-0.27612826228141785,
0.3255912661552429,
0.00887349620461464,
0.2468138039112091,
0.04186014086008072,
-0.20728588104248047,
-0.2584230303764343,
0.2654486894607544,
-0.4181509017944336,
-0.06795381009578705,
-0.042012766003608704,
0.09810291230678558,
-0.08462534844875336,
0.11303241550922394,
0.024167010560631752,
0.09940242767333984,
-0.3629361689090729,
-0.162198007106781,
-0.08153858780860901,
0.12822699546813965,
0.44872111082077026,
-0.4365553557872772,
-0.13041825592517853,
-0.1523110419511795,
-0.2034568190574646,
0.16001540422439575,
0.07655450701713562,
0.4645676016807556,
0.2595979571342468,
-0.228517085313797,
0.19637741148471832,
-0.023570984601974487,
-0.09495984762907028,
0.21837067604064941,
0.04388557747006416,
0.11708187311887741,
0.05325084179639816,
-0.01514844223856926,
-0.34982484579086304,
0.01131390780210495,
-0.0013187889708206058,
0.06562471389770508,
0.27817094326019287,
0.06531351059675217,
0.40295350551605225,
-0.22232113778591156,
0.18883804976940155,
0.14534218609333038,
0.16803717613220215,
0.16935153305530548,
-0.20528891682624817,
-0.12658286094665527,
0.20853161811828613,
0.07418970763683319,
-0.3685143291950226,
-0.013154401443898678,
0.10648854076862335,
-0.14466749131679535,
0.017670992761850357,
-0.2564145624637604,
-0.021095391362905502,
0.3663892447948456,
0.12609638273715973,
-0.1267874538898468,
0.5096279382705688,
-0.01182904839515686,
0.18129833042621613,
0.4413085877895355,
-0.3915434181690216,
0.10318322479724884,
0.29965195059776306,
0.22985053062438965,
-0.06595199555158615,
0.5900884866714478,
-0.3418046534061432,
0.13638217747211456,
0.09678855538368225,
0.23260292410850525,
0.13024073839187622,
-0.5137528777122498,
-0.05560106411576271,
0.06530609726905823,
-0.15768256783485413,
-0.1943873167037964,
-0.23069441318511963,
0.46533504128456116,
-0.09668564051389694,
0.30975979566574097,
-0.32988813519477844,
0.3535069525241852,
-0.03927673399448395,
0.020058952271938324,
-0.15468689799308777,
-0.20278102159500122,
0.11255998909473419,
0.06087653711438179,
-0.21363168954849243,
-0.48714202642440796,
-0.05970929563045502,
-0.04224812239408493,
-0.19930095970630646,
-0.5083140134811401,
-0.052784234285354614,
0.09108955413103104,
0.03831033408641815,
-0.019513491541147232,
0.20184290409088135,
-0.04440918564796448,
0.11623595654964447,
0.31864747405052185,
0.3726237416267395,
0.17538835108280182,
0.0872570127248764,
0.09505689144134521,
-0.10093768686056137,
-0.16130271553993225,
-0.12178259342908859,
0.06608082354068756,
0.24434828758239746,
0.16700127720832825,
0.029964551329612732,
0.3075118958950043,
0.08181431889533997,
-0.07370391488075256,
0.13809670507907867,
-0.01931697502732277,
0.1441722959280014,
-0.17055371403694153,
0.09114052355289459,
-0.4320777654647827,
0.006013065576553345,
-0.08613797277212143,
-0.4003880023956299,
-0.24516600370407104,
-0.059112824499607086,
0.07362839579582214,
-0.09346313774585724,
0.21323901414871216,
-0.24037078022956848,
0.02589598298072815,
-0.11979828774929047,
0.29509660601615906,
0.4435887634754181,
0.17276796698570251,
-0.25120067596435547,
-0.16581134498119354,
-0.495073527097702,
0.3391513526439667,
0.21407902240753174,
0.1377432942390442,
-0.10834779590368271,
-0.2839210033416748,
-0.17245545983314514,
0.133705735206604,
0.07110719382762909,
0.34056907892227173,
0.22830025851726532,
0.16613635420799255,
-0.04781292751431465,
0.09356416016817093,
-0.22043226659297943,
0.057216644287109375,
-0.1710728108882904,
-0.0037837810814380646,
0.36528685688972473,
0.1710614562034607,
-0.07208462059497833,
0.02103090099990368,
0.18682578206062317,
-0.3698991537094116,
-0.31070682406425476,
0.5237634778022766,
0.23125293850898743,
0.42473548650741577,
0.07408000528812408,
0.19432955980300903,
-0.4414450526237488,
-0.2857878804206848,
0.0509888231754303,
-0.01907631754875183,
0.2774040400981903,
0.11565865576267242,
0.0007883720099925995,
-0.2308727651834488,
-0.0517813004553318,
0.2220238894224167,
0.002938099205493927,
0.44612035155296326,
-0.023947905749082565,
-0.06306113302707672,
-0.11785854399204254,
-0.03488665446639061,
0.189292773604393,
0.03504320606589317,
0.07444924861192703,
0.014926424250006676,
-0.21230551600456238,
-0.20363593101501465,
0.5643763542175293,
-0.42651018500328064,
0.003126751631498337,
-0.08243732899427414,
0.24460811913013458,
0.31085705757141113,
-0.3492572605609894,
-0.266708642244339,
0.19330185651779175,
0.1920534372329712,
-0.16307201981544495,
0.07350172102451324,
0.30243054032325745,
-0.14114268124103546,
-0.018186654895544052,
-0.13553056120872498,
0.6273458003997803,
0.14836105704307556,
0.11702138185501099,
0.24169331789016724,
-0.05116114765405655
] |
https://github.com/huggingface/datasets/issues/4707 | Dataset Viewer issue for TheNoob3131/mosquito-data | Hi, it was working fine for a few hours, but then I can't see the dataset viewer again (public dataset). Why is this still happening?
It's the same error too:

| ### Link
_No response_
### Description
Getting this error when trying to view dataset preview:
Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Africa_train.csv')
### Owner
_No response_ | 31 | Dataset Viewer issue for TheNoob3131/mosquito-data
### Link
_No response_
### Description
Getting this error when trying to view dataset preview:
Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Africa_train.csv')
### Owner
_No response_
Hi, it was working fine for a few hours, but then I can't see the dataset viewer again (public dataset). Why is this still happening?
It's the same error too:

| [
-0.017441056668758392,
-0.037477344274520874,
0.033272795379161835,
0.34083420038223267,
0.41983771324157715,
-0.1206488311290741,
0.361907035112381,
0.23073159158229828,
-0.5488299131393433,
0.29913514852523804,
-0.3612438142299652,
-0.11280621588230133,
0.006145540624856949,
-0.2930567264556885,
-0.11957119405269623,
-0.16685321927070618,
-0.2919110655784607,
0.05705999210476875,
-0.07770827412605286,
0.14894863963127136,
-0.17320147156715393,
0.03327840939164162,
-0.3214787244796753,
0.172565296292305,
0.0047704968601465225,
-0.0872778370976448,
-0.07426299899816513,
-0.1221422478556633,
-0.17535756528377533,
-0.42454689741134644,
0.14426511526107788,
0.13090170919895172,
0.25871095061302185,
0.2343992292881012,
-0.00012387524475343525,
0.13467368483543396,
0.39186739921569824,
0.22385850548744202,
-0.08844825625419617,
-0.009744971990585327,
-0.26874518394470215,
-0.12093362957239151,
-0.0318911112844944,
-0.030975431203842163,
-0.43641623854637146,
-0.4236697852611542,
0.1388239711523056,
-0.0011026114225387573,
0.24045714735984802,
0.3276462256908417,
0.0776882916688919,
0.05952735245227814,
0.21495144069194794,
-0.00891950074583292,
-0.020317308604717255,
0.011776883155107498,
-0.19967786967754364,
0.16354799270629883,
0.29764458537101746,
0.18735729157924652,
-0.22057470679283142,
0.17794372141361237,
0.03078555501997471,
0.1776527464389801,
-0.1316191852092743,
-0.13750433921813965,
0.36456483602523804,
-0.47513899207115173,
0.41451916098594666,
0.10612304508686066,
0.7862437963485718,
0.36733657121658325,
-0.29830455780029297,
-0.11462467908859253,
0.12050306797027588,
0.2165127694606781,
0.20542064309120178,
0.3020956814289093,
0.15463723242282867,
0.3613138794898987,
-0.2054295837879181,
-0.13639570772647858,
-0.3693885803222656,
0.08463919162750244,
-0.46415919065475464,
0.10163711756467819,
-0.284517377614975,
0.2771390974521637,
-0.2741203308105469,
-0.30141568183898926,
0.5774575471878052,
-0.1607416272163391,
-0.12905974686145782,
0.15157490968704224,
0.06109897792339325,
-0.11508766561746597,
0.05820959061384201,
-0.0731860026717186,
0.08155187964439392,
0.3769141435623169,
-0.1407768726348877,
0.17771029472351074,
-0.21705731749534607,
-0.05050865560770035,
0.2532638609409332,
-0.011512056924402714,
-0.2038363516330719,
0.28133678436279297,
0.6290388107299805,
0.11955412477254868,
0.03741006180644035,
0.009572546929121017,
0.00122042465955019,
-0.24677778780460358,
-0.401578813791275,
-0.17216065526008606,
0.6837038397789001,
-0.30572983622550964,
-0.2847045660018921,
0.3986918032169342,
-0.5164205431938171,
0.08857514709234238,
0.1497078239917755,
0.3845073878765106,
-0.29710128903388977,
-0.05362652242183685,
0.1135575920343399,
-0.16693688929080963,
-0.13658924400806427,
-0.21961192786693573,
-0.02485022321343422,
-0.35988911986351013,
-0.24364669620990753,
-0.08676909655332565,
0.11031745374202728,
-0.08353908360004425,
-0.07595034688711166,
0.03517135605216026,
-0.10589396953582764,
-0.2798083424568176,
-0.04628092795610428,
-0.174724280834198,
-0.05527002364397049,
0.17720864713191986,
0.1541125774383545,
0.0958818718791008,
0.10602052509784698,
-0.16958081722259521,
0.16639599204063416,
0.2755946218967438,
-0.15771561861038208,
-0.2152240127325058,
-0.3104081451892853,
-0.01746712252497673,
-0.5387502908706665,
0.10037913918495178,
0.3552607297897339,
0.07369650900363922,
-0.1751442849636078,
-0.08482737094163895,
-0.04750566929578781,
0.02944260463118553,
-0.07264472544193268,
-0.03853730484843254,
0.24252283573150635,
0.417366623878479,
-0.17441269755363464,
0.2406427264213562,
-0.011333251371979713,
-0.13396231830120087,
0.17427153885364532,
0.043063241988420486,
-0.21611171960830688,
0.10936375707387924,
-0.45560726523399353,
-0.051704827696084976,
0.34297099709510803,
-0.1732313185930252,
-0.6311277151107788,
0.39353644847869873,
-0.28418591618537903,
0.10526677221059799,
0.09206951409578323,
0.054874178022146225,
0.15626735985279083,
-0.05296803265810013,
-0.04656846821308136,
-0.04071829468011856,
0.25168976187705994,
0.029491735622286797,
-0.1270899921655655,
-0.05392782390117645,
0.06160777434706688,
0.11406071484088898,
0.24716106057167053,
0.1774846911430359,
0.2437911331653595,
-0.2794455885887146,
0.3042602837085724,
-0.034087490290403366,
0.1749289482831955,
-0.04688993841409683,
0.5305857062339783,
0.33758312463760376,
-0.05840278044342995,
0.18889746069908142,
-0.017268367111682892,
0.050888366997241974,
0.018698927015066147,
0.02807733230292797,
0.16547760367393494,
0.03670977056026459,
-0.2700314223766327,
0.06628571450710297,
-0.29586929082870483,
-0.2960072457790375,
-0.0016690343618392944,
0.3051784634590149,
-0.33989226818084717,
0.3425620496273041,
0.12188544869422913,
0.31465575098991394,
-0.11449966579675674,
0.09166726469993591,
-0.17426779866218567,
0.25828537344932556,
-0.0012396275997161865,
0.33407384157180786,
0.29193565249443054,
0.10263027995824814,
0.3608836233615875,
0.04420812055468559,
0.002054469659924507,
0.2502654492855072,
-0.06284158676862717,
0.12835784256458282,
0.47317570447921753,
-0.1869000941514969,
0.2013576179742813,
-0.669289767742157,
0.28196173906326294,
0.05150984227657318,
0.13992315530776978,
0.07630079239606857,
-0.09826750308275223,
0.324889212846756,
0.24038243293762207,
0.07778553664684296,
-0.299543559551239,
0.22962960600852966,
0.18333867192268372,
-0.0886177271604538,
-0.38478416204452515,
0.08621466159820557,
0.1273881047964096,
-0.2228991836309433,
0.3732641339302063,
0.013172740116715431,
-0.4598099887371063,
0.024929359555244446,
-0.05602018162608147,
-0.19289354979991913,
-0.11382218450307846,
0.04848773777484894,
-0.05357366055250168,
-0.043856535106897354,
0.1840001344680786,
0.45181509852409363,
0.29973214864730835,
0.04059617593884468,
-0.031697336584329605,
0.21757951378822327,
0.07125318050384521,
-0.08578292280435562,
0.17794623970985413,
0.1019713431596756,
-0.15432444214820862,
0.03159601241350174,
0.08237141370773315,
0.18634033203125,
-0.30453765392303467,
-0.12680584192276,
0.14914633333683014,
0.23477505147457123,
-0.25728726387023926,
-0.15198174118995667,
-0.0994153767824173,
-0.43563222885131836,
0.13250404596328735,
-0.1679791957139969,
-0.2371864914894104,
-0.39955827593803406,
-0.0673215389251709,
0.3174929916858673,
0.1115119606256485,
0.2103070765733719,
-0.40881258249282837,
0.284416526556015,
0.25413787364959717,
0.39014020562171936,
-0.0868840217590332,
0.033484358340501785,
-0.10417015105485916,
-0.014777613803744316,
0.14558474719524384,
-0.268927663564682,
0.21871259808540344,
0.03182974457740784,
0.3326647877693176,
-0.7809620499610901,
-0.43646153807640076,
-0.0860464870929718,
-0.002787642180919647,
0.3992849886417389,
0.13065564632415771,
0.0638900175690651,
0.05240432918071747,
0.209224134683609,
0.30168822407722473,
0.20532776415348053,
0.12870973348617554,
-0.02883119136095047,
-0.06027241051197052,
-0.0879363939166069,
0.2543784976005554,
-0.04684201627969742,
-0.06617231667041779,
-0.22047823667526245,
-0.02050796151161194,
-0.19910097122192383,
0.0888761579990387,
0.14014676213264465,
0.11875702440738678,
0.08047416061162949,
-0.04151996225118637,
-0.1336531639099121,
-0.366074800491333,
-0.6416730880737305,
0.44964829087257385,
-0.2615397274494171,
-0.434488445520401,
0.1692429482936859,
0.17188112437725067,
0.21621960401535034,
-0.16508698463439941,
-0.7645460367202759,
0.2587738037109375,
-0.25937438011169434,
-0.06293915212154388,
-0.06517181545495987,
-0.021243436262011528,
-0.04121088981628418,
0.0728083923459053,
0.004719024524092674,
0.025428935885429382,
-0.2624513804912567,
-0.4552869200706482,
0.003435032442212105,
0.513500988483429,
0.1601080298423767,
0.2644292414188385,
0.1783338487148285,
0.6407297253608704,
0.09465543925762177,
0.028116419911384583,
0.4277287721633911,
-0.1335163414478302,
0.5152943134307861,
0.28505975008010864,
-0.34916073083877563,
0.10134956985712051,
0.14714378118515015,
0.10744190216064453,
0.2158995270729065,
0.198346346616745,
-0.06396301090717316,
-0.3215687572956085,
-0.18556688725948334,
-0.46220433712005615,
-0.46033915877342224,
-0.19158826768398285,
-0.22911792993545532,
-0.04326370358467102,
0.1302388310432434,
0.09984035044908524,
-0.21676111221313477,
-0.11581790447235107,
-0.2853599786758423,
0.30912041664123535,
0.32779908180236816,
0.026986856013536453,
-0.02140086330473423,
0.021499790251255035,
-0.6242009401321411,
0.2729555666446686,
-0.27809011936187744,
0.47137394547462463,
-0.19385112822055817,
0.27104225754737854,
0.4825030565261841,
-0.10043412446975708,
0.6764968633651733,
0.05076022073626518,
0.3848411440849304,
-0.20465132594108582,
-0.3393847942352295,
-0.1472693830728531,
0.04071060195565224,
0.2973155975341797,
0.45620009303092957,
-0.28574392199516296,
-0.05333063006401062,
-0.0585002601146698,
-0.09211933612823486,
0.3605458438396454,
-0.6284178495407104,
-0.2030297815799713,
-0.1413767784833908,
-0.1465149074792862,
-0.2532723844051361,
-0.05732923746109009,
0.08007331192493439,
-0.17326626181602478,
0.04630395025014877,
-0.20037566125392914,
-0.30728763341903687,
-0.13048571348190308,
-0.1449241042137146,
0.1468663513660431,
0.06917104125022888,
-0.18918439745903015,
0.0018981213215738535,
0.16301394999027252,
0.37733933329582214,
0.19369448721408844,
0.3069974482059479,
0.32729101181030273,
0.24346157908439636,
-0.39890268445014954,
0.3472324013710022,
0.06967538595199585,
0.24002987146377563,
0.4319668412208557,
-0.09506135433912277,
-0.25641965866088867,
0.2773890197277069,
0.12585994601249695,
-0.08439934253692627,
0.027033010497689247,
0.4908832609653473,
0.06773057579994202,
-0.630522608757019,
-0.1903778612613678,
0.3841782808303833,
-0.12071993947029114,
-0.10148908197879791,
0.23957844078540802,
0.39068734645843506,
0.11985670775175095,
-0.18297018110752106,
-0.10329676419496536,
0.9171327948570251,
-0.10716304183006287,
-0.07215450704097748,
0.2170618176460266,
-0.0969424769282341,
0.32047948241233826,
-0.23689278960227966,
0.2764964699745178,
-0.016707442700862885,
0.08714732527732849,
-0.1678341180086136,
-0.0830938071012497,
0.345164954662323,
-0.3349184989929199,
0.2477288544178009,
-0.053792599588632584,
0.18625758588314056,
0.39783570170402527,
0.2080257087945938,
-0.06339005380868912,
-0.34324562549591064,
0.28609323501586914,
-0.28172776103019714,
0.06366188824176788,
-0.19880564510822296,
0.2710525393486023,
-0.1940675973892212,
-0.23198390007019043,
-0.25264766812324524,
-0.11714573204517365,
-0.1971985548734665,
0.18630090355873108,
-0.22361595928668976,
-0.13348349928855896,
-0.06157228723168373,
-0.42586594820022583,
0.3303613066673279,
0.6714730262756348,
-0.26511454582214355,
0.308372437953949,
-0.39244306087493896,
0.3238386809825897,
-0.23204883933067322,
-0.15503306686878204,
-0.2366092950105667,
0.1935025006532669,
-0.1026226282119751,
-0.04998067766427994,
-0.35501912236213684,
0.11028185486793518,
0.07348606735467911,
-0.08895435929298401,
-0.21977561712265015,
0.29379066824913025,
0.21328787505626678,
-0.3646540343761444,
0.05899980291724205,
-0.30622607469558716,
-0.1838410347700119,
-0.16348782181739807,
-0.002720329910516739,
0.04501980543136597,
-0.2168789654970169,
-0.0893019512295723,
0.3386417329311371,
-0.273204505443573,
0.16064880788326263,
0.48643958568573,
-0.15356415510177612,
0.4120044708251953,
0.3384057581424713,
-0.013941515237092972,
-0.16156160831451416,
-0.006289791315793991,
0.21890825033187866,
-0.11587914824485779,
-0.3448368012905121,
0.07104482501745224,
0.017887728288769722,
0.301633358001709,
0.12473925948143005,
-0.03893390670418739,
-0.18673616647720337,
-0.29497236013412476,
0.09668771922588348,
-0.4922843873500824,
-0.1447802186012268,
0.0016887038946151733,
-0.37225979566574097,
0.25072452425956726,
0.037030965089797974,
0.22777359187602997,
0.0465925931930542,
-0.23111003637313843,
-0.13913564383983612,
0.3119103014469147,
-0.39751189947128296,
0.10503950715065002,
-0.12288020551204681,
0.057526685297489166,
-0.09137149900197983,
0.048577919602394104,
-0.0202987939119339,
0.16142261028289795,
-0.306204617023468,
-0.06659065186977386,
-0.09188050031661987,
0.20198941230773926,
0.5710510611534119,
-0.3943427503108978,
-0.2235381007194519,
-0.3024076819419861,
-0.12375810742378235,
0.17380313575267792,
-0.09108585119247437,
0.41640183329582214,
0.1954394429922104,
-0.3705962300300598,
0.18141843378543854,
0.04466960206627846,
0.0006691738963127136,
0.34462064504623413,
-0.0744810402393341,
0.2135031521320343,
0.1369398534297943,
0.00530744343996048,
-0.21267303824424744,
-0.004191108047962189,
-0.17343764007091522,
-0.0197322815656662,
0.17123067378997803,
-0.11003240197896957,
0.5531755685806274,
-0.18713118135929108,
0.1670876145362854,
-0.015085136517882347,
0.21360941231250763,
0.18177218735218048,
-0.19892758131027222,
-0.09662552922964096,
0.16264453530311584,
-0.020540809258818626,
-0.2944088876247406,
0.07500110566616058,
0.030959071591496468,
-0.0033979518339037895,
-0.03214411064982414,
-0.22765222191810608,
-0.11674830317497253,
0.1811116635799408,
0.16582947969436646,
-0.08633026480674744,
0.6024355888366699,
-0.006845097988843918,
0.08652104437351227,
0.4411691725254059,
-0.484442800283432,
0.16167205572128296,
0.4019522964954376,
0.18761441111564636,
-0.12479802221059799,
0.6235998272895813,
-0.31223535537719727,
0.16709353029727936,
0.06843982636928558,
0.16767725348472595,
0.05877615511417389,
-0.41701674461364746,
0.05570773407816887,
0.10697344690561295,
-0.157792329788208,
-0.14225512742996216,
-0.15613317489624023,
0.24917295575141907,
-0.08062818646430969,
0.32697972655296326,
-0.19078508019447327,
0.35751694440841675,
-0.04108414053916931,
0.06404945254325867,
-0.251234769821167,
-0.15923404693603516,
0.17454445362091064,
0.005907051265239716,
-0.23863887786865234,
-0.4366958737373352,
-0.15102766454219818,
0.05257188528776169,
-0.39276355504989624,
-0.5262215733528137,
-0.05138758569955826,
-0.005142178386449814,
0.07511039078235626,
-0.09916379302740097,
0.23612558841705322,
-0.005919195711612701,
0.13015112280845642,
0.3978918194770813,
0.43629586696624756,
0.25372904539108276,
0.1067126989364624,
0.06509941816329956,
-0.08135576546192169,
-0.013933651149272919,
-0.15754254162311554,
0.0637744888663292,
0.2966940999031067,
0.2545488178730011,
0.05822095647454262,
0.3139885365962982,
0.007903238758444786,
0.015169682912528515,
0.23020504415035248,
0.03232584893703461,
0.06347212195396423,
-0.16410352289676666,
0.09184668958187103,
-0.5810489654541016,
-0.09342704713344574,
-0.12916319072246552,
-0.23367208242416382,
-0.21712103486061096,
-0.04862654581665993,
0.04843895882368088,
-0.20443160831928253,
0.17059212923049927,
-0.34183767437934875,
-0.04016879200935364,
-0.1357853263616562,
0.0801222175359726,
0.558474063873291,
0.16854409873485565,
-0.29274237155914307,
-0.22308379411697388,
-0.49358904361724854,
0.376376748085022,
0.08144623041152954,
0.1644248366355896,
-0.06908907741308212,
-0.21918609738349915,
-0.15547272562980652,
0.12675663828849792,
0.3032500147819519,
0.33824241161346436,
0.17505648732185364,
0.30961474776268005,
-0.08773630857467651,
-0.03260860964655876,
-0.06062185764312744,
0.1299278736114502,
-0.26697760820388794,
-0.07838629186153412,
0.45752081274986267,
0.0404827781021595,
-0.07154639065265656,
-0.042088672518730164,
0.08991041779518127,
-0.3998710811138153,
-0.18530264496803284,
0.5839759111404419,
0.3171292543411255,
0.3454533815383911,
0.18644052743911743,
0.12515097856521606,
-0.4477689862251282,
-0.2734397351741791,
0.2334800362586975,
-0.051881514489650726,
0.2566905915737152,
0.06878133863210678,
0.030713515356183052,
-0.12466266751289368,
0.01598544605076313,
0.11009228974580765,
-0.027444327250123024,
0.5416627526283264,
-0.09793861210346222,
-0.07265721261501312,
-0.30435439944267273,
-0.01734679937362671,
0.1456889659166336,
0.0179518461227417,
0.1641441136598587,
0.014849407598376274,
-0.2917315661907196,
-0.19227343797683716,
0.5773137211799622,
-0.4033753573894501,
-0.08920003473758698,
-0.04607259854674339,
0.11949718743562698,
0.2251339852809906,
-0.14552323520183563,
-0.1685609519481659,
0.09708902984857559,
0.30190515518188477,
-0.1427660882472992,
0.04217182472348213,
0.14805518090724945,
-0.06500133872032166,
-0.04222434014081955,
-0.0921006053686142,
0.5640310645103455,
0.10447831451892853,
0.17296479642391205,
0.268307089805603,
-0.05327215790748596
] |
https://github.com/huggingface/datasets/issues/4707 | Dataset Viewer issue for TheNoob3131/mosquito-data | OK? This is a bug, thanks for help spotting and reproducing it (it occurs when a dataset is switched to private, then to public). We will be working on it, meanwhile, I've restored the dataset viewer manually again. | ### Link
_No response_
### Description
Getting this error when trying to view dataset preview:
Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Africa_train.csv')
### Owner
_No response_ | 38 | Dataset Viewer issue for TheNoob3131/mosquito-data
### Link
_No response_
### Description
Getting this error when trying to view dataset preview:
Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Africa_train.csv')
### Owner
_No response_
OK? This is a bug, thanks for help spotting and reproducing it (it occurs when a dataset is switched to private, then to public). We will be working on it, meanwhile, I've restored the dataset viewer manually again. | [
-0.0074433982372283936,
0.027910038828849792,
0.08171749114990234,
0.2675689458847046,
0.27098527550697327,
-0.026037633419036865,
0.3037838637828827,
0.32988667488098145,
-0.4167100489139557,
0.22477388381958008,
-0.3382030129432678,
0.04762841761112213,
-0.08387180417776108,
-0.2552344501018524,
-0.11135433614253998,
-0.16676408052444458,
-0.23864653706550598,
-0.0014848336577415466,
-0.1372433602809906,
0.08700248599052429,
-0.24697598814964294,
0.05607598274946213,
-0.2865082621574402,
0.18605929613113403,
0.09473972767591476,
-0.015644149854779243,
-0.09043707698583603,
0.03170767426490784,
-0.13951894640922546,
-0.49012643098831177,
0.21327897906303406,
0.11591768264770508,
0.3070836365222931,
0.20833271741867065,
-0.0001167559385066852,
0.06457109749317169,
0.3469303846359253,
0.22408220171928406,
-0.07294953614473343,
0.027172215282917023,
-0.265752375125885,
-0.14093518257141113,
0.11787299811840057,
-0.07136997580528259,
-0.43585821986198425,
-0.3464563488960266,
0.04312986508011818,
-0.02098150923848152,
0.1925889104604721,
0.42271384596824646,
0.13816018402576447,
0.1292351484298706,
0.1833343356847763,
-0.10728231072425842,
0.11961221694946289,
-0.03407558053731918,
-0.18386134505271912,
0.16091275215148926,
0.22111377120018005,
0.16551582515239716,
-0.2880376875400543,
0.20348507165908813,
0.027644330635666847,
0.16898027062416077,
-0.02143073081970215,
-0.10117312520742416,
0.3098783493041992,
-0.44015228748321533,
0.32314029335975647,
0.08084876835346222,
0.8050094246864319,
0.2745858430862427,
-0.2907862961292267,
-0.12587980926036835,
0.21581768989562988,
0.17071975767612457,
0.26752859354019165,
0.32067161798477173,
0.14217789471149445,
0.35992559790611267,
-0.10406626760959625,
-0.1618174910545349,
-0.28162145614624023,
0.06127354875206947,
-0.4547466039657593,
0.1136997863650322,
-0.24006079137325287,
0.14723730087280273,
-0.23403917253017426,
-0.3453213572502136,
0.6628328561782837,
-0.17566263675689697,
-0.20500102639198303,
0.10183234512805939,
0.046301230788230896,
-0.08042553812265396,
0.08859177678823471,
-0.11318282037973404,
0.02622009813785553,
0.3456713557243347,
-0.07251781225204468,
0.10652711987495422,
-0.2723521292209625,
-0.05169886350631714,
0.21005290746688843,
-0.017820147797465324,
-0.20557555556297302,
0.3093896806240082,
0.6825851798057556,
0.13600319623947144,
0.12451833486557007,
0.0857936441898346,
0.004835163243114948,
-0.23162658512592316,
-0.4130072295665741,
-0.09416326880455017,
0.5946547389030457,
-0.2992314398288727,
-0.30994918942451477,
0.4248906075954437,
-0.4850086271762848,
0.1134377047419548,
0.14389260113239288,
0.3365139663219452,
-0.22734872996807098,
-0.06644383072853088,
0.21266157925128937,
-0.0811944529414177,
-0.02138165757060051,
-0.3236328959465027,
-0.06871090084314346,
-0.39635199308395386,
-0.16993317008018494,
-0.04042985290288925,
0.15162886679172516,
-0.0808940976858139,
-0.10632229596376419,
0.16356530785560608,
-0.19889335334300995,
-0.24919794499874115,
0.009252957999706268,
-0.028409909456968307,
-0.047591350972652435,
0.17159195244312286,
0.1362128108739853,
0.09013362228870392,
0.13155710697174072,
-0.244151771068573,
0.13571777939796448,
0.333759069442749,
-0.20391935110092163,
-0.2914486825466156,
-0.33556926250457764,
0.033977407962083817,
-0.49031931161880493,
-0.01111413910984993,
0.3667944073677063,
0.12014074623584747,
-0.1654297113418579,
-0.09871745109558105,
-0.07877662032842636,
-0.0007156319916248322,
-0.15031947195529938,
-0.06334735453128815,
0.28784677386283875,
0.4461597800254822,
-0.26748740673065186,
0.1307401955127716,
-0.14036907255649567,
-0.17313535511493683,
0.12534376978874207,
0.012709934264421463,
-0.2103935182094574,
0.04898197948932648,
-0.4749046862125397,
0.06121791899204254,
0.3212629556655884,
-0.006360728293657303,
-0.6303572654724121,
0.35597944259643555,
-0.3100418150424957,
0.16151466965675354,
-0.047077663242816925,
0.10240062326192856,
0.14616312086582184,
-0.05871672183275223,
0.09057295322418213,
0.02151777781546116,
0.2675422132015228,
0.12094172090291977,
-0.25170889496803284,
-0.14268121123313904,
0.1318417191505432,
0.20968672633171082,
0.3068074584007263,
0.2313002347946167,
0.2113179862499237,
-0.3583182692527771,
0.3530730605125427,
-0.056314144283533096,
0.15001216530799866,
0.04736275225877762,
0.49899718165397644,
0.31870347261428833,
0.008762124925851822,
0.1576727330684662,
-0.0199878066778183,
0.08250481635332108,
-0.09318605065345764,
0.09857255220413208,
0.2942863702774048,
0.013557150959968567,
-0.28391721844673157,
0.054181620478630066,
-0.3408932387828827,
-0.22499200701713562,
0.05977215617895126,
0.26973289251327515,
-0.4469349980354309,
0.3346388339996338,
0.09834574162960052,
0.31004324555397034,
-0.15559938549995422,
0.11132387071847916,
-0.21198464930057526,
0.24141107499599457,
0.004443898797035217,
0.2980731725692749,
0.32145148515701294,
0.058589961379766464,
0.3169374465942383,
0.07980644702911377,
-0.11366824060678482,
0.22997358441352844,
-0.04055936634540558,
0.15936842560768127,
0.4842534363269806,
-0.14674724638462067,
0.2236507534980774,
-0.5465602874755859,
0.24427275359630585,
0.2339973747730255,
0.10309848934412003,
0.10940856486558914,
-0.14394736289978027,
0.43082714080810547,
0.2408612221479416,
-0.002352006733417511,
-0.3666415810585022,
0.3497867286205292,
0.2575041949748993,
-0.12302614748477936,
-0.3414892256259918,
0.04612076282501221,
0.11323226243257523,
-0.2311374396085739,
0.3316090404987335,
0.003973696380853653,
-0.45898351073265076,
0.06661176681518555,
-0.1554269641637802,
-0.21005266904830933,
0.03977947682142258,
0.17166487872600555,
-0.18298062682151794,
-0.06085113063454628,
0.18181999027729034,
0.5753687620162964,
0.28318527340888977,
0.028316132724285126,
-0.010688472539186478,
0.2989828586578369,
0.11752039939165115,
-0.12467049062252045,
0.2649233341217041,
0.029950644820928574,
-0.25213080644607544,
0.026730705052614212,
0.16490787267684937,
0.15901333093643188,
-0.27865055203437805,
0.025658302009105682,
0.12908200919628143,
0.2718344032764435,
-0.4095381200313568,
-0.23346450924873352,
-0.05814805254340172,
-0.36760619282722473,
0.07444293797016144,
-0.12873539328575134,
-0.215044766664505,
-0.3724469244480133,
0.010644141584634781,
0.31854119896888733,
-0.07899100333452225,
0.14776624739170074,
-0.49001172184944153,
0.37985917925834656,
0.25585833191871643,
0.34737733006477356,
-0.015610914677381516,
0.05727579817175865,
-0.16497913002967834,
0.025382492691278458,
0.14807568490505219,
-0.2384851723909378,
0.12661245465278625,
-0.013930732384324074,
0.4024907350540161,
-0.7214493751525879,
-0.3877062201499939,
-0.07616467773914337,
-0.025996461510658264,
0.3753603398799896,
0.09784979373216629,
0.04575391486287117,
0.0568767711520195,
0.11411202698945999,
0.2547473609447479,
0.24154523015022278,
0.13996407389640808,
0.012908227741718292,
-0.046347372233867645,
-0.08431510627269745,
0.16491520404815674,
-0.26411208510398865,
-0.11918921023607254,
-0.2052343785762787,
-0.08421590924263,
-0.2113267183303833,
0.08819103986024857,
0.11534294486045837,
0.07798588275909424,
0.07460549473762512,
-0.025829574093222618,
-0.18429872393608093,
-0.3349943161010742,
-0.670275866985321,
0.5372677445411682,
-0.34850117564201355,
-0.46734967827796936,
0.15868963301181793,
0.10690703988075256,
0.10989457368850708,
-0.21868696808815002,
-0.674747884273529,
0.3082810640335083,
-0.2952243387699127,
0.0041690394282341,
-0.08623999357223511,
-0.11896933615207672,
-0.015195399522781372,
0.15145909786224365,
-0.038682837039232254,
0.04252958297729492,
-0.3198857009410858,
-0.40743720531463623,
-0.018001016229391098,
0.46450498700141907,
0.03602432459592819,
0.13725565373897552,
0.12334370613098145,
0.607527494430542,
0.12285196781158447,
0.11529293656349182,
0.3399675488471985,
-0.08003602176904678,
0.389171838760376,
0.32066720724105835,
-0.3359079957008362,
0.08829042315483093,
0.05868811905384064,
0.050865620374679565,
0.359394371509552,
0.13771124184131622,
-0.15379683673381805,
-0.2887439727783203,
-0.23668383061885834,
-0.43766772747039795,
-0.5588226914405823,
-0.17078830301761627,
-0.22946235537528992,
0.01669849082827568,
0.11215659976005554,
0.11873770505189896,
-0.28511762619018555,
-0.1280803084373474,
-0.2060595601797104,
0.259590208530426,
0.21510440111160278,
-0.00213046558201313,
0.010160580277442932,
0.06020260229706764,
-0.6416937112808228,
0.32559195160865784,
-0.23094750940799713,
0.4158296585083008,
-0.13405385613441467,
0.11126559227705002,
0.40593206882476807,
-0.016778772696852684,
0.6098334789276123,
0.06379552185535431,
0.37786865234375,
-0.14605295658111572,
-0.15996555984020233,
-0.16069349646568298,
-0.049983568489551544,
0.20364391803741455,
0.44605180621147156,
-0.2818639874458313,
-0.06863699853420258,
0.031445205211639404,
-0.0338909737765789,
0.2584887742996216,
-0.6515994071960449,
-0.20810838043689728,
-0.1338760256767273,
-0.10034911334514618,
-0.19211116433143616,
-0.028221938759088516,
0.157075434923172,
-0.2325855940580368,
0.06656970828771591,
-0.31990882754325867,
-0.2633797228336334,
-0.05758097022771835,
-0.04459838569164276,
0.17842648923397064,
0.11110608279705048,
-0.11266452074050903,
0.0370321199297905,
0.20663581788539886,
0.35573285818099976,
0.1461506187915802,
0.22400698065757751,
0.3648097515106201,
0.22297805547714233,
-0.49453961849212646,
0.26636454463005066,
-0.11987623572349548,
0.1330634355545044,
0.4111446738243103,
-0.09443705528974533,
-0.20457297563552856,
0.3624502122402191,
0.029306519776582718,
-0.16641750931739807,
-0.029478397220373154,
0.4814493954181671,
-0.048006244003772736,
-0.5193505883216858,
-0.20511168241500854,
0.40435558557510376,
-0.11224435269832611,
-0.16669249534606934,
0.146528422832489,
0.3883901834487915,
0.020974446088075638,
-0.06737539172172546,
-0.029615171253681183,
0.8851296305656433,
-0.1480439454317093,
-0.03374737873673439,
0.31038379669189453,
-0.1400039792060852,
0.3423115909099579,
-0.23831915855407715,
0.26844847202301025,
-0.1381814181804657,
-0.043871428817510605,
-0.15095974504947662,
-0.021270688623189926,
0.2847227454185486,
-0.34484219551086426,
0.15924842655658722,
-0.044789545238018036,
0.07701088488101959,
0.39001554250717163,
0.21846629679203033,
-0.16678589582443237,
-0.3076605796813965,
0.280198335647583,
-0.26470762491226196,
0.12767134606838226,
-0.25702744722366333,
0.2722633481025696,
-0.12608179450035095,
-0.2869946360588074,
-0.29903334379196167,
-0.1354195922613144,
-0.23838390409946442,
0.3019792139530182,
-0.16937156021595,
-0.1293269395828247,
-0.03960566595196724,
-0.39977407455444336,
0.345994770526886,
0.6345347166061401,
-0.19116105139255524,
0.3092154860496521,
-0.4336369037628174,
0.31679800152778625,
-0.18777921795845032,
-0.07466276735067368,
-0.17825165390968323,
0.21386009454727173,
-0.10357016324996948,
0.00988125428557396,
-0.31356990337371826,
0.051234979182481766,
0.02440185844898224,
-0.012663733214139938,
-0.1921994835138321,
0.26591745018959045,
0.20861642062664032,
-0.464897096157074,
-0.0052849664352834225,
-0.3030170500278473,
-0.13887600600719452,
-0.17558354139328003,
0.0685223788022995,
-0.07882854342460632,
-0.21887002885341644,
-0.11511636525392532,
0.2667502164840698,
-0.31566697359085083,
0.18427042663097382,
0.5582886338233948,
-0.1889767348766327,
0.33307909965515137,
0.44092172384262085,
0.03776579722762108,
-0.12946374714374542,
-0.024700835347175598,
0.27970919013023376,
-0.07348804920911789,
-0.32899999618530273,
0.13435745239257812,
0.029798341915011406,
0.2819852828979492,
0.12405101954936981,
0.021062813699245453,
-0.1442946046590805,
-0.27202531695365906,
0.057902541011571884,
-0.4743795394897461,
-0.13062050938606262,
-0.02339739352464676,
-0.34904447197914124,
0.2320682555437088,
0.052785418927669525,
0.1838790327310562,
0.0014693960547447205,
-0.3296135365962982,
-0.21023131906986237,
0.30758988857269287,
-0.3758563995361328,
0.0009230244904756546,
-0.1390838325023651,
0.10028821229934692,
-0.13749340176582336,
0.060419101268053055,
0.02236470766365528,
0.04321004077792168,
-0.2775513529777527,
-0.13513264060020447,
-0.1038999855518341,
0.15709884464740753,
0.5220155119895935,
-0.40770354866981506,
-0.15662702918052673,
-0.2694138288497925,
-0.18548539280891418,
0.17343707382678986,
-0.04877319559454918,
0.4404378831386566,
0.1701129972934723,
-0.27448830008506775,
0.13015639781951904,
-0.02279370278120041,
-0.08404408395290375,
0.3605012893676758,
0.0035740286111831665,
0.05079744756221771,
-0.0034142101649194956,
0.052132412791252136,
-0.3061487674713135,
-0.010519109666347504,
-0.0549267902970314,
0.05516018718481064,
0.1920456886291504,
0.018468182533979416,
0.5260669589042664,
-0.21825702488422394,
0.1765008568763733,
0.11765583604574203,
0.14582669734954834,
0.14812730252742767,
-0.23724858462810516,
-0.07647740095853806,
0.1114870086312294,
0.04921136051416397,
-0.3316020965576172,
0.01305235642939806,
0.04418324679136276,
0.05283425748348236,
-0.04067523032426834,
-0.35157182812690735,
-0.1107371598482132,
0.2164781391620636,
0.1438518464565277,
-0.1010354608297348,
0.48797574639320374,
-0.037070758640766144,
0.23622603714466095,
0.5482277274131775,
-0.39820513129234314,
0.1359967589378357,
0.35199210047721863,
0.11578294634819031,
-0.09943976253271103,
0.6406905055046082,
-0.22666147351264954,
0.07817631214857101,
0.22802814841270447,
0.07637066394090652,
0.11428028345108032,
-0.5433919429779053,
0.09125740081071854,
0.06012461334466934,
-0.14464519917964935,
-0.13554206490516663,
-0.11305339634418488,
0.32437247037887573,
-0.13825267553329468,
0.2952873110771179,
-0.3234725296497345,
0.3131692111492157,
-0.07357848435640335,
0.05512383207678795,
-0.20718209445476532,
-0.16996169090270996,
0.11150021851062775,
0.024257179349660873,
-0.2980232536792755,
-0.3382852077484131,
-0.1574820578098297,
-0.0035548359155654907,
-0.2808153033256531,
-0.6048725843429565,
-0.039561815559864044,
0.05065537989139557,
-0.025594279170036316,
-0.10089083015918732,
0.15889912843704224,
0.054120149463415146,
0.01701263338327408,
0.42055830359458923,
0.3828343152999878,
0.25391116738319397,
0.20146098732948303,
0.02211100235581398,
-0.042118147015571594,
-0.07391835749149323,
-0.11428393423557281,
0.06149841099977493,
0.2174934297800064,
0.2517995536327362,
-0.012681599706411362,
0.30270540714263916,
0.07365283370018005,
-0.024844087660312653,
0.3025412857532501,
-0.06300106644630432,
0.15551097691059113,
-0.17913590371608734,
0.14729353785514832,
-0.5182092189788818,
-0.06348274648189545,
-0.1348627358675003,
-0.3014601767063141,
-0.15454566478729248,
0.033813778311014175,
0.13708513975143433,
-0.04611945524811745,
0.2178788185119629,
-0.25211337208747864,
0.00954362004995346,
-0.08963046967983246,
0.1326696127653122,
0.5585123896598816,
0.11507056653499603,
-0.2595524489879608,
-0.14410659670829773,
-0.4920630156993866,
0.4487311840057373,
0.18918806314468384,
0.23700165748596191,
-0.03292416036128998,
-0.2842627763748169,
-0.10143550485372543,
0.0875348225235939,
0.1722179800271988,
0.33390751481056213,
0.15561871230602264,
0.2639802098274231,
-0.03564155846834183,
-0.03943949565291405,
-0.09344041347503662,
0.0415075309574604,
-0.22217684984207153,
-0.0421154648065567,
0.4501788318157196,
0.15149100124835968,
-0.04129433631896973,
0.02171977050602436,
0.03884962201118469,
-0.3337326943874359,
-0.2041325569152832,
0.5339618921279907,
0.32493650913238525,
0.4061046540737152,
0.16252702474594116,
0.1926843672990799,
-0.519781231880188,
-0.31449636816978455,
0.14390498399734497,
-0.06735160201787949,
0.20708401501178741,
0.16022172570228577,
0.010451501235365868,
-0.12276779115200043,
-0.10317660868167877,
0.15539489686489105,
-0.026281246915459633,
0.5637965798377991,
-0.2374407798051834,
-0.02720709703862667,
-0.29133501648902893,
0.002985068829730153,
0.15001066029071808,
-0.03772539645433426,
0.0956522524356842,
0.15689478814601898,
-0.2402387112379074,
-0.2143469899892807,
0.5179609060287476,
-0.38862985372543335,
-0.024363158270716667,
-0.09612125158309937,
0.1809786856174469,
0.2694632411003113,
-0.2128959596157074,
-0.1551009714603424,
0.04907465726137161,
0.2926710546016693,
-0.17577216029167175,
0.021678101271390915,
0.07850918173789978,
-0.058390405029058456,
-0.008627839386463165,
-0.130254864692688,
0.6753448247909546,
0.1875879168510437,
0.10604555904865265,
0.2329304814338684,
-0.08633861690759659
] |
https://github.com/huggingface/datasets/issues/4702 | Domain specific dataset discovery on the Hugging Face hub | Hi! I added a link to this issue in our internal request for adding keywords/topics to the Hub, which is identical to the `topic tags` solution. The `collections` solution seems too complex (as you point out). Regarding the `domain tags` solution, we primarily focus on machine learning, so I'm not sure if it's a good idea to make our current taxonomy more complex. | **Is your feature request related to a problem? Please describe.**
## The problem
The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data).
There are various ways of identifying datasets that may be relevant for a particular use case:
- searching
- various filters
Currently, however, there isn't an easy way to identify datasets belonging to a specific domain. For example, I want to browse machine learning datasets related to 'social science' or 'climate change research'.
The ability to identify datasets relating to a specific domain has come up in discussions around the [BigLA](https://github.com/bigscience-workshop/lam/) datasets hackathon https://github.com/bigscience-workshop/lam/discussions/31#discussioncomment-3123610. As part of the hackathon, we're currently collecting datasets related to Libraries, Archives and Museums and making them available via the hub. We currently do this under a Hugging Face organization (https://huggingface.co/biglam). However, going forward, I can see some of these datasets being migrated to sit under an organization that is the custodian of the dataset (for example, a national library the data was originally from). At this point, it becomes more difficult to quickly identify datasets from this domain without relying on search.
This is also related to some existing issues on Github related to metadata on the hub:
- https://github.com/huggingface/datasets/issues/3625
- https://github.com/huggingface/datasets/issues/3877
**Describe the solution you'd like**
### Some possible solutions that may help with this:
#### Enable domain tags (from a controlled vocabulary)
- This would add metadata field to the YAML for the domain a dataset relates to
- Advantages:
- the list is controlled, allowing it to be more easily integrated into the datasets tag app (https://huggingface.co/space/huggingface/datasets-tagging)
- the controlled vocabulary could align with an existing controlled vocabulary
- this additional metadata can be used to perform filtering by domain
- disadvantages
- choosing the best controlled vocab may be difficult
- there are many datasets that are likely to fit into the 'machine learning' domain (i.e. there is a long tail of datasets that aren't in more 'generic' machine learning domain
#### Enable topic tags (user-generated)
Enable 'free form' topic tags for datasets and models. This would be closer to GitHub's repository topics which can be chosen from a controlled list (https://github.com/topics/) but can also be more user/org specific. This could potentially be useful for organizations to also manage their own models and datasets as the number they hold in their org grows. For example, they may create 'topic tags' for a specific project, so it's clearer which datasets /models are related to that project.
#### Collections
This solution would likely be the biggest shift and may require significant changes in the hub fronted. Collections could work in several different ways but would include:
Users can curate particular datasets, models, spaces, etc., into a collection. For example, they may create a collection of 'historic newspapers suitable for training language models'. These collections would not be mutually exclusive, i.e. a dataset can belong to zero, one or many collections. Collections can also potentially be nested under other collections.
This is fairly common on other data reposotiores for example the following collections:
<img width="293" alt="Screenshot 2022-07-18 at 11 50 44" src="https://user-images.githubusercontent.com/8995957/179496445-963ed122-5e26-4574-96e8-41081bce3e2b.png">
all belong under a higher level collection (https://bl.iro.bl.uk/collections/353c908d-b495-4413-b047-87236d2573e3?locale=en).
There are different models one could use for how these collections could be created:
- only within an org
- for any dataset/model
- the owner or a dataset/model has to agree to be added to a collection
- a collection owner can have people suggest additions to their collection
- other models....
These collections could be thematic, related to particular training approaches, curate models with particular inference properties etc. Whilst some of these features may duplicate current/or future tag filters on the hub, they offer the advantage of being flexible and not having to predict what users will want to do upfront.
There is also potential for automating the creation of these collections based on existing metadata. For example, one could collect models trained on a collection of datasets so for example, if we had a collection of 'historic newspapers suitable for training language models' that contained 30 datasets, we could create another collection 'historic newspaper language models' that takes any model on the hub whose metadata says it used one or more of those 30 datasets.
There is also the option of exploring ML approaches to suggest models/datasets may be relevant to a particular collection.
This approach is likely to be quite difficult to implement well and would require significant thought. There is also likely to be a benefit in doing quite a bit of upfront work in curating useful collections to demonstrate the benefits of collections.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
It is possible to collate this information externally, i.e. one could link back to the relevant models/datasets from an external platform.
**Additional context**
Add any other context about the feature request here.
I'm cc'ing others involved in the BigLAM hackathon who may also have thoughts @cakiki @clancyoftheoverflow @albertvillanova | 63 | Domain specific dataset discovery on the Hugging Face hub
**Is your feature request related to a problem? Please describe.**
## The problem
The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data).
There are various ways of identifying datasets that may be relevant for a particular use case:
- searching
- various filters
Currently, however, there isn't an easy way to identify datasets belonging to a specific domain. For example, I want to browse machine learning datasets related to 'social science' or 'climate change research'.
The ability to identify datasets relating to a specific domain has come up in discussions around the [BigLA](https://github.com/bigscience-workshop/lam/) datasets hackathon https://github.com/bigscience-workshop/lam/discussions/31#discussioncomment-3123610. As part of the hackathon, we're currently collecting datasets related to Libraries, Archives and Museums and making them available via the hub. We currently do this under a Hugging Face organization (https://huggingface.co/biglam). However, going forward, I can see some of these datasets being migrated to sit under an organization that is the custodian of the dataset (for example, a national library the data was originally from). At this point, it becomes more difficult to quickly identify datasets from this domain without relying on search.
This is also related to some existing issues on Github related to metadata on the hub:
- https://github.com/huggingface/datasets/issues/3625
- https://github.com/huggingface/datasets/issues/3877
**Describe the solution you'd like**
### Some possible solutions that may help with this:
#### Enable domain tags (from a controlled vocabulary)
- This would add metadata field to the YAML for the domain a dataset relates to
- Advantages:
- the list is controlled, allowing it to be more easily integrated into the datasets tag app (https://huggingface.co/space/huggingface/datasets-tagging)
- the controlled vocabulary could align with an existing controlled vocabulary
- this additional metadata can be used to perform filtering by domain
- disadvantages
- choosing the best controlled vocab may be difficult
- there are many datasets that are likely to fit into the 'machine learning' domain (i.e. there is a long tail of datasets that aren't in more 'generic' machine learning domain
#### Enable topic tags (user-generated)
Enable 'free form' topic tags for datasets and models. This would be closer to GitHub's repository topics which can be chosen from a controlled list (https://github.com/topics/) but can also be more user/org specific. This could potentially be useful for organizations to also manage their own models and datasets as the number they hold in their org grows. For example, they may create 'topic tags' for a specific project, so it's clearer which datasets /models are related to that project.
#### Collections
This solution would likely be the biggest shift and may require significant changes in the hub fronted. Collections could work in several different ways but would include:
Users can curate particular datasets, models, spaces, etc., into a collection. For example, they may create a collection of 'historic newspapers suitable for training language models'. These collections would not be mutually exclusive, i.e. a dataset can belong to zero, one or many collections. Collections can also potentially be nested under other collections.
This is fairly common on other data reposotiores for example the following collections:
<img width="293" alt="Screenshot 2022-07-18 at 11 50 44" src="https://user-images.githubusercontent.com/8995957/179496445-963ed122-5e26-4574-96e8-41081bce3e2b.png">
all belong under a higher level collection (https://bl.iro.bl.uk/collections/353c908d-b495-4413-b047-87236d2573e3?locale=en).
There are different models one could use for how these collections could be created:
- only within an org
- for any dataset/model
- the owner or a dataset/model has to agree to be added to a collection
- a collection owner can have people suggest additions to their collection
- other models....
These collections could be thematic, related to particular training approaches, curate models with particular inference properties etc. Whilst some of these features may duplicate current/or future tag filters on the hub, they offer the advantage of being flexible and not having to predict what users will want to do upfront.
There is also potential for automating the creation of these collections based on existing metadata. For example, one could collect models trained on a collection of datasets so for example, if we had a collection of 'historic newspapers suitable for training language models' that contained 30 datasets, we could create another collection 'historic newspaper language models' that takes any model on the hub whose metadata says it used one or more of those 30 datasets.
There is also the option of exploring ML approaches to suggest models/datasets may be relevant to a particular collection.
This approach is likely to be quite difficult to implement well and would require significant thought. There is also likely to be a benefit in doing quite a bit of upfront work in curating useful collections to demonstrate the benefits of collections.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
It is possible to collate this information externally, i.e. one could link back to the relevant models/datasets from an external platform.
**Additional context**
Add any other context about the feature request here.
I'm cc'ing others involved in the BigLAM hackathon who may also have thoughts @cakiki @clancyoftheoverflow @albertvillanova
Hi! I added a link to this issue in our internal request for adding keywords/topics to the Hub, which is identical to the `topic tags` solution. The `collections` solution seems too complex (as you point out). Regarding the `domain tags` solution, we primarily focus on machine learning, so I'm not sure if it's a good idea to make our current taxonomy more complex. | [
0.03188703581690788,
-0.15919062495231628,
-0.030975883826613426,
0.1941971629858017,
0.13424353301525116,
-0.05863244831562042,
0.25349530577659607,
0.2807849049568176,
0.07080627977848053,
0.0454031378030777,
-0.4283638596534729,
-0.08462215960025787,
-0.4897831380367279,
0.5621156096458435,
0.20050299167633057,
-0.004994131624698639,
0.006477683782577515,
-0.3256782293319702,
0.2350308895111084,
-0.05612468346953392,
-0.09555578231811523,
-0.002801351249217987,
0.0769445151090622,
-0.06490969657897949,
-0.6074992418289185,
-0.016321243718266487,
-0.00010155141353607178,
-0.03162532299757004,
-0.07240203768014908,
-0.31515082716941833,
0.4859934449195862,
0.2636100947856903,
0.10374301671981812,
0.1820126324892044,
-0.00011395703768357635,
-0.08193720877170563,
0.1950567662715912,
-0.09835577011108398,
-0.22840549051761627,
-0.046482980251312256,
-0.3069973886013031,
-0.04265180230140686,
0.08432271331548691,
-0.03410476818680763,
-0.4171261489391327,
0.16619694232940674,
-0.03908143192529678,
-0.30258655548095703,
0.025946594774723053,
0.0644272193312645,
0.14856699109077454,
0.22174814343452454,
-0.3138924539089203,
-0.1778530478477478,
-0.10797036439180374,
0.40913814306259155,
-0.22468039393424988,
0.27355659008026123,
0.3900913596153259,
-0.09140212833881378,
-0.2588098347187042,
0.5280653238296509,
-0.019723299890756607,
-0.16471156477928162,
0.2814039885997772,
0.08691441267728806,
-0.10597925633192062,
-0.2551880180835724,
0.02119498699903488,
0.40564343333244324,
0.6322143077850342,
-0.2913108766078949,
-0.4026249647140503,
-0.5651187896728516,
-0.042838580906391144,
0.030729128047823906,
-0.00821889191865921,
0.056638553738594055,
-0.2930941581726074,
0.32403549551963806,
-0.33885830640792847,
-0.26508063077926636,
-0.19724877178668976,
0.14331918954849243,
-0.14425644278526306,
0.30832165479660034,
-0.09563938528299332,
-0.031145520508289337,
-0.00038102641701698303,
-0.10157987475395203,
-0.03587235137820244,
0.10003165900707245,
0.33879971504211426,
0.16330982744693756,
-0.4742288589477539,
-0.3948231041431427,
-0.12109630554914474,
0.4444841146469116,
0.28849563002586365,
0.49614089727401733,
-0.04585859924554825,
0.268538236618042,
-0.2803509533405304,
-0.09494111686944962,
0.33673331141471863,
0.19269271194934845,
0.12125660479068756,
-0.14549072086811066,
0.2766610085964203,
-0.11718379706144333,
0.12256719172000885,
0.18444806337356567,
-0.251274049282074,
0.1966204047203064,
-0.09216666221618652,
0.019737130030989647,
0.3378026485443115,
-0.11072373390197754,
-0.10230488330125809,
-0.014901052229106426,
-0.06459537148475647,
-0.0039743464440107346,
0.2937917411327362,
0.09801165759563446,
0.04419508948922157,
-0.10003528743982315,
-0.3294075131416321,
-0.023018408566713333,
-0.08541402220726013,
0.06199357286095619,
-0.10872049629688263,
0.24645684659481049,
0.043233226984739304,
0.26439303159713745,
0.33141183853149414,
-0.2882443368434906,
0.11919859796762466,
-0.11625168472528458,
0.18167456984519958,
-0.011746734380722046,
-0.1548292338848114,
-0.029070518910884857,
0.13988623023033142,
0.042046088725328445,
-0.4897649884223938,
0.07504396885633469,
0.003353554755449295,
-0.25367340445518494,
-0.3454214334487915,
-0.2471228837966919,
-0.15652430057525635,
-0.4200160503387451,
-0.07372277975082397,
0.054190635681152344,
-0.374687135219574,
0.08810514211654663,
-0.29945263266563416,
0.5411409139633179,
-0.5783674120903015,
0.23793363571166992,
0.11701501160860062,
0.34696757793426514,
-0.22420112788677216,
-0.05192834883928299,
0.15247194468975067,
0.5010554790496826,
0.20715609192848206,
-0.26358234882354736,
0.028654079884290695,
0.09452211856842041,
-0.2388109266757965,
0.09912532567977905,
-0.12677474319934845,
-0.024623386561870575,
-0.17801064252853394,
0.16056126356124878,
-0.1381222903728485,
-0.7480869293212891,
-0.2418721318244934,
-0.12377992272377014,
-0.3060058057308197,
0.22549502551555634,
0.011329084634780884,
0.2893886864185333,
0.06288705766201019,
-0.2489527463912964,
0.03712639957666397,
0.4285990595817566,
-0.19726137816905975,
-0.05000076815485954,
-0.11361157894134521,
-0.11622388660907745,
-0.12541595101356506,
0.31736063957214355,
0.14152854681015015,
-0.07871714979410172,
0.2396247386932373,
0.24151922762393951,
0.0550541914999485,
0.091777503490448,
0.2840215861797333,
0.07832437008619308,
0.4006848931312561,
-0.10513682663440704,
0.050720278173685074,
-0.19556385278701782,
-0.5673906803131104,
0.15935838222503662,
0.3315316438674927,
0.419883131980896,
-0.17816521227359772,
-0.25806403160095215,
-0.25203418731689453,
0.002630714327096939,
-0.2221459001302719,
-0.2519017457962036,
0.05098504573106766,
-0.08622319996356964,
0.3138265609741211,
0.013864327222108841,
-0.24126461148262024,
0.6043831706047058,
0.3184370696544647,
0.1870884895324707,
-0.4891660809516907,
0.2662493884563446,
0.3797731399536133,
0.34592559933662415,
0.050480201840400696,
0.25305864214897156,
0.1993710696697235,
-0.00831882655620575,
0.14322993159294128,
-0.019066862761974335,
-0.04401284083724022,
0.1901509016752243,
0.475234717130661,
0.764721691608429,
0.5026208758354187,
-0.3314965069293976,
0.14000385999679565,
-0.22637659311294556,
0.0542527437210083,
0.1266363561153412,
-0.30831074714660645,
0.322191059589386,
-0.35038724541664124,
0.3090777099132538,
-0.10267437994480133,
0.1395743191242218,
0.1299968659877777,
-0.1503334492444992,
-0.2748202085494995,
-0.3602955937385559,
0.015134468674659729,
-0.016282513737678528,
0.4335099458694458,
0.1064039096236229,
-0.2477627545595169,
0.13039056956768036,
0.1003335565328598,
-0.09763060510158539,
0.24789166450500488,
0.3325381278991699,
-0.38130006194114685,
0.05719200521707535,
0.15706132352352142,
0.17255054414272308,
0.07932380586862564,
0.07454320788383484,
0.18589170277118683,
0.11964640021324158,
0.23441174626350403,
-0.03374490141868591,
-0.0004833787679672241,
0.18682372570037842,
0.08514728397130966,
0.017620090395212173,
0.15178756415843964,
0.11533414572477341,
-0.1585196554660797,
-0.24337762594223022,
-0.09098565578460693,
-0.12043812870979309,
0.027050074189901352,
-0.0737631767988205,
-0.2754071056842804,
-0.17680609226226807,
-0.14332883059978485,
-0.4039272367954254,
-0.5082451105117798,
0.03870701789855957,
0.25078916549682617,
0.006599389016628265,
-0.02067539095878601,
-0.0022343043237924576,
0.016192074865102768,
0.47881078720092773,
-0.3491724729537964,
-0.12082520872354507,
-0.09123341739177704,
-0.18751336634159088,
0.21954208612442017,
0.08223418891429901,
-0.015059594996273518,
0.20792366564273834,
0.48148614168167114,
0.09315875917673111,
0.5605018734931946,
-0.467043936252594,
-0.5391371846199036,
0.16941699385643005,
0.015501262620091438,
0.3729126453399658,
0.13188304007053375,
0.007071636617183685,
-0.11508779972791672,
-0.1019081175327301,
0.19591572880744934,
-0.052293531596660614,
-0.02991136908531189,
-0.26347461342811584,
0.02521827258169651,
0.3313482403755188,
0.10034239292144775,
0.006573230028152466,
-0.5735208988189697,
-0.3349670469760895,
0.2867111265659332,
-0.1901431679725647,
0.2298867255449295,
0.4373263120651245,
-0.5130934715270996,
-0.18902356922626495,
-0.19317935407161713,
-0.17290876805782318,
-0.2038889229297638,
-0.3269670307636261,
0.06780630350112915,
-0.3545684218406677,
0.1713636964559555,
-0.21433189511299133,
-0.2473384588956833,
0.2091255635023117,
0.08546575158834457,
0.04063890129327774,
-0.31484219431877136,
-0.09577923268079758,
0.2384791374206543,
0.1708245426416397,
-0.11681215465068817,
0.32578903436660767,
0.020111577585339546,
0.0020891427993774414,
-0.07396818697452545,
-0.3824058771133423,
0.02401440590620041,
0.2664618194103241,
0.006474673748016357,
0.2208137810230255,
-0.3795364797115326,
0.16649220883846283,
0.2516952157020569,
0.12717853486537933,
0.05315791442990303,
0.33667629957199097,
0.20104536414146423,
0.18461555242538452,
0.06873448938131332,
-0.2310672402381897,
-0.04619966074824333,
0.036964379251003265,
0.03483866527676582,
0.42592698335647583,
0.35503727197647095,
0.27793586254119873,
-0.30102595686912537,
-0.5485736727714539,
-0.2665914297103882,
-0.20867250859737396,
-0.003421155735850334,
0.11536868661642075,
0.17862465977668762,
-0.000118989497423172,
-0.1350068598985672,
-0.20908041298389435,
-0.14544057846069336,
0.1618417650461197,
0.22824357450008392,
0.2043803483247757,
0.021392827853560448,
-0.11346442997455597,
0.12471054494380951,
-0.42331477999687195,
-0.01022619754076004,
0.1212083250284195,
0.012074844911694527,
-0.19484783709049225,
-0.011823965236544609,
-0.009113326668739319,
0.42003828287124634,
0.6715653538703918,
-0.24098928272724152,
-0.04987885802984238,
-0.3507020175457001,
-0.42225533723831177,
-0.0709855780005455,
0.20013169944286346,
0.21165195107460022,
0.02609413117170334,
-0.3063870072364807,
0.648346483707428,
-0.2707225978374481,
-0.23981845378875732,
0.055975355207920074,
-0.0232362262904644,
-0.026370175182819366,
-0.07288435101509094,
0.4177699685096741,
-0.14045608043670654,
-0.22232335805892944,
0.0414026603102684,
0.18740934133529663,
0.14228983223438263,
0.25976571440696716,
-0.13239605724811554,
-0.023794399574398994,
0.15956223011016846,
0.2801404893398285,
0.05202139541506767,
-0.013453524559736252,
0.29604995250701904,
0.3682751953601837,
0.5342804789543152,
0.2393411546945572,
0.16883046925067902,
0.5727491974830627,
0.14486002922058105,
-0.3688116669654846,
-0.1863533854484558,
0.13854704797267914,
0.25980570912361145,
0.5243191123008728,
0.06492730975151062,
0.3626083433628082,
-0.2040531486272812,
0.15166546404361725,
-0.6122169494628906,
0.11438125371932983,
-0.27034029364585876,
0.0032646115869283676,
-0.828542947769165,
0.0223421398550272,
0.7809950709342957,
-0.06908288598060608,
-0.26790690422058105,
-0.004787411540746689,
0.5384549498558044,
-0.4402562975883484,
-0.06616902351379395,
0.07979755103588104,
0.95487380027771,
-0.19162409007549286,
-0.14366641640663147,
-0.14081618189811707,
-0.09576090425252914,
0.5320931077003479,
-0.21558906137943268,
0.02945082262158394,
-0.2221897840499878,
-0.2367459237575531,
-0.14984682202339172,
0.057240989059209824,
0.02807091549038887,
0.3009433150291443,
0.164535254240036,
0.17777961492538452,
0.2572539448738098,
0.29900142550468445,
-0.16512365639209747,
0.3852066695690155,
-0.06254980713129044,
-0.5423590540885925,
-0.3532698154449463,
0.0815218836069107,
-0.3201014995574951,
0.6616986989974976,
0.10880822688341141,
-0.2791655659675598,
-0.2650180459022522,
-0.09765560925006866,
-0.28091949224472046,
-0.23621681332588196,
-0.1978277862071991,
-0.08395688980817795,
0.1982223242521286,
-0.2566072940826416,
0.28729861974716187,
-0.21746739745140076,
0.5471885800361633,
0.01232161931693554,
-0.4314996302127838,
0.2217627316713333,
-0.157139390707016,
0.1303102821111679,
0.011238683946430683,
-0.32663410902023315,
0.13319586217403412,
0.035910606384277344,
-0.08851118385791779,
-0.12455873936414719,
0.1712360680103302,
-0.22266966104507446,
-0.3260185718536377,
-0.0587458461523056,
-0.012087531387805939,
0.050359342247247696,
0.10163447260856628,
-0.12676924467086792,
-0.07377445697784424,
-0.08260044455528259,
0.05527246370911598,
0.13901138305664062,
-0.0450282096862793,
0.020197946578264236,
0.17543326318264008,
-0.050194304436445236,
-0.21869951486587524,
0.18940213322639465,
-0.009224195033311844,
-0.1284133940935135,
0.03382537513971329,
-0.05295683443546295,
-0.17167823016643524,
-0.12413277477025986,
-0.06842540204524994,
0.4635797441005707,
-0.4607744812965393,
-0.045212749391794205,
0.22595332562923431,
-0.11068876832723618,
0.201213538646698,
0.054855965077877045,
0.09619803726673126,
-0.2917410731315613,
-0.09841582924127579,
-0.19566522538661957,
-0.026025567203760147,
0.2706507444381714,
-0.31106382608413696,
0.18805603682994843,
-0.17740345001220703,
0.05409498140215874,
-0.008305283263325691,
0.1954435110092163,
-0.26444458961486816,
-0.04260063171386719,
-0.21679791808128357,
0.12748995423316956,
-0.09908682107925415,
0.15473249554634094,
0.28204649686813354,
-0.06942518800497055,
-0.02403925359249115,
-0.012268181890249252,
-0.11931082606315613,
-0.0602075420320034,
-0.32960617542266846,
0.18545420467853546,
0.05435413122177124,
-0.025051703676581383,
0.017496977001428604,
0.28189611434936523,
0.09645982086658478,
-0.34731340408325195,
0.3435482680797577,
0.49230533838272095,
0.19517065584659576,
-0.09070426970720291,
0.1335338056087494,
-0.27645277976989746,
-0.0269117783755064,
0.11982135474681854,
0.40370258688926697,
0.26750925183296204,
0.22849959135055542,
-0.08841367065906525,
-0.2107688933610916,
-0.06188461557030678,
-0.003178494516760111,
0.25214409828186035,
0.058751314878463745,
-0.1357872486114502,
0.09171150624752045,
0.21811354160308838,
-0.1252293884754181,
0.686281144618988,
0.2321588695049286,
-0.2876969873905182,
-0.12565207481384277,
0.037774473428726196,
0.09884661436080933,
0.14487217366695404,
-0.19968533515930176,
-0.29336246848106384,
0.14535903930664062,
-0.33194902539253235,
0.09620891511440277,
0.44322696328163147,
0.561668872833252,
0.3827252686023712,
-0.08083896338939667,
-0.2080785632133484,
0.43305808305740356,
0.04071388766169548,
0.3023642897605896,
0.35417014360427856,
0.16073936223983765,
-0.061012472957372665,
0.2649027109146118,
0.05117817223072052,
0.2749195098876953,
0.2905087471008301,
-0.3332831561565399,
0.4239794909954071,
-0.061430126428604126,
0.020917177200317383,
0.41927099227905273,
-0.182625874876976,
-0.04482323303818703,
-0.11337321996688843,
-0.10445459187030792,
0.06500312685966492,
-0.2880861461162567,
0.0385933518409729,
-0.09077082574367523,
0.06300145387649536,
-0.20778155326843262,
0.07470850646495819,
0.07575267553329468,
0.08680249750614166,
0.43213698267936707,
-0.30572161078453064,
-0.16371197998523712,
0.05113627389073372,
-0.15393586456775665,
-0.7015413045883179,
0.1578664779663086,
-0.00797269493341446,
0.27788713574409485,
-0.21240931749343872,
-0.1158817782998085,
0.1670997142791748,
0.4064881503582001,
-0.10196735709905624,
-0.1318383514881134,
0.13945555686950684,
-0.2682114541530609,
0.22575964033603668,
0.13138733804225922,
-0.009082961827516556,
-0.07961912453174591,
-0.03593580424785614,
0.25475451350212097,
-0.29714706540107727,
-0.0031986739486455917,
0.013826999813318253,
0.12249254435300827,
-0.033422648906707764,
-0.17132748663425446,
-0.02206786908209324,
0.03858356922864914,
-0.02697751484811306,
-0.059548210352659225,
0.0804111585021019,
-0.008181199431419373,
-0.22673232853412628,
0.03948010504245758,
-0.04298058897256851,
0.1847405731678009,
-0.1453029215335846,
0.001979261636734009,
-0.15558917820453644,
-0.270487904548645,
0.4388320744037628,
-0.008119137957692146,
0.1772269308567047,
-0.041873909533023834,
0.0504855215549469,
-0.047564547508955,
0.3511812090873718,
-0.024508532136678696,
0.09472787380218506,
-0.22241519391536713,
-0.02090572565793991,
-0.289558082818985,
-0.11654449254274368,
0.16085109114646912,
-0.16528423130512238,
0.001827901229262352,
-0.36776092648506165,
0.11361557245254517,
0.20146843791007996,
-0.3850228190422058,
-0.05756795033812523,
0.4485529661178589,
0.028552459552884102,
-0.3556879162788391,
0.21086467802524567,
0.04518897086381912,
0.0381157323718071,
0.18950939178466797,
-0.0685773566365242,
0.25481387972831726,
0.11061844229698181,
-0.13401484489440918,
-0.16544194519519806,
0.34440627694129944,
0.12407013773918152,
0.01679370552301407,
0.22792242467403412,
-0.06019459664821625,
0.2006007432937622,
0.004029419273138046,
0.0958714410662651,
-0.34716224670410156,
-0.14137494564056396,
-0.2265041470527649,
0.318885862827301,
0.13497304916381836,
0.34795722365379333,
0.05186569690704346,
-0.11863301694393158,
-0.05445106700062752,
0.027873938903212547,
-0.007401652634143829,
0.36391907930374146,
0.07109422236680984,
-0.06033967435359955,
-0.19435164332389832,
0.07585199922323227,
0.1700044870376587,
0.2696356475353241,
0.007499713450670242,
0.09746631234884262,
0.03693094849586487,
-0.6195942163467407,
0.4970833361148834,
-0.32528993487358093,
-0.12865443527698517,
0.07346640527248383,
0.24228107929229736,
0.1590387523174286,
-0.263191282749176,
-0.49043452739715576,
0.05034182220697403,
0.22796693444252014,
0.01492511946707964,
0.030264656990766525,
0.10435116291046143,
0.15840496122837067,
-0.2185346633195877,
-0.0938032865524292,
-0.13811419904232025,
0.1437336802482605,
-0.06262119114398956,
0.05945246294140816,
-0.04967431724071503
] |
https://github.com/huggingface/datasets/issues/4702 | Domain specific dataset discovery on the Hugging Face hub | > Hi! I added a link to this issue in our internal request for adding keywords/topics to the Hub, which is identical to the `topic tags` solution. The `collections` solution seems too complex (as you point out). Regarding the `domain tags` solution, we primarily focus on machine learning, so I'm not sure if it's a good idea to make our current taxonomy more complex.
Thanks, for letting me know. Will you allow the topic tags to be user-generated or only chosen from a list? | **Is your feature request related to a problem? Please describe.**
## The problem
The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data).
There are various ways of identifying datasets that may be relevant for a particular use case:
- searching
- various filters
Currently, however, there isn't an easy way to identify datasets belonging to a specific domain. For example, I want to browse machine learning datasets related to 'social science' or 'climate change research'.
The ability to identify datasets relating to a specific domain has come up in discussions around the [BigLA](https://github.com/bigscience-workshop/lam/) datasets hackathon https://github.com/bigscience-workshop/lam/discussions/31#discussioncomment-3123610. As part of the hackathon, we're currently collecting datasets related to Libraries, Archives and Museums and making them available via the hub. We currently do this under a Hugging Face organization (https://huggingface.co/biglam). However, going forward, I can see some of these datasets being migrated to sit under an organization that is the custodian of the dataset (for example, a national library the data was originally from). At this point, it becomes more difficult to quickly identify datasets from this domain without relying on search.
This is also related to some existing issues on Github related to metadata on the hub:
- https://github.com/huggingface/datasets/issues/3625
- https://github.com/huggingface/datasets/issues/3877
**Describe the solution you'd like**
### Some possible solutions that may help with this:
#### Enable domain tags (from a controlled vocabulary)
- This would add metadata field to the YAML for the domain a dataset relates to
- Advantages:
- the list is controlled, allowing it to be more easily integrated into the datasets tag app (https://huggingface.co/space/huggingface/datasets-tagging)
- the controlled vocabulary could align with an existing controlled vocabulary
- this additional metadata can be used to perform filtering by domain
- disadvantages
- choosing the best controlled vocab may be difficult
- there are many datasets that are likely to fit into the 'machine learning' domain (i.e. there is a long tail of datasets that aren't in more 'generic' machine learning domain
#### Enable topic tags (user-generated)
Enable 'free form' topic tags for datasets and models. This would be closer to GitHub's repository topics which can be chosen from a controlled list (https://github.com/topics/) but can also be more user/org specific. This could potentially be useful for organizations to also manage their own models and datasets as the number they hold in their org grows. For example, they may create 'topic tags' for a specific project, so it's clearer which datasets /models are related to that project.
#### Collections
This solution would likely be the biggest shift and may require significant changes in the hub fronted. Collections could work in several different ways but would include:
Users can curate particular datasets, models, spaces, etc., into a collection. For example, they may create a collection of 'historic newspapers suitable for training language models'. These collections would not be mutually exclusive, i.e. a dataset can belong to zero, one or many collections. Collections can also potentially be nested under other collections.
This is fairly common on other data reposotiores for example the following collections:
<img width="293" alt="Screenshot 2022-07-18 at 11 50 44" src="https://user-images.githubusercontent.com/8995957/179496445-963ed122-5e26-4574-96e8-41081bce3e2b.png">
all belong under a higher level collection (https://bl.iro.bl.uk/collections/353c908d-b495-4413-b047-87236d2573e3?locale=en).
There are different models one could use for how these collections could be created:
- only within an org
- for any dataset/model
- the owner or a dataset/model has to agree to be added to a collection
- a collection owner can have people suggest additions to their collection
- other models....
These collections could be thematic, related to particular training approaches, curate models with particular inference properties etc. Whilst some of these features may duplicate current/or future tag filters on the hub, they offer the advantage of being flexible and not having to predict what users will want to do upfront.
There is also potential for automating the creation of these collections based on existing metadata. For example, one could collect models trained on a collection of datasets so for example, if we had a collection of 'historic newspapers suitable for training language models' that contained 30 datasets, we could create another collection 'historic newspaper language models' that takes any model on the hub whose metadata says it used one or more of those 30 datasets.
There is also the option of exploring ML approaches to suggest models/datasets may be relevant to a particular collection.
This approach is likely to be quite difficult to implement well and would require significant thought. There is also likely to be a benefit in doing quite a bit of upfront work in curating useful collections to demonstrate the benefits of collections.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
It is possible to collate this information externally, i.e. one could link back to the relevant models/datasets from an external platform.
**Additional context**
Add any other context about the feature request here.
I'm cc'ing others involved in the BigLAM hackathon who may also have thoughts @cakiki @clancyoftheoverflow @albertvillanova | 84 | Domain specific dataset discovery on the Hugging Face hub
**Is your feature request related to a problem? Please describe.**
## The problem
The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data).
There are various ways of identifying datasets that may be relevant for a particular use case:
- searching
- various filters
Currently, however, there isn't an easy way to identify datasets belonging to a specific domain. For example, I want to browse machine learning datasets related to 'social science' or 'climate change research'.
The ability to identify datasets relating to a specific domain has come up in discussions around the [BigLA](https://github.com/bigscience-workshop/lam/) datasets hackathon https://github.com/bigscience-workshop/lam/discussions/31#discussioncomment-3123610. As part of the hackathon, we're currently collecting datasets related to Libraries, Archives and Museums and making them available via the hub. We currently do this under a Hugging Face organization (https://huggingface.co/biglam). However, going forward, I can see some of these datasets being migrated to sit under an organization that is the custodian of the dataset (for example, a national library the data was originally from). At this point, it becomes more difficult to quickly identify datasets from this domain without relying on search.
This is also related to some existing issues on Github related to metadata on the hub:
- https://github.com/huggingface/datasets/issues/3625
- https://github.com/huggingface/datasets/issues/3877
**Describe the solution you'd like**
### Some possible solutions that may help with this:
#### Enable domain tags (from a controlled vocabulary)
- This would add metadata field to the YAML for the domain a dataset relates to
- Advantages:
- the list is controlled, allowing it to be more easily integrated into the datasets tag app (https://huggingface.co/space/huggingface/datasets-tagging)
- the controlled vocabulary could align with an existing controlled vocabulary
- this additional metadata can be used to perform filtering by domain
- disadvantages
- choosing the best controlled vocab may be difficult
- there are many datasets that are likely to fit into the 'machine learning' domain (i.e. there is a long tail of datasets that aren't in more 'generic' machine learning domain
#### Enable topic tags (user-generated)
Enable 'free form' topic tags for datasets and models. This would be closer to GitHub's repository topics which can be chosen from a controlled list (https://github.com/topics/) but can also be more user/org specific. This could potentially be useful for organizations to also manage their own models and datasets as the number they hold in their org grows. For example, they may create 'topic tags' for a specific project, so it's clearer which datasets /models are related to that project.
#### Collections
This solution would likely be the biggest shift and may require significant changes in the hub fronted. Collections could work in several different ways but would include:
Users can curate particular datasets, models, spaces, etc., into a collection. For example, they may create a collection of 'historic newspapers suitable for training language models'. These collections would not be mutually exclusive, i.e. a dataset can belong to zero, one or many collections. Collections can also potentially be nested under other collections.
This is fairly common on other data reposotiores for example the following collections:
<img width="293" alt="Screenshot 2022-07-18 at 11 50 44" src="https://user-images.githubusercontent.com/8995957/179496445-963ed122-5e26-4574-96e8-41081bce3e2b.png">
all belong under a higher level collection (https://bl.iro.bl.uk/collections/353c908d-b495-4413-b047-87236d2573e3?locale=en).
There are different models one could use for how these collections could be created:
- only within an org
- for any dataset/model
- the owner or a dataset/model has to agree to be added to a collection
- a collection owner can have people suggest additions to their collection
- other models....
These collections could be thematic, related to particular training approaches, curate models with particular inference properties etc. Whilst some of these features may duplicate current/or future tag filters on the hub, they offer the advantage of being flexible and not having to predict what users will want to do upfront.
There is also potential for automating the creation of these collections based on existing metadata. For example, one could collect models trained on a collection of datasets so for example, if we had a collection of 'historic newspapers suitable for training language models' that contained 30 datasets, we could create another collection 'historic newspaper language models' that takes any model on the hub whose metadata says it used one or more of those 30 datasets.
There is also the option of exploring ML approaches to suggest models/datasets may be relevant to a particular collection.
This approach is likely to be quite difficult to implement well and would require significant thought. There is also likely to be a benefit in doing quite a bit of upfront work in curating useful collections to demonstrate the benefits of collections.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
It is possible to collate this information externally, i.e. one could link back to the relevant models/datasets from an external platform.
**Additional context**
Add any other context about the feature request here.
I'm cc'ing others involved in the BigLAM hackathon who may also have thoughts @cakiki @clancyoftheoverflow @albertvillanova
> Hi! I added a link to this issue in our internal request for adding keywords/topics to the Hub, which is identical to the `topic tags` solution. The `collections` solution seems too complex (as you point out). Regarding the `domain tags` solution, we primarily focus on machine learning, so I'm not sure if it's a good idea to make our current taxonomy more complex.
Thanks, for letting me know. Will you allow the topic tags to be user-generated or only chosen from a list? | [
0.03188703581690788,
-0.15919062495231628,
-0.030975883826613426,
0.1941971629858017,
0.13424353301525116,
-0.05863244831562042,
0.25349530577659607,
0.2807849049568176,
0.07080627977848053,
0.0454031378030777,
-0.4283638596534729,
-0.08462215960025787,
-0.4897831380367279,
0.5621156096458435,
0.20050299167633057,
-0.004994131624698639,
0.006477683782577515,
-0.3256782293319702,
0.2350308895111084,
-0.05612468346953392,
-0.09555578231811523,
-0.002801351249217987,
0.0769445151090622,
-0.06490969657897949,
-0.6074992418289185,
-0.016321243718266487,
-0.00010155141353607178,
-0.03162532299757004,
-0.07240203768014908,
-0.31515082716941833,
0.4859934449195862,
0.2636100947856903,
0.10374301671981812,
0.1820126324892044,
-0.00011395703768357635,
-0.08193720877170563,
0.1950567662715912,
-0.09835577011108398,
-0.22840549051761627,
-0.046482980251312256,
-0.3069973886013031,
-0.04265180230140686,
0.08432271331548691,
-0.03410476818680763,
-0.4171261489391327,
0.16619694232940674,
-0.03908143192529678,
-0.30258655548095703,
0.025946594774723053,
0.0644272193312645,
0.14856699109077454,
0.22174814343452454,
-0.3138924539089203,
-0.1778530478477478,
-0.10797036439180374,
0.40913814306259155,
-0.22468039393424988,
0.27355659008026123,
0.3900913596153259,
-0.09140212833881378,
-0.2588098347187042,
0.5280653238296509,
-0.019723299890756607,
-0.16471156477928162,
0.2814039885997772,
0.08691441267728806,
-0.10597925633192062,
-0.2551880180835724,
0.02119498699903488,
0.40564343333244324,
0.6322143077850342,
-0.2913108766078949,
-0.4026249647140503,
-0.5651187896728516,
-0.042838580906391144,
0.030729128047823906,
-0.00821889191865921,
0.056638553738594055,
-0.2930941581726074,
0.32403549551963806,
-0.33885830640792847,
-0.26508063077926636,
-0.19724877178668976,
0.14331918954849243,
-0.14425644278526306,
0.30832165479660034,
-0.09563938528299332,
-0.031145520508289337,
-0.00038102641701698303,
-0.10157987475395203,
-0.03587235137820244,
0.10003165900707245,
0.33879971504211426,
0.16330982744693756,
-0.4742288589477539,
-0.3948231041431427,
-0.12109630554914474,
0.4444841146469116,
0.28849563002586365,
0.49614089727401733,
-0.04585859924554825,
0.268538236618042,
-0.2803509533405304,
-0.09494111686944962,
0.33673331141471863,
0.19269271194934845,
0.12125660479068756,
-0.14549072086811066,
0.2766610085964203,
-0.11718379706144333,
0.12256719172000885,
0.18444806337356567,
-0.251274049282074,
0.1966204047203064,
-0.09216666221618652,
0.019737130030989647,
0.3378026485443115,
-0.11072373390197754,
-0.10230488330125809,
-0.014901052229106426,
-0.06459537148475647,
-0.0039743464440107346,
0.2937917411327362,
0.09801165759563446,
0.04419508948922157,
-0.10003528743982315,
-0.3294075131416321,
-0.023018408566713333,
-0.08541402220726013,
0.06199357286095619,
-0.10872049629688263,
0.24645684659481049,
0.043233226984739304,
0.26439303159713745,
0.33141183853149414,
-0.2882443368434906,
0.11919859796762466,
-0.11625168472528458,
0.18167456984519958,
-0.011746734380722046,
-0.1548292338848114,
-0.029070518910884857,
0.13988623023033142,
0.042046088725328445,
-0.4897649884223938,
0.07504396885633469,
0.003353554755449295,
-0.25367340445518494,
-0.3454214334487915,
-0.2471228837966919,
-0.15652430057525635,
-0.4200160503387451,
-0.07372277975082397,
0.054190635681152344,
-0.374687135219574,
0.08810514211654663,
-0.29945263266563416,
0.5411409139633179,
-0.5783674120903015,
0.23793363571166992,
0.11701501160860062,
0.34696757793426514,
-0.22420112788677216,
-0.05192834883928299,
0.15247194468975067,
0.5010554790496826,
0.20715609192848206,
-0.26358234882354736,
0.028654079884290695,
0.09452211856842041,
-0.2388109266757965,
0.09912532567977905,
-0.12677474319934845,
-0.024623386561870575,
-0.17801064252853394,
0.16056126356124878,
-0.1381222903728485,
-0.7480869293212891,
-0.2418721318244934,
-0.12377992272377014,
-0.3060058057308197,
0.22549502551555634,
0.011329084634780884,
0.2893886864185333,
0.06288705766201019,
-0.2489527463912964,
0.03712639957666397,
0.4285990595817566,
-0.19726137816905975,
-0.05000076815485954,
-0.11361157894134521,
-0.11622388660907745,
-0.12541595101356506,
0.31736063957214355,
0.14152854681015015,
-0.07871714979410172,
0.2396247386932373,
0.24151922762393951,
0.0550541914999485,
0.091777503490448,
0.2840215861797333,
0.07832437008619308,
0.4006848931312561,
-0.10513682663440704,
0.050720278173685074,
-0.19556385278701782,
-0.5673906803131104,
0.15935838222503662,
0.3315316438674927,
0.419883131980896,
-0.17816521227359772,
-0.25806403160095215,
-0.25203418731689453,
0.002630714327096939,
-0.2221459001302719,
-0.2519017457962036,
0.05098504573106766,
-0.08622319996356964,
0.3138265609741211,
0.013864327222108841,
-0.24126461148262024,
0.6043831706047058,
0.3184370696544647,
0.1870884895324707,
-0.4891660809516907,
0.2662493884563446,
0.3797731399536133,
0.34592559933662415,
0.050480201840400696,
0.25305864214897156,
0.1993710696697235,
-0.00831882655620575,
0.14322993159294128,
-0.019066862761974335,
-0.04401284083724022,
0.1901509016752243,
0.475234717130661,
0.764721691608429,
0.5026208758354187,
-0.3314965069293976,
0.14000385999679565,
-0.22637659311294556,
0.0542527437210083,
0.1266363561153412,
-0.30831074714660645,
0.322191059589386,
-0.35038724541664124,
0.3090777099132538,
-0.10267437994480133,
0.1395743191242218,
0.1299968659877777,
-0.1503334492444992,
-0.2748202085494995,
-0.3602955937385559,
0.015134468674659729,
-0.016282513737678528,
0.4335099458694458,
0.1064039096236229,
-0.2477627545595169,
0.13039056956768036,
0.1003335565328598,
-0.09763060510158539,
0.24789166450500488,
0.3325381278991699,
-0.38130006194114685,
0.05719200521707535,
0.15706132352352142,
0.17255054414272308,
0.07932380586862564,
0.07454320788383484,
0.18589170277118683,
0.11964640021324158,
0.23441174626350403,
-0.03374490141868591,
-0.0004833787679672241,
0.18682372570037842,
0.08514728397130966,
0.017620090395212173,
0.15178756415843964,
0.11533414572477341,
-0.1585196554660797,
-0.24337762594223022,
-0.09098565578460693,
-0.12043812870979309,
0.027050074189901352,
-0.0737631767988205,
-0.2754071056842804,
-0.17680609226226807,
-0.14332883059978485,
-0.4039272367954254,
-0.5082451105117798,
0.03870701789855957,
0.25078916549682617,
0.006599389016628265,
-0.02067539095878601,
-0.0022343043237924576,
0.016192074865102768,
0.47881078720092773,
-0.3491724729537964,
-0.12082520872354507,
-0.09123341739177704,
-0.18751336634159088,
0.21954208612442017,
0.08223418891429901,
-0.015059594996273518,
0.20792366564273834,
0.48148614168167114,
0.09315875917673111,
0.5605018734931946,
-0.467043936252594,
-0.5391371846199036,
0.16941699385643005,
0.015501262620091438,
0.3729126453399658,
0.13188304007053375,
0.007071636617183685,
-0.11508779972791672,
-0.1019081175327301,
0.19591572880744934,
-0.052293531596660614,
-0.02991136908531189,
-0.26347461342811584,
0.02521827258169651,
0.3313482403755188,
0.10034239292144775,
0.006573230028152466,
-0.5735208988189697,
-0.3349670469760895,
0.2867111265659332,
-0.1901431679725647,
0.2298867255449295,
0.4373263120651245,
-0.5130934715270996,
-0.18902356922626495,
-0.19317935407161713,
-0.17290876805782318,
-0.2038889229297638,
-0.3269670307636261,
0.06780630350112915,
-0.3545684218406677,
0.1713636964559555,
-0.21433189511299133,
-0.2473384588956833,
0.2091255635023117,
0.08546575158834457,
0.04063890129327774,
-0.31484219431877136,
-0.09577923268079758,
0.2384791374206543,
0.1708245426416397,
-0.11681215465068817,
0.32578903436660767,
0.020111577585339546,
0.0020891427993774414,
-0.07396818697452545,
-0.3824058771133423,
0.02401440590620041,
0.2664618194103241,
0.006474673748016357,
0.2208137810230255,
-0.3795364797115326,
0.16649220883846283,
0.2516952157020569,
0.12717853486537933,
0.05315791442990303,
0.33667629957199097,
0.20104536414146423,
0.18461555242538452,
0.06873448938131332,
-0.2310672402381897,
-0.04619966074824333,
0.036964379251003265,
0.03483866527676582,
0.42592698335647583,
0.35503727197647095,
0.27793586254119873,
-0.30102595686912537,
-0.5485736727714539,
-0.2665914297103882,
-0.20867250859737396,
-0.003421155735850334,
0.11536868661642075,
0.17862465977668762,
-0.000118989497423172,
-0.1350068598985672,
-0.20908041298389435,
-0.14544057846069336,
0.1618417650461197,
0.22824357450008392,
0.2043803483247757,
0.021392827853560448,
-0.11346442997455597,
0.12471054494380951,
-0.42331477999687195,
-0.01022619754076004,
0.1212083250284195,
0.012074844911694527,
-0.19484783709049225,
-0.011823965236544609,
-0.009113326668739319,
0.42003828287124634,
0.6715653538703918,
-0.24098928272724152,
-0.04987885802984238,
-0.3507020175457001,
-0.42225533723831177,
-0.0709855780005455,
0.20013169944286346,
0.21165195107460022,
0.02609413117170334,
-0.3063870072364807,
0.648346483707428,
-0.2707225978374481,
-0.23981845378875732,
0.055975355207920074,
-0.0232362262904644,
-0.026370175182819366,
-0.07288435101509094,
0.4177699685096741,
-0.14045608043670654,
-0.22232335805892944,
0.0414026603102684,
0.18740934133529663,
0.14228983223438263,
0.25976571440696716,
-0.13239605724811554,
-0.023794399574398994,
0.15956223011016846,
0.2801404893398285,
0.05202139541506767,
-0.013453524559736252,
0.29604995250701904,
0.3682751953601837,
0.5342804789543152,
0.2393411546945572,
0.16883046925067902,
0.5727491974830627,
0.14486002922058105,
-0.3688116669654846,
-0.1863533854484558,
0.13854704797267914,
0.25980570912361145,
0.5243191123008728,
0.06492730975151062,
0.3626083433628082,
-0.2040531486272812,
0.15166546404361725,
-0.6122169494628906,
0.11438125371932983,
-0.27034029364585876,
0.0032646115869283676,
-0.828542947769165,
0.0223421398550272,
0.7809950709342957,
-0.06908288598060608,
-0.26790690422058105,
-0.004787411540746689,
0.5384549498558044,
-0.4402562975883484,
-0.06616902351379395,
0.07979755103588104,
0.95487380027771,
-0.19162409007549286,
-0.14366641640663147,
-0.14081618189811707,
-0.09576090425252914,
0.5320931077003479,
-0.21558906137943268,
0.02945082262158394,
-0.2221897840499878,
-0.2367459237575531,
-0.14984682202339172,
0.057240989059209824,
0.02807091549038887,
0.3009433150291443,
0.164535254240036,
0.17777961492538452,
0.2572539448738098,
0.29900142550468445,
-0.16512365639209747,
0.3852066695690155,
-0.06254980713129044,
-0.5423590540885925,
-0.3532698154449463,
0.0815218836069107,
-0.3201014995574951,
0.6616986989974976,
0.10880822688341141,
-0.2791655659675598,
-0.2650180459022522,
-0.09765560925006866,
-0.28091949224472046,
-0.23621681332588196,
-0.1978277862071991,
-0.08395688980817795,
0.1982223242521286,
-0.2566072940826416,
0.28729861974716187,
-0.21746739745140076,
0.5471885800361633,
0.01232161931693554,
-0.4314996302127838,
0.2217627316713333,
-0.157139390707016,
0.1303102821111679,
0.011238683946430683,
-0.32663410902023315,
0.13319586217403412,
0.035910606384277344,
-0.08851118385791779,
-0.12455873936414719,
0.1712360680103302,
-0.22266966104507446,
-0.3260185718536377,
-0.0587458461523056,
-0.012087531387805939,
0.050359342247247696,
0.10163447260856628,
-0.12676924467086792,
-0.07377445697784424,
-0.08260044455528259,
0.05527246370911598,
0.13901138305664062,
-0.0450282096862793,
0.020197946578264236,
0.17543326318264008,
-0.050194304436445236,
-0.21869951486587524,
0.18940213322639465,
-0.009224195033311844,
-0.1284133940935135,
0.03382537513971329,
-0.05295683443546295,
-0.17167823016643524,
-0.12413277477025986,
-0.06842540204524994,
0.4635797441005707,
-0.4607744812965393,
-0.045212749391794205,
0.22595332562923431,
-0.11068876832723618,
0.201213538646698,
0.054855965077877045,
0.09619803726673126,
-0.2917410731315613,
-0.09841582924127579,
-0.19566522538661957,
-0.026025567203760147,
0.2706507444381714,
-0.31106382608413696,
0.18805603682994843,
-0.17740345001220703,
0.05409498140215874,
-0.008305283263325691,
0.1954435110092163,
-0.26444458961486816,
-0.04260063171386719,
-0.21679791808128357,
0.12748995423316956,
-0.09908682107925415,
0.15473249554634094,
0.28204649686813354,
-0.06942518800497055,
-0.02403925359249115,
-0.012268181890249252,
-0.11931082606315613,
-0.0602075420320034,
-0.32960617542266846,
0.18545420467853546,
0.05435413122177124,
-0.025051703676581383,
0.017496977001428604,
0.28189611434936523,
0.09645982086658478,
-0.34731340408325195,
0.3435482680797577,
0.49230533838272095,
0.19517065584659576,
-0.09070426970720291,
0.1335338056087494,
-0.27645277976989746,
-0.0269117783755064,
0.11982135474681854,
0.40370258688926697,
0.26750925183296204,
0.22849959135055542,
-0.08841367065906525,
-0.2107688933610916,
-0.06188461557030678,
-0.003178494516760111,
0.25214409828186035,
0.058751314878463745,
-0.1357872486114502,
0.09171150624752045,
0.21811354160308838,
-0.1252293884754181,
0.686281144618988,
0.2321588695049286,
-0.2876969873905182,
-0.12565207481384277,
0.037774473428726196,
0.09884661436080933,
0.14487217366695404,
-0.19968533515930176,
-0.29336246848106384,
0.14535903930664062,
-0.33194902539253235,
0.09620891511440277,
0.44322696328163147,
0.561668872833252,
0.3827252686023712,
-0.08083896338939667,
-0.2080785632133484,
0.43305808305740356,
0.04071388766169548,
0.3023642897605896,
0.35417014360427856,
0.16073936223983765,
-0.061012472957372665,
0.2649027109146118,
0.05117817223072052,
0.2749195098876953,
0.2905087471008301,
-0.3332831561565399,
0.4239794909954071,
-0.061430126428604126,
0.020917177200317383,
0.41927099227905273,
-0.182625874876976,
-0.04482323303818703,
-0.11337321996688843,
-0.10445459187030792,
0.06500312685966492,
-0.2880861461162567,
0.0385933518409729,
-0.09077082574367523,
0.06300145387649536,
-0.20778155326843262,
0.07470850646495819,
0.07575267553329468,
0.08680249750614166,
0.43213698267936707,
-0.30572161078453064,
-0.16371197998523712,
0.05113627389073372,
-0.15393586456775665,
-0.7015413045883179,
0.1578664779663086,
-0.00797269493341446,
0.27788713574409485,
-0.21240931749343872,
-0.1158817782998085,
0.1670997142791748,
0.4064881503582001,
-0.10196735709905624,
-0.1318383514881134,
0.13945555686950684,
-0.2682114541530609,
0.22575964033603668,
0.13138733804225922,
-0.009082961827516556,
-0.07961912453174591,
-0.03593580424785614,
0.25475451350212097,
-0.29714706540107727,
-0.0031986739486455917,
0.013826999813318253,
0.12249254435300827,
-0.033422648906707764,
-0.17132748663425446,
-0.02206786908209324,
0.03858356922864914,
-0.02697751484811306,
-0.059548210352659225,
0.0804111585021019,
-0.008181199431419373,
-0.22673232853412628,
0.03948010504245758,
-0.04298058897256851,
0.1847405731678009,
-0.1453029215335846,
0.001979261636734009,
-0.15558917820453644,
-0.270487904548645,
0.4388320744037628,
-0.008119137957692146,
0.1772269308567047,
-0.041873909533023834,
0.0504855215549469,
-0.047564547508955,
0.3511812090873718,
-0.024508532136678696,
0.09472787380218506,
-0.22241519391536713,
-0.02090572565793991,
-0.289558082818985,
-0.11654449254274368,
0.16085109114646912,
-0.16528423130512238,
0.001827901229262352,
-0.36776092648506165,
0.11361557245254517,
0.20146843791007996,
-0.3850228190422058,
-0.05756795033812523,
0.4485529661178589,
0.028552459552884102,
-0.3556879162788391,
0.21086467802524567,
0.04518897086381912,
0.0381157323718071,
0.18950939178466797,
-0.0685773566365242,
0.25481387972831726,
0.11061844229698181,
-0.13401484489440918,
-0.16544194519519806,
0.34440627694129944,
0.12407013773918152,
0.01679370552301407,
0.22792242467403412,
-0.06019459664821625,
0.2006007432937622,
0.004029419273138046,
0.0958714410662651,
-0.34716224670410156,
-0.14137494564056396,
-0.2265041470527649,
0.318885862827301,
0.13497304916381836,
0.34795722365379333,
0.05186569690704346,
-0.11863301694393158,
-0.05445106700062752,
0.027873938903212547,
-0.007401652634143829,
0.36391907930374146,
0.07109422236680984,
-0.06033967435359955,
-0.19435164332389832,
0.07585199922323227,
0.1700044870376587,
0.2696356475353241,
0.007499713450670242,
0.09746631234884262,
0.03693094849586487,
-0.6195942163467407,
0.4970833361148834,
-0.32528993487358093,
-0.12865443527698517,
0.07346640527248383,
0.24228107929229736,
0.1590387523174286,
-0.263191282749176,
-0.49043452739715576,
0.05034182220697403,
0.22796693444252014,
0.01492511946707964,
0.030264656990766525,
0.10435116291046143,
0.15840496122837067,
-0.2185346633195877,
-0.0938032865524292,
-0.13811419904232025,
0.1437336802482605,
-0.06262119114398956,
0.05945246294140816,
-0.04967431724071503
] |
https://github.com/huggingface/datasets/issues/4702 | Domain specific dataset discovery on the Hugging Face hub | Thanks for opening this issue @davanstrien.
As we discussed last week, the tag approach would be in principle the simpler to be implemented, either the domain tag (with closed vocabulary: more reliable but also more rigid), or the topic tag (with open vocabulary: more flexible for user needs) | **Is your feature request related to a problem? Please describe.**
## The problem
The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data).
There are various ways of identifying datasets that may be relevant for a particular use case:
- searching
- various filters
Currently, however, there isn't an easy way to identify datasets belonging to a specific domain. For example, I want to browse machine learning datasets related to 'social science' or 'climate change research'.
The ability to identify datasets relating to a specific domain has come up in discussions around the [BigLA](https://github.com/bigscience-workshop/lam/) datasets hackathon https://github.com/bigscience-workshop/lam/discussions/31#discussioncomment-3123610. As part of the hackathon, we're currently collecting datasets related to Libraries, Archives and Museums and making them available via the hub. We currently do this under a Hugging Face organization (https://huggingface.co/biglam). However, going forward, I can see some of these datasets being migrated to sit under an organization that is the custodian of the dataset (for example, a national library the data was originally from). At this point, it becomes more difficult to quickly identify datasets from this domain without relying on search.
This is also related to some existing issues on Github related to metadata on the hub:
- https://github.com/huggingface/datasets/issues/3625
- https://github.com/huggingface/datasets/issues/3877
**Describe the solution you'd like**
### Some possible solutions that may help with this:
#### Enable domain tags (from a controlled vocabulary)
- This would add metadata field to the YAML for the domain a dataset relates to
- Advantages:
- the list is controlled, allowing it to be more easily integrated into the datasets tag app (https://huggingface.co/space/huggingface/datasets-tagging)
- the controlled vocabulary could align with an existing controlled vocabulary
- this additional metadata can be used to perform filtering by domain
- disadvantages
- choosing the best controlled vocab may be difficult
- there are many datasets that are likely to fit into the 'machine learning' domain (i.e. there is a long tail of datasets that aren't in more 'generic' machine learning domain
#### Enable topic tags (user-generated)
Enable 'free form' topic tags for datasets and models. This would be closer to GitHub's repository topics which can be chosen from a controlled list (https://github.com/topics/) but can also be more user/org specific. This could potentially be useful for organizations to also manage their own models and datasets as the number they hold in their org grows. For example, they may create 'topic tags' for a specific project, so it's clearer which datasets /models are related to that project.
#### Collections
This solution would likely be the biggest shift and may require significant changes in the hub fronted. Collections could work in several different ways but would include:
Users can curate particular datasets, models, spaces, etc., into a collection. For example, they may create a collection of 'historic newspapers suitable for training language models'. These collections would not be mutually exclusive, i.e. a dataset can belong to zero, one or many collections. Collections can also potentially be nested under other collections.
This is fairly common on other data reposotiores for example the following collections:
<img width="293" alt="Screenshot 2022-07-18 at 11 50 44" src="https://user-images.githubusercontent.com/8995957/179496445-963ed122-5e26-4574-96e8-41081bce3e2b.png">
all belong under a higher level collection (https://bl.iro.bl.uk/collections/353c908d-b495-4413-b047-87236d2573e3?locale=en).
There are different models one could use for how these collections could be created:
- only within an org
- for any dataset/model
- the owner or a dataset/model has to agree to be added to a collection
- a collection owner can have people suggest additions to their collection
- other models....
These collections could be thematic, related to particular training approaches, curate models with particular inference properties etc. Whilst some of these features may duplicate current/or future tag filters on the hub, they offer the advantage of being flexible and not having to predict what users will want to do upfront.
There is also potential for automating the creation of these collections based on existing metadata. For example, one could collect models trained on a collection of datasets so for example, if we had a collection of 'historic newspapers suitable for training language models' that contained 30 datasets, we could create another collection 'historic newspaper language models' that takes any model on the hub whose metadata says it used one or more of those 30 datasets.
There is also the option of exploring ML approaches to suggest models/datasets may be relevant to a particular collection.
This approach is likely to be quite difficult to implement well and would require significant thought. There is also likely to be a benefit in doing quite a bit of upfront work in curating useful collections to demonstrate the benefits of collections.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
It is possible to collate this information externally, i.e. one could link back to the relevant models/datasets from an external platform.
**Additional context**
Add any other context about the feature request here.
I'm cc'ing others involved in the BigLAM hackathon who may also have thoughts @cakiki @clancyoftheoverflow @albertvillanova | 48 | Domain specific dataset discovery on the Hugging Face hub
**Is your feature request related to a problem? Please describe.**
## The problem
The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data).
There are various ways of identifying datasets that may be relevant for a particular use case:
- searching
- various filters
Currently, however, there isn't an easy way to identify datasets belonging to a specific domain. For example, I want to browse machine learning datasets related to 'social science' or 'climate change research'.
The ability to identify datasets relating to a specific domain has come up in discussions around the [BigLA](https://github.com/bigscience-workshop/lam/) datasets hackathon https://github.com/bigscience-workshop/lam/discussions/31#discussioncomment-3123610. As part of the hackathon, we're currently collecting datasets related to Libraries, Archives and Museums and making them available via the hub. We currently do this under a Hugging Face organization (https://huggingface.co/biglam). However, going forward, I can see some of these datasets being migrated to sit under an organization that is the custodian of the dataset (for example, a national library the data was originally from). At this point, it becomes more difficult to quickly identify datasets from this domain without relying on search.
This is also related to some existing issues on Github related to metadata on the hub:
- https://github.com/huggingface/datasets/issues/3625
- https://github.com/huggingface/datasets/issues/3877
**Describe the solution you'd like**
### Some possible solutions that may help with this:
#### Enable domain tags (from a controlled vocabulary)
- This would add metadata field to the YAML for the domain a dataset relates to
- Advantages:
- the list is controlled, allowing it to be more easily integrated into the datasets tag app (https://huggingface.co/space/huggingface/datasets-tagging)
- the controlled vocabulary could align with an existing controlled vocabulary
- this additional metadata can be used to perform filtering by domain
- disadvantages
- choosing the best controlled vocab may be difficult
- there are many datasets that are likely to fit into the 'machine learning' domain (i.e. there is a long tail of datasets that aren't in more 'generic' machine learning domain
#### Enable topic tags (user-generated)
Enable 'free form' topic tags for datasets and models. This would be closer to GitHub's repository topics which can be chosen from a controlled list (https://github.com/topics/) but can also be more user/org specific. This could potentially be useful for organizations to also manage their own models and datasets as the number they hold in their org grows. For example, they may create 'topic tags' for a specific project, so it's clearer which datasets /models are related to that project.
#### Collections
This solution would likely be the biggest shift and may require significant changes in the hub fronted. Collections could work in several different ways but would include:
Users can curate particular datasets, models, spaces, etc., into a collection. For example, they may create a collection of 'historic newspapers suitable for training language models'. These collections would not be mutually exclusive, i.e. a dataset can belong to zero, one or many collections. Collections can also potentially be nested under other collections.
This is fairly common on other data reposotiores for example the following collections:
<img width="293" alt="Screenshot 2022-07-18 at 11 50 44" src="https://user-images.githubusercontent.com/8995957/179496445-963ed122-5e26-4574-96e8-41081bce3e2b.png">
all belong under a higher level collection (https://bl.iro.bl.uk/collections/353c908d-b495-4413-b047-87236d2573e3?locale=en).
There are different models one could use for how these collections could be created:
- only within an org
- for any dataset/model
- the owner or a dataset/model has to agree to be added to a collection
- a collection owner can have people suggest additions to their collection
- other models....
These collections could be thematic, related to particular training approaches, curate models with particular inference properties etc. Whilst some of these features may duplicate current/or future tag filters on the hub, they offer the advantage of being flexible and not having to predict what users will want to do upfront.
There is also potential for automating the creation of these collections based on existing metadata. For example, one could collect models trained on a collection of datasets so for example, if we had a collection of 'historic newspapers suitable for training language models' that contained 30 datasets, we could create another collection 'historic newspaper language models' that takes any model on the hub whose metadata says it used one or more of those 30 datasets.
There is also the option of exploring ML approaches to suggest models/datasets may be relevant to a particular collection.
This approach is likely to be quite difficult to implement well and would require significant thought. There is also likely to be a benefit in doing quite a bit of upfront work in curating useful collections to demonstrate the benefits of collections.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
It is possible to collate this information externally, i.e. one could link back to the relevant models/datasets from an external platform.
**Additional context**
Add any other context about the feature request here.
I'm cc'ing others involved in the BigLAM hackathon who may also have thoughts @cakiki @clancyoftheoverflow @albertvillanova
Thanks for opening this issue @davanstrien.
As we discussed last week, the tag approach would be in principle the simpler to be implemented, either the domain tag (with closed vocabulary: more reliable but also more rigid), or the topic tag (with open vocabulary: more flexible for user needs) | [
0.03188703581690788,
-0.15919062495231628,
-0.030975883826613426,
0.1941971629858017,
0.13424353301525116,
-0.05863244831562042,
0.25349530577659607,
0.2807849049568176,
0.07080627977848053,
0.0454031378030777,
-0.4283638596534729,
-0.08462215960025787,
-0.4897831380367279,
0.5621156096458435,
0.20050299167633057,
-0.004994131624698639,
0.006477683782577515,
-0.3256782293319702,
0.2350308895111084,
-0.05612468346953392,
-0.09555578231811523,
-0.002801351249217987,
0.0769445151090622,
-0.06490969657897949,
-0.6074992418289185,
-0.016321243718266487,
-0.00010155141353607178,
-0.03162532299757004,
-0.07240203768014908,
-0.31515082716941833,
0.4859934449195862,
0.2636100947856903,
0.10374301671981812,
0.1820126324892044,
-0.00011395703768357635,
-0.08193720877170563,
0.1950567662715912,
-0.09835577011108398,
-0.22840549051761627,
-0.046482980251312256,
-0.3069973886013031,
-0.04265180230140686,
0.08432271331548691,
-0.03410476818680763,
-0.4171261489391327,
0.16619694232940674,
-0.03908143192529678,
-0.30258655548095703,
0.025946594774723053,
0.0644272193312645,
0.14856699109077454,
0.22174814343452454,
-0.3138924539089203,
-0.1778530478477478,
-0.10797036439180374,
0.40913814306259155,
-0.22468039393424988,
0.27355659008026123,
0.3900913596153259,
-0.09140212833881378,
-0.2588098347187042,
0.5280653238296509,
-0.019723299890756607,
-0.16471156477928162,
0.2814039885997772,
0.08691441267728806,
-0.10597925633192062,
-0.2551880180835724,
0.02119498699903488,
0.40564343333244324,
0.6322143077850342,
-0.2913108766078949,
-0.4026249647140503,
-0.5651187896728516,
-0.042838580906391144,
0.030729128047823906,
-0.00821889191865921,
0.056638553738594055,
-0.2930941581726074,
0.32403549551963806,
-0.33885830640792847,
-0.26508063077926636,
-0.19724877178668976,
0.14331918954849243,
-0.14425644278526306,
0.30832165479660034,
-0.09563938528299332,
-0.031145520508289337,
-0.00038102641701698303,
-0.10157987475395203,
-0.03587235137820244,
0.10003165900707245,
0.33879971504211426,
0.16330982744693756,
-0.4742288589477539,
-0.3948231041431427,
-0.12109630554914474,
0.4444841146469116,
0.28849563002586365,
0.49614089727401733,
-0.04585859924554825,
0.268538236618042,
-0.2803509533405304,
-0.09494111686944962,
0.33673331141471863,
0.19269271194934845,
0.12125660479068756,
-0.14549072086811066,
0.2766610085964203,
-0.11718379706144333,
0.12256719172000885,
0.18444806337356567,
-0.251274049282074,
0.1966204047203064,
-0.09216666221618652,
0.019737130030989647,
0.3378026485443115,
-0.11072373390197754,
-0.10230488330125809,
-0.014901052229106426,
-0.06459537148475647,
-0.0039743464440107346,
0.2937917411327362,
0.09801165759563446,
0.04419508948922157,
-0.10003528743982315,
-0.3294075131416321,
-0.023018408566713333,
-0.08541402220726013,
0.06199357286095619,
-0.10872049629688263,
0.24645684659481049,
0.043233226984739304,
0.26439303159713745,
0.33141183853149414,
-0.2882443368434906,
0.11919859796762466,
-0.11625168472528458,
0.18167456984519958,
-0.011746734380722046,
-0.1548292338848114,
-0.029070518910884857,
0.13988623023033142,
0.042046088725328445,
-0.4897649884223938,
0.07504396885633469,
0.003353554755449295,
-0.25367340445518494,
-0.3454214334487915,
-0.2471228837966919,
-0.15652430057525635,
-0.4200160503387451,
-0.07372277975082397,
0.054190635681152344,
-0.374687135219574,
0.08810514211654663,
-0.29945263266563416,
0.5411409139633179,
-0.5783674120903015,
0.23793363571166992,
0.11701501160860062,
0.34696757793426514,
-0.22420112788677216,
-0.05192834883928299,
0.15247194468975067,
0.5010554790496826,
0.20715609192848206,
-0.26358234882354736,
0.028654079884290695,
0.09452211856842041,
-0.2388109266757965,
0.09912532567977905,
-0.12677474319934845,
-0.024623386561870575,
-0.17801064252853394,
0.16056126356124878,
-0.1381222903728485,
-0.7480869293212891,
-0.2418721318244934,
-0.12377992272377014,
-0.3060058057308197,
0.22549502551555634,
0.011329084634780884,
0.2893886864185333,
0.06288705766201019,
-0.2489527463912964,
0.03712639957666397,
0.4285990595817566,
-0.19726137816905975,
-0.05000076815485954,
-0.11361157894134521,
-0.11622388660907745,
-0.12541595101356506,
0.31736063957214355,
0.14152854681015015,
-0.07871714979410172,
0.2396247386932373,
0.24151922762393951,
0.0550541914999485,
0.091777503490448,
0.2840215861797333,
0.07832437008619308,
0.4006848931312561,
-0.10513682663440704,
0.050720278173685074,
-0.19556385278701782,
-0.5673906803131104,
0.15935838222503662,
0.3315316438674927,
0.419883131980896,
-0.17816521227359772,
-0.25806403160095215,
-0.25203418731689453,
0.002630714327096939,
-0.2221459001302719,
-0.2519017457962036,
0.05098504573106766,
-0.08622319996356964,
0.3138265609741211,
0.013864327222108841,
-0.24126461148262024,
0.6043831706047058,
0.3184370696544647,
0.1870884895324707,
-0.4891660809516907,
0.2662493884563446,
0.3797731399536133,
0.34592559933662415,
0.050480201840400696,
0.25305864214897156,
0.1993710696697235,
-0.00831882655620575,
0.14322993159294128,
-0.019066862761974335,
-0.04401284083724022,
0.1901509016752243,
0.475234717130661,
0.764721691608429,
0.5026208758354187,
-0.3314965069293976,
0.14000385999679565,
-0.22637659311294556,
0.0542527437210083,
0.1266363561153412,
-0.30831074714660645,
0.322191059589386,
-0.35038724541664124,
0.3090777099132538,
-0.10267437994480133,
0.1395743191242218,
0.1299968659877777,
-0.1503334492444992,
-0.2748202085494995,
-0.3602955937385559,
0.015134468674659729,
-0.016282513737678528,
0.4335099458694458,
0.1064039096236229,
-0.2477627545595169,
0.13039056956768036,
0.1003335565328598,
-0.09763060510158539,
0.24789166450500488,
0.3325381278991699,
-0.38130006194114685,
0.05719200521707535,
0.15706132352352142,
0.17255054414272308,
0.07932380586862564,
0.07454320788383484,
0.18589170277118683,
0.11964640021324158,
0.23441174626350403,
-0.03374490141868591,
-0.0004833787679672241,
0.18682372570037842,
0.08514728397130966,
0.017620090395212173,
0.15178756415843964,
0.11533414572477341,
-0.1585196554660797,
-0.24337762594223022,
-0.09098565578460693,
-0.12043812870979309,
0.027050074189901352,
-0.0737631767988205,
-0.2754071056842804,
-0.17680609226226807,
-0.14332883059978485,
-0.4039272367954254,
-0.5082451105117798,
0.03870701789855957,
0.25078916549682617,
0.006599389016628265,
-0.02067539095878601,
-0.0022343043237924576,
0.016192074865102768,
0.47881078720092773,
-0.3491724729537964,
-0.12082520872354507,
-0.09123341739177704,
-0.18751336634159088,
0.21954208612442017,
0.08223418891429901,
-0.015059594996273518,
0.20792366564273834,
0.48148614168167114,
0.09315875917673111,
0.5605018734931946,
-0.467043936252594,
-0.5391371846199036,
0.16941699385643005,
0.015501262620091438,
0.3729126453399658,
0.13188304007053375,
0.007071636617183685,
-0.11508779972791672,
-0.1019081175327301,
0.19591572880744934,
-0.052293531596660614,
-0.02991136908531189,
-0.26347461342811584,
0.02521827258169651,
0.3313482403755188,
0.10034239292144775,
0.006573230028152466,
-0.5735208988189697,
-0.3349670469760895,
0.2867111265659332,
-0.1901431679725647,
0.2298867255449295,
0.4373263120651245,
-0.5130934715270996,
-0.18902356922626495,
-0.19317935407161713,
-0.17290876805782318,
-0.2038889229297638,
-0.3269670307636261,
0.06780630350112915,
-0.3545684218406677,
0.1713636964559555,
-0.21433189511299133,
-0.2473384588956833,
0.2091255635023117,
0.08546575158834457,
0.04063890129327774,
-0.31484219431877136,
-0.09577923268079758,
0.2384791374206543,
0.1708245426416397,
-0.11681215465068817,
0.32578903436660767,
0.020111577585339546,
0.0020891427993774414,
-0.07396818697452545,
-0.3824058771133423,
0.02401440590620041,
0.2664618194103241,
0.006474673748016357,
0.2208137810230255,
-0.3795364797115326,
0.16649220883846283,
0.2516952157020569,
0.12717853486537933,
0.05315791442990303,
0.33667629957199097,
0.20104536414146423,
0.18461555242538452,
0.06873448938131332,
-0.2310672402381897,
-0.04619966074824333,
0.036964379251003265,
0.03483866527676582,
0.42592698335647583,
0.35503727197647095,
0.27793586254119873,
-0.30102595686912537,
-0.5485736727714539,
-0.2665914297103882,
-0.20867250859737396,
-0.003421155735850334,
0.11536868661642075,
0.17862465977668762,
-0.000118989497423172,
-0.1350068598985672,
-0.20908041298389435,
-0.14544057846069336,
0.1618417650461197,
0.22824357450008392,
0.2043803483247757,
0.021392827853560448,
-0.11346442997455597,
0.12471054494380951,
-0.42331477999687195,
-0.01022619754076004,
0.1212083250284195,
0.012074844911694527,
-0.19484783709049225,
-0.011823965236544609,
-0.009113326668739319,
0.42003828287124634,
0.6715653538703918,
-0.24098928272724152,
-0.04987885802984238,
-0.3507020175457001,
-0.42225533723831177,
-0.0709855780005455,
0.20013169944286346,
0.21165195107460022,
0.02609413117170334,
-0.3063870072364807,
0.648346483707428,
-0.2707225978374481,
-0.23981845378875732,
0.055975355207920074,
-0.0232362262904644,
-0.026370175182819366,
-0.07288435101509094,
0.4177699685096741,
-0.14045608043670654,
-0.22232335805892944,
0.0414026603102684,
0.18740934133529663,
0.14228983223438263,
0.25976571440696716,
-0.13239605724811554,
-0.023794399574398994,
0.15956223011016846,
0.2801404893398285,
0.05202139541506767,
-0.013453524559736252,
0.29604995250701904,
0.3682751953601837,
0.5342804789543152,
0.2393411546945572,
0.16883046925067902,
0.5727491974830627,
0.14486002922058105,
-0.3688116669654846,
-0.1863533854484558,
0.13854704797267914,
0.25980570912361145,
0.5243191123008728,
0.06492730975151062,
0.3626083433628082,
-0.2040531486272812,
0.15166546404361725,
-0.6122169494628906,
0.11438125371932983,
-0.27034029364585876,
0.0032646115869283676,
-0.828542947769165,
0.0223421398550272,
0.7809950709342957,
-0.06908288598060608,
-0.26790690422058105,
-0.004787411540746689,
0.5384549498558044,
-0.4402562975883484,
-0.06616902351379395,
0.07979755103588104,
0.95487380027771,
-0.19162409007549286,
-0.14366641640663147,
-0.14081618189811707,
-0.09576090425252914,
0.5320931077003479,
-0.21558906137943268,
0.02945082262158394,
-0.2221897840499878,
-0.2367459237575531,
-0.14984682202339172,
0.057240989059209824,
0.02807091549038887,
0.3009433150291443,
0.164535254240036,
0.17777961492538452,
0.2572539448738098,
0.29900142550468445,
-0.16512365639209747,
0.3852066695690155,
-0.06254980713129044,
-0.5423590540885925,
-0.3532698154449463,
0.0815218836069107,
-0.3201014995574951,
0.6616986989974976,
0.10880822688341141,
-0.2791655659675598,
-0.2650180459022522,
-0.09765560925006866,
-0.28091949224472046,
-0.23621681332588196,
-0.1978277862071991,
-0.08395688980817795,
0.1982223242521286,
-0.2566072940826416,
0.28729861974716187,
-0.21746739745140076,
0.5471885800361633,
0.01232161931693554,
-0.4314996302127838,
0.2217627316713333,
-0.157139390707016,
0.1303102821111679,
0.011238683946430683,
-0.32663410902023315,
0.13319586217403412,
0.035910606384277344,
-0.08851118385791779,
-0.12455873936414719,
0.1712360680103302,
-0.22266966104507446,
-0.3260185718536377,
-0.0587458461523056,
-0.012087531387805939,
0.050359342247247696,
0.10163447260856628,
-0.12676924467086792,
-0.07377445697784424,
-0.08260044455528259,
0.05527246370911598,
0.13901138305664062,
-0.0450282096862793,
0.020197946578264236,
0.17543326318264008,
-0.050194304436445236,
-0.21869951486587524,
0.18940213322639465,
-0.009224195033311844,
-0.1284133940935135,
0.03382537513971329,
-0.05295683443546295,
-0.17167823016643524,
-0.12413277477025986,
-0.06842540204524994,
0.4635797441005707,
-0.4607744812965393,
-0.045212749391794205,
0.22595332562923431,
-0.11068876832723618,
0.201213538646698,
0.054855965077877045,
0.09619803726673126,
-0.2917410731315613,
-0.09841582924127579,
-0.19566522538661957,
-0.026025567203760147,
0.2706507444381714,
-0.31106382608413696,
0.18805603682994843,
-0.17740345001220703,
0.05409498140215874,
-0.008305283263325691,
0.1954435110092163,
-0.26444458961486816,
-0.04260063171386719,
-0.21679791808128357,
0.12748995423316956,
-0.09908682107925415,
0.15473249554634094,
0.28204649686813354,
-0.06942518800497055,
-0.02403925359249115,
-0.012268181890249252,
-0.11931082606315613,
-0.0602075420320034,
-0.32960617542266846,
0.18545420467853546,
0.05435413122177124,
-0.025051703676581383,
0.017496977001428604,
0.28189611434936523,
0.09645982086658478,
-0.34731340408325195,
0.3435482680797577,
0.49230533838272095,
0.19517065584659576,
-0.09070426970720291,
0.1335338056087494,
-0.27645277976989746,
-0.0269117783755064,
0.11982135474681854,
0.40370258688926697,
0.26750925183296204,
0.22849959135055542,
-0.08841367065906525,
-0.2107688933610916,
-0.06188461557030678,
-0.003178494516760111,
0.25214409828186035,
0.058751314878463745,
-0.1357872486114502,
0.09171150624752045,
0.21811354160308838,
-0.1252293884754181,
0.686281144618988,
0.2321588695049286,
-0.2876969873905182,
-0.12565207481384277,
0.037774473428726196,
0.09884661436080933,
0.14487217366695404,
-0.19968533515930176,
-0.29336246848106384,
0.14535903930664062,
-0.33194902539253235,
0.09620891511440277,
0.44322696328163147,
0.561668872833252,
0.3827252686023712,
-0.08083896338939667,
-0.2080785632133484,
0.43305808305740356,
0.04071388766169548,
0.3023642897605896,
0.35417014360427856,
0.16073936223983765,
-0.061012472957372665,
0.2649027109146118,
0.05117817223072052,
0.2749195098876953,
0.2905087471008301,
-0.3332831561565399,
0.4239794909954071,
-0.061430126428604126,
0.020917177200317383,
0.41927099227905273,
-0.182625874876976,
-0.04482323303818703,
-0.11337321996688843,
-0.10445459187030792,
0.06500312685966492,
-0.2880861461162567,
0.0385933518409729,
-0.09077082574367523,
0.06300145387649536,
-0.20778155326843262,
0.07470850646495819,
0.07575267553329468,
0.08680249750614166,
0.43213698267936707,
-0.30572161078453064,
-0.16371197998523712,
0.05113627389073372,
-0.15393586456775665,
-0.7015413045883179,
0.1578664779663086,
-0.00797269493341446,
0.27788713574409485,
-0.21240931749343872,
-0.1158817782998085,
0.1670997142791748,
0.4064881503582001,
-0.10196735709905624,
-0.1318383514881134,
0.13945555686950684,
-0.2682114541530609,
0.22575964033603668,
0.13138733804225922,
-0.009082961827516556,
-0.07961912453174591,
-0.03593580424785614,
0.25475451350212097,
-0.29714706540107727,
-0.0031986739486455917,
0.013826999813318253,
0.12249254435300827,
-0.033422648906707764,
-0.17132748663425446,
-0.02206786908209324,
0.03858356922864914,
-0.02697751484811306,
-0.059548210352659225,
0.0804111585021019,
-0.008181199431419373,
-0.22673232853412628,
0.03948010504245758,
-0.04298058897256851,
0.1847405731678009,
-0.1453029215335846,
0.001979261636734009,
-0.15558917820453644,
-0.270487904548645,
0.4388320744037628,
-0.008119137957692146,
0.1772269308567047,
-0.041873909533023834,
0.0504855215549469,
-0.047564547508955,
0.3511812090873718,
-0.024508532136678696,
0.09472787380218506,
-0.22241519391536713,
-0.02090572565793991,
-0.289558082818985,
-0.11654449254274368,
0.16085109114646912,
-0.16528423130512238,
0.001827901229262352,
-0.36776092648506165,
0.11361557245254517,
0.20146843791007996,
-0.3850228190422058,
-0.05756795033812523,
0.4485529661178589,
0.028552459552884102,
-0.3556879162788391,
0.21086467802524567,
0.04518897086381912,
0.0381157323718071,
0.18950939178466797,
-0.0685773566365242,
0.25481387972831726,
0.11061844229698181,
-0.13401484489440918,
-0.16544194519519806,
0.34440627694129944,
0.12407013773918152,
0.01679370552301407,
0.22792242467403412,
-0.06019459664821625,
0.2006007432937622,
0.004029419273138046,
0.0958714410662651,
-0.34716224670410156,
-0.14137494564056396,
-0.2265041470527649,
0.318885862827301,
0.13497304916381836,
0.34795722365379333,
0.05186569690704346,
-0.11863301694393158,
-0.05445106700062752,
0.027873938903212547,
-0.007401652634143829,
0.36391907930374146,
0.07109422236680984,
-0.06033967435359955,
-0.19435164332389832,
0.07585199922323227,
0.1700044870376587,
0.2696356475353241,
0.007499713450670242,
0.09746631234884262,
0.03693094849586487,
-0.6195942163467407,
0.4970833361148834,
-0.32528993487358093,
-0.12865443527698517,
0.07346640527248383,
0.24228107929229736,
0.1590387523174286,
-0.263191282749176,
-0.49043452739715576,
0.05034182220697403,
0.22796693444252014,
0.01492511946707964,
0.030264656990766525,
0.10435116291046143,
0.15840496122837067,
-0.2185346633195877,
-0.0938032865524292,
-0.13811419904232025,
0.1437336802482605,
-0.06262119114398956,
0.05945246294140816,
-0.04967431724071503
] |
https://github.com/huggingface/datasets/issues/4702 | Domain specific dataset discovery on the Hugging Face hub | Hi @davanstrien If i remember correctly this was also discussed inside a hf.co Discussion, would you be able to link it here too?
(where i suggested using `tags: - foo - bar` IIRC.
Thanks a ton! | **Is your feature request related to a problem? Please describe.**
## The problem
The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data).
There are various ways of identifying datasets that may be relevant for a particular use case:
- searching
- various filters
Currently, however, there isn't an easy way to identify datasets belonging to a specific domain. For example, I want to browse machine learning datasets related to 'social science' or 'climate change research'.
The ability to identify datasets relating to a specific domain has come up in discussions around the [BigLA](https://github.com/bigscience-workshop/lam/) datasets hackathon https://github.com/bigscience-workshop/lam/discussions/31#discussioncomment-3123610. As part of the hackathon, we're currently collecting datasets related to Libraries, Archives and Museums and making them available via the hub. We currently do this under a Hugging Face organization (https://huggingface.co/biglam). However, going forward, I can see some of these datasets being migrated to sit under an organization that is the custodian of the dataset (for example, a national library the data was originally from). At this point, it becomes more difficult to quickly identify datasets from this domain without relying on search.
This is also related to some existing issues on Github related to metadata on the hub:
- https://github.com/huggingface/datasets/issues/3625
- https://github.com/huggingface/datasets/issues/3877
**Describe the solution you'd like**
### Some possible solutions that may help with this:
#### Enable domain tags (from a controlled vocabulary)
- This would add metadata field to the YAML for the domain a dataset relates to
- Advantages:
- the list is controlled, allowing it to be more easily integrated into the datasets tag app (https://huggingface.co/space/huggingface/datasets-tagging)
- the controlled vocabulary could align with an existing controlled vocabulary
- this additional metadata can be used to perform filtering by domain
- disadvantages
- choosing the best controlled vocab may be difficult
- there are many datasets that are likely to fit into the 'machine learning' domain (i.e. there is a long tail of datasets that aren't in more 'generic' machine learning domain
#### Enable topic tags (user-generated)
Enable 'free form' topic tags for datasets and models. This would be closer to GitHub's repository topics which can be chosen from a controlled list (https://github.com/topics/) but can also be more user/org specific. This could potentially be useful for organizations to also manage their own models and datasets as the number they hold in their org grows. For example, they may create 'topic tags' for a specific project, so it's clearer which datasets /models are related to that project.
#### Collections
This solution would likely be the biggest shift and may require significant changes in the hub fronted. Collections could work in several different ways but would include:
Users can curate particular datasets, models, spaces, etc., into a collection. For example, they may create a collection of 'historic newspapers suitable for training language models'. These collections would not be mutually exclusive, i.e. a dataset can belong to zero, one or many collections. Collections can also potentially be nested under other collections.
This is fairly common on other data reposotiores for example the following collections:
<img width="293" alt="Screenshot 2022-07-18 at 11 50 44" src="https://user-images.githubusercontent.com/8995957/179496445-963ed122-5e26-4574-96e8-41081bce3e2b.png">
all belong under a higher level collection (https://bl.iro.bl.uk/collections/353c908d-b495-4413-b047-87236d2573e3?locale=en).
There are different models one could use for how these collections could be created:
- only within an org
- for any dataset/model
- the owner or a dataset/model has to agree to be added to a collection
- a collection owner can have people suggest additions to their collection
- other models....
These collections could be thematic, related to particular training approaches, curate models with particular inference properties etc. Whilst some of these features may duplicate current/or future tag filters on the hub, they offer the advantage of being flexible and not having to predict what users will want to do upfront.
There is also potential for automating the creation of these collections based on existing metadata. For example, one could collect models trained on a collection of datasets so for example, if we had a collection of 'historic newspapers suitable for training language models' that contained 30 datasets, we could create another collection 'historic newspaper language models' that takes any model on the hub whose metadata says it used one or more of those 30 datasets.
There is also the option of exploring ML approaches to suggest models/datasets may be relevant to a particular collection.
This approach is likely to be quite difficult to implement well and would require significant thought. There is also likely to be a benefit in doing quite a bit of upfront work in curating useful collections to demonstrate the benefits of collections.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
It is possible to collate this information externally, i.e. one could link back to the relevant models/datasets from an external platform.
**Additional context**
Add any other context about the feature request here.
I'm cc'ing others involved in the BigLAM hackathon who may also have thoughts @cakiki @clancyoftheoverflow @albertvillanova | 36 | Domain specific dataset discovery on the Hugging Face hub
**Is your feature request related to a problem? Please describe.**
## The problem
The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data).
There are various ways of identifying datasets that may be relevant for a particular use case:
- searching
- various filters
Currently, however, there isn't an easy way to identify datasets belonging to a specific domain. For example, I want to browse machine learning datasets related to 'social science' or 'climate change research'.
The ability to identify datasets relating to a specific domain has come up in discussions around the [BigLA](https://github.com/bigscience-workshop/lam/) datasets hackathon https://github.com/bigscience-workshop/lam/discussions/31#discussioncomment-3123610. As part of the hackathon, we're currently collecting datasets related to Libraries, Archives and Museums and making them available via the hub. We currently do this under a Hugging Face organization (https://huggingface.co/biglam). However, going forward, I can see some of these datasets being migrated to sit under an organization that is the custodian of the dataset (for example, a national library the data was originally from). At this point, it becomes more difficult to quickly identify datasets from this domain without relying on search.
This is also related to some existing issues on Github related to metadata on the hub:
- https://github.com/huggingface/datasets/issues/3625
- https://github.com/huggingface/datasets/issues/3877
**Describe the solution you'd like**
### Some possible solutions that may help with this:
#### Enable domain tags (from a controlled vocabulary)
- This would add metadata field to the YAML for the domain a dataset relates to
- Advantages:
- the list is controlled, allowing it to be more easily integrated into the datasets tag app (https://huggingface.co/space/huggingface/datasets-tagging)
- the controlled vocabulary could align with an existing controlled vocabulary
- this additional metadata can be used to perform filtering by domain
- disadvantages
- choosing the best controlled vocab may be difficult
- there are many datasets that are likely to fit into the 'machine learning' domain (i.e. there is a long tail of datasets that aren't in more 'generic' machine learning domain
#### Enable topic tags (user-generated)
Enable 'free form' topic tags for datasets and models. This would be closer to GitHub's repository topics which can be chosen from a controlled list (https://github.com/topics/) but can also be more user/org specific. This could potentially be useful for organizations to also manage their own models and datasets as the number they hold in their org grows. For example, they may create 'topic tags' for a specific project, so it's clearer which datasets /models are related to that project.
#### Collections
This solution would likely be the biggest shift and may require significant changes in the hub fronted. Collections could work in several different ways but would include:
Users can curate particular datasets, models, spaces, etc., into a collection. For example, they may create a collection of 'historic newspapers suitable for training language models'. These collections would not be mutually exclusive, i.e. a dataset can belong to zero, one or many collections. Collections can also potentially be nested under other collections.
This is fairly common on other data reposotiores for example the following collections:
<img width="293" alt="Screenshot 2022-07-18 at 11 50 44" src="https://user-images.githubusercontent.com/8995957/179496445-963ed122-5e26-4574-96e8-41081bce3e2b.png">
all belong under a higher level collection (https://bl.iro.bl.uk/collections/353c908d-b495-4413-b047-87236d2573e3?locale=en).
There are different models one could use for how these collections could be created:
- only within an org
- for any dataset/model
- the owner or a dataset/model has to agree to be added to a collection
- a collection owner can have people suggest additions to their collection
- other models....
These collections could be thematic, related to particular training approaches, curate models with particular inference properties etc. Whilst some of these features may duplicate current/or future tag filters on the hub, they offer the advantage of being flexible and not having to predict what users will want to do upfront.
There is also potential for automating the creation of these collections based on existing metadata. For example, one could collect models trained on a collection of datasets so for example, if we had a collection of 'historic newspapers suitable for training language models' that contained 30 datasets, we could create another collection 'historic newspaper language models' that takes any model on the hub whose metadata says it used one or more of those 30 datasets.
There is also the option of exploring ML approaches to suggest models/datasets may be relevant to a particular collection.
This approach is likely to be quite difficult to implement well and would require significant thought. There is also likely to be a benefit in doing quite a bit of upfront work in curating useful collections to demonstrate the benefits of collections.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
It is possible to collate this information externally, i.e. one could link back to the relevant models/datasets from an external platform.
**Additional context**
Add any other context about the feature request here.
I'm cc'ing others involved in the BigLAM hackathon who may also have thoughts @cakiki @clancyoftheoverflow @albertvillanova
Hi @davanstrien If i remember correctly this was also discussed inside a hf.co Discussion, would you be able to link it here too?
(where i suggested using `tags: - foo - bar` IIRC.
Thanks a ton! | [
0.03188703581690788,
-0.15919062495231628,
-0.030975883826613426,
0.1941971629858017,
0.13424353301525116,
-0.05863244831562042,
0.25349530577659607,
0.2807849049568176,
0.07080627977848053,
0.0454031378030777,
-0.4283638596534729,
-0.08462215960025787,
-0.4897831380367279,
0.5621156096458435,
0.20050299167633057,
-0.004994131624698639,
0.006477683782577515,
-0.3256782293319702,
0.2350308895111084,
-0.05612468346953392,
-0.09555578231811523,
-0.002801351249217987,
0.0769445151090622,
-0.06490969657897949,
-0.6074992418289185,
-0.016321243718266487,
-0.00010155141353607178,
-0.03162532299757004,
-0.07240203768014908,
-0.31515082716941833,
0.4859934449195862,
0.2636100947856903,
0.10374301671981812,
0.1820126324892044,
-0.00011395703768357635,
-0.08193720877170563,
0.1950567662715912,
-0.09835577011108398,
-0.22840549051761627,
-0.046482980251312256,
-0.3069973886013031,
-0.04265180230140686,
0.08432271331548691,
-0.03410476818680763,
-0.4171261489391327,
0.16619694232940674,
-0.03908143192529678,
-0.30258655548095703,
0.025946594774723053,
0.0644272193312645,
0.14856699109077454,
0.22174814343452454,
-0.3138924539089203,
-0.1778530478477478,
-0.10797036439180374,
0.40913814306259155,
-0.22468039393424988,
0.27355659008026123,
0.3900913596153259,
-0.09140212833881378,
-0.2588098347187042,
0.5280653238296509,
-0.019723299890756607,
-0.16471156477928162,
0.2814039885997772,
0.08691441267728806,
-0.10597925633192062,
-0.2551880180835724,
0.02119498699903488,
0.40564343333244324,
0.6322143077850342,
-0.2913108766078949,
-0.4026249647140503,
-0.5651187896728516,
-0.042838580906391144,
0.030729128047823906,
-0.00821889191865921,
0.056638553738594055,
-0.2930941581726074,
0.32403549551963806,
-0.33885830640792847,
-0.26508063077926636,
-0.19724877178668976,
0.14331918954849243,
-0.14425644278526306,
0.30832165479660034,
-0.09563938528299332,
-0.031145520508289337,
-0.00038102641701698303,
-0.10157987475395203,
-0.03587235137820244,
0.10003165900707245,
0.33879971504211426,
0.16330982744693756,
-0.4742288589477539,
-0.3948231041431427,
-0.12109630554914474,
0.4444841146469116,
0.28849563002586365,
0.49614089727401733,
-0.04585859924554825,
0.268538236618042,
-0.2803509533405304,
-0.09494111686944962,
0.33673331141471863,
0.19269271194934845,
0.12125660479068756,
-0.14549072086811066,
0.2766610085964203,
-0.11718379706144333,
0.12256719172000885,
0.18444806337356567,
-0.251274049282074,
0.1966204047203064,
-0.09216666221618652,
0.019737130030989647,
0.3378026485443115,
-0.11072373390197754,
-0.10230488330125809,
-0.014901052229106426,
-0.06459537148475647,
-0.0039743464440107346,
0.2937917411327362,
0.09801165759563446,
0.04419508948922157,
-0.10003528743982315,
-0.3294075131416321,
-0.023018408566713333,
-0.08541402220726013,
0.06199357286095619,
-0.10872049629688263,
0.24645684659481049,
0.043233226984739304,
0.26439303159713745,
0.33141183853149414,
-0.2882443368434906,
0.11919859796762466,
-0.11625168472528458,
0.18167456984519958,
-0.011746734380722046,
-0.1548292338848114,
-0.029070518910884857,
0.13988623023033142,
0.042046088725328445,
-0.4897649884223938,
0.07504396885633469,
0.003353554755449295,
-0.25367340445518494,
-0.3454214334487915,
-0.2471228837966919,
-0.15652430057525635,
-0.4200160503387451,
-0.07372277975082397,
0.054190635681152344,
-0.374687135219574,
0.08810514211654663,
-0.29945263266563416,
0.5411409139633179,
-0.5783674120903015,
0.23793363571166992,
0.11701501160860062,
0.34696757793426514,
-0.22420112788677216,
-0.05192834883928299,
0.15247194468975067,
0.5010554790496826,
0.20715609192848206,
-0.26358234882354736,
0.028654079884290695,
0.09452211856842041,
-0.2388109266757965,
0.09912532567977905,
-0.12677474319934845,
-0.024623386561870575,
-0.17801064252853394,
0.16056126356124878,
-0.1381222903728485,
-0.7480869293212891,
-0.2418721318244934,
-0.12377992272377014,
-0.3060058057308197,
0.22549502551555634,
0.011329084634780884,
0.2893886864185333,
0.06288705766201019,
-0.2489527463912964,
0.03712639957666397,
0.4285990595817566,
-0.19726137816905975,
-0.05000076815485954,
-0.11361157894134521,
-0.11622388660907745,
-0.12541595101356506,
0.31736063957214355,
0.14152854681015015,
-0.07871714979410172,
0.2396247386932373,
0.24151922762393951,
0.0550541914999485,
0.091777503490448,
0.2840215861797333,
0.07832437008619308,
0.4006848931312561,
-0.10513682663440704,
0.050720278173685074,
-0.19556385278701782,
-0.5673906803131104,
0.15935838222503662,
0.3315316438674927,
0.419883131980896,
-0.17816521227359772,
-0.25806403160095215,
-0.25203418731689453,
0.002630714327096939,
-0.2221459001302719,
-0.2519017457962036,
0.05098504573106766,
-0.08622319996356964,
0.3138265609741211,
0.013864327222108841,
-0.24126461148262024,
0.6043831706047058,
0.3184370696544647,
0.1870884895324707,
-0.4891660809516907,
0.2662493884563446,
0.3797731399536133,
0.34592559933662415,
0.050480201840400696,
0.25305864214897156,
0.1993710696697235,
-0.00831882655620575,
0.14322993159294128,
-0.019066862761974335,
-0.04401284083724022,
0.1901509016752243,
0.475234717130661,
0.764721691608429,
0.5026208758354187,
-0.3314965069293976,
0.14000385999679565,
-0.22637659311294556,
0.0542527437210083,
0.1266363561153412,
-0.30831074714660645,
0.322191059589386,
-0.35038724541664124,
0.3090777099132538,
-0.10267437994480133,
0.1395743191242218,
0.1299968659877777,
-0.1503334492444992,
-0.2748202085494995,
-0.3602955937385559,
0.015134468674659729,
-0.016282513737678528,
0.4335099458694458,
0.1064039096236229,
-0.2477627545595169,
0.13039056956768036,
0.1003335565328598,
-0.09763060510158539,
0.24789166450500488,
0.3325381278991699,
-0.38130006194114685,
0.05719200521707535,
0.15706132352352142,
0.17255054414272308,
0.07932380586862564,
0.07454320788383484,
0.18589170277118683,
0.11964640021324158,
0.23441174626350403,
-0.03374490141868591,
-0.0004833787679672241,
0.18682372570037842,
0.08514728397130966,
0.017620090395212173,
0.15178756415843964,
0.11533414572477341,
-0.1585196554660797,
-0.24337762594223022,
-0.09098565578460693,
-0.12043812870979309,
0.027050074189901352,
-0.0737631767988205,
-0.2754071056842804,
-0.17680609226226807,
-0.14332883059978485,
-0.4039272367954254,
-0.5082451105117798,
0.03870701789855957,
0.25078916549682617,
0.006599389016628265,
-0.02067539095878601,
-0.0022343043237924576,
0.016192074865102768,
0.47881078720092773,
-0.3491724729537964,
-0.12082520872354507,
-0.09123341739177704,
-0.18751336634159088,
0.21954208612442017,
0.08223418891429901,
-0.015059594996273518,
0.20792366564273834,
0.48148614168167114,
0.09315875917673111,
0.5605018734931946,
-0.467043936252594,
-0.5391371846199036,
0.16941699385643005,
0.015501262620091438,
0.3729126453399658,
0.13188304007053375,
0.007071636617183685,
-0.11508779972791672,
-0.1019081175327301,
0.19591572880744934,
-0.052293531596660614,
-0.02991136908531189,
-0.26347461342811584,
0.02521827258169651,
0.3313482403755188,
0.10034239292144775,
0.006573230028152466,
-0.5735208988189697,
-0.3349670469760895,
0.2867111265659332,
-0.1901431679725647,
0.2298867255449295,
0.4373263120651245,
-0.5130934715270996,
-0.18902356922626495,
-0.19317935407161713,
-0.17290876805782318,
-0.2038889229297638,
-0.3269670307636261,
0.06780630350112915,
-0.3545684218406677,
0.1713636964559555,
-0.21433189511299133,
-0.2473384588956833,
0.2091255635023117,
0.08546575158834457,
0.04063890129327774,
-0.31484219431877136,
-0.09577923268079758,
0.2384791374206543,
0.1708245426416397,
-0.11681215465068817,
0.32578903436660767,
0.020111577585339546,
0.0020891427993774414,
-0.07396818697452545,
-0.3824058771133423,
0.02401440590620041,
0.2664618194103241,
0.006474673748016357,
0.2208137810230255,
-0.3795364797115326,
0.16649220883846283,
0.2516952157020569,
0.12717853486537933,
0.05315791442990303,
0.33667629957199097,
0.20104536414146423,
0.18461555242538452,
0.06873448938131332,
-0.2310672402381897,
-0.04619966074824333,
0.036964379251003265,
0.03483866527676582,
0.42592698335647583,
0.35503727197647095,
0.27793586254119873,
-0.30102595686912537,
-0.5485736727714539,
-0.2665914297103882,
-0.20867250859737396,
-0.003421155735850334,
0.11536868661642075,
0.17862465977668762,
-0.000118989497423172,
-0.1350068598985672,
-0.20908041298389435,
-0.14544057846069336,
0.1618417650461197,
0.22824357450008392,
0.2043803483247757,
0.021392827853560448,
-0.11346442997455597,
0.12471054494380951,
-0.42331477999687195,
-0.01022619754076004,
0.1212083250284195,
0.012074844911694527,
-0.19484783709049225,
-0.011823965236544609,
-0.009113326668739319,
0.42003828287124634,
0.6715653538703918,
-0.24098928272724152,
-0.04987885802984238,
-0.3507020175457001,
-0.42225533723831177,
-0.0709855780005455,
0.20013169944286346,
0.21165195107460022,
0.02609413117170334,
-0.3063870072364807,
0.648346483707428,
-0.2707225978374481,
-0.23981845378875732,
0.055975355207920074,
-0.0232362262904644,
-0.026370175182819366,
-0.07288435101509094,
0.4177699685096741,
-0.14045608043670654,
-0.22232335805892944,
0.0414026603102684,
0.18740934133529663,
0.14228983223438263,
0.25976571440696716,
-0.13239605724811554,
-0.023794399574398994,
0.15956223011016846,
0.2801404893398285,
0.05202139541506767,
-0.013453524559736252,
0.29604995250701904,
0.3682751953601837,
0.5342804789543152,
0.2393411546945572,
0.16883046925067902,
0.5727491974830627,
0.14486002922058105,
-0.3688116669654846,
-0.1863533854484558,
0.13854704797267914,
0.25980570912361145,
0.5243191123008728,
0.06492730975151062,
0.3626083433628082,
-0.2040531486272812,
0.15166546404361725,
-0.6122169494628906,
0.11438125371932983,
-0.27034029364585876,
0.0032646115869283676,
-0.828542947769165,
0.0223421398550272,
0.7809950709342957,
-0.06908288598060608,
-0.26790690422058105,
-0.004787411540746689,
0.5384549498558044,
-0.4402562975883484,
-0.06616902351379395,
0.07979755103588104,
0.95487380027771,
-0.19162409007549286,
-0.14366641640663147,
-0.14081618189811707,
-0.09576090425252914,
0.5320931077003479,
-0.21558906137943268,
0.02945082262158394,
-0.2221897840499878,
-0.2367459237575531,
-0.14984682202339172,
0.057240989059209824,
0.02807091549038887,
0.3009433150291443,
0.164535254240036,
0.17777961492538452,
0.2572539448738098,
0.29900142550468445,
-0.16512365639209747,
0.3852066695690155,
-0.06254980713129044,
-0.5423590540885925,
-0.3532698154449463,
0.0815218836069107,
-0.3201014995574951,
0.6616986989974976,
0.10880822688341141,
-0.2791655659675598,
-0.2650180459022522,
-0.09765560925006866,
-0.28091949224472046,
-0.23621681332588196,
-0.1978277862071991,
-0.08395688980817795,
0.1982223242521286,
-0.2566072940826416,
0.28729861974716187,
-0.21746739745140076,
0.5471885800361633,
0.01232161931693554,
-0.4314996302127838,
0.2217627316713333,
-0.157139390707016,
0.1303102821111679,
0.011238683946430683,
-0.32663410902023315,
0.13319586217403412,
0.035910606384277344,
-0.08851118385791779,
-0.12455873936414719,
0.1712360680103302,
-0.22266966104507446,
-0.3260185718536377,
-0.0587458461523056,
-0.012087531387805939,
0.050359342247247696,
0.10163447260856628,
-0.12676924467086792,
-0.07377445697784424,
-0.08260044455528259,
0.05527246370911598,
0.13901138305664062,
-0.0450282096862793,
0.020197946578264236,
0.17543326318264008,
-0.050194304436445236,
-0.21869951486587524,
0.18940213322639465,
-0.009224195033311844,
-0.1284133940935135,
0.03382537513971329,
-0.05295683443546295,
-0.17167823016643524,
-0.12413277477025986,
-0.06842540204524994,
0.4635797441005707,
-0.4607744812965393,
-0.045212749391794205,
0.22595332562923431,
-0.11068876832723618,
0.201213538646698,
0.054855965077877045,
0.09619803726673126,
-0.2917410731315613,
-0.09841582924127579,
-0.19566522538661957,
-0.026025567203760147,
0.2706507444381714,
-0.31106382608413696,
0.18805603682994843,
-0.17740345001220703,
0.05409498140215874,
-0.008305283263325691,
0.1954435110092163,
-0.26444458961486816,
-0.04260063171386719,
-0.21679791808128357,
0.12748995423316956,
-0.09908682107925415,
0.15473249554634094,
0.28204649686813354,
-0.06942518800497055,
-0.02403925359249115,
-0.012268181890249252,
-0.11931082606315613,
-0.0602075420320034,
-0.32960617542266846,
0.18545420467853546,
0.05435413122177124,
-0.025051703676581383,
0.017496977001428604,
0.28189611434936523,
0.09645982086658478,
-0.34731340408325195,
0.3435482680797577,
0.49230533838272095,
0.19517065584659576,
-0.09070426970720291,
0.1335338056087494,
-0.27645277976989746,
-0.0269117783755064,
0.11982135474681854,
0.40370258688926697,
0.26750925183296204,
0.22849959135055542,
-0.08841367065906525,
-0.2107688933610916,
-0.06188461557030678,
-0.003178494516760111,
0.25214409828186035,
0.058751314878463745,
-0.1357872486114502,
0.09171150624752045,
0.21811354160308838,
-0.1252293884754181,
0.686281144618988,
0.2321588695049286,
-0.2876969873905182,
-0.12565207481384277,
0.037774473428726196,
0.09884661436080933,
0.14487217366695404,
-0.19968533515930176,
-0.29336246848106384,
0.14535903930664062,
-0.33194902539253235,
0.09620891511440277,
0.44322696328163147,
0.561668872833252,
0.3827252686023712,
-0.08083896338939667,
-0.2080785632133484,
0.43305808305740356,
0.04071388766169548,
0.3023642897605896,
0.35417014360427856,
0.16073936223983765,
-0.061012472957372665,
0.2649027109146118,
0.05117817223072052,
0.2749195098876953,
0.2905087471008301,
-0.3332831561565399,
0.4239794909954071,
-0.061430126428604126,
0.020917177200317383,
0.41927099227905273,
-0.182625874876976,
-0.04482323303818703,
-0.11337321996688843,
-0.10445459187030792,
0.06500312685966492,
-0.2880861461162567,
0.0385933518409729,
-0.09077082574367523,
0.06300145387649536,
-0.20778155326843262,
0.07470850646495819,
0.07575267553329468,
0.08680249750614166,
0.43213698267936707,
-0.30572161078453064,
-0.16371197998523712,
0.05113627389073372,
-0.15393586456775665,
-0.7015413045883179,
0.1578664779663086,
-0.00797269493341446,
0.27788713574409485,
-0.21240931749343872,
-0.1158817782998085,
0.1670997142791748,
0.4064881503582001,
-0.10196735709905624,
-0.1318383514881134,
0.13945555686950684,
-0.2682114541530609,
0.22575964033603668,
0.13138733804225922,
-0.009082961827516556,
-0.07961912453174591,
-0.03593580424785614,
0.25475451350212097,
-0.29714706540107727,
-0.0031986739486455917,
0.013826999813318253,
0.12249254435300827,
-0.033422648906707764,
-0.17132748663425446,
-0.02206786908209324,
0.03858356922864914,
-0.02697751484811306,
-0.059548210352659225,
0.0804111585021019,
-0.008181199431419373,
-0.22673232853412628,
0.03948010504245758,
-0.04298058897256851,
0.1847405731678009,
-0.1453029215335846,
0.001979261636734009,
-0.15558917820453644,
-0.270487904548645,
0.4388320744037628,
-0.008119137957692146,
0.1772269308567047,
-0.041873909533023834,
0.0504855215549469,
-0.047564547508955,
0.3511812090873718,
-0.024508532136678696,
0.09472787380218506,
-0.22241519391536713,
-0.02090572565793991,
-0.289558082818985,
-0.11654449254274368,
0.16085109114646912,
-0.16528423130512238,
0.001827901229262352,
-0.36776092648506165,
0.11361557245254517,
0.20146843791007996,
-0.3850228190422058,
-0.05756795033812523,
0.4485529661178589,
0.028552459552884102,
-0.3556879162788391,
0.21086467802524567,
0.04518897086381912,
0.0381157323718071,
0.18950939178466797,
-0.0685773566365242,
0.25481387972831726,
0.11061844229698181,
-0.13401484489440918,
-0.16544194519519806,
0.34440627694129944,
0.12407013773918152,
0.01679370552301407,
0.22792242467403412,
-0.06019459664821625,
0.2006007432937622,
0.004029419273138046,
0.0958714410662651,
-0.34716224670410156,
-0.14137494564056396,
-0.2265041470527649,
0.318885862827301,
0.13497304916381836,
0.34795722365379333,
0.05186569690704346,
-0.11863301694393158,
-0.05445106700062752,
0.027873938903212547,
-0.007401652634143829,
0.36391907930374146,
0.07109422236680984,
-0.06033967435359955,
-0.19435164332389832,
0.07585199922323227,
0.1700044870376587,
0.2696356475353241,
0.007499713450670242,
0.09746631234884262,
0.03693094849586487,
-0.6195942163467407,
0.4970833361148834,
-0.32528993487358093,
-0.12865443527698517,
0.07346640527248383,
0.24228107929229736,
0.1590387523174286,
-0.263191282749176,
-0.49043452739715576,
0.05034182220697403,
0.22796693444252014,
0.01492511946707964,
0.030264656990766525,
0.10435116291046143,
0.15840496122837067,
-0.2185346633195877,
-0.0938032865524292,
-0.13811419904232025,
0.1437336802482605,
-0.06262119114398956,
0.05945246294140816,
-0.04967431724071503
] |
https://github.com/huggingface/datasets/issues/4702 | Domain specific dataset discovery on the Hugging Face hub | > Hi @davanstrien If i remember correctly this was also discussed inside a hf.co Discussion, would you be able to link it here too?
>
> (where i suggested using `tags: - foo - bar` IIRC.
>
> Thanks a ton!
This doesn't ring a bell - I did a quick search of https://discuss.huggingface.co but didn't find anything.
The `tags: ` approach sounds like a good option for this. It would be especially nice if these could suggest existing tags, but this probably won't be easily possible through the current interface.
| **Is your feature request related to a problem? Please describe.**
## The problem
The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data).
There are various ways of identifying datasets that may be relevant for a particular use case:
- searching
- various filters
Currently, however, there isn't an easy way to identify datasets belonging to a specific domain. For example, I want to browse machine learning datasets related to 'social science' or 'climate change research'.
The ability to identify datasets relating to a specific domain has come up in discussions around the [BigLA](https://github.com/bigscience-workshop/lam/) datasets hackathon https://github.com/bigscience-workshop/lam/discussions/31#discussioncomment-3123610. As part of the hackathon, we're currently collecting datasets related to Libraries, Archives and Museums and making them available via the hub. We currently do this under a Hugging Face organization (https://huggingface.co/biglam). However, going forward, I can see some of these datasets being migrated to sit under an organization that is the custodian of the dataset (for example, a national library the data was originally from). At this point, it becomes more difficult to quickly identify datasets from this domain without relying on search.
This is also related to some existing issues on Github related to metadata on the hub:
- https://github.com/huggingface/datasets/issues/3625
- https://github.com/huggingface/datasets/issues/3877
**Describe the solution you'd like**
### Some possible solutions that may help with this:
#### Enable domain tags (from a controlled vocabulary)
- This would add metadata field to the YAML for the domain a dataset relates to
- Advantages:
- the list is controlled, allowing it to be more easily integrated into the datasets tag app (https://huggingface.co/space/huggingface/datasets-tagging)
- the controlled vocabulary could align with an existing controlled vocabulary
- this additional metadata can be used to perform filtering by domain
- disadvantages
- choosing the best controlled vocab may be difficult
- there are many datasets that are likely to fit into the 'machine learning' domain (i.e. there is a long tail of datasets that aren't in more 'generic' machine learning domain
#### Enable topic tags (user-generated)
Enable 'free form' topic tags for datasets and models. This would be closer to GitHub's repository topics which can be chosen from a controlled list (https://github.com/topics/) but can also be more user/org specific. This could potentially be useful for organizations to also manage their own models and datasets as the number they hold in their org grows. For example, they may create 'topic tags' for a specific project, so it's clearer which datasets /models are related to that project.
#### Collections
This solution would likely be the biggest shift and may require significant changes in the hub fronted. Collections could work in several different ways but would include:
Users can curate particular datasets, models, spaces, etc., into a collection. For example, they may create a collection of 'historic newspapers suitable for training language models'. These collections would not be mutually exclusive, i.e. a dataset can belong to zero, one or many collections. Collections can also potentially be nested under other collections.
This is fairly common on other data reposotiores for example the following collections:
<img width="293" alt="Screenshot 2022-07-18 at 11 50 44" src="https://user-images.githubusercontent.com/8995957/179496445-963ed122-5e26-4574-96e8-41081bce3e2b.png">
all belong under a higher level collection (https://bl.iro.bl.uk/collections/353c908d-b495-4413-b047-87236d2573e3?locale=en).
There are different models one could use for how these collections could be created:
- only within an org
- for any dataset/model
- the owner or a dataset/model has to agree to be added to a collection
- a collection owner can have people suggest additions to their collection
- other models....
These collections could be thematic, related to particular training approaches, curate models with particular inference properties etc. Whilst some of these features may duplicate current/or future tag filters on the hub, they offer the advantage of being flexible and not having to predict what users will want to do upfront.
There is also potential for automating the creation of these collections based on existing metadata. For example, one could collect models trained on a collection of datasets so for example, if we had a collection of 'historic newspapers suitable for training language models' that contained 30 datasets, we could create another collection 'historic newspaper language models' that takes any model on the hub whose metadata says it used one or more of those 30 datasets.
There is also the option of exploring ML approaches to suggest models/datasets may be relevant to a particular collection.
This approach is likely to be quite difficult to implement well and would require significant thought. There is also likely to be a benefit in doing quite a bit of upfront work in curating useful collections to demonstrate the benefits of collections.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
It is possible to collate this information externally, i.e. one could link back to the relevant models/datasets from an external platform.
**Additional context**
Add any other context about the feature request here.
I'm cc'ing others involved in the BigLAM hackathon who may also have thoughts @cakiki @clancyoftheoverflow @albertvillanova | 91 | Domain specific dataset discovery on the Hugging Face hub
**Is your feature request related to a problem? Please describe.**
## The problem
The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data).
There are various ways of identifying datasets that may be relevant for a particular use case:
- searching
- various filters
Currently, however, there isn't an easy way to identify datasets belonging to a specific domain. For example, I want to browse machine learning datasets related to 'social science' or 'climate change research'.
The ability to identify datasets relating to a specific domain has come up in discussions around the [BigLA](https://github.com/bigscience-workshop/lam/) datasets hackathon https://github.com/bigscience-workshop/lam/discussions/31#discussioncomment-3123610. As part of the hackathon, we're currently collecting datasets related to Libraries, Archives and Museums and making them available via the hub. We currently do this under a Hugging Face organization (https://huggingface.co/biglam). However, going forward, I can see some of these datasets being migrated to sit under an organization that is the custodian of the dataset (for example, a national library the data was originally from). At this point, it becomes more difficult to quickly identify datasets from this domain without relying on search.
This is also related to some existing issues on Github related to metadata on the hub:
- https://github.com/huggingface/datasets/issues/3625
- https://github.com/huggingface/datasets/issues/3877
**Describe the solution you'd like**
### Some possible solutions that may help with this:
#### Enable domain tags (from a controlled vocabulary)
- This would add metadata field to the YAML for the domain a dataset relates to
- Advantages:
- the list is controlled, allowing it to be more easily integrated into the datasets tag app (https://huggingface.co/space/huggingface/datasets-tagging)
- the controlled vocabulary could align with an existing controlled vocabulary
- this additional metadata can be used to perform filtering by domain
- disadvantages
- choosing the best controlled vocab may be difficult
- there are many datasets that are likely to fit into the 'machine learning' domain (i.e. there is a long tail of datasets that aren't in more 'generic' machine learning domain
#### Enable topic tags (user-generated)
Enable 'free form' topic tags for datasets and models. This would be closer to GitHub's repository topics which can be chosen from a controlled list (https://github.com/topics/) but can also be more user/org specific. This could potentially be useful for organizations to also manage their own models and datasets as the number they hold in their org grows. For example, they may create 'topic tags' for a specific project, so it's clearer which datasets /models are related to that project.
#### Collections
This solution would likely be the biggest shift and may require significant changes in the hub fronted. Collections could work in several different ways but would include:
Users can curate particular datasets, models, spaces, etc., into a collection. For example, they may create a collection of 'historic newspapers suitable for training language models'. These collections would not be mutually exclusive, i.e. a dataset can belong to zero, one or many collections. Collections can also potentially be nested under other collections.
This is fairly common on other data reposotiores for example the following collections:
<img width="293" alt="Screenshot 2022-07-18 at 11 50 44" src="https://user-images.githubusercontent.com/8995957/179496445-963ed122-5e26-4574-96e8-41081bce3e2b.png">
all belong under a higher level collection (https://bl.iro.bl.uk/collections/353c908d-b495-4413-b047-87236d2573e3?locale=en).
There are different models one could use for how these collections could be created:
- only within an org
- for any dataset/model
- the owner or a dataset/model has to agree to be added to a collection
- a collection owner can have people suggest additions to their collection
- other models....
These collections could be thematic, related to particular training approaches, curate models with particular inference properties etc. Whilst some of these features may duplicate current/or future tag filters on the hub, they offer the advantage of being flexible and not having to predict what users will want to do upfront.
There is also potential for automating the creation of these collections based on existing metadata. For example, one could collect models trained on a collection of datasets so for example, if we had a collection of 'historic newspapers suitable for training language models' that contained 30 datasets, we could create another collection 'historic newspaper language models' that takes any model on the hub whose metadata says it used one or more of those 30 datasets.
There is also the option of exploring ML approaches to suggest models/datasets may be relevant to a particular collection.
This approach is likely to be quite difficult to implement well and would require significant thought. There is also likely to be a benefit in doing quite a bit of upfront work in curating useful collections to demonstrate the benefits of collections.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
It is possible to collate this information externally, i.e. one could link back to the relevant models/datasets from an external platform.
**Additional context**
Add any other context about the feature request here.
I'm cc'ing others involved in the BigLAM hackathon who may also have thoughts @cakiki @clancyoftheoverflow @albertvillanova
> Hi @davanstrien If i remember correctly this was also discussed inside a hf.co Discussion, would you be able to link it here too?
>
> (where i suggested using `tags: - foo - bar` IIRC.
>
> Thanks a ton!
This doesn't ring a bell - I did a quick search of https://discuss.huggingface.co but didn't find anything.
The `tags: ` approach sounds like a good option for this. It would be especially nice if these could suggest existing tags, but this probably won't be easily possible through the current interface.
| [
0.03188703581690788,
-0.15919062495231628,
-0.030975883826613426,
0.1941971629858017,
0.13424353301525116,
-0.05863244831562042,
0.25349530577659607,
0.2807849049568176,
0.07080627977848053,
0.0454031378030777,
-0.4283638596534729,
-0.08462215960025787,
-0.4897831380367279,
0.5621156096458435,
0.20050299167633057,
-0.004994131624698639,
0.006477683782577515,
-0.3256782293319702,
0.2350308895111084,
-0.05612468346953392,
-0.09555578231811523,
-0.002801351249217987,
0.0769445151090622,
-0.06490969657897949,
-0.6074992418289185,
-0.016321243718266487,
-0.00010155141353607178,
-0.03162532299757004,
-0.07240203768014908,
-0.31515082716941833,
0.4859934449195862,
0.2636100947856903,
0.10374301671981812,
0.1820126324892044,
-0.00011395703768357635,
-0.08193720877170563,
0.1950567662715912,
-0.09835577011108398,
-0.22840549051761627,
-0.046482980251312256,
-0.3069973886013031,
-0.04265180230140686,
0.08432271331548691,
-0.03410476818680763,
-0.4171261489391327,
0.16619694232940674,
-0.03908143192529678,
-0.30258655548095703,
0.025946594774723053,
0.0644272193312645,
0.14856699109077454,
0.22174814343452454,
-0.3138924539089203,
-0.1778530478477478,
-0.10797036439180374,
0.40913814306259155,
-0.22468039393424988,
0.27355659008026123,
0.3900913596153259,
-0.09140212833881378,
-0.2588098347187042,
0.5280653238296509,
-0.019723299890756607,
-0.16471156477928162,
0.2814039885997772,
0.08691441267728806,
-0.10597925633192062,
-0.2551880180835724,
0.02119498699903488,
0.40564343333244324,
0.6322143077850342,
-0.2913108766078949,
-0.4026249647140503,
-0.5651187896728516,
-0.042838580906391144,
0.030729128047823906,
-0.00821889191865921,
0.056638553738594055,
-0.2930941581726074,
0.32403549551963806,
-0.33885830640792847,
-0.26508063077926636,
-0.19724877178668976,
0.14331918954849243,
-0.14425644278526306,
0.30832165479660034,
-0.09563938528299332,
-0.031145520508289337,
-0.00038102641701698303,
-0.10157987475395203,
-0.03587235137820244,
0.10003165900707245,
0.33879971504211426,
0.16330982744693756,
-0.4742288589477539,
-0.3948231041431427,
-0.12109630554914474,
0.4444841146469116,
0.28849563002586365,
0.49614089727401733,
-0.04585859924554825,
0.268538236618042,
-0.2803509533405304,
-0.09494111686944962,
0.33673331141471863,
0.19269271194934845,
0.12125660479068756,
-0.14549072086811066,
0.2766610085964203,
-0.11718379706144333,
0.12256719172000885,
0.18444806337356567,
-0.251274049282074,
0.1966204047203064,
-0.09216666221618652,
0.019737130030989647,
0.3378026485443115,
-0.11072373390197754,
-0.10230488330125809,
-0.014901052229106426,
-0.06459537148475647,
-0.0039743464440107346,
0.2937917411327362,
0.09801165759563446,
0.04419508948922157,
-0.10003528743982315,
-0.3294075131416321,
-0.023018408566713333,
-0.08541402220726013,
0.06199357286095619,
-0.10872049629688263,
0.24645684659481049,
0.043233226984739304,
0.26439303159713745,
0.33141183853149414,
-0.2882443368434906,
0.11919859796762466,
-0.11625168472528458,
0.18167456984519958,
-0.011746734380722046,
-0.1548292338848114,
-0.029070518910884857,
0.13988623023033142,
0.042046088725328445,
-0.4897649884223938,
0.07504396885633469,
0.003353554755449295,
-0.25367340445518494,
-0.3454214334487915,
-0.2471228837966919,
-0.15652430057525635,
-0.4200160503387451,
-0.07372277975082397,
0.054190635681152344,
-0.374687135219574,
0.08810514211654663,
-0.29945263266563416,
0.5411409139633179,
-0.5783674120903015,
0.23793363571166992,
0.11701501160860062,
0.34696757793426514,
-0.22420112788677216,
-0.05192834883928299,
0.15247194468975067,
0.5010554790496826,
0.20715609192848206,
-0.26358234882354736,
0.028654079884290695,
0.09452211856842041,
-0.2388109266757965,
0.09912532567977905,
-0.12677474319934845,
-0.024623386561870575,
-0.17801064252853394,
0.16056126356124878,
-0.1381222903728485,
-0.7480869293212891,
-0.2418721318244934,
-0.12377992272377014,
-0.3060058057308197,
0.22549502551555634,
0.011329084634780884,
0.2893886864185333,
0.06288705766201019,
-0.2489527463912964,
0.03712639957666397,
0.4285990595817566,
-0.19726137816905975,
-0.05000076815485954,
-0.11361157894134521,
-0.11622388660907745,
-0.12541595101356506,
0.31736063957214355,
0.14152854681015015,
-0.07871714979410172,
0.2396247386932373,
0.24151922762393951,
0.0550541914999485,
0.091777503490448,
0.2840215861797333,
0.07832437008619308,
0.4006848931312561,
-0.10513682663440704,
0.050720278173685074,
-0.19556385278701782,
-0.5673906803131104,
0.15935838222503662,
0.3315316438674927,
0.419883131980896,
-0.17816521227359772,
-0.25806403160095215,
-0.25203418731689453,
0.002630714327096939,
-0.2221459001302719,
-0.2519017457962036,
0.05098504573106766,
-0.08622319996356964,
0.3138265609741211,
0.013864327222108841,
-0.24126461148262024,
0.6043831706047058,
0.3184370696544647,
0.1870884895324707,
-0.4891660809516907,
0.2662493884563446,
0.3797731399536133,
0.34592559933662415,
0.050480201840400696,
0.25305864214897156,
0.1993710696697235,
-0.00831882655620575,
0.14322993159294128,
-0.019066862761974335,
-0.04401284083724022,
0.1901509016752243,
0.475234717130661,
0.764721691608429,
0.5026208758354187,
-0.3314965069293976,
0.14000385999679565,
-0.22637659311294556,
0.0542527437210083,
0.1266363561153412,
-0.30831074714660645,
0.322191059589386,
-0.35038724541664124,
0.3090777099132538,
-0.10267437994480133,
0.1395743191242218,
0.1299968659877777,
-0.1503334492444992,
-0.2748202085494995,
-0.3602955937385559,
0.015134468674659729,
-0.016282513737678528,
0.4335099458694458,
0.1064039096236229,
-0.2477627545595169,
0.13039056956768036,
0.1003335565328598,
-0.09763060510158539,
0.24789166450500488,
0.3325381278991699,
-0.38130006194114685,
0.05719200521707535,
0.15706132352352142,
0.17255054414272308,
0.07932380586862564,
0.07454320788383484,
0.18589170277118683,
0.11964640021324158,
0.23441174626350403,
-0.03374490141868591,
-0.0004833787679672241,
0.18682372570037842,
0.08514728397130966,
0.017620090395212173,
0.15178756415843964,
0.11533414572477341,
-0.1585196554660797,
-0.24337762594223022,
-0.09098565578460693,
-0.12043812870979309,
0.027050074189901352,
-0.0737631767988205,
-0.2754071056842804,
-0.17680609226226807,
-0.14332883059978485,
-0.4039272367954254,
-0.5082451105117798,
0.03870701789855957,
0.25078916549682617,
0.006599389016628265,
-0.02067539095878601,
-0.0022343043237924576,
0.016192074865102768,
0.47881078720092773,
-0.3491724729537964,
-0.12082520872354507,
-0.09123341739177704,
-0.18751336634159088,
0.21954208612442017,
0.08223418891429901,
-0.015059594996273518,
0.20792366564273834,
0.48148614168167114,
0.09315875917673111,
0.5605018734931946,
-0.467043936252594,
-0.5391371846199036,
0.16941699385643005,
0.015501262620091438,
0.3729126453399658,
0.13188304007053375,
0.007071636617183685,
-0.11508779972791672,
-0.1019081175327301,
0.19591572880744934,
-0.052293531596660614,
-0.02991136908531189,
-0.26347461342811584,
0.02521827258169651,
0.3313482403755188,
0.10034239292144775,
0.006573230028152466,
-0.5735208988189697,
-0.3349670469760895,
0.2867111265659332,
-0.1901431679725647,
0.2298867255449295,
0.4373263120651245,
-0.5130934715270996,
-0.18902356922626495,
-0.19317935407161713,
-0.17290876805782318,
-0.2038889229297638,
-0.3269670307636261,
0.06780630350112915,
-0.3545684218406677,
0.1713636964559555,
-0.21433189511299133,
-0.2473384588956833,
0.2091255635023117,
0.08546575158834457,
0.04063890129327774,
-0.31484219431877136,
-0.09577923268079758,
0.2384791374206543,
0.1708245426416397,
-0.11681215465068817,
0.32578903436660767,
0.020111577585339546,
0.0020891427993774414,
-0.07396818697452545,
-0.3824058771133423,
0.02401440590620041,
0.2664618194103241,
0.006474673748016357,
0.2208137810230255,
-0.3795364797115326,
0.16649220883846283,
0.2516952157020569,
0.12717853486537933,
0.05315791442990303,
0.33667629957199097,
0.20104536414146423,
0.18461555242538452,
0.06873448938131332,
-0.2310672402381897,
-0.04619966074824333,
0.036964379251003265,
0.03483866527676582,
0.42592698335647583,
0.35503727197647095,
0.27793586254119873,
-0.30102595686912537,
-0.5485736727714539,
-0.2665914297103882,
-0.20867250859737396,
-0.003421155735850334,
0.11536868661642075,
0.17862465977668762,
-0.000118989497423172,
-0.1350068598985672,
-0.20908041298389435,
-0.14544057846069336,
0.1618417650461197,
0.22824357450008392,
0.2043803483247757,
0.021392827853560448,
-0.11346442997455597,
0.12471054494380951,
-0.42331477999687195,
-0.01022619754076004,
0.1212083250284195,
0.012074844911694527,
-0.19484783709049225,
-0.011823965236544609,
-0.009113326668739319,
0.42003828287124634,
0.6715653538703918,
-0.24098928272724152,
-0.04987885802984238,
-0.3507020175457001,
-0.42225533723831177,
-0.0709855780005455,
0.20013169944286346,
0.21165195107460022,
0.02609413117170334,
-0.3063870072364807,
0.648346483707428,
-0.2707225978374481,
-0.23981845378875732,
0.055975355207920074,
-0.0232362262904644,
-0.026370175182819366,
-0.07288435101509094,
0.4177699685096741,
-0.14045608043670654,
-0.22232335805892944,
0.0414026603102684,
0.18740934133529663,
0.14228983223438263,
0.25976571440696716,
-0.13239605724811554,
-0.023794399574398994,
0.15956223011016846,
0.2801404893398285,
0.05202139541506767,
-0.013453524559736252,
0.29604995250701904,
0.3682751953601837,
0.5342804789543152,
0.2393411546945572,
0.16883046925067902,
0.5727491974830627,
0.14486002922058105,
-0.3688116669654846,
-0.1863533854484558,
0.13854704797267914,
0.25980570912361145,
0.5243191123008728,
0.06492730975151062,
0.3626083433628082,
-0.2040531486272812,
0.15166546404361725,
-0.6122169494628906,
0.11438125371932983,
-0.27034029364585876,
0.0032646115869283676,
-0.828542947769165,
0.0223421398550272,
0.7809950709342957,
-0.06908288598060608,
-0.26790690422058105,
-0.004787411540746689,
0.5384549498558044,
-0.4402562975883484,
-0.06616902351379395,
0.07979755103588104,
0.95487380027771,
-0.19162409007549286,
-0.14366641640663147,
-0.14081618189811707,
-0.09576090425252914,
0.5320931077003479,
-0.21558906137943268,
0.02945082262158394,
-0.2221897840499878,
-0.2367459237575531,
-0.14984682202339172,
0.057240989059209824,
0.02807091549038887,
0.3009433150291443,
0.164535254240036,
0.17777961492538452,
0.2572539448738098,
0.29900142550468445,
-0.16512365639209747,
0.3852066695690155,
-0.06254980713129044,
-0.5423590540885925,
-0.3532698154449463,
0.0815218836069107,
-0.3201014995574951,
0.6616986989974976,
0.10880822688341141,
-0.2791655659675598,
-0.2650180459022522,
-0.09765560925006866,
-0.28091949224472046,
-0.23621681332588196,
-0.1978277862071991,
-0.08395688980817795,
0.1982223242521286,
-0.2566072940826416,
0.28729861974716187,
-0.21746739745140076,
0.5471885800361633,
0.01232161931693554,
-0.4314996302127838,
0.2217627316713333,
-0.157139390707016,
0.1303102821111679,
0.011238683946430683,
-0.32663410902023315,
0.13319586217403412,
0.035910606384277344,
-0.08851118385791779,
-0.12455873936414719,
0.1712360680103302,
-0.22266966104507446,
-0.3260185718536377,
-0.0587458461523056,
-0.012087531387805939,
0.050359342247247696,
0.10163447260856628,
-0.12676924467086792,
-0.07377445697784424,
-0.08260044455528259,
0.05527246370911598,
0.13901138305664062,
-0.0450282096862793,
0.020197946578264236,
0.17543326318264008,
-0.050194304436445236,
-0.21869951486587524,
0.18940213322639465,
-0.009224195033311844,
-0.1284133940935135,
0.03382537513971329,
-0.05295683443546295,
-0.17167823016643524,
-0.12413277477025986,
-0.06842540204524994,
0.4635797441005707,
-0.4607744812965393,
-0.045212749391794205,
0.22595332562923431,
-0.11068876832723618,
0.201213538646698,
0.054855965077877045,
0.09619803726673126,
-0.2917410731315613,
-0.09841582924127579,
-0.19566522538661957,
-0.026025567203760147,
0.2706507444381714,
-0.31106382608413696,
0.18805603682994843,
-0.17740345001220703,
0.05409498140215874,
-0.008305283263325691,
0.1954435110092163,
-0.26444458961486816,
-0.04260063171386719,
-0.21679791808128357,
0.12748995423316956,
-0.09908682107925415,
0.15473249554634094,
0.28204649686813354,
-0.06942518800497055,
-0.02403925359249115,
-0.012268181890249252,
-0.11931082606315613,
-0.0602075420320034,
-0.32960617542266846,
0.18545420467853546,
0.05435413122177124,
-0.025051703676581383,
0.017496977001428604,
0.28189611434936523,
0.09645982086658478,
-0.34731340408325195,
0.3435482680797577,
0.49230533838272095,
0.19517065584659576,
-0.09070426970720291,
0.1335338056087494,
-0.27645277976989746,
-0.0269117783755064,
0.11982135474681854,
0.40370258688926697,
0.26750925183296204,
0.22849959135055542,
-0.08841367065906525,
-0.2107688933610916,
-0.06188461557030678,
-0.003178494516760111,
0.25214409828186035,
0.058751314878463745,
-0.1357872486114502,
0.09171150624752045,
0.21811354160308838,
-0.1252293884754181,
0.686281144618988,
0.2321588695049286,
-0.2876969873905182,
-0.12565207481384277,
0.037774473428726196,
0.09884661436080933,
0.14487217366695404,
-0.19968533515930176,
-0.29336246848106384,
0.14535903930664062,
-0.33194902539253235,
0.09620891511440277,
0.44322696328163147,
0.561668872833252,
0.3827252686023712,
-0.08083896338939667,
-0.2080785632133484,
0.43305808305740356,
0.04071388766169548,
0.3023642897605896,
0.35417014360427856,
0.16073936223983765,
-0.061012472957372665,
0.2649027109146118,
0.05117817223072052,
0.2749195098876953,
0.2905087471008301,
-0.3332831561565399,
0.4239794909954071,
-0.061430126428604126,
0.020917177200317383,
0.41927099227905273,
-0.182625874876976,
-0.04482323303818703,
-0.11337321996688843,
-0.10445459187030792,
0.06500312685966492,
-0.2880861461162567,
0.0385933518409729,
-0.09077082574367523,
0.06300145387649536,
-0.20778155326843262,
0.07470850646495819,
0.07575267553329468,
0.08680249750614166,
0.43213698267936707,
-0.30572161078453064,
-0.16371197998523712,
0.05113627389073372,
-0.15393586456775665,
-0.7015413045883179,
0.1578664779663086,
-0.00797269493341446,
0.27788713574409485,
-0.21240931749343872,
-0.1158817782998085,
0.1670997142791748,
0.4064881503582001,
-0.10196735709905624,
-0.1318383514881134,
0.13945555686950684,
-0.2682114541530609,
0.22575964033603668,
0.13138733804225922,
-0.009082961827516556,
-0.07961912453174591,
-0.03593580424785614,
0.25475451350212097,
-0.29714706540107727,
-0.0031986739486455917,
0.013826999813318253,
0.12249254435300827,
-0.033422648906707764,
-0.17132748663425446,
-0.02206786908209324,
0.03858356922864914,
-0.02697751484811306,
-0.059548210352659225,
0.0804111585021019,
-0.008181199431419373,
-0.22673232853412628,
0.03948010504245758,
-0.04298058897256851,
0.1847405731678009,
-0.1453029215335846,
0.001979261636734009,
-0.15558917820453644,
-0.270487904548645,
0.4388320744037628,
-0.008119137957692146,
0.1772269308567047,
-0.041873909533023834,
0.0504855215549469,
-0.047564547508955,
0.3511812090873718,
-0.024508532136678696,
0.09472787380218506,
-0.22241519391536713,
-0.02090572565793991,
-0.289558082818985,
-0.11654449254274368,
0.16085109114646912,
-0.16528423130512238,
0.001827901229262352,
-0.36776092648506165,
0.11361557245254517,
0.20146843791007996,
-0.3850228190422058,
-0.05756795033812523,
0.4485529661178589,
0.028552459552884102,
-0.3556879162788391,
0.21086467802524567,
0.04518897086381912,
0.0381157323718071,
0.18950939178466797,
-0.0685773566365242,
0.25481387972831726,
0.11061844229698181,
-0.13401484489440918,
-0.16544194519519806,
0.34440627694129944,
0.12407013773918152,
0.01679370552301407,
0.22792242467403412,
-0.06019459664821625,
0.2006007432937622,
0.004029419273138046,
0.0958714410662651,
-0.34716224670410156,
-0.14137494564056396,
-0.2265041470527649,
0.318885862827301,
0.13497304916381836,
0.34795722365379333,
0.05186569690704346,
-0.11863301694393158,
-0.05445106700062752,
0.027873938903212547,
-0.007401652634143829,
0.36391907930374146,
0.07109422236680984,
-0.06033967435359955,
-0.19435164332389832,
0.07585199922323227,
0.1700044870376587,
0.2696356475353241,
0.007499713450670242,
0.09746631234884262,
0.03693094849586487,
-0.6195942163467407,
0.4970833361148834,
-0.32528993487358093,
-0.12865443527698517,
0.07346640527248383,
0.24228107929229736,
0.1590387523174286,
-0.263191282749176,
-0.49043452739715576,
0.05034182220697403,
0.22796693444252014,
0.01492511946707964,
0.030264656990766525,
0.10435116291046143,
0.15840496122837067,
-0.2185346633195877,
-0.0938032865524292,
-0.13811419904232025,
0.1437336802482605,
-0.06262119114398956,
0.05945246294140816,
-0.04967431724071503
] |
https://github.com/huggingface/datasets/issues/4702 | Domain specific dataset discovery on the Hugging Face hub | I opened a PR to add "tags" to the YAML validator:
https://github.com/huggingface/datasets/pull/4716
I also added "tags" to the [tagging app](https://huggingface.co/spaces/huggingface/datasets-tagging), with suggestions like "bio" or "newspapers" | **Is your feature request related to a problem? Please describe.**
## The problem
The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data).
There are various ways of identifying datasets that may be relevant for a particular use case:
- searching
- various filters
Currently, however, there isn't an easy way to identify datasets belonging to a specific domain. For example, I want to browse machine learning datasets related to 'social science' or 'climate change research'.
The ability to identify datasets relating to a specific domain has come up in discussions around the [BigLA](https://github.com/bigscience-workshop/lam/) datasets hackathon https://github.com/bigscience-workshop/lam/discussions/31#discussioncomment-3123610. As part of the hackathon, we're currently collecting datasets related to Libraries, Archives and Museums and making them available via the hub. We currently do this under a Hugging Face organization (https://huggingface.co/biglam). However, going forward, I can see some of these datasets being migrated to sit under an organization that is the custodian of the dataset (for example, a national library the data was originally from). At this point, it becomes more difficult to quickly identify datasets from this domain without relying on search.
This is also related to some existing issues on Github related to metadata on the hub:
- https://github.com/huggingface/datasets/issues/3625
- https://github.com/huggingface/datasets/issues/3877
**Describe the solution you'd like**
### Some possible solutions that may help with this:
#### Enable domain tags (from a controlled vocabulary)
- This would add metadata field to the YAML for the domain a dataset relates to
- Advantages:
- the list is controlled, allowing it to be more easily integrated into the datasets tag app (https://huggingface.co/space/huggingface/datasets-tagging)
- the controlled vocabulary could align with an existing controlled vocabulary
- this additional metadata can be used to perform filtering by domain
- disadvantages
- choosing the best controlled vocab may be difficult
- there are many datasets that are likely to fit into the 'machine learning' domain (i.e. there is a long tail of datasets that aren't in more 'generic' machine learning domain
#### Enable topic tags (user-generated)
Enable 'free form' topic tags for datasets and models. This would be closer to GitHub's repository topics which can be chosen from a controlled list (https://github.com/topics/) but can also be more user/org specific. This could potentially be useful for organizations to also manage their own models and datasets as the number they hold in their org grows. For example, they may create 'topic tags' for a specific project, so it's clearer which datasets /models are related to that project.
#### Collections
This solution would likely be the biggest shift and may require significant changes in the hub fronted. Collections could work in several different ways but would include:
Users can curate particular datasets, models, spaces, etc., into a collection. For example, they may create a collection of 'historic newspapers suitable for training language models'. These collections would not be mutually exclusive, i.e. a dataset can belong to zero, one or many collections. Collections can also potentially be nested under other collections.
This is fairly common on other data reposotiores for example the following collections:
<img width="293" alt="Screenshot 2022-07-18 at 11 50 44" src="https://user-images.githubusercontent.com/8995957/179496445-963ed122-5e26-4574-96e8-41081bce3e2b.png">
all belong under a higher level collection (https://bl.iro.bl.uk/collections/353c908d-b495-4413-b047-87236d2573e3?locale=en).
There are different models one could use for how these collections could be created:
- only within an org
- for any dataset/model
- the owner or a dataset/model has to agree to be added to a collection
- a collection owner can have people suggest additions to their collection
- other models....
These collections could be thematic, related to particular training approaches, curate models with particular inference properties etc. Whilst some of these features may duplicate current/or future tag filters on the hub, they offer the advantage of being flexible and not having to predict what users will want to do upfront.
There is also potential for automating the creation of these collections based on existing metadata. For example, one could collect models trained on a collection of datasets so for example, if we had a collection of 'historic newspapers suitable for training language models' that contained 30 datasets, we could create another collection 'historic newspaper language models' that takes any model on the hub whose metadata says it used one or more of those 30 datasets.
There is also the option of exploring ML approaches to suggest models/datasets may be relevant to a particular collection.
This approach is likely to be quite difficult to implement well and would require significant thought. There is also likely to be a benefit in doing quite a bit of upfront work in curating useful collections to demonstrate the benefits of collections.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
It is possible to collate this information externally, i.e. one could link back to the relevant models/datasets from an external platform.
**Additional context**
Add any other context about the feature request here.
I'm cc'ing others involved in the BigLAM hackathon who may also have thoughts @cakiki @clancyoftheoverflow @albertvillanova | 26 | Domain specific dataset discovery on the Hugging Face hub
**Is your feature request related to a problem? Please describe.**
## The problem
The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data).
There are various ways of identifying datasets that may be relevant for a particular use case:
- searching
- various filters
Currently, however, there isn't an easy way to identify datasets belonging to a specific domain. For example, I want to browse machine learning datasets related to 'social science' or 'climate change research'.
The ability to identify datasets relating to a specific domain has come up in discussions around the [BigLA](https://github.com/bigscience-workshop/lam/) datasets hackathon https://github.com/bigscience-workshop/lam/discussions/31#discussioncomment-3123610. As part of the hackathon, we're currently collecting datasets related to Libraries, Archives and Museums and making them available via the hub. We currently do this under a Hugging Face organization (https://huggingface.co/biglam). However, going forward, I can see some of these datasets being migrated to sit under an organization that is the custodian of the dataset (for example, a national library the data was originally from). At this point, it becomes more difficult to quickly identify datasets from this domain without relying on search.
This is also related to some existing issues on Github related to metadata on the hub:
- https://github.com/huggingface/datasets/issues/3625
- https://github.com/huggingface/datasets/issues/3877
**Describe the solution you'd like**
### Some possible solutions that may help with this:
#### Enable domain tags (from a controlled vocabulary)
- This would add metadata field to the YAML for the domain a dataset relates to
- Advantages:
- the list is controlled, allowing it to be more easily integrated into the datasets tag app (https://huggingface.co/space/huggingface/datasets-tagging)
- the controlled vocabulary could align with an existing controlled vocabulary
- this additional metadata can be used to perform filtering by domain
- disadvantages
- choosing the best controlled vocab may be difficult
- there are many datasets that are likely to fit into the 'machine learning' domain (i.e. there is a long tail of datasets that aren't in more 'generic' machine learning domain
#### Enable topic tags (user-generated)
Enable 'free form' topic tags for datasets and models. This would be closer to GitHub's repository topics which can be chosen from a controlled list (https://github.com/topics/) but can also be more user/org specific. This could potentially be useful for organizations to also manage their own models and datasets as the number they hold in their org grows. For example, they may create 'topic tags' for a specific project, so it's clearer which datasets /models are related to that project.
#### Collections
This solution would likely be the biggest shift and may require significant changes in the hub fronted. Collections could work in several different ways but would include:
Users can curate particular datasets, models, spaces, etc., into a collection. For example, they may create a collection of 'historic newspapers suitable for training language models'. These collections would not be mutually exclusive, i.e. a dataset can belong to zero, one or many collections. Collections can also potentially be nested under other collections.
This is fairly common on other data reposotiores for example the following collections:
<img width="293" alt="Screenshot 2022-07-18 at 11 50 44" src="https://user-images.githubusercontent.com/8995957/179496445-963ed122-5e26-4574-96e8-41081bce3e2b.png">
all belong under a higher level collection (https://bl.iro.bl.uk/collections/353c908d-b495-4413-b047-87236d2573e3?locale=en).
There are different models one could use for how these collections could be created:
- only within an org
- for any dataset/model
- the owner or a dataset/model has to agree to be added to a collection
- a collection owner can have people suggest additions to their collection
- other models....
These collections could be thematic, related to particular training approaches, curate models with particular inference properties etc. Whilst some of these features may duplicate current/or future tag filters on the hub, they offer the advantage of being flexible and not having to predict what users will want to do upfront.
There is also potential for automating the creation of these collections based on existing metadata. For example, one could collect models trained on a collection of datasets so for example, if we had a collection of 'historic newspapers suitable for training language models' that contained 30 datasets, we could create another collection 'historic newspaper language models' that takes any model on the hub whose metadata says it used one or more of those 30 datasets.
There is also the option of exploring ML approaches to suggest models/datasets may be relevant to a particular collection.
This approach is likely to be quite difficult to implement well and would require significant thought. There is also likely to be a benefit in doing quite a bit of upfront work in curating useful collections to demonstrate the benefits of collections.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
It is possible to collate this information externally, i.e. one could link back to the relevant models/datasets from an external platform.
**Additional context**
Add any other context about the feature request here.
I'm cc'ing others involved in the BigLAM hackathon who may also have thoughts @cakiki @clancyoftheoverflow @albertvillanova
I opened a PR to add "tags" to the YAML validator:
https://github.com/huggingface/datasets/pull/4716
I also added "tags" to the [tagging app](https://huggingface.co/spaces/huggingface/datasets-tagging), with suggestions like "bio" or "newspapers" | [
0.03188703581690788,
-0.15919062495231628,
-0.030975883826613426,
0.1941971629858017,
0.13424353301525116,
-0.05863244831562042,
0.25349530577659607,
0.2807849049568176,
0.07080627977848053,
0.0454031378030777,
-0.4283638596534729,
-0.08462215960025787,
-0.4897831380367279,
0.5621156096458435,
0.20050299167633057,
-0.004994131624698639,
0.006477683782577515,
-0.3256782293319702,
0.2350308895111084,
-0.05612468346953392,
-0.09555578231811523,
-0.002801351249217987,
0.0769445151090622,
-0.06490969657897949,
-0.6074992418289185,
-0.016321243718266487,
-0.00010155141353607178,
-0.03162532299757004,
-0.07240203768014908,
-0.31515082716941833,
0.4859934449195862,
0.2636100947856903,
0.10374301671981812,
0.1820126324892044,
-0.00011395703768357635,
-0.08193720877170563,
0.1950567662715912,
-0.09835577011108398,
-0.22840549051761627,
-0.046482980251312256,
-0.3069973886013031,
-0.04265180230140686,
0.08432271331548691,
-0.03410476818680763,
-0.4171261489391327,
0.16619694232940674,
-0.03908143192529678,
-0.30258655548095703,
0.025946594774723053,
0.0644272193312645,
0.14856699109077454,
0.22174814343452454,
-0.3138924539089203,
-0.1778530478477478,
-0.10797036439180374,
0.40913814306259155,
-0.22468039393424988,
0.27355659008026123,
0.3900913596153259,
-0.09140212833881378,
-0.2588098347187042,
0.5280653238296509,
-0.019723299890756607,
-0.16471156477928162,
0.2814039885997772,
0.08691441267728806,
-0.10597925633192062,
-0.2551880180835724,
0.02119498699903488,
0.40564343333244324,
0.6322143077850342,
-0.2913108766078949,
-0.4026249647140503,
-0.5651187896728516,
-0.042838580906391144,
0.030729128047823906,
-0.00821889191865921,
0.056638553738594055,
-0.2930941581726074,
0.32403549551963806,
-0.33885830640792847,
-0.26508063077926636,
-0.19724877178668976,
0.14331918954849243,
-0.14425644278526306,
0.30832165479660034,
-0.09563938528299332,
-0.031145520508289337,
-0.00038102641701698303,
-0.10157987475395203,
-0.03587235137820244,
0.10003165900707245,
0.33879971504211426,
0.16330982744693756,
-0.4742288589477539,
-0.3948231041431427,
-0.12109630554914474,
0.4444841146469116,
0.28849563002586365,
0.49614089727401733,
-0.04585859924554825,
0.268538236618042,
-0.2803509533405304,
-0.09494111686944962,
0.33673331141471863,
0.19269271194934845,
0.12125660479068756,
-0.14549072086811066,
0.2766610085964203,
-0.11718379706144333,
0.12256719172000885,
0.18444806337356567,
-0.251274049282074,
0.1966204047203064,
-0.09216666221618652,
0.019737130030989647,
0.3378026485443115,
-0.11072373390197754,
-0.10230488330125809,
-0.014901052229106426,
-0.06459537148475647,
-0.0039743464440107346,
0.2937917411327362,
0.09801165759563446,
0.04419508948922157,
-0.10003528743982315,
-0.3294075131416321,
-0.023018408566713333,
-0.08541402220726013,
0.06199357286095619,
-0.10872049629688263,
0.24645684659481049,
0.043233226984739304,
0.26439303159713745,
0.33141183853149414,
-0.2882443368434906,
0.11919859796762466,
-0.11625168472528458,
0.18167456984519958,
-0.011746734380722046,
-0.1548292338848114,
-0.029070518910884857,
0.13988623023033142,
0.042046088725328445,
-0.4897649884223938,
0.07504396885633469,
0.003353554755449295,
-0.25367340445518494,
-0.3454214334487915,
-0.2471228837966919,
-0.15652430057525635,
-0.4200160503387451,
-0.07372277975082397,
0.054190635681152344,
-0.374687135219574,
0.08810514211654663,
-0.29945263266563416,
0.5411409139633179,
-0.5783674120903015,
0.23793363571166992,
0.11701501160860062,
0.34696757793426514,
-0.22420112788677216,
-0.05192834883928299,
0.15247194468975067,
0.5010554790496826,
0.20715609192848206,
-0.26358234882354736,
0.028654079884290695,
0.09452211856842041,
-0.2388109266757965,
0.09912532567977905,
-0.12677474319934845,
-0.024623386561870575,
-0.17801064252853394,
0.16056126356124878,
-0.1381222903728485,
-0.7480869293212891,
-0.2418721318244934,
-0.12377992272377014,
-0.3060058057308197,
0.22549502551555634,
0.011329084634780884,
0.2893886864185333,
0.06288705766201019,
-0.2489527463912964,
0.03712639957666397,
0.4285990595817566,
-0.19726137816905975,
-0.05000076815485954,
-0.11361157894134521,
-0.11622388660907745,
-0.12541595101356506,
0.31736063957214355,
0.14152854681015015,
-0.07871714979410172,
0.2396247386932373,
0.24151922762393951,
0.0550541914999485,
0.091777503490448,
0.2840215861797333,
0.07832437008619308,
0.4006848931312561,
-0.10513682663440704,
0.050720278173685074,
-0.19556385278701782,
-0.5673906803131104,
0.15935838222503662,
0.3315316438674927,
0.419883131980896,
-0.17816521227359772,
-0.25806403160095215,
-0.25203418731689453,
0.002630714327096939,
-0.2221459001302719,
-0.2519017457962036,
0.05098504573106766,
-0.08622319996356964,
0.3138265609741211,
0.013864327222108841,
-0.24126461148262024,
0.6043831706047058,
0.3184370696544647,
0.1870884895324707,
-0.4891660809516907,
0.2662493884563446,
0.3797731399536133,
0.34592559933662415,
0.050480201840400696,
0.25305864214897156,
0.1993710696697235,
-0.00831882655620575,
0.14322993159294128,
-0.019066862761974335,
-0.04401284083724022,
0.1901509016752243,
0.475234717130661,
0.764721691608429,
0.5026208758354187,
-0.3314965069293976,
0.14000385999679565,
-0.22637659311294556,
0.0542527437210083,
0.1266363561153412,
-0.30831074714660645,
0.322191059589386,
-0.35038724541664124,
0.3090777099132538,
-0.10267437994480133,
0.1395743191242218,
0.1299968659877777,
-0.1503334492444992,
-0.2748202085494995,
-0.3602955937385559,
0.015134468674659729,
-0.016282513737678528,
0.4335099458694458,
0.1064039096236229,
-0.2477627545595169,
0.13039056956768036,
0.1003335565328598,
-0.09763060510158539,
0.24789166450500488,
0.3325381278991699,
-0.38130006194114685,
0.05719200521707535,
0.15706132352352142,
0.17255054414272308,
0.07932380586862564,
0.07454320788383484,
0.18589170277118683,
0.11964640021324158,
0.23441174626350403,
-0.03374490141868591,
-0.0004833787679672241,
0.18682372570037842,
0.08514728397130966,
0.017620090395212173,
0.15178756415843964,
0.11533414572477341,
-0.1585196554660797,
-0.24337762594223022,
-0.09098565578460693,
-0.12043812870979309,
0.027050074189901352,
-0.0737631767988205,
-0.2754071056842804,
-0.17680609226226807,
-0.14332883059978485,
-0.4039272367954254,
-0.5082451105117798,
0.03870701789855957,
0.25078916549682617,
0.006599389016628265,
-0.02067539095878601,
-0.0022343043237924576,
0.016192074865102768,
0.47881078720092773,
-0.3491724729537964,
-0.12082520872354507,
-0.09123341739177704,
-0.18751336634159088,
0.21954208612442017,
0.08223418891429901,
-0.015059594996273518,
0.20792366564273834,
0.48148614168167114,
0.09315875917673111,
0.5605018734931946,
-0.467043936252594,
-0.5391371846199036,
0.16941699385643005,
0.015501262620091438,
0.3729126453399658,
0.13188304007053375,
0.007071636617183685,
-0.11508779972791672,
-0.1019081175327301,
0.19591572880744934,
-0.052293531596660614,
-0.02991136908531189,
-0.26347461342811584,
0.02521827258169651,
0.3313482403755188,
0.10034239292144775,
0.006573230028152466,
-0.5735208988189697,
-0.3349670469760895,
0.2867111265659332,
-0.1901431679725647,
0.2298867255449295,
0.4373263120651245,
-0.5130934715270996,
-0.18902356922626495,
-0.19317935407161713,
-0.17290876805782318,
-0.2038889229297638,
-0.3269670307636261,
0.06780630350112915,
-0.3545684218406677,
0.1713636964559555,
-0.21433189511299133,
-0.2473384588956833,
0.2091255635023117,
0.08546575158834457,
0.04063890129327774,
-0.31484219431877136,
-0.09577923268079758,
0.2384791374206543,
0.1708245426416397,
-0.11681215465068817,
0.32578903436660767,
0.020111577585339546,
0.0020891427993774414,
-0.07396818697452545,
-0.3824058771133423,
0.02401440590620041,
0.2664618194103241,
0.006474673748016357,
0.2208137810230255,
-0.3795364797115326,
0.16649220883846283,
0.2516952157020569,
0.12717853486537933,
0.05315791442990303,
0.33667629957199097,
0.20104536414146423,
0.18461555242538452,
0.06873448938131332,
-0.2310672402381897,
-0.04619966074824333,
0.036964379251003265,
0.03483866527676582,
0.42592698335647583,
0.35503727197647095,
0.27793586254119873,
-0.30102595686912537,
-0.5485736727714539,
-0.2665914297103882,
-0.20867250859737396,
-0.003421155735850334,
0.11536868661642075,
0.17862465977668762,
-0.000118989497423172,
-0.1350068598985672,
-0.20908041298389435,
-0.14544057846069336,
0.1618417650461197,
0.22824357450008392,
0.2043803483247757,
0.021392827853560448,
-0.11346442997455597,
0.12471054494380951,
-0.42331477999687195,
-0.01022619754076004,
0.1212083250284195,
0.012074844911694527,
-0.19484783709049225,
-0.011823965236544609,
-0.009113326668739319,
0.42003828287124634,
0.6715653538703918,
-0.24098928272724152,
-0.04987885802984238,
-0.3507020175457001,
-0.42225533723831177,
-0.0709855780005455,
0.20013169944286346,
0.21165195107460022,
0.02609413117170334,
-0.3063870072364807,
0.648346483707428,
-0.2707225978374481,
-0.23981845378875732,
0.055975355207920074,
-0.0232362262904644,
-0.026370175182819366,
-0.07288435101509094,
0.4177699685096741,
-0.14045608043670654,
-0.22232335805892944,
0.0414026603102684,
0.18740934133529663,
0.14228983223438263,
0.25976571440696716,
-0.13239605724811554,
-0.023794399574398994,
0.15956223011016846,
0.2801404893398285,
0.05202139541506767,
-0.013453524559736252,
0.29604995250701904,
0.3682751953601837,
0.5342804789543152,
0.2393411546945572,
0.16883046925067902,
0.5727491974830627,
0.14486002922058105,
-0.3688116669654846,
-0.1863533854484558,
0.13854704797267914,
0.25980570912361145,
0.5243191123008728,
0.06492730975151062,
0.3626083433628082,
-0.2040531486272812,
0.15166546404361725,
-0.6122169494628906,
0.11438125371932983,
-0.27034029364585876,
0.0032646115869283676,
-0.828542947769165,
0.0223421398550272,
0.7809950709342957,
-0.06908288598060608,
-0.26790690422058105,
-0.004787411540746689,
0.5384549498558044,
-0.4402562975883484,
-0.06616902351379395,
0.07979755103588104,
0.95487380027771,
-0.19162409007549286,
-0.14366641640663147,
-0.14081618189811707,
-0.09576090425252914,
0.5320931077003479,
-0.21558906137943268,
0.02945082262158394,
-0.2221897840499878,
-0.2367459237575531,
-0.14984682202339172,
0.057240989059209824,
0.02807091549038887,
0.3009433150291443,
0.164535254240036,
0.17777961492538452,
0.2572539448738098,
0.29900142550468445,
-0.16512365639209747,
0.3852066695690155,
-0.06254980713129044,
-0.5423590540885925,
-0.3532698154449463,
0.0815218836069107,
-0.3201014995574951,
0.6616986989974976,
0.10880822688341141,
-0.2791655659675598,
-0.2650180459022522,
-0.09765560925006866,
-0.28091949224472046,
-0.23621681332588196,
-0.1978277862071991,
-0.08395688980817795,
0.1982223242521286,
-0.2566072940826416,
0.28729861974716187,
-0.21746739745140076,
0.5471885800361633,
0.01232161931693554,
-0.4314996302127838,
0.2217627316713333,
-0.157139390707016,
0.1303102821111679,
0.011238683946430683,
-0.32663410902023315,
0.13319586217403412,
0.035910606384277344,
-0.08851118385791779,
-0.12455873936414719,
0.1712360680103302,
-0.22266966104507446,
-0.3260185718536377,
-0.0587458461523056,
-0.012087531387805939,
0.050359342247247696,
0.10163447260856628,
-0.12676924467086792,
-0.07377445697784424,
-0.08260044455528259,
0.05527246370911598,
0.13901138305664062,
-0.0450282096862793,
0.020197946578264236,
0.17543326318264008,
-0.050194304436445236,
-0.21869951486587524,
0.18940213322639465,
-0.009224195033311844,
-0.1284133940935135,
0.03382537513971329,
-0.05295683443546295,
-0.17167823016643524,
-0.12413277477025986,
-0.06842540204524994,
0.4635797441005707,
-0.4607744812965393,
-0.045212749391794205,
0.22595332562923431,
-0.11068876832723618,
0.201213538646698,
0.054855965077877045,
0.09619803726673126,
-0.2917410731315613,
-0.09841582924127579,
-0.19566522538661957,
-0.026025567203760147,
0.2706507444381714,
-0.31106382608413696,
0.18805603682994843,
-0.17740345001220703,
0.05409498140215874,
-0.008305283263325691,
0.1954435110092163,
-0.26444458961486816,
-0.04260063171386719,
-0.21679791808128357,
0.12748995423316956,
-0.09908682107925415,
0.15473249554634094,
0.28204649686813354,
-0.06942518800497055,
-0.02403925359249115,
-0.012268181890249252,
-0.11931082606315613,
-0.0602075420320034,
-0.32960617542266846,
0.18545420467853546,
0.05435413122177124,
-0.025051703676581383,
0.017496977001428604,
0.28189611434936523,
0.09645982086658478,
-0.34731340408325195,
0.3435482680797577,
0.49230533838272095,
0.19517065584659576,
-0.09070426970720291,
0.1335338056087494,
-0.27645277976989746,
-0.0269117783755064,
0.11982135474681854,
0.40370258688926697,
0.26750925183296204,
0.22849959135055542,
-0.08841367065906525,
-0.2107688933610916,
-0.06188461557030678,
-0.003178494516760111,
0.25214409828186035,
0.058751314878463745,
-0.1357872486114502,
0.09171150624752045,
0.21811354160308838,
-0.1252293884754181,
0.686281144618988,
0.2321588695049286,
-0.2876969873905182,
-0.12565207481384277,
0.037774473428726196,
0.09884661436080933,
0.14487217366695404,
-0.19968533515930176,
-0.29336246848106384,
0.14535903930664062,
-0.33194902539253235,
0.09620891511440277,
0.44322696328163147,
0.561668872833252,
0.3827252686023712,
-0.08083896338939667,
-0.2080785632133484,
0.43305808305740356,
0.04071388766169548,
0.3023642897605896,
0.35417014360427856,
0.16073936223983765,
-0.061012472957372665,
0.2649027109146118,
0.05117817223072052,
0.2749195098876953,
0.2905087471008301,
-0.3332831561565399,
0.4239794909954071,
-0.061430126428604126,
0.020917177200317383,
0.41927099227905273,
-0.182625874876976,
-0.04482323303818703,
-0.11337321996688843,
-0.10445459187030792,
0.06500312685966492,
-0.2880861461162567,
0.0385933518409729,
-0.09077082574367523,
0.06300145387649536,
-0.20778155326843262,
0.07470850646495819,
0.07575267553329468,
0.08680249750614166,
0.43213698267936707,
-0.30572161078453064,
-0.16371197998523712,
0.05113627389073372,
-0.15393586456775665,
-0.7015413045883179,
0.1578664779663086,
-0.00797269493341446,
0.27788713574409485,
-0.21240931749343872,
-0.1158817782998085,
0.1670997142791748,
0.4064881503582001,
-0.10196735709905624,
-0.1318383514881134,
0.13945555686950684,
-0.2682114541530609,
0.22575964033603668,
0.13138733804225922,
-0.009082961827516556,
-0.07961912453174591,
-0.03593580424785614,
0.25475451350212097,
-0.29714706540107727,
-0.0031986739486455917,
0.013826999813318253,
0.12249254435300827,
-0.033422648906707764,
-0.17132748663425446,
-0.02206786908209324,
0.03858356922864914,
-0.02697751484811306,
-0.059548210352659225,
0.0804111585021019,
-0.008181199431419373,
-0.22673232853412628,
0.03948010504245758,
-0.04298058897256851,
0.1847405731678009,
-0.1453029215335846,
0.001979261636734009,
-0.15558917820453644,
-0.270487904548645,
0.4388320744037628,
-0.008119137957692146,
0.1772269308567047,
-0.041873909533023834,
0.0504855215549469,
-0.047564547508955,
0.3511812090873718,
-0.024508532136678696,
0.09472787380218506,
-0.22241519391536713,
-0.02090572565793991,
-0.289558082818985,
-0.11654449254274368,
0.16085109114646912,
-0.16528423130512238,
0.001827901229262352,
-0.36776092648506165,
0.11361557245254517,
0.20146843791007996,
-0.3850228190422058,
-0.05756795033812523,
0.4485529661178589,
0.028552459552884102,
-0.3556879162788391,
0.21086467802524567,
0.04518897086381912,
0.0381157323718071,
0.18950939178466797,
-0.0685773566365242,
0.25481387972831726,
0.11061844229698181,
-0.13401484489440918,
-0.16544194519519806,
0.34440627694129944,
0.12407013773918152,
0.01679370552301407,
0.22792242467403412,
-0.06019459664821625,
0.2006007432937622,
0.004029419273138046,
0.0958714410662651,
-0.34716224670410156,
-0.14137494564056396,
-0.2265041470527649,
0.318885862827301,
0.13497304916381836,
0.34795722365379333,
0.05186569690704346,
-0.11863301694393158,
-0.05445106700062752,
0.027873938903212547,
-0.007401652634143829,
0.36391907930374146,
0.07109422236680984,
-0.06033967435359955,
-0.19435164332389832,
0.07585199922323227,
0.1700044870376587,
0.2696356475353241,
0.007499713450670242,
0.09746631234884262,
0.03693094849586487,
-0.6195942163467407,
0.4970833361148834,
-0.32528993487358093,
-0.12865443527698517,
0.07346640527248383,
0.24228107929229736,
0.1590387523174286,
-0.263191282749176,
-0.49043452739715576,
0.05034182220697403,
0.22796693444252014,
0.01492511946707964,
0.030264656990766525,
0.10435116291046143,
0.15840496122837067,
-0.2185346633195877,
-0.0938032865524292,
-0.13811419904232025,
0.1437336802482605,
-0.06262119114398956,
0.05945246294140816,
-0.04967431724071503
] |
https://github.com/huggingface/datasets/issues/4702 | Domain specific dataset discovery on the Hugging Face hub | Thanks @lhoestq for the initiative.
Just one question: are "tags" already supported on the Hub?
I think they aren't. Thus, the Hub should support them so that they are properly displayed. | **Is your feature request related to a problem? Please describe.**
## The problem
The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data).
There are various ways of identifying datasets that may be relevant for a particular use case:
- searching
- various filters
Currently, however, there isn't an easy way to identify datasets belonging to a specific domain. For example, I want to browse machine learning datasets related to 'social science' or 'climate change research'.
The ability to identify datasets relating to a specific domain has come up in discussions around the [BigLA](https://github.com/bigscience-workshop/lam/) datasets hackathon https://github.com/bigscience-workshop/lam/discussions/31#discussioncomment-3123610. As part of the hackathon, we're currently collecting datasets related to Libraries, Archives and Museums and making them available via the hub. We currently do this under a Hugging Face organization (https://huggingface.co/biglam). However, going forward, I can see some of these datasets being migrated to sit under an organization that is the custodian of the dataset (for example, a national library the data was originally from). At this point, it becomes more difficult to quickly identify datasets from this domain without relying on search.
This is also related to some existing issues on Github related to metadata on the hub:
- https://github.com/huggingface/datasets/issues/3625
- https://github.com/huggingface/datasets/issues/3877
**Describe the solution you'd like**
### Some possible solutions that may help with this:
#### Enable domain tags (from a controlled vocabulary)
- This would add metadata field to the YAML for the domain a dataset relates to
- Advantages:
- the list is controlled, allowing it to be more easily integrated into the datasets tag app (https://huggingface.co/space/huggingface/datasets-tagging)
- the controlled vocabulary could align with an existing controlled vocabulary
- this additional metadata can be used to perform filtering by domain
- disadvantages
- choosing the best controlled vocab may be difficult
- there are many datasets that are likely to fit into the 'machine learning' domain (i.e. there is a long tail of datasets that aren't in more 'generic' machine learning domain
#### Enable topic tags (user-generated)
Enable 'free form' topic tags for datasets and models. This would be closer to GitHub's repository topics which can be chosen from a controlled list (https://github.com/topics/) but can also be more user/org specific. This could potentially be useful for organizations to also manage their own models and datasets as the number they hold in their org grows. For example, they may create 'topic tags' for a specific project, so it's clearer which datasets /models are related to that project.
#### Collections
This solution would likely be the biggest shift and may require significant changes in the hub fronted. Collections could work in several different ways but would include:
Users can curate particular datasets, models, spaces, etc., into a collection. For example, they may create a collection of 'historic newspapers suitable for training language models'. These collections would not be mutually exclusive, i.e. a dataset can belong to zero, one or many collections. Collections can also potentially be nested under other collections.
This is fairly common on other data reposotiores for example the following collections:
<img width="293" alt="Screenshot 2022-07-18 at 11 50 44" src="https://user-images.githubusercontent.com/8995957/179496445-963ed122-5e26-4574-96e8-41081bce3e2b.png">
all belong under a higher level collection (https://bl.iro.bl.uk/collections/353c908d-b495-4413-b047-87236d2573e3?locale=en).
There are different models one could use for how these collections could be created:
- only within an org
- for any dataset/model
- the owner or a dataset/model has to agree to be added to a collection
- a collection owner can have people suggest additions to their collection
- other models....
These collections could be thematic, related to particular training approaches, curate models with particular inference properties etc. Whilst some of these features may duplicate current/or future tag filters on the hub, they offer the advantage of being flexible and not having to predict what users will want to do upfront.
There is also potential for automating the creation of these collections based on existing metadata. For example, one could collect models trained on a collection of datasets so for example, if we had a collection of 'historic newspapers suitable for training language models' that contained 30 datasets, we could create another collection 'historic newspaper language models' that takes any model on the hub whose metadata says it used one or more of those 30 datasets.
There is also the option of exploring ML approaches to suggest models/datasets may be relevant to a particular collection.
This approach is likely to be quite difficult to implement well and would require significant thought. There is also likely to be a benefit in doing quite a bit of upfront work in curating useful collections to demonstrate the benefits of collections.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
It is possible to collate this information externally, i.e. one could link back to the relevant models/datasets from an external platform.
**Additional context**
Add any other context about the feature request here.
I'm cc'ing others involved in the BigLAM hackathon who may also have thoughts @cakiki @clancyoftheoverflow @albertvillanova | 31 | Domain specific dataset discovery on the Hugging Face hub
**Is your feature request related to a problem? Please describe.**
## The problem
The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data).
There are various ways of identifying datasets that may be relevant for a particular use case:
- searching
- various filters
Currently, however, there isn't an easy way to identify datasets belonging to a specific domain. For example, I want to browse machine learning datasets related to 'social science' or 'climate change research'.
The ability to identify datasets relating to a specific domain has come up in discussions around the [BigLA](https://github.com/bigscience-workshop/lam/) datasets hackathon https://github.com/bigscience-workshop/lam/discussions/31#discussioncomment-3123610. As part of the hackathon, we're currently collecting datasets related to Libraries, Archives and Museums and making them available via the hub. We currently do this under a Hugging Face organization (https://huggingface.co/biglam). However, going forward, I can see some of these datasets being migrated to sit under an organization that is the custodian of the dataset (for example, a national library the data was originally from). At this point, it becomes more difficult to quickly identify datasets from this domain without relying on search.
This is also related to some existing issues on Github related to metadata on the hub:
- https://github.com/huggingface/datasets/issues/3625
- https://github.com/huggingface/datasets/issues/3877
**Describe the solution you'd like**
### Some possible solutions that may help with this:
#### Enable domain tags (from a controlled vocabulary)
- This would add metadata field to the YAML for the domain a dataset relates to
- Advantages:
- the list is controlled, allowing it to be more easily integrated into the datasets tag app (https://huggingface.co/space/huggingface/datasets-tagging)
- the controlled vocabulary could align with an existing controlled vocabulary
- this additional metadata can be used to perform filtering by domain
- disadvantages
- choosing the best controlled vocab may be difficult
- there are many datasets that are likely to fit into the 'machine learning' domain (i.e. there is a long tail of datasets that aren't in more 'generic' machine learning domain
#### Enable topic tags (user-generated)
Enable 'free form' topic tags for datasets and models. This would be closer to GitHub's repository topics which can be chosen from a controlled list (https://github.com/topics/) but can also be more user/org specific. This could potentially be useful for organizations to also manage their own models and datasets as the number they hold in their org grows. For example, they may create 'topic tags' for a specific project, so it's clearer which datasets /models are related to that project.
#### Collections
This solution would likely be the biggest shift and may require significant changes in the hub fronted. Collections could work in several different ways but would include:
Users can curate particular datasets, models, spaces, etc., into a collection. For example, they may create a collection of 'historic newspapers suitable for training language models'. These collections would not be mutually exclusive, i.e. a dataset can belong to zero, one or many collections. Collections can also potentially be nested under other collections.
This is fairly common on other data reposotiores for example the following collections:
<img width="293" alt="Screenshot 2022-07-18 at 11 50 44" src="https://user-images.githubusercontent.com/8995957/179496445-963ed122-5e26-4574-96e8-41081bce3e2b.png">
all belong under a higher level collection (https://bl.iro.bl.uk/collections/353c908d-b495-4413-b047-87236d2573e3?locale=en).
There are different models one could use for how these collections could be created:
- only within an org
- for any dataset/model
- the owner or a dataset/model has to agree to be added to a collection
- a collection owner can have people suggest additions to their collection
- other models....
These collections could be thematic, related to particular training approaches, curate models with particular inference properties etc. Whilst some of these features may duplicate current/or future tag filters on the hub, they offer the advantage of being flexible and not having to predict what users will want to do upfront.
There is also potential for automating the creation of these collections based on existing metadata. For example, one could collect models trained on a collection of datasets so for example, if we had a collection of 'historic newspapers suitable for training language models' that contained 30 datasets, we could create another collection 'historic newspaper language models' that takes any model on the hub whose metadata says it used one or more of those 30 datasets.
There is also the option of exploring ML approaches to suggest models/datasets may be relevant to a particular collection.
This approach is likely to be quite difficult to implement well and would require significant thought. There is also likely to be a benefit in doing quite a bit of upfront work in curating useful collections to demonstrate the benefits of collections.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
It is possible to collate this information externally, i.e. one could link back to the relevant models/datasets from an external platform.
**Additional context**
Add any other context about the feature request here.
I'm cc'ing others involved in the BigLAM hackathon who may also have thoughts @cakiki @clancyoftheoverflow @albertvillanova
Thanks @lhoestq for the initiative.
Just one question: are "tags" already supported on the Hub?
I think they aren't. Thus, the Hub should support them so that they are properly displayed. | [
0.03188703581690788,
-0.15919062495231628,
-0.030975883826613426,
0.1941971629858017,
0.13424353301525116,
-0.05863244831562042,
0.25349530577659607,
0.2807849049568176,
0.07080627977848053,
0.0454031378030777,
-0.4283638596534729,
-0.08462215960025787,
-0.4897831380367279,
0.5621156096458435,
0.20050299167633057,
-0.004994131624698639,
0.006477683782577515,
-0.3256782293319702,
0.2350308895111084,
-0.05612468346953392,
-0.09555578231811523,
-0.002801351249217987,
0.0769445151090622,
-0.06490969657897949,
-0.6074992418289185,
-0.016321243718266487,
-0.00010155141353607178,
-0.03162532299757004,
-0.07240203768014908,
-0.31515082716941833,
0.4859934449195862,
0.2636100947856903,
0.10374301671981812,
0.1820126324892044,
-0.00011395703768357635,
-0.08193720877170563,
0.1950567662715912,
-0.09835577011108398,
-0.22840549051761627,
-0.046482980251312256,
-0.3069973886013031,
-0.04265180230140686,
0.08432271331548691,
-0.03410476818680763,
-0.4171261489391327,
0.16619694232940674,
-0.03908143192529678,
-0.30258655548095703,
0.025946594774723053,
0.0644272193312645,
0.14856699109077454,
0.22174814343452454,
-0.3138924539089203,
-0.1778530478477478,
-0.10797036439180374,
0.40913814306259155,
-0.22468039393424988,
0.27355659008026123,
0.3900913596153259,
-0.09140212833881378,
-0.2588098347187042,
0.5280653238296509,
-0.019723299890756607,
-0.16471156477928162,
0.2814039885997772,
0.08691441267728806,
-0.10597925633192062,
-0.2551880180835724,
0.02119498699903488,
0.40564343333244324,
0.6322143077850342,
-0.2913108766078949,
-0.4026249647140503,
-0.5651187896728516,
-0.042838580906391144,
0.030729128047823906,
-0.00821889191865921,
0.056638553738594055,
-0.2930941581726074,
0.32403549551963806,
-0.33885830640792847,
-0.26508063077926636,
-0.19724877178668976,
0.14331918954849243,
-0.14425644278526306,
0.30832165479660034,
-0.09563938528299332,
-0.031145520508289337,
-0.00038102641701698303,
-0.10157987475395203,
-0.03587235137820244,
0.10003165900707245,
0.33879971504211426,
0.16330982744693756,
-0.4742288589477539,
-0.3948231041431427,
-0.12109630554914474,
0.4444841146469116,
0.28849563002586365,
0.49614089727401733,
-0.04585859924554825,
0.268538236618042,
-0.2803509533405304,
-0.09494111686944962,
0.33673331141471863,
0.19269271194934845,
0.12125660479068756,
-0.14549072086811066,
0.2766610085964203,
-0.11718379706144333,
0.12256719172000885,
0.18444806337356567,
-0.251274049282074,
0.1966204047203064,
-0.09216666221618652,
0.019737130030989647,
0.3378026485443115,
-0.11072373390197754,
-0.10230488330125809,
-0.014901052229106426,
-0.06459537148475647,
-0.0039743464440107346,
0.2937917411327362,
0.09801165759563446,
0.04419508948922157,
-0.10003528743982315,
-0.3294075131416321,
-0.023018408566713333,
-0.08541402220726013,
0.06199357286095619,
-0.10872049629688263,
0.24645684659481049,
0.043233226984739304,
0.26439303159713745,
0.33141183853149414,
-0.2882443368434906,
0.11919859796762466,
-0.11625168472528458,
0.18167456984519958,
-0.011746734380722046,
-0.1548292338848114,
-0.029070518910884857,
0.13988623023033142,
0.042046088725328445,
-0.4897649884223938,
0.07504396885633469,
0.003353554755449295,
-0.25367340445518494,
-0.3454214334487915,
-0.2471228837966919,
-0.15652430057525635,
-0.4200160503387451,
-0.07372277975082397,
0.054190635681152344,
-0.374687135219574,
0.08810514211654663,
-0.29945263266563416,
0.5411409139633179,
-0.5783674120903015,
0.23793363571166992,
0.11701501160860062,
0.34696757793426514,
-0.22420112788677216,
-0.05192834883928299,
0.15247194468975067,
0.5010554790496826,
0.20715609192848206,
-0.26358234882354736,
0.028654079884290695,
0.09452211856842041,
-0.2388109266757965,
0.09912532567977905,
-0.12677474319934845,
-0.024623386561870575,
-0.17801064252853394,
0.16056126356124878,
-0.1381222903728485,
-0.7480869293212891,
-0.2418721318244934,
-0.12377992272377014,
-0.3060058057308197,
0.22549502551555634,
0.011329084634780884,
0.2893886864185333,
0.06288705766201019,
-0.2489527463912964,
0.03712639957666397,
0.4285990595817566,
-0.19726137816905975,
-0.05000076815485954,
-0.11361157894134521,
-0.11622388660907745,
-0.12541595101356506,
0.31736063957214355,
0.14152854681015015,
-0.07871714979410172,
0.2396247386932373,
0.24151922762393951,
0.0550541914999485,
0.091777503490448,
0.2840215861797333,
0.07832437008619308,
0.4006848931312561,
-0.10513682663440704,
0.050720278173685074,
-0.19556385278701782,
-0.5673906803131104,
0.15935838222503662,
0.3315316438674927,
0.419883131980896,
-0.17816521227359772,
-0.25806403160095215,
-0.25203418731689453,
0.002630714327096939,
-0.2221459001302719,
-0.2519017457962036,
0.05098504573106766,
-0.08622319996356964,
0.3138265609741211,
0.013864327222108841,
-0.24126461148262024,
0.6043831706047058,
0.3184370696544647,
0.1870884895324707,
-0.4891660809516907,
0.2662493884563446,
0.3797731399536133,
0.34592559933662415,
0.050480201840400696,
0.25305864214897156,
0.1993710696697235,
-0.00831882655620575,
0.14322993159294128,
-0.019066862761974335,
-0.04401284083724022,
0.1901509016752243,
0.475234717130661,
0.764721691608429,
0.5026208758354187,
-0.3314965069293976,
0.14000385999679565,
-0.22637659311294556,
0.0542527437210083,
0.1266363561153412,
-0.30831074714660645,
0.322191059589386,
-0.35038724541664124,
0.3090777099132538,
-0.10267437994480133,
0.1395743191242218,
0.1299968659877777,
-0.1503334492444992,
-0.2748202085494995,
-0.3602955937385559,
0.015134468674659729,
-0.016282513737678528,
0.4335099458694458,
0.1064039096236229,
-0.2477627545595169,
0.13039056956768036,
0.1003335565328598,
-0.09763060510158539,
0.24789166450500488,
0.3325381278991699,
-0.38130006194114685,
0.05719200521707535,
0.15706132352352142,
0.17255054414272308,
0.07932380586862564,
0.07454320788383484,
0.18589170277118683,
0.11964640021324158,
0.23441174626350403,
-0.03374490141868591,
-0.0004833787679672241,
0.18682372570037842,
0.08514728397130966,
0.017620090395212173,
0.15178756415843964,
0.11533414572477341,
-0.1585196554660797,
-0.24337762594223022,
-0.09098565578460693,
-0.12043812870979309,
0.027050074189901352,
-0.0737631767988205,
-0.2754071056842804,
-0.17680609226226807,
-0.14332883059978485,
-0.4039272367954254,
-0.5082451105117798,
0.03870701789855957,
0.25078916549682617,
0.006599389016628265,
-0.02067539095878601,
-0.0022343043237924576,
0.016192074865102768,
0.47881078720092773,
-0.3491724729537964,
-0.12082520872354507,
-0.09123341739177704,
-0.18751336634159088,
0.21954208612442017,
0.08223418891429901,
-0.015059594996273518,
0.20792366564273834,
0.48148614168167114,
0.09315875917673111,
0.5605018734931946,
-0.467043936252594,
-0.5391371846199036,
0.16941699385643005,
0.015501262620091438,
0.3729126453399658,
0.13188304007053375,
0.007071636617183685,
-0.11508779972791672,
-0.1019081175327301,
0.19591572880744934,
-0.052293531596660614,
-0.02991136908531189,
-0.26347461342811584,
0.02521827258169651,
0.3313482403755188,
0.10034239292144775,
0.006573230028152466,
-0.5735208988189697,
-0.3349670469760895,
0.2867111265659332,
-0.1901431679725647,
0.2298867255449295,
0.4373263120651245,
-0.5130934715270996,
-0.18902356922626495,
-0.19317935407161713,
-0.17290876805782318,
-0.2038889229297638,
-0.3269670307636261,
0.06780630350112915,
-0.3545684218406677,
0.1713636964559555,
-0.21433189511299133,
-0.2473384588956833,
0.2091255635023117,
0.08546575158834457,
0.04063890129327774,
-0.31484219431877136,
-0.09577923268079758,
0.2384791374206543,
0.1708245426416397,
-0.11681215465068817,
0.32578903436660767,
0.020111577585339546,
0.0020891427993774414,
-0.07396818697452545,
-0.3824058771133423,
0.02401440590620041,
0.2664618194103241,
0.006474673748016357,
0.2208137810230255,
-0.3795364797115326,
0.16649220883846283,
0.2516952157020569,
0.12717853486537933,
0.05315791442990303,
0.33667629957199097,
0.20104536414146423,
0.18461555242538452,
0.06873448938131332,
-0.2310672402381897,
-0.04619966074824333,
0.036964379251003265,
0.03483866527676582,
0.42592698335647583,
0.35503727197647095,
0.27793586254119873,
-0.30102595686912537,
-0.5485736727714539,
-0.2665914297103882,
-0.20867250859737396,
-0.003421155735850334,
0.11536868661642075,
0.17862465977668762,
-0.000118989497423172,
-0.1350068598985672,
-0.20908041298389435,
-0.14544057846069336,
0.1618417650461197,
0.22824357450008392,
0.2043803483247757,
0.021392827853560448,
-0.11346442997455597,
0.12471054494380951,
-0.42331477999687195,
-0.01022619754076004,
0.1212083250284195,
0.012074844911694527,
-0.19484783709049225,
-0.011823965236544609,
-0.009113326668739319,
0.42003828287124634,
0.6715653538703918,
-0.24098928272724152,
-0.04987885802984238,
-0.3507020175457001,
-0.42225533723831177,
-0.0709855780005455,
0.20013169944286346,
0.21165195107460022,
0.02609413117170334,
-0.3063870072364807,
0.648346483707428,
-0.2707225978374481,
-0.23981845378875732,
0.055975355207920074,
-0.0232362262904644,
-0.026370175182819366,
-0.07288435101509094,
0.4177699685096741,
-0.14045608043670654,
-0.22232335805892944,
0.0414026603102684,
0.18740934133529663,
0.14228983223438263,
0.25976571440696716,
-0.13239605724811554,
-0.023794399574398994,
0.15956223011016846,
0.2801404893398285,
0.05202139541506767,
-0.013453524559736252,
0.29604995250701904,
0.3682751953601837,
0.5342804789543152,
0.2393411546945572,
0.16883046925067902,
0.5727491974830627,
0.14486002922058105,
-0.3688116669654846,
-0.1863533854484558,
0.13854704797267914,
0.25980570912361145,
0.5243191123008728,
0.06492730975151062,
0.3626083433628082,
-0.2040531486272812,
0.15166546404361725,
-0.6122169494628906,
0.11438125371932983,
-0.27034029364585876,
0.0032646115869283676,
-0.828542947769165,
0.0223421398550272,
0.7809950709342957,
-0.06908288598060608,
-0.26790690422058105,
-0.004787411540746689,
0.5384549498558044,
-0.4402562975883484,
-0.06616902351379395,
0.07979755103588104,
0.95487380027771,
-0.19162409007549286,
-0.14366641640663147,
-0.14081618189811707,
-0.09576090425252914,
0.5320931077003479,
-0.21558906137943268,
0.02945082262158394,
-0.2221897840499878,
-0.2367459237575531,
-0.14984682202339172,
0.057240989059209824,
0.02807091549038887,
0.3009433150291443,
0.164535254240036,
0.17777961492538452,
0.2572539448738098,
0.29900142550468445,
-0.16512365639209747,
0.3852066695690155,
-0.06254980713129044,
-0.5423590540885925,
-0.3532698154449463,
0.0815218836069107,
-0.3201014995574951,
0.6616986989974976,
0.10880822688341141,
-0.2791655659675598,
-0.2650180459022522,
-0.09765560925006866,
-0.28091949224472046,
-0.23621681332588196,
-0.1978277862071991,
-0.08395688980817795,
0.1982223242521286,
-0.2566072940826416,
0.28729861974716187,
-0.21746739745140076,
0.5471885800361633,
0.01232161931693554,
-0.4314996302127838,
0.2217627316713333,
-0.157139390707016,
0.1303102821111679,
0.011238683946430683,
-0.32663410902023315,
0.13319586217403412,
0.035910606384277344,
-0.08851118385791779,
-0.12455873936414719,
0.1712360680103302,
-0.22266966104507446,
-0.3260185718536377,
-0.0587458461523056,
-0.012087531387805939,
0.050359342247247696,
0.10163447260856628,
-0.12676924467086792,
-0.07377445697784424,
-0.08260044455528259,
0.05527246370911598,
0.13901138305664062,
-0.0450282096862793,
0.020197946578264236,
0.17543326318264008,
-0.050194304436445236,
-0.21869951486587524,
0.18940213322639465,
-0.009224195033311844,
-0.1284133940935135,
0.03382537513971329,
-0.05295683443546295,
-0.17167823016643524,
-0.12413277477025986,
-0.06842540204524994,
0.4635797441005707,
-0.4607744812965393,
-0.045212749391794205,
0.22595332562923431,
-0.11068876832723618,
0.201213538646698,
0.054855965077877045,
0.09619803726673126,
-0.2917410731315613,
-0.09841582924127579,
-0.19566522538661957,
-0.026025567203760147,
0.2706507444381714,
-0.31106382608413696,
0.18805603682994843,
-0.17740345001220703,
0.05409498140215874,
-0.008305283263325691,
0.1954435110092163,
-0.26444458961486816,
-0.04260063171386719,
-0.21679791808128357,
0.12748995423316956,
-0.09908682107925415,
0.15473249554634094,
0.28204649686813354,
-0.06942518800497055,
-0.02403925359249115,
-0.012268181890249252,
-0.11931082606315613,
-0.0602075420320034,
-0.32960617542266846,
0.18545420467853546,
0.05435413122177124,
-0.025051703676581383,
0.017496977001428604,
0.28189611434936523,
0.09645982086658478,
-0.34731340408325195,
0.3435482680797577,
0.49230533838272095,
0.19517065584659576,
-0.09070426970720291,
0.1335338056087494,
-0.27645277976989746,
-0.0269117783755064,
0.11982135474681854,
0.40370258688926697,
0.26750925183296204,
0.22849959135055542,
-0.08841367065906525,
-0.2107688933610916,
-0.06188461557030678,
-0.003178494516760111,
0.25214409828186035,
0.058751314878463745,
-0.1357872486114502,
0.09171150624752045,
0.21811354160308838,
-0.1252293884754181,
0.686281144618988,
0.2321588695049286,
-0.2876969873905182,
-0.12565207481384277,
0.037774473428726196,
0.09884661436080933,
0.14487217366695404,
-0.19968533515930176,
-0.29336246848106384,
0.14535903930664062,
-0.33194902539253235,
0.09620891511440277,
0.44322696328163147,
0.561668872833252,
0.3827252686023712,
-0.08083896338939667,
-0.2080785632133484,
0.43305808305740356,
0.04071388766169548,
0.3023642897605896,
0.35417014360427856,
0.16073936223983765,
-0.061012472957372665,
0.2649027109146118,
0.05117817223072052,
0.2749195098876953,
0.2905087471008301,
-0.3332831561565399,
0.4239794909954071,
-0.061430126428604126,
0.020917177200317383,
0.41927099227905273,
-0.182625874876976,
-0.04482323303818703,
-0.11337321996688843,
-0.10445459187030792,
0.06500312685966492,
-0.2880861461162567,
0.0385933518409729,
-0.09077082574367523,
0.06300145387649536,
-0.20778155326843262,
0.07470850646495819,
0.07575267553329468,
0.08680249750614166,
0.43213698267936707,
-0.30572161078453064,
-0.16371197998523712,
0.05113627389073372,
-0.15393586456775665,
-0.7015413045883179,
0.1578664779663086,
-0.00797269493341446,
0.27788713574409485,
-0.21240931749343872,
-0.1158817782998085,
0.1670997142791748,
0.4064881503582001,
-0.10196735709905624,
-0.1318383514881134,
0.13945555686950684,
-0.2682114541530609,
0.22575964033603668,
0.13138733804225922,
-0.009082961827516556,
-0.07961912453174591,
-0.03593580424785614,
0.25475451350212097,
-0.29714706540107727,
-0.0031986739486455917,
0.013826999813318253,
0.12249254435300827,
-0.033422648906707764,
-0.17132748663425446,
-0.02206786908209324,
0.03858356922864914,
-0.02697751484811306,
-0.059548210352659225,
0.0804111585021019,
-0.008181199431419373,
-0.22673232853412628,
0.03948010504245758,
-0.04298058897256851,
0.1847405731678009,
-0.1453029215335846,
0.001979261636734009,
-0.15558917820453644,
-0.270487904548645,
0.4388320744037628,
-0.008119137957692146,
0.1772269308567047,
-0.041873909533023834,
0.0504855215549469,
-0.047564547508955,
0.3511812090873718,
-0.024508532136678696,
0.09472787380218506,
-0.22241519391536713,
-0.02090572565793991,
-0.289558082818985,
-0.11654449254274368,
0.16085109114646912,
-0.16528423130512238,
0.001827901229262352,
-0.36776092648506165,
0.11361557245254517,
0.20146843791007996,
-0.3850228190422058,
-0.05756795033812523,
0.4485529661178589,
0.028552459552884102,
-0.3556879162788391,
0.21086467802524567,
0.04518897086381912,
0.0381157323718071,
0.18950939178466797,
-0.0685773566365242,
0.25481387972831726,
0.11061844229698181,
-0.13401484489440918,
-0.16544194519519806,
0.34440627694129944,
0.12407013773918152,
0.01679370552301407,
0.22792242467403412,
-0.06019459664821625,
0.2006007432937622,
0.004029419273138046,
0.0958714410662651,
-0.34716224670410156,
-0.14137494564056396,
-0.2265041470527649,
0.318885862827301,
0.13497304916381836,
0.34795722365379333,
0.05186569690704346,
-0.11863301694393158,
-0.05445106700062752,
0.027873938903212547,
-0.007401652634143829,
0.36391907930374146,
0.07109422236680984,
-0.06033967435359955,
-0.19435164332389832,
0.07585199922323227,
0.1700044870376587,
0.2696356475353241,
0.007499713450670242,
0.09746631234884262,
0.03693094849586487,
-0.6195942163467407,
0.4970833361148834,
-0.32528993487358093,
-0.12865443527698517,
0.07346640527248383,
0.24228107929229736,
0.1590387523174286,
-0.263191282749176,
-0.49043452739715576,
0.05034182220697403,
0.22796693444252014,
0.01492511946707964,
0.030264656990766525,
0.10435116291046143,
0.15840496122837067,
-0.2185346633195877,
-0.0938032865524292,
-0.13811419904232025,
0.1437336802482605,
-0.06262119114398956,
0.05945246294140816,
-0.04967431724071503
] |
https://github.com/huggingface/datasets/issues/4702 | Domain specific dataset discovery on the Hugging Face hub | I think they're not displayed, but at least it should enable users to filter by tag in using `huggingface_hub` or using the appropriate query params on the website (not sure if it's possible yet though) | **Is your feature request related to a problem? Please describe.**
## The problem
The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data).
There are various ways of identifying datasets that may be relevant for a particular use case:
- searching
- various filters
Currently, however, there isn't an easy way to identify datasets belonging to a specific domain. For example, I want to browse machine learning datasets related to 'social science' or 'climate change research'.
The ability to identify datasets relating to a specific domain has come up in discussions around the [BigLA](https://github.com/bigscience-workshop/lam/) datasets hackathon https://github.com/bigscience-workshop/lam/discussions/31#discussioncomment-3123610. As part of the hackathon, we're currently collecting datasets related to Libraries, Archives and Museums and making them available via the hub. We currently do this under a Hugging Face organization (https://huggingface.co/biglam). However, going forward, I can see some of these datasets being migrated to sit under an organization that is the custodian of the dataset (for example, a national library the data was originally from). At this point, it becomes more difficult to quickly identify datasets from this domain without relying on search.
This is also related to some existing issues on Github related to metadata on the hub:
- https://github.com/huggingface/datasets/issues/3625
- https://github.com/huggingface/datasets/issues/3877
**Describe the solution you'd like**
### Some possible solutions that may help with this:
#### Enable domain tags (from a controlled vocabulary)
- This would add metadata field to the YAML for the domain a dataset relates to
- Advantages:
- the list is controlled, allowing it to be more easily integrated into the datasets tag app (https://huggingface.co/space/huggingface/datasets-tagging)
- the controlled vocabulary could align with an existing controlled vocabulary
- this additional metadata can be used to perform filtering by domain
- disadvantages
- choosing the best controlled vocab may be difficult
- there are many datasets that are likely to fit into the 'machine learning' domain (i.e. there is a long tail of datasets that aren't in more 'generic' machine learning domain
#### Enable topic tags (user-generated)
Enable 'free form' topic tags for datasets and models. This would be closer to GitHub's repository topics which can be chosen from a controlled list (https://github.com/topics/) but can also be more user/org specific. This could potentially be useful for organizations to also manage their own models and datasets as the number they hold in their org grows. For example, they may create 'topic tags' for a specific project, so it's clearer which datasets /models are related to that project.
#### Collections
This solution would likely be the biggest shift and may require significant changes in the hub fronted. Collections could work in several different ways but would include:
Users can curate particular datasets, models, spaces, etc., into a collection. For example, they may create a collection of 'historic newspapers suitable for training language models'. These collections would not be mutually exclusive, i.e. a dataset can belong to zero, one or many collections. Collections can also potentially be nested under other collections.
This is fairly common on other data reposotiores for example the following collections:
<img width="293" alt="Screenshot 2022-07-18 at 11 50 44" src="https://user-images.githubusercontent.com/8995957/179496445-963ed122-5e26-4574-96e8-41081bce3e2b.png">
all belong under a higher level collection (https://bl.iro.bl.uk/collections/353c908d-b495-4413-b047-87236d2573e3?locale=en).
There are different models one could use for how these collections could be created:
- only within an org
- for any dataset/model
- the owner or a dataset/model has to agree to be added to a collection
- a collection owner can have people suggest additions to their collection
- other models....
These collections could be thematic, related to particular training approaches, curate models with particular inference properties etc. Whilst some of these features may duplicate current/or future tag filters on the hub, they offer the advantage of being flexible and not having to predict what users will want to do upfront.
There is also potential for automating the creation of these collections based on existing metadata. For example, one could collect models trained on a collection of datasets so for example, if we had a collection of 'historic newspapers suitable for training language models' that contained 30 datasets, we could create another collection 'historic newspaper language models' that takes any model on the hub whose metadata says it used one or more of those 30 datasets.
There is also the option of exploring ML approaches to suggest models/datasets may be relevant to a particular collection.
This approach is likely to be quite difficult to implement well and would require significant thought. There is also likely to be a benefit in doing quite a bit of upfront work in curating useful collections to demonstrate the benefits of collections.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
It is possible to collate this information externally, i.e. one could link back to the relevant models/datasets from an external platform.
**Additional context**
Add any other context about the feature request here.
I'm cc'ing others involved in the BigLAM hackathon who may also have thoughts @cakiki @clancyoftheoverflow @albertvillanova | 35 | Domain specific dataset discovery on the Hugging Face hub
**Is your feature request related to a problem? Please describe.**
## The problem
The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data).
There are various ways of identifying datasets that may be relevant for a particular use case:
- searching
- various filters
Currently, however, there isn't an easy way to identify datasets belonging to a specific domain. For example, I want to browse machine learning datasets related to 'social science' or 'climate change research'.
The ability to identify datasets relating to a specific domain has come up in discussions around the [BigLA](https://github.com/bigscience-workshop/lam/) datasets hackathon https://github.com/bigscience-workshop/lam/discussions/31#discussioncomment-3123610. As part of the hackathon, we're currently collecting datasets related to Libraries, Archives and Museums and making them available via the hub. We currently do this under a Hugging Face organization (https://huggingface.co/biglam). However, going forward, I can see some of these datasets being migrated to sit under an organization that is the custodian of the dataset (for example, a national library the data was originally from). At this point, it becomes more difficult to quickly identify datasets from this domain without relying on search.
This is also related to some existing issues on Github related to metadata on the hub:
- https://github.com/huggingface/datasets/issues/3625
- https://github.com/huggingface/datasets/issues/3877
**Describe the solution you'd like**
### Some possible solutions that may help with this:
#### Enable domain tags (from a controlled vocabulary)
- This would add metadata field to the YAML for the domain a dataset relates to
- Advantages:
- the list is controlled, allowing it to be more easily integrated into the datasets tag app (https://huggingface.co/space/huggingface/datasets-tagging)
- the controlled vocabulary could align with an existing controlled vocabulary
- this additional metadata can be used to perform filtering by domain
- disadvantages
- choosing the best controlled vocab may be difficult
- there are many datasets that are likely to fit into the 'machine learning' domain (i.e. there is a long tail of datasets that aren't in more 'generic' machine learning domain
#### Enable topic tags (user-generated)
Enable 'free form' topic tags for datasets and models. This would be closer to GitHub's repository topics which can be chosen from a controlled list (https://github.com/topics/) but can also be more user/org specific. This could potentially be useful for organizations to also manage their own models and datasets as the number they hold in their org grows. For example, they may create 'topic tags' for a specific project, so it's clearer which datasets /models are related to that project.
#### Collections
This solution would likely be the biggest shift and may require significant changes in the hub fronted. Collections could work in several different ways but would include:
Users can curate particular datasets, models, spaces, etc., into a collection. For example, they may create a collection of 'historic newspapers suitable for training language models'. These collections would not be mutually exclusive, i.e. a dataset can belong to zero, one or many collections. Collections can also potentially be nested under other collections.
This is fairly common on other data reposotiores for example the following collections:
<img width="293" alt="Screenshot 2022-07-18 at 11 50 44" src="https://user-images.githubusercontent.com/8995957/179496445-963ed122-5e26-4574-96e8-41081bce3e2b.png">
all belong under a higher level collection (https://bl.iro.bl.uk/collections/353c908d-b495-4413-b047-87236d2573e3?locale=en).
There are different models one could use for how these collections could be created:
- only within an org
- for any dataset/model
- the owner or a dataset/model has to agree to be added to a collection
- a collection owner can have people suggest additions to their collection
- other models....
These collections could be thematic, related to particular training approaches, curate models with particular inference properties etc. Whilst some of these features may duplicate current/or future tag filters on the hub, they offer the advantage of being flexible and not having to predict what users will want to do upfront.
There is also potential for automating the creation of these collections based on existing metadata. For example, one could collect models trained on a collection of datasets so for example, if we had a collection of 'historic newspapers suitable for training language models' that contained 30 datasets, we could create another collection 'historic newspaper language models' that takes any model on the hub whose metadata says it used one or more of those 30 datasets.
There is also the option of exploring ML approaches to suggest models/datasets may be relevant to a particular collection.
This approach is likely to be quite difficult to implement well and would require significant thought. There is also likely to be a benefit in doing quite a bit of upfront work in curating useful collections to demonstrate the benefits of collections.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
It is possible to collate this information externally, i.e. one could link back to the relevant models/datasets from an external platform.
**Additional context**
Add any other context about the feature request here.
I'm cc'ing others involved in the BigLAM hackathon who may also have thoughts @cakiki @clancyoftheoverflow @albertvillanova
I think they're not displayed, but at least it should enable users to filter by tag in using `huggingface_hub` or using the appropriate query params on the website (not sure if it's possible yet though) | [
0.03188703581690788,
-0.15919062495231628,
-0.030975883826613426,
0.1941971629858017,
0.13424353301525116,
-0.05863244831562042,
0.25349530577659607,
0.2807849049568176,
0.07080627977848053,
0.0454031378030777,
-0.4283638596534729,
-0.08462215960025787,
-0.4897831380367279,
0.5621156096458435,
0.20050299167633057,
-0.004994131624698639,
0.006477683782577515,
-0.3256782293319702,
0.2350308895111084,
-0.05612468346953392,
-0.09555578231811523,
-0.002801351249217987,
0.0769445151090622,
-0.06490969657897949,
-0.6074992418289185,
-0.016321243718266487,
-0.00010155141353607178,
-0.03162532299757004,
-0.07240203768014908,
-0.31515082716941833,
0.4859934449195862,
0.2636100947856903,
0.10374301671981812,
0.1820126324892044,
-0.00011395703768357635,
-0.08193720877170563,
0.1950567662715912,
-0.09835577011108398,
-0.22840549051761627,
-0.046482980251312256,
-0.3069973886013031,
-0.04265180230140686,
0.08432271331548691,
-0.03410476818680763,
-0.4171261489391327,
0.16619694232940674,
-0.03908143192529678,
-0.30258655548095703,
0.025946594774723053,
0.0644272193312645,
0.14856699109077454,
0.22174814343452454,
-0.3138924539089203,
-0.1778530478477478,
-0.10797036439180374,
0.40913814306259155,
-0.22468039393424988,
0.27355659008026123,
0.3900913596153259,
-0.09140212833881378,
-0.2588098347187042,
0.5280653238296509,
-0.019723299890756607,
-0.16471156477928162,
0.2814039885997772,
0.08691441267728806,
-0.10597925633192062,
-0.2551880180835724,
0.02119498699903488,
0.40564343333244324,
0.6322143077850342,
-0.2913108766078949,
-0.4026249647140503,
-0.5651187896728516,
-0.042838580906391144,
0.030729128047823906,
-0.00821889191865921,
0.056638553738594055,
-0.2930941581726074,
0.32403549551963806,
-0.33885830640792847,
-0.26508063077926636,
-0.19724877178668976,
0.14331918954849243,
-0.14425644278526306,
0.30832165479660034,
-0.09563938528299332,
-0.031145520508289337,
-0.00038102641701698303,
-0.10157987475395203,
-0.03587235137820244,
0.10003165900707245,
0.33879971504211426,
0.16330982744693756,
-0.4742288589477539,
-0.3948231041431427,
-0.12109630554914474,
0.4444841146469116,
0.28849563002586365,
0.49614089727401733,
-0.04585859924554825,
0.268538236618042,
-0.2803509533405304,
-0.09494111686944962,
0.33673331141471863,
0.19269271194934845,
0.12125660479068756,
-0.14549072086811066,
0.2766610085964203,
-0.11718379706144333,
0.12256719172000885,
0.18444806337356567,
-0.251274049282074,
0.1966204047203064,
-0.09216666221618652,
0.019737130030989647,
0.3378026485443115,
-0.11072373390197754,
-0.10230488330125809,
-0.014901052229106426,
-0.06459537148475647,
-0.0039743464440107346,
0.2937917411327362,
0.09801165759563446,
0.04419508948922157,
-0.10003528743982315,
-0.3294075131416321,
-0.023018408566713333,
-0.08541402220726013,
0.06199357286095619,
-0.10872049629688263,
0.24645684659481049,
0.043233226984739304,
0.26439303159713745,
0.33141183853149414,
-0.2882443368434906,
0.11919859796762466,
-0.11625168472528458,
0.18167456984519958,
-0.011746734380722046,
-0.1548292338848114,
-0.029070518910884857,
0.13988623023033142,
0.042046088725328445,
-0.4897649884223938,
0.07504396885633469,
0.003353554755449295,
-0.25367340445518494,
-0.3454214334487915,
-0.2471228837966919,
-0.15652430057525635,
-0.4200160503387451,
-0.07372277975082397,
0.054190635681152344,
-0.374687135219574,
0.08810514211654663,
-0.29945263266563416,
0.5411409139633179,
-0.5783674120903015,
0.23793363571166992,
0.11701501160860062,
0.34696757793426514,
-0.22420112788677216,
-0.05192834883928299,
0.15247194468975067,
0.5010554790496826,
0.20715609192848206,
-0.26358234882354736,
0.028654079884290695,
0.09452211856842041,
-0.2388109266757965,
0.09912532567977905,
-0.12677474319934845,
-0.024623386561870575,
-0.17801064252853394,
0.16056126356124878,
-0.1381222903728485,
-0.7480869293212891,
-0.2418721318244934,
-0.12377992272377014,
-0.3060058057308197,
0.22549502551555634,
0.011329084634780884,
0.2893886864185333,
0.06288705766201019,
-0.2489527463912964,
0.03712639957666397,
0.4285990595817566,
-0.19726137816905975,
-0.05000076815485954,
-0.11361157894134521,
-0.11622388660907745,
-0.12541595101356506,
0.31736063957214355,
0.14152854681015015,
-0.07871714979410172,
0.2396247386932373,
0.24151922762393951,
0.0550541914999485,
0.091777503490448,
0.2840215861797333,
0.07832437008619308,
0.4006848931312561,
-0.10513682663440704,
0.050720278173685074,
-0.19556385278701782,
-0.5673906803131104,
0.15935838222503662,
0.3315316438674927,
0.419883131980896,
-0.17816521227359772,
-0.25806403160095215,
-0.25203418731689453,
0.002630714327096939,
-0.2221459001302719,
-0.2519017457962036,
0.05098504573106766,
-0.08622319996356964,
0.3138265609741211,
0.013864327222108841,
-0.24126461148262024,
0.6043831706047058,
0.3184370696544647,
0.1870884895324707,
-0.4891660809516907,
0.2662493884563446,
0.3797731399536133,
0.34592559933662415,
0.050480201840400696,
0.25305864214897156,
0.1993710696697235,
-0.00831882655620575,
0.14322993159294128,
-0.019066862761974335,
-0.04401284083724022,
0.1901509016752243,
0.475234717130661,
0.764721691608429,
0.5026208758354187,
-0.3314965069293976,
0.14000385999679565,
-0.22637659311294556,
0.0542527437210083,
0.1266363561153412,
-0.30831074714660645,
0.322191059589386,
-0.35038724541664124,
0.3090777099132538,
-0.10267437994480133,
0.1395743191242218,
0.1299968659877777,
-0.1503334492444992,
-0.2748202085494995,
-0.3602955937385559,
0.015134468674659729,
-0.016282513737678528,
0.4335099458694458,
0.1064039096236229,
-0.2477627545595169,
0.13039056956768036,
0.1003335565328598,
-0.09763060510158539,
0.24789166450500488,
0.3325381278991699,
-0.38130006194114685,
0.05719200521707535,
0.15706132352352142,
0.17255054414272308,
0.07932380586862564,
0.07454320788383484,
0.18589170277118683,
0.11964640021324158,
0.23441174626350403,
-0.03374490141868591,
-0.0004833787679672241,
0.18682372570037842,
0.08514728397130966,
0.017620090395212173,
0.15178756415843964,
0.11533414572477341,
-0.1585196554660797,
-0.24337762594223022,
-0.09098565578460693,
-0.12043812870979309,
0.027050074189901352,
-0.0737631767988205,
-0.2754071056842804,
-0.17680609226226807,
-0.14332883059978485,
-0.4039272367954254,
-0.5082451105117798,
0.03870701789855957,
0.25078916549682617,
0.006599389016628265,
-0.02067539095878601,
-0.0022343043237924576,
0.016192074865102768,
0.47881078720092773,
-0.3491724729537964,
-0.12082520872354507,
-0.09123341739177704,
-0.18751336634159088,
0.21954208612442017,
0.08223418891429901,
-0.015059594996273518,
0.20792366564273834,
0.48148614168167114,
0.09315875917673111,
0.5605018734931946,
-0.467043936252594,
-0.5391371846199036,
0.16941699385643005,
0.015501262620091438,
0.3729126453399658,
0.13188304007053375,
0.007071636617183685,
-0.11508779972791672,
-0.1019081175327301,
0.19591572880744934,
-0.052293531596660614,
-0.02991136908531189,
-0.26347461342811584,
0.02521827258169651,
0.3313482403755188,
0.10034239292144775,
0.006573230028152466,
-0.5735208988189697,
-0.3349670469760895,
0.2867111265659332,
-0.1901431679725647,
0.2298867255449295,
0.4373263120651245,
-0.5130934715270996,
-0.18902356922626495,
-0.19317935407161713,
-0.17290876805782318,
-0.2038889229297638,
-0.3269670307636261,
0.06780630350112915,
-0.3545684218406677,
0.1713636964559555,
-0.21433189511299133,
-0.2473384588956833,
0.2091255635023117,
0.08546575158834457,
0.04063890129327774,
-0.31484219431877136,
-0.09577923268079758,
0.2384791374206543,
0.1708245426416397,
-0.11681215465068817,
0.32578903436660767,
0.020111577585339546,
0.0020891427993774414,
-0.07396818697452545,
-0.3824058771133423,
0.02401440590620041,
0.2664618194103241,
0.006474673748016357,
0.2208137810230255,
-0.3795364797115326,
0.16649220883846283,
0.2516952157020569,
0.12717853486537933,
0.05315791442990303,
0.33667629957199097,
0.20104536414146423,
0.18461555242538452,
0.06873448938131332,
-0.2310672402381897,
-0.04619966074824333,
0.036964379251003265,
0.03483866527676582,
0.42592698335647583,
0.35503727197647095,
0.27793586254119873,
-0.30102595686912537,
-0.5485736727714539,
-0.2665914297103882,
-0.20867250859737396,
-0.003421155735850334,
0.11536868661642075,
0.17862465977668762,
-0.000118989497423172,
-0.1350068598985672,
-0.20908041298389435,
-0.14544057846069336,
0.1618417650461197,
0.22824357450008392,
0.2043803483247757,
0.021392827853560448,
-0.11346442997455597,
0.12471054494380951,
-0.42331477999687195,
-0.01022619754076004,
0.1212083250284195,
0.012074844911694527,
-0.19484783709049225,
-0.011823965236544609,
-0.009113326668739319,
0.42003828287124634,
0.6715653538703918,
-0.24098928272724152,
-0.04987885802984238,
-0.3507020175457001,
-0.42225533723831177,
-0.0709855780005455,
0.20013169944286346,
0.21165195107460022,
0.02609413117170334,
-0.3063870072364807,
0.648346483707428,
-0.2707225978374481,
-0.23981845378875732,
0.055975355207920074,
-0.0232362262904644,
-0.026370175182819366,
-0.07288435101509094,
0.4177699685096741,
-0.14045608043670654,
-0.22232335805892944,
0.0414026603102684,
0.18740934133529663,
0.14228983223438263,
0.25976571440696716,
-0.13239605724811554,
-0.023794399574398994,
0.15956223011016846,
0.2801404893398285,
0.05202139541506767,
-0.013453524559736252,
0.29604995250701904,
0.3682751953601837,
0.5342804789543152,
0.2393411546945572,
0.16883046925067902,
0.5727491974830627,
0.14486002922058105,
-0.3688116669654846,
-0.1863533854484558,
0.13854704797267914,
0.25980570912361145,
0.5243191123008728,
0.06492730975151062,
0.3626083433628082,
-0.2040531486272812,
0.15166546404361725,
-0.6122169494628906,
0.11438125371932983,
-0.27034029364585876,
0.0032646115869283676,
-0.828542947769165,
0.0223421398550272,
0.7809950709342957,
-0.06908288598060608,
-0.26790690422058105,
-0.004787411540746689,
0.5384549498558044,
-0.4402562975883484,
-0.06616902351379395,
0.07979755103588104,
0.95487380027771,
-0.19162409007549286,
-0.14366641640663147,
-0.14081618189811707,
-0.09576090425252914,
0.5320931077003479,
-0.21558906137943268,
0.02945082262158394,
-0.2221897840499878,
-0.2367459237575531,
-0.14984682202339172,
0.057240989059209824,
0.02807091549038887,
0.3009433150291443,
0.164535254240036,
0.17777961492538452,
0.2572539448738098,
0.29900142550468445,
-0.16512365639209747,
0.3852066695690155,
-0.06254980713129044,
-0.5423590540885925,
-0.3532698154449463,
0.0815218836069107,
-0.3201014995574951,
0.6616986989974976,
0.10880822688341141,
-0.2791655659675598,
-0.2650180459022522,
-0.09765560925006866,
-0.28091949224472046,
-0.23621681332588196,
-0.1978277862071991,
-0.08395688980817795,
0.1982223242521286,
-0.2566072940826416,
0.28729861974716187,
-0.21746739745140076,
0.5471885800361633,
0.01232161931693554,
-0.4314996302127838,
0.2217627316713333,
-0.157139390707016,
0.1303102821111679,
0.011238683946430683,
-0.32663410902023315,
0.13319586217403412,
0.035910606384277344,
-0.08851118385791779,
-0.12455873936414719,
0.1712360680103302,
-0.22266966104507446,
-0.3260185718536377,
-0.0587458461523056,
-0.012087531387805939,
0.050359342247247696,
0.10163447260856628,
-0.12676924467086792,
-0.07377445697784424,
-0.08260044455528259,
0.05527246370911598,
0.13901138305664062,
-0.0450282096862793,
0.020197946578264236,
0.17543326318264008,
-0.050194304436445236,
-0.21869951486587524,
0.18940213322639465,
-0.009224195033311844,
-0.1284133940935135,
0.03382537513971329,
-0.05295683443546295,
-0.17167823016643524,
-0.12413277477025986,
-0.06842540204524994,
0.4635797441005707,
-0.4607744812965393,
-0.045212749391794205,
0.22595332562923431,
-0.11068876832723618,
0.201213538646698,
0.054855965077877045,
0.09619803726673126,
-0.2917410731315613,
-0.09841582924127579,
-0.19566522538661957,
-0.026025567203760147,
0.2706507444381714,
-0.31106382608413696,
0.18805603682994843,
-0.17740345001220703,
0.05409498140215874,
-0.008305283263325691,
0.1954435110092163,
-0.26444458961486816,
-0.04260063171386719,
-0.21679791808128357,
0.12748995423316956,
-0.09908682107925415,
0.15473249554634094,
0.28204649686813354,
-0.06942518800497055,
-0.02403925359249115,
-0.012268181890249252,
-0.11931082606315613,
-0.0602075420320034,
-0.32960617542266846,
0.18545420467853546,
0.05435413122177124,
-0.025051703676581383,
0.017496977001428604,
0.28189611434936523,
0.09645982086658478,
-0.34731340408325195,
0.3435482680797577,
0.49230533838272095,
0.19517065584659576,
-0.09070426970720291,
0.1335338056087494,
-0.27645277976989746,
-0.0269117783755064,
0.11982135474681854,
0.40370258688926697,
0.26750925183296204,
0.22849959135055542,
-0.08841367065906525,
-0.2107688933610916,
-0.06188461557030678,
-0.003178494516760111,
0.25214409828186035,
0.058751314878463745,
-0.1357872486114502,
0.09171150624752045,
0.21811354160308838,
-0.1252293884754181,
0.686281144618988,
0.2321588695049286,
-0.2876969873905182,
-0.12565207481384277,
0.037774473428726196,
0.09884661436080933,
0.14487217366695404,
-0.19968533515930176,
-0.29336246848106384,
0.14535903930664062,
-0.33194902539253235,
0.09620891511440277,
0.44322696328163147,
0.561668872833252,
0.3827252686023712,
-0.08083896338939667,
-0.2080785632133484,
0.43305808305740356,
0.04071388766169548,
0.3023642897605896,
0.35417014360427856,
0.16073936223983765,
-0.061012472957372665,
0.2649027109146118,
0.05117817223072052,
0.2749195098876953,
0.2905087471008301,
-0.3332831561565399,
0.4239794909954071,
-0.061430126428604126,
0.020917177200317383,
0.41927099227905273,
-0.182625874876976,
-0.04482323303818703,
-0.11337321996688843,
-0.10445459187030792,
0.06500312685966492,
-0.2880861461162567,
0.0385933518409729,
-0.09077082574367523,
0.06300145387649536,
-0.20778155326843262,
0.07470850646495819,
0.07575267553329468,
0.08680249750614166,
0.43213698267936707,
-0.30572161078453064,
-0.16371197998523712,
0.05113627389073372,
-0.15393586456775665,
-0.7015413045883179,
0.1578664779663086,
-0.00797269493341446,
0.27788713574409485,
-0.21240931749343872,
-0.1158817782998085,
0.1670997142791748,
0.4064881503582001,
-0.10196735709905624,
-0.1318383514881134,
0.13945555686950684,
-0.2682114541530609,
0.22575964033603668,
0.13138733804225922,
-0.009082961827516556,
-0.07961912453174591,
-0.03593580424785614,
0.25475451350212097,
-0.29714706540107727,
-0.0031986739486455917,
0.013826999813318253,
0.12249254435300827,
-0.033422648906707764,
-0.17132748663425446,
-0.02206786908209324,
0.03858356922864914,
-0.02697751484811306,
-0.059548210352659225,
0.0804111585021019,
-0.008181199431419373,
-0.22673232853412628,
0.03948010504245758,
-0.04298058897256851,
0.1847405731678009,
-0.1453029215335846,
0.001979261636734009,
-0.15558917820453644,
-0.270487904548645,
0.4388320744037628,
-0.008119137957692146,
0.1772269308567047,
-0.041873909533023834,
0.0504855215549469,
-0.047564547508955,
0.3511812090873718,
-0.024508532136678696,
0.09472787380218506,
-0.22241519391536713,
-0.02090572565793991,
-0.289558082818985,
-0.11654449254274368,
0.16085109114646912,
-0.16528423130512238,
0.001827901229262352,
-0.36776092648506165,
0.11361557245254517,
0.20146843791007996,
-0.3850228190422058,
-0.05756795033812523,
0.4485529661178589,
0.028552459552884102,
-0.3556879162788391,
0.21086467802524567,
0.04518897086381912,
0.0381157323718071,
0.18950939178466797,
-0.0685773566365242,
0.25481387972831726,
0.11061844229698181,
-0.13401484489440918,
-0.16544194519519806,
0.34440627694129944,
0.12407013773918152,
0.01679370552301407,
0.22792242467403412,
-0.06019459664821625,
0.2006007432937622,
0.004029419273138046,
0.0958714410662651,
-0.34716224670410156,
-0.14137494564056396,
-0.2265041470527649,
0.318885862827301,
0.13497304916381836,
0.34795722365379333,
0.05186569690704346,
-0.11863301694393158,
-0.05445106700062752,
0.027873938903212547,
-0.007401652634143829,
0.36391907930374146,
0.07109422236680984,
-0.06033967435359955,
-0.19435164332389832,
0.07585199922323227,
0.1700044870376587,
0.2696356475353241,
0.007499713450670242,
0.09746631234884262,
0.03693094849586487,
-0.6195942163467407,
0.4970833361148834,
-0.32528993487358093,
-0.12865443527698517,
0.07346640527248383,
0.24228107929229736,
0.1590387523174286,
-0.263191282749176,
-0.49043452739715576,
0.05034182220697403,
0.22796693444252014,
0.01492511946707964,
0.030264656990766525,
0.10435116291046143,
0.15840496122837067,
-0.2185346633195877,
-0.0938032865524292,
-0.13811419904232025,
0.1437336802482605,
-0.06262119114398956,
0.05945246294140816,
-0.04967431724071503
] |
https://github.com/huggingface/datasets/issues/4702 | Domain specific dataset discovery on the Hugging Face hub | > I think they're not displayed, but at least it should enable users to filter by tag in using `huggingface_hub` or using the appropriate query params on the website (not sure if it's possible yet though)
I think this would already be a helpful start. I'm happy to try this out with the datasets added to https://huggingface.co/organizations/biglam and use the `huggingface_hub` to filter those datasets using the tags. | **Is your feature request related to a problem? Please describe.**
## The problem
The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data).
There are various ways of identifying datasets that may be relevant for a particular use case:
- searching
- various filters
Currently, however, there isn't an easy way to identify datasets belonging to a specific domain. For example, I want to browse machine learning datasets related to 'social science' or 'climate change research'.
The ability to identify datasets relating to a specific domain has come up in discussions around the [BigLA](https://github.com/bigscience-workshop/lam/) datasets hackathon https://github.com/bigscience-workshop/lam/discussions/31#discussioncomment-3123610. As part of the hackathon, we're currently collecting datasets related to Libraries, Archives and Museums and making them available via the hub. We currently do this under a Hugging Face organization (https://huggingface.co/biglam). However, going forward, I can see some of these datasets being migrated to sit under an organization that is the custodian of the dataset (for example, a national library the data was originally from). At this point, it becomes more difficult to quickly identify datasets from this domain without relying on search.
This is also related to some existing issues on Github related to metadata on the hub:
- https://github.com/huggingface/datasets/issues/3625
- https://github.com/huggingface/datasets/issues/3877
**Describe the solution you'd like**
### Some possible solutions that may help with this:
#### Enable domain tags (from a controlled vocabulary)
- This would add metadata field to the YAML for the domain a dataset relates to
- Advantages:
- the list is controlled, allowing it to be more easily integrated into the datasets tag app (https://huggingface.co/space/huggingface/datasets-tagging)
- the controlled vocabulary could align with an existing controlled vocabulary
- this additional metadata can be used to perform filtering by domain
- disadvantages
- choosing the best controlled vocab may be difficult
- there are many datasets that are likely to fit into the 'machine learning' domain (i.e. there is a long tail of datasets that aren't in more 'generic' machine learning domain
#### Enable topic tags (user-generated)
Enable 'free form' topic tags for datasets and models. This would be closer to GitHub's repository topics which can be chosen from a controlled list (https://github.com/topics/) but can also be more user/org specific. This could potentially be useful for organizations to also manage their own models and datasets as the number they hold in their org grows. For example, they may create 'topic tags' for a specific project, so it's clearer which datasets /models are related to that project.
#### Collections
This solution would likely be the biggest shift and may require significant changes in the hub fronted. Collections could work in several different ways but would include:
Users can curate particular datasets, models, spaces, etc., into a collection. For example, they may create a collection of 'historic newspapers suitable for training language models'. These collections would not be mutually exclusive, i.e. a dataset can belong to zero, one or many collections. Collections can also potentially be nested under other collections.
This is fairly common on other data reposotiores for example the following collections:
<img width="293" alt="Screenshot 2022-07-18 at 11 50 44" src="https://user-images.githubusercontent.com/8995957/179496445-963ed122-5e26-4574-96e8-41081bce3e2b.png">
all belong under a higher level collection (https://bl.iro.bl.uk/collections/353c908d-b495-4413-b047-87236d2573e3?locale=en).
There are different models one could use for how these collections could be created:
- only within an org
- for any dataset/model
- the owner or a dataset/model has to agree to be added to a collection
- a collection owner can have people suggest additions to their collection
- other models....
These collections could be thematic, related to particular training approaches, curate models with particular inference properties etc. Whilst some of these features may duplicate current/or future tag filters on the hub, they offer the advantage of being flexible and not having to predict what users will want to do upfront.
There is also potential for automating the creation of these collections based on existing metadata. For example, one could collect models trained on a collection of datasets so for example, if we had a collection of 'historic newspapers suitable for training language models' that contained 30 datasets, we could create another collection 'historic newspaper language models' that takes any model on the hub whose metadata says it used one or more of those 30 datasets.
There is also the option of exploring ML approaches to suggest models/datasets may be relevant to a particular collection.
This approach is likely to be quite difficult to implement well and would require significant thought. There is also likely to be a benefit in doing quite a bit of upfront work in curating useful collections to demonstrate the benefits of collections.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
It is possible to collate this information externally, i.e. one could link back to the relevant models/datasets from an external platform.
**Additional context**
Add any other context about the feature request here.
I'm cc'ing others involved in the BigLAM hackathon who may also have thoughts @cakiki @clancyoftheoverflow @albertvillanova | 68 | Domain specific dataset discovery on the Hugging Face hub
**Is your feature request related to a problem? Please describe.**
## The problem
The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data).
There are various ways of identifying datasets that may be relevant for a particular use case:
- searching
- various filters
Currently, however, there isn't an easy way to identify datasets belonging to a specific domain. For example, I want to browse machine learning datasets related to 'social science' or 'climate change research'.
The ability to identify datasets relating to a specific domain has come up in discussions around the [BigLA](https://github.com/bigscience-workshop/lam/) datasets hackathon https://github.com/bigscience-workshop/lam/discussions/31#discussioncomment-3123610. As part of the hackathon, we're currently collecting datasets related to Libraries, Archives and Museums and making them available via the hub. We currently do this under a Hugging Face organization (https://huggingface.co/biglam). However, going forward, I can see some of these datasets being migrated to sit under an organization that is the custodian of the dataset (for example, a national library the data was originally from). At this point, it becomes more difficult to quickly identify datasets from this domain without relying on search.
This is also related to some existing issues on Github related to metadata on the hub:
- https://github.com/huggingface/datasets/issues/3625
- https://github.com/huggingface/datasets/issues/3877
**Describe the solution you'd like**
### Some possible solutions that may help with this:
#### Enable domain tags (from a controlled vocabulary)
- This would add metadata field to the YAML for the domain a dataset relates to
- Advantages:
- the list is controlled, allowing it to be more easily integrated into the datasets tag app (https://huggingface.co/space/huggingface/datasets-tagging)
- the controlled vocabulary could align with an existing controlled vocabulary
- this additional metadata can be used to perform filtering by domain
- disadvantages
- choosing the best controlled vocab may be difficult
- there are many datasets that are likely to fit into the 'machine learning' domain (i.e. there is a long tail of datasets that aren't in more 'generic' machine learning domain
#### Enable topic tags (user-generated)
Enable 'free form' topic tags for datasets and models. This would be closer to GitHub's repository topics which can be chosen from a controlled list (https://github.com/topics/) but can also be more user/org specific. This could potentially be useful for organizations to also manage their own models and datasets as the number they hold in their org grows. For example, they may create 'topic tags' for a specific project, so it's clearer which datasets /models are related to that project.
#### Collections
This solution would likely be the biggest shift and may require significant changes in the hub fronted. Collections could work in several different ways but would include:
Users can curate particular datasets, models, spaces, etc., into a collection. For example, they may create a collection of 'historic newspapers suitable for training language models'. These collections would not be mutually exclusive, i.e. a dataset can belong to zero, one or many collections. Collections can also potentially be nested under other collections.
This is fairly common on other data reposotiores for example the following collections:
<img width="293" alt="Screenshot 2022-07-18 at 11 50 44" src="https://user-images.githubusercontent.com/8995957/179496445-963ed122-5e26-4574-96e8-41081bce3e2b.png">
all belong under a higher level collection (https://bl.iro.bl.uk/collections/353c908d-b495-4413-b047-87236d2573e3?locale=en).
There are different models one could use for how these collections could be created:
- only within an org
- for any dataset/model
- the owner or a dataset/model has to agree to be added to a collection
- a collection owner can have people suggest additions to their collection
- other models....
These collections could be thematic, related to particular training approaches, curate models with particular inference properties etc. Whilst some of these features may duplicate current/or future tag filters on the hub, they offer the advantage of being flexible and not having to predict what users will want to do upfront.
There is also potential for automating the creation of these collections based on existing metadata. For example, one could collect models trained on a collection of datasets so for example, if we had a collection of 'historic newspapers suitable for training language models' that contained 30 datasets, we could create another collection 'historic newspaper language models' that takes any model on the hub whose metadata says it used one or more of those 30 datasets.
There is also the option of exploring ML approaches to suggest models/datasets may be relevant to a particular collection.
This approach is likely to be quite difficult to implement well and would require significant thought. There is also likely to be a benefit in doing quite a bit of upfront work in curating useful collections to demonstrate the benefits of collections.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
It is possible to collate this information externally, i.e. one could link back to the relevant models/datasets from an external platform.
**Additional context**
Add any other context about the feature request here.
I'm cc'ing others involved in the BigLAM hackathon who may also have thoughts @cakiki @clancyoftheoverflow @albertvillanova
> I think they're not displayed, but at least it should enable users to filter by tag in using `huggingface_hub` or using the appropriate query params on the website (not sure if it's possible yet though)
I think this would already be a helpful start. I'm happy to try this out with the datasets added to https://huggingface.co/organizations/biglam and use the `huggingface_hub` to filter those datasets using the tags. | [
0.03188703581690788,
-0.15919062495231628,
-0.030975883826613426,
0.1941971629858017,
0.13424353301525116,
-0.05863244831562042,
0.25349530577659607,
0.2807849049568176,
0.07080627977848053,
0.0454031378030777,
-0.4283638596534729,
-0.08462215960025787,
-0.4897831380367279,
0.5621156096458435,
0.20050299167633057,
-0.004994131624698639,
0.006477683782577515,
-0.3256782293319702,
0.2350308895111084,
-0.05612468346953392,
-0.09555578231811523,
-0.002801351249217987,
0.0769445151090622,
-0.06490969657897949,
-0.6074992418289185,
-0.016321243718266487,
-0.00010155141353607178,
-0.03162532299757004,
-0.07240203768014908,
-0.31515082716941833,
0.4859934449195862,
0.2636100947856903,
0.10374301671981812,
0.1820126324892044,
-0.00011395703768357635,
-0.08193720877170563,
0.1950567662715912,
-0.09835577011108398,
-0.22840549051761627,
-0.046482980251312256,
-0.3069973886013031,
-0.04265180230140686,
0.08432271331548691,
-0.03410476818680763,
-0.4171261489391327,
0.16619694232940674,
-0.03908143192529678,
-0.30258655548095703,
0.025946594774723053,
0.0644272193312645,
0.14856699109077454,
0.22174814343452454,
-0.3138924539089203,
-0.1778530478477478,
-0.10797036439180374,
0.40913814306259155,
-0.22468039393424988,
0.27355659008026123,
0.3900913596153259,
-0.09140212833881378,
-0.2588098347187042,
0.5280653238296509,
-0.019723299890756607,
-0.16471156477928162,
0.2814039885997772,
0.08691441267728806,
-0.10597925633192062,
-0.2551880180835724,
0.02119498699903488,
0.40564343333244324,
0.6322143077850342,
-0.2913108766078949,
-0.4026249647140503,
-0.5651187896728516,
-0.042838580906391144,
0.030729128047823906,
-0.00821889191865921,
0.056638553738594055,
-0.2930941581726074,
0.32403549551963806,
-0.33885830640792847,
-0.26508063077926636,
-0.19724877178668976,
0.14331918954849243,
-0.14425644278526306,
0.30832165479660034,
-0.09563938528299332,
-0.031145520508289337,
-0.00038102641701698303,
-0.10157987475395203,
-0.03587235137820244,
0.10003165900707245,
0.33879971504211426,
0.16330982744693756,
-0.4742288589477539,
-0.3948231041431427,
-0.12109630554914474,
0.4444841146469116,
0.28849563002586365,
0.49614089727401733,
-0.04585859924554825,
0.268538236618042,
-0.2803509533405304,
-0.09494111686944962,
0.33673331141471863,
0.19269271194934845,
0.12125660479068756,
-0.14549072086811066,
0.2766610085964203,
-0.11718379706144333,
0.12256719172000885,
0.18444806337356567,
-0.251274049282074,
0.1966204047203064,
-0.09216666221618652,
0.019737130030989647,
0.3378026485443115,
-0.11072373390197754,
-0.10230488330125809,
-0.014901052229106426,
-0.06459537148475647,
-0.0039743464440107346,
0.2937917411327362,
0.09801165759563446,
0.04419508948922157,
-0.10003528743982315,
-0.3294075131416321,
-0.023018408566713333,
-0.08541402220726013,
0.06199357286095619,
-0.10872049629688263,
0.24645684659481049,
0.043233226984739304,
0.26439303159713745,
0.33141183853149414,
-0.2882443368434906,
0.11919859796762466,
-0.11625168472528458,
0.18167456984519958,
-0.011746734380722046,
-0.1548292338848114,
-0.029070518910884857,
0.13988623023033142,
0.042046088725328445,
-0.4897649884223938,
0.07504396885633469,
0.003353554755449295,
-0.25367340445518494,
-0.3454214334487915,
-0.2471228837966919,
-0.15652430057525635,
-0.4200160503387451,
-0.07372277975082397,
0.054190635681152344,
-0.374687135219574,
0.08810514211654663,
-0.29945263266563416,
0.5411409139633179,
-0.5783674120903015,
0.23793363571166992,
0.11701501160860062,
0.34696757793426514,
-0.22420112788677216,
-0.05192834883928299,
0.15247194468975067,
0.5010554790496826,
0.20715609192848206,
-0.26358234882354736,
0.028654079884290695,
0.09452211856842041,
-0.2388109266757965,
0.09912532567977905,
-0.12677474319934845,
-0.024623386561870575,
-0.17801064252853394,
0.16056126356124878,
-0.1381222903728485,
-0.7480869293212891,
-0.2418721318244934,
-0.12377992272377014,
-0.3060058057308197,
0.22549502551555634,
0.011329084634780884,
0.2893886864185333,
0.06288705766201019,
-0.2489527463912964,
0.03712639957666397,
0.4285990595817566,
-0.19726137816905975,
-0.05000076815485954,
-0.11361157894134521,
-0.11622388660907745,
-0.12541595101356506,
0.31736063957214355,
0.14152854681015015,
-0.07871714979410172,
0.2396247386932373,
0.24151922762393951,
0.0550541914999485,
0.091777503490448,
0.2840215861797333,
0.07832437008619308,
0.4006848931312561,
-0.10513682663440704,
0.050720278173685074,
-0.19556385278701782,
-0.5673906803131104,
0.15935838222503662,
0.3315316438674927,
0.419883131980896,
-0.17816521227359772,
-0.25806403160095215,
-0.25203418731689453,
0.002630714327096939,
-0.2221459001302719,
-0.2519017457962036,
0.05098504573106766,
-0.08622319996356964,
0.3138265609741211,
0.013864327222108841,
-0.24126461148262024,
0.6043831706047058,
0.3184370696544647,
0.1870884895324707,
-0.4891660809516907,
0.2662493884563446,
0.3797731399536133,
0.34592559933662415,
0.050480201840400696,
0.25305864214897156,
0.1993710696697235,
-0.00831882655620575,
0.14322993159294128,
-0.019066862761974335,
-0.04401284083724022,
0.1901509016752243,
0.475234717130661,
0.764721691608429,
0.5026208758354187,
-0.3314965069293976,
0.14000385999679565,
-0.22637659311294556,
0.0542527437210083,
0.1266363561153412,
-0.30831074714660645,
0.322191059589386,
-0.35038724541664124,
0.3090777099132538,
-0.10267437994480133,
0.1395743191242218,
0.1299968659877777,
-0.1503334492444992,
-0.2748202085494995,
-0.3602955937385559,
0.015134468674659729,
-0.016282513737678528,
0.4335099458694458,
0.1064039096236229,
-0.2477627545595169,
0.13039056956768036,
0.1003335565328598,
-0.09763060510158539,
0.24789166450500488,
0.3325381278991699,
-0.38130006194114685,
0.05719200521707535,
0.15706132352352142,
0.17255054414272308,
0.07932380586862564,
0.07454320788383484,
0.18589170277118683,
0.11964640021324158,
0.23441174626350403,
-0.03374490141868591,
-0.0004833787679672241,
0.18682372570037842,
0.08514728397130966,
0.017620090395212173,
0.15178756415843964,
0.11533414572477341,
-0.1585196554660797,
-0.24337762594223022,
-0.09098565578460693,
-0.12043812870979309,
0.027050074189901352,
-0.0737631767988205,
-0.2754071056842804,
-0.17680609226226807,
-0.14332883059978485,
-0.4039272367954254,
-0.5082451105117798,
0.03870701789855957,
0.25078916549682617,
0.006599389016628265,
-0.02067539095878601,
-0.0022343043237924576,
0.016192074865102768,
0.47881078720092773,
-0.3491724729537964,
-0.12082520872354507,
-0.09123341739177704,
-0.18751336634159088,
0.21954208612442017,
0.08223418891429901,
-0.015059594996273518,
0.20792366564273834,
0.48148614168167114,
0.09315875917673111,
0.5605018734931946,
-0.467043936252594,
-0.5391371846199036,
0.16941699385643005,
0.015501262620091438,
0.3729126453399658,
0.13188304007053375,
0.007071636617183685,
-0.11508779972791672,
-0.1019081175327301,
0.19591572880744934,
-0.052293531596660614,
-0.02991136908531189,
-0.26347461342811584,
0.02521827258169651,
0.3313482403755188,
0.10034239292144775,
0.006573230028152466,
-0.5735208988189697,
-0.3349670469760895,
0.2867111265659332,
-0.1901431679725647,
0.2298867255449295,
0.4373263120651245,
-0.5130934715270996,
-0.18902356922626495,
-0.19317935407161713,
-0.17290876805782318,
-0.2038889229297638,
-0.3269670307636261,
0.06780630350112915,
-0.3545684218406677,
0.1713636964559555,
-0.21433189511299133,
-0.2473384588956833,
0.2091255635023117,
0.08546575158834457,
0.04063890129327774,
-0.31484219431877136,
-0.09577923268079758,
0.2384791374206543,
0.1708245426416397,
-0.11681215465068817,
0.32578903436660767,
0.020111577585339546,
0.0020891427993774414,
-0.07396818697452545,
-0.3824058771133423,
0.02401440590620041,
0.2664618194103241,
0.006474673748016357,
0.2208137810230255,
-0.3795364797115326,
0.16649220883846283,
0.2516952157020569,
0.12717853486537933,
0.05315791442990303,
0.33667629957199097,
0.20104536414146423,
0.18461555242538452,
0.06873448938131332,
-0.2310672402381897,
-0.04619966074824333,
0.036964379251003265,
0.03483866527676582,
0.42592698335647583,
0.35503727197647095,
0.27793586254119873,
-0.30102595686912537,
-0.5485736727714539,
-0.2665914297103882,
-0.20867250859737396,
-0.003421155735850334,
0.11536868661642075,
0.17862465977668762,
-0.000118989497423172,
-0.1350068598985672,
-0.20908041298389435,
-0.14544057846069336,
0.1618417650461197,
0.22824357450008392,
0.2043803483247757,
0.021392827853560448,
-0.11346442997455597,
0.12471054494380951,
-0.42331477999687195,
-0.01022619754076004,
0.1212083250284195,
0.012074844911694527,
-0.19484783709049225,
-0.011823965236544609,
-0.009113326668739319,
0.42003828287124634,
0.6715653538703918,
-0.24098928272724152,
-0.04987885802984238,
-0.3507020175457001,
-0.42225533723831177,
-0.0709855780005455,
0.20013169944286346,
0.21165195107460022,
0.02609413117170334,
-0.3063870072364807,
0.648346483707428,
-0.2707225978374481,
-0.23981845378875732,
0.055975355207920074,
-0.0232362262904644,
-0.026370175182819366,
-0.07288435101509094,
0.4177699685096741,
-0.14045608043670654,
-0.22232335805892944,
0.0414026603102684,
0.18740934133529663,
0.14228983223438263,
0.25976571440696716,
-0.13239605724811554,
-0.023794399574398994,
0.15956223011016846,
0.2801404893398285,
0.05202139541506767,
-0.013453524559736252,
0.29604995250701904,
0.3682751953601837,
0.5342804789543152,
0.2393411546945572,
0.16883046925067902,
0.5727491974830627,
0.14486002922058105,
-0.3688116669654846,
-0.1863533854484558,
0.13854704797267914,
0.25980570912361145,
0.5243191123008728,
0.06492730975151062,
0.3626083433628082,
-0.2040531486272812,
0.15166546404361725,
-0.6122169494628906,
0.11438125371932983,
-0.27034029364585876,
0.0032646115869283676,
-0.828542947769165,
0.0223421398550272,
0.7809950709342957,
-0.06908288598060608,
-0.26790690422058105,
-0.004787411540746689,
0.5384549498558044,
-0.4402562975883484,
-0.06616902351379395,
0.07979755103588104,
0.95487380027771,
-0.19162409007549286,
-0.14366641640663147,
-0.14081618189811707,
-0.09576090425252914,
0.5320931077003479,
-0.21558906137943268,
0.02945082262158394,
-0.2221897840499878,
-0.2367459237575531,
-0.14984682202339172,
0.057240989059209824,
0.02807091549038887,
0.3009433150291443,
0.164535254240036,
0.17777961492538452,
0.2572539448738098,
0.29900142550468445,
-0.16512365639209747,
0.3852066695690155,
-0.06254980713129044,
-0.5423590540885925,
-0.3532698154449463,
0.0815218836069107,
-0.3201014995574951,
0.6616986989974976,
0.10880822688341141,
-0.2791655659675598,
-0.2650180459022522,
-0.09765560925006866,
-0.28091949224472046,
-0.23621681332588196,
-0.1978277862071991,
-0.08395688980817795,
0.1982223242521286,
-0.2566072940826416,
0.28729861974716187,
-0.21746739745140076,
0.5471885800361633,
0.01232161931693554,
-0.4314996302127838,
0.2217627316713333,
-0.157139390707016,
0.1303102821111679,
0.011238683946430683,
-0.32663410902023315,
0.13319586217403412,
0.035910606384277344,
-0.08851118385791779,
-0.12455873936414719,
0.1712360680103302,
-0.22266966104507446,
-0.3260185718536377,
-0.0587458461523056,
-0.012087531387805939,
0.050359342247247696,
0.10163447260856628,
-0.12676924467086792,
-0.07377445697784424,
-0.08260044455528259,
0.05527246370911598,
0.13901138305664062,
-0.0450282096862793,
0.020197946578264236,
0.17543326318264008,
-0.050194304436445236,
-0.21869951486587524,
0.18940213322639465,
-0.009224195033311844,
-0.1284133940935135,
0.03382537513971329,
-0.05295683443546295,
-0.17167823016643524,
-0.12413277477025986,
-0.06842540204524994,
0.4635797441005707,
-0.4607744812965393,
-0.045212749391794205,
0.22595332562923431,
-0.11068876832723618,
0.201213538646698,
0.054855965077877045,
0.09619803726673126,
-0.2917410731315613,
-0.09841582924127579,
-0.19566522538661957,
-0.026025567203760147,
0.2706507444381714,
-0.31106382608413696,
0.18805603682994843,
-0.17740345001220703,
0.05409498140215874,
-0.008305283263325691,
0.1954435110092163,
-0.26444458961486816,
-0.04260063171386719,
-0.21679791808128357,
0.12748995423316956,
-0.09908682107925415,
0.15473249554634094,
0.28204649686813354,
-0.06942518800497055,
-0.02403925359249115,
-0.012268181890249252,
-0.11931082606315613,
-0.0602075420320034,
-0.32960617542266846,
0.18545420467853546,
0.05435413122177124,
-0.025051703676581383,
0.017496977001428604,
0.28189611434936523,
0.09645982086658478,
-0.34731340408325195,
0.3435482680797577,
0.49230533838272095,
0.19517065584659576,
-0.09070426970720291,
0.1335338056087494,
-0.27645277976989746,
-0.0269117783755064,
0.11982135474681854,
0.40370258688926697,
0.26750925183296204,
0.22849959135055542,
-0.08841367065906525,
-0.2107688933610916,
-0.06188461557030678,
-0.003178494516760111,
0.25214409828186035,
0.058751314878463745,
-0.1357872486114502,
0.09171150624752045,
0.21811354160308838,
-0.1252293884754181,
0.686281144618988,
0.2321588695049286,
-0.2876969873905182,
-0.12565207481384277,
0.037774473428726196,
0.09884661436080933,
0.14487217366695404,
-0.19968533515930176,
-0.29336246848106384,
0.14535903930664062,
-0.33194902539253235,
0.09620891511440277,
0.44322696328163147,
0.561668872833252,
0.3827252686023712,
-0.08083896338939667,
-0.2080785632133484,
0.43305808305740356,
0.04071388766169548,
0.3023642897605896,
0.35417014360427856,
0.16073936223983765,
-0.061012472957372665,
0.2649027109146118,
0.05117817223072052,
0.2749195098876953,
0.2905087471008301,
-0.3332831561565399,
0.4239794909954071,
-0.061430126428604126,
0.020917177200317383,
0.41927099227905273,
-0.182625874876976,
-0.04482323303818703,
-0.11337321996688843,
-0.10445459187030792,
0.06500312685966492,
-0.2880861461162567,
0.0385933518409729,
-0.09077082574367523,
0.06300145387649536,
-0.20778155326843262,
0.07470850646495819,
0.07575267553329468,
0.08680249750614166,
0.43213698267936707,
-0.30572161078453064,
-0.16371197998523712,
0.05113627389073372,
-0.15393586456775665,
-0.7015413045883179,
0.1578664779663086,
-0.00797269493341446,
0.27788713574409485,
-0.21240931749343872,
-0.1158817782998085,
0.1670997142791748,
0.4064881503582001,
-0.10196735709905624,
-0.1318383514881134,
0.13945555686950684,
-0.2682114541530609,
0.22575964033603668,
0.13138733804225922,
-0.009082961827516556,
-0.07961912453174591,
-0.03593580424785614,
0.25475451350212097,
-0.29714706540107727,
-0.0031986739486455917,
0.013826999813318253,
0.12249254435300827,
-0.033422648906707764,
-0.17132748663425446,
-0.02206786908209324,
0.03858356922864914,
-0.02697751484811306,
-0.059548210352659225,
0.0804111585021019,
-0.008181199431419373,
-0.22673232853412628,
0.03948010504245758,
-0.04298058897256851,
0.1847405731678009,
-0.1453029215335846,
0.001979261636734009,
-0.15558917820453644,
-0.270487904548645,
0.4388320744037628,
-0.008119137957692146,
0.1772269308567047,
-0.041873909533023834,
0.0504855215549469,
-0.047564547508955,
0.3511812090873718,
-0.024508532136678696,
0.09472787380218506,
-0.22241519391536713,
-0.02090572565793991,
-0.289558082818985,
-0.11654449254274368,
0.16085109114646912,
-0.16528423130512238,
0.001827901229262352,
-0.36776092648506165,
0.11361557245254517,
0.20146843791007996,
-0.3850228190422058,
-0.05756795033812523,
0.4485529661178589,
0.028552459552884102,
-0.3556879162788391,
0.21086467802524567,
0.04518897086381912,
0.0381157323718071,
0.18950939178466797,
-0.0685773566365242,
0.25481387972831726,
0.11061844229698181,
-0.13401484489440918,
-0.16544194519519806,
0.34440627694129944,
0.12407013773918152,
0.01679370552301407,
0.22792242467403412,
-0.06019459664821625,
0.2006007432937622,
0.004029419273138046,
0.0958714410662651,
-0.34716224670410156,
-0.14137494564056396,
-0.2265041470527649,
0.318885862827301,
0.13497304916381836,
0.34795722365379333,
0.05186569690704346,
-0.11863301694393158,
-0.05445106700062752,
0.027873938903212547,
-0.007401652634143829,
0.36391907930374146,
0.07109422236680984,
-0.06033967435359955,
-0.19435164332389832,
0.07585199922323227,
0.1700044870376587,
0.2696356475353241,
0.007499713450670242,
0.09746631234884262,
0.03693094849586487,
-0.6195942163467407,
0.4970833361148834,
-0.32528993487358093,
-0.12865443527698517,
0.07346640527248383,
0.24228107929229736,
0.1590387523174286,
-0.263191282749176,
-0.49043452739715576,
0.05034182220697403,
0.22796693444252014,
0.01492511946707964,
0.030264656990766525,
0.10435116291046143,
0.15840496122837067,
-0.2185346633195877,
-0.0938032865524292,
-0.13811419904232025,
0.1437336802482605,
-0.06262119114398956,
0.05945246294140816,
-0.04967431724071503
] |
https://github.com/huggingface/datasets/issues/4697 | Trouble with streaming frgfm/imagenette vision dataset with TAR archive | Hi @frgfm, thanks for reporting.
As the error message says, streaming mode is not supported out of the box when the dataset contains TAR archive files.
To make the dataset streamable, you have to use `dl_manager.iter_archive`.
There are several examples in other datasets, e.g. food101: https://huggingface.co/datasets/food101/blob/main/food101.py
And yes, as the link you pointed out, for the streaming to be possible, the metadata file must be loaded before all of the images:
- either this is the case when iterating the archive (and you get the metadata file before the images)
- or you have to extract the metadata file by hand and upload it separately to the Hub | ### Link
https://huggingface.co/datasets/frgfm/imagenette
### Description
Hello there :wave:
Thanks for the amazing work you've done with HF Datasets! I've just started playing with it, and managed to upload my first dataset. But for the second one, I'm having trouble with the preview since there is some archive extraction involved :sweat_smile:
Basically, I get a:
```
Status code: 400
Exception: NotImplementedError
Message: Extraction protocol for TAR archives like 'https://s3.amazonaws.com/fast-ai-imageclas/imagenette2.tgz' is not implemented in streaming mode. Please use `dl_manager.iter_archive` instead.
```
I've tried several things and checked this issue https://github.com/huggingface/datasets/issues/4181 as well, but no luck so far!
Could you point me in the right direction please? :pray:
### Owner
Yes | 108 | Trouble with streaming frgfm/imagenette vision dataset with TAR archive
### Link
https://huggingface.co/datasets/frgfm/imagenette
### Description
Hello there :wave:
Thanks for the amazing work you've done with HF Datasets! I've just started playing with it, and managed to upload my first dataset. But for the second one, I'm having trouble with the preview since there is some archive extraction involved :sweat_smile:
Basically, I get a:
```
Status code: 400
Exception: NotImplementedError
Message: Extraction protocol for TAR archives like 'https://s3.amazonaws.com/fast-ai-imageclas/imagenette2.tgz' is not implemented in streaming mode. Please use `dl_manager.iter_archive` instead.
```
I've tried several things and checked this issue https://github.com/huggingface/datasets/issues/4181 as well, but no luck so far!
Could you point me in the right direction please? :pray:
### Owner
Yes
Hi @frgfm, thanks for reporting.
As the error message says, streaming mode is not supported out of the box when the dataset contains TAR archive files.
To make the dataset streamable, you have to use `dl_manager.iter_archive`.
There are several examples in other datasets, e.g. food101: https://huggingface.co/datasets/food101/blob/main/food101.py
And yes, as the link you pointed out, for the streaming to be possible, the metadata file must be loaded before all of the images:
- either this is the case when iterating the archive (and you get the metadata file before the images)
- or you have to extract the metadata file by hand and upload it separately to the Hub | [
-0.34903275966644287,
-0.3096262514591217,
0.033112093806266785,
0.4855596423149109,
0.07985608279705048,
0.02208392322063446,
-0.2691221833229065,
0.16635511815547943,
-0.012630156241357327,
0.003420792520046234,
-0.22603851556777954,
-0.10508658736944199,
-0.09753607958555222,
0.18836238980293274,
-0.29239368438720703,
-0.32350942492485046,
-0.18695244193077087,
0.03784940391778946,
-0.3616020679473877,
-0.0669950544834137,
-0.027131462469697,
0.2806380093097687,
-0.05236514285206795,
-0.04913562536239624,
0.07148240506649017,
0.029637137427926064,
0.007470311596989632,
0.09173595160245895,
-0.3747026324272156,
0.04027100279927254,
0.20494306087493896,
0.08969489485025406,
0.36577755212783813,
0.4319647252559662,
-0.00012245876132510602,
-0.031071409583091736,
0.20241260528564453,
-0.10479950904846191,
-0.08566506206989288,
-0.4722675085067749,
-0.06116565316915512,
0.28256887197494507,
-0.04470023512840271,
0.09598725289106369,
-0.07093895971775055,
-0.4180282950401306,
0.13840900361537933,
-0.13284215331077576,
0.5013623237609863,
0.12308690696954727,
0.06455826014280319,
0.33921104669570923,
-0.08949559181928635,
0.03493356332182884,
0.39021074771881104,
0.23057296872138977,
-0.03786777704954147,
0.04999701306223869,
-0.2928175628185272,
-0.27327489852905273,
0.044346537441015244,
0.4801501929759979,
-0.043913159519433975,
0.13517603278160095,
0.347278356552124,
0.07108587771654129,
-0.13405314087867737,
-0.5517653226852417,
-0.2574901580810547,
0.43244224786758423,
0.5623437166213989,
0.08726751059293747,
-0.4917282164096832,
0.048132285475730896,
-0.06891519576311111,
-0.24945928156375885,
0.03590324893593788,
0.2871333360671997,
-0.1459004431962967,
0.08376109600067139,
-0.232990100979805,
-0.2099756896495819,
-0.33239978551864624,
0.11902135610580444,
-0.12864771485328674,
0.15920878946781158,
-0.15922623872756958,
0.04768022149801254,
0.3566102981567383,
-0.014844387769699097,
0.13346484303474426,
-0.10582961142063141,
-0.2204008400440216,
0.09910275787115097,
-0.26491448283195496,
0.04729926586151123,
-0.17360693216323853,
0.17114223539829254,
0.0496043860912323,
0.2849610447883606,
0.05158396437764168,
-0.018636610358953476,
-0.20661693811416626,
0.18679791688919067,
0.08219990134239197,
0.029827013611793518,
-0.058363474905490875,
0.19108837842941284,
0.15775611996650696,
0.25517746806144714,
0.15049958229064941,
-0.32411909103393555,
0.033021897077560425,
0.10820623487234116,
-0.3634980618953705,
-0.29769057035446167,
0.047815918922424316,
-0.3841433525085449,
-0.22228707373142242,
0.028642728924751282,
-0.16166910529136658,
-0.22772157192230225,
-0.09277627617120743,
0.2683843970298767,
-0.2690774202346802,
-0.14989134669303894,
0.1601162701845169,
0.4657003879547119,
-0.19434267282485962,
-0.33884379267692566,
-0.1312231868505478,
0.02601216919720173,
-0.2660787105560303,
0.21342311799526215,
0.03517284616827965,
-0.2419353723526001,
0.009632717818021774,
0.13675327599048615,
0.34106749296188354,
0.4898673892021179,
0.06036238372325897,
-0.2938256859779358,
0.21650893986225128,
0.26082998514175415,
0.07276791334152222,
0.29902589321136475,
0.456186443567276,
0.23574964702129364,
0.03766046464443207,
-0.1604926884174347,
-0.18277961015701294,
-0.12811711430549622,
-0.1287240833044052,
0.019437864422798157,
-0.2654818892478943,
-0.008219502866268158,
-0.5489694476127625,
0.11086449027061462,
-0.15369907021522522,
-0.28240910172462463,
-0.10965945571660995,
-0.007001351565122604,
-0.20514699816703796,
0.09266823530197144,
0.17049500346183777,
0.44143229722976685,
-0.29225075244903564,
0.0069488584995269775,
-0.18518097698688507,
0.02352454885840416,
0.4220885634422302,
0.210553377866745,
-0.15850785374641418,
-0.0784083679318428,
-0.2577740252017975,
0.2953072190284729,
0.3044731914997101,
-0.4050927758216858,
-0.12392956018447876,
0.6566287875175476,
0.001999087631702423,
0.3871745467185974,
0.19366994500160217,
-0.20049899816513062,
0.34450334310531616,
-0.2743157744407654,
-0.41386398673057556,
0.408519446849823,
-0.0353643074631691,
-0.11195841431617737,
-0.14118283987045288,
-0.2198343425989151,
-0.08087102323770523,
0.13680075109004974,
0.13694000244140625,
0.14517620205879211,
0.12615330517292023,
-0.037431858479976654,
0.2468520700931549,
-0.006996516138315201,
0.33165282011032104,
0.1330978274345398,
0.14476531744003296,
0.10586877167224884,
-0.12208939343690872,
0.1608676016330719,
-0.02623840421438217,
0.18146878480911255,
-0.31984448432922363,
0.07365307211875916,
-0.3457949757575989,
0.03217095881700516,
0.05828487128019333,
-0.19793647527694702,
-0.16062751412391663,
-0.2637346386909485,
-0.041266992688179016,
0.003381669521331787,
-0.0956169068813324,
-0.1218128502368927,
-0.18565334379673004,
0.7116664052009583,
-0.03597141057252884,
0.13707992434501648,
-0.09088125824928284,
0.6730454564094543,
0.12706267833709717,
-0.16721324622631073,
0.06762036681175232,
-0.42669424414634705,
0.14216288924217224,
-0.1443207710981369,
-0.19537201523780823,
0.3564296066761017,
-0.22173075377941132,
0.23128516972064972,
0.173086017370224,
0.20507381856441498,
0.26920950412750244,
-0.5045759081840515,
0.2729892432689667,
0.15549667179584503,
0.03503553196787834,
0.019771575927734375,
-0.15523257851600647,
0.15570437908172607,
0.06395331025123596,
0.4258400797843933,
0.21411584317684174,
-0.0587235763669014,
-0.09874361008405685,
0.07085511088371277,
-0.04569161683320999,
-0.22016315162181854,
0.21136242151260376,
-0.25452709197998047,
-0.29921647906303406,
-0.4622938930988312,
-0.27822524309158325,
0.1451970934867859,
0.05949697643518448,
0.20164574682712555,
-0.2601527273654938,
0.23820486664772034,
-0.17599761486053467,
-0.056833188980817795,
0.3276914358139038,
0.0397050641477108,
0.3764686584472656,
0.19872239232063293,
0.12156838923692703,
0.13088072836399078,
0.007562159560620785,
0.009842026978731155,
0.13134774565696716,
-0.008381299674510956,
0.2978953421115875,
0.07566354423761368,
-0.04696241021156311,
0.11016224324703217,
-0.25919309258461,
-0.31641948223114014,
0.038911812007427216,
0.21130642294883728,
-0.12776875495910645,
0.34221524000167847,
-0.5618516206741333,
-0.7459564208984375,
0.08367954194545746,
0.024622395634651184,
-0.2272263467311859,
-0.4259359538555145,
-0.10261882841587067,
0.6300161480903625,
0.1608835607767105,
-0.03416437655687332,
-0.01904340088367462,
-0.14166586101055145,
-0.021737929433584213,
0.10605330020189285,
-0.2801784873008728,
0.16979564726352692,
-0.04707230627536774,
-0.026969464495778084,
0.1466953456401825,
-0.06762562692165375,
0.2558329403400421,
-0.009565778076648712,
0.07594262063503265,
-0.47750991582870483,
-0.22348791360855103,
0.6066400408744812,
-0.09952898323535919,
0.3041594922542572,
-0.0915660560131073,
0.4194369316101074,
-0.25282901525497437,
-0.07877883315086365,
0.043111104518175125,
-0.25035884976387024,
-0.11528586596250534,
0.04772515594959259,
-0.08328378200531006,
0.20936566591262817,
-0.1587049961090088,
0.08003570884466171,
-0.31334808468818665,
-0.40475136041641235,
0.07609029114246368,
-0.09436839818954468,
0.03650622069835663,
0.3872213661670685,
-0.06856845319271088,
-0.2658105492591858,
-0.14603663980960846,
-0.20706792175769806,
-0.21428066492080688,
-0.4454748034477234,
0.5413541197776794,
-0.33824440836906433,
-0.41228631138801575,
0.196056067943573,
0.1497732549905777,
0.19909755885601044,
0.37919145822525024,
-0.496462345123291,
-0.17117244005203247,
0.004316519945859909,
-0.03832726925611496,
-0.06990987807512283,
0.05875205621123314,
0.042750611901283264,
-0.23003767430782318,
-0.010204572230577469,
-0.19535648822784424,
0.18525803089141846,
0.03280997276306152,
0.10382959991693497,
0.471344918012619,
0.13620075583457947,
0.3039911985397339,
0.061259593814611435,
0.4270070791244507,
0.43337446451187134,
0.2397889941930771,
0.5653558969497681,
0.24205125868320465,
0.2613426744937897,
0.060068778693675995,
-0.03637378662824631,
0.11335509270429611,
-0.15742138028144836,
0.1206640899181366,
0.1898851990699768,
-0.01961769536137581,
-0.26059237122535706,
-0.22592586278915405,
0.3040265440940857,
-0.25286880135536194,
-0.21158874034881592,
-0.046979643404483795,
0.12644870579242706,
0.12051399052143097,
0.05648307874798775,
0.046568505465984344,
0.08650796115398407,
-0.2549037039279938,
0.07913662493228912,
0.6062725782394409,
0.3219181299209595,
0.26025909185409546,
0.0973023921251297,
0.0221866425126791,
-0.17413294315338135,
0.2693570852279663,
-0.02413443848490715,
0.10569994896650314,
-0.1582542508840561,
0.09305211156606674,
0.06865052878856659,
0.1295648217201233,
0.5755392909049988,
-0.5900066494941711,
-0.14671775698661804,
0.05038876459002495,
-0.2421281933784485,
-0.1749940812587738,
-0.2790507376194,
-0.0600244514644146,
-0.08522915840148926,
-0.31495773792266846,
0.20366467535495758,
-0.3549622595310211,
-0.339360773563385,
0.22317269444465637,
-0.2476620078086853,
-0.0322406142950058,
-0.23574642837047577,
-0.02280454896390438,
-0.12344656139612198,
-0.138731449842453,
-0.19190463423728943,
-0.027302132919430733,
-0.13261865079402924,
-0.2967572510242462,
0.17803500592708588,
0.07195081561803818,
0.29694539308547974,
0.37407779693603516,
0.09099219739437103,
0.3240368664264679,
0.14241570234298706,
0.09962861239910126,
0.5288830995559692,
-0.1377059817314148,
0.24848118424415588,
0.4898718595504761,
0.2536851763725281,
-0.11233152449131012,
0.3159279227256775,
0.11203780025243759,
0.03976181149482727,
0.4021189212799072,
0.05741829797625542,
0.12468083947896957,
0.016972092911601067,
0.18620479106903076,
-0.2840016484260559,
0.20041078329086304,
0.3951299786567688,
-0.45409032702445984,
-0.2850540578365326,
-0.491573303937912,
0.3797094225883484,
0.251874715089798,
-0.04490123689174652,
0.16867581009864807,
0.21338535845279694,
-0.011790933087468147,
0.06486014276742935,
0.005302906036376953,
1.0323055982589722,
0.020625587552785873,
0.10016441345214844,
0.19005173444747925,
-0.10322162508964539,
0.18728956580162048,
-0.3372352719306946,
-0.07880119234323502,
-0.14324291050434113,
-0.6789815425872803,
-0.27140650153160095,
0.012942176312208176,
0.209535151720047,
0.023768950253725052,
-0.12000475823879242,
0.33324065804481506,
0.060507893562316895,
0.24295024573802948,
0.021589023992419243,
0.04202743619680405,
-0.21767045557498932,
-0.2989931106567383,
-0.3207879960536957,
0.12035714089870453,
-0.06072693318128586,
0.4014331102371216,
-0.14775672554969788,
-0.3637528419494629,
0.006063438951969147,
-0.011444797739386559,
-0.15791086852550507,
0.32871341705322266,
-0.0936509221792221,
-0.03512997552752495,
-0.26257339119911194,
-0.10254866629838943,
0.2045479714870453,
0.06803218275308609,
0.011732898652553558,
-0.13740111887454987,
-0.16924653947353363,
0.09438012540340424,
-0.08787471801042557,
-0.07022968679666519,
-0.3037668764591217,
-0.07296951860189438,
0.3111967444419861,
-0.29507195949554443,
-0.06761294603347778,
0.0338655486702919,
0.025503989309072495,
0.10361309349536896,
0.007238596677780151,
-0.2035989612340927,
-0.009580843150615692,
0.06463231891393661,
0.1239234060049057,
0.24714477360248566,
-0.11578169465065002,
-0.038388438522815704,
-0.04318070411682129,
0.027818184345960617,
-0.08872632682323456,
0.2171252965927124,
0.2645898163318634,
-0.08895949274301529,
-0.19735698401927948,
0.6093289852142334,
-0.1085018739104271,
0.0748995989561081,
0.2908775210380554,
0.30345645546913147,
-0.31660062074661255,
-0.08135485649108887,
-0.16729521751403809,
0.29879751801490784,
-0.5786215662956238,
-0.07490415126085281,
-0.0899156704545021,
0.2240278273820877,
0.22675451636314392,
0.3254948854446411,
0.1732015460729599,
-0.3515245318412781,
-0.17131826281547546,
-0.280271053314209,
-0.02179533988237381,
0.3748854994773865,
-0.4039779305458069,
0.13310199975967407,
-0.34998035430908203,
-0.1267947405576706,
0.09356801211833954,
0.013312499970197678,
-0.20481187105178833,
0.014973307028412819,
0.1933639645576477,
0.04464533179998398,
0.26358866691589355,
-0.10939254611730576,
0.6691015362739563,
-0.08396491408348083,
-0.03952909633517265,
0.17988808453083038,
-0.5026516914367676,
0.024297766387462616,
-0.3056234121322632,
0.25828295946121216,
0.19725772738456726,
-0.44762781262397766,
0.0948832631111145,
-0.26943716406822205,
-0.2008344829082489,
-0.06316234171390533,
0.16112260520458221,
0.04521586745977402,
0.12469501793384552,
-0.16624388098716736,
0.3364061117172241,
0.0399828739464283,
-0.16302794218063354,
0.15970146656036377,
0.3115653991699219,
0.5192474722862244,
-0.09909109771251678,
-0.26445597410202026,
-0.029849126935005188,
-0.220842644572258,
-0.049329470843076706,
0.1314806342124939,
0.2908317446708679,
-0.09188643842935562,
0.7261731624603271,
-0.3241279125213623,
0.3464490473270416,
-0.1226750910282135,
0.5806159973144531,
0.26318976283073425,
0.115543894469738,
-0.19980132579803467,
0.1858637034893036,
0.031124666333198547,
-0.08270134031772614,
-0.024302802979946136,
-0.12939797341823578,
0.14100830256938934,
-0.10448748618364334,
0.25692275166511536,
0.11620497703552246,
0.32515692710876465,
-0.1806982010602951,
0.0840919092297554,
0.3396271765232086,
-0.010780561715364456,
0.15567584335803986,
0.09909704327583313,
0.0158921517431736,
0.2178248167037964,
0.15851300954818726,
0.12494005262851715,
0.09018310159444809,
-0.1753394603729248,
-0.2002626657485962,
0.1725396364927292,
-0.00038316845893859863,
0.1335759162902832,
0.17043820023536682,
-0.7223696112632751,
-0.2800257205963135,
0.2582702934741974,
0.4294055104255676,
0.33554983139038086,
-0.03862334042787552,
0.2737981677055359,
0.13885316252708435,
-0.2726045548915863,
-0.17811977863311768,
0.3918081521987915,
0.32538026571273804,
0.07491272687911987,
-0.1416362226009369,
-0.19189238548278809,
-0.39485040307044983,
0.012244042009115219,
-0.11426831781864166,
-0.06942488253116608,
0.17322300374507904,
0.2910503149032593,
0.12874282896518707,
-0.12407490611076355,
-0.3728346526622772,
0.06647782772779465,
0.2712186872959137,
-0.21452867984771729,
0.24374955892562866,
0.2944810390472412,
0.1152152419090271,
0.2249806970357895,
0.23868753015995026,
0.3340747356414795,
0.11344507336616516,
0.057664960622787476,
0.024476423859596252,
0.1188620775938034,
-0.10473567992448807,
0.32009026408195496,
0.0850551426410675,
0.20654456317424774,
-0.09929090738296509,
0.24366523325443268,
-0.05526507645845413,
-0.14070187509059906,
0.3907511234283447,
-0.34710192680358887,
0.25126466155052185,
-0.07095246016979218,
0.0779801607131958,
0.040546614676713943,
0.3787696063518524,
-0.1469164490699768,
-0.31473055481910706,
-0.39119186997413635,
0.21760502457618713,
0.2379920929670334,
-0.10869564861059189,
-0.1450977921485901,
0.1271517127752304,
-0.032583244144916534,
-0.024516865611076355,
0.3078894019126892,
0.611345648765564,
-0.05233383923768997,
-0.2160588502883911,
-0.15226097404956818,
-0.4893887937068939,
-0.12747132778167725,
-0.1711188405752182,
0.03556418418884277,
0.12117159366607666,
0.21608209609985352,
0.36215850710868835,
0.15571680665016174,
0.3655247986316681,
-0.6092920899391174,
0.13401371240615845,
0.4702892303466797,
-0.3362579047679901,
-0.09114205837249756,
0.0004628673195838928,
0.2462577223777771,
-0.13018888235092163,
-0.06599818915128708,
0.03533998876810074,
-0.14661578834056854,
-0.025631926953792572,
-0.1656161993741989,
-0.11967349797487259,
-0.16884121298789978,
-0.6310278177261353,
0.4394432008266449,
0.037630632519721985,
0.2998109757900238,
-0.05213363096117973,
-0.351036012172699,
-0.14255119860172272,
-0.02826511673629284,
-0.1912107765674591,
-0.06797667592763901,
0.061726488173007965,
0.9063420295715332,
0.13602040708065033,
-0.08153550326824188,
-0.5265074372291565,
0.08023007214069366,
-0.032399844378232956,
-0.1333850920200348,
-0.3891012966632843,
0.3562203049659729,
-0.20785173773765564,
-0.02712429128587246,
0.012118577025830746,
0.15938344597816467,
0.1332460343837738,
0.05592978000640869,
-0.3436536192893982,
-0.4243525266647339,
0.7861469984054565,
-0.2463458776473999,
0.028684701770544052,
0.15272356569766998,
-0.01699472963809967,
0.04473147541284561,
-0.15504755079746246,
-0.5841591954231262,
0.1699162721633911,
-0.0005411840975284576,
-0.21090731024742126,
0.10586164891719818,
0.19667719304561615,
0.25466442108154297,
-0.0483236201107502,
-0.024431025609374046,
0.3699840307235718,
0.12470299750566483,
-0.40510451793670654,
0.08618529140949249,
0.11567001044750214
] |
https://github.com/huggingface/datasets/issues/4697 | Trouble with streaming frgfm/imagenette vision dataset with TAR archive | Hi @albertvillanova :wave:
Thanks! Yeah I saw that but since I didn't have any metadata, I wasn't sure whether I should create them myself.
So one last question:
What is the metadata supposed to be for archives? The relative path of all files in it?
_(Sorry I'm a bit confused since it's quite hard to debug using the single error message from the data preview :sweat_smile: )_ | ### Link
https://huggingface.co/datasets/frgfm/imagenette
### Description
Hello there :wave:
Thanks for the amazing work you've done with HF Datasets! I've just started playing with it, and managed to upload my first dataset. But for the second one, I'm having trouble with the preview since there is some archive extraction involved :sweat_smile:
Basically, I get a:
```
Status code: 400
Exception: NotImplementedError
Message: Extraction protocol for TAR archives like 'https://s3.amazonaws.com/fast-ai-imageclas/imagenette2.tgz' is not implemented in streaming mode. Please use `dl_manager.iter_archive` instead.
```
I've tried several things and checked this issue https://github.com/huggingface/datasets/issues/4181 as well, but no luck so far!
Could you point me in the right direction please? :pray:
### Owner
Yes | 67 | Trouble with streaming frgfm/imagenette vision dataset with TAR archive
### Link
https://huggingface.co/datasets/frgfm/imagenette
### Description
Hello there :wave:
Thanks for the amazing work you've done with HF Datasets! I've just started playing with it, and managed to upload my first dataset. But for the second one, I'm having trouble with the preview since there is some archive extraction involved :sweat_smile:
Basically, I get a:
```
Status code: 400
Exception: NotImplementedError
Message: Extraction protocol for TAR archives like 'https://s3.amazonaws.com/fast-ai-imageclas/imagenette2.tgz' is not implemented in streaming mode. Please use `dl_manager.iter_archive` instead.
```
I've tried several things and checked this issue https://github.com/huggingface/datasets/issues/4181 as well, but no luck so far!
Could you point me in the right direction please? :pray:
### Owner
Yes
Hi @albertvillanova :wave:
Thanks! Yeah I saw that but since I didn't have any metadata, I wasn't sure whether I should create them myself.
So one last question:
What is the metadata supposed to be for archives? The relative path of all files in it?
_(Sorry I'm a bit confused since it's quite hard to debug using the single error message from the data preview :sweat_smile: )_ | [
-0.29563191533088684,
-0.17251941561698914,
0.028559446334838867,
0.46546995639801025,
0.032740168273448944,
0.0038994774222373962,
-0.3055073916912079,
0.1167706549167633,
-0.052736930549144745,
-0.05650566518306732,
-0.16701211035251617,
-0.1713867038488388,
-0.1118665561079979,
0.09983646124601364,
-0.30730873346328735,
-0.27170246839523315,
-0.18635964393615723,
0.058122582733631134,
-0.4039294719696045,
-0.12154043465852737,
-0.06293822824954987,
0.3183579742908478,
-0.015167467296123505,
0.028496339917182922,
0.09160379320383072,
-0.011478172615170479,
-0.02861754782497883,
0.09958238899707794,
-0.3645465075969696,
0.12858697772026062,
0.15577968955039978,
0.06270813941955566,
0.3268333077430725,
0.4555108845233917,
-0.00012344839342404157,
-0.05344181880354881,
0.17250552773475647,
-0.16486796736717224,
-0.044815171509981155,
-0.4367302656173706,
-0.048604950308799744,
0.26171019673347473,
-0.014214208349585533,
0.0569341704249382,
-0.04631255194544792,
-0.47306686639785767,
0.1347738355398178,
-0.2118878811597824,
0.4811714291572571,
0.19480358064174652,
0.06647513806819916,
0.2737080156803131,
-0.04847639799118042,
-0.031487926840782166,
0.48756974935531616,
0.3281346559524536,
-0.033628761768341064,
-0.03658933565020561,
-0.3099591135978699,
-0.27619701623916626,
0.02929875999689102,
0.4382404088973999,
-0.03782522678375244,
0.11931397020816803,
0.31830716133117676,
0.04826533794403076,
-0.12251032143831253,
-0.53243088722229,
-0.22037553787231445,
0.45655110478401184,
0.6256149411201477,
0.1441393792629242,
-0.45795270800590515,
0.15442311763763428,
-0.12093474715948105,
-0.17637188732624054,
0.04219726473093033,
0.3439851403236389,
-0.1678546518087387,
0.11071547865867615,
-0.2569039762020111,
-0.2060476541519165,
-0.339444637298584,
0.1427367925643921,
-0.12475290149450302,
0.16133588552474976,
-0.14889228343963623,
0.035092707723379135,
0.3687816262245178,
0.025268595665693283,
0.024586297571659088,
-0.1319342702627182,
-0.23136001825332642,
0.047427330166101456,
-0.23503972589969635,
0.04699597507715225,
-0.1676294505596161,
0.09239554405212402,
-0.0019936561584472656,
0.36043620109558105,
0.024378927424550056,
-0.01794961467385292,
-0.16457445919513702,
0.17574948072433472,
0.018653636798262596,
-0.020230362191796303,
-0.12322216480970383,
0.2329113483428955,
0.1667448878288269,
0.10367120802402496,
0.24918437004089355,
-0.32384422421455383,
0.03443358466029167,
0.14699876308441162,
-0.3662705719470978,
-0.32361528277397156,
0.059112660586833954,
-0.4176560938358307,
-0.20407035946846008,
0.08048560470342636,
-0.21181941032409668,
-0.2425326555967331,
-0.10722588747739792,
0.2714743912220001,
-0.2699865698814392,
-0.23384782671928406,
0.20107494294643402,
0.4027225375175476,
-0.2049846053123474,
-0.3293818533420563,
-0.1498108059167862,
0.033203914761543274,
-0.30903029441833496,
0.2202671766281128,
0.0268123559653759,
-0.08427423238754272,
0.05927177518606186,
0.1305026113986969,
0.17445367574691772,
0.42588356137275696,
0.14278480410575867,
-0.3063370883464813,
0.22686269879341125,
0.3221396803855896,
0.03780955448746681,
0.2828541398048401,
0.46724608540534973,
0.20319773256778717,
0.015927106142044067,
-0.16699588298797607,
-0.2100295126438141,
-0.1641092598438263,
-0.19333350658416748,
0.021233849227428436,
-0.3108508586883545,
0.026263557374477386,
-0.5243906378746033,
0.11060754954814911,
-0.15573367476463318,
-0.24390797317028046,
-0.11450354009866714,
0.018088549375534058,
-0.17816507816314697,
0.04965208098292351,
0.15209797024726868,
0.3623788058757782,
-0.40422502160072327,
0.024722479283809662,
-0.27939191460609436,
-0.012586746364831924,
0.4731920659542084,
0.2329937219619751,
-0.1391943395137787,
-0.10266535729169846,
-0.31299617886543274,
0.31954628229141235,
0.35526588559150696,
-0.31636562943458557,
-0.0695989578962326,
0.637933075428009,
-0.040436454117298126,
0.262126088142395,
0.18883681297302246,
-0.20557337999343872,
0.44118553400039673,
-0.31203362345695496,
-0.3928988575935364,
0.3316696882247925,
-0.06810586154460907,
-0.155018150806427,
-0.11204858124256134,
-0.20128655433654785,
-0.07571651041507721,
0.05537061020731926,
0.12980294227600098,
0.14650560915470123,
0.170609250664711,
-0.11450335383415222,
0.1865544468164444,
0.006845854222774506,
0.30322811007499695,
0.24114301800727844,
0.1597379446029663,
0.09313686937093735,
-0.09056667238473892,
0.27581295371055603,
-0.03253467381000519,
0.0792258158326149,
-0.3477208912372589,
0.1142142042517662,
-0.3637521266937256,
0.022438038140535355,
0.02381981536746025,
-0.24720942974090576,
-0.060283828526735306,
-0.26060500741004944,
-0.0432378351688385,
0.04957215487957001,
-0.10145562887191772,
-0.11918456852436066,
-0.14246410131454468,
0.5895172953605652,
-0.0147814080119133,
0.12878333032131195,
-0.02793276682496071,
0.6732715964317322,
0.12289119511842728,
-0.22669607400894165,
0.1039702445268631,
-0.39488357305526733,
0.14244098961353302,
-0.14606821537017822,
-0.19449862837791443,
0.33160877227783203,
-0.1724792867898941,
0.16165943443775177,
0.18467170000076294,
0.22845208644866943,
0.16469363868236542,
-0.5462660193443298,
0.29139095544815063,
0.19360525906085968,
0.047492865473032,
0.006037428975105286,
-0.168046772480011,
0.11124088615179062,
0.09569239616394043,
0.3649841547012329,
0.22006963193416595,
-0.03266953304409981,
-0.04413538798689842,
0.10301598906517029,
-0.0657416507601738,
-0.2664681673049927,
0.18663205206394196,
-0.17307835817337036,
-0.35939309000968933,
-0.35365980863571167,
-0.28997743129730225,
0.12086348980665207,
0.013745497912168503,
0.12676601111888885,
-0.247941792011261,
0.24698767066001892,
-0.192407488822937,
-0.0424310564994812,
0.33959391713142395,
0.07493992149829865,
0.44715338945388794,
0.24348445236682892,
0.16110588610172272,
0.14141063392162323,
0.031819719821214676,
-0.013010188937187195,
0.15566900372505188,
0.034651145339012146,
0.26711851358413696,
0.0270155668258667,
-0.10969927906990051,
0.14315590262413025,
-0.24065566062927246,
-0.28957465291023254,
0.06889258325099945,
0.2589198350906372,
-0.20718808472156525,
0.3449896574020386,
-0.6409757733345032,
-0.7450039386749268,
0.08714970201253891,
0.07425490021705627,
-0.19889332354068756,
-0.42275944352149963,
-0.06938964128494263,
0.5224902033805847,
0.060236360877752304,
-0.06124342232942581,
-0.07835036516189575,
-0.15299920737743378,
-0.05489898473024368,
0.1270899623632431,
-0.2586449086666107,
0.08863801509141922,
-0.0999189242720604,
-0.001561187207698822,
0.16361436247825623,
-0.020162148401141167,
0.2719780504703522,
-0.023623444139957428,
0.11003716289997101,
-0.4659636914730072,
-0.24956154823303223,
0.588428258895874,
-0.06725337356328964,
0.3029084801673889,
-0.034612029790878296,
0.4615909457206726,
-0.251087486743927,
-0.2041788399219513,
0.022286251187324524,
-0.1786842793226242,
-0.1762404590845108,
0.062377557158470154,
-0.10489634424448013,
0.19860953092575073,
-0.230798602104187,
0.011435970664024353,
-0.31440308690071106,
-0.3649296760559082,
0.04478421434760094,
-0.10649541020393372,
0.07518700510263443,
0.3890828490257263,
-0.11392202228307724,
-0.22756634652614594,
-0.1616867482662201,
-0.16019298136234283,
-0.2626476585865021,
-0.40892156958580017,
0.5788856148719788,
-0.37087684869766235,
-0.38067322969436646,
0.2633116543292999,
0.07320627570152283,
0.1890583038330078,
0.4303027391433716,
-0.5286319255828857,
-0.14408491551876068,
0.026854921132326126,
-0.17317251861095428,
0.026969879865646362,
0.012186439707875252,
0.04380396753549576,
-0.23712186515331268,
-0.007578449323773384,
-0.13692687451839447,
0.1782931238412857,
0.1105051040649414,
-0.0073091499507427216,
0.505578875541687,
0.1289396733045578,
0.35484814643859863,
0.03693993017077446,
0.41939908266067505,
0.38793283700942993,
0.23392973840236664,
0.5284179449081421,
0.22693780064582825,
0.2933819890022278,
0.07984284311532974,
0.02212304063141346,
0.15593644976615906,
-0.08883525431156158,
0.12887269258499146,
0.1829717457294464,
-0.012252012267708778,
-0.37420937418937683,
-0.14732709527015686,
0.37014466524124146,
-0.3576423227787018,
-0.27816155552864075,
0.00536421500146389,
0.13251221179962158,
0.09987777471542358,
0.09262128174304962,
0.06764359027147293,
0.11640967428684235,
-0.2541414499282837,
0.04163127765059471,
0.6384528875350952,
0.26420480012893677,
0.25074291229248047,
0.16100138425827026,
0.1340847760438919,
-0.1163221225142479,
0.28743797540664673,
-0.052813246846199036,
0.10575483739376068,
-0.26463985443115234,
0.12318836897611618,
0.04203108698129654,
0.1815357804298401,
0.44125980138778687,
-0.6240844130516052,
-0.2079431563615799,
0.046364929527044296,
-0.19196687638759613,
-0.23298296332359314,
-0.3141784071922302,
-0.059835802763700485,
-0.13405120372772217,
-0.27920645475387573,
0.19367322325706482,
-0.3558315932750702,
-0.37129464745521545,
0.29717588424682617,
-0.25300437211990356,
-0.029130201786756516,
-0.2109307050704956,
0.02421446517109871,
-0.21217164397239685,
-0.06282102316617966,
-0.22587773203849792,
0.00957130454480648,
-0.20150502026081085,
-0.22326546907424927,
0.16071844100952148,
0.05274145305156708,
0.32900741696357727,
0.4498482346534729,
-0.005984559655189514,
0.3789029121398926,
0.11160920560359955,
0.04820737615227699,
0.5172078609466553,
-0.1650049090385437,
0.2156904935836792,
0.4478856921195984,
0.208616703748703,
-0.08809049427509308,
0.43491795659065247,
0.053453680127859116,
0.09778685122728348,
0.366937518119812,
0.07459560036659241,
0.05746123939752579,
0.020615868270397186,
0.12109045684337616,
-0.3042493462562561,
0.2500646710395813,
0.36340975761413574,
-0.43062931299209595,
-0.2528742551803589,
-0.4985825717449188,
0.30679988861083984,
0.38429149985313416,
-0.07304331660270691,
0.1667068600654602,
0.18765854835510254,
-0.04556482285261154,
0.09710613638162613,
0.08000460267066956,
1.1066290140151978,
0.03346700966358185,
0.04506102576851845,
0.19448545575141907,
-0.10862112045288086,
0.1368936151266098,
-0.4001714587211609,
-0.14846831560134888,
-0.14591632783412933,
-0.7284587621688843,
-0.30534034967422485,
-0.0060885995626449585,
0.2364760935306549,
0.04807097464799881,
-0.1020192950963974,
0.383788138628006,
0.08583496510982513,
0.23012292385101318,
0.09198799729347229,
-0.01158095896244049,
-0.045668162405490875,
-0.24256396293640137,
-0.20689307153224945,
0.1238260567188263,
-0.0697745531797409,
0.3879457414150238,
-0.11272800713777542,
-0.3596855401992798,
-0.009413238614797592,
-0.05672770366072655,
-0.22794052958488464,
0.2863120138645172,
-0.09987571835517883,
-0.019898008555173874,
-0.2529445290565491,
-0.047250691801309586,
0.1502767950296402,
0.0876278430223465,
-0.025396429002285004,
-0.06160646304488182,
-0.0893276035785675,
0.018433524295687675,
-0.060608409345149994,
-0.04221687093377113,
-0.2641129791736603,
-0.06839357316493988,
0.3527316153049469,
-0.2725786566734314,
-0.06989240646362305,
0.046092625707387924,
-0.02939024567604065,
0.11847509443759918,
0.03338980674743652,
-0.23711074888706207,
-0.04250536859035492,
0.07378169149160385,
0.1279260516166687,
0.20815780758857727,
-0.12696920335292816,
0.024697888642549515,
-0.04201158136129379,
0.0942758321762085,
-0.06748360395431519,
0.2965872287750244,
0.24934348464012146,
-0.0944281592965126,
-0.20934660732746124,
0.5701996088027954,
-0.12431653589010239,
0.09739147126674652,
0.25908470153808594,
0.2386939972639084,
-0.3274192810058594,
-0.09692659974098206,
-0.178620845079422,
0.36039289832115173,
-0.5218812227249146,
-0.08581231534481049,
-0.12398882955312729,
0.20081816613674164,
0.312083899974823,
0.2831718325614929,
0.1787523329257965,
-0.3007199764251709,
-0.22514191269874573,
-0.2704041600227356,
-0.05946464091539383,
0.4225468635559082,
-0.4255497455596924,
0.1622154861688614,
-0.35628026723861694,
-0.21475178003311157,
0.11316065490245819,
-0.06684650480747223,
-0.2164224088191986,
-0.013412950560450554,
0.19547386467456818,
0.059975579380989075,
0.2933996021747589,
-0.15757080912590027,
0.6717274785041809,
-0.0964042991399765,
-0.049430251121520996,
0.16814486682415009,
-0.4988975524902344,
0.03767181187868118,
-0.2784746587276459,
0.2643129229545593,
0.15582114458084106,
-0.39591115713119507,
0.1371793895959854,
-0.29041552543640137,
-0.18332038819789886,
-0.040290869772434235,
0.08751504123210907,
0.04949793219566345,
0.12322146445512772,
-0.1448652297258377,
0.25344282388687134,
0.02129383385181427,
-0.21459871530532837,
0.18028199672698975,
0.27572348713874817,
0.6180330514907837,
-0.1016819179058075,
-0.2666032612323761,
-0.11711649596691132,
-0.2541905343532562,
-0.10788494348526001,
0.1672445833683014,
0.250040203332901,
-0.12067752331495285,
0.704036295413971,
-0.23824001848697662,
0.32248011231422424,
-0.11440444737672806,
0.5268326997756958,
0.21345874667167664,
0.11802127957344055,
-0.24017781019210815,
0.2129097580909729,
0.017497185617685318,
-0.06082684174180031,
0.0515766404569149,
-0.027339324355125427,
0.27071332931518555,
-0.14011748135089874,
0.2746221125125885,
0.06218847259879112,
0.27547961473464966,
-0.1865425556898117,
0.08957207947969437,
0.3030986189842224,
0.015994727611541748,
0.13909928500652313,
0.1059836745262146,
-0.03994928300380707,
0.24085234105587006,
0.13506710529327393,
0.11889153718948364,
0.10042088478803635,
-0.21262870728969574,
-0.1564343273639679,
0.1351040154695511,
0.04095315933227539,
0.1303769201040268,
0.12911903858184814,
-0.7692514657974243,
-0.16070252656936646,
0.35532689094543457,
0.4815369248390198,
0.3832615613937378,
0.037394337356090546,
0.24448001384735107,
0.2295234203338623,
-0.2540775239467621,
-0.18562784790992737,
0.4626922905445099,
0.27343088388442993,
0.10944384336471558,
-0.16254453361034393,
-0.15531247854232788,
-0.37862256169319153,
-0.0006958022713661194,
-0.09564448893070221,
-0.00828302651643753,
0.10667730867862701,
0.24559076130390167,
0.16894572973251343,
-0.05644797533750534,
-0.33987075090408325,
0.031837813556194305,
0.23770251870155334,
-0.17173682153224945,
0.2545129358768463,
0.3433820605278015,
0.1341601014137268,
0.23083718121051788,
0.2446078360080719,
0.2946140468120575,
0.09090673923492432,
0.08670471608638763,
0.029081538319587708,
0.14508408308029175,
-0.11794337630271912,
0.3088113069534302,
0.11477269232273102,
0.2178560197353363,
-0.14508068561553955,
0.19811488687992096,
-0.04866674542427063,
-0.13179941475391388,
0.49653783440589905,
-0.28926655650138855,
0.286912739276886,
0.07116580009460449,
0.04118490219116211,
0.1434200406074524,
0.37236136198043823,
-0.1450575888156891,
-0.41182997822761536,
-0.3537619411945343,
0.1704351305961609,
0.26140671968460083,
-0.050959039479494095,
-0.15284857153892517,
0.17795005440711975,
-0.03243894875049591,
0.04708739370107651,
0.2267627865076065,
0.5984982252120972,
0.004253320395946503,
-0.22613894939422607,
-0.1560249775648117,
-0.5074218511581421,
-0.109614796936512,
-0.18449075520038605,
0.03977234661579132,
0.12632322311401367,
0.2239333987236023,
0.42608383297920227,
0.16037380695343018,
0.3495645523071289,
-0.6112046241760254,
0.1005195900797844,
0.4970496594905853,
-0.37598153948783875,
-0.09749427437782288,
0.0008433610200881958,
0.22930173575878143,
-0.10838834196329117,
-0.03951926901936531,
-0.03015342727303505,
-0.12122485786676407,
-0.011472851037979126,
-0.2155916392803192,
-0.13233360648155212,
-0.19891302287578583,
-0.4874396026134491,
0.3658253252506256,
-0.0141002107411623,
0.30056774616241455,
-0.004240022972226143,
-0.3756934404373169,
-0.04667877033352852,
0.02043190225958824,
-0.13265468180179596,
-0.02845034748315811,
0.07238426059484482,
0.8625946044921875,
0.08113393187522888,
-0.032952044159173965,
-0.491761714220047,
0.05856511369347572,
-0.05495690554380417,
-0.11216788738965988,
-0.42798927426338196,
0.383798211812973,
-0.2515023350715637,
-0.07745391130447388,
0.02000291645526886,
0.07532884180545807,
0.16508564352989197,
0.13318657875061035,
-0.28320080041885376,
-0.41897454857826233,
0.7813525199890137,
-0.1727447211742401,
0.15305477380752563,
0.18688000738620758,
0.006286680698394775,
-0.012655846774578094,
-0.09429649263620377,
-0.5816880464553833,
0.139963299036026,
0.031012289226055145,
-0.2207910120487213,
0.13336817920207977,
0.07108460366725922,
0.24821732938289642,
-0.06203090026974678,
-0.03647836297750473,
0.46790754795074463,
0.07188524305820465,
-0.42142197489738464,
0.05866255238652229,
0.12890709936618805
] |
https://github.com/huggingface/datasets/issues/4697 | Trouble with streaming frgfm/imagenette vision dataset with TAR archive | Hi @frgfm, streaming a dataset that contains a TAR file requires some tweaks because (contrary to ZIP files), tha TAR archive does not allow random access to any of the contained member files. Instead they have to be accessed sequentially (in the order in which they were put into the TAR file when created) and yielded.
So when iterating over the TAR file content, when an image file is found, we need to yield it (and not keeping it in memory, which will require huge RAM memory for large datasets). But when yielding an image file, we also need to yield with it what we call "metadata": the class label, and other textual information (for example, for audio files, sometimes we also add info such as the speaker ID, their sex, their age,...).
All this information usually is stored in what we call the metadata file: either a JSON or a CSV/TSV file.
But if this is also inside the TAR archive, we need to find this file in the first place when iterating the TAR archive, so that we already have this information when we find an image file and we can yield the image file and its metadata info.
Therefore:
- either the TAR archive contains the metadata file as the first member when iterating it (something we cannot change as it is done at the creation of the TAR file)
- or if not, then we need to have the metadata file elsewhere
- in these cases, what we do (if the dataset license allows it) is:
- we download the TAR file locally, we extract the metadata file and we host the metadata on the Hub
- we modify the dataset loading script so that it first downloads the metadata file (and reads it) and only then starts iterating the content of the TAR archive file
See an example of this process we recently did for "google/fleurs" (their metadata files for "train" were at the end of the TAR archives, after all audio files): https://huggingface.co/datasets/google/fleurs/discussions/4
- we uploaded the metadata file to the Hub
- we adapted the loading script to use it | ### Link
https://huggingface.co/datasets/frgfm/imagenette
### Description
Hello there :wave:
Thanks for the amazing work you've done with HF Datasets! I've just started playing with it, and managed to upload my first dataset. But for the second one, I'm having trouble with the preview since there is some archive extraction involved :sweat_smile:
Basically, I get a:
```
Status code: 400
Exception: NotImplementedError
Message: Extraction protocol for TAR archives like 'https://s3.amazonaws.com/fast-ai-imageclas/imagenette2.tgz' is not implemented in streaming mode. Please use `dl_manager.iter_archive` instead.
```
I've tried several things and checked this issue https://github.com/huggingface/datasets/issues/4181 as well, but no luck so far!
Could you point me in the right direction please? :pray:
### Owner
Yes | 357 | Trouble with streaming frgfm/imagenette vision dataset with TAR archive
### Link
https://huggingface.co/datasets/frgfm/imagenette
### Description
Hello there :wave:
Thanks for the amazing work you've done with HF Datasets! I've just started playing with it, and managed to upload my first dataset. But for the second one, I'm having trouble with the preview since there is some archive extraction involved :sweat_smile:
Basically, I get a:
```
Status code: 400
Exception: NotImplementedError
Message: Extraction protocol for TAR archives like 'https://s3.amazonaws.com/fast-ai-imageclas/imagenette2.tgz' is not implemented in streaming mode. Please use `dl_manager.iter_archive` instead.
```
I've tried several things and checked this issue https://github.com/huggingface/datasets/issues/4181 as well, but no luck so far!
Could you point me in the right direction please? :pray:
### Owner
Yes
Hi @frgfm, streaming a dataset that contains a TAR file requires some tweaks because (contrary to ZIP files), tha TAR archive does not allow random access to any of the contained member files. Instead they have to be accessed sequentially (in the order in which they were put into the TAR file when created) and yielded.
So when iterating over the TAR file content, when an image file is found, we need to yield it (and not keeping it in memory, which will require huge RAM memory for large datasets). But when yielding an image file, we also need to yield with it what we call "metadata": the class label, and other textual information (for example, for audio files, sometimes we also add info such as the speaker ID, their sex, their age,...).
All this information usually is stored in what we call the metadata file: either a JSON or a CSV/TSV file.
But if this is also inside the TAR archive, we need to find this file in the first place when iterating the TAR archive, so that we already have this information when we find an image file and we can yield the image file and its metadata info.
Therefore:
- either the TAR archive contains the metadata file as the first member when iterating it (something we cannot change as it is done at the creation of the TAR file)
- or if not, then we need to have the metadata file elsewhere
- in these cases, what we do (if the dataset license allows it) is:
- we download the TAR file locally, we extract the metadata file and we host the metadata on the Hub
- we modify the dataset loading script so that it first downloads the metadata file (and reads it) and only then starts iterating the content of the TAR archive file
See an example of this process we recently did for "google/fleurs" (their metadata files for "train" were at the end of the TAR archives, after all audio files): https://huggingface.co/datasets/google/fleurs/discussions/4
- we uploaded the metadata file to the Hub
- we adapted the loading script to use it | [
-0.33083298802375793,
-0.2087913602590561,
0.01420789584517479,
0.5364786982536316,
0.06470905244350433,
-0.046643514186143875,
-0.3245674669742584,
0.16045556962490082,
-0.05414099991321564,
0.03379242122173309,
-0.2253723442554474,
-0.11467744410037994,
-0.07856869697570801,
0.05437866598367691,
-0.2844540476799011,
-0.34512418508529663,
-0.24930819869041443,
-0.007406748831272125,
-0.35752275586128235,
-0.08936509490013123,
-0.09015530347824097,
0.3013966381549835,
-0.021172676235437393,
0.013808540999889374,
0.09619259089231491,
-0.012209473177790642,
0.023736240342259407,
0.0790872722864151,
-0.33555668592453003,
0.10082457214593887,
0.1838476061820984,
0.06034228578209877,
0.3658844530582428,
0.46416157484054565,
-0.00012181943748146296,
-0.04565255343914032,
0.16581088304519653,
-0.12592647969722748,
-0.05012532323598862,
-0.4298621416091919,
-0.03933264687657356,
0.2398359179496765,
-0.10742490738630295,
-0.0196990966796875,
-0.08240047097206116,
-0.4303160309791565,
0.1918710470199585,
-0.2971964478492737,
0.5553225874900818,
0.1338915228843689,
0.055350109934806824,
0.2653117775917053,
-0.11707299202680588,
0.035369690507650375,
0.47828105092048645,
0.28421249985694885,
-0.020648464560508728,
-0.013845125213265419,
-0.23332512378692627,
-0.3572205901145935,
-0.01645752042531967,
0.4360487163066864,
-0.0004832763224840164,
0.11212140321731567,
0.41884738206863403,
0.0906023308634758,
-0.16606417298316956,
-0.5508848428726196,
-0.2247636616230011,
0.4646610915660858,
0.6167656183242798,
0.10860344022512436,
-0.4226585924625397,
0.1308450698852539,
-0.12624907493591309,
-0.26736339926719666,
0.09619832038879395,
0.30836766958236694,
-0.20015756785869598,
0.11312118172645569,
-0.24856144189834595,
-0.1658315807580948,
-0.38736802339553833,
0.1218634843826294,
-0.09105142951011658,
0.08753709495067596,
-0.09780611842870712,
0.06334831565618515,
0.3587493300437927,
0.009767478331923485,
0.0655878484249115,
-0.14053602516651154,
-0.22025731205940247,
0.06691277772188187,
-0.25919055938720703,
0.04163868725299835,
-0.16665172576904297,
0.10466431081295013,
0.07534145563840866,
0.3344342112541199,
0.02540159970521927,
-0.003337368369102478,
-0.14704391360282898,
0.16293133795261383,
0.08496708422899246,
-0.003902001306414604,
-0.12178162485361099,
0.219890296459198,
0.16944029927253723,
0.17838114500045776,
0.18950311839580536,
-0.3328906297683716,
0.09001150727272034,
0.12452494353055954,
-0.28285926580429077,
-0.2889443635940552,
0.07347922027111053,
-0.36976417899131775,
-0.14701922237873077,
0.11564663052558899,
-0.21274438500404358,
-0.2637830078601837,
-0.1423758864402771,
0.280416876077652,
-0.24653375148773193,
-0.15976321697235107,
0.2853337526321411,
0.3558409810066223,
-0.17354163527488708,
-0.39389705657958984,
-0.1030830666422844,
0.03090570494532585,
-0.3385443687438965,
0.23285773396492004,
-0.001246429979801178,
-0.07353360950946808,
0.010186610743403435,
0.12112415581941605,
0.22098825871944427,
0.4069302976131439,
0.15581358969211578,
-0.3774561583995819,
0.2791394591331482,
0.22249320149421692,
-0.0032917074859142303,
0.25418373942375183,
0.4039856493473053,
0.19675250351428986,
0.014781907200813293,
-0.09536147862672806,
-0.15485891699790955,
-0.16231034696102142,
-0.09909957647323608,
0.009475095197558403,
-0.1953389197587967,
0.06431671977043152,
-0.5707967281341553,
0.1614757925271988,
-0.08889102190732956,
-0.21400395035743713,
-0.0383506640791893,
-0.048992447555065155,
-0.33291471004486084,
0.07508739084005356,
0.15000899136066437,
0.39365553855895996,
-0.4303461015224457,
0.06118272244930267,
-0.2831830680370331,
0.0000671781599521637,
0.4779694378376007,
0.27100062370300293,
-0.15189282596111298,
-0.08182758837938309,
-0.3017807900905609,
0.2645747661590576,
0.3287290930747986,
-0.3032262921333313,
-0.16304746270179749,
0.6835677623748779,
-0.07156707346439362,
0.3520834743976593,
0.23578155040740967,
-0.17534644901752472,
0.37640634179115295,
-0.31898200511932373,
-0.3391033113002777,
0.3700423836708069,
-0.12971708178520203,
-0.14482492208480835,
-0.12363673746585846,
-0.19225412607192993,
-0.13126112520694733,
0.05410010740160942,
0.12040945887565613,
0.1281045526266098,
0.16078197956085205,
-0.10713467746973038,
0.25747397541999817,
-0.06592032313346863,
0.32700061798095703,
0.158293217420578,
0.16492700576782227,
0.16097265481948853,
-0.13471238315105438,
0.3006732761859894,
0.010307561606168747,
0.19130191206932068,
-0.3345227539539337,
0.01012294739484787,
-0.33500486612319946,
0.006152357906103134,
0.1392115354537964,
-0.15827928483486176,
-0.02816324308514595,
-0.24273329973220825,
-0.056181833148002625,
0.0656278133392334,
-0.07220731675624847,
-0.20369195938110352,
-0.10583338141441345,
0.6284758448600769,
-0.07593854516744614,
0.13283474743366241,
-0.09306611120700836,
0.617746114730835,
0.10562584549188614,
-0.1671273559331894,
0.06179478019475937,
-0.4310106039047241,
0.10882116109132767,
-0.17269544303417206,
-0.1944757103919983,
0.352138489484787,
-0.15303558111190796,
0.055914994329214096,
0.0896114706993103,
0.19424600899219513,
0.1769830882549286,
-0.47873395681381226,
0.23694615066051483,
0.2055647224187851,
0.09646165370941162,
0.055467426776885986,
-0.12282662838697433,
0.1434849351644516,
0.13586005568504333,
0.415840744972229,
0.19936509430408478,
-0.06379402428865433,
-0.07017745077610016,
0.07964803278446198,
0.028848106041550636,
-0.18578527867794037,
0.16435110569000244,
-0.19124281406402588,
-0.388852596282959,
-0.40263453125953674,
-0.3388570547103882,
0.17939309775829315,
0.09875032305717468,
0.13519202172756195,
-0.2947850227355957,
0.23098015785217285,
-0.12227214127779007,
-0.04777812957763672,
0.33440783619880676,
0.14736226201057434,
0.38303202390670776,
0.22957062721252441,
0.12607364356517792,
0.091171495616436,
0.0442860871553421,
-0.0010680248960852623,
0.15254047513008118,
0.0734860748052597,
0.26088690757751465,
0.014727327972650528,
-0.06465017795562744,
0.1384415328502655,
-0.21605843305587769,
-0.35655727982521057,
0.0609903410077095,
0.23606990277767181,
-0.13589762151241302,
0.374763548374176,
-0.5558868050575256,
-0.7099143266677856,
0.1007385104894638,
0.22958248853683472,
-0.11231693625450134,
-0.35754135251045227,
-0.0900302529335022,
0.5625478625297546,
0.07216015458106995,
-0.08283478766679764,
-0.01813107170164585,
-0.13075391948223114,
-0.021196667104959488,
0.1283058524131775,
-0.25389352440834045,
0.08706599473953247,
-0.12407407909631729,
-0.011213896796107292,
0.23290574550628662,
-0.1652928590774536,
0.24987347424030304,
-0.04076772183179855,
0.020894896239042282,
-0.5428450703620911,
-0.16952501237392426,
0.6158952116966248,
-0.07928528636693954,
0.3338426947593689,
-0.09433969855308533,
0.42044132947921753,
-0.2625865638256073,
-0.19908103346824646,
0.008348020724952221,
-0.1907285749912262,
-0.2023441642522812,
0.05258799344301224,
-0.06441710889339447,
0.18899740278720856,
-0.1951238214969635,
-0.007930606603622437,
-0.2023700624704361,
-0.39855295419692993,
0.09541375935077667,
-0.12690287828445435,
0.10926000028848648,
0.3661610782146454,
-0.12991632521152496,
-0.2262078821659088,
-0.07270213961601257,
-0.14206090569496155,
-0.2644205391407013,
-0.488335520029068,
0.5767605900764465,
-0.34805840253829956,
-0.37561628222465515,
0.20998966693878174,
0.05960274487733841,
0.13740429282188416,
0.5325713157653809,
-0.5199676156044006,
-0.20872502028942108,
0.0031227990984916687,
-0.029097281396389008,
-0.09243558347225189,
-0.04380301386117935,
0.05701686069369316,
-0.21269193291664124,
-0.007700398564338684,
-0.12236542999744415,
0.17518599331378937,
0.10612833499908447,
0.07856237888336182,
0.5248087048530579,
0.1360912024974823,
0.3941010534763336,
0.09015864133834839,
0.4942263960838318,
0.32205021381378174,
0.25756701827049255,
0.4978642165660858,
0.28101852536201477,
0.23819726705551147,
0.12775398790836334,
0.09207451343536377,
0.17042167484760284,
-0.15003374218940735,
0.13148877024650574,
0.19649258255958557,
-0.06749331206083298,
-0.36448344588279724,
-0.14723780751228333,
0.3252125084400177,
-0.29949113726615906,
-0.2940853536128998,
0.05493038147687912,
0.21100258827209473,
0.1520368456840515,
0.10474266111850739,
0.12694057822227478,
0.09356983006000519,
-0.24055400490760803,
0.06224817410111427,
0.5462914705276489,
0.3302094638347626,
0.21678587794303894,
0.1563146561384201,
0.07733382284641266,
-0.16904902458190918,
0.3362334966659546,
0.03270843252539635,
0.07818593829870224,
-0.19282762706279755,
0.05676117539405823,
0.04290318861603737,
0.06921260058879852,
0.5413162708282471,
-0.5943330526351929,
-0.1291411817073822,
0.05937008932232857,
-0.3005918860435486,
-0.13322871923446655,
-0.2603450119495392,
-0.0972282886505127,
-0.1665768176317215,
-0.3546801507472992,
0.09419779479503632,
-0.4078744947910309,
-0.3746170401573181,
0.2890293002128601,
-0.24935364723205566,
-0.03843819722533226,
-0.20955327153205872,
0.08767752349376678,
-0.16985824704170227,
-0.0724918469786644,
-0.19412612915039062,
0.0010075457394123077,
-0.13979275524616241,
-0.16475144028663635,
0.15426696836948395,
0.04822969436645508,
0.33250197768211365,
0.4559609293937683,
0.07255396246910095,
0.34733137488365173,
0.1290683001279831,
0.08307313919067383,
0.49593645334243774,
-0.1559457927942276,
0.2951820194721222,
0.3967170715332031,
0.20803202688694,
-0.1891733705997467,
0.37762388586997986,
0.09974805265665054,
0.047762513160705566,
0.40373387932777405,
0.0288107767701149,
0.05041868984699249,
-0.0412089079618454,
0.18895761668682098,
-0.27991312742233276,
0.23917043209075928,
0.3721640408039093,
-0.44806739687919617,
-0.2575072646141052,
-0.6053953766822815,
0.26748764514923096,
0.30189627408981323,
-0.06916967034339905,
0.1014130562543869,
0.20179757475852966,
-0.0532199889421463,
0.1012384369969368,
0.0870627611875534,
1.0980788469314575,
-0.05332270264625549,
0.01923949271440506,
0.22127500176429749,
-0.11520007252693176,
0.18262772262096405,
-0.46734994649887085,
-0.020704783499240875,
-0.10283854603767395,
-0.7755379676818848,
-0.29544705152511597,
0.053842443972826004,
0.1744062304496765,
0.11294163018465042,
-0.05964885279536247,
0.3925975263118744,
0.11884275078773499,
0.1211710274219513,
0.06755366921424866,
0.026260972023010254,
-0.060276538133621216,
-0.30252155661582947,
-0.18677277863025665,
0.10945023596286774,
-0.08051618933677673,
0.32115527987480164,
-0.15282422304153442,
-0.3581421375274658,
-0.02775520645081997,
-0.03623489663004875,
-0.18086367845535278,
0.27686530351638794,
-0.2015456110239029,
0.013816666789352894,
-0.1861554980278015,
-0.13707855343818665,
0.2373942732810974,
0.1112964004278183,
-0.040257930755615234,
-0.09674595296382904,
-0.05315227061510086,
0.06198476254940033,
-0.07980307191610336,
-0.06515153497457504,
-0.2944801449775696,
-0.13638244569301605,
0.35045140981674194,
-0.24238860607147217,
-0.071275994181633,
0.02458527684211731,
-0.013330156914889812,
0.09399887919425964,
0.07073810696601868,
-0.24961788952350616,
0.07018966227769852,
0.04336858168244362,
0.14172588288784027,
0.18310514092445374,
-0.205274760723114,
0.003743000328540802,
-0.05127342417836189,
0.03161214664578438,
-0.132753387093544,
0.25628548860549927,
0.23131628334522247,
-0.1036074161529541,
-0.15133342146873474,
0.5287625789642334,
-0.12751132249832153,
0.18612708151340485,
0.2800629734992981,
0.24826417863368988,
-0.3204250931739807,
-0.09787453711032867,
-0.22517180442810059,
0.3499148190021515,
-0.5660898685455322,
-0.037779416888952255,
-0.09341198951005936,
0.22508709132671356,
0.25764819979667664,
0.2805911898612976,
0.18477953970432281,
-0.367708295583725,
-0.19719848036766052,
-0.24878451228141785,
-0.04281584173440933,
0.4018394351005554,
-0.4372018277645111,
0.13049103319644928,
-0.2897190451622009,
-0.1408505141735077,
0.05946970731019974,
0.04973191022872925,
-0.21254490315914154,
-0.027948154136538506,
0.172190323472023,
0.11303095519542694,
0.3694220781326294,
-0.14790701866149902,
0.6221138834953308,
-0.08123251795768738,
-0.04419999569654465,
0.21688883006572723,
-0.546596348285675,
0.030180905014276505,
-0.3077440559864044,
0.26575326919555664,
0.12233254313468933,
-0.40391790866851807,
0.1398085504770279,
-0.25947684049606323,
-0.1929226517677307,
-0.10174021124839783,
0.10647782683372498,
-0.002232193946838379,
0.13781169056892395,
-0.16052143275737762,
0.2583427429199219,
0.027900472283363342,
-0.26195991039276123,
0.18311971426010132,
0.2627551555633545,
0.629859209060669,
-0.0925019383430481,
-0.23411083221435547,
-0.0595698207616806,
-0.26985132694244385,
-0.09470952302217484,
0.1509387195110321,
0.24596188962459564,
-0.11191517859697342,
0.7290714383125305,
-0.2046874314546585,
0.25627458095550537,
-0.07549131661653519,
0.4371838867664337,
0.25873053073883057,
0.15029579401016235,
-0.2858136296272278,
0.17443716526031494,
0.027524303644895554,
-0.06053396686911583,
0.03458501771092415,
-0.10396347939968109,
0.19961316883563995,
-0.09612569957971573,
0.31712692975997925,
0.010193943977355957,
0.3105716407299042,
-0.19943659007549286,
0.044953398406505585,
0.2862792909145355,
0.004195785149931908,
0.12301625311374664,
0.13868530094623566,
0.018892761319875717,
0.19114850461483002,
0.1452387124300003,
0.14412587881088257,
0.14740005135536194,
-0.19292409718036652,
-0.13889837265014648,
0.1517612189054489,
0.008039837703108788,
0.17234653234481812,
0.09482589364051819,
-0.8101422786712646,
-0.19113272428512573,
0.3729526400566101,
0.48233896493911743,
0.3808341920375824,
0.043921515345573425,
0.19942417740821838,
0.2779354453086853,
-0.24461629986763,
-0.13697801530361176,
0.3961423933506012,
0.3088332712650299,
0.10116593539714813,
-0.14855147898197174,
-0.15185409784317017,
-0.3933541178703308,
0.04199735447764397,
-0.10973353683948517,
-0.030360989272594452,
0.1877073347568512,
0.30155885219573975,
0.1631680428981781,
-0.04088291525840759,
-0.3336910009384155,
0.07678501307964325,
0.25239524245262146,
-0.2560153603553772,
0.25761792063713074,
0.32128167152404785,
0.0906374529004097,
0.20140710473060608,
0.22271259129047394,
0.23030689358711243,
0.07975196838378906,
0.03220309317111969,
0.09872888028621674,
0.14293766021728516,
-0.10992012172937393,
0.2815989851951599,
0.06721420586109161,
0.15219593048095703,
-0.16981369256973267,
0.222239151597023,
-0.07703571021556854,
-0.09750133007764816,
0.4300900995731354,
-0.2767207622528076,
0.2662716805934906,
-0.021344207227230072,
0.020585723221302032,
0.2002214789390564,
0.3208736479282379,
-0.15316630899906158,
-0.38494712114334106,
-0.3182031512260437,
0.18502390384674072,
0.22189506888389587,
-0.1112857535481453,
-0.14114156365394592,
0.198441743850708,
-0.029376117512583733,
-0.05724376067519188,
0.22659458220005035,
0.5537987947463989,
-0.10390793532133102,
-0.22973793745040894,
-0.14191614091396332,
-0.5183662176132202,
-0.11515466123819351,
-0.18034981191158295,
-0.005889542400836945,
0.10024549067020416,
0.2746693789958954,
0.42590197920799255,
0.14152894914150238,
0.3349286913871765,
-0.664259135723114,
0.11972630769014359,
0.5373585224151611,
-0.41624364256858826,
-0.1271592378616333,
0.09266147017478943,
0.20998921990394592,
-0.09230495244264603,
-0.12033998966217041,
0.015538182109594345,
-0.16038399934768677,
-0.035412080585956573,
-0.16229936480522156,
-0.13355481624603271,
-0.1752222776412964,
-0.46310779452323914,
0.44815027713775635,
0.052053093910217285,
0.2122766226530075,
-0.04527910426259041,
-0.33227384090423584,
-0.07053880393505096,
0.07217422872781754,
-0.14588147401809692,
-0.010784521698951721,
0.13119880855083466,
0.9030828475952148,
0.08376003056764603,
0.02063697762787342,
-0.5066821575164795,
0.12081048637628555,
-0.08874207735061646,
-0.1433461457490921,
-0.42402467131614685,
0.38772454857826233,
-0.2783217132091522,
-0.061745453625917435,
-0.023882009088993073,
0.14720553159713745,
0.1900133341550827,
0.03354579210281372,
-0.3733830451965332,
-0.43977469205856323,
0.786727786064148,
-0.21267035603523254,
0.010857950896024704,
0.19338659942150116,
0.0343916192650795,
-0.002515949308872223,
-0.09672126173973083,
-0.5002819895744324,
0.1322736144065857,
0.020882485434412956,
-0.1947300136089325,
0.052140120416879654,
0.08420941233634949,
0.21747508645057678,
-0.015366733074188232,
-0.06352119147777557,
0.44139549136161804,
0.08596208691596985,
-0.4644998013973236,
0.0451664961874485,
0.08157843351364136
] |
https://github.com/huggingface/datasets/issues/4697 | Trouble with streaming frgfm/imagenette vision dataset with TAR archive | Hi @albertvillanova :wave:
Thanks, since my last message, I went through the repo of https://huggingface.co/datasets/food101/blob/main/food101.py and managed to get it to work in the end :pray:
Here it is: https://huggingface.co/datasets/frgfm/imagenette
I appreciate you opening an issue to document the process, it might help a few! | ### Link
https://huggingface.co/datasets/frgfm/imagenette
### Description
Hello there :wave:
Thanks for the amazing work you've done with HF Datasets! I've just started playing with it, and managed to upload my first dataset. But for the second one, I'm having trouble with the preview since there is some archive extraction involved :sweat_smile:
Basically, I get a:
```
Status code: 400
Exception: NotImplementedError
Message: Extraction protocol for TAR archives like 'https://s3.amazonaws.com/fast-ai-imageclas/imagenette2.tgz' is not implemented in streaming mode. Please use `dl_manager.iter_archive` instead.
```
I've tried several things and checked this issue https://github.com/huggingface/datasets/issues/4181 as well, but no luck so far!
Could you point me in the right direction please? :pray:
### Owner
Yes | 45 | Trouble with streaming frgfm/imagenette vision dataset with TAR archive
### Link
https://huggingface.co/datasets/frgfm/imagenette
### Description
Hello there :wave:
Thanks for the amazing work you've done with HF Datasets! I've just started playing with it, and managed to upload my first dataset. But for the second one, I'm having trouble with the preview since there is some archive extraction involved :sweat_smile:
Basically, I get a:
```
Status code: 400
Exception: NotImplementedError
Message: Extraction protocol for TAR archives like 'https://s3.amazonaws.com/fast-ai-imageclas/imagenette2.tgz' is not implemented in streaming mode. Please use `dl_manager.iter_archive` instead.
```
I've tried several things and checked this issue https://github.com/huggingface/datasets/issues/4181 as well, but no luck so far!
Could you point me in the right direction please? :pray:
### Owner
Yes
Hi @albertvillanova :wave:
Thanks, since my last message, I went through the repo of https://huggingface.co/datasets/food101/blob/main/food101.py and managed to get it to work in the end :pray:
Here it is: https://huggingface.co/datasets/frgfm/imagenette
I appreciate you opening an issue to document the process, it might help a few! | [
-0.2610359489917755,
-0.2777770757675171,
0.018438346683979034,
0.46521812677383423,
0.08863462507724762,
-0.016148965805768967,
-0.33086514472961426,
0.1595640480518341,
-0.034426696598529816,
-0.01606428623199463,
-0.17850466072559357,
-0.15198789536952972,
-0.06587780267000198,
0.22185494005680084,
-0.29607442021369934,
-0.32202771306037903,
-0.16124391555786133,
0.02691441774368286,
-0.3920361399650574,
-0.05154130980372429,
-0.05185127258300781,
0.3584029972553253,
-0.02098730579018593,
-0.04191960394382477,
0.13170412182807922,
0.006546344608068466,
-0.018002213910222054,
0.04058106243610382,
-0.42847150564193726,
0.1270548552274704,
0.19013755023479462,
0.0439288467168808,
0.33881744742393494,
0.4473338723182678,
-0.0001247161126229912,
-0.04890631139278412,
0.16679906845092773,
-0.08704584836959839,
-0.08312265574932098,
-0.471321702003479,
-0.023701228201389313,
0.1915656328201294,
0.0038220849819481373,
0.10780686885118484,
-0.03827536106109619,
-0.4622294008731842,
0.13428634405136108,
-0.17171671986579895,
0.5529927015304565,
0.14347627758979797,
0.06939029693603516,
0.2756402790546417,
-0.053152862936258316,
0.015373077243566513,
0.38108503818511963,
0.2100229114294052,
-0.036877021193504333,
0.006526622921228409,
-0.27502769231796265,
-0.30626216530799866,
0.14247024059295654,
0.48519405722618103,
0.019608454778790474,
0.05890413001179695,
0.252239853143692,
0.10447060316801071,
-0.1298297643661499,
-0.5582923889160156,
-0.24204182624816895,
0.397728830575943,
0.46757546067237854,
0.13650855422019958,
-0.5026376843452454,
0.14532268047332764,
-0.04677227512001991,
-0.219150111079216,
-0.008184723556041718,
0.29630711674690247,
-0.18827271461486816,
0.15033891797065735,
-0.29565849900245667,
-0.24437157809734344,
-0.3462369441986084,
0.08692304790019989,
-0.10143356025218964,
0.04284827783703804,
-0.1498596966266632,
0.0090174600481987,
0.4004608690738678,
-0.01095249131321907,
-0.01657106727361679,
-0.0964847207069397,
-0.20486953854560852,
0.08848778158426285,
-0.27173280715942383,
0.06112451106309891,
-0.19949859380722046,
0.17843730747699738,
0.04048312455415726,
0.29423022270202637,
0.04077095538377762,
0.02031175047159195,
-0.16293081641197205,
0.13277468085289001,
0.07031930983066559,
0.12727868556976318,
-0.10962619632482529,
0.23419331014156342,
0.14664319157600403,
0.32642310857772827,
0.14740972220897675,
-0.3019329011440277,
0.061618782579898834,
0.09031776338815689,
-0.3529829978942871,
-0.3560928404331207,
0.06699125468730927,
-0.39413982629776,
-0.18950089812278748,
0.10420399159193039,
-0.1764739751815796,
-0.2115413248538971,
-0.10951728373765945,
0.32788366079330444,
-0.2837197184562683,
-0.13828665018081665,
0.2702494263648987,
0.41476571559906006,
-0.22010190784931183,
-0.34829211235046387,
-0.17333045601844788,
0.018682796508073807,
-0.2912246584892273,
0.15469279885292053,
0.009983152151107788,
-0.17863933742046356,
-0.01743312180042267,
0.1278218924999237,
0.29292726516723633,
0.4390793740749359,
0.035659484565258026,
-0.2572040259838104,
0.230086088180542,
0.21122963726520538,
0.0805642306804657,
0.2019032984972,
0.502902090549469,
0.24892334640026093,
0.08418432623147964,
-0.14856213331222534,
-0.15977811813354492,
-0.11302406340837479,
-0.11077648401260376,
0.02593221142888069,
-0.2753030061721802,
-0.03547672927379608,
-0.4988272488117218,
0.1339542716741562,
-0.10523117333650589,
-0.2365003377199173,
-0.11956881731748581,
-0.01721472293138504,
-0.2044251561164856,
0.05793948844075203,
0.19892138242721558,
0.3701765537261963,
-0.27355754375457764,
-0.03088315576314926,
-0.2241213172674179,
-0.027252618223428726,
0.4730577766895294,
0.31431737542152405,
-0.1289873570203781,
-0.19077244400978088,
-0.24816004931926727,
0.272632896900177,
0.330335408449173,
-0.34694844484329224,
-0.15915732085704803,
0.6892728805541992,
-0.03585929796099663,
0.34475502371788025,
0.22527030110359192,
-0.24196173250675201,
0.34420108795166016,
-0.24088798463344574,
-0.39145681262016296,
0.352283239364624,
-0.08130087703466415,
-0.1556156724691391,
-0.15769422054290771,
-0.26264688372612,
0.014163188636302948,
0.08371682465076447,
0.11349441111087799,
0.16577857732772827,
0.1127275750041008,
-0.198311448097229,
0.25637954473495483,
-0.016214724630117416,
0.3622015416622162,
0.15667033195495605,
0.25455835461616516,
0.1117723137140274,
-0.06980422139167786,
0.23487922549247742,
0.03925648331642151,
0.09024771302938461,
-0.4296533167362213,
0.10412383079528809,
-0.4260696768760681,
0.01572538912296295,
0.03197886422276497,
-0.17550423741340637,
-0.08772061765193939,
-0.2894004285335541,
-0.03987149894237518,
-0.06298446655273438,
-0.029911072924733162,
-0.07127965986728668,
-0.12141455709934235,
0.6279147863388062,
0.015208719298243523,
0.19085930287837982,
-0.10001283884048462,
0.6391502022743225,
0.09125197678804398,
-0.2269941121339798,
0.09230510890483856,
-0.4267716407775879,
0.13818100094795227,
-0.1367235630750656,
-0.20432308316230774,
0.3057820200920105,
-0.23170743882656097,
0.20455332100391388,
0.17000576853752136,
0.10620147734880447,
0.19174838066101074,
-0.4990409314632416,
0.27078941464424133,
0.20277276635169983,
0.0366242378950119,
0.05313029885292053,
-0.11887893825769424,
0.20300433039665222,
0.07778279483318329,
0.3748357892036438,
0.21105055510997772,
-0.013633308932185173,
-0.051448412239551544,
0.07933348417282104,
-0.00911125261336565,
-0.24877440929412842,
0.22892983257770538,
-0.28765106201171875,
-0.31372639536857605,
-0.4601864516735077,
-0.29013004899024963,
0.17498314380645752,
-0.04760415479540825,
0.1671990156173706,
-0.29284167289733887,
0.2382793426513672,
-0.07316253334283829,
-0.08413930237293243,
0.2971447706222534,
0.10733646154403687,
0.4062522053718567,
0.21458376944065094,
0.12014459073543549,
0.1417388617992401,
0.04085278511047363,
0.008839813992381096,
0.1954708993434906,
-0.020642369985580444,
0.22499226033687592,
0.019149713218212128,
-0.05793335288763046,
0.07366620749235153,
-0.21470919251441956,
-0.20268550515174866,
0.03230787068605423,
0.23749233782291412,
-0.10748523473739624,
0.34187033772468567,
-0.6362543106079102,
-0.8182837963104248,
0.05602230876684189,
0.07747247070074081,
-0.1545269936323166,
-0.4200242757797241,
-0.09827731549739838,
0.520957350730896,
0.129762202501297,
0.0011993041262030602,
-0.08914858847856522,
-0.2072942703962326,
-0.0479295551776886,
0.12173828482627869,
-0.28099989891052246,
0.1404222697019577,
-0.06728796660900116,
0.004456829279661179,
0.11282963305711746,
-0.08596258610486984,
0.2385619431734085,
-0.0388060137629509,
0.0146485585719347,
-0.4346160888671875,
-0.23270156979560852,
0.593157172203064,
-0.1217382550239563,
0.345191091299057,
-0.004402488470077515,
0.4217566251754761,
-0.3069753646850586,
-0.08644218742847443,
0.07777820527553558,
-0.3032137453556061,
-0.18411292135715485,
0.06697025895118713,
-0.0474383644759655,
0.2192075550556183,
-0.22402308881282806,
0.029709842056035995,
-0.3433288335800171,
-0.3511354327201843,
0.1351591795682907,
-0.13597992062568665,
0.03912784904241562,
0.3571546673774719,
-0.04118037968873978,
-0.23974759876728058,
-0.07994912564754486,
-0.19258135557174683,
-0.23119699954986572,
-0.41448986530303955,
0.5489441752433777,
-0.3493654429912567,
-0.4099951684474945,
0.21211972832679749,
0.08975937962532043,
0.18969175219535828,
0.40046507120132446,
-0.5024476051330566,
-0.1044965386390686,
0.0016018096357584,
-0.12047573924064636,
-0.017805874347686768,
0.058468423783779144,
0.023279830813407898,
-0.2601919174194336,
-0.022522376850247383,
-0.15802597999572754,
0.20896761119365692,
0.0725228488445282,
0.014877846464514732,
0.5366489887237549,
0.1508052945137024,
0.3745555579662323,
0.07450363039970398,
0.4547073245048523,
0.43559733033180237,
0.220617413520813,
0.5820677280426025,
0.21496756374835968,
0.2785075306892395,
0.1335703432559967,
-0.04207024723291397,
0.10213971138000488,
-0.1362796425819397,
0.12830960750579834,
0.15539078414440155,
-0.011810962110757828,
-0.29296040534973145,
-0.21975696086883545,
0.30788716673851013,
-0.3317757248878479,
-0.2640380561351776,
-0.04238063097000122,
0.13457874953746796,
0.13658961653709412,
0.11803531646728516,
0.0335400253534317,
0.10343080759048462,
-0.261141300201416,
0.009794764220714569,
0.6187387704849243,
0.3198140859603882,
0.2208370864391327,
0.15734529495239258,
0.009786113165318966,
-0.24787470698356628,
0.35772770643234253,
-0.03409403935074806,
0.12067540735006332,
-0.2007981389760971,
0.08717100322246552,
0.08644168078899384,
0.14980211853981018,
0.5848895907402039,
-0.5278365612030029,
-0.14856953918933868,
0.00007083453238010406,
-0.32414671778678894,
-0.15767812728881836,
-0.22865508496761322,
-0.0481858067214489,
-0.11184528470039368,
-0.2931097745895386,
0.15244482457637787,
-0.381955623626709,
-0.34164944291114807,
0.2590359151363373,
-0.2630271911621094,
-0.05361369252204895,
-0.19842840731143951,
-0.003853440284729004,
-0.1639564037322998,
-0.06819767504930496,
-0.23890939354896545,
0.018066322430968285,
-0.07910346984863281,
-0.28742414712905884,
0.1958639770746231,
0.06684909760951996,
0.2948276698589325,
0.4362635016441345,
0.022027574479579926,
0.3709934949874878,
0.0824606791138649,
0.0980122983455658,
0.4759405851364136,
-0.15159094333648682,
0.2718715965747833,
0.4756384789943695,
0.20009131729602814,
-0.17713981866836548,
0.3111070990562439,
0.18795983493328094,
0.06480886042118073,
0.40272390842437744,
0.04490216076374054,
0.0859023705124855,
0.09330572187900543,
0.23379892110824585,
-0.16198410093784332,
0.14378613233566284,
0.38119474053382874,
-0.39419135451316833,
-0.24650350213050842,
-0.47802144289016724,
0.25312182307243347,
0.30870571732521057,
-0.050753336399793625,
0.18687519431114197,
0.1637832671403885,
-0.04463578015565872,
0.04842793568968773,
-0.007976613938808441,
1.1305367946624756,
0.03570897504687309,
0.12238343060016632,
0.2322981357574463,
-0.1499280482530594,
0.16810312867164612,
-0.2541687488555908,
-0.09957808256149292,
-0.16856488585472107,
-0.6764991879463196,
-0.24337512254714966,
0.00042263418436050415,
0.21401655673980713,
0.001982875168323517,
-0.1363404244184494,
0.37570738792419434,
0.03302156180143356,
0.19002492725849152,
0.08577576279640198,
-0.0038571245968341827,
-0.17487427592277527,
-0.2063707709312439,
-0.3219373822212219,
0.10429312288761139,
-0.02176923304796219,
0.34262657165527344,
-0.13881957530975342,
-0.3923100233078003,
-0.05687163770198822,
-0.045296911150217056,
-0.14737306535243988,
0.3386637568473816,
-0.19477680325508118,
-0.028553087264299393,
-0.19162432849407196,
-0.15711241960525513,
0.18938769400119781,
0.16676536202430725,
-0.07919630408287048,
-0.14497025310993195,
-0.16940081119537354,
0.055010836571455,
-0.05436703562736511,
-0.06780098378658295,
-0.268325537443161,
-0.07457787543535233,
0.3093525171279907,
-0.27868756651878357,
-0.11843482404947281,
-0.011115483939647675,
0.022267337888479233,
0.11839978396892548,
0.010108783841133118,
-0.20712272822856903,
-0.08594842255115509,
-0.01818339340388775,
0.09812954068183899,
0.15715740621089935,
-0.09021678566932678,
-0.04275807738304138,
-0.030159924179315567,
0.12346814572811127,
-0.17360863089561462,
0.2591918706893921,
0.3106134235858917,
-0.07723193615674973,
-0.19226300716400146,
0.6319301128387451,
-0.12895157933235168,
0.06937649846076965,
0.2989526689052582,
0.28378039598464966,
-0.3166160583496094,
-0.08708111196756363,
-0.18018466234207153,
0.28280436992645264,
-0.5434433221817017,
-0.029456309974193573,
-0.09485292434692383,
0.20651774108409882,
0.24968945980072021,
0.31876644492149353,
0.15862709283828735,
-0.29606226086616516,
-0.14727327227592468,
-0.2570226192474365,
-0.05784652382135391,
0.42180335521698,
-0.36419832706451416,
0.14936190843582153,
-0.3337160348892212,
-0.09929303824901581,
0.06912259012460709,
0.016732769086956978,
-0.21026328206062317,
0.06545905768871307,
0.24539035558700562,
0.04251636937260628,
0.27882495522499084,
-0.1842328906059265,
0.7076888680458069,
-0.07139663398265839,
-0.028603622689843178,
0.24194401502609253,
-0.48793554306030273,
0.01520935446023941,
-0.2871226668357849,
0.25336912274360657,
0.12315960973501205,
-0.43474599719047546,
0.08827530592679977,
-0.25318363308906555,
-0.17891287803649902,
-0.026935413479804993,
0.1101011335849762,
0.043102532625198364,
0.1815810203552246,
-0.19170346856117249,
0.31304383277893066,
0.017852388322353363,
-0.16553400456905365,
0.158235102891922,
0.22391527891159058,
0.5946459770202637,
-0.07545797526836395,
-0.3041188418865204,
-0.02733241207897663,
-0.23962949216365814,
-0.06568621098995209,
0.05843164026737213,
0.32652348279953003,
-0.09364030510187149,
0.7405576109886169,
-0.26647621393203735,
0.2354586124420166,
-0.1645183265209198,
0.6006124019622803,
0.24431630969047546,
0.08511931449174881,
-0.1893131583929062,
0.23698198795318604,
0.025663569569587708,
-0.09846028685569763,
0.06592652946710587,
-0.05669282749295235,
0.18238016963005066,
-0.18015271425247192,
0.2942405641078949,
0.021119121462106705,
0.31219691038131714,
-0.15190798044204712,
0.0739019364118576,
0.3359535336494446,
0.057289499789476395,
0.1873444765806198,
0.03569197282195091,
-0.049584779888391495,
0.18850524723529816,
0.12669864296913147,
0.14795465767383575,
0.11960107833147049,
-0.28478705883026123,
-0.19408991932868958,
0.11068745702505112,
-0.06058860570192337,
0.19934892654418945,
0.12623171508312225,
-0.6420477032661438,
-0.25902026891708374,
0.33943307399749756,
0.3309439420700073,
0.3842106759548187,
-0.01727445423603058,
0.45119836926460266,
0.16285882890224457,
-0.2714720666408539,
-0.1423865109682083,
0.5245632529258728,
0.2827344834804535,
0.07265268266201019,
-0.11342770606279373,
-0.19190546870231628,
-0.4248998165130615,
0.0010888129472732544,
-0.07321828603744507,
-0.04001256823539734,
0.1500883251428604,
0.314879834651947,
0.1368878036737442,
-0.13701651990413666,
-0.37771907448768616,
0.09392476081848145,
0.2937517464160919,
-0.2047252207994461,
0.22155804932117462,
0.2950255274772644,
0.12374676764011383,
0.23757310211658478,
0.2755170464515686,
0.3664773106575012,
0.040619924664497375,
0.06901200115680695,
0.002165005076676607,
0.17330427467823029,
-0.08768019080162048,
0.2739987373352051,
0.13261131942272186,
0.26635369658470154,
-0.10665528476238251,
0.2126481980085373,
-0.059220269322395325,
-0.14414195716381073,
0.41855981945991516,
-0.27089518308639526,
0.2542596757411957,
-0.04743419215083122,
0.12060177326202393,
0.05046425014734268,
0.3800288736820221,
-0.18970143795013428,
-0.376819908618927,
-0.38118186593055725,
0.24870970845222473,
0.12097187340259552,
-0.1242780089378357,
-0.14283868670463562,
0.1409177929162979,
-0.03276705741882324,
0.012068427167832851,
0.2534245550632477,
0.5866438150405884,
-0.009980298578739166,
-0.22827939689159393,
-0.21822360157966614,
-0.5030830502510071,
-0.11214380711317062,
-0.12659408152103424,
0.000561857596039772,
0.05991940200328827,
0.19158431887626648,
0.3875018358230591,
0.14452427625656128,
0.415663480758667,
-0.6035539507865906,
0.11535385996103287,
0.5085115432739258,
-0.3551987111568451,
-0.08944179117679596,
-0.027370184659957886,
0.23911429941654205,
-0.042452212423086166,
-0.07904558628797531,
-0.024323437362909317,
-0.15710650384426117,
-0.023773755878210068,
-0.20023033022880554,
-0.11040682345628738,
-0.2822786271572113,
-0.6005920171737671,
0.46865057945251465,
0.13218070566654205,
0.2291877418756485,
-0.031409893184900284,
-0.3944828510284424,
-0.051813360303640366,
-0.028084130957722664,
-0.16144227981567383,
0.01821538805961609,
0.06628729403018951,
0.8315881490707397,
0.10145166516304016,
-0.14392685890197754,
-0.5003923177719116,
0.08658111095428467,
0.026952967047691345,
-0.16989798843860626,
-0.34978657960891724,
0.32777661085128784,
-0.20625180006027222,
-0.08842381834983826,
0.029488056898117065,
0.2641501724720001,
0.09959900379180908,
0.09872572869062424,
-0.3375023603439331,
-0.3980017900466919,
0.7735867500305176,
-0.2709064185619354,
0.06187868490815163,
0.19684916734695435,
0.0073515623807907104,
0.006443358957767487,
-0.2174074649810791,
-0.5629329681396484,
0.14198431372642517,
-0.037257831543684006,
-0.205454021692276,
0.11609382927417755,
0.19252625107765198,
0.2514324188232422,
-0.06726118922233582,
0.003551837056875229,
0.4633314609527588,
0.13426309823989868,
-0.3808576762676239,
0.0859697163105011,
0.12875472009181976
] |
https://github.com/huggingface/datasets/issues/4697 | Trouble with streaming frgfm/imagenette vision dataset with TAR archive | Great to see that you manage to make your dataset streamable. :rocket:
I'm closing this issue, as for the docs update there is another issue opened:
- #4711 | ### Link
https://huggingface.co/datasets/frgfm/imagenette
### Description
Hello there :wave:
Thanks for the amazing work you've done with HF Datasets! I've just started playing with it, and managed to upload my first dataset. But for the second one, I'm having trouble with the preview since there is some archive extraction involved :sweat_smile:
Basically, I get a:
```
Status code: 400
Exception: NotImplementedError
Message: Extraction protocol for TAR archives like 'https://s3.amazonaws.com/fast-ai-imageclas/imagenette2.tgz' is not implemented in streaming mode. Please use `dl_manager.iter_archive` instead.
```
I've tried several things and checked this issue https://github.com/huggingface/datasets/issues/4181 as well, but no luck so far!
Could you point me in the right direction please? :pray:
### Owner
Yes | 28 | Trouble with streaming frgfm/imagenette vision dataset with TAR archive
### Link
https://huggingface.co/datasets/frgfm/imagenette
### Description
Hello there :wave:
Thanks for the amazing work you've done with HF Datasets! I've just started playing with it, and managed to upload my first dataset. But for the second one, I'm having trouble with the preview since there is some archive extraction involved :sweat_smile:
Basically, I get a:
```
Status code: 400
Exception: NotImplementedError
Message: Extraction protocol for TAR archives like 'https://s3.amazonaws.com/fast-ai-imageclas/imagenette2.tgz' is not implemented in streaming mode. Please use `dl_manager.iter_archive` instead.
```
I've tried several things and checked this issue https://github.com/huggingface/datasets/issues/4181 as well, but no luck so far!
Could you point me in the right direction please? :pray:
### Owner
Yes
Great to see that you manage to make your dataset streamable. :rocket:
I'm closing this issue, as for the docs update there is another issue opened:
- #4711 | [
-0.31507495045661926,
-0.2543308436870575,
0.018048003315925598,
0.46111899614334106,
0.05447172373533249,
0.02368970215320587,
-0.29365235567092896,
0.18628506362438202,
0.008981790393590927,
0.00457000732421875,
-0.18533898890018463,
-0.15282566845417023,
-0.08943495154380798,
0.22161786258220673,
-0.2578490078449249,
-0.3165256977081299,
-0.16948989033699036,
-0.01738148182630539,
-0.3479844927787781,
-0.11282476782798767,
-0.02063753828406334,
0.3324214518070221,
-0.06350579857826233,
-0.021831482648849487,
0.15719221532344818,
-0.03719788044691086,
0.021160462871193886,
0.038774676620960236,
-0.4198669493198395,
0.11295566707849503,
0.17584353685379028,
0.09374643862247467,
0.34640398621559143,
0.43010377883911133,
-0.00012306355347391218,
-0.0983441174030304,
0.18188540637493134,
-0.10712003707885742,
-0.03437189757823944,
-0.4448595643043518,
-0.025173338130116463,
0.24372658133506775,
0.010091029107570648,
0.08771001547574997,
-0.03606444597244263,
-0.46285292506217957,
0.11225299537181854,
-0.18651001155376434,
0.5833966135978699,
0.15218797326087952,
0.08046965301036835,
0.3212393820285797,
-0.04395637661218643,
0.024696888402104378,
0.4033476710319519,
0.22383810579776764,
-0.08335434645414352,
-0.01061047613620758,
-0.29412636160850525,
-0.2864459455013275,
0.06947537511587143,
0.46486783027648926,
-0.0017656125128269196,
0.03946439549326897,
0.2988680899143219,
0.04661659896373749,
-0.11298752576112747,
-0.5340927839279175,
-0.26017799973487854,
0.45808103680610657,
0.5348609089851379,
0.13877353072166443,
-0.4747471809387207,
0.1532585322856903,
-0.03887075185775757,
-0.21463800966739655,
0.011071361601352692,
0.3157099783420563,
-0.15921488404273987,
0.1364128142595291,
-0.28003227710723877,
-0.3120571970939636,
-0.35256144404411316,
0.06138654425740242,
-0.0883946344256401,
0.04058866947889328,
-0.14498621225357056,
0.02988850325345993,
0.39100730419158936,
-0.0017335563898086548,
0.04378758370876312,
-0.09730907529592514,
-0.20691752433776855,
0.05808697268366814,
-0.24395205080509186,
0.01889650523662567,
-0.2371220886707306,
0.16772419214248657,
0.04760123789310455,
0.2353302538394928,
0.022743497043848038,
0.019711297005414963,
-0.10250123590230942,
0.15869443118572235,
0.0659169852733612,
0.02594980224967003,
-0.08287376910448074,
0.22753793001174927,
0.21093739569187164,
0.20652633905410767,
0.1547301709651947,
-0.2846282124519348,
0.0947050154209137,
0.13713739812374115,
-0.3884822130203247,
-0.31546610593795776,
0.03617582842707634,
-0.4237324297428131,
-0.1769641637802124,
0.10318288952112198,
-0.12873634696006775,
-0.2571618854999542,
-0.09679847955703735,
0.25202861428260803,
-0.25791069865226746,
-0.22064292430877686,
0.23756293952465057,
0.4149012565612793,
-0.21774058043956757,
-0.4087732434272766,
-0.17367100715637207,
0.0032442882657051086,
-0.2864290177822113,
0.1753053367137909,
-0.004430420696735382,
-0.1600339114665985,
-0.0077981348149478436,
0.14134837687015533,
0.2915495038032532,
0.45679646730422974,
0.027228517457842827,
-0.25729140639305115,
0.17765416204929352,
0.21610696613788605,
0.09280942380428314,
0.2344510704278946,
0.43768778443336487,
0.17576971650123596,
0.09072405844926834,
-0.149519145488739,
-0.19040432572364807,
-0.07708357274532318,
-0.19327716529369354,
0.02946019545197487,
-0.27572816610336304,
-0.003434225916862488,
-0.5307511687278748,
0.17534370720386505,
-0.1153910830616951,
-0.2576068341732025,
-0.13604632019996643,
-0.04702574014663696,
-0.25273841619491577,
0.05443080514669418,
0.16196134686470032,
0.3637154996395111,
-0.29551881551742554,
-0.019867677241563797,
-0.21863757073879242,
-0.014795716851949692,
0.4553726613521576,
0.29096904397010803,
-0.13847067952156067,
-0.14941847324371338,
-0.27542874217033386,
0.2932397723197937,
0.42186957597732544,
-0.3356074094772339,
-0.16118694841861725,
0.6663516163825989,
-0.0166398324072361,
0.2489856332540512,
0.14070923626422882,
-0.24332959949970245,
0.4150039851665497,
-0.27615809440612793,
-0.41880807280540466,
0.346587598323822,
-0.07639957964420319,
-0.17222747206687927,
-0.17311182618141174,
-0.26592007279396057,
-0.02098870277404785,
0.041311781853437424,
0.13293159008026123,
0.1408422738313675,
0.17858943343162537,
-0.12722913920879364,
0.2947785556316376,
0.012307845056056976,
0.3238074779510498,
0.16428165137767792,
0.2066206932067871,
0.06823457777500153,
-0.10288414359092712,
0.2504964768886566,
-0.028057485818862915,
0.0927402600646019,
-0.43243032693862915,
0.018231835216283798,
-0.3462596535682678,
0.02638455480337143,
0.06461336463689804,
-0.20853206515312195,
-0.052646342664957047,
-0.2403506636619568,
-0.04554450511932373,
-0.03291130065917969,
-0.08589960634708405,
-0.04189537838101387,
-0.11552602052688599,
0.5859032273292542,
-0.056720659136772156,
0.15723715722560883,
-0.03193072974681854,
0.707716166973114,
0.09864900261163712,
-0.2277262657880783,
0.09502731263637543,
-0.42290252447128296,
0.13486319780349731,
-0.15149466693401337,
-0.2121301293373108,
0.3107852339744568,
-0.21094383299350739,
0.22085091471672058,
0.21021774411201477,
0.15962204337120056,
0.22290298342704773,
-0.5460528135299683,
0.25414180755615234,
0.17080660164356232,
0.01595931500196457,
0.043423041701316833,
-0.17192146182060242,
0.13484042882919312,
0.05728955566883087,
0.3223239779472351,
0.1785615086555481,
-0.012155741453170776,
-0.08228202909231186,
0.08689376711845398,
-0.009050769731402397,
-0.2405315637588501,
0.208298459649086,
-0.24921192228794098,
-0.35503536462783813,
-0.44610801339149475,
-0.3111400604248047,
0.1697114109992981,
0.054618410766124725,
0.18942809104919434,
-0.3034431040287018,
0.2699013650417328,
-0.11634004861116409,
-0.07604722678661346,
0.3324335217475891,
0.11206485331058502,
0.3420519530773163,
0.22967590391635895,
0.1279425173997879,
0.14219596982002258,
0.018910672515630722,
-0.0025093192234635353,
0.15801501274108887,
0.008104324340820312,
0.2361251711845398,
0.04095873236656189,
-0.04691286385059357,
0.11958075314760208,
-0.27363282442092896,
-0.16491790115833282,
0.06861094385385513,
0.22421777248382568,
-0.10976940393447876,
0.3150104284286499,
-0.5985953211784363,
-0.7641027569770813,
0.08168404549360275,
0.1632930040359497,
-0.19657428562641144,
-0.4232844114303589,
-0.06941811740398407,
0.5560652613639832,
0.14035673439502716,
-0.04495944827795029,
-0.053943753242492676,
-0.13119064271450043,
-0.013931602239608765,
0.14580316841602325,
-0.27150458097457886,
0.14433994889259338,
-0.08355653285980225,
0.000166378915309906,
0.17371505498886108,
-0.08435343205928802,
0.26746517419815063,
-0.0022886712104082108,
0.08541402965784073,
-0.4767095446586609,
-0.2468971312046051,
0.577322244644165,
-0.11178067326545715,
0.38051503896713257,
-0.08469225466251373,
0.433696448802948,
-0.34515947103500366,
-0.1088641807436943,
0.02288035862147808,
-0.30295905470848083,
-0.19104664027690887,
0.028642933815717697,
-0.0021205670200288296,
0.17572550475597382,
-0.20514079928398132,
0.03141720965504646,
-0.3123549222946167,
-0.3717696964740753,
0.09161233901977539,
-0.14181695878505707,
0.02492177113890648,
0.3447001874446869,
-0.07829637080430984,
-0.23525990545749664,
-0.11113632470369339,
-0.23097345232963562,
-0.2550587058067322,
-0.44070759415626526,
0.5738071799278259,
-0.3536812365055084,
-0.4572397470474243,
0.21364498138427734,
0.1390531063079834,
0.14990568161010742,
0.38759350776672363,
-0.553606390953064,
-0.04097742959856987,
0.008947378024458885,
-0.06414612382650375,
-0.033133216202259064,
0.0257758516818285,
0.01165202260017395,
-0.22247949242591858,
-0.004775566980242729,
-0.16583691537380219,
0.1864994317293167,
0.07013590633869171,
0.09561564028263092,
0.5516296625137329,
0.1532980501651764,
0.31951606273651123,
0.06874611973762512,
0.4818602204322815,
0.41198498010635376,
0.21573837101459503,
0.5454698801040649,
0.2163608819246292,
0.2716844379901886,
0.11284678429365158,
-0.04605183005332947,
0.18914809823036194,
-0.12192350625991821,
0.13454294204711914,
0.18657715618610382,
-0.011554479598999023,
-0.32061755657196045,
-0.16279825568199158,
0.34718602895736694,
-0.27636975049972534,
-0.24727971851825714,
-0.08459540456533432,
0.19455942511558533,
0.11644097417593002,
0.15246914327144623,
0.07254239171743393,
0.17461469769477844,
-0.2799889147281647,
0.06591950356960297,
0.5913860201835632,
0.3348465859889984,
0.2458793669939041,
0.1513851135969162,
0.08612485975027084,
-0.22507554292678833,
0.31882745027542114,
-0.059179939329624176,
0.06521103531122208,
-0.2393215447664261,
0.11839405447244644,
0.09327977895736694,
0.17795151472091675,
0.5464957356452942,
-0.5757694244384766,
-0.16954605281352997,
0.020037107169628143,
-0.2524688243865967,
-0.18727953732013702,
-0.2670994699001312,
-0.04336034879088402,
-0.13065102696418762,
-0.32143479585647583,
0.1379270851612091,
-0.3322685658931732,
-0.36452043056488037,
0.2520788908004761,
-0.23095014691352844,
-0.05344101041555405,
-0.19834817945957184,
0.05959704890847206,
-0.13657879829406738,
-0.015573080629110336,
-0.20675188302993774,
-0.01317540928721428,
-0.13489827513694763,
-0.26788657903671265,
0.14816097915172577,
0.08437599986791611,
0.2902431786060333,
0.3973478078842163,
-0.001516224816441536,
0.38355132937431335,
0.10226733982563019,
0.05819421634078026,
0.5455718040466309,
-0.18761564791202545,
0.217262402176857,
0.40024515986442566,
0.21520280838012695,
-0.11281314492225647,
0.3482784926891327,
0.07892832159996033,
0.06104332581162453,
0.4010109305381775,
0.0146069610491395,
0.05448444187641144,
0.07519839704036713,
0.2047254592180252,
-0.21566341817378998,
0.19575545191764832,
0.40173929929733276,
-0.427021324634552,
-0.24708060920238495,
-0.45365428924560547,
0.2663642466068268,
0.3340802788734436,
-0.027747131884098053,
0.2504987418651581,
0.20740482211112976,
-0.028876272961497307,
0.06251495331525803,
0.01542835682630539,
1.1219998598098755,
0.011399663984775543,
0.06051690876483917,
0.20408713817596436,
-0.16567468643188477,
0.15636150538921356,
-0.31727707386016846,
-0.1259368509054184,
-0.15503601729869843,
-0.6531524658203125,
-0.2726033627986908,
0.022709619253873825,
0.21393045783042908,
-0.06144043803215027,
-0.12919223308563232,
0.33333465456962585,
0.07196053862571716,
0.1670609712600708,
0.030279528349637985,
0.04412969946861267,
-0.07873015850782394,
-0.19760540127754211,
-0.25657400488853455,
0.10975140333175659,
-0.04934593290090561,
0.36524540185928345,
-0.11002080887556076,
-0.4219192862510681,
0.009732421487569809,
-0.07768847048282623,
-0.2280048429965973,
0.29110029339790344,
-0.10907429456710815,
-0.009184900671243668,
-0.1966380625963211,
-0.16308927536010742,
0.23440086841583252,
0.16084857285022736,
-0.05956608057022095,
-0.11403390765190125,
-0.15976807475090027,
0.06721390038728714,
-0.0864953026175499,
-0.07145875692367554,
-0.31168320775032043,
-0.060819581151008606,
0.2723945677280426,
-0.29729318618774414,
-0.10324656218290329,
0.004114523530006409,
0.011755998246371746,
0.0897456556558609,
0.008267968893051147,
-0.22098441421985626,
0.0014562234282493591,
0.0069516184739768505,
0.15835867822170258,
0.15658652782440186,
-0.140132874250412,
-0.05369018763303757,
-0.02372237667441368,
0.10371855646371841,
-0.11016316711902618,
0.26431789994239807,
0.3968139886856079,
-0.06352835893630981,
-0.1846000701189041,
0.6111993789672852,
-0.1353045403957367,
0.05374753475189209,
0.23270092904567719,
0.2925245761871338,
-0.3508809208869934,
-0.11237803101539612,
-0.14555585384368896,
0.28057539463043213,
-0.5347318649291992,
-0.03867969289422035,
-0.16048787534236908,
0.24267680943012238,
0.23583032190799713,
0.32514581084251404,
0.14703357219696045,
-0.31520748138427734,
-0.15218941867351532,
-0.23328277468681335,
-0.04017291218042374,
0.39555442333221436,
-0.4409392774105072,
0.14002110064029694,
-0.30001354217529297,
-0.19423261284828186,
0.0794634073972702,
-0.0071592386811971664,
-0.21993958950042725,
0.03567779064178467,
0.2636879086494446,
-0.002386637032032013,
0.2782599627971649,
-0.19054624438285828,
0.6745587587356567,
-0.11137793958187103,
-0.029505975544452667,
0.18374133110046387,
-0.5214905142784119,
0.014719434082508087,
-0.30423998832702637,
0.2576863169670105,
0.11656168103218079,
-0.4222446084022522,
0.13739849627017975,
-0.2466343194246292,
-0.1908075213432312,
-0.007132180035114288,
0.133762389421463,
0.03197585046291351,
0.18760792911052704,
-0.17444775998592377,
0.30609574913978577,
0.027578353881835938,
-0.1512307971715927,
0.1495264172554016,
0.26687192916870117,
0.5870721340179443,
-0.09910354018211365,
-0.29459819197654724,
-0.0017007659189403057,
-0.25403493642807007,
-0.08701612055301666,
0.082867830991745,
0.3040897250175476,
-0.10084495693445206,
0.7237844467163086,
-0.2823556661605835,
0.2750994563102722,
-0.11313693225383759,
0.5766677856445312,
0.24287214875221252,
0.0466887392103672,
-0.21520079672336578,
0.20278364419937134,
0.030020996928215027,
-0.08860597014427185,
0.025411104783415794,
-0.021409902721643448,
0.2297944575548172,
-0.16695918142795563,
0.2316245585680008,
0.07711498439311981,
0.28266844153404236,
-0.18602554500102997,
0.0736553743481636,
0.31612876057624817,
-0.03630651533603668,
0.22775346040725708,
0.08284424245357513,
-0.03724033758044243,
0.19396662712097168,
0.08360675722360611,
0.13323459029197693,
0.06138291582465172,
-0.2178710252046585,
-0.14716461300849915,
0.08145035058259964,
0.07055961340665817,
0.2214210480451584,
0.14733384549617767,
-0.6743558645248413,
-0.18114890158176422,
0.30435800552368164,
0.3795093894004822,
0.3642231225967407,
0.027834385633468628,
0.34073957800865173,
0.2298913449048996,
-0.32912424206733704,
-0.15033797919750214,
0.46025407314300537,
0.26167476177215576,
0.08569221198558807,
-0.08947975188493729,
-0.17260310053825378,
-0.3870547413825989,
0.021230120211839676,
-0.103565514087677,
-0.0505007803440094,
0.15145838260650635,
0.30264168977737427,
0.12550199031829834,
-0.11644348502159119,
-0.3356017470359802,
0.06416390836238861,
0.27145916223526,
-0.1816512942314148,
0.22971788048744202,
0.24811893701553345,
0.13904353976249695,
0.21498683094978333,
0.2659309506416321,
0.3048363924026489,
0.04300801455974579,
0.0736304521560669,
-0.022763125598430634,
0.13771335780620575,
-0.09590569138526917,
0.3289504647254944,
0.15230204164981842,
0.21131516993045807,
-0.12172684073448181,
0.23758621513843536,
-0.051392801105976105,
-0.12142685800790787,
0.47515472769737244,
-0.291167289018631,
0.2826145589351654,
-0.04180039092898369,
0.04947013035416603,
0.0695635974407196,
0.4187113344669342,
-0.21432876586914062,
-0.41573551297187805,
-0.32591211795806885,
0.21973834931850433,
0.2319968342781067,
-0.08686013519763947,
-0.13044938445091248,
0.12919281423091888,
-0.02570395916700363,
0.01508321799337864,
0.23729246854782104,
0.6075575351715088,
-0.007221326231956482,
-0.20386621356010437,
-0.16095083951950073,
-0.485355406999588,
-0.11774130910634995,
-0.09567144513130188,
0.07398360967636108,
0.0760832205414772,
0.255479633808136,
0.3770538866519928,
0.1528736650943756,
0.4606216549873352,
-0.6096115708351135,
0.1524791717529297,
0.462536484003067,
-0.34479790925979614,
-0.037832874804735184,
-0.002471640706062317,
0.2168428599834442,
-0.07764455676078796,
-0.045444268733263016,
0.05587998032569885,
-0.16602787375450134,
-0.030774593353271484,
-0.19371813535690308,
-0.1403881013393402,
-0.2806086242198944,
-0.5764145851135254,
0.45846661925315857,
0.06804514676332474,
0.2588070034980774,
-0.05071777105331421,
-0.37280696630477905,
-0.08693300187587738,
-0.05045187100768089,
-0.14216379821300507,
-0.0025135502219200134,
0.04976291581988335,
0.8420031070709229,
0.08826319873332977,
-0.12579013407230377,
-0.4921734035015106,
0.06141266971826553,
-0.032530270516872406,
-0.1459285020828247,
-0.3749989867210388,
0.3256482779979706,
-0.20591098070144653,
-0.062166113406419754,
0.028534293174743652,
0.13967493176460266,
0.12008781731128693,
0.04207879304885864,
-0.29067462682724,
-0.376994788646698,
0.8049573302268982,
-0.20848959684371948,
0.07590292394161224,
0.2133995145559311,
-0.002647779881954193,
0.06779570877552032,
-0.18768857419490814,
-0.6200076937675476,
0.12018396705389023,
-0.004653017036616802,
-0.23625504970550537,
0.14680390059947968,
0.16896690428256989,
0.25390928983688354,
-0.021180767565965652,
-0.004035525023937225,
0.4934857487678528,
0.11400814354419708,
-0.38992419838905334,
0.11465609073638916,
0.09633749723434448
] |
https://github.com/huggingface/datasets/issues/4696 | Cannot load LinCE dataset | Hi @finiteautomata, thanks for reporting.
Unfortunately, I'm not able to reproduce your issue:
```python
In [1]: from datasets import load_dataset
...: dataset = load_dataset("lince", "ner_spaeng")
Downloading builder script: 20.8kB [00:00, 9.09MB/s]
Downloading metadata: 31.2kB [00:00, 13.5MB/s]
Downloading and preparing dataset lince/ner_spaeng (download: 2.93 MiB, generated: 18.45 MiB, post-processed: Unknown size, total: 21.38 MiB) to .../.cache/huggingface/datasets/lince/ner_spaeng/1.0.0/10d41747f55f0849fa84ac579ea1acfa7df49aa2015b60426bc459c111b3d589...
Downloading data: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 3.08M/3.08M [00:01<00:00, 2.73MB/s]
Dataset lince downloaded and prepared to .../.cache/huggingface/datasets/lince/ner_spaeng/1.0.0/10d41747f55f0849fa84ac579ea1acfa7df49aa2015b60426bc459c111b3d589. Subsequent calls will reuse this data.
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 3/3 [00:00<00:00, 630.66it/s]
In [2]: dataset
Out[2]:
DatasetDict({
train: Dataset({
features: ['idx', 'words', 'lid', 'ner'],
num_rows: 33611
})
validation: Dataset({
features: ['idx', 'words', 'lid', 'ner'],
num_rows: 10085
})
test: Dataset({
features: ['idx', 'words', 'lid', 'ner'],
num_rows: 23527
})
})
```
Please note that for this dataset, the original data files are not hosted on the Hugging Face Hub, but on https://ritual.uh.edu
And sometimes, the server might be temporarily unavailable, as your error message said (trying to connect to the server timed out):
```
ConnectionError: Couldn't reach https://ritual.uh.edu/lince/libaccess/eyJ1c2VybmFtZSI6ICJodWdnaW5nZmFjZSBubHAiLCAidXNlcl9pZCI6IDExMSwgImVtYWlsIjogImR1bW15QGVtYWlsLmNvbSJ9/ner_spaeng.zip (ConnectTimeout(MaxRetryError("HTTPSConnectionPool(host='ritual.uh.edu', port=443): Max retries exceeded with url: /lince/libaccess/eyJ1c2VybmFtZSI6ICJodWdnaW5nZmFjZSBubHAiLCAidXNlcl9pZCI6IDExMSwgImVtYWlsIjogImR1bW15QGVtYWlsLmNvbSJ9/ner_spaeng.zip (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7feb1c45a690>, 'Connection to ritual.uh.edu timed out. (connect timeout=100)'))")))
```
In these cases you could:
- either contact the owners of the data server where the data is hosted to inform them about the issue in their server
- or re-try after waiting some time: usually these issues are just temporary | ## Describe the bug
Cannot load LinCE dataset due to a connection error
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("lince", "ner_spaeng")
```
A notebook with this code and corresponding error can be found at https://colab.research.google.com/drive/1pgX3bNB9amuUwAVfPFm-XuMV5fEg-cD2
## Expected results
It should load the dataset
## Actual results
```python
---------------------------------------------------------------------------
ConnectionError Traceback (most recent call last)
<ipython-input-2-fc551ddcebef> in <module>()
1 from datasets import load_dataset
2
----> 3 dataset = load_dataset("lince", "ner_spaeng")
10 frames
/usr/local/lib/python3.7/dist-packages/datasets/load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, revision, use_auth_token, task, streaming, **config_kwargs)
1682 ignore_verifications=ignore_verifications,
1683 try_from_hf_gcs=try_from_hf_gcs,
-> 1684 use_auth_token=use_auth_token,
1685 )
1686
/usr/local/lib/python3.7/dist-packages/datasets/builder.py in download_and_prepare(self, download_config, download_mode, ignore_verifications, try_from_hf_gcs, dl_manager, base_path, use_auth_token, **download_and_prepare_kwargs)
703 if not downloaded_from_gcs:
704 self._download_and_prepare(
--> 705 dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
706 )
707 # Sync info
/usr/local/lib/python3.7/dist-packages/datasets/builder.py in _download_and_prepare(self, dl_manager, verify_infos)
1219
1220 def _download_and_prepare(self, dl_manager, verify_infos):
-> 1221 super()._download_and_prepare(dl_manager, verify_infos, check_duplicate_keys=verify_infos)
1222
1223 def _get_examples_iterable_for_split(self, split_generator: SplitGenerator) -> ExamplesIterable:
/usr/local/lib/python3.7/dist-packages/datasets/builder.py in _download_and_prepare(self, dl_manager, verify_infos, **prepare_split_kwargs)
769 split_dict = SplitDict(dataset_name=self.name)
770 split_generators_kwargs = self._make_split_generators_kwargs(prepare_split_kwargs)
--> 771 split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
772
773 # Checksums verification
/root/.cache/huggingface/modules/datasets_modules/datasets/lince/10d41747f55f0849fa84ac579ea1acfa7df49aa2015b60426bc459c111b3d589/lince.py in _split_generators(self, dl_manager)
481 def _split_generators(self, dl_manager):
482 """Returns SplitGenerators."""
--> 483 lince_dir = dl_manager.download_and_extract(f"{_LINCE_URL}/{self.config.name}.zip")
484 data_dir = os.path.join(lince_dir, self.config.data_dir)
485 return [
/usr/local/lib/python3.7/dist-packages/datasets/download/download_manager.py in download_and_extract(self, url_or_urls)
429 extracted_path(s): `str`, extracted paths of given URL(s).
430 """
--> 431 return self.extract(self.download(url_or_urls))
432
433 def get_recorded_sizes_checksums(self):
/usr/local/lib/python3.7/dist-packages/datasets/download/download_manager.py in download(self, url_or_urls)
313 num_proc=download_config.num_proc,
314 disable_tqdm=not is_progress_bar_enabled(),
--> 315 desc="Downloading data files",
316 )
317 duration = datetime.now() - start_time
/usr/local/lib/python3.7/dist-packages/datasets/utils/py_utils.py in map_nested(function, data_struct, dict_only, map_list, map_tuple, map_numpy, num_proc, types, disable_tqdm, desc)
346 # Singleton
347 if not isinstance(data_struct, dict) and not isinstance(data_struct, types):
--> 348 return function(data_struct)
349
350 disable_tqdm = disable_tqdm or not logging.is_progress_bar_enabled()
/usr/local/lib/python3.7/dist-packages/datasets/download/download_manager.py in _download(self, url_or_filename, download_config)
333 # append the relative path to the base_path
334 url_or_filename = url_or_path_join(self._base_path, url_or_filename)
--> 335 return cached_path(url_or_filename, download_config=download_config)
336
337 def iter_archive(self, path_or_buf: Union[str, io.BufferedReader]):
/usr/local/lib/python3.7/dist-packages/datasets/utils/file_utils.py in cached_path(url_or_filename, download_config, **download_kwargs)
195 use_auth_token=download_config.use_auth_token,
196 ignore_url_params=download_config.ignore_url_params,
--> 197 download_desc=download_config.download_desc,
198 )
199 elif os.path.exists(url_or_filename):
/usr/local/lib/python3.7/dist-packages/datasets/utils/file_utils.py in get_from_cache(url, cache_dir, force_download, proxies, etag_timeout, resume_download, user_agent, local_files_only, use_etag, max_retries, use_auth_token, ignore_url_params, download_desc)
531 _raise_if_offline_mode_is_enabled(f"Tried to reach {url}")
532 if head_error is not None:
--> 533 raise ConnectionError(f"Couldn't reach {url} ({repr(head_error)})")
534 elif response is not None:
535 raise ConnectionError(f"Couldn't reach {url} (error {response.status_code})")
ConnectionError: Couldn't reach https://ritual.uh.edu/lince/libaccess/eyJ1c2VybmFtZSI6ICJodWdnaW5nZmFjZSBubHAiLCAidXNlcl9pZCI6IDExMSwgImVtYWlsIjogImR1bW15QGVtYWlsLmNvbSJ9/ner_spaeng.zip (ConnectTimeout(MaxRetryError("HTTPSConnectionPool(host='ritual.uh.edu', port=443): Max retries exceeded with url: /lince/libaccess/eyJ1c2VybmFtZSI6ICJodWdnaW5nZmFjZSBubHAiLCAidXNlcl9pZCI6IDExMSwgImVtYWlsIjogImR1bW15QGVtYWlsLmNvbSJ9/ner_spaeng.zip (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7feb1c45a690>, 'Connection to ritual.uh.edu timed out. (connect timeout=100)'))")))
```
## Environment info
- `datasets` version: 2.3.2
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- PyArrow version: 6.0.1
- Pandas version: 1.3.5
| 225 | Cannot load LinCE dataset
## Describe the bug
Cannot load LinCE dataset due to a connection error
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("lince", "ner_spaeng")
```
A notebook with this code and corresponding error can be found at https://colab.research.google.com/drive/1pgX3bNB9amuUwAVfPFm-XuMV5fEg-cD2
## Expected results
It should load the dataset
## Actual results
```python
---------------------------------------------------------------------------
ConnectionError Traceback (most recent call last)
<ipython-input-2-fc551ddcebef> in <module>()
1 from datasets import load_dataset
2
----> 3 dataset = load_dataset("lince", "ner_spaeng")
10 frames
/usr/local/lib/python3.7/dist-packages/datasets/load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, revision, use_auth_token, task, streaming, **config_kwargs)
1682 ignore_verifications=ignore_verifications,
1683 try_from_hf_gcs=try_from_hf_gcs,
-> 1684 use_auth_token=use_auth_token,
1685 )
1686
/usr/local/lib/python3.7/dist-packages/datasets/builder.py in download_and_prepare(self, download_config, download_mode, ignore_verifications, try_from_hf_gcs, dl_manager, base_path, use_auth_token, **download_and_prepare_kwargs)
703 if not downloaded_from_gcs:
704 self._download_and_prepare(
--> 705 dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
706 )
707 # Sync info
/usr/local/lib/python3.7/dist-packages/datasets/builder.py in _download_and_prepare(self, dl_manager, verify_infos)
1219
1220 def _download_and_prepare(self, dl_manager, verify_infos):
-> 1221 super()._download_and_prepare(dl_manager, verify_infos, check_duplicate_keys=verify_infos)
1222
1223 def _get_examples_iterable_for_split(self, split_generator: SplitGenerator) -> ExamplesIterable:
/usr/local/lib/python3.7/dist-packages/datasets/builder.py in _download_and_prepare(self, dl_manager, verify_infos, **prepare_split_kwargs)
769 split_dict = SplitDict(dataset_name=self.name)
770 split_generators_kwargs = self._make_split_generators_kwargs(prepare_split_kwargs)
--> 771 split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
772
773 # Checksums verification
/root/.cache/huggingface/modules/datasets_modules/datasets/lince/10d41747f55f0849fa84ac579ea1acfa7df49aa2015b60426bc459c111b3d589/lince.py in _split_generators(self, dl_manager)
481 def _split_generators(self, dl_manager):
482 """Returns SplitGenerators."""
--> 483 lince_dir = dl_manager.download_and_extract(f"{_LINCE_URL}/{self.config.name}.zip")
484 data_dir = os.path.join(lince_dir, self.config.data_dir)
485 return [
/usr/local/lib/python3.7/dist-packages/datasets/download/download_manager.py in download_and_extract(self, url_or_urls)
429 extracted_path(s): `str`, extracted paths of given URL(s).
430 """
--> 431 return self.extract(self.download(url_or_urls))
432
433 def get_recorded_sizes_checksums(self):
/usr/local/lib/python3.7/dist-packages/datasets/download/download_manager.py in download(self, url_or_urls)
313 num_proc=download_config.num_proc,
314 disable_tqdm=not is_progress_bar_enabled(),
--> 315 desc="Downloading data files",
316 )
317 duration = datetime.now() - start_time
/usr/local/lib/python3.7/dist-packages/datasets/utils/py_utils.py in map_nested(function, data_struct, dict_only, map_list, map_tuple, map_numpy, num_proc, types, disable_tqdm, desc)
346 # Singleton
347 if not isinstance(data_struct, dict) and not isinstance(data_struct, types):
--> 348 return function(data_struct)
349
350 disable_tqdm = disable_tqdm or not logging.is_progress_bar_enabled()
/usr/local/lib/python3.7/dist-packages/datasets/download/download_manager.py in _download(self, url_or_filename, download_config)
333 # append the relative path to the base_path
334 url_or_filename = url_or_path_join(self._base_path, url_or_filename)
--> 335 return cached_path(url_or_filename, download_config=download_config)
336
337 def iter_archive(self, path_or_buf: Union[str, io.BufferedReader]):
/usr/local/lib/python3.7/dist-packages/datasets/utils/file_utils.py in cached_path(url_or_filename, download_config, **download_kwargs)
195 use_auth_token=download_config.use_auth_token,
196 ignore_url_params=download_config.ignore_url_params,
--> 197 download_desc=download_config.download_desc,
198 )
199 elif os.path.exists(url_or_filename):
/usr/local/lib/python3.7/dist-packages/datasets/utils/file_utils.py in get_from_cache(url, cache_dir, force_download, proxies, etag_timeout, resume_download, user_agent, local_files_only, use_etag, max_retries, use_auth_token, ignore_url_params, download_desc)
531 _raise_if_offline_mode_is_enabled(f"Tried to reach {url}")
532 if head_error is not None:
--> 533 raise ConnectionError(f"Couldn't reach {url} ({repr(head_error)})")
534 elif response is not None:
535 raise ConnectionError(f"Couldn't reach {url} (error {response.status_code})")
ConnectionError: Couldn't reach https://ritual.uh.edu/lince/libaccess/eyJ1c2VybmFtZSI6ICJodWdnaW5nZmFjZSBubHAiLCAidXNlcl9pZCI6IDExMSwgImVtYWlsIjogImR1bW15QGVtYWlsLmNvbSJ9/ner_spaeng.zip (ConnectTimeout(MaxRetryError("HTTPSConnectionPool(host='ritual.uh.edu', port=443): Max retries exceeded with url: /lince/libaccess/eyJ1c2VybmFtZSI6ICJodWdnaW5nZmFjZSBubHAiLCAidXNlcl9pZCI6IDExMSwgImVtYWlsIjogImR1bW15QGVtYWlsLmNvbSJ9/ner_spaeng.zip (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7feb1c45a690>, 'Connection to ritual.uh.edu timed out. (connect timeout=100)'))")))
```
## Environment info
- `datasets` version: 2.3.2
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- PyArrow version: 6.0.1
- Pandas version: 1.3.5
Hi @finiteautomata, thanks for reporting.
Unfortunately, I'm not able to reproduce your issue:
```python
In [1]: from datasets import load_dataset
...: dataset = load_dataset("lince", "ner_spaeng")
Downloading builder script: 20.8kB [00:00, 9.09MB/s]
Downloading metadata: 31.2kB [00:00, 13.5MB/s]
Downloading and preparing dataset lince/ner_spaeng (download: 2.93 MiB, generated: 18.45 MiB, post-processed: Unknown size, total: 21.38 MiB) to .../.cache/huggingface/datasets/lince/ner_spaeng/1.0.0/10d41747f55f0849fa84ac579ea1acfa7df49aa2015b60426bc459c111b3d589...
Downloading data: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 3.08M/3.08M [00:01<00:00, 2.73MB/s]
Dataset lince downloaded and prepared to .../.cache/huggingface/datasets/lince/ner_spaeng/1.0.0/10d41747f55f0849fa84ac579ea1acfa7df49aa2015b60426bc459c111b3d589. Subsequent calls will reuse this data.
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 3/3 [00:00<00:00, 630.66it/s]
In [2]: dataset
Out[2]:
DatasetDict({
train: Dataset({
features: ['idx', 'words', 'lid', 'ner'],
num_rows: 33611
})
validation: Dataset({
features: ['idx', 'words', 'lid', 'ner'],
num_rows: 10085
})
test: Dataset({
features: ['idx', 'words', 'lid', 'ner'],
num_rows: 23527
})
})
```
Please note that for this dataset, the original data files are not hosted on the Hugging Face Hub, but on https://ritual.uh.edu
And sometimes, the server might be temporarily unavailable, as your error message said (trying to connect to the server timed out):
```
ConnectionError: Couldn't reach https://ritual.uh.edu/lince/libaccess/eyJ1c2VybmFtZSI6ICJodWdnaW5nZmFjZSBubHAiLCAidXNlcl9pZCI6IDExMSwgImVtYWlsIjogImR1bW15QGVtYWlsLmNvbSJ9/ner_spaeng.zip (ConnectTimeout(MaxRetryError("HTTPSConnectionPool(host='ritual.uh.edu', port=443): Max retries exceeded with url: /lince/libaccess/eyJ1c2VybmFtZSI6ICJodWdnaW5nZmFjZSBubHAiLCAidXNlcl9pZCI6IDExMSwgImVtYWlsIjogImR1bW15QGVtYWlsLmNvbSJ9/ner_spaeng.zip (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7feb1c45a690>, 'Connection to ritual.uh.edu timed out. (connect timeout=100)'))")))
```
In these cases you could:
- either contact the owners of the data server where the data is hosted to inform them about the issue in their server
- or re-try after waiting some time: usually these issues are just temporary | [
-0.4312540292739868,
0.06144028902053833,
-0.0674908310174942,
0.40409040451049805,
0.25387585163116455,
-0.041744038462638855,
0.13857416808605194,
0.31723567843437195,
0.15199890732765198,
-0.03008139133453369,
-0.19000525772571564,
0.3475402593612671,
0.13724850118160248,
0.07898734509944916,
0.06977561861276627,
-0.2078574001789093,
-0.16467106342315674,
0.11570346355438232,
-0.0956122875213623,
0.0443064346909523,
-0.10879280418157578,
0.203059583902359,
-0.0791013091802597,
0.1666284203529358,
-0.11833135038614273,
0.011067075654864311,
0.09752832353115082,
0.3146129548549652,
0.009696236811578274,
-0.38291025161743164,
0.26181620359420776,
0.014845982193946838,
0.21123506128787994,
0.20280595123767853,
-0.00010436095180921257,
0.1485528200864792,
0.4346542954444885,
0.09549108147621155,
-0.583193302154541,
-0.15671099722385406,
-0.4014008045196533,
-0.2530728280544281,
0.274709016084671,
-0.27737706899642944,
-0.15357914566993713,
0.0625985637307167,
-0.061787255108356476,
-0.26209557056427,
0.396348774433136,
0.48912152647972107,
0.3386114537715912,
0.5147500038146973,
0.423419326543808,
-0.12437435239553452,
0.1690697968006134,
-0.26050305366516113,
0.02048151008784771,
0.47527846693992615,
0.17305803298950195,
0.061102986335754395,
-0.1357969343662262,
-0.07131227850914001,
-0.046799033880233765,
0.10051669180393219,
0.11583095788955688,
0.09652364999055862,
-0.011024154722690582,
-0.10160820186138153,
0.05575808137655258,
0.1605292707681656,
0.38384509086608887,
-0.23701125383377075,
-0.23186129331588745,
0.06185152381658554,
-0.01236068643629551,
-0.2062312513589859,
0.25627607107162476,
0.013895504176616669,
-0.2576121687889099,
0.1701522320508957,
-0.1326484978199005,
-0.23911933600902557,
-0.24633057415485382,
0.2811237573623657,
-0.16393083333969116,
-0.080476313829422,
-0.11636443436145782,
0.26255372166633606,
-0.20062343776226044,
0.047834306955337524,
0.12053380906581879,
-0.2254732996225357,
-0.18523412942886353,
0.02681858092546463,
-0.17748048901557922,
-0.0316254086792469,
0.19528526067733765,
0.037052322179079056,
0.08129387348890305,
0.18061348795890808,
0.07800444960594177,
-0.029270824044942856,
0.059745173901319504,
0.22110286355018616,
0.20206192135810852,
-0.10968643426895142,
-0.2051106095314026,
-0.07191364467144012,
0.41051506996154785,
0.3027031421661377,
-0.01615738309919834,
-0.17408299446105957,
0.08098766207695007,
-0.2428763508796692,
0.282840758562088,
0.055095672607421875,
0.4340764284133911,
-0.24730336666107178,
-0.4651035666465759,
0.3378036320209503,
-0.15782377123832703,
0.035461120307445526,
0.10363787412643433,
0.23166316747665405,
-0.3618568778038025,
0.012041376903653145,
0.32195693254470825,
0.08479884266853333,
-0.1825215071439743,
-0.285285085439682,
-0.2991502285003662,
0.008568190969526768,
-0.009774774312973022,
-0.180534228682518,
0.3366219401359558,
-0.1951712667942047,
0.24425306916236877,
0.10303216427564621,
0.02440732717514038,
-0.13664811849594116,
0.18378284573554993,
-0.1775537133216858,
-0.2514979839324951,
0.3417704999446869,
0.1601826399564743,
-0.12610413134098053,
0.21626704931259155,
-0.09119348227977753,
-0.052229199558496475,
0.06480430066585541,
-0.0919109359383583,
-0.20081520080566406,
-0.24521146714687347,
0.2750025689601898,
-0.010635332204401493,
0.026178747415542603,
-0.12738972902297974,
-0.22608332335948944,
-0.0958237424492836,
-0.20957352221012115,
-0.18720874190330505,
-0.2937996983528137,
0.0426032654941082,
-0.21942239999771118,
0.46083730459213257,
0.2375403195619583,
-0.2548365890979767,
-0.03680281341075897,
-0.07640819251537323,
-0.3413819968700409,
0.144505575299263,
0.025696219876408577,
-0.2442864179611206,
0.1798531711101532,
-0.11655770987272263,
0.04260583966970444,
0.45714497566223145,
-0.3585259020328522,
-0.4768013656139374,
0.2649168372154236,
-0.1543610692024231,
0.24214108288288116,
-0.25487375259399414,
0.22901351749897003,
0.20597027242183685,
0.17639374732971191,
0.36932137608528137,
0.5167607665061951,
-0.043437808752059937,
-0.08884290605783463,
-0.21657343208789825,
-0.19167375564575195,
0.030781295150518417,
0.10607390105724335,
0.0758012905716896,
0.019808009266853333,
0.2972140610218048,
-0.04364580288529396,
0.2591327130794525,
0.09732486307621002,
0.021658647805452347,
-0.03271602839231491,
0.0918082743883133,
0.26148921251296997,
-0.09819296002388,
-0.006593247875571251,
-0.48564809560775757,
0.2913779616355896,
0.08027269691228867,
0.03487120568752289,
-0.12115748226642609,
0.04171271622180939,
-0.19037845730781555,
0.06312147527933121,
-0.17924700677394867,
-0.08040386438369751,
0.24976718425750732,
0.07449652999639511,
-0.0729074627161026,
-0.08635225892066956,
-0.10278968513011932,
0.35115405917167664,
-0.11197622120380402,
0.11688681691884995,
-0.25749075412750244,
0.4289417266845703,
-0.1276460736989975,
-0.10457341372966766,
0.03944442421197891,
0.07552813738584518,
0.07983852922916412,
-0.06948654353618622,
-0.25598058104515076,
0.35927367210388184,
0.0982719212770462,
-0.12214720249176025,
-0.1389661729335785,
-0.18899108469486237,
-0.005425656214356422,
-0.24645555019378662,
0.13648481667041779,
0.28447386622428894,
0.3067629039287567,
-0.08095858246088028,
-0.027358509600162506,
0.14692704379558563,
0.3033754825592041,
0.16233685612678528,
0.04364967346191406,
0.2689282298088074,
0.29027777910232544,
-0.07914705574512482,
-0.060992322862148285,
-0.012143082916736603,
0.3006271421909332,
-0.06739060580730438,
0.27628907561302185,
-0.09823727607727051,
-0.5634227991104126,
-0.04031308740377426,
0.013910654932260513,
0.022358056157827377,
0.15438416600227356,
0.13162821531295776,
-0.1577450931072235,
0.010188918560743332,
0.00093081034719944,
-0.07033777236938477,
0.444857656955719,
0.08861963450908661,
-0.1530902087688446,
0.20381225645542145,
-0.14013253152370453,
-0.0147527065128088,
0.24748128652572632,
0.10354414582252502,
0.14899712800979614,
0.29168736934661865,
0.08944854140281677,
0.07189097255468369,
-0.2322917878627777,
-0.4447474777698517,
-0.12073247879743576,
0.25322073698043823,
-0.5132170915603638,
0.06849144399166107,
-0.021681195124983788,
-0.0018365643918514252,
-0.04742283374071121,
-0.2146102637052536,
-0.21934345364570618,
-0.22250156104564667,
-0.14211584627628326,
0.4603421688079834,
0.11348974704742432,
0.02876315265893936,
-0.2901449203491211,
0.11415369808673859,
0.08951956778764725,
-0.12108004838228226,
-0.10770293325185776,
-0.11485062539577484,
-0.38758328557014465,
0.13752567768096924,
0.2549421787261963,
0.04834577813744545,
0.3724798262119293,
-0.2632012963294983,
-0.13376764953136444,
-0.39905834197998047,
-0.05249207094311714,
-0.09563684463500977,
-0.016862668097019196,
0.6288192272186279,
0.36123254895210266,
0.32340168952941895,
0.3391650319099426,
-0.20058216154575348,
0.4478026330471039,
0.12268674373626709,
-0.20438559353351593,
0.26501351594924927,
-0.0728887990117073,
-0.13358579576015472,
0.11039797961711884,
-0.39864811301231384,
-0.27300432324409485,
-0.3830128014087677,
0.16483476758003235,
0.053434256464242935,
0.20850886404514313,
0.11093209683895111,
-0.010981173254549503,
0.307660847902298,
0.2423483431339264,
0.34723949432373047,
-0.14784318208694458,
-0.27090832591056824,
0.019112523645162582,
-0.13200946152210236,
-0.3089541494846344,
0.008730266243219376,
0.03844015300273895,
0.4042695462703705,
0.09126686304807663,
-0.5684096217155457,
0.041443221271038055,
-0.07375204563140869,
0.5949254035949707,
-0.2135581076145172,
-0.09821125864982605,
0.17622512578964233,
0.16223467886447906,
-0.10738915205001831,
-0.020502543076872826,
0.00420929491519928,
-0.17846393585205078,
-0.06556646525859833,
0.10613003373146057,
-0.006335940212011337,
0.5459773540496826,
-0.29385384917259216,
0.26809269189834595,
0.16811278462409973,
-0.0625687688589096,
0.32568085193634033,
-0.06034261733293533,
0.16063526272773743,
-0.2908930480480194,
-0.460130512714386,
0.04504917934536934,
-0.2256580889225006,
-0.12030799686908722,
0.05900759622454643,
-0.01847175881266594,
-0.1500845104455948,
-0.3801371157169342,
-0.17578953504562378,
-0.08507434278726578,
-0.3372771739959717,
0.03476345166563988,
-0.136929452419281,
0.14095546305179596,
0.0184243842959404,
0.09934362024068832,
-0.05917925760149956,
-0.10585024207830429,
-0.195028156042099,
0.2534376382827759,
0.10916753113269806,
-0.0405464842915535,
-0.20792296528816223,
-0.06446726620197296,
-0.47405755519866943,
0.24280352890491486,
-0.15075191855430603,
0.47114646434783936,
-0.19601459801197052,
0.018761303275823593,
0.17183980345726013,
-0.06084781512618065,
0.4166920781135559,
-0.16320820152759552,
0.25107207894325256,
0.389818400144577,
0.1717514544725418,
-0.36785054206848145,
-0.06632116436958313,
-0.24968396127223969,
0.44956040382385254,
0.3876568078994751,
0.42638877034187317,
-0.12277635931968689,
-0.14782868325710297,
0.3846888542175293,
0.3048470914363861,
-0.1796264499425888,
-0.2675378620624542,
-0.257146418094635,
-0.1484791338443756,
-0.2336999773979187,
-0.020871788263320923,
-0.10728704184293747,
0.3949010968208313,
0.06892367452383041,
-0.06529396027326584,
-0.18210139870643616,
0.04289603233337402,
0.023853018879890442,
0.043415751308202744,
0.022240493446588516,
-0.13521432876586914,
0.4736969470977783,
0.07506028562784195,
0.1744234561920166,
0.026190567761659622,
0.4092828631401062,
0.03802374750375748,
-0.5077816247940063,
-0.0596180260181427,
0.04962056502699852,
0.12180955708026886,
0.10754640400409698,
-0.07884928584098816,
-0.11054936796426773,
0.1303841471672058,
0.21315178275108337,
-0.09673667699098587,
0.17377063632011414,
0.2845281958580017,
0.055730074644088745,
-0.48655015230178833,
-0.31434041261672974,
0.20801633596420288,
0.06729261577129364,
-0.0630991980433464,
0.3261577785015106,
-0.20173712074756622,
-0.23613576591014862,
0.1392304003238678,
-0.013436675071716309,
0.6416723728179932,
0.2639872431755066,
0.13869266211986542,
0.4030366837978363,
-0.2337411344051361,
0.19308224320411682,
-0.08856447786092758,
0.1092878058552742,
-0.3165540099143982,
-0.18046937882900238,
-0.07372574508190155,
-0.18625614047050476,
0.17772643268108368,
-0.14640429615974426,
-0.1101352721452713,
0.3049013316631317,
-0.40944981575012207,
-0.2607014775276184,
0.10004449635744095,
0.1760270893573761,
-0.08576280623674393,
-0.12372414767742157,
-0.010807206854224205,
0.3120061159133911,
-0.22833062708377838,
0.3014179468154907,
-0.08732655644416809,
0.07234182953834534,
-0.016278624534606934,
-0.28620702028274536,
-0.2992827892303467,
0.14271941781044006,
-0.23690691590309143,
0.3165855407714844,
0.08637899160385132,
-0.25492262840270996,
-0.08137182146310806,
-0.1549968272447586,
-0.12630996108055115,
0.2869589030742645,
-0.14068365097045898,
0.08761099725961685,
0.10494615137577057,
0.07923075556755066,
0.31146299839019775,
0.00309626292437315,
0.2715614140033722,
-0.05219932273030281,
-0.45369598269462585,
0.3250141143798828,
-0.16980677843093872,
-0.34152650833129883,
0.379938542842865,
-0.0356808602809906,
0.24906086921691895,
-0.4099985659122467,
-0.2008671909570694,
-0.0547093003988266,
0.12728914618492126,
-0.18355926871299744,
0.24212214350700378,
0.16382670402526855,
-0.043304864317178726,
0.15591830015182495,
-0.03140629455447197,
-0.21874858438968658,
-0.017693031579256058,
0.42697784304618835,
-0.034129925072193146,
0.08344554156064987,
0.30089399218559265,
0.22629861533641815,
-0.1814848780632019,
-0.24993669986724854,
0.041035011410713196,
0.1077423244714737,
-0.35185864567756653,
0.05840868502855301,
0.09061602503061295,
0.3014838695526123,
-0.3889952600002289,
0.27146732807159424,
0.11962573230266571,
0.02947423607110977,
0.18721917271614075,
-0.6746506690979004,
-0.2919076681137085,
0.004134580492973328,
0.08373227715492249,
0.1694336086511612,
0.11033710092306137,
0.1600751280784607,
-0.1299523562192917,
-0.19800272583961487,
-0.37906771898269653,
0.08661377429962158,
-0.2599017322063446,
-0.018417976796627045,
0.3407209813594818,
-0.05592559278011322,
0.15698954463005066,
-0.14497511088848114,
0.30178704857826233,
-0.24286766350269318,
-0.09457037597894669,
-0.3072458803653717,
-0.16753621399402618,
0.062277473509311676,
-0.0801820158958435,
-0.3585836589336395,
-0.10751008987426758,
-0.29724013805389404,
-0.08517929911613464,
0.00500587560236454,
0.002424227073788643,
0.06362339109182358,
-0.11460800468921661,
-0.037813834846019745,
-0.11503489315509796,
0.13789847493171692,
-0.05296853184700012,
0.26163604855537415,
0.11032742261886597,
0.07651951164007187,
-0.11744925379753113,
0.26645463705062866,
-0.11459066718816757,
-0.031158071011304855,
-0.2947807013988495,
0.09029503166675568,
-0.2306051403284073,
0.06260314583778381,
0.3409871757030487,
-0.16270335018634796,
-0.12798470258712769,
0.1806189864873886,
0.25618118047714233,
0.4021056890487671,
-0.2166709005832672,
-0.023056969046592712,
0.10073462873697281,
0.37424787878990173,
-0.2677576541900635,
-0.1568734347820282,
0.23756590485572815,
0.04556019976735115,
0.030655596405267715,
-0.15433472394943237,
-0.2001505196094513,
-0.12695521116256714,
-0.18687759339809418,
0.11854002624750137,
0.30525240302085876,
0.012319784611463547,
0.07251378893852234,
0.2020840346813202,
0.07577995955944061,
0.09546955674886703,
0.16534532606601715,
0.13662636280059814,
0.03746476769447327,
0.3082563877105713,
-0.2968122661113739,
-0.07619818300008774,
-0.047750324010849,
0.110850989818573,
-0.09983328729867935,
-0.3494311571121216,
0.06192193552851677,
-0.1927623450756073,
-0.14435674250125885,
-0.20839208364486694,
-0.055981919169425964,
0.25710445642471313,
-0.21868206560611725,
-0.17310257256031036,
-0.2980539798736572,
0.15352897346019745,
-0.2987661063671112,
-0.01167893223464489,
-0.26457592844963074,
-0.11414545774459839,
0.0024195611476898193,
-0.07065301388502121,
-0.04872239753603935,
0.01091676577925682,
0.13586737215518951,
0.26327982544898987,
-0.08559493720531464,
-0.6082942485809326,
-0.14310312271118164,
0.20372840762138367,
-0.241392582654953,
-0.11876362562179565,
0.2801058292388916,
0.19259986281394958,
0.20951129496097565,
0.007177557796239853,
0.3613632023334503,
0.473539263010025,
0.25312840938568115,
0.09580680727958679,
0.12427810579538345,
-0.09700538218021393,
-0.10886037349700928,
-0.2843059301376343,
0.09402261674404144,
0.11556633561849594,
0.14914286136627197,
0.29629603028297424,
0.2803046405315399,
-0.16579604148864746,
0.29895979166030884,
0.053236816078424454,
0.13467276096343994,
-0.2980023920536041,
0.2768319249153137,
-0.12938350439071655,
-0.153056800365448,
-0.23459142446517944,
0.013717345893383026,
-0.2579295337200165,
0.08880289644002914,
0.3618527054786682,
0.18801477551460266,
0.1136779859662056,
-0.1435573548078537,
0.12594565749168396,
-0.1761290431022644,
0.3483516275882721,
0.26695385575294495,
0.27275243401527405,
-0.48628371953964233,
-0.0744866281747818,
-0.5191197395324707,
0.2885596454143524,
-0.1884506195783615,
-0.2012205421924591,
0.04975085332989693,
0.07250577211380005,
-0.12130656093358994,
0.18813762068748474,
0.16234485805034637,
0.058443427085876465,
0.05245455354452133,
0.0856475830078125,
-0.14145277440547943,
-0.17318405210971832,
0.26668819785118103,
-0.032761313021183014,
-0.14927656948566437,
-0.2904232442378998,
0.21786285936832428,
-0.1199055016040802,
0.15975704789161682,
-0.2550164461135864,
-0.2831640839576721,
0.3001019060611725,
0.2578985393047333,
0.48455721139907837,
0.1839132457971573,
0.5860992074012756,
-0.09142401069402695,
-0.06515973061323166,
-0.23907285928726196,
-0.35453012585639954,
-0.040097497403621674,
0.20149308443069458,
-0.012980874627828598,
0.1243429034948349,
0.08075461536645889,
0.05174686759710312,
-0.3380952477455139,
0.4116611182689667,
-0.16619287431240082,
-0.013229144737124443,
-0.22460255026817322,
0.021622395142912865,
-0.14730018377304077,
0.12518492341041565,
-0.08347688615322113,
0.07359686493873596,
-0.09166258573532104,
0.19244328141212463,
-0.21664851903915405,
-0.4029582142829895,
0.49245184659957886,
-0.3004469573497772,
-0.2095388025045395,
-0.3162807822227478,
0.3387530446052551,
-0.209858238697052,
0.051583416759967804,
-0.006638281047344208,
-0.0848095640540123,
0.4445672333240509,
-0.2475506067276001,
-0.30445748567581177,
0.29723620414733887,
0.010143115185201168,
0.26038897037506104,
0.05412817373871803,
0.48223480582237244,
-0.11684945970773697,
-0.2898167073726654,
0.06341893970966339,
-0.22998978197574615
] |
https://github.com/huggingface/datasets/issues/4694 | Distributed data parallel training for streaming datasets | Hi ! According to https://huggingface.co/docs/datasets/use_with_pytorch#stream-data you can use the pytorch DataLoader with `num_workers>0` to distribute the shards across your workers (it uses `torch.utils.data.get_worker_info()` to get the worker ID and select the right subsets of shards to use)
<s> EDIT: here is a code example </s>
```python
# ds = ds.with_format("torch")
# dataloader = DataLoader(ds, num_workers=num_workers)
```
EDIT: `with_format("torch")` is not required, now you can just do
```python
dataloader = DataLoader(ds, num_workers=num_workers)
``` | ### Feature request
Any documentations for the the `load_dataset(streaming=True)` for (multi-node multi-GPU) DDP training?
### Motivation
Given a bunch of data files, it is expected to split them onto different GPUs. Is there a guide or documentation?
### Your contribution
Does it requires manually split on data files for each worker in `DatasetBuilder._split_generator()`? What is`IterableDatasetShard` expected to do? | 72 | Distributed data parallel training for streaming datasets
### Feature request
Any documentations for the the `load_dataset(streaming=True)` for (multi-node multi-GPU) DDP training?
### Motivation
Given a bunch of data files, it is expected to split them onto different GPUs. Is there a guide or documentation?
### Your contribution
Does it requires manually split on data files for each worker in `DatasetBuilder._split_generator()`? What is`IterableDatasetShard` expected to do?
Hi ! According to https://huggingface.co/docs/datasets/use_with_pytorch#stream-data you can use the pytorch DataLoader with `num_workers>0` to distribute the shards across your workers (it uses `torch.utils.data.get_worker_info()` to get the worker ID and select the right subsets of shards to use)
<s> EDIT: here is a code example </s>
```python
# ds = ds.with_format("torch")
# dataloader = DataLoader(ds, num_workers=num_workers)
```
EDIT: `with_format("torch")` is not required, now you can just do
```python
dataloader = DataLoader(ds, num_workers=num_workers)
``` | [
-0.3311074674129486,
-0.5340832471847534,
-0.09008947014808655,
0.24943336844444275,
-0.11710526049137115,
-0.03952885791659355,
0.5075051784515381,
-0.10724174976348877,
0.09953978657722473,
0.07403329014778137,
-0.04754366725683212,
0.15022683143615723,
-0.03574550896883011,
0.3537200391292572,
0.2818768322467804,
-0.3521544933319092,
-0.006457880139350891,
0.07319715619087219,
-0.11170659959316254,
-0.16031816601753235,
0.10199157893657684,
0.008221637457609177,
-0.20425653457641602,
-0.22086094319820404,
-0.5554760694503784,
-0.2659495174884796,
-0.23416642844676971,
0.2755458354949951,
-0.015766272321343422,
-0.08838009834289551,
0.12097592651844025,
0.32658448815345764,
0.14805684983730316,
0.5007556676864624,
-0.00010991097951773554,
-0.10131974518299103,
0.012514486908912659,
-0.13042356073856354,
-0.2763146162033081,
0.07651588320732117,
-0.058631088584661484,
-0.1563945859670639,
0.02430558390915394,
-0.23192694783210754,
-0.15729527175426483,
-0.19376662373542786,
0.17953737080097198,
-0.08970725536346436,
0.2772614061832428,
0.08400991559028625,
0.15538665652275085,
0.22858957946300507,
-0.0245109423995018,
-0.053326163440942764,
-0.36429905891418457,
0.2517992854118347,
0.0024992991238832474,
0.298341304063797,
0.36721330881118774,
-0.06712593138217926,
-0.45893925428390503,
0.2959896922111511,
-0.071803979575634,
0.351652055978775,
0.34354329109191895,
-0.18666428327560425,
-0.282401978969574,
-0.49330171942710876,
-0.23700377345085144,
0.14406058192253113,
0.2662104666233063,
-0.2557912766933441,
-0.21568237245082855,
-0.6049951314926147,
-0.11824468523263931,
-0.06912548094987869,
-0.20578795671463013,
0.4668421149253845,
-0.3048577904701233,
-0.10040067136287689,
-0.39543256163597107,
-0.22017203271389008,
-0.2512487769126892,
-0.15896137058734894,
0.047437362372875214,
0.44594940543174744,
-0.18597108125686646,
0.11477136611938477,
0.1706199198961258,
0.288848876953125,
0.09162892401218414,
-0.14509841799736023,
0.1884995698928833,
-0.005426496267318726,
-0.30057770013809204,
-0.11541833728551865,
-0.06661570817232132,
-0.0849982276558876,
0.21366354823112488,
0.16085602343082428,
0.16452611982822418,
-0.07446715235710144,
0.1966657191514969,
0.194860577583313,
0.2938791513442993,
0.024568814784288406,
-0.0419355109333992,
0.1732497215270996,
0.02545318379998207,
0.03448788449168205,
-0.07747600972652435,
-0.06786473095417023,
-0.019830677658319473,
-0.09446658194065094,
-0.34473487734794617,
0.003801915794610977,
0.0969465970993042,
-0.0005584023892879486,
-0.18982817232608795,
-0.33566880226135254,
0.12668079137802124,
-0.207855224609375,
0.1741950958967209,
0.26258450746536255,
-0.09374117851257324,
0.19300299882888794,
-0.28132522106170654,
0.053873829543590546,
-0.26947078108787537,
-0.36626797914505005,
-0.18214476108551025,
-0.04271163418889046,
-0.25076019763946533,
0.3473701775074005,
0.1526646465063095,
-0.15842628479003906,
0.2677580714225769,
0.007266472093760967,
0.41910213232040405,
0.14737695455551147,
0.053226567804813385,
-0.11850911378860474,
0.21341931819915771,
0.21987564861774445,
0.0665319561958313,
-0.13227541744709015,
0.0888483002781868,
0.2940686345100403,
-0.2674616873264313,
0.14369678497314453,
-0.24767616391181946,
-0.5103095173835754,
0.18255026638507843,
0.17380471527576447,
0.031114310026168823,
-0.08410842716693878,
-0.4190045893192291,
0.48327434062957764,
0.11969724297523499,
-0.10945606231689453,
0.09000425785779953,
-0.03309676796197891,
-0.36477476358413696,
-0.31073224544525146,
0.3359556496143341,
0.263047456741333,
-0.08570205420255661,
-0.2155076563358307,
0.32262468338012695,
-0.1309085637331009,
0.2112569957971573,
0.3013843297958374,
-0.37147438526153564,
-0.009699717164039612,
-0.12785260379314423,
0.07078403234481812,
0.2076082080602646,
-0.251836359500885,
-0.0477655827999115,
0.4656599462032318,
0.003490075469017029,
0.19928747415542603,
0.3442876935005188,
0.06703781336545944,
0.637679934501648,
-0.0848446935415268,
-0.027842693030834198,
0.48788702487945557,
-0.32400429248809814,
0.11613550037145615,
-0.24047574400901794,
-0.014153826050460339,
0.2323351949453354,
0.41241177916526794,
0.024063296616077423,
0.08472876250743866,
-0.01745716482400894,
-0.0501687154173851,
0.5090555548667908,
-0.05964019522070885,
0.10375761240720749,
0.09907469898462296,
0.015349306166172028,
0.2110794633626938,
0.12383672595024109,
-0.05993165075778961,
-0.5590806603431702,
0.1878143548965454,
0.11846445500850677,
0.09858620166778564,
0.11310765147209167,
-0.23291397094726562,
0.18379271030426025,
-0.2379540205001831,
-0.15526482462882996,
-0.4204365015029907,
0.04523726552724838,
-0.1071983128786087,
0.28627967834472656,
-0.21627044677734375,
-0.37405839562416077,
0.589444100856781,
-0.5785260200500488,
0.003011241089552641,
-0.3334098756313324,
0.40166422724723816,
0.10473571717739105,
-0.1136193796992302,
0.06526440382003784,
0.20792803168296814,
0.0168403759598732,
-0.34768831729888916,
0.013839785009622574,
0.28390738368034363,
0.1285601109266281,
0.12167210131883621,
0.17091158032417297,
0.4123465120792389,
0.6064176559448242,
-0.11409088969230652,
0.2418181449174881,
0.1916130632162094,
-0.03648625314235687,
-0.18135544657707214,
-0.2564762234687805,
0.36376136541366577,
-0.2209809273481369,
0.07897040992975235,
0.12468209862709045,
0.000055653974413871765,
0.019472135230898857,
0.1502126306295395,
-0.10816890001296997,
0.2957494258880615,
0.09513840079307556,
-0.2606085240840912,
0.3783925175666809,
0.13018374145030975,
-0.56587153673172,
0.36338579654693604,
0.0565170980989933,
-0.11816826462745667,
-0.16356945037841797,
-0.11143460124731064,
0.030195672065019608,
-0.07282231748104095,
0.29980260133743286,
0.3344261050224304,
0.3713977336883545,
0.19583210349082947,
0.3706492781639099,
-0.013739610090851784,
0.0009510545060038567,
-0.22431668639183044,
0.011241912841796875,
-0.04633256793022156,
0.016759531572461128,
0.09779327362775803,
-0.29147231578826904,
-0.143338143825531,
-0.23832979798316956,
-0.1155976802110672,
0.2793896198272705,
0.005393908359110355,
-0.12557101249694824,
0.1706453561782837,
0.1105126440525055,
-0.37258467078208923,
-0.3739473223686218,
-0.060494113713502884,
-0.35597220063209534,
-0.07496258616447449,
-0.06683330237865448,
0.4547100365161896,
0.15890727937221527,
0.27282389998435974,
0.2197411060333252,
0.5612415671348572,
-0.23547343909740448,
0.166401207447052,
-0.1820528209209442,
-0.1283036172389984,
0.07047475874423981,
0.09233854711055756,
0.20066885650157928,
0.2134093940258026,
0.38505592942237854,
-0.01819172315299511,
-0.1462409347295761,
-0.34138229489326477,
0.07731876522302628,
0.06464315950870514,
-0.26836109161376953,
-0.1857093870639801,
-0.09855963289737701,
0.021683983504772186,
0.12068843841552734,
-0.165192112326622,
0.020294681191444397,
-0.47639715671539307,
0.09180448949337006,
-0.21855250000953674,
-0.07295042276382446,
-0.19652524590492249,
-0.048930034041404724,
-0.3276941776275635,
-0.4584609866142273,
-0.36298301815986633,
0.274178683757782,
-0.1194741278886795,
0.3328397870063782,
-0.20529614388942719,
-0.050609290599823,
-0.07889093458652496,
0.15596790611743927,
-0.013992087915539742,
-0.04141376540064812,
-0.6117220520973206,
0.20658227801322937,
-0.3446347415447235,
-0.43261095881462097,
-0.06282535195350647,
0.2687963843345642,
0.04480922967195511,
0.47517865896224976,
-0.1952294558286667,
-0.19445975124835968,
0.03773810341954231,
-0.028857070952653885,
-0.034153565764427185,
0.16605713963508606,
0.1867210865020752,
-0.2297603338956833,
0.12122488021850586,
-0.05341105908155441,
0.12055675685405731,
0.04356767609715462,
0.11353687196969986,
0.12771868705749512,
0.2862514555454254,
0.0733761414885521,
0.1543874889612198,
0.9324571490287781,
0.23428654670715332,
-0.12501287460327148,
0.012636467814445496,
-0.03685969114303589,
0.159377321600914,
0.10487309098243713,
-0.3022196590900421,
0.3504427969455719,
-0.19034358859062195,
-0.08739007264375687,
0.07510864734649658,
-0.062459513545036316,
-0.16003623604774475,
-0.22401639819145203,
0.01832171157002449,
-0.07216992974281311,
-0.19292649626731873,
0.24267418682575226,
-0.27403131127357483,
0.3128766715526581,
-0.21807736158370972,
0.054781727492809296,
-0.08909878134727478,
0.0753268450498581,
-0.13296079635620117,
0.22262173891067505,
0.40976497530937195,
0.015245244838297367,
-0.16088217496871948,
0.12480419874191284,
-0.40756598114967346,
0.016575589776039124,
0.08105381578207016,
0.0854465588927269,
-0.17271922528743744,
-0.05347219109535217,
0.2424730658531189,
0.04852764308452606,
0.5364842414855957,
-0.003349386155605316,
-0.03768978267908096,
-0.1364988386631012,
-0.4650367498397827,
0.016589516773819923,
0.04535866156220436,
-0.12862169742584229,
0.34890440106391907,
-0.023033108562231064,
0.12700915336608887,
-0.32504045963287354,
-0.5794739127159119,
0.1716945469379425,
-0.2372795045375824,
-0.16689971089363098,
-0.02521907351911068,
-0.24745948612689972,
-0.13132654130458832,
-0.10922181606292725,
0.26325005292892456,
0.29400914907455444,
0.04227447509765625,
-0.3550947308540344,
0.13766707479953766,
0.09568700939416885,
0.2568245530128479,
0.019605912268161774,
0.14497914910316467,
0.0495721697807312,
-0.03528681397438049,
0.024349398910999298,
0.448527067899704,
0.27154362201690674,
0.2247067391872406,
0.24943114817142487,
-0.14596016705036163,
-0.3930770754814148,
0.056616492569446564,
0.047085974365472794,
0.4261999726295471,
0.3536824584007263,
0.22290846705436707,
-0.10328739136457443,
0.10765285044908524,
0.082814060151577,
-0.6129711866378784,
-0.03659284487366676,
0.11837393045425415,
0.09764689207077026,
-0.2444964349269867,
-0.7953909635543823,
0.252103716135025,
0.04669410362839699,
-0.005461640655994415,
0.5328783392906189,
-0.15233314037322998,
-0.13249650597572327,
0.1330592781305313,
0.0892239436507225,
0.7817484140396118,
-0.00032667070627212524,
0.15671736001968384,
0.12241765111684799,
-0.1494102030992508,
0.26201245188713074,
-0.5744618773460388,
0.27341020107269287,
-0.40124475955963135,
-0.32777729630470276,
-0.09972570091485977,
-0.16106057167053223,
0.11208533495664597,
0.27270036935806274,
-0.06673412024974823,
0.29999256134033203,
0.3591398596763611,
-0.08578263223171234,
-0.06991872191429138,
0.4390835762023926,
-0.16177596151828766,
-0.2935490608215332,
-0.11132124066352844,
0.08432535082101822,
-0.19483725726604462,
0.14552006125450134,
-0.08660076558589935,
-0.12837828695774078,
0.3397839069366455,
-0.052540361881256104,
-0.1124768927693367,
-0.07929003983736038,
-0.23898738622665405,
0.1936636120080948,
-0.1306217461824417,
-0.5401275753974915,
0.020403902977705002,
0.3231681287288666,
0.0009103864431381226,
-0.4997895658016205,
-0.04861334711313248,
0.16015195846557617,
-0.25867292284965515,
-0.007291294168680906,
-0.29697170853614807,
-0.09884700179100037,
0.33900269865989685,
-0.04129151254892349,
-0.3098735213279724,
-0.0356372594833374,
-0.027217622846364975,
-0.41854196786880493,
-0.34115445613861084,
0.2574845850467682,
0.10900117456912994,
-0.00005192519165575504,
0.1534585952758789,
0.06499849259853363,
-0.09265987575054169,
0.004226509481668472,
0.10048769414424896,
0.11086176335811615,
-0.5281251668930054,
0.30340611934661865,
-0.13361379504203796,
-0.005395323038101196,
-0.05194074288010597,
0.26751017570495605,
0.06019201874732971,
-0.007522117346525192,
-0.007727783173322678,
0.19093605875968933,
-0.13065779209136963,
-0.17722934484481812,
-0.1607808619737625,
0.30022308230400085,
-0.10893473029136658,
-0.061004798859357834,
-0.19435879588127136,
0.08990325033664703,
0.031871192157268524,
0.1213325560092926,
0.11431749910116196,
0.245844304561615,
-0.17168591916561127,
-0.24561507999897003,
-0.17952299118041992,
0.09659528732299805,
-0.13201257586479187,
0.06666960567235947,
0.22063329815864563,
-0.056347381323575974,
0.4274832606315613,
0.46021920442581177,
-0.3246152997016907,
0.3104398250579834,
0.09951158612966537,
0.14763334393501282,
0.29792001843452454,
-0.1618116796016693,
0.17466950416564941,
0.04340618848800659,
-0.04435038939118385,
-0.04793586581945419,
-0.11168782413005829,
-0.14553549885749817,
-0.01743749901652336,
0.11090579628944397,
0.11735058575868607,
-0.04898136109113693,
-0.3569878935813904,
-0.2452154904603958,
-0.33760806918144226,
-0.07266800105571747,
0.45501434803009033,
0.21338748931884766,
-0.004292748868465424,
0.1227761059999466,
0.5389822721481323,
0.07856663316488266,
-0.3579254746437073,
0.36470162868499756,
0.16638359427452087,
0.024650491774082184,
0.13209524750709534,
0.038651350885629654,
-0.08697497099637985,
-0.0986250787973404,
0.036570727825164795,
0.17701035737991333,
0.5571421980857849,
-0.18023023009300232,
0.3587281405925751,
-0.057504311203956604,
0.18206021189689636,
-0.29865768551826477,
0.6507164239883423,
0.3419326841831207,
0.04208953678607941,
0.01090124063193798,
0.18818804621696472,
0.1620987206697464,
-0.03677985072135925,
-0.12014004588127136,
0.3699553906917572,
0.11721937358379364,
0.1522948443889618,
0.35215434432029724,
0.47801145911216736,
0.17544561624526978,
-0.2728632092475891,
0.03999413922429085,
0.4166928827762604,
-0.30643773078918457,
0.06825630366802216,
-0.14689522981643677,
-0.005772881209850311,
0.05798983946442604,
0.18829119205474854,
0.31059449911117554,
0.0736374706029892,
0.115199975669384,
-0.1424541473388672,
0.7009952664375305,
0.2775058150291443,
-0.0801018625497818,
0.30712249875068665,
-0.258805513381958,
-0.24447302520275116,
-0.023899659514427185,
-0.20403403043746948,
-0.028939969837665558,
-0.3260454833507538,
0.4520424008369446,
-0.44318848848342896,
-0.4307766854763031,
-0.08553175628185272,
0.1329530030488968,
-0.12613973021507263,
0.18388685584068298,
-0.061741650104522705,
-0.06080872192978859,
-0.10086280852556229,
0.07000245153903961,
0.17657481133937836,
-0.18836356699466705,
0.7075246572494507,
-0.05578145384788513,
0.12093133479356766,
0.03437144309282303,
0.07608664035797119,
0.2421862781047821,
0.3024827837944031,
-0.015813611447811127,
0.016519062221050262,
0.0690573900938034,
-0.07379835844039917,
0.05375862866640091,
0.29781681299209595,
0.2757398784160614,
0.09215499460697174,
-0.13329893350601196,
0.2094469666481018,
0.2226020097732544,
0.06907887011766434,
0.10714447498321533,
0.2932904064655304,
-0.07726481556892395,
-0.1058187335729599,
0.25538164377212524,
0.1506318300962448,
-0.06969219446182251,
-0.12907478213310242,
0.2093009501695633,
-0.289973646402359,
-0.1364879161119461,
0.3449701964855194,
-0.06653542071580887,
-0.21055102348327637,
-0.05380939692258835,
-0.038594432175159454,
-0.4653649628162384,
-0.07693693041801453,
0.38613519072532654,
-0.26487481594085693,
0.04848566651344299,
0.040343571454286575,
0.05381900072097778,
0.013676296919584274,
0.6437706351280212,
0.10660851001739502,
0.23515501618385315,
-0.3248114287853241,
-0.35201823711395264,
-0.5723356604576111,
0.10243827104568481,
-0.00879160687327385,
0.017420439049601555,
-0.09658877551555634,
0.3327298164367676,
0.08767757564783096,
0.09892012178897858,
-0.38491111993789673,
-0.20023009181022644,
0.17064236104488373,
0.3819551169872284,
-0.2489183098077774,
0.0063219256699085236,
-0.4562222957611084,
0.22117391228675842,
0.03633284568786621,
-0.046713687479496,
0.21766860783100128,
0.11076068878173828,
-0.05527808144688606,
0.23942185938358307,
0.23722589015960693,
0.22175230085849762,
-0.15653538703918457,
-0.19527852535247803,
-0.08363455533981323,
0.506129264831543,
0.14665138721466064,
-0.017566613852977753,
0.0008451826870441437,
0.12926256656646729,
-0.2828628420829773,
0.24297407269477844,
-0.10882854461669922,
0.10562790930271149,
-0.1492733210325241,
-0.2126682847738266,
-0.4332168400287628,
0.5276954174041748,
0.12852680683135986,
-0.21816933155059814,
-0.20500315725803375,
0.084647536277771,
-0.12657099962234497,
0.16721756756305695,
0.41186824440956116,
0.5190094113349915,
-0.09783591330051422,
-0.1104385182261467,
-0.15643848478794098,
0.0515008270740509,
0.4082702398300171,
-0.5035330057144165,
-0.11795760691165924,
-0.3547027111053467,
0.21577253937721252,
0.3474850654602051,
0.043624721467494965,
-0.5809577107429504,
-0.034768812358379364,
0.09287188947200775,
-0.35425394773483276,
-0.02780584804713726,
0.28229206800460815,
0.1847570389509201,
-0.25528767704963684,
-0.08773401379585266,
-0.04603659361600876,
-0.02401495724916458,
-0.32192888855934143,
0.11753976345062256,
-0.31300032138824463
] |
https://github.com/huggingface/datasets/issues/4694 | Distributed data parallel training for streaming datasets | @cyk1337 does streaming datasets with multi-gpu works for you? I am testing on one node with multiple gpus, but this is freezing, https://github.com/huggingface/datasets/issues/5123
In case you could make this work, could you share with me your data-loading codes?
thank you | ### Feature request
Any documentations for the the `load_dataset(streaming=True)` for (multi-node multi-GPU) DDP training?
### Motivation
Given a bunch of data files, it is expected to split them onto different GPUs. Is there a guide or documentation?
### Your contribution
Does it requires manually split on data files for each worker in `DatasetBuilder._split_generator()`? What is`IterableDatasetShard` expected to do? | 40 | Distributed data parallel training for streaming datasets
### Feature request
Any documentations for the the `load_dataset(streaming=True)` for (multi-node multi-GPU) DDP training?
### Motivation
Given a bunch of data files, it is expected to split them onto different GPUs. Is there a guide or documentation?
### Your contribution
Does it requires manually split on data files for each worker in `DatasetBuilder._split_generator()`? What is`IterableDatasetShard` expected to do?
@cyk1337 does streaming datasets with multi-gpu works for you? I am testing on one node with multiple gpus, but this is freezing, https://github.com/huggingface/datasets/issues/5123
In case you could make this work, could you share with me your data-loading codes?
thank you | [
-0.3942628502845764,
-0.4553317427635193,
-0.12954653799533844,
0.25921618938446045,
-0.022475700825452805,
-0.07509204000234604,
0.4242890775203705,
-0.07431529462337494,
0.2638162672519684,
0.10502001643180847,
-0.023944836109876633,
0.20150409638881683,
0.01816188171505928,
0.330326646566391,
0.12686291337013245,
-0.3292820155620575,
0.06560307741165161,
0.06124916300177574,
-0.0024848952889442444,
-0.18411466479301453,
0.1686587929725647,
0.018523698672652245,
-0.17993797361850739,
-0.2959875464439392,
-0.4519210159778595,
-0.2979588210582733,
-0.2818966209888458,
0.22204044461250305,
-0.15850946307182312,
-0.1071680337190628,
0.0401134192943573,
0.4012461304664612,
0.11150127649307251,
0.49729228019714355,
-0.0001022627911879681,
-0.16045887768268585,
0.036680519580841064,
-0.04321937635540962,
-0.20078372955322266,
0.039006926119327545,
-0.16496779024600983,
-0.1393001824617386,
-0.028961779549717903,
-0.10064832866191864,
-0.20668792724609375,
-0.13477098941802979,
0.1309516429901123,
-0.2129000723361969,
0.2113790512084961,
0.013258694671094418,
0.20837987959384918,
0.06037183105945587,
-0.013873409479856491,
-0.08860979229211807,
-0.4646945893764496,
0.21745897829532623,
-0.015600990504026413,
0.2824358642101288,
0.45001763105392456,
-0.2424084097146988,
-0.35591158270835876,
0.2637138366699219,
0.009696176275610924,
0.20959851145744324,
0.21324893832206726,
-0.21718326210975647,
-0.059804610908031464,
-0.4502263367176056,
-0.1586388647556305,
0.1858709454536438,
0.39504969120025635,
-0.07306655496358871,
-0.20428751409053802,
-0.4185817837715149,
-0.008955884724855423,
-0.05137762799859047,
-0.16904529929161072,
0.3250880241394043,
-0.365641713142395,
-0.06254912912845612,
-0.4927836060523987,
-0.2663716673851013,
-0.17596256732940674,
-0.16248321533203125,
0.006037682294845581,
0.41169115900993347,
-0.1391305774450302,
0.049519192427396774,
0.06800182163715363,
0.20200544595718384,
0.04210733249783516,
-0.1990368813276291,
0.18297278881072998,
-0.08444759994745255,
-0.42586761713027954,
-0.08499588072299957,
-0.06349492818117142,
-0.10832767933607101,
0.20808368921279907,
0.2373783141374588,
0.3111041188240051,
-0.031312957406044006,
0.15970060229301453,
0.24019217491149902,
0.2951769232749939,
-0.02114179916679859,
-0.10521676391363144,
0.07339724898338318,
0.041243165731430054,
0.1178344190120697,
-0.16858631372451782,
-0.09977353364229202,
-0.13495856523513794,
0.06883705407381058,
-0.5269414186477661,
0.027843592688441277,
0.11354005336761475,
-0.0810125395655632,
-0.15777526795864105,
-0.28858253359794617,
0.23325365781784058,
-0.1707799881696701,
0.19133399426937103,
0.21051862835884094,
-0.06246579438447952,
0.35201790928840637,
-0.3515475392341614,
0.08147476613521576,
-0.22046391665935516,
-0.4285143315792084,
-0.17340083420276642,
-0.1272100955247879,
-0.2823869585990906,
0.3348431885242462,
0.25681954622268677,
-0.025015883147716522,
0.19810225069522858,
0.050329580903053284,
0.20017336308956146,
0.12803851068019867,
0.035766229033470154,
-0.24028316140174866,
0.1288297474384308,
0.11758846044540405,
0.06229839846491814,
-0.18057137727737427,
0.15919819474220276,
0.26410973072052,
-0.18354544043540955,
0.10587690770626068,
-0.11956619471311569,
-0.31680554151535034,
0.24879266321659088,
0.24625353515148163,
0.21430084109306335,
-0.17333194613456726,
-0.45437780022621155,
0.6318444609642029,
-0.020840652287006378,
-0.10675127804279327,
0.09463107585906982,
0.006750347092747688,
-0.2670728862285614,
-0.2967042922973633,
0.2887590825557709,
0.2881384491920471,
-0.047659389674663544,
-0.10359826683998108,
0.2757934033870697,
-0.21345068514347076,
0.26232632994651794,
0.2503276467323303,
-0.27252358198165894,
-0.1252727508544922,
-0.005013209767639637,
0.05925773084163666,
0.17509259283542633,
-0.29202139377593994,
0.06671255826950073,
0.5727453231811523,
-0.13699854910373688,
0.19874699413776398,
0.2827579081058502,
0.031046129763126373,
0.46010392904281616,
-0.05088542029261589,
0.027653463184833527,
0.5200161933898926,
-0.3287169337272644,
0.1043248102068901,
-0.31316953897476196,
-0.09762167930603027,
0.09801851212978363,
0.3945832848548889,
-0.05664730444550514,
-0.01166214793920517,
0.019447393715381622,
-0.048879701644182205,
0.40325063467025757,
-0.05724987015128136,
0.03910229355096817,
0.11204636842012405,
0.019576668739318848,
0.14135196805000305,
-0.0035870568826794624,
0.038706958293914795,
-0.5398929119110107,
0.24522912502288818,
0.23760461807250977,
-0.02252570539712906,
0.22173230350017548,
-0.1968580186367035,
0.301548033952713,
-0.28422996401786804,
-0.07567235827445984,
-0.3749512732028961,
0.1371239274740219,
-0.045126669108867645,
0.13902129232883453,
-0.11087048053741455,
-0.3491416871547699,
0.5032793879508972,
-0.3868388831615448,
0.05084560066461563,
-0.17698246240615845,
0.44360053539276123,
0.11904727667570114,
-0.07950502634048462,
0.15176375210285187,
0.04829903319478035,
0.0265812985599041,
-0.20915493369102478,
0.013069307431578636,
0.22969815135002136,
0.07686495780944824,
0.30608630180358887,
0.2677594721317291,
0.26963356137275696,
0.516940712928772,
-0.1184626966714859,
0.2219626009464264,
0.11417008936405182,
-0.006046209018677473,
-0.25996237993240356,
-0.31450581550598145,
0.21983525156974792,
-0.25330907106399536,
-0.013854339718818665,
0.19884954392910004,
-0.09815420210361481,
0.038872599601745605,
0.07236337661743164,
-0.05494137108325958,
0.2881527543067932,
0.19277584552764893,
-0.22987578809261322,
0.36816269159317017,
0.07012850791215897,
-0.6370770931243896,
0.41235044598579407,
0.07211009413003922,
-0.00809548795223236,
-0.2081066071987152,
-0.10819406062364578,
0.10485754162073135,
-0.14964276552200317,
0.31044262647628784,
0.2346687763929367,
0.38816630840301514,
0.24124237895011902,
0.38456249237060547,
0.03305252268910408,
0.025006458163261414,
-0.2336290031671524,
0.07023671269416809,
-0.0854717344045639,
0.13575375080108643,
0.10045939683914185,
-0.23477455973625183,
-0.20504841208457947,
-0.29307815432548523,
-0.22353912889957428,
0.4426927864551544,
-0.07440708577632904,
-0.024623116478323936,
0.05801314115524292,
0.06849527359008789,
-0.47739893198013306,
-0.2373514473438263,
-0.05161824822425842,
-0.21378865838050842,
0.01744723692536354,
-0.06352833658456802,
0.457601934671402,
0.22805657982826233,
0.20454075932502747,
0.13837485015392303,
0.6163337826728821,
-0.22445392608642578,
0.24932245910167694,
-0.18983232975006104,
-0.09772346168756485,
0.014284728094935417,
0.195132777094841,
0.2231835573911667,
0.2316247820854187,
0.3625774085521698,
0.14079371094703674,
-0.12734133005142212,
-0.20963546633720398,
0.05591050535440445,
-0.04375019669532776,
-0.20177946984767914,
-0.1420176923274994,
-0.2010485827922821,
0.08330613374710083,
0.06837283074855804,
-0.10962837934494019,
0.01648237183690071,
-0.45242804288864136,
0.07210152596235275,
-0.2745635509490967,
0.06852268427610397,
-0.24323610961437225,
-0.1522454172372818,
-0.3248909115791321,
-0.44107311964035034,
-0.4259348213672638,
0.3788466453552246,
-0.19975998997688293,
0.19861175119876862,
-0.19676336646080017,
0.024924859404563904,
-0.0566086508333683,
0.13766199350357056,
-0.027875063940882683,
-0.05306930094957352,
-0.6315873265266418,
0.08726665377616882,
-0.2915402352809906,
-0.36521950364112854,
-0.08632820844650269,
0.4134806990623474,
0.1576966643333435,
0.3882381319999695,
-0.22331489622592926,
0.009056421928107738,
0.12511736154556274,
-0.0750548392534256,
-0.02998831868171692,
0.03274195268750191,
0.1314024180173874,
-0.2758117914199829,
-0.007990382611751556,
0.017935648560523987,
0.06516370177268982,
0.018090583384037018,
0.03276354819536209,
0.11696136742830276,
0.27011263370513916,
0.0889529436826706,
0.15692554414272308,
0.7802108526229858,
0.2778993546962738,
-0.040987271815538406,
0.04632271081209183,
0.0901406928896904,
0.09206278622150421,
0.08766476064920425,
-0.27495744824409485,
0.33730319142341614,
-0.2236683964729309,
-0.16968891024589539,
0.09371455758810043,
-0.038119733333587646,
-0.35598546266555786,
-0.3448264002799988,
0.026524115353822708,
-0.021975800395011902,
-0.11893041431903839,
0.11375750601291656,
-0.3469221889972687,
0.25254181027412415,
-0.08871184289455414,
0.11191073805093765,
-0.09379598498344421,
0.1275298297405243,
-0.2199794054031372,
0.19235818088054657,
0.40379077196121216,
-0.0949285477399826,
-0.2973606288433075,
0.1569741666316986,
-0.4518762230873108,
-0.021955400705337524,
0.08362255245447159,
0.1554722636938095,
-0.33374372124671936,
0.11693725734949112,
0.13134267926216125,
-0.06882776319980621,
0.4826269745826721,
-0.19783687591552734,
-0.0945436954498291,
0.0043619535863399506,
-0.3722596764564514,
0.18229328095912933,
0.026052650064229965,
-0.10745041817426682,
0.15223458409309387,
0.06789472699165344,
0.0921558365225792,
-0.256521999835968,
-0.4206794500350952,
-0.020746532827615738,
-0.3583967983722687,
-0.0544264055788517,
-0.01006192248314619,
-0.1189740002155304,
-0.027142008766531944,
-0.04298529773950577,
0.22212225198745728,
0.18664418160915375,
-0.07052675634622574,
-0.45318955183029175,
0.016087699681520462,
0.12334486097097397,
0.3334940969944,
0.058740176260471344,
0.14391876757144928,
-0.04466753080487251,
-0.017367027699947357,
0.12163905799388885,
0.4280156195163727,
0.1247718408703804,
0.3899918496608734,
0.2933860719203949,
-0.16096970438957214,
-0.2850799858570099,
0.15316495299339294,
-0.053655050694942474,
0.35721397399902344,
0.4658031165599823,
0.2849578559398651,
0.011051617562770844,
0.1193225309252739,
0.12297666072845459,
-0.5730255842208862,
-0.040076106786727905,
0.1537649929523468,
0.12061489373445511,
-0.3562467694282532,
-0.7935605049133301,
0.27258798480033875,
0.08435405790805817,
-0.014922603964805603,
0.5588063597679138,
-0.2476816326379776,
-0.1514003425836563,
0.04753953590989113,
0.04261600226163864,
0.6790029406547546,
0.0002471841871738434,
0.04356173053383827,
0.06741142272949219,
-0.2606726288795471,
0.28900039196014404,
-0.5680151581764221,
0.26135000586509705,
-0.3323042392730713,
-0.46879109740257263,
-0.07135483622550964,
-0.1388888955116272,
0.1907425820827484,
0.35116350650787354,
-0.19223788380622864,
0.19910351932048798,
0.39864248037338257,
-0.12043556571006775,
-0.051559410989284515,
0.49155253171920776,
-0.06587987393140793,
-0.2911236882209778,
-0.24026641249656677,
0.20998652279376984,
-0.12172570824623108,
0.06346891075372696,
-0.1531274914741516,
-0.12611506879329681,
0.28631505370140076,
-0.04186753183603287,
-0.19965007901191711,
0.03849552571773529,
-0.19511571526527405,
0.12349630147218704,
-0.2286340594291687,
-0.24490591883659363,
0.11195053160190582,
0.23530574142932892,
0.005264781415462494,
-0.40469467639923096,
-0.19367794692516327,
0.2243255376815796,
-0.22322624921798706,
-0.03806957229971886,
-0.3182102143764496,
-0.21813978254795074,
0.25343072414398193,
-0.151993989944458,
-0.2851702570915222,
0.008019622415304184,
-0.07687557488679886,
-0.3005777597427368,
-0.2652735114097595,
0.12072751671075821,
0.04959139972925186,
0.12663574516773224,
0.22330094873905182,
0.06214601546525955,
-0.08518508076667786,
-0.02231701835989952,
0.1673716902732849,
0.10888521373271942,
-0.37204113602638245,
0.2571680545806885,
0.0930093303322792,
0.11424066126346588,
-0.1021290272474289,
0.39695554971694946,
0.027082525193691254,
-0.11856668442487717,
-0.025963343679904938,
0.25961846113204956,
-0.1480180025100708,
-0.264790415763855,
-0.1784948706626892,
0.190698504447937,
-0.010990757495164871,
-0.11668583005666733,
-0.24683184921741486,
0.07721191644668579,
0.23736602067947388,
0.09507034718990326,
0.07995423674583435,
0.24553313851356506,
0.05237925425171852,
-0.18737401068210602,
-0.1770821064710617,
0.10633441805839539,
-0.2968577444553375,
-0.0005169883370399475,
0.2471291422843933,
-0.13675269484519958,
0.38382986187934875,
0.49469149112701416,
-0.40416350960731506,
0.32116323709487915,
-0.07749225199222565,
0.054081130772829056,
0.1712150126695633,
-0.15266144275665283,
0.13437099754810333,
-0.060022104531526566,
0.057625263929367065,
-0.06291714310646057,
-0.0352715440094471,
-0.20358091592788696,
0.0880589634180069,
0.11346162110567093,
0.08386622369289398,
-0.016873031854629517,
-0.2441558837890625,
-0.25980818271636963,
-0.39067041873931885,
-0.014708707109093666,
0.27011409401893616,
0.0912843719124794,
0.03400350362062454,
-0.13082081079483032,
0.28912216424942017,
0.1945992112159729,
-0.29168641567230225,
0.3816293478012085,
0.15725848078727722,
0.052437443286180496,
0.05267305672168732,
-0.014720585197210312,
-0.018906597048044205,
-0.15576064586639404,
-0.11505026370286942,
0.13414335250854492,
0.5254679322242737,
-0.1850166916847229,
0.41336899995803833,
-0.051032520830631256,
0.17346283793449402,
-0.2857465445995331,
0.4828854501247406,
0.2812718451023102,
-0.01725330390036106,
0.07334642857313156,
0.12050160765647888,
0.2629610002040863,
0.05082916468381882,
-0.12830527126789093,
0.2261262685060501,
0.09664136171340942,
0.1821153163909912,
0.3050626218318939,
0.5524123311042786,
0.024142809212207794,
-0.24587209522724152,
0.13027223944664001,
0.44380027055740356,
-0.21332904696464539,
0.08746606111526489,
-0.16092678904533386,
-0.011521771550178528,
0.08319881558418274,
0.012895997613668442,
0.4128791093826294,
0.00974804162979126,
0.14533036947250366,
-0.03911568224430084,
0.5151522755622864,
0.3005376160144806,
0.07917769998311996,
0.2084333598613739,
-0.25242528319358826,
-0.17105425894260406,
0.07632069289684296,
-0.39923590421676636,
0.01511453464627266,
-0.30299872159957886,
0.2422725260257721,
-0.40922030806541443,
-0.4944450259208679,
-0.0861152857542038,
0.21893763542175293,
-0.15355607867240906,
0.18419933319091797,
-0.11757287383079529,
-0.09873661398887634,
-0.17707712948322296,
0.12669841945171356,
0.07858122885227203,
-0.0572144016623497,
0.632565975189209,
-0.037524156272411346,
0.13035745918750763,
-0.005903618410229683,
0.05135101079940796,
0.20599159598350525,
0.32777562737464905,
-0.11303435266017914,
0.12405871599912643,
0.048719845712184906,
-0.1945185661315918,
0.06049283966422081,
0.37167787551879883,
0.3374374210834503,
0.1633995920419693,
0.001817881129682064,
0.2042621672153473,
0.25994205474853516,
0.046759232878685,
0.21121346950531006,
0.31627559661865234,
0.12074014544487,
-0.05452166125178337,
0.23442362248897552,
0.22692418098449707,
-0.0491272434592247,
0.08124233037233353,
0.12839272618293762,
-0.1745588481426239,
-0.1858024001121521,
0.3101770281791687,
-0.023517832159996033,
0.03354833275079727,
-0.023310042917728424,
-0.06339889019727707,
-0.46176499128341675,
-0.008152277208864689,
0.273904949426651,
-0.2478763610124588,
0.05705368518829346,
-0.001970539102330804,
0.1053566187620163,
0.05052896589040756,
0.6023702025413513,
0.15859173238277435,
0.13752129673957825,
-0.3106955587863922,
-0.4723551273345947,
-0.5931151509284973,
-0.043970100581645966,
-0.051974568516016006,
0.09839367866516113,
-0.10482114553451538,
0.2890646755695343,
0.19950491189956665,
0.09242726117372513,
-0.45270729064941406,
-0.2672500014305115,
0.23028472065925598,
0.4811738431453705,
-0.3073183000087738,
0.09659802913665771,
-0.3567875027656555,
0.1685434877872467,
0.009276390075683594,
-0.05619097128510475,
0.3633245825767517,
0.05192188546061516,
0.018079817295074463,
0.19783125817775726,
0.3019402027130127,
0.09875527024269104,
-0.10682177543640137,
-0.21789631247520447,
-0.05942712724208832,
0.5255085229873657,
0.12218835204839706,
-0.1325426548719406,
-0.1072615534067154,
0.10776089131832123,
-0.21626248955726624,
0.1662856638431549,
-0.03312051668763161,
0.15451039373874664,
-0.0968049019575119,
-0.11512543261051178,
-0.28162410855293274,
0.392532080411911,
0.05991656333208084,
-0.02586999721825123,
-0.22125287353992462,
-0.010114720091223717,
-0.021364271640777588,
0.09781782329082489,
0.4618247449398041,
0.42075207829475403,
-0.056317783892154694,
-0.2644083797931671,
-0.23067063093185425,
0.020188139751553535,
0.37693101167678833,
-0.41692814230918884,
-0.12665189802646637,
-0.4348268508911133,
0.1975325047969818,
0.34824979305267334,
0.18420615792274475,
-0.5192763209342957,
-0.053295910358428955,
0.11139457672834396,
-0.424062043428421,
-0.13040226697921753,
0.334829717874527,
0.14215034246444702,
-0.2654755711555481,
-0.18125146627426147,
-0.23115620017051697,
0.01202130876481533,
-0.30184945464134216,
0.04052414372563362,
-0.18750709295272827
] |
https://github.com/huggingface/datasets/issues/4694 | Distributed data parallel training for streaming datasets | This has been implemented in `datasets` 2.8:
```python
from datasets.distributed import split_dataset_by_node
ds = split_dataset_by_node(ds, rank=rank, world_size=world_size)
```
docs: https://huggingface.co/docs/datasets/use_with_pytorch#distributed | ### Feature request
Any documentations for the the `load_dataset(streaming=True)` for (multi-node multi-GPU) DDP training?
### Motivation
Given a bunch of data files, it is expected to split them onto different GPUs. Is there a guide or documentation?
### Your contribution
Does it requires manually split on data files for each worker in `DatasetBuilder._split_generator()`? What is`IterableDatasetShard` expected to do? | 20 | Distributed data parallel training for streaming datasets
### Feature request
Any documentations for the the `load_dataset(streaming=True)` for (multi-node multi-GPU) DDP training?
### Motivation
Given a bunch of data files, it is expected to split them onto different GPUs. Is there a guide or documentation?
### Your contribution
Does it requires manually split on data files for each worker in `DatasetBuilder._split_generator()`? What is`IterableDatasetShard` expected to do?
This has been implemented in `datasets` 2.8:
```python
from datasets.distributed import split_dataset_by_node
ds = split_dataset_by_node(ds, rank=rank, world_size=world_size)
```
docs: https://huggingface.co/docs/datasets/use_with_pytorch#distributed | [
-0.4058089852333069,
-0.3526114225387573,
-0.1524766981601715,
0.13152647018432617,
-0.07379491627216339,
-0.03692995756864548,
0.4923267364501953,
-0.044024210423231125,
0.16115693747997284,
0.11810717731714249,
0.011722702533006668,
0.25080063939094543,
-0.01793796941637993,
0.2641921639442444,
0.22261092066764832,
-0.2614862322807312,
0.061705149710178375,
0.12635204195976257,
-0.06704993546009064,
-0.24088788032531738,
0.013117454946041107,
-0.10781948268413544,
-0.2723086476325989,
-0.2734799385070801,
-0.43544474244117737,
-0.3265022039413452,
-0.2754596173763275,
0.1841847002506256,
-0.03924041986465454,
-0.1080317348241806,
0.07799886167049408,
0.3092866539955139,
0.16473816335201263,
0.4639725089073181,
-0.00010328254575142637,
-0.13679108023643494,
-0.018835559487342834,
-0.04920564591884613,
-0.2268158346414566,
0.10829813778400421,
-0.16479432582855225,
-0.16592161357402802,
0.01828412152826786,
-0.26287516951560974,
-0.12316609919071198,
-0.2728203237056732,
0.20131345093250275,
-0.23157154023647308,
0.23269742727279663,
0.11379176378250122,
0.2330886870622635,
0.1222914457321167,
-0.1077406257390976,
-0.1207047551870346,
-0.47775259613990784,
0.2637863755226135,
-0.0034250859171152115,
0.2788008153438568,
0.38404616713523865,
-0.21319527924060822,
-0.3466741442680359,
0.3282153010368347,
-0.04754777252674103,
0.2983982264995575,
0.26718515157699585,
-0.19052250683307648,
-0.08043985813856125,
-0.4611528217792511,
-0.16502314805984497,
0.10743717104196548,
0.3306567966938019,
-0.18909069895744324,
-0.24704515933990479,
-0.5162900686264038,
-0.06134754419326782,
-0.14211145043373108,
-0.21009689569473267,
0.4813777804374695,
-0.2602348327636719,
-0.05729283019900322,
-0.3689196705818176,
-0.16961249709129333,
-0.23676827549934387,
-0.22341088950634003,
-0.042654287070035934,
0.5364587903022766,
-0.11142495274543762,
0.012425035238265991,
0.022764764726161957,
0.2392451912164688,
0.10511774569749832,
-0.18462149798870087,
0.29573148488998413,
-0.02163633331656456,
-0.32524874806404114,
-0.13336040079593658,
-0.003342568874359131,
-0.20559817552566528,
0.18726548552513123,
0.17283418774604797,
0.23318412899971008,
-0.1298581063747406,
0.20825223624706268,
0.21651354432106018,
0.3212258219718933,
0.04341794177889824,
-0.19122225046157837,
0.23958994448184967,
0.04457409307360649,
0.058160241693258286,
-0.19027763605117798,
-0.08269158750772476,
-0.04718460515141487,
-0.02651789039373398,
-0.2748052477836609,
0.08975136280059814,
0.14752434194087982,
0.020641740411520004,
-0.20978401601314545,
-0.28357985615730286,
0.1596880555152893,
-0.21851657330989838,
0.14381466805934906,
0.15493112802505493,
-0.12931595742702484,
0.3038390278816223,
-0.32378917932510376,
0.1034422293305397,
-0.2745009660720825,
-0.325374037027359,
-0.21677778661251068,
-0.07252663373947144,
-0.22834154963493347,
0.28126662969589233,
0.18886388838291168,
0.02607620134949684,
0.2674436569213867,
-0.00581199349835515,
0.34058868885040283,
0.15996527671813965,
0.0805424302816391,
-0.16959407925605774,
0.22149568796157837,
0.18502017855644226,
0.057813409715890884,
-0.22283490002155304,
0.11844608187675476,
0.25144898891448975,
-0.28039392828941345,
0.17517299950122833,
-0.16473117470741272,
-0.43929341435432434,
0.258049875497818,
0.2540768086910248,
0.17355601489543915,
-0.19554868340492249,
-0.3397957980632782,
0.5568065047264099,
0.03945407643914223,
-0.08501480519771576,
0.13638782501220703,
-0.07295310497283936,
-0.32475870847702026,
-0.33424392342567444,
0.27114900946617126,
0.20877350866794586,
-0.0735941082239151,
-0.1486830860376358,
0.19723251461982727,
-0.09057636559009552,
0.25782349705696106,
0.2451637238264084,
-0.3439771831035614,
-0.01326075941324234,
-0.010548890568315983,
-0.009992517530918121,
0.3026363253593445,
-0.32283610105514526,
0.010651109740138054,
0.5375988483428955,
-0.04134535789489746,
0.18937131762504578,
0.2889449894428253,
0.0046306694857776165,
0.5761888027191162,
-0.07815329730510712,
0.029823586344718933,
0.5282014012336731,
-0.3614499270915985,
0.12920239567756653,
-0.2624341547489166,
-0.0919482558965683,
0.20692725479602814,
0.4387335479259491,
0.07432897388935089,
0.04867931827902794,
0.049382809549570084,
-0.04286455735564232,
0.5244706869125366,
-0.07975763082504272,
0.0809624046087265,
0.01568266749382019,
0.10499699413776398,
0.19106508791446686,
0.04686716943979263,
-0.06905160844326019,
-0.4225281774997711,
0.17382004857063293,
0.19495971500873566,
0.0637921616435051,
0.1414746791124344,
-0.2696109414100647,
0.2209252417087555,
-0.25347235798835754,
-0.12256689369678497,
-0.35050079226493835,
0.16744165122509003,
-0.10225282609462738,
0.20289379358291626,
-0.10931818187236786,
-0.3932030200958252,
0.4387679994106293,
-0.5235677361488342,
-0.03336479887366295,
-0.08611397445201874,
0.37821030616760254,
0.12986895442008972,
-0.08142004907131195,
0.13112874329090118,
0.14138293266296387,
0.036536797881126404,
-0.22343288362026215,
-0.04876438528299332,
0.25304752588272095,
0.14947928488254547,
0.15490037202835083,
0.22736021876335144,
0.38789641857147217,
0.5644969940185547,
-0.1287633329629898,
0.25594714283943176,
0.20917823910713196,
-0.0006331237964332104,
-0.1903756856918335,
-0.3035871088504791,
0.2954787313938141,
-0.21945174038410187,
0.02949710190296173,
0.2197868973016739,
-0.067256398499012,
0.07551358640193939,
0.09725092351436615,
-0.10236041247844696,
0.26430612802505493,
0.0388588011264801,
-0.22282816469669342,
0.39345765113830566,
0.09855184704065323,
-0.5796167254447937,
0.40321585536003113,
0.0722530260682106,
-0.056295499205589294,
-0.14075785875320435,
-0.08616963773965836,
0.123906210064888,
-0.09869091212749481,
0.27228984236717224,
0.3847387135028839,
0.4149632453918457,
0.21991950273513794,
0.46222952008247375,
0.05643678456544876,
-0.05034298077225685,
-0.1838633269071579,
0.0853116363286972,
-0.04593759775161743,
0.19386671483516693,
0.06321945041418076,
-0.1976620852947235,
-0.12973487377166748,
-0.24038028717041016,
-0.22941383719444275,
0.3098781406879425,
-0.08950652182102203,
0.010742511600255966,
0.14134608209133148,
0.04231226444244385,
-0.42214909195899963,
-0.3488130569458008,
-0.03106732666492462,
-0.16893905401229858,
-0.056431666016578674,
-0.10776880383491516,
0.3800927996635437,
0.1490170955657959,
0.24842338263988495,
0.0632559061050415,
0.5919591188430786,
-0.21599827706813812,
0.1552724689245224,
-0.06305181980133057,
-0.09370147436857224,
0.06785660982131958,
0.19582341611385345,
0.11262558400630951,
0.15514269471168518,
0.4272219240665436,
0.0967436209321022,
-0.1339283585548401,
-0.18377947807312012,
0.007741332054138184,
-0.01415376365184784,
-0.2436826080083847,
-0.23922792077064514,
-0.16475731134414673,
-0.026056528091430664,
0.12108589708805084,
-0.12788589298725128,
0.010615126229822636,
-0.44254031777381897,
0.18231387436389923,
-0.32353633642196655,
0.002238501561805606,
-0.2662853002548218,
-0.08633842319250107,
-0.3876279592514038,
-0.5723569989204407,
-0.3409915864467621,
0.31897711753845215,
-0.08749085664749146,
0.32288992404937744,
-0.16546519100666046,
-0.03356955572962761,
-0.13818345963954926,
0.22601944208145142,
-0.018080228939652443,
-0.00933641567826271,
-0.5514882206916809,
0.14279760420322418,
-0.38373756408691406,
-0.33874720335006714,
-0.10862667858600616,
0.23421399295330048,
0.1537405550479889,
0.42603302001953125,
-0.17645472288131714,
-0.03976212069392204,
0.017619112506508827,
-0.02459067292511463,
-0.07453009486198425,
0.1613866090774536,
0.15440906584262848,
-0.2046443670988083,
0.02441568113863468,
-0.017695505172014236,
0.14790649712085724,
-0.01503937691450119,
0.05791338160634041,
0.046435508877038956,
0.22715020179748535,
0.04617900028824806,
0.17679086327552795,
0.7260002493858337,
0.303138792514801,
-0.03171580657362938,
0.006698623299598694,
-0.011167427524924278,
0.07716215401887894,
0.08256107568740845,
-0.31408435106277466,
0.3318215608596802,
-0.24023514986038208,
-0.24145770072937012,
0.07913437485694885,
-0.016022175550460815,
-0.33667832612991333,
-0.2479649931192398,
-0.030041078105568886,
-0.10238133370876312,
-0.17331552505493164,
0.12027586251497269,
-0.2965187132358551,
0.38372188806533813,
-0.13964860141277313,
0.01385325938463211,
-0.17015758156776428,
0.1448170244693756,
-0.25298991799354553,
0.20294126868247986,
0.37103983759880066,
-0.06928209960460663,
-0.259462833404541,
0.1207546666264534,
-0.40377458930015564,
-0.03980255126953125,
0.09355159103870392,
0.12978297472000122,
-0.2257859706878662,
-0.005144210532307625,
0.09510289132595062,
0.0306718647480011,
0.4167255163192749,
-0.14298833906650543,
-0.023618780076503754,
-0.04196038097143173,
-0.3769766688346863,
0.12262558192014694,
0.010595869272947311,
-0.19407592713832855,
0.27857640385627747,
0.030573628842830658,
0.05454286187887192,
-0.1701967418193817,
-0.4464830160140991,
0.13746556639671326,
-0.28721705079078674,
-0.10650630295276642,
0.009310967288911343,
-0.1830352395772934,
-0.09632062911987305,
0.0002806205302476883,
0.290573388338089,
0.25519317388534546,
0.007812801748514175,
-0.44997653365135193,
0.09961552917957306,
0.1159692034125328,
0.3174212574958801,
0.032731764018535614,
0.14373435080051422,
-0.06870930641889572,
-0.013758361339569092,
0.11233586072921753,
0.31145453453063965,
0.13926883041858673,
0.3331015110015869,
0.2661404609680176,
-0.18334661424160004,
-0.38623046875,
0.0293483417481184,
-0.01425480842590332,
0.4413272440433502,
0.3616023063659668,
0.18061278760433197,
-0.0704847201704979,
0.10744879394769669,
0.09508715569972992,
-0.6123413443565369,
-0.08858102560043335,
0.1603250801563263,
0.037435133010149,
-0.22198739647865295,
-0.9114447236061096,
0.2695787250995636,
0.08970625698566437,
-0.06456653773784637,
0.5834254622459412,
-0.2698363661766052,
-0.1623966246843338,
0.10190405696630478,
0.044429708272218704,
0.6596210598945618,
0.12014277279376984,
0.06665907800197601,
0.13781851530075073,
-0.1901218146085739,
0.29170459508895874,
-0.5155106782913208,
0.2736480236053467,
-0.3231281042098999,
-0.41662535071372986,
-0.07720125466585159,
-0.15603990852832794,
0.22692149877548218,
0.3542705774307251,
-0.1570466160774231,
0.2281637340784073,
0.36533504724502563,
-0.20108671486377716,
-0.017918704077601433,
0.44717881083488464,
-0.13561400771141052,
-0.25006094574928284,
-0.20253098011016846,
0.16982686519622803,
-0.10733689367771149,
0.023365775123238564,
-0.08326772600412369,
-0.11272509396076202,
0.2805497944355011,
-0.04554442688822746,
-0.13111662864685059,
0.024657223373651505,
-0.18654769659042358,
0.17788803577423096,
-0.2234477400779724,
-0.31194353103637695,
0.042659420520067215,
0.22509843111038208,
0.015719350427389145,
-0.40164318680763245,
-0.07252474874258041,
0.23844531178474426,
-0.18811559677124023,
0.09148269146680832,
-0.2864697575569153,
-0.1087709590792656,
0.310978502035141,
-0.10588579624891281,
-0.3719085156917572,
-0.0420551598072052,
-0.05123509466648102,
-0.3687055706977844,
-0.3055098056793213,
0.1331164538860321,
0.12556368112564087,
0.05455745384097099,
0.2463236004114151,
0.07352401316165924,
-0.12349067628383636,
-0.04568011313676834,
0.17982730269432068,
0.041127659380435944,
-0.38556191325187683,
0.3924641013145447,
-0.08768033981323242,
0.029588952660560608,
-0.1246141642332077,
0.30607178807258606,
0.13225260376930237,
0.020501185208559036,
-0.04335929453372955,
0.13957247138023376,
-0.17931638658046722,
-0.2686861455440521,
-0.14997880160808563,
0.061184272170066833,
0.0703420415520668,
-0.05105794966220856,
-0.25703972578048706,
0.12642736732959747,
0.1520719826221466,
0.0414043590426445,
0.0993703156709671,
0.2949059009552002,
-0.06101304665207863,
-0.2038096785545349,
-0.13024339079856873,
0.06464806199073792,
-0.16404321789741516,
0.013892259448766708,
0.24468374252319336,
-0.05119216814637184,
0.3708972930908203,
0.4850307106971741,
-0.4109525978565216,
0.3114168047904968,
0.09394143521785736,
0.11370841413736343,
0.13239821791648865,
-0.1580308973789215,
0.16086427867412567,
0.04457278549671173,
0.05884302407503128,
-0.07839474827051163,
0.014325037598609924,
-0.22934776544570923,
0.02215297892689705,
0.09753984957933426,
0.11951930075883865,
-0.05821649730205536,
-0.24721424281597137,
-0.331368088722229,
-0.3824193775653839,
-0.07367105782032013,
0.34898826479911804,
0.112970270216465,
-0.017698056995868683,
0.13553602993488312,
0.35771265625953674,
0.09908367693424225,
-0.2509472668170929,
0.35408279299736023,
0.08148954063653946,
0.004310391843318939,
0.04336809366941452,
0.03920163959264755,
0.016753559932112694,
-0.1654171645641327,
-0.1502508670091629,
0.09560742229223251,
0.4475552439689636,
-0.15675413608551025,
0.41700589656829834,
-0.042576439678668976,
0.15878593921661377,
-0.3195576071739197,
0.5587564706802368,
0.338886022567749,
-0.004959471058100462,
0.10170857608318329,
0.11461538076400757,
0.24614174664020538,
-0.06480401754379272,
-0.13653448224067688,
0.33873939514160156,
0.16930200159549713,
0.21038153767585754,
0.32982054352760315,
0.5446210503578186,
0.045824259519577026,
-0.2314174622297287,
0.057617299258708954,
0.4431679844856262,
-0.2548867464065552,
0.1560843288898468,
-0.028316449373960495,
0.04677242413163185,
0.08094333112239838,
0.05310910940170288,
0.38522815704345703,
0.09030957520008087,
0.18007053434848785,
-0.08317223936319351,
0.5883877277374268,
0.313394159078598,
-0.13974733650684357,
0.24798241257667542,
-0.21617665886878967,
-0.1301363855600357,
-0.06505794823169708,
-0.3514830470085144,
-0.03715576231479645,
-0.289177805185318,
0.2677435576915741,
-0.46307238936424255,
-0.4009835422039032,
-0.10518186539411545,
0.10739339888095856,
-0.12604713439941406,
0.19195973873138428,
-0.13223034143447876,
-0.08310595154762268,
-0.12307669222354889,
0.02849562093615532,
0.1501804143190384,
-0.10310083627700806,
0.6567410230636597,
-0.06657515466213226,
0.12195160239934921,
-0.0011615511029958725,
0.15356197953224182,
0.16849163174629211,
0.35965675115585327,
-0.08229626715183258,
-0.03362066298723221,
0.12345727533102036,
-0.1119057834148407,
0.006900675594806671,
0.43656253814697266,
0.3328074812889099,
0.23560892045497894,
-0.1238880455493927,
0.15449222922325134,
0.2511218190193176,
-0.015684213489294052,
0.13537882268428802,
0.22794798016548157,
-0.061284080147743225,
-0.027148880064487457,
0.26226478815078735,
0.23422692716121674,
-0.06375651806592941,
0.06208088994026184,
0.19827336072921753,
-0.29386478662490845,
-0.13674984872341156,
0.3803063929080963,
0.03560362756252289,
-0.061302438378334045,
0.004429414868354797,
-0.013388305902481079,
-0.47309887409210205,
-0.07134759426116943,
0.3951878249645233,
-0.2695164978504181,
0.0817614495754242,
-0.020534858107566833,
0.09697852283716202,
0.014444401487708092,
0.5517212748527527,
0.08345616608858109,
0.13873997330665588,
-0.2578042447566986,
-0.38146066665649414,
-0.5746919512748718,
0.058942846953868866,
-0.09864887595176697,
-0.03577790409326553,
-0.06636100262403488,
0.3349829316139221,
0.07116304337978363,
0.07949606329202652,
-0.4604310393333435,
-0.29071155190467834,
0.12305942922830582,
0.4692573845386505,
-0.29020580649375916,
-0.0027265362441539764,
-0.3594122529029846,
0.20372529327869415,
0.009703367948532104,
-0.11408423632383347,
0.26039519906044006,
-0.023303434252738953,
0.040081895887851715,
0.18327736854553223,
0.22595086693763733,
0.2018616497516632,
-0.054047808051109314,
-0.13824574649333954,
-0.05893382430076599,
0.4869545102119446,
0.04427085071802139,
-0.12720295786857605,
-0.055289287120103836,
0.14299188554286957,
-0.2621676027774811,
0.3025363087654114,
-0.10219267010688782,
0.07915709167718887,
-0.13856583833694458,
-0.19832263886928558,
-0.3049781024456024,
0.44285377860069275,
0.08609248697757721,
-0.17448359727859497,
-0.20100811123847961,
0.038602687418460846,
-0.05124357342720032,
0.17240114510059357,
0.3923802077770233,
0.4332772493362427,
-0.13568344712257385,
-0.13867340981960297,
-0.14702728390693665,
-0.00947888195514679,
0.36356210708618164,
-0.5144704580307007,
-0.1247478723526001,
-0.4917108118534088,
0.22937574982643127,
0.31043028831481934,
0.20019656419754028,
-0.43664759397506714,
-0.027296438813209534,
0.20855027437210083,
-0.3940337300300598,
-0.0826568752527237,
0.3415004014968872,
0.12947405874729156,
-0.2717026174068451,
-0.1365758180618286,
-0.1301007866859436,
-0.1375400424003601,
-0.31229516863822937,
0.05093910172581673,
-0.2702580690383911
] |
https://github.com/huggingface/datasets/issues/4694 | Distributed data parallel training for streaming datasets | i'm having hanging issues with this when using DDP and allocating the datasets with `split_dataset_by_node` 🤔
---
### edit
I don't want to pollute this thread, but for the sake of following up, I observed hanging close to the final iteration of the dataloader. I think this was happening on the final shard. First, I removed the final shard and things worked. Then (including all shards), I reordered the list of shards: `load_dataset('json', data_files=reordered, streaming=True)` and no hang.
I won't open an issue yet bc I am not quite sure about this observation. | ### Feature request
Any documentations for the the `load_dataset(streaming=True)` for (multi-node multi-GPU) DDP training?
### Motivation
Given a bunch of data files, it is expected to split them onto different GPUs. Is there a guide or documentation?
### Your contribution
Does it requires manually split on data files for each worker in `DatasetBuilder._split_generator()`? What is`IterableDatasetShard` expected to do? | 93 | Distributed data parallel training for streaming datasets
### Feature request
Any documentations for the the `load_dataset(streaming=True)` for (multi-node multi-GPU) DDP training?
### Motivation
Given a bunch of data files, it is expected to split them onto different GPUs. Is there a guide or documentation?
### Your contribution
Does it requires manually split on data files for each worker in `DatasetBuilder._split_generator()`? What is`IterableDatasetShard` expected to do?
i'm having hanging issues with this when using DDP and allocating the datasets with `split_dataset_by_node` 🤔
---
### edit
I don't want to pollute this thread, but for the sake of following up, I observed hanging close to the final iteration of the dataloader. I think this was happening on the final shard. First, I removed the final shard and things worked. Then (including all shards), I reordered the list of shards: `load_dataset('json', data_files=reordered, streaming=True)` and no hang.
I won't open an issue yet bc I am not quite sure about this observation. | [
-0.3353276252746582,
-0.29893824458122253,
-0.08756281435489655,
0.16424843668937683,
0.04631570354104042,
0.002082332968711853,
0.5115621089935303,
-0.15144656598567963,
0.04045316204428673,
0.20592480897903442,
0.11632819473743439,
0.2204711139202118,
0.05798816308379173,
0.12120722979307175,
0.05983493849635124,
-0.182058647274971,
0.06275269389152527,
0.08318246901035309,
0.15137581527233124,
-0.18243089318275452,
0.11113876104354858,
0.03443777188658714,
-0.26459801197052,
-0.34129220247268677,
-0.5767956376075745,
-0.3497161567211151,
-0.2152826339006424,
0.1677943766117096,
-0.010619111359119415,
-0.14325208961963654,
0.21004505455493927,
0.4577149450778961,
0.028160136193037033,
0.4803923964500427,
-0.00011344775703037158,
-0.16294147074222565,
0.1692700982093811,
-0.032146792858839035,
-0.4231257438659668,
0.09618870913982391,
-0.3909336030483246,
-0.09902537614107132,
0.11855463683605194,
-0.0655151754617691,
-0.0027067922055721283,
-0.1307990550994873,
0.12752127647399902,
-0.19538027048110962,
0.18698617815971375,
-0.04987837001681328,
0.11908882856369019,
-0.08738412708044052,
-0.09787554293870926,
-0.23923391103744507,
-0.45735517144203186,
0.24492189288139343,
-0.09315177798271179,
0.36229056119918823,
0.4978260397911072,
-0.11598934978246689,
-0.5226473808288574,
0.12716571986675262,
0.12558819353580475,
0.31524786353111267,
0.15138942003250122,
-0.26653480529785156,
-0.0870424434542656,
-0.4514244794845581,
-0.12094611674547195,
0.24428406357765198,
0.5821071863174438,
-0.035437583923339844,
-0.08109442889690399,
-0.4852128326892853,
0.11605097353458405,
0.1002354770898819,
0.06050044670701027,
0.25886398553848267,
-0.36407384276390076,
-0.15966178476810455,
-0.4656715989112854,
-0.249830961227417,
-0.19092707335948944,
-0.12210558354854584,
-0.04379986599087715,
0.3805999457836151,
-0.049911245703697205,
0.08067634701728821,
0.11526572704315186,
0.08721338212490082,
0.10135109722614288,
-0.281358927488327,
0.15974314510822296,
-0.08846117556095123,
-0.4897364377975464,
0.06413663178682327,
-0.007733732461929321,
-0.15671899914741516,
0.03700093924999237,
0.07822467386722565,
0.21755161881446838,
-0.12044427543878555,
0.1842889040708542,
0.24273276329040527,
0.2961539030075073,
0.04070945829153061,
-0.010494537651538849,
0.10015621036291122,
0.0011794902384281158,
0.07625356316566467,
-0.09612254798412323,
-0.05107734352350235,
-0.0878722220659256,
0.01961497962474823,
-0.45699653029441833,
-0.08783408999443054,
0.02863297611474991,
-0.07471485435962677,
-0.12338079512119293,
-0.15541048347949982,
0.15891435742378235,
-0.031415604054927826,
0.17230857908725739,
0.24328643083572388,
-0.05464506894350052,
0.25550320744514465,
-0.3016577363014221,
-0.051374226808547974,
-0.2547505497932434,
-0.39267289638519287,
-0.1814926415681839,
-0.08177739381790161,
-0.3206748068332672,
0.3303894102573395,
0.21344543993473053,
0.1898624747991562,
0.06830770522356033,
-0.010837957262992859,
0.2933052182197571,
0.1400010734796524,
-0.1167503073811531,
-0.21433360874652863,
0.2487613558769226,
0.31101152300834656,
0.0733196884393692,
-0.09656452387571335,
-0.05355687811970711,
0.12559401988983154,
-0.19510912895202637,
0.21358931064605713,
-0.12562602758407593,
-0.360664039850235,
0.2044222205877304,
0.17076776921749115,
0.08996739238500595,
-0.13268108665943146,
-0.5785842537879944,
0.48337727785110474,
0.13691911101341248,
-0.15774422883987427,
0.04092739522457123,
-0.12695668637752533,
-0.20158445835113525,
-0.27196478843688965,
0.26112470030784607,
0.3025693893432617,
-0.3063597083091736,
-0.043157726526260376,
0.024550579488277435,
-0.08774025738239288,
0.3065066337585449,
0.19889569282531738,
-0.2684239447116852,
-0.009312018752098083,
-0.17178134620189667,
0.10263070464134216,
0.13186432421207428,
-0.1956477165222168,
-0.0940990075469017,
0.6153066158294678,
-0.10936621576547623,
0.3015022873878479,
0.29260677099227905,
0.002629754366353154,
0.6373246908187866,
-0.14572982490062714,
0.03971056640148163,
0.45569032430648804,
-0.3948505222797394,
0.0669272169470787,
-0.28307774662971497,
0.02307879738509655,
0.01758580654859543,
0.42370834946632385,
-0.16983945667743683,
0.09606609493494034,
0.032245226204395294,
0.22198587656021118,
0.4572867453098297,
0.053891923278570175,
0.10731468349695206,
0.21780718863010406,
0.04166606813669205,
0.05586286634206772,
0.09535232186317444,
0.04172232747077942,
-0.6833894848823547,
0.3166784644126892,
0.3558778166770935,
-0.06784127652645111,
0.09740202128887177,
-0.08267824351787567,
0.28850916028022766,
-0.18149401247501373,
-0.13369111716747284,
-0.22240865230560303,
0.00547245517373085,
-0.13419504463672638,
0.20782619714736938,
-0.07703185826539993,
-0.16072243452072144,
0.450373113155365,
-0.6102443933486938,
0.051538996398448944,
-0.27748048305511475,
0.38436415791511536,
0.2415100783109665,
-0.10477021336555481,
0.2682986855506897,
0.10261885076761246,
-0.1154249832034111,
-0.261258065700531,
-0.08185514062643051,
0.25302085280418396,
0.20560014247894287,
0.2831023931503296,
0.28750863671302795,
0.3098355531692505,
0.42961475253105164,
0.029063377529382706,
0.18544086813926697,
0.05901830270886421,
-0.17806553840637207,
-0.3239191174507141,
-0.3217691481113434,
0.19932132959365845,
-0.29055818915367126,
0.26776260137557983,
0.13112248480319977,
-0.025137348100543022,
0.14980238676071167,
0.116153284907341,
-0.0698327049612999,
0.2567460834980011,
0.29131197929382324,
-0.1467791199684143,
0.46457773447036743,
0.15881004929542542,
-0.3795762062072754,
0.4500636160373688,
0.11321435868740082,
-0.09162921458482742,
-0.2961905896663666,
-0.016839727759361267,
0.22994157671928406,
-0.16135412454605103,
0.34205809235572815,
0.45664623379707336,
0.4226049780845642,
0.1734745055437088,
0.41739824414253235,
-0.1993231624364853,
-0.06464184820652008,
-0.3732015788555145,
-0.05434650927782059,
-0.011457592248916626,
0.21603557467460632,
0.15853643417358398,
-0.22647055983543396,
-0.18510128557682037,
-0.17782017588615417,
-0.2339697778224945,
0.41871151328086853,
0.09789250791072845,
0.0025810934603214264,
0.033649273216724396,
-0.06637407094240189,
-0.23665070533752441,
-0.12291824817657471,
0.030609488487243652,
-0.4187745749950409,
-0.2352209985256195,
-0.13886836171150208,
0.4233477711677551,
0.21575921773910522,
0.3080468773841858,
0.2512115240097046,
0.5734209418296814,
-0.15335144102573395,
0.18751418590545654,
-0.31054285168647766,
-0.1723501980304718,
-0.09412408620119095,
0.10887408256530762,
0.32693490386009216,
0.19809052348136902,
0.2545001208782196,
0.24536143243312836,
-0.11993438750505447,
-0.12315433472394943,
0.005010761320590973,
0.007078405469655991,
-0.20239219069480896,
-0.07479838281869888,
-0.11007741093635559,
0.21030613780021667,
0.1031862199306488,
-0.05091336742043495,
-0.00006317836232483387,
-0.29619908332824707,
0.10133582353591919,
-0.18003322184085846,
0.03055931255221367,
-0.2971092164516449,
-0.08079852163791656,
-0.2488703429698944,
-0.442457914352417,
-0.48241788148880005,
0.3343542814254761,
-0.3033086061477661,
0.2002965360879898,
-0.2585608959197998,
0.09550032019615173,
-0.08902893215417862,
0.22265784442424774,
-0.07939797639846802,
-0.0009172393474727869,
-0.6209120154380798,
0.12435069680213928,
-0.27124646306037903,
-0.29979056119918823,
0.012640971690416336,
0.3150683641433716,
0.15690317749977112,
0.42750084400177,
-0.4514731168746948,
0.126709446310997,
0.06309167295694351,
-0.08000633865594864,
-0.030665382742881775,
-0.17855867743492126,
0.12135805189609528,
-0.22418059408664703,
0.10211853682994843,
-0.009712323546409607,
0.13254877924919128,
0.14874649047851562,
0.014788305386900902,
0.1638425588607788,
0.24488064646720886,
0.07339465618133545,
0.15891097486019135,
0.6913252472877502,
0.22743402421474457,
-0.04722603037953377,
-0.16400447487831116,
0.2154737263917923,
0.04528529942035675,
0.03664335235953331,
-0.12226053327322006,
0.3033645749092102,
-0.11045396327972412,
-0.21414808928966522,
0.1266838163137436,
0.025992073118686676,
-0.4024028480052948,
-0.17378975450992584,
-0.07306365668773651,
0.0988970473408699,
-0.2275628298521042,
0.20819751918315887,
-0.4415573179721832,
0.18402531743049622,
-0.07222490012645721,
0.026983246207237244,
0.004330137744545937,
0.07558608055114746,
-0.264593243598938,
0.20676615834236145,
0.5203589200973511,
-0.1492677628993988,
-0.23530568182468414,
0.1466732770204544,
-0.4254797101020813,
-0.09142361581325531,
0.01495635136961937,
0.21714341640472412,
-0.34916019439697266,
0.06119818985462189,
0.2757130265235901,
-0.016196906566619873,
0.5276463627815247,
-0.20262828469276428,
-0.04226908087730408,
0.02586287260055542,
-0.2409646064043045,
0.15372338891029358,
-0.013452436774969101,
-0.014776986092329025,
0.35893651843070984,
0.08693559467792511,
0.09761092066764832,
-0.34189650416374207,
-0.4703492522239685,
0.027618559077382088,
-0.32899054884910583,
-0.1423758715391159,
-0.1496884673833847,
-0.1025666892528534,
0.020316675305366516,
-0.025438403710722923,
0.18608930706977844,
0.06384822726249695,
-0.03569768741726875,
-0.45687344670295715,
-0.011680865660309792,
0.060646407306194305,
0.15896841883659363,
-0.06962773203849792,
0.08964911103248596,
-0.09828849136829376,
-0.0034095982555299997,
0.21056869626045227,
0.3563652038574219,
0.12225031852722168,
0.5438265204429626,
0.19449692964553833,
-0.19411568343639374,
-0.22411128878593445,
0.22366580367088318,
-0.06762351095676422,
0.3641296625137329,
0.43600618839263916,
0.15935634076595306,
-0.05093168467283249,
0.022400828078389168,
0.11208243668079376,
-0.5967559814453125,
-0.06346344202756882,
0.16599120199680328,
0.10362681746482849,
-0.2922361195087433,
-0.7984482049942017,
0.39681223034858704,
0.06956116855144501,
-0.0639348030090332,
0.5249862670898438,
-0.2297774702310562,
-0.1506846845149994,
0.1841343343257904,
0.0557590015232563,
0.7799739241600037,
0.015081673860549927,
0.03210875391960144,
0.08871994912624359,
-0.03864239528775215,
0.2194734364748001,
-0.6321545243263245,
0.14242492616176605,
-0.24744813144207,
-0.4304622411727905,
-0.08023346215486526,
-0.22147950530052185,
0.24812448024749756,
0.4143943786621094,
-0.10374902188777924,
-0.014422792941331863,
0.2713298797607422,
-0.05351746454834938,
0.0674956738948822,
0.5001260638237,
0.03842860460281372,
-0.33439508080482483,
-0.14450179040431976,
0.08741812407970428,
-0.08647431433200836,
-0.13007348775863647,
-0.08618630468845367,
-0.07174219191074371,
0.15927383303642273,
0.043341509997844696,
-0.23993968963623047,
0.07732537388801575,
-0.0011380254290997982,
0.1721390336751938,
-0.22354838252067566,
-0.3010264039039612,
0.18418848514556885,
0.26672598719596863,
-0.18320243060588837,
-0.33451583981513977,
-0.11022268235683441,
0.496616929769516,
-0.1393859088420868,
-0.03839200362563133,
-0.21101446449756622,
-0.14821255207061768,
0.2695232629776001,
-0.01714492402970791,
-0.18972691893577576,
-0.06284535676240921,
-0.1743972897529602,
-0.3692951798439026,
-0.5210871696472168,
0.1199573501944542,
0.19349651038646698,
0.024700194597244263,
0.17028357088565826,
0.0071287453174591064,
-0.1568402200937271,
0.034942638128995895,
0.09224791824817657,
0.06278391182422638,
-0.3522128164768219,
0.4357811212539673,
0.005079489201307297,
0.07968994975090027,
-0.15102052688598633,
0.3773772120475769,
0.13428127765655518,
0.05068689584732056,
0.07763691246509552,
0.22706414759159088,
-0.18010787665843964,
-0.1881382167339325,
-0.22149431705474854,
0.13186992704868317,
-0.03437794744968414,
-0.052041202783584595,
-0.23196426033973694,
0.13088123500347137,
0.1883268803358078,
-0.09258782863616943,
0.1412045657634735,
0.1461530327796936,
-0.07169637084007263,
-0.2642536759376526,
-0.1368868350982666,
-0.058053046464920044,
-0.2659190595149994,
0.07015444338321686,
0.10304706543684006,
-0.24275560677051544,
0.2700532078742981,
0.6221801042556763,
-0.28609180450439453,
0.1906474381685257,
-0.08863072842359543,
0.12760040163993835,
0.24700728058815002,
-0.23303475975990295,
0.18505364656448364,
-0.053017549216747284,
-0.032346077263355255,
0.010088881477713585,
0.05716053768992424,
-0.10259422659873962,
0.10741277039051056,
0.1415286660194397,
0.07512971013784409,
0.16655351221561432,
-0.31921881437301636,
-0.31087809801101685,
-0.3547549545764923,
-0.06118599325418472,
0.20392176508903503,
-0.10500459372997284,
-0.07440276443958282,
-0.19967155158519745,
0.633617639541626,
0.1932305246591568,
-0.21386981010437012,
0.5614217519760132,
0.20818258821964264,
0.05151471123099327,
0.11157719045877457,
0.08144380152225494,
-0.05455350503325462,
-0.12340861558914185,
-0.08309436589479446,
0.15674851834774017,
0.4298383593559265,
-0.203260600566864,
0.6201745271682739,
-0.04293224215507507,
0.2615635097026825,
-0.31382012367248535,
0.6163476705551147,
0.3886447250843048,
0.07359205931425095,
-0.17483831942081451,
0.15455877780914307,
0.1322852224111557,
0.09927390515804291,
-0.19968990981578827,
0.34367799758911133,
0.17664802074432373,
0.01726238802075386,
0.23619762063026428,
0.4026086926460266,
-0.14353111386299133,
-0.2335679680109024,
0.22055968642234802,
0.5634894967079163,
-0.28010833263397217,
0.009179502725601196,
-0.19302259385585785,
-0.00043470412492752075,
0.1278505176305771,
0.10922069102525711,
0.44862523674964905,
0.0256926491856575,
0.20664332807064056,
0.015861742198467255,
0.5215222835540771,
0.2856513261795044,
0.03230774402618408,
0.18897196650505066,
-0.4256714880466461,
-0.12822359800338745,
0.3145259618759155,
-0.3894043564796448,
0.001576445996761322,
-0.2812836766242981,
0.15750843286514282,
-0.2690166234970093,
-0.4720017611980438,
-0.12965936958789825,
0.20889054238796234,
-0.15955352783203125,
0.2101876437664032,
-0.029912227764725685,
-0.08414892852306366,
-0.2343284785747528,
-0.039549391716718674,
0.16307051479816437,
-0.16565819084644318,
0.6397162675857544,
0.03229392692446709,
0.2438933253288269,
0.02255384810268879,
0.07622556388378143,
0.030777139589190483,
0.2997596561908722,
-0.13549670577049255,
0.08224759995937347,
0.0008792728185653687,
-0.1308324635028839,
0.06031019985675812,
0.11042168736457825,
0.283378928899765,
0.27822014689445496,
-0.11466285586357117,
0.15020506083965302,
0.3463669419288635,
0.04454442113637924,
0.13847869634628296,
0.4500959813594818,
-0.0010513290762901306,
0.031142089515924454,
0.2618490755558014,
0.12648890912532806,
0.010335865430533886,
-0.061780791729688644,
0.20726464688777924,
-0.17922750115394592,
-0.10180379450321198,
0.29356062412261963,
0.13116711378097534,
-0.14328867197036743,
0.04404156655073166,
-0.05625166743993759,
-0.5204911231994629,
-0.21951338648796082,
0.2723378837108612,
-0.41491541266441345,
0.02801733836531639,
-0.005716930143535137,
0.056732721626758575,
-0.14467176795005798,
0.7251158952713013,
0.23799657821655273,
0.1789959818124771,
-0.31120267510414124,
-0.5242692828178406,
-0.532135009765625,
-0.02790970355272293,
-0.18385833501815796,
-0.02244437485933304,
-0.023378748446702957,
0.4257616698741913,
0.12626062333583832,
-0.00885988399386406,
-0.5459113121032715,
-0.3821811378002167,
0.05206432193517685,
0.5770014524459839,
-0.3746883273124695,
-0.04506323114037514,
-0.29002511501312256,
0.03577632084488869,
-0.1934308409690857,
-0.04270133003592491,
0.33017653226852417,
0.13188892602920532,
-0.06218792498111725,
0.2608623206615448,
0.1386909782886505,
0.3354259133338928,
-0.0038655027747154236,
-0.35486385226249695,
-0.018346039578318596,
0.49085888266563416,
0.12863832712173462,
-0.15209457278251648,
-0.21768811345100403,
0.08552641421556473,
-0.016051407903432846,
0.24260035157203674,
-0.083631232380867,
0.20209597051143646,
-0.22202351689338684,
0.01877601630985737,
-0.30304449796676636,
0.18736527860164642,
-0.03215808421373367,
-0.04671021178364754,
-0.2704007029533386,
-0.03412456065416336,
-0.054797668009996414,
0.36811262369155884,
0.4348163306713104,
0.47402089834213257,
0.05785420909523964,
-0.08121374994516373,
-0.25141221284866333,
0.082717165350914,
0.2707729637622833,
-0.5860508680343628,
-0.09453915059566498,
-0.12406233698129654,
0.18186119198799133,
0.08958837389945984,
0.16780704259872437,
-0.4235913157463074,
-0.1404958814382553,
0.24675005674362183,
-0.4120113253593445,
0.0008794926106929779,
0.3095376193523407,
0.3007185161113739,
-0.22504226863384247,
-0.19053731858730316,
-0.14071303606033325,
-0.051326245069503784,
-0.3506387174129486,
0.1869266927242279,
-0.25737902522087097
] |
https://github.com/huggingface/datasets/issues/4691 | Dataset Viewer issue for rajistics/indian_food_images | Hi, thanks for reporting. I triggered a refresh of the preview for this dataset, and it works now. I'm not sure what occurred.
<img width="1019" alt="Capture d’écran 2022-07-18 à 11 01 52" src="https://user-images.githubusercontent.com/1676121/179541327-f62ecd5e-a18a-4d91-b316-9e2ebde77a28.png">
| ### Link
https://huggingface.co/datasets/rajistics/indian_food_images/viewer/rajistics--indian_food_images/train
### Description
I have a train/test split in my dataset
<img width="410" alt="Screen Shot 2022-07-15 at 11 44 42 AM" src="https://user-images.githubusercontent.com/6808012/179293215-7b419ec3-3527-46f2-8dad-adbc5568cfa0.png">
t
The dataset viewer works for the test split (images of indian food), but does not show my train split. My guess is maybe there is some corrupt image file that is guessing this. But I have no idea.
The original dataset was pulled from here: https://www.kaggle.com/datasets/l33tc0d3r/indian-food-classification?resource=download-directory
### Owner
Yes | 33 | Dataset Viewer issue for rajistics/indian_food_images
### Link
https://huggingface.co/datasets/rajistics/indian_food_images/viewer/rajistics--indian_food_images/train
### Description
I have a train/test split in my dataset
<img width="410" alt="Screen Shot 2022-07-15 at 11 44 42 AM" src="https://user-images.githubusercontent.com/6808012/179293215-7b419ec3-3527-46f2-8dad-adbc5568cfa0.png">
t
The dataset viewer works for the test split (images of indian food), but does not show my train split. My guess is maybe there is some corrupt image file that is guessing this. But I have no idea.
The original dataset was pulled from here: https://www.kaggle.com/datasets/l33tc0d3r/indian-food-classification?resource=download-directory
### Owner
Yes
Hi, thanks for reporting. I triggered a refresh of the preview for this dataset, and it works now. I'm not sure what occurred.
<img width="1019" alt="Capture d’écran 2022-07-18 à 11 01 52" src="https://user-images.githubusercontent.com/1676121/179541327-f62ecd5e-a18a-4d91-b316-9e2ebde77a28.png">
| [
-0.4573707580566406,
0.10634936392307281,
0.02044444903731346,
0.5601473450660706,
0.1352475881576538,
0.06503850966691971,
0.2745894193649292,
0.43015196919441223,
-0.17592856287956238,
-0.0015382766723632812,
0.1445353478193283,
0.27354755997657776,
-0.01595863327383995,
-0.09443066269159317,
-0.11756725609302521,
-0.16748127341270447,
0.03779923915863037,
0.22769799828529358,
0.05077849328517914,
0.02694852650165558,
-0.16186916828155518,
-0.08148882538080215,
-0.1693401336669922,
-0.0023412927985191345,
-0.5789196491241455,
0.028021041303873062,
-0.0629107728600502,
-0.06493527442216873,
-0.21366247534751892,
-0.32142823934555054,
0.09684456884860992,
0.02240806072950363,
0.11705034971237183,
0.5235815644264221,
-0.00011794853344326839,
0.2623118758201599,
0.4655134081840515,
0.04613827168941498,
-0.06876257807016373,
-0.051353394985198975,
-0.31387636065483093,
-0.10788233578205109,
0.14491039514541626,
-0.11795920878648758,
-0.24258136749267578,
-0.32803505659103394,
0.1937776505947113,
-0.006390918046236038,
0.4150453209877014,
0.4347973167896271,
0.1623111516237259,
-0.18682871758937836,
-0.0943591520190239,
0.21552933752536774,
0.03601858764886856,
0.3615703582763672,
-0.14088493585586548,
0.14737483859062195,
-0.24178704619407654,
0.3439740240573883,
-0.26093971729278564,
0.05897481366991997,
0.027161328122019768,
-0.018318772315979004,
-0.25008925795555115,
-0.016787197440862656,
-0.19652381539344788,
-0.1666978895664215,
0.41215261816978455,
0.24236086010932922,
0.5184330940246582,
-0.011099103838205338,
-0.1252560317516327,
0.08705892413854599,
-0.21035811305046082,
-0.01227579079568386,
0.3556462526321411,
0.3148786425590515,
-0.10994093120098114,
0.18145491182804108,
-0.4046713411808014,
0.09776023775339127,
-0.17057013511657715,
0.2839956283569336,
-0.6446681022644043,
-0.04095327854156494,
-0.10983142256736755,
0.32229673862457275,
0.16915562748908997,
-0.020093310624361038,
0.34069687128067017,
-0.21135419607162476,
-0.23315784335136414,
0.027822963893413544,
-0.11484649777412415,
0.07038932293653488,
-0.1842426061630249,
-0.1811816394329071,
-0.14149129390716553,
-0.01417515054345131,
-0.23809386789798737,
0.19982704520225525,
-0.2566166818141937,
0.0763687938451767,
0.34732362627983093,
-0.22285480797290802,
-0.14355537295341492,
0.7553631663322449,
0.11705273389816284,
0.16878080368041992,
-0.23906119167804718,
-0.15601956844329834,
-0.07859023660421371,
-0.4787587523460388,
-0.13563695549964905,
-0.2257736325263977,
0.12103798985481262,
-0.1278511881828308,
-0.1997874677181244,
0.060277309268713,
-0.30652788281440735,
0.010189477354288101,
0.023287151008844376,
0.11066266894340515,
-0.04354561120271683,
-0.13291940093040466,
-0.05416135489940643,
0.13014164566993713,
-0.012568619102239609,
-0.31280314922332764,
-0.18159320950508118,
-0.04349112883210182,
-0.48869338631629944,
0.04144345223903656,
0.0662897527217865,
-0.06091904267668724,
-0.012405628338456154,
0.10931011289358139,
-0.1723332703113556,
-0.1704823076725006,
-0.10915209352970123,
-0.539781928062439,
0.21332493424415588,
0.1690673530101776,
0.03531606122851372,
0.03820556402206421,
0.09823320806026459,
0.21301312744617462,
0.2021227777004242,
0.3208518326282501,
-0.38030189275741577,
0.17077741026878357,
0.0251309834420681,
0.09996043890714645,
-0.40995943546295166,
0.04696563258767128,
-0.2242935299873352,
0.14311407506465912,
-0.0022698715329170227,
-0.4705446660518646,
-0.0211464986205101,
-0.14321863651275635,
0.05939691886305809,
-0.06053362041711807,
0.05432534217834473,
0.281780481338501,
-0.5728992819786072,
0.22835293412208557,
-0.37467873096466064,
-0.12056790292263031,
0.17212477326393127,
0.0056554172188043594,
-0.12043639272451401,
0.061349477618932724,
-0.42907100915908813,
-0.03983459249138832,
0.3296346962451935,
0.11903338134288788,
-0.4642837345600128,
0.2947903573513031,
0.04069577157497406,
0.13638213276863098,
-0.07838533073663712,
0.11884478479623795,
0.1528676450252533,
-0.0786697119474411,
-0.4301054775714874,
0.07835671305656433,
-0.06240139156579971,
-0.02542688697576523,
-0.2710382342338562,
-0.15595315396785736,
0.07754779607057571,
0.24572046101093292,
0.5271976590156555,
-0.15074118971824646,
0.2016969621181488,
-0.00326139060780406,
0.384628564119339,
0.1794484406709671,
0.19235312938690186,
-0.1112036257982254,
0.22698576748371124,
-0.05474629998207092,
-0.005955263506621122,
-0.057356297969818115,
0.05795809626579285,
0.13727018237113953,
0.22234046459197998,
-0.19891205430030823,
-0.013727471232414246,
0.09859432280063629,
-0.2723763585090637,
-0.1588989496231079,
-0.5840516686439514,
-0.14417710900306702,
0.11439108848571777,
0.09336824715137482,
-0.5047992467880249,
0.48251086473464966,
0.007974904030561447,
-0.03439994156360626,
0.020972466096282005,
0.0560818687081337,
0.19254550337791443,
0.5966743230819702,
0.04180590435862541,
-0.1295912116765976,
-0.04632056877017021,
-0.05838150531053543,
0.1321444809436798,
-0.20415472984313965,
-0.22170406579971313,
0.3532165586948395,
0.4624841809272766,
0.26848530769348145,
0.14882026612758636,
-0.37093889713287354,
0.18536663055419922,
-0.8243119716644287,
-0.006325604394078255,
0.3344963788986206,
-0.10796978324651718,
-0.005074907094240189,
-0.44584110379219055,
0.09314705431461334,
-0.05159683898091316,
0.003760039806365967,
-0.07422071695327759,
0.2217063456773758,
0.031610652804374695,
-0.1751093566417694,
0.17523279786109924,
-0.17692816257476807,
-0.03616556152701378,
0.0005280338227748871,
0.1431465893983841,
0.13267867267131805,
-0.12855352461338043,
0.026547998189926147,
0.16463975608348846,
0.22588348388671875,
-0.05985773354768753,
0.013335462659597397,
-0.10282684117555618,
0.008956890553236008,
0.08434894680976868,
0.2080690711736679,
0.08055968582630157,
0.07843095064163208,
-0.1003449559211731,
0.036556415259838104,
0.15778057277202606,
-0.11189277470111847,
0.09222464263439178,
0.2619064450263977,
0.3926924467086792,
0.23002085089683533,
0.17128294706344604,
-0.007098224945366383,
-0.22707587480545044,
0.02016422525048256,
0.34799259901046753,
0.37960177659988403,
-0.12170173227787018,
0.1285395324230194,
-0.5032248497009277,
-0.48395228385925293,
-0.3550685942173004,
-0.029601220041513443,
-0.1699267327785492,
-0.36797574162483215,
-0.09471136331558228,
-0.20747122168540955,
-0.11247332394123077,
0.25743749737739563,
-0.338823527097702,
-0.03158806264400482,
-0.011393396183848381,
-0.01289551891386509,
-0.27791398763656616,
-0.21333573758602142,
-0.3733181655406952,
0.09429121017456055,
0.6849916577339172,
0.09902533143758774,
0.1874084174633026,
-0.17885762453079224,
-0.0866936445236206,
-0.3481222093105316,
-0.41674312949180603,
0.16406798362731934,
0.014284204691648483,
0.3175254464149475,
-0.03547419607639313,
0.12849995493888855,
-0.25726157426834106,
0.003792205825448036,
0.29023778438568115,
0.12043642997741699,
-0.048793479800224304,
-0.030486689880490303,
0.2049536257982254,
-0.030851196497678757,
0.22966614365577698,
-0.25138330459594727,
0.0813538134098053,
-0.14082249999046326,
-0.02111801505088806,
-0.03854653611779213,
0.06235560402274132,
0.21618296205997467,
0.33607587218284607,
-0.07224578410387039,
0.030844150111079216,
-0.342939168214798,
-0.20397566258907318,
-0.2169853299856186,
0.10929107666015625,
-0.15212827920913696,
-0.43208613991737366,
0.2558882534503937,
0.09631748497486115,
0.07259064167737961,
0.38427478075027466,
-0.6916215419769287,
0.2202730029821396,
0.10911636054515839,
0.05673954263329506,
0.3248387277126312,
-0.5380079746246338,
-0.20109355449676514,
-0.09593483060598373,
0.04226197302341461,
-0.2015840709209442,
0.12495920062065125,
-0.04361177235841751,
-0.2747548222541809,
0.3827516436576843,
-0.003089187666773796,
0.2975805401802063,
0.18155671656131744,
0.5042288303375244,
0.25194016098976135,
-0.059618424624204636,
0.2533290684223175,
-0.47942113876342773,
0.2919321656227112,
-0.050945959985256195,
-0.21495464444160461,
0.31352633237838745,
0.11896684765815735,
-0.11333822458982468,
0.05586892366409302,
-0.17315250635147095,
-0.25383493304252625,
-0.13929609954357147,
0.10314318537712097,
-0.43777361512184143,
-0.2938920855522156,
0.11894344538450241,
-0.05135735124349594,
0.2517912685871124,
0.05092191323637962,
-0.052797768265008926,
0.09582407772541046,
-0.38918668031692505,
-0.13090866804122925,
0.34775757789611816,
0.2392810583114624,
-0.027917206287384033,
-0.04428160935640335,
0.03082370199263096,
0.14992445707321167,
0.11001701653003693,
-0.006582882255315781,
0.4205244183540344,
-0.0673556700348854,
0.04547964036464691,
0.1851557493209839,
0.013152629137039185,
0.7873848080635071,
-0.2295556515455246,
0.18969839811325073,
0.09807296097278595,
-0.08462179452180862,
-0.08047700673341751,
-0.10907655954360962,
0.016420062631368637,
0.04187723249197006,
0.05502144247293472,
0.3370942771434784,
-0.05531909316778183,
-0.09879224747419357,
0.6477317810058594,
-0.06587153673171997,
-0.2592702805995941,
-0.1733919084072113,
-0.12467394769191742,
0.19046342372894287,
0.14932893216609955,
-0.21734201908111572,
0.006099028512835503,
0.07219570130109787,
-0.08734887093305588,
-0.2261108011007309,
-0.38006266951560974,
-0.13773295283317566,
-0.12138739228248596,
0.16380031406879425,
0.4145774245262146,
-0.189606711268425,
0.25023946166038513,
0.3196288049221039,
0.26268333196640015,
0.642499566078186,
0.5263026356697083,
0.05479919910430908,
-0.3478001058101654,
0.3236139118671417,
-0.3028283715248108,
0.06190114468336105,
0.24042579531669617,
-0.015947729349136353,
-0.24940890073776245,
-0.06856124103069305,
0.037865761667490005,
0.015341876074671745,
0.28775784373283386,
0.3711491525173187,
-0.19665426015853882,
-0.49120381474494934,
-0.36381617188453674,
0.6266152858734131,
0.18157517910003662,
-0.007778748869895935,
-0.052242763340473175,
0.04782932624220848,
-0.1746983677148819,
0.014923807233572006,
0.43704915046691895,
0.7549031972885132,
0.08773355931043625,
-0.11916455626487732,
0.2966613471508026,
-0.108986996114254,
0.06736893951892853,
-0.029135452583432198,
0.09359648823738098,
-0.4316043257713318,
-0.1558493971824646,
-0.1580713838338852,
-0.06927841901779175,
0.2338952124118805,
0.037289999425411224,
0.023632828146219254,
-0.19440752267837524,
0.03202290087938309,
0.18212896585464478,
0.08713534474372864,
-0.18901516497135162,
-0.026587458327412605,
0.29371458292007446,
0.12209641188383102,
0.13937389850616455,
0.0776282325387001,
-0.13191306591033936,
-0.08303110301494598,
-0.19901718199253082,
-0.3164271116256714,
0.23927120864391327,
-0.2915826439857483,
0.0641784593462944,
-0.1722513884305954,
0.07579442858695984,
0.02213878184556961,
-0.340617299079895,
0.20334194600582123,
0.3005762994289398,
-0.1384684443473816,
-0.12264189124107361,
-0.13224710524082184,
0.5339239239692688,
-0.21581900119781494,
-0.15760257840156555,
0.02091902121901512,
-0.08930356800556183,
0.4989398121833801,
-0.07024097442626953,
-0.11393255740404129,
0.10788244754076004,
-0.03441993519663811,
0.19754919409751892,
-0.24377743899822235,
0.12228214740753174,
0.29352670907974243,
-0.2944425642490387,
-0.35607001185417175,
-0.38575029373168945,
0.005073130130767822,
-0.15007084608078003,
0.10503694415092468,
-0.08833906054496765,
0.26646459102630615,
-0.05549498647451401,
0.09135308861732483,
-0.21960869431495667,
0.062106020748615265,
0.28044769167900085,
0.0131613090634346,
0.0022834166884422302,
0.25524741411209106,
0.09603463113307953,
-0.14390912652015686,
-0.23079529404640198,
0.45803332328796387,
0.34155744314193726,
-0.7181397080421448,
0.02778499573469162,
-0.19962996244430542,
0.294234037399292,
0.3929540812969208,
0.10012953728437424,
-0.046707309782505035,
-0.30469682812690735,
-0.21830107271671295,
-0.49060094356536865,
0.0602416917681694,
0.09388178586959839,
-0.2618730962276459,
0.27982234954833984,
-0.14064809679985046,
0.21466399729251862,
0.18068380653858185,
0.06202451139688492,
-0.17959412932395935,
0.28640100359916687,
0.008454689756035805,
0.05678418278694153,
-0.4093755781650543,
0.29082420468330383,
-0.08641181141138077,
-0.29349270462989807,
0.036711156368255615,
0.16064037382602692,
-0.054910801351070404,
-0.09307811409235,
-0.018836114555597305,
0.16359145939350128,
0.3900148272514343,
-0.08882749080657959,
-0.11381208896636963,
-0.0714944452047348,
-0.171182319521904,
0.11207187175750732,
-0.21557024121284485,
-0.11195643246173859,
-0.09302608668804169,
-0.1549309939146042,
0.21919167041778564,
-0.09273497015237808,
-0.25250035524368286,
0.12235228717327118,
-0.01943981647491455,
0.3379523754119873,
0.11998800933361053,
0.2047424167394638,
0.037382643669843674,
0.07973958551883698,
0.11926719546318054,
0.08409266918897629,
0.11917655169963837,
-0.021479960530996323,
0.5342115759849548,
-0.4430394172668457,
0.45898953080177307,
0.03801114857196808,
0.38468340039253235,
0.40645259618759155,
-0.2918877601623535,
-0.2234007716178894,
0.31526240706443787,
0.11624954640865326,
-0.31723466515541077,
0.14875724911689758,
0.48706603050231934,
-0.04273435100913048,
-0.05045754089951515,
-0.10459978133440018,
-0.0003515966236591339,
0.1538248360157013,
-0.17034859955310822,
0.25726544857025146,
0.41011762619018555,
-0.11101949214935303,
0.3148590922355652,
0.6734781265258789,
-0.13682450354099274,
0.31988024711608887,
0.20388521254062653,
0.15772511065006256,
-0.06088896840810776,
0.7089362740516663,
-0.141241192817688,
0.2606162428855896,
-0.028673142194747925,
-0.08980976045131683,
0.12514671683311462,
-0.23047660291194916,
0.01414429023861885,
0.2022724747657776,
-0.5021404027938843,
-0.021398425102233887,
-0.10721559822559357,
0.28960198163986206,
0.15596598386764526,
-0.1943657547235489,
-0.19839446246623993,
0.09236640483140945,
0.06088538467884064,
0.418768972158432,
-0.31076765060424805,
-0.28125208616256714,
-0.5100061893463135,
0.20561951398849487,
-0.07934229075908661,
-0.096511110663414,
-0.05808176100254059,
0.3013334274291992,
-0.24565453827381134,
-0.13641934096813202,
-0.21198776364326477,
0.014965083450078964,
0.10670662671327591,
-0.20764882862567902,
0.09473785758018494,
-0.029864177107810974,
0.08925110101699829,
0.316453218460083,
0.26672226190567017,
0.1715051829814911,
0.12458480149507523,
0.07522694766521454,
-0.34386226534843445,
0.12716993689537048,
-0.0812542662024498,
0.0020053479820489883,
0.18674470484256744,
0.25466710329055786,
0.08166223764419556,
0.18954972922801971,
0.1433028280735016,
-0.0565636046230793,
0.08648182451725006,
0.08647032082080841,
0.26086661219596863,
-0.31088709831237793,
0.13274258375167847,
-0.28643277287483215,
-0.12676241993904114,
0.09304849058389664,
-0.5385105609893799,
-0.21836307644844055,
-0.02317144349217415,
0.0731065645813942,
-0.2064814567565918,
0.1075962707400322,
0.04344088211655617,
0.01786787062883377,
-0.0077781472355127335,
0.3391668498516083,
0.24726839363574982,
-0.10977067798376083,
-0.32670655846595764,
-0.45725661516189575,
-0.5051177740097046,
0.23102569580078125,
-0.09279175102710724,
-0.40389585494995117,
0.2037927806377411,
-0.07346100360155106,
-0.15293070673942566,
0.06814875453710556,
0.46421921253204346,
0.18090075254440308,
0.3084980845451355,
0.5232986211776733,
-0.21586152911186218,
-0.17504480481147766,
0.12820401787757874,
-0.03888966143131256,
-0.34793174266815186,
-0.18048596382141113,
0.3485755920410156,
-0.1894359141588211,
0.046912647783756256,
0.19139353930950165,
-0.2471136599779129,
0.1286628097295761,
-0.3979485332965851,
0.2837602496147156,
-0.0029648300260305405,
0.445344477891922,
0.07859966158866882,
0.2619113028049469,
-0.4438766837120056,
-0.14464545249938965,
-0.1262265145778656,
0.348545104265213,
0.25744736194610596,
0.6046100854873657,
-0.011350137181580067,
-0.015790335834026337,
-0.1608876734972,
0.058097947388887405,
0.052565574645996094,
0.32292261719703674,
-0.3086846172809601,
-0.20813962817192078,
-0.07138899713754654,
0.04370669275522232,
0.5017856359481812,
0.4005211889743805,
0.019347969442605972,
0.007183598354458809,
-0.19980385899543762,
-0.38143253326416016,
0.2080896496772766,
-0.5455604791641235,
-0.27414584159851074,
-0.024717435240745544,
-0.1322745680809021,
0.18617276847362518,
0.12837108969688416,
-0.21638986468315125,
-0.173079714179039,
0.3871529996395111,
-0.0005227811634540558,
0.22469574213027954,
0.12893283367156982,
0.2832174003124237,
0.26307007670402527,
0.09711511433124542,
0.3065600097179413,
0.12129545211791992,
-0.15627028048038483,
0.24426987767219543,
0.03805670142173767
] |
https://github.com/huggingface/datasets/issues/4684 | How to assign new values to Dataset? | Hi! One option is use `map` with a function that overwrites the labels (`dset = dset.map(lamba _: {"label": 0}, features=dset.features`)). Or you can use the `remove_column` + `add_column` combination (`dset = dset.remove_columns("label").add_column("label", [0]*len(data)).cast(dset.features)`, but note that this approach creates an in-memory table for the added column instead of writing to disk, which could be problematic for large datasets. | 
Hi, if I want to change some values of the dataset, or add new columns to it, how can I do it?
For example, I want to change all the labels of the SST2 dataset to `0`:
```python
from datasets import load_dataset
data = load_dataset('glue','sst2')
data['train']['label'] = [0]*len(data)
```
I will get the error:
```
TypeError: 'Dataset' object does not support item assignment
``` | 58 | How to assign new values to Dataset?

Hi, if I want to change some values of the dataset, or add new columns to it, how can I do it?
For example, I want to change all the labels of the SST2 dataset to `0`:
```python
from datasets import load_dataset
data = load_dataset('glue','sst2')
data['train']['label'] = [0]*len(data)
```
I will get the error:
```
TypeError: 'Dataset' object does not support item assignment
```
Hi! One option is use `map` with a function that overwrites the labels (`dset = dset.map(lamba _: {"label": 0}, features=dset.features`)). Or you can use the `remove_column` + `add_column` combination (`dset = dset.remove_columns("label").add_column("label", [0]*len(data)).cast(dset.features)`, but note that this approach creates an in-memory table for the added column instead of writing to disk, which could be problematic for large datasets. | [
0.03140154108405113,
-0.010683946311473846,
-0.0374094620347023,
0.03749634325504303,
0.2448616325855255,
0.3728915750980377,
0.35516899824142456,
0.1926700472831726,
0.24378380179405212,
0.1371881514787674,
-0.4019613265991211,
0.5025936961174011,
-0.028137050569057465,
0.44017454981803894,
0.04619458317756653,
-0.061896875500679016,
0.018854230642318726,
0.01456855982542038,
-0.2413848638534546,
0.009989924728870392,
-0.46526023745536804,
-0.3114258944988251,
-0.098960280418396,
-0.12185017764568329,
-0.2877086400985718,
-0.21086330711841583,
-0.07655893266201019,
-0.38561543822288513,
-0.0357358381152153,
-0.46757861971855164,
0.015232233330607414,
0.22619304060935974,
0.08447857946157455,
0.217902272939682,
-0.00011588809138629586,
0.00994456559419632,
0.0651421919465065,
0.044683344662189484,
-0.1796242892742157,
0.12409457564353943,
-0.34454819560050964,
-0.46831071376800537,
-0.0454426035284996,
-0.3528810739517212,
-0.03840326890349388,
-0.27753081917762756,
-0.09278605133295059,
-0.14835134148597717,
-0.2047092169523239,
0.1887790411710739,
0.14591747522354126,
0.039843134582042694,
0.14329302310943604,
-0.1301383227109909,
0.4985330104827881,
-0.08519133925437927,
-0.0016047712415456772,
0.17337846755981445,
0.1981201022863388,
-0.018518146127462387,
0.33699026703834534,
-0.030536361038684845,
-0.06633201986551285,
-0.009654548019170761,
0.5064135789871216,
0.3388901650905609,
-0.028631769120693207,
-0.287596732378006,
0.10845669358968735,
0.22694051265716553,
0.856060266494751,
-0.4070532023906708,
-0.533389687538147,
-0.1270453929901123,
0.2663358449935913,
-0.4231263995170593,
-0.1647031307220459,
0.14788660407066345,
0.028980087488889694,
-0.10286934673786163,
-0.01634821482002735,
-0.41959962248802185,
-0.16777779161930084,
0.32958680391311646,
-0.010853040963411331,
0.48706287145614624,
-0.081960029900074,
0.2534013092517853,
0.30379518866539,
-0.16530585289001465,
0.07876772433519363,
-0.06022251397371292,
-0.20245477557182312,
0.37503138184547424,
-0.5581165552139282,
-0.09746517241001129,
-0.33353015780448914,
-0.13849186897277832,
-0.12339860200881958,
0.1562928557395935,
0.2916184961795807,
-0.20351043343544006,
-0.2009153962135315,
0.12943337857723236,
0.13659682869911194,
0.09364721179008484,
-0.006398320198059082,
0.3367525339126587,
-0.057933636009693146,
-0.14049598574638367,
0.23696672916412354,
-0.12820664048194885,
0.053321316838264465,
-0.1800677478313446,
0.38804760575294495,
0.020875679329037666,
0.2236226350069046,
0.1518520712852478,
-0.06304320693016052,
0.06524699926376343,
-0.127355694770813,
-0.018784185871481895,
-0.03526927903294563,
0.10027195513248444,
-0.09288982301950455,
-0.11814653128385544,
-0.01062685064971447,
0.3031961917877197,
-0.04265769198536873,
0.008458106778562069,
-0.1191599890589714,
0.2756763696670532,
-0.03142092376947403,
-0.04903823882341385,
0.08142697811126709,
0.10683241486549377,
-0.001056141685694456,
0.07163702696561813,
-0.14982937276363373,
-0.15266481041908264,
-0.043268922716379166,
-0.2656997740268707,
0.1441042274236679,
0.19870533049106598,
-0.2920021712779999,
0.38747352361679077,
-0.07120096683502197,
-0.3820095658302307,
-0.12849967181682587,
0.4304632842540741,
-0.20487356185913086,
-0.18135082721710205,
-0.16579921543598175,
0.11527784168720245,
-0.044447749853134155,
-0.3886389136314392,
-0.3761240839958191,
0.29319313168525696,
0.0008654147386550903,
0.026859361678361893,
0.24750986695289612,
-0.1165992021560669,
-0.20883052051067352,
-0.2581504285335541,
0.2463913857936859,
0.3438745439052582,
-0.6420753002166748,
-0.004612036049365997,
0.2443682998418808,
-0.2243887186050415,
-0.048806332051754,
-0.043914180248975754,
0.12771905958652496,
0.19535759091377258,
0.2119724303483963,
-0.14913314580917358,
0.29615968465805054,
-0.241432785987854,
-0.4231676459312439,
-0.20558375120162964,
0.21498186886310577,
-0.3020951747894287,
-0.17683500051498413,
0.7175599932670593,
0.34397390484809875,
0.14846497774124146,
-0.18010076880455017,
0.015231337398290634,
0.19437682628631592,
-0.21043740212917328,
0.03519085422158241,
-0.09376008808612823,
0.3010140061378479,
0.043658297508955,
-0.12555499374866486,
0.2843777537345886,
0.12311223149299622,
-0.054184503853321075,
-0.12580692768096924,
-0.03300676867365837,
0.2819972038269043,
0.16377539932727814,
0.48905667662620544,
0.4049886465072632,
-0.12240828573703766,
-0.20287591218948364,
-0.619596540927887,
0.17737582325935364,
0.3624982535839081,
-0.02190414071083069,
0.33730435371398926,
-0.05587081238627434,
-0.282376229763031,
0.033339425921440125,
-0.0805053561925888,
0.0646313950419426,
0.036848410964012146,
-0.009278982877731323,
0.05306306853890419,
-0.24369488656520844,
-0.32632139325141907,
0.35910564661026,
0.08641085773706436,
0.22042016685009003,
-0.09765896201133728,
0.08386008441448212,
0.39033132791519165,
-0.14950507879257202,
-0.44522207975387573,
0.18456295132637024,
0.14879988133907318,
0.007495821453630924,
-0.07627306133508682,
0.40799614787101746,
0.050403427332639694,
-0.13256090879440308,
-0.21027445793151855,
0.41765064001083374,
0.1315883994102478,
-0.11049025505781174,
-0.10414547473192215,
0.022470002993941307,
0.3507833480834961,
0.05947941541671753,
-0.1936245560646057,
0.17061100900173187,
-0.4800385534763336,
0.2876766324043274,
-0.16169321537017822,
0.0012520533055067062,
0.02913222275674343,
-0.10547207295894623,
-0.07829011231660843,
-0.06695374846458435,
-0.31537145376205444,
-0.13200609385967255,
0.3564366400241852,
0.04000697657465935,
-0.30789121985435486,
0.10328423231840134,
-0.16194047033786774,
-0.3387630581855774,
-0.06618129462003708,
-0.06746459007263184,
-0.12447453290224075,
0.31339335441589355,
0.0033482108265161514,
0.8138091564178467,
0.2398776113986969,
0.10334973782300949,
0.11903943121433258,
0.20887283980846405,
0.00805735308676958,
0.03736856207251549,
-0.052188001573085785,
0.0940462052822113,
0.09140753746032715,
0.10188144445419312,
0.25558847188949585,
-0.039153289049863815,
0.2229328751564026,
0.2423040270805359,
0.2458067238330841,
0.5548339486122131,
-0.4329153895378113,
-0.14559631049633026,
-0.09098217636346817,
0.039668887853622437,
-0.25327643752098083,
-0.09413588047027588,
-0.21000352501869202,
-0.24262037873268127,
-0.049968063831329346,
0.16627883911132812,
-0.056943751871585846,
0.07954788953065872,
-0.04306808114051819,
0.16873455047607422,
-0.04531268775463104,
0.018482865765690804,
-0.026868775486946106,
-0.27132269740104675,
0.14993849396705627,
-0.040483925491571426,
-0.13951373100280762,
0.15088745951652527,
0.26270753145217896,
0.08014523983001709,
-0.09700407087802887,
-0.3240719139575958,
-0.1885821521282196,
-0.11676555871963501,
-0.14128974080085754,
0.2115861028432846,
0.1567109227180481,
0.20824886858463287,
0.08027037233114243,
-0.007753906771540642,
0.14741604030132294,
0.16002853214740753,
0.03960784524679184,
-0.06920000165700912,
-0.16838817298412323,
0.010173778980970383,
-0.1858377456665039,
-0.5083370804786682,
-0.46173980832099915,
-0.3192436695098877,
0.40315306186676025,
0.04240807518362999,
0.21971023082733154,
0.012601901777088642,
0.16106882691383362,
-0.11001323908567429,
0.09751246869564056,
-0.03296012431383133,
-0.05126504227519035,
-0.3149840533733368,
0.5433191061019897,
-0.16285762190818787,
-0.3221546411514282,
0.21315672993659973,
-0.06281544268131256,
0.001248672604560852,
-0.0010615279898047447,
-0.08480346947908401,
-0.11873716861009598,
-0.4285809397697449,
0.0027966387569904327,
-0.13811352849006653,
0.5197713375091553,
0.03821678087115288,
-0.031566012650728226,
0.04534277319908142,
-0.16012877225875854,
-0.5681367516517639,
0.3329172432422638,
0.44358423352241516,
-0.027645789086818695,
0.14286485314369202,
0.321208119392395,
-0.15495681762695312,
0.21915258467197418,
0.01071128249168396,
-0.27629196643829346,
0.3458700180053711,
-0.4384351968765259,
0.3797004222869873,
0.01284962147474289,
-0.3908398449420929,
-0.09216561168432236,
0.09398995339870453,
0.051690474152565,
-0.08916448056697845,
-0.04167691618204117,
0.06444434821605682,
0.0678093358874321,
0.13807083666324615,
-0.26478663086891174,
-0.06297196447849274,
0.0754021555185318,
-0.2019098550081253,
0.2456737756729126,
-0.2706819176673889,
-0.26834043860435486,
-0.5463860630989075,
-0.2667304575443268,
-0.04369627311825752,
-0.022776342928409576,
-0.009066455066204071,
0.004238689783960581,
-0.8100956678390503,
-0.10928556323051453,
-0.2982127070426941,
0.2200125753879547,
0.022137470543384552,
0.3646272122859955,
0.16136711835861206,
0.03058812767267227,
0.2574843764305115,
-0.017987079918384552,
0.5086394548416138,
-0.3266831338405609,
-0.16025468707084656,
0.1556480973958969,
0.16550880670547485,
-0.34518760442733765,
-0.04226970672607422,
-0.42450448870658875,
0.1324700266122818,
0.05429529398679733,
0.14222413301467896,
-0.21327480673789978,
-0.14762945473194122,
0.28130653500556946,
0.1588442623615265,
-0.31211504340171814,
0.04413193091750145,
-0.06704957038164139,
-0.18950915336608887,
-0.07346036285161972,
-0.1230420395731926,
0.11877097934484482,
0.2487359195947647,
0.3163491487503052,
0.0994020402431488,
-0.22162753343582153,
0.20678755640983582,
0.3075864017009735,
0.1208060085773468,
-0.018834497779607773,
0.5350539088249207,
0.06262534856796265,
0.07113316655158997,
0.005177397280931473,
0.06860851496458054,
0.6447657942771912,
-0.44352924823760986,
-0.31528526544570923,
-0.14711987972259521,
-0.19899258017539978,
0.6835371255874634,
-0.2359853982925415,
0.2504776120185852,
0.19518986344337463,
-0.22951528429985046,
0.1001773551106453,
-0.41256245970726013,
0.2347799688577652,
0.3675117790699005,
0.17167313396930695,
-0.27476632595062256,
-0.6824118494987488,
0.4036945104598999,
-0.06392943859100342,
-0.18724915385246277,
-0.07093880325555801,
0.46862101554870605,
-0.07625328004360199,
0.2336992621421814,
0.20604166388511658,
0.6826086044311523,
-0.39121830463409424,
0.008077546954154968,
-0.0644284263253212,
-0.4674423933029175,
0.6275138854980469,
0.10004407167434692,
0.010539066977798939,
-0.37028470635414124,
-0.19572941958904266,
0.04428185522556305,
-0.02726738527417183,
0.21386009454727173,
0.3718973994255066,
0.024960096925497055,
0.17913468182086945,
-0.18556112051010132,
0.04212918505072594,
-0.15654093027114868,
-0.08509176969528198,
0.0707145556807518,
-0.07083173096179962,
0.06044389680027962,
0.1823991984128952,
-0.2300257533788681,
-0.10481125116348267,
-0.023034367710351944,
0.2989034056663513,
-0.2070625275373459,
0.10046042501926422,
-0.14867490530014038,
-0.3959488272666931,
-0.2338898479938507,
-0.08587657660245895,
0.41355496644973755,
-0.11702220141887665,
0.052352506667375565,
0.2300054281949997,
0.33521944284439087,
0.12565769255161285,
0.18476156890392303,
-0.0027735047042369843,
-0.15090900659561157,
0.4037487506866455,
0.10458686947822571,
0.19131091237068176,
0.09915335476398468,
0.24776691198349,
-0.5816589593887329,
0.30464062094688416,
0.07246660441160202,
-0.313201367855072,
-0.09070687741041183,
0.032851941883563995,
0.13358786702156067,
-0.48200100660324097,
-0.2766607403755188,
0.11630123853683472,
0.10331608355045319,
-0.014111192896962166,
0.09644082188606262,
-0.08525523543357849,
-0.22692769765853882,
0.5480622053146362,
-0.2289256900548935,
-0.24581919610500336,
0.03617098927497864,
0.31493493914604187,
0.003487948328256607,
0.29338547587394714,
0.5284034013748169,
-0.08698158711194992,
0.040574394166469574,
-0.04191164672374725,
0.17997393012046814,
0.22157104313373566,
-0.35145097970962524,
-0.05024147033691406,
0.03893282264471054,
-0.008035317063331604,
-0.04775603488087654,
0.11171219497919083,
-0.10337278246879578,
0.26548367738723755,
-0.06723453104496002,
-0.17071405053138733,
-0.3483416438102722,
0.2173217087984085,
0.3825678825378418,
0.4521505534648895,
-0.14210912585258484,
-0.01865999400615692,
-0.23999741673469543,
0.22805722057819366,
-0.2585795521736145,
0.26624009013175964,
-0.094082772731781,
0.3837450444698334,
0.6322122812271118,
0.2476736605167389,
-0.3234989643096924,
-0.24370266497135162,
0.12467090785503387,
-0.2822558283805847,
0.06411313265562057,
-0.18346354365348816,
-0.3889356255531311,
0.11758323013782501,
0.12152634561061859,
-0.08522335439920425,
-0.2923811078071594,
-0.3829948306083679,
-0.06288394331932068,
-0.23036262392997742,
0.2641279995441437,
0.2704695463180542,
-0.19585742056369781,
0.6472399234771729,
0.22962912917137146,
0.08890363574028015,
-0.06491857767105103,
0.20100675523281097,
0.12265726178884506,
-0.059410497546195984,
0.22027884423732758,
0.1798197329044342,
0.1310809850692749,
-0.004902884364128113,
-0.24694418907165527,
0.196339413523674,
0.11252040416002274,
-0.257066935300827,
0.16040125489234924,
-0.14169906079769135,
0.4840799868106842,
0.18666188418865204,
0.05478859692811966,
-0.09151089191436768,
0.11326881498098373,
0.06853006780147552,
0.28981027007102966,
0.1497100293636322,
-0.21781407296657562,
0.03671237453818321,
0.20845100283622742,
-0.07172850519418716,
0.2702425718307495,
0.2585367262363434,
-0.09329396486282349,
0.07957854866981506,
-0.5536965131759644,
-0.17838788032531738,
0.17431484162807465,
-0.03099225088953972,
0.13951142132282257,
0.597825825214386,
-0.01673545315861702,
-0.2727103531360626,
0.3509374260902405,
0.17819778621196747,
-0.10941662639379501,
0.19093436002731323,
0.29446515440940857,
0.1990717500448227,
0.2691780924797058,
-0.04330435022711754,
0.1375844031572342,
-0.30421730875968933,
0.16341492533683777,
0.08006700873374939,
0.26132771372795105,
0.02494088187813759,
0.06654047966003418,
0.1685953438282013,
0.010476754046976566,
-0.29474684596061707,
0.21951934695243835,
0.28699493408203125,
0.030319536104798317,
-0.49290379881858826,
-0.007992241531610489,
-0.19880042970180511,
-0.03966399282217026,
-0.02955765277147293,
-0.028823260217905045,
-0.6872618198394775,
0.46001023054122925,
-0.12231720983982086,
0.01661399006843567,
-0.2547658085823059,
-0.08526428788900375,
0.12182080745697021,
0.08927988260984421,
0.06760723888874054,
0.10810930281877518,
-0.14492303133010864,
-0.12193842232227325,
0.311215877532959,
0.4501706063747406,
0.0439894013106823,
0.12818199396133423,
-0.013335920870304108,
0.5343868136405945,
-0.007601412013173103,
-0.11325983703136444,
0.19398553669452667,
-0.06065976619720459,
-0.046661049127578735,
-0.1656663566827774,
0.12441138923168182,
0.06581305712461472,
-0.011261126026511192,
-0.03608274832367897,
-0.2384139746427536,
0.2873787581920624,
-0.4045409560203552,
0.3862272799015045,
0.18442948162555695,
-0.4253443479537964,
-0.03764373064041138,
0.05528315529227257,
-0.223840594291687,
-0.3981427252292633,
0.31790825724601746,
-0.26724669337272644,
0.1910279393196106,
0.03096075728535652,
0.043275363743305206,
-0.09912097454071045,
0.5064791440963745,
0.06799449771642685,
-0.01252342015504837,
-0.06606755405664444,
0.1741734892129898,
-0.5782237648963928,
-0.0962490364909172,
0.008615579456090927,
-0.35879987478256226,
-0.037557948380708694,
-0.09662330150604248,
0.14192374050617218,
-0.15605610609054565,
0.16669902205467224,
-0.2218676656484604,
0.014766336418688297,
0.29386818408966064,
-0.08109772205352783,
-0.25167784094810486,
-0.055687807500362396,
0.24194714426994324,
0.039270542562007904,
-0.12422244250774384,
-0.13557827472686768,
0.06212366744875908,
-0.024161148816347122,
0.12890660762786865,
0.21515408158302307,
-0.07499627023935318,
-0.03967779874801636,
0.3268873691558838,
-0.09236057102680206,
0.35715892910957336,
0.0686352327466011,
0.11459771543741226,
-0.12444716691970825,
-0.15207985043525696,
-0.17059515416622162,
0.1461905837059021,
-0.2534301280975342,
0.2775065004825592,
-0.02202008105814457,
0.0955154150724411,
0.07051485776901245,
-0.1519397646188736,
-0.18929308652877808,
0.17726849019527435,
-0.2041531354188919,
0.10410066694021225,
-0.02752142772078514,
-0.11320121586322784,
0.3167687952518463,
0.05597606673836708,
0.07104038447141647,
0.4098778963088989,
-0.04084106907248497,
-0.0579642578959465,
0.3886412978172302,
-0.1636386215686798,
-0.1764860600233078,
-0.07868515700101852,
0.08532498776912689,
0.2021605670452118,
0.06931347399950027,
-0.5920496582984924,
0.02784612774848938,
0.39348116517066956,
-0.3035132884979248,
-0.3015980124473572,
0.4531098008155823,
-0.20069794356822968,
-0.06678483635187149,
0.09772434830665588,
0.14642371237277985,
0.05103794112801552,
0.13283665478229523,
-0.21913528442382812,
-0.28002476692199707
] |
https://github.com/huggingface/datasets/issues/4684 | How to assign new values to Dataset? | Hi! I tried your proposed solution, but it does not solve my problem unfortunately. I am working with a set of protein sequences that have been tokenized with ESM, but some sequences are longer than `max_length`, they have been truncated in the tokenization. So now I want to truncate my labels as well, but that does not work with a mapping (e.g. `dset.map` as you suggested). Specifically, what I did was the following:
```
def postprocess_tokenize(tokenized_data):
"""
adjust label lengths if they dont match.
"""
if len(tokenized_data['input_ids']) < len(tokenized_data['labels']):
new_labels = tokenized_data['labels'][:len(tokenized_data['input_ids'])]
tokenized_data["labels"] = new_labels
return tokenized_data
tokenized_data = tokenized_data.map(postprocess_tokenize, batched=True) # this does not adjust the labels...
```
Any tips on how to do this properly?
More generally, I am wondering why the DataCollator supports padding but does not support truncation? Seems odd to me.
Thanks in advance! | 
Hi, if I want to change some values of the dataset, or add new columns to it, how can I do it?
For example, I want to change all the labels of the SST2 dataset to `0`:
```python
from datasets import load_dataset
data = load_dataset('glue','sst2')
data['train']['label'] = [0]*len(data)
```
I will get the error:
```
TypeError: 'Dataset' object does not support item assignment
``` | 139 | How to assign new values to Dataset?

Hi, if I want to change some values of the dataset, or add new columns to it, how can I do it?
For example, I want to change all the labels of the SST2 dataset to `0`:
```python
from datasets import load_dataset
data = load_dataset('glue','sst2')
data['train']['label'] = [0]*len(data)
```
I will get the error:
```
TypeError: 'Dataset' object does not support item assignment
```
Hi! I tried your proposed solution, but it does not solve my problem unfortunately. I am working with a set of protein sequences that have been tokenized with ESM, but some sequences are longer than `max_length`, they have been truncated in the tokenization. So now I want to truncate my labels as well, but that does not work with a mapping (e.g. `dset.map` as you suggested). Specifically, what I did was the following:
```
def postprocess_tokenize(tokenized_data):
"""
adjust label lengths if they dont match.
"""
if len(tokenized_data['input_ids']) < len(tokenized_data['labels']):
new_labels = tokenized_data['labels'][:len(tokenized_data['input_ids'])]
tokenized_data["labels"] = new_labels
return tokenized_data
tokenized_data = tokenized_data.map(postprocess_tokenize, batched=True) # this does not adjust the labels...
```
Any tips on how to do this properly?
More generally, I am wondering why the DataCollator supports padding but does not support truncation? Seems odd to me.
Thanks in advance! | [
-0.14312778413295746,
0.034392401576042175,
-0.03523479402065277,
0.04334645718336105,
0.2808952331542969,
0.06700798124074936,
0.27653348445892334,
0.010844714939594269,
-0.004917949438095093,
0.2650742530822754,
-0.07758351415395737,
0.29778608679771423,
-0.17042623460292816,
0.33664995431900024,
-0.034416962414979935,
-0.0522734671831131,
0.06807755678892136,
0.07780313491821289,
-0.016759686172008514,
0.011076338589191437,
-0.2976544201374054,
-0.2903066873550415,
-0.21531513333320618,
-0.24202455580234528,
-0.43917086720466614,
-0.19321052730083466,
-0.15438677370548248,
-0.462806761264801,
-0.23777468502521515,
-0.49996933341026306,
0.04393956810235977,
0.14252863824367523,
0.04409578815102577,
0.2884361743927002,
-0.00012902708840556443,
-0.10389158129692078,
0.08331111818552017,
0.06571348011493683,
-0.08327439427375793,
-0.08143460750579834,
-0.23601976037025452,
-0.565388023853302,
-0.13782425224781036,
-0.29264846444129944,
0.0026827603578567505,
-0.14555372297763824,
-0.1776656061410904,
-0.3032801151275635,
0.06318970024585724,
0.2209860235452652,
0.029594220221042633,
0.17443521320819855,
0.16117502748966217,
-0.17398777604103088,
0.3283817768096924,
0.0020660758018493652,
-0.05678299814462662,
0.122874915599823,
0.33333146572113037,
0.018469734117388725,
0.16487692296504974,
-0.19474934041500092,
0.042459361255168915,
-0.052172791212797165,
0.5103282928466797,
0.36665740609169006,
-0.04610718786716461,
-0.393083393573761,
0.30280405282974243,
0.1514875590801239,
0.8918837308883667,
-0.3232748210430145,
-0.5472025275230408,
-0.22926846146583557,
0.16851869225502014,
-0.4662354588508606,
-0.09303572028875351,
0.1288897693157196,
0.04639170318841934,
-0.08001932501792908,
-0.16776272654533386,
-0.2805822193622589,
-0.24453404545783997,
0.3712150454521179,
-0.2333398163318634,
0.6692320108413696,
-0.1678832769393921,
0.17118534445762634,
0.15699894726276398,
-0.2320910543203354,
0.316999226808548,
-0.0021679140627384186,
0.10915891826152802,
0.4172893464565277,
-0.5040997266769409,
-0.1873416155576706,
-0.35176563262939453,
-0.17424726486206055,
0.1734996736049652,
0.12094508111476898,
0.10673641413450241,
-0.07943199574947357,
-0.06378141790628433,
0.08098357915878296,
0.21552401781082153,
0.22224076092243195,
0.10040555894374847,
0.43750691413879395,
-0.1459118276834488,
-0.13407768309116364,
0.17329245805740356,
-0.17901983857154846,
0.08174919337034225,
-0.18353137373924255,
0.4290517270565033,
-0.0002605952322483063,
0.037188686430454254,
0.13693583011627197,
-0.05078449845314026,
0.06792962551116943,
0.005728963762521744,
-0.15896031260490417,
-0.010034601204097271,
0.08893181383609772,
0.006729518063366413,
-0.032651886343955994,
-0.26054847240448,
0.3823227286338806,
0.03819394111633301,
-0.04604199156165123,
-0.1211681142449379,
0.148051917552948,
-0.22179573774337769,
-0.02295597456395626,
0.1288917064666748,
0.25974327325820923,
0.059832073748111725,
0.07644800841808319,
-0.12300536036491394,
-0.3531729280948639,
-0.10587546229362488,
-0.2983880937099457,
0.2678571343421936,
0.2136986404657364,
-0.2838327884674072,
0.29655781388282776,
-0.0858345627784729,
-0.4325791597366333,
-0.34942659735679626,
0.30570584535598755,
-0.44855308532714844,
-0.06081078574061394,
0.001203017309308052,
0.004469400737434626,
0.1372976154088974,
-0.20211206376552582,
-0.20431333780288696,
0.21678408980369568,
0.4084117114543915,
0.02719629928469658,
0.15663643181324005,
-0.25917816162109375,
-0.3276325762271881,
-0.3478609323501587,
0.24641641974449158,
0.24245014786720276,
-0.7492885589599609,
-0.11908623576164246,
-0.02661038190126419,
0.12429361045360565,
0.3938642740249634,
0.2171725332736969,
0.13208477199077606,
0.12095902115106583,
0.0234586913138628,
0.19004081189632416,
0.21094200015068054,
0.01666199415922165,
-0.5069948434829712,
-0.37055182456970215,
-0.01650046557188034,
-0.20835041999816895,
-0.0798431858420372,
0.37183496356010437,
0.43887898325920105,
0.09162192046642303,
0.07223503291606903,
-0.09551941603422165,
-0.023667683824896812,
-0.2659752666950226,
0.06706614792346954,
-0.07275398820638657,
0.7647618651390076,
-0.16639681160449982,
0.008600607514381409,
0.14266261458396912,
0.15987175703048706,
0.06524968892335892,
-0.2034168243408203,
0.04377295821905136,
0.4582775831222534,
0.29398953914642334,
0.18137694895267487,
0.1429114043712616,
-0.16969777643680573,
-0.20072242617607117,
-0.450739324092865,
0.1431483030319214,
0.08627284318208694,
-0.11627444624900818,
0.41600435972213745,
-0.06289107352495193,
-0.3364025950431824,
0.2242809683084488,
0.2026677131652832,
-0.1416584551334381,
-0.09911607205867767,
0.033313848078250885,
0.21524706482887268,
-0.2747478485107422,
-0.45376598834991455,
0.11718057841062546,
-0.012736450880765915,
0.3541460931301117,
-0.15117798745632172,
0.15135444700717926,
0.3292401432991028,
-0.16184952855110168,
-0.42531025409698486,
0.24151793122291565,
0.1926639974117279,
-0.16845041513442993,
-0.17108669877052307,
0.4478820562362671,
0.2830815017223358,
-0.261951208114624,
-0.5380404591560364,
0.5495998859405518,
0.3464483916759491,
-0.062230754643678665,
0.09702558815479279,
-0.039634861052036285,
0.12975192070007324,
-0.10201456397771835,
-0.12364468723535538,
0.3773006796836853,
-0.2943434417247772,
0.4325629472732544,
-0.19557791948318481,
-0.09009160846471786,
-0.007042102515697479,
-0.2010783702135086,
-0.1975765824317932,
-0.3337283134460449,
-0.2717190086841583,
-0.38038527965545654,
0.5378406047821045,
0.04834990203380585,
-0.11542908847332001,
0.060833826661109924,
-0.02375539019703865,
-0.1558547466993332,
-0.1124272421002388,
0.22235074639320374,
-0.12895822525024414,
0.11030703037977219,
0.11427182704210281,
0.7571141719818115,
0.35193777084350586,
0.09027738869190216,
0.16495834290981293,
0.13970661163330078,
0.01464853249490261,
0.0295352041721344,
0.013621114194393158,
-0.04780101776123047,
-0.03203391656279564,
0.22725161910057068,
0.22798892855644226,
0.21503214538097382,
0.16504326462745667,
0.25641128420829773,
0.1523391753435135,
0.29053792357444763,
-0.4423888623714447,
-0.14043238759040833,
-0.3218717873096466,
-0.2034894824028015,
-0.177114799618721,
-0.009856521151959896,
-0.2631208598613739,
-0.16007037460803986,
-0.0891643837094307,
0.1187172681093216,
-0.004437999799847603,
0.12940575182437897,
-0.0349510982632637,
0.4077022671699524,
0.04145513474941254,
0.2620660960674286,
-0.1748257577419281,
0.07318820804357529,
0.14735716581344604,
-0.12940151989459991,
-0.24072547256946564,
-0.08230447769165039,
0.012233825400471687,
0.10279674828052521,
-0.07255569845438004,
-0.2694421708583832,
-0.5125278234481812,
0.04824746027588844,
-0.05539802461862564,
0.0795094296336174,
0.3359469473361969,
0.15282350778579712,
0.006100054830312729,
-0.04576540365815163,
0.06295456737279892,
0.04535491764545441,
-0.08102743327617645,
-0.1117706149816513,
0.12660793960094452,
-0.17161518335342407,
-0.1679760366678238,
-0.19596385955810547,
-0.5998499989509583,
-0.20137406885623932,
0.2199222594499588,
0.08726349472999573,
0.263355553150177,
0.24201896786689758,
0.051345471292734146,
-0.22569900751113892,
0.35810741782188416,
-0.07046500593423843,
-0.09965261816978455,
-0.4006344676017761,
0.6394253969192505,
-0.13195033371448517,
-0.22383280098438263,
0.06734886765480042,
-0.1686381697654724,
0.29831597208976746,
0.2536866366863251,
0.0174301415681839,
0.06377212703227997,
-0.3325135111808777,
0.07711075246334076,
-0.1066959798336029,
0.5532283782958984,
0.15764418244361877,
-0.00267314026132226,
0.12171007692813873,
-0.0951775312423706,
-0.584377646446228,
0.10975610464811325,
0.4482709765434265,
0.05425884202122688,
0.20153513550758362,
0.24208727478981018,
-0.013384459540247917,
0.29405295848846436,
0.022603776305913925,
-0.2521039843559265,
0.369974285364151,
-0.38507306575775146,
0.23338796198368073,
-0.15835222601890564,
-0.4576139748096466,
0.08410797268152237,
0.024651214480400085,
-0.03386155515909195,
-0.06701163947582245,
0.024811310693621635,
-0.03523795306682587,
0.23557761311531067,
0.1486571580171585,
-0.2129354178905487,
-0.08305326104164124,
0.12155552953481674,
-0.1593879908323288,
0.44583582878112793,
-0.1320900171995163,
-0.0780203565955162,
-0.5077011585235596,
-0.3291356563568115,
-0.14415544271469116,
-0.17925207316875458,
-0.06914263218641281,
-0.002978443866595626,
-0.7997823357582092,
0.013914760202169418,
-0.47245633602142334,
0.2543252110481262,
0.011897381395101547,
0.5053853392601013,
0.13287867605686188,
0.21728941798210144,
0.2278548777103424,
0.08674629777669907,
0.6040341854095459,
-0.45024025440216064,
-0.1463247835636139,
0.09816248714923859,
-0.06913594156503677,
-0.1598539799451828,
-0.005186930298805237,
-0.19114920496940613,
0.20947842299938202,
0.051590580493211746,
0.4031437933444977,
-0.2742607295513153,
-0.1341681331396103,
-0.033324629068374634,
0.23838776350021362,
-0.11788046360015869,
0.14253312349319458,
0.1933974325656891,
0.06558653712272644,
-0.15584608912467957,
-0.12900713086128235,
0.22870855033397675,
0.3368145525455475,
0.3940054774284363,
-0.026833852753043175,
-0.27726471424102783,
-0.04378851130604744,
0.2226771116256714,
0.09965306520462036,
0.016181480139493942,
0.27931535243988037,
-0.011602537706494331,
-0.024139851331710815,
-0.0168503075838089,
0.38712945580482483,
0.37469521164894104,
-0.3007165491580963,
-0.4637199640274048,
0.048261336982250214,
-0.07517345249652863,
0.633754312992096,
-0.16762182116508484,
0.21597449481487274,
0.3144773840904236,
0.01314549706876278,
0.21511948108673096,
-0.35551321506500244,
0.3811189830303192,
0.2188553810119629,
0.1344946175813675,
-0.43974342942237854,
-0.45869722962379456,
0.06506545096635818,
0.1342957466840744,
-0.02617543190717697,
0.0020950622856616974,
0.23015852272510529,
-0.31650984287261963,
0.20866060256958008,
0.37966838479042053,
0.9200830459594727,
-0.16445550322532654,
-0.014255661517381668,
-0.25651633739471436,
-0.39875590801239014,
0.6183299422264099,
-0.08669784665107727,
0.11697125434875488,
-0.34832367300987244,
-0.19788111746311188,
-0.08957654237747192,
-0.10564500838518143,
0.25381749868392944,
0.5289536118507385,
-0.13033322989940643,
0.21386517584323883,
-0.30131304264068604,
-0.11722441017627716,
-0.1023963987827301,
0.01982402801513672,
0.13197915256023407,
-0.25713324546813965,
0.13283094763755798,
0.06193471699953079,
-0.18553367257118225,
-0.044452521950006485,
-0.046924058347940445,
0.3977973461151123,
-0.17781120538711548,
-0.08004260063171387,
-0.26624375581741333,
-0.3010658621788025,
-0.5126084089279175,
-0.0638175681233406,
0.7010084390640259,
-0.19052881002426147,
0.22028888761997223,
0.08624355494976044,
0.36628127098083496,
0.3601636290550232,
0.24359093606472015,
-0.04828134551644325,
-0.22255435585975647,
0.36569154262542725,
0.23420767486095428,
-0.008124732412397861,
0.17970606684684753,
0.2999524176120758,
-0.28646087646484375,
0.2001400589942932,
-0.02672826126217842,
-0.40797698497772217,
-0.005348220467567444,
-0.02236667275428772,
0.2718866169452667,
-0.6373831033706665,
-0.0724206417798996,
-0.06499685347080231,
0.18035027384757996,
-0.0716637372970581,
-0.034561701118946075,
-0.05921162664890289,
-0.04182820022106171,
0.4222240149974823,
-0.06543496251106262,
-0.19753728806972504,
-0.06211955472826958,
0.4228149354457855,
0.10364419966936111,
0.14567223191261292,
0.5296498537063599,
-0.24760599434375763,
-0.022476404905319214,
0.04165824502706528,
0.15277045965194702,
0.22331027686595917,
-0.3149663805961609,
-0.012777444906532764,
-0.07847018539905548,
-0.08487886190414429,
0.00947742909193039,
0.17415805160999298,
0.11171470582485199,
0.4291948676109314,
-0.1906089037656784,
-0.30929937958717346,
-0.38221976161003113,
-0.03356543183326721,
0.3478458523750305,
0.3396810293197632,
-0.2435722053050995,
0.1793144941329956,
-0.3108648359775543,
0.2628956139087677,
-0.12023574858903885,
0.01063496433198452,
-0.03511164337396622,
0.2381676435470581,
0.46218764781951904,
0.1453850269317627,
-0.5010774731636047,
-0.20415690541267395,
-0.025011219084262848,
-0.11157841980457306,
0.06799925863742828,
-0.021838804706931114,
-0.4369817078113556,
0.16380736231803894,
0.31269583106040955,
-0.0782073438167572,
-0.2757042944431305,
-0.11154960095882416,
-0.08422115445137024,
-0.4370594024658203,
0.11934253573417664,
0.06770644336938858,
-0.06868799030780792,
0.42375919222831726,
0.2002260386943817,
0.1946353018283844,
-0.18670572340488434,
0.23965516686439514,
0.23518337309360504,
0.12048154324293137,
0.0996609553694725,
0.36886870861053467,
0.12114465236663818,
0.05248795449733734,
-0.3124745488166809,
0.2772824168205261,
0.3633551001548767,
-0.42857420444488525,
0.23734775185585022,
-0.07498957216739655,
0.26474952697753906,
0.2773924469947815,
-0.06419687718153,
0.14020709693431854,
0.07854112237691879,
-0.08267191797494888,
0.41565924882888794,
0.044973455369472504,
-0.05739046260714531,
0.01563384383916855,
0.24089227616786957,
0.13552533090114594,
0.11735294759273529,
0.3944958448410034,
0.01341940090060234,
0.06770823895931244,
-0.16567564010620117,
-0.21554315090179443,
0.4872054159641266,
-0.16132918000221252,
0.1681138426065445,
0.44677209854125977,
-0.11854534596204758,
0.01025671511888504,
0.5015364289283752,
0.2672942578792572,
0.03944160044193268,
-0.14082922041416168,
0.352627158164978,
0.301160603761673,
0.3233715295791626,
-0.039625879377126694,
-0.12141918390989304,
-0.3431811034679413,
0.06281176209449768,
0.236648291349411,
0.38577473163604736,
0.07372722774744034,
0.0803551897406578,
0.020679421722888947,
0.027908429503440857,
-0.42914000153541565,
0.3060532510280609,
0.26223763823509216,
-0.026956025511026382,
-0.2814829349517822,
-0.2676296830177307,
-0.10961790382862091,
-0.17663215100765228,
-0.23868903517723083,
-0.005416423082351685,
-0.5020487308502197,
0.41917547583580017,
-0.23588766157627106,
-0.03188156336545944,
-0.30799436569213867,
0.02999858558177948,
0.033348359167575836,
0.05296888202428818,
-0.11393548548221588,
0.4642762243747711,
-0.29230356216430664,
0.03984594717621803,
0.20113863050937653,
0.36392155289649963,
0.17402468621730804,
0.41053885221481323,
0.11356912553310394,
0.1694810837507248,
0.07966288179159164,
-0.1367112696170807,
0.11356829106807709,
0.24442556500434875,
-0.16129939258098602,
-0.19153732061386108,
0.13880985975265503,
-0.059401459991931915,
0.028030697256326675,
0.027443740516901016,
-0.03853922709822655,
0.22492773830890656,
-0.3469836115837097,
0.03732247278094292,
0.2805740535259247,
-0.40486082434654236,
0.056149497628211975,
-0.07312808185815811,
-0.03316972404718399,
-0.20070964097976685,
0.2907603085041046,
-0.44580328464508057,
0.2603386640548706,
-0.01985098421573639,
0.0069043319672346115,
0.09090819954872131,
0.43776023387908936,
0.3851819634437561,
-0.05263534188270569,
-0.13405443727970123,
-0.10223998129367828,
-0.5095973014831543,
0.09414295107126236,
0.1327514946460724,
-0.4210008978843689,
0.06533254683017731,
-0.11277881264686584,
0.1759626567363739,
-0.11662542819976807,
0.13078303635120392,
-0.3407869040966034,
-0.15807564556598663,
0.30956751108169556,
-0.07641085237264633,
-0.0932702124118805,
0.026085354387760162,
0.2938150465488434,
0.052653782069683075,
-0.01470927894115448,
-0.0008397102355957031,
0.015433269552886486,
-0.1868600845336914,
-0.006504252552986145,
0.39715859293937683,
-0.16124789416790009,
-0.14546501636505127,
0.4553188681602478,
0.1552884727716446,
0.2547236680984497,
-0.07292740046977997,
0.23623871803283691,
-0.24639227986335754,
-0.08244561403989792,
-0.2838083505630493,
0.2660292983055115,
-0.08262501657009125,
0.29137274622917175,
-0.003586344886571169,
-0.037601400166749954,
-0.11536325514316559,
-0.10466322302818298,
0.08903950452804565,
0.032812293618917465,
0.020897435024380684,
0.2993946373462677,
-0.12928622961044312,
-0.11640176922082901,
0.35253971815109253,
0.01521255075931549,
0.11251018941402435,
0.5025440454483032,
0.1284773200750351,
-0.15264767408370972,
0.2660474479198456,
-0.12466433644294739,
-0.314545601606369,
-0.08316918462514877,
0.059475403279066086,
0.025476761162281036,
-0.1340179145336151,
-0.37045082449913025,
-0.1295076608657837,
0.41013726592063904,
-0.2816984951496124,
-0.3651088774204254,
0.2567351460456848,
-0.24751555919647217,
-0.21828098595142365,
-0.0684964656829834,
0.406742662191391,
-0.03542250394821167,
0.05274134874343872,
-0.1402442455291748,
-0.3203769326210022
] |
https://github.com/huggingface/datasets/issues/4681 | IndexError when loading ImageFolder | Hi, thanks for reporting! If there are no examples in ImageFolder, the `label` column is of type `ClassLabel(names=[])`, which leads to an error in [this line](https://github.com/huggingface/datasets/blob/c15b391942764152f6060b59921b09cacc5f22a6/src/datasets/arrow_writer.py#L387) as `asdict(info)` calls `Features({..., "label": {'num_classes': 0, 'names': [], 'id': None, '_type': 'ClassLabel'}})`, which then calls `require_decoding` [here](https://github.com/huggingface/datasets/blob/c15b391942764152f6060b59921b09cacc5f22a6/src/datasets/features/features.py#L1516) on the dict value it does not expect.
I see two ways to fix this:
* custom `asdict` where `dict_factory` is also applied on the `dict` object itself besides dataclasses (the built-in implementation calls `type(dict_obj)` - this means we also need to fix `Features.to_dict` btw)
* implement `DatasetInfo.to_dict` (though adding `to_dict` to a data class is a bit weird IMO)
@lhoestq Which one of these approaches do you like more?
| ## Describe the bug
Loading an image dataset with `imagefolder` throws `IndexError: list index out of range` when the given folder contains a non-image file (like a csv).
## Steps to reproduce the bug
Put a csv file in a folder with images and load it:
```python
import datasets
datasets.load_dataset("imagefolder", data_dir=path/to/folder)
```
## Expected results
I would expect a better error message, like `Unsupported file` or even the dataset loader just ignoring every file that is not an image in that case.
## Actual results
Here is the whole traceback:
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.3.2
- Platform: Linux-5.11.0-051100-generic-x86_64-with-glibc2.27
- Python version: 3.9.9
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
| 114 | IndexError when loading ImageFolder
## Describe the bug
Loading an image dataset with `imagefolder` throws `IndexError: list index out of range` when the given folder contains a non-image file (like a csv).
## Steps to reproduce the bug
Put a csv file in a folder with images and load it:
```python
import datasets
datasets.load_dataset("imagefolder", data_dir=path/to/folder)
```
## Expected results
I would expect a better error message, like `Unsupported file` or even the dataset loader just ignoring every file that is not an image in that case.
## Actual results
Here is the whole traceback:
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.3.2
- Platform: Linux-5.11.0-051100-generic-x86_64-with-glibc2.27
- Python version: 3.9.9
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
Hi, thanks for reporting! If there are no examples in ImageFolder, the `label` column is of type `ClassLabel(names=[])`, which leads to an error in [this line](https://github.com/huggingface/datasets/blob/c15b391942764152f6060b59921b09cacc5f22a6/src/datasets/arrow_writer.py#L387) as `asdict(info)` calls `Features({..., "label": {'num_classes': 0, 'names': [], 'id': None, '_type': 'ClassLabel'}})`, which then calls `require_decoding` [here](https://github.com/huggingface/datasets/blob/c15b391942764152f6060b59921b09cacc5f22a6/src/datasets/features/features.py#L1516) on the dict value it does not expect.
I see two ways to fix this:
* custom `asdict` where `dict_factory` is also applied on the `dict` object itself besides dataclasses (the built-in implementation calls `type(dict_obj)` - this means we also need to fix `Features.to_dict` btw)
* implement `DatasetInfo.to_dict` (though adding `to_dict` to a data class is a bit weird IMO)
@lhoestq Which one of these approaches do you like more?
| [
-0.176959827542305,
0.14152738451957703,
-0.08236131072044373,
0.5738711953163147,
0.3232484459877014,
0.2376943826675415,
0.4081917107105255,
0.18091483414173126,
0.6210441589355469,
0.17319685220718384,
-0.10812603682279587,
0.34606674313545227,
-0.30698999762535095,
-0.018729228526353836,
-0.25429242849349976,
-0.23723256587982178,
0.001741155982017517,
0.16724428534507751,
-0.018664926290512085,
0.11525681614875793,
-0.42601287364959717,
-0.00998741202056408,
-0.2994632124900818,
0.10618855059146881,
-0.05466675013303757,
-0.17574214935302734,
-0.1240047886967659,
0.3034012019634247,
-0.04309284687042236,
-0.451231986284256,
0.3120022416114807,
-0.4069191813468933,
0.3477558195590973,
0.5160077214241028,
-0.00011254899436607957,
0.19874252378940582,
0.3653452396392822,
-0.05375339463353157,
-0.21474963426589966,
-0.4922713041305542,
-0.3267756998538971,
-0.07227906584739685,
0.08978812396526337,
-0.23853135108947754,
0.09586017578840256,
-0.22029584646224976,
0.05625298246741295,
-0.15520069003105164,
0.02779419720172882,
0.32077279686927795,
0.22766005992889404,
0.16155965626239777,
0.15063633024692535,
0.06036795675754547,
0.3337866961956024,
-0.09078942239284515,
-0.088663749396801,
0.15451273322105408,
0.09049607813358307,
-0.07913360744714737,
-0.20179018378257751,
0.3242183327674866,
-0.060874760150909424,
0.1285676509141922,
0.23056825995445251,
0.12659527361392975,
-0.030375562608242035,
-0.4256078600883484,
-0.2126382291316986,
0.1498008668422699,
0.3867815136909485,
-0.05665350705385208,
-0.44085437059402466,
-0.3621268570423126,
-0.016118034720420837,
-0.29932066798210144,
0.29322510957717896,
0.04479536414146423,
-0.03140557184815407,
0.07023817300796509,
-0.03717788681387901,
0.10879044979810715,
-0.26259881258010864,
0.08137793838977814,
-0.11015821993350983,
0.23805207014083862,
-0.16752296686172485,
0.06655863672494888,
0.35966956615448,
-0.046606287360191345,
0.17839545011520386,
-0.11907683312892914,
-0.2006346881389618,
0.23486453294754028,
-0.3646374046802521,
0.04881994426250458,
0.23255011439323425,
0.11762286722660065,
-0.0864487960934639,
0.016301672905683517,
0.030705418437719345,
-0.2532746493816376,
-0.3539089262485504,
0.2673743963241577,
0.282481849193573,
0.3783537447452545,
-0.06847027689218521,
0.4016563892364502,
0.16440075635910034,
0.24380405247211456,
0.01588016375899315,
-0.16173261404037476,
-0.14862728118896484,
-0.2582741975784302,
0.17808637022972107,
0.07584595680236816,
0.22218115627765656,
-0.12014853954315186,
-0.5793840289115906,
0.14041027426719666,
-0.09410949796438217,
-0.06869392842054367,
0.15118110179901123,
0.02372168004512787,
0.13340863585472107,
0.08619711548089981,
0.1663038432598114,
0.3157039284706116,
-0.0565844401717186,
0.08763347566127777,
-0.18073228001594543,
0.17182616889476776,
-0.12162439525127411,
-0.0584699809551239,
-0.1053263247013092,
-0.2579781115055084,
0.10459405928850174,
0.002056480385363102,
0.1736532747745514,
-0.0075857751071453094,
-0.0026108315214514732,
-0.2929885983467102,
0.08321407437324524,
0.37496742606163025,
-0.09601318836212158,
0.034542351961135864,
0.5397320985794067,
-0.2612593472003937,
-0.0774601474404335,
-0.001634165644645691,
-0.6134975552558899,
-0.23708495497703552,
0.0056848060339689255,
0.12413480132818222,
-0.07722298800945282,
0.06063348799943924,
-0.4723529517650604,
-0.04636424407362938,
-0.08369871228933334,
-0.09253156185150146,
0.20435483753681183,
-0.234357550740242,
-0.172418475151062,
-0.14468146860599518,
0.028416795656085014,
0.4702889323234558,
-0.37333759665489197,
0.10544633865356445,
-0.22889168560504913,
0.000712590292096138,
-0.03910187631845474,
0.23123134672641754,
-0.11035306006669998,
0.27131056785583496,
-0.4913051724433899,
0.03352850675582886,
0.05406389385461807,
-0.3528381288051605,
-0.32555699348449707,
0.2607221305370331,
-0.17421025037765503,
0.20946629345417023,
0.03503107279539108,
0.18337886035442352,
0.18352779746055603,
-0.11478187143802643,
0.09020061790943146,
0.29580754041671753,
-0.1504184603691101,
-0.04239237681031227,
-0.013466831296682358,
-0.2392129749059677,
0.34034138917922974,
0.09845966100692749,
-0.035903412848711014,
0.175550639629364,
0.09509187936782837,
-0.19849227368831635,
0.05178716033697128,
-0.1967039406299591,
-0.08684872835874557,
0.37047797441482544,
0.19749188423156738,
0.18332642316818237,
-0.01204521581530571,
-0.22327646613121033,
-0.23543062806129456,
0.3979446291923523,
0.23701506853103638,
0.053308889269828796,
-0.5573616623878479,
0.15337082743644714,
-0.1808755099773407,
-0.004535481333732605,
-0.2827366292476654,
-0.18540765345096588,
0.10495476424694061,
0.04550535976886749,
-0.04361971840262413,
-0.01407298818230629,
-0.06297874450683594,
0.19379450380802155,
-0.24582447111606598,
0.1032349243760109,
-0.3044634163379669,
0.4118548035621643,
-0.07711606472730637,
-0.025002021342515945,
-0.031122887507081032,
-0.03595609962940216,
0.05250530317425728,
-0.25143179297447205,
-0.19618001580238342,
0.37912818789482117,
0.22386014461517334,
0.025339797139167786,
0.09076391905546188,
-0.026802092790603638,
0.18422840535640717,
-0.38216432929039,
-0.05953117460012436,
0.05974385514855385,
0.2951379120349884,
0.0985303744673729,
-0.11485866457223892,
0.437346875667572,
-0.3190214931964874,
0.5347181558609009,
-0.14252129197120667,
-0.09469424188137054,
0.16485923528671265,
0.13032563030719757,
0.05749254673719406,
-0.08341365307569504,
0.08389495313167572,
0.059275008738040924,
0.1759272962808609,
0.05735594034194946,
-0.2022608518600464,
-0.17222875356674194,
0.0933665782213211,
0.029844064265489578,
0.049739111214876175,
0.30999425053596497,
0.012008853256702423,
0.17039701342582703,
0.012639550492167473,
0.17674311995506287,
0.32368719577789307,
0.23856386542320251,
-0.3047415018081665,
-0.2513749599456787,
-0.10829588770866394,
0.04346342012286186,
0.17654642462730408,
0.19511237740516663,
0.4941229820251465,
0.16292712092399597,
0.048314958810806274,
0.15729694068431854,
-0.1811821460723877,
-0.518960177898407,
-0.1938263326883316,
0.3305093050003052,
-0.4247984290122986,
0.34579557180404663,
0.026783334091305733,
-0.23845943808555603,
0.1445053219795227,
0.08511470258235931,
-0.2255648672580719,
-0.23507925868034363,
-0.24029795825481415,
0.14490781724452972,
-0.19884036481380463,
0.0814889669418335,
-0.46521705389022827,
-0.014119967818260193,
0.23290236294269562,
-0.3369041085243225,
0.044658683240413666,
-0.013365356251597404,
-0.0866478756070137,
0.05424852296710014,
0.24806468188762665,
-0.17772920429706573,
0.1572514772415161,
-0.07660368084907532,
0.09072506427764893,
-0.20013168454170227,
-0.2635497450828552,
0.12727713584899902,
-0.37413203716278076,
0.3966079652309418,
0.3979376554489136,
0.1872251033782959,
-0.1108059212565422,
-0.33400624990463257,
0.27703970670700073,
0.04826563596725464,
-0.16397686302661896,
0.18825221061706543,
0.08799989521503448,
0.24219313263893127,
-0.09243419766426086,
-0.21888744831085205,
-0.1911858469247818,
-0.42944347858428955,
0.10031542181968689,
0.2344307154417038,
0.1796177327632904,
0.34604382514953613,
0.22764430940151215,
0.09012541174888611,
0.14294064044952393,
0.04796314984560013,
0.00044946535490453243,
-0.06412622332572937,
0.2895604074001312,
0.11481485515832901,
-0.15481901168823242,
-0.21174392104148865,
-0.12090755254030228,
-0.08320572972297668,
0.18843519687652588,
-0.5926002264022827,
-0.2737845480442047,
-0.27209511399269104,
0.15251950919628143,
-0.008575230836868286,
0.10475820302963257,
0.14821316301822662,
0.12485994398593903,
-0.11812664568424225,
-0.1571452021598816,
-0.022084666416049004,
-0.15693742036819458,
-0.04814649373292923,
0.03750135004520416,
0.24360522627830505,
0.49410873651504517,
-0.030540086328983307,
0.3351948857307434,
-0.023587018251419067,
0.14303700625896454,
0.48422008752822876,
-0.15018223226070404,
0.7020363807678223,
-0.2238951325416565,
-0.30503374338150024,
0.036842796951532364,
0.0592307448387146,
-0.41666311025619507,
0.05270633101463318,
0.013986920937895775,
-0.18228688836097717,
-0.04188065230846405,
-0.11843761801719666,
-0.2847486436367035,
-0.07205881923437119,
0.1621786504983902,
0.20359109342098236,
0.1593693196773529,
-0.12388627231121063,
0.027615711092948914,
-0.13555245101451874,
-0.16860643029212952,
-0.025976985692977905,
0.21302179992198944,
0.2673220634460449,
-0.11049292981624603,
0.03787066414952278,
-0.16397862136363983,
-0.09890874475240707,
-0.005470767617225647,
0.2707066535949707,
0.4064173996448517,
0.05698666349053383,
0.005369868129491806,
-0.12261337041854858,
-0.025644764304161072,
0.6273302435874939,
-0.15592971444129944,
0.12929004430770874,
0.2671128809452057,
0.03510424494743347,
-0.37341880798339844,
-0.09705041348934174,
-0.4295880198478699,
0.27587831020355225,
-0.06252701580524445,
0.6593254208564758,
-0.0689602866768837,
-0.053213801234960556,
0.07050521671772003,
0.1873370110988617,
-0.1643708497285843,
-0.21865679323673248,
-0.3548041582107544,
-0.09620922803878784,
-0.20444200932979584,
0.1777123510837555,
0.05962003767490387,
0.1529504507780075,
0.010226662270724773,
0.12165404856204987,
-0.22371703386306763,
-0.28222984075546265,
-0.064486563205719,
-0.008633408695459366,
0.3242209851741791,
-0.058907683938741684,
0.14064539968967438,
0.22293663024902344,
0.07943028211593628,
0.39887547492980957,
0.6584979891777039,
-0.2803170084953308,
-0.21418848633766174,
0.09960607439279556,
-0.13823938369750977,
0.10696375370025635,
0.170863538980484,
-0.175836443901062,
-0.1707908809185028,
-0.1808350682258606,
0.18438252806663513,
-0.4359269142150879,
-0.14731581509113312,
0.3796495497226715,
0.03485986962914467,
-0.16623647511005402,
-0.25120145082473755,
0.6734654903411865,
0.1896079033613205,
-0.20501983165740967,
0.3458229601383209,
0.47533488273620605,
-0.4850943684577942,
0.4348093867301941,
0.1603279560804367,
0.6268323659896851,
0.09296621382236481,
0.18271203339099884,
0.21681416034698486,
-0.07538820058107376,
0.6167389154434204,
0.407217800617218,
0.2001095563173294,
-0.16974441707134247,
-0.5057836174964905,
-0.14179249107837677,
-0.14225850999355316,
0.04732163995504379,
-0.08268354833126068,
-0.0665975883603096,
0.3483891189098358,
-0.40734660625457764,
-0.24155139923095703,
-0.0986715704202652,
-0.0950666293501854,
-0.2689541280269623,
-0.270784854888916,
-0.3054710924625397,
0.12261828780174255,
0.17252282798290253,
0.07267279922962189,
-0.006871042773127556,
0.01959887519478798,
-0.2019917219877243,
-0.038259707391262054,
-0.2820361256599426,
0.06607184559106827,
-0.013461735099554062,
0.13623183965682983,
0.08926935493946075,
-0.21811209619045258,
0.22429928183555603,
0.17200824618339539,
-0.01166658103466034,
-0.1633564680814743,
-0.193063884973526,
0.0463750995695591,
-0.10126896947622299,
0.20297648012638092,
0.1820010095834732,
-0.19987696409225464,
0.36678269505500793,
0.3081718981266022,
-0.08238549530506134,
-0.09200722724199295,
-0.29234933853149414,
-0.30383336544036865,
0.11352959275245667,
0.23067018389701843,
0.007371921092271805,
-0.29968374967575073,
-0.20887307822704315,
-0.36649030447006226,
-0.04326784238219261,
-0.14415733516216278,
0.13714206218719482,
0.08379260450601578,
0.05731391906738281,
0.03428454324603081,
0.0783206969499588,
-0.45641082525253296,
0.01945641078054905,
0.2728913128376007,
-0.0030097253620624542,
0.29102131724357605,
0.32640448212623596,
0.14826016128063202,
-0.19503095746040344,
-0.22065436840057373,
0.2838984727859497,
0.4779525399208069,
-0.345762699842453,
0.3164447546005249,
0.02051178552210331,
0.13516511023044586,
0.02702137641608715,
0.12234951555728912,
0.3970075845718384,
-0.0659443661570549,
-0.2669493556022644,
-0.6039555668830872,
-0.09606475383043289,
0.30734068155288696,
-0.1613297164440155,
0.13191325962543488,
-0.29956838488578796,
-0.44148269295692444,
0.053404584527015686,
-0.3972620964050293,
-0.2890262305736542,
0.015512499026954174,
-0.43600237369537354,
0.16064101457595825,
0.18529671430587769,
0.2840753197669983,
0.356657475233078,
-0.21921184659004211,
0.12448765337467194,
0.05261006951332092,
-0.11194602400064468,
-0.13741746544837952,
-0.10264092683792114,
0.13225433230400085,
0.1152285784482956,
-0.24621973931789398,
0.05181201547384262,
-0.32510656118392944,
-0.01885925605893135,
-0.25656017661094666,
-0.06261242926120758,
0.08531008660793304,
-0.10341531038284302,
-0.07342014461755753,
-0.22671149671077728,
0.02363201603293419,
0.039869777858257294,
0.22124743461608887,
-0.36450767517089844,
0.5770182609558105,
0.15970444679260254,
0.21427321434020996,
-0.03246410936117172,
0.11328688263893127,
-0.12614218890666962,
0.17095184326171875,
-0.23521868884563446,
0.16792026162147522,
0.2558813691139221,
-0.33978545665740967,
0.12099944055080414,
0.3383174538612366,
0.561760663986206,
0.18193715810775757,
-0.22430741786956787,
-0.18772485852241516,
0.15446844696998596,
0.21434438228607178,
-0.23932333290576935,
-0.12000449001789093,
-0.15373459458351135,
-0.02166999876499176,
0.06985737383365631,
0.37455496191978455,
0.032735008746385574,
-0.00504688173532486,
-0.17020533978939056,
0.026401586830615997,
0.7020119428634644,
-0.07934518903493881,
0.05136909708380699,
0.3773632347583771,
-0.11574088782072067,
0.006392180919647217,
0.4071066379547119,
0.031659990549087524,
0.2527009844779968,
0.7838570475578308,
-0.0697682574391365,
0.05642731487751007,
0.036263346672058105,
0.18933458626270294,
-0.08995998650789261,
-0.31046438217163086,
0.3839937746524811,
0.23900212347507477,
0.12140604108572006,
0.058719292283058167,
-0.1064431220293045,
0.11866575479507446,
-0.4220944046974182,
-0.0025893510319292545,
0.07466109842061996,
-0.06292983889579773,
-0.11673850566148758,
0.02726002410054207,
-0.07703687250614166,
-0.20068387687206268,
-0.14449810981750488,
-0.012632034718990326,
0.05178461968898773,
-0.2678276300430298,
-0.024891436100006104,
0.07573319971561432,
-0.15733076632022858,
-0.43880853056907654,
-0.23337110877037048,
0.3613217771053314,
0.2347620129585266,
-0.3271920382976532,
0.24537742137908936,
0.29908236861228943,
-0.03260267525911331,
0.34588173031806946,
0.40506529808044434,
0.5746679902076721,
0.21982960402965546,
0.03631247952580452,
-0.07289733737707138,
-0.16714812815189362,
-0.10425399243831635,
-0.013895602896809578,
0.038285981863737106,
-0.32901856303215027,
0.08945462852716446,
0.19121961295604706,
0.19654281437397003,
-0.17544162273406982,
0.24162931740283966,
0.17196153104305267,
0.1188172698020935,
-0.22947396337985992,
0.25136667490005493,
-0.08584924042224884,
0.015195757150650024,
-0.10067714750766754,
-0.05544229596853256,
-0.23865589499473572,
0.1282169371843338,
0.21976473927497864,
-0.11179564893245697,
0.19689524173736572,
0.34244614839553833,
0.07508591562509537,
0.10253913700580597,
0.2522744834423065,
0.5848027467727661,
0.02417781576514244,
-0.15488246083259583,
0.11882521212100983,
-0.6883617639541626,
0.06318917870521545,
-0.34047409892082214,
-0.3472740352153778,
0.16365458071231842,
0.15353968739509583,
-0.018334604799747467,
0.17950621247291565,
0.45653611421585083,
0.23409715294837952,
0.2127372771501541,
-0.05719534307718277,
-0.3280416429042816,
-0.308997243642807,
0.16381990909576416,
0.15406133234500885,
-0.3300645351409912,
-0.44004830718040466,
0.0215982124209404,
-0.31594860553741455,
0.14357531070709229,
-0.08294990658760071,
0.031906500458717346,
-0.27460476756095886,
-0.008842803537845612,
0.4993954002857208,
0.16274768114089966,
0.13994358479976654,
-0.12834663689136505,
-0.13323365151882172,
-0.2457616925239563,
-0.3044290244579315,
-0.25020337104797363,
0.07016491144895554,
0.11673521995544434,
0.5076836347579956,
-0.36426034569740295,
-0.45014724135398865,
-0.39919862151145935,
0.2348269671201706,
0.04567582160234451,
0.16728352010250092,
-0.4377234876155853,
0.4176541566848755,
-0.3254806697368622,
-0.08166781067848206,
-0.08351559937000275,
0.07402876019477844,
0.23339040577411652,
0.027452705428004265,
0.0320495069026947,
-0.5132684111595154,
0.34624776244163513,
-0.5421716570854187,
-0.3556137979030609,
0.08847332000732422,
0.0634773001074791,
0.26933595538139343,
0.10758897662162781,
-0.18171393871307373,
0.0751769170165062,
0.3482382893562317,
0.19776523113250732,
-0.3439236283302307,
-0.16684894263744354,
-0.005653185769915581,
0.12085019052028656,
-0.018412847071886063,
0.016491632908582687,
0.025466332212090492,
-0.22803443670272827,
0.30967655777931213,
0.009377434849739075
] |
https://github.com/huggingface/datasets/issues/4681 | IndexError when loading ImageFolder | Small pref for the first option, it feels weird to know that `Features()` can be called with a dictionary of types defined as dictionaries instead of type instances. | ## Describe the bug
Loading an image dataset with `imagefolder` throws `IndexError: list index out of range` when the given folder contains a non-image file (like a csv).
## Steps to reproduce the bug
Put a csv file in a folder with images and load it:
```python
import datasets
datasets.load_dataset("imagefolder", data_dir=path/to/folder)
```
## Expected results
I would expect a better error message, like `Unsupported file` or even the dataset loader just ignoring every file that is not an image in that case.
## Actual results
Here is the whole traceback:
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.3.2
- Platform: Linux-5.11.0-051100-generic-x86_64-with-glibc2.27
- Python version: 3.9.9
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
| 28 | IndexError when loading ImageFolder
## Describe the bug
Loading an image dataset with `imagefolder` throws `IndexError: list index out of range` when the given folder contains a non-image file (like a csv).
## Steps to reproduce the bug
Put a csv file in a folder with images and load it:
```python
import datasets
datasets.load_dataset("imagefolder", data_dir=path/to/folder)
```
## Expected results
I would expect a better error message, like `Unsupported file` or even the dataset loader just ignoring every file that is not an image in that case.
## Actual results
Here is the whole traceback:
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.3.2
- Platform: Linux-5.11.0-051100-generic-x86_64-with-glibc2.27
- Python version: 3.9.9
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
Small pref for the first option, it feels weird to know that `Features()` can be called with a dictionary of types defined as dictionaries instead of type instances. | [
-0.14233259856700897,
-0.0007715672254562378,
-0.10871969163417816,
0.544287919998169,
0.2417297661304474,
0.14020901918411255,
0.43142542243003845,
0.13377438485622406,
0.5818984508514404,
0.15131765604019165,
0.004995130933821201,
0.30169156193733215,
-0.2956918478012085,
0.0902935042977333,
-0.2565726339817047,
-0.2155284881591797,
0.11720584332942963,
0.13865746557712555,
-0.09358234703540802,
0.06961441040039062,
-0.38978835940361023,
-0.12714654207229614,
-0.3172151446342468,
0.10332505404949188,
-0.1323465257883072,
-0.09961660951375961,
-0.1347128450870514,
0.35640040040016174,
-0.02200329862535,
-0.45329803228378296,
0.2190476655960083,
-0.39107680320739746,
0.2974189817905426,
0.4986172616481781,
-0.00011094813817180693,
0.16560494899749756,
0.43941253423690796,
-0.061385974287986755,
-0.13356107473373413,
-0.3990144729614258,
-0.35232824087142944,
-0.279776394367218,
0.15918950736522675,
-0.3258228003978729,
0.17488163709640503,
-0.2712419629096985,
0.11291944980621338,
-0.11930537223815918,
-0.014024756848812103,
0.3442351520061493,
0.2463948279619217,
0.1778416931629181,
0.11781112849712372,
0.041226353496313095,
0.34541425108909607,
0.07818237692117691,
-0.1357424259185791,
0.09693022072315216,
0.1180664524435997,
-0.18891575932502747,
-0.13125184178352356,
0.22018465399742126,
-0.14239726960659027,
0.13793309032917023,
0.38488247990608215,
0.15141288936138153,
-0.03387570381164551,
-0.5533149242401123,
-0.273126482963562,
0.19237405061721802,
0.4333305060863495,
0.03419993817806244,
-0.37826451659202576,
-0.35026800632476807,
-0.15528765320777893,
-0.20922397077083588,
0.27505359053611755,
-0.011169178411364555,
-0.02844400145113468,
0.019799653440713882,
0.021703796461224556,
0.11013957858085632,
-0.21994854509830475,
0.09824178367853165,
-0.1723574697971344,
0.17910437285900116,
-0.035088539123535156,
0.02375948056578636,
0.28628093004226685,
-0.13252407312393188,
0.1965813934803009,
-0.17804454267024994,
-0.14513862133026123,
0.17280206084251404,
-0.27407306432724,
0.08483462035655975,
0.36186662316322327,
0.006867848336696625,
-0.07571668177843094,
0.022586757317185402,
0.0599214993417263,
-0.2387346625328064,
-0.429805725812912,
0.27800509333610535,
0.3618214726448059,
0.31800857186317444,
-0.14988023042678833,
0.36219069361686707,
0.20100292563438416,
0.175985649228096,
-0.09200342744588852,
-0.1392982006072998,
0.007287017069756985,
-0.20441879332065582,
0.26841092109680176,
-0.02218189835548401,
0.35533708333969116,
-0.1016448587179184,
-0.45771366357803345,
0.08000566810369492,
-0.026008712127804756,
-0.12994824349880219,
0.10623003542423248,
0.06878598779439926,
-0.0043792640790343285,
0.07210889458656311,
0.05238502472639084,
0.3164488673210144,
-0.11074843257665634,
0.10937338322401047,
-0.19644597172737122,
0.23364457488059998,
-0.059813763946294785,
-0.1597122997045517,
-0.11044390499591827,
-0.1976907104253769,
0.1104016825556755,
-0.04290372505784035,
0.2236422747373581,
0.03792977333068848,
-0.0041903359815478325,
-0.28242436051368713,
0.0629538893699646,
0.3547176122665405,
-0.13195176422595978,
-0.06130995601415634,
0.4873635470867157,
-0.16204048693180084,
-0.12399119138717651,
0.049788832664489746,
-0.5241779088973999,
-0.3013070821762085,
-0.017068317160010338,
0.1555701047182083,
-0.17946964502334595,
0.06465088576078415,
-0.3765047788619995,
0.004507735371589661,
-0.1486557126045227,
-0.16425056755542755,
0.13986140489578247,
-0.23839376866817474,
-0.08550246059894562,
-0.30111876130104065,
-0.009031884372234344,
0.5067502856254578,
-0.34586024284362793,
0.1268267184495926,
-0.3543872535228729,
-0.06183629855513573,
0.030855692923069,
0.20770001411437988,
-0.1277969926595688,
0.3486863374710083,
-0.48351573944091797,
0.17087455093860626,
0.14684462547302246,
-0.1764335185289383,
-0.3143765926361084,
0.1719389110803604,
-0.11425749957561493,
0.31359007954597473,
-0.0014078617095947266,
0.26533594727516174,
0.2341313511133194,
-0.0687415674328804,
0.09339207410812378,
0.3828909993171692,
-0.14285047352313995,
-0.00395192950963974,
-0.026660019531846046,
-0.18948377668857574,
0.5108096599578857,
0.07112182676792145,
0.0606701597571373,
0.18816238641738892,
0.1505371630191803,
-0.23456186056137085,
0.021482910960912704,
-0.1525580883026123,
-0.19919639825820923,
0.1483203023672104,
0.23619867861270905,
0.28023844957351685,
-0.030474938452243805,
-0.19917729496955872,
-0.21539151668548584,
0.4262656271457672,
0.2551012933254242,
0.019950173795223236,
-0.4422152042388916,
0.1355758011341095,
-0.19533470273017883,
0.08048247545957565,
-0.22630278766155243,
-0.17118072509765625,
0.14502684772014618,
0.05484611541032791,
-0.11253459751605988,
0.05639206990599632,
-0.10443127155303955,
0.2187463641166687,
-0.1840861439704895,
0.05572585389018059,
-0.24962280690670013,
0.4719526767730713,
-0.09878187626600266,
-0.06248500198125839,
-0.07183508574962616,
-0.07152806967496872,
0.009150702506303787,
-0.2291557341814041,
-0.22855502367019653,
0.3193897604942322,
0.2584952116012573,
0.06549438834190369,
0.06003144383430481,
0.10846623033285141,
0.23625332117080688,
-0.36412739753723145,
0.08861589431762695,
0.21329405903816223,
0.31172722578048706,
0.017886310815811157,
-0.14578604698181152,
0.395362913608551,
-0.25509560108184814,
0.4692058861255646,
-0.11997518688440323,
-0.03176569193601608,
0.1342601478099823,
0.2046380639076233,
0.019482171162962914,
-0.0628703236579895,
0.04468971863389015,
0.15708555281162262,
0.006953053176403046,
0.10150422900915146,
-0.276838481426239,
-0.12480912357568741,
0.08137969672679901,
0.04300199821591377,
0.21705353260040283,
0.3351789712905884,
0.08452939987182617,
0.09932441264390945,
0.05201093107461929,
-0.04294978082180023,
0.36549443006515503,
0.20500828325748444,
-0.28102076053619385,
-0.2072596549987793,
-0.055753059685230255,
0.07884626090526581,
0.1867986023426056,
0.27456724643707275,
0.36501988768577576,
0.08371689170598984,
0.14921052753925323,
0.09468722343444824,
-0.12725186347961426,
-0.5229108929634094,
-0.24445803463459015,
0.28385886549949646,
-0.42800191044807434,
0.3074715733528137,
-0.06828141212463379,
-0.270622581243515,
0.292540580034256,
0.14470061659812927,
-0.22731128334999084,
-0.21887654066085815,
-0.1890382617712021,
0.1892223209142685,
-0.28269651532173157,
0.032556675374507904,
-0.5167074203491211,
0.01583610475063324,
0.2354683130979538,
-0.33138543367385864,
0.13403770327568054,
0.117250956594944,
-0.10158985108137131,
0.06788049638271332,
0.3196336328983307,
-0.01017956156283617,
0.20201332867145538,
-0.03026292286813259,
0.09861867874860764,
-0.2897554039955139,
-0.23459047079086304,
0.07732419669628143,
-0.32422953844070435,
0.4781249463558197,
0.3896862268447876,
0.1678161919116974,
0.039527326822280884,
-0.3199633061885834,
0.24272388219833374,
0.1017361581325531,
-0.13602115213871002,
0.19412541389465332,
0.10171173512935638,
0.21840839087963104,
-0.027113527059555054,
-0.2676694393157959,
-0.2331332117319107,
-0.48648586869239807,
0.07290925085544586,
0.28676649928092957,
0.23286505043506622,
0.2947653830051422,
0.32887381315231323,
0.03142792731523514,
0.23049142956733704,
0.08019816130399704,
0.04711373150348663,
0.06611298024654388,
0.3287442922592163,
0.162353515625,
-0.17408668994903564,
-0.2078922986984253,
-0.18821558356285095,
-0.2629324495792389,
0.2270016074180603,
-0.6290290355682373,
-0.29718518257141113,
-0.3304620385169983,
0.3201153874397278,
0.08303484320640564,
0.05726758390665054,
0.15927541255950928,
0.13125720620155334,
-0.11885949969291687,
-0.07509467005729675,
-0.007806744426488876,
-0.18572494387626648,
0.11862153559923172,
0.026071369647979736,
0.3479512333869934,
0.4097233712673187,
-0.1243063360452652,
0.2976483106613159,
-0.11723130941390991,
0.20025064051151276,
0.5844631195068359,
-0.21518170833587646,
0.6098939776420593,
-0.34457534551620483,
-0.38539400696754456,
-0.007948974147439003,
0.04494311660528183,
-0.5029670596122742,
0.03979969024658203,
0.016942739486694336,
-0.26337242126464844,
-0.09608984738588333,
-0.1747971773147583,
-0.33945754170417786,
-0.08897281438112259,
0.2281501293182373,
0.14256350696086884,
0.1755116879940033,
-0.19155199825763702,
0.01972920447587967,
-0.16479940712451935,
-0.06112772598862648,
-0.0111778499558568,
0.2484195977449417,
0.24629822373390198,
-0.12059367448091507,
-0.018766136839985847,
-0.2054576873779297,
-0.027588747441768646,
-0.020810827612876892,
0.19332599639892578,
0.33832982182502747,
0.045144569128751755,
-0.19600555300712585,
-0.16592000424861908,
0.03159153461456299,
0.617883563041687,
-0.13799957931041718,
0.06686760485172272,
0.2735113203525543,
-0.09453721344470978,
-0.23641011118888855,
-0.222638800740242,
-0.3373062312602997,
0.355715274810791,
-0.10685783624649048,
0.6236289143562317,
-0.03184634819626808,
0.027268236503005028,
0.016563810408115387,
0.24775776267051697,
-0.1949312388896942,
-0.10662868618965149,
-0.27636632323265076,
-0.059247612953186035,
-0.2649412155151367,
0.06470366567373276,
0.02745368517935276,
0.08232083916664124,
-0.005598013289272785,
0.034106429666280746,
-0.3044779896736145,
-0.21832287311553955,
-0.08186614513397217,
0.09073950350284576,
0.34327638149261475,
-0.22275106608867645,
0.1388770341873169,
0.12367765605449677,
0.021158840507268906,
0.2612592279911041,
0.5955742597579956,
-0.08585819602012634,
-0.22557052969932556,
0.030910886824131012,
-0.17203301191329956,
0.1287817507982254,
0.1741136610507965,
-0.1639678180217743,
-0.14543777704238892,
-0.2665887176990509,
0.13755419850349426,
-0.3718225657939911,
-0.0838092714548111,
0.46184518933296204,
-0.03893696144223213,
-0.030977871268987656,
-0.35281485319137573,
0.6029903888702393,
0.18631099164485931,
-0.20690542459487915,
0.3175743818283081,
0.2861994504928589,
-0.39821499586105347,
0.4606549143791199,
0.17569613456726074,
0.658303439617157,
0.1555895358324051,
0.19514140486717224,
0.32258591055870056,
0.06737443804740906,
0.528191864490509,
0.34122520685195923,
0.0662091076374054,
-0.1533377468585968,
-0.5578855276107788,
-0.12201687693595886,
-0.146560400724411,
0.05704610049724579,
-0.16507300734519958,
-0.17668592929840088,
0.36772647500038147,
-0.48381632566452026,
-0.22983303666114807,
-0.09217005223035812,
-0.11712614446878433,
-0.11216994374990463,
-0.1964608132839203,
-0.30311155319213867,
0.14110170304775238,
0.2864525318145752,
0.05562558025121689,
-0.05168041214346886,
-0.00025193672627210617,
-0.19074766337871552,
-0.0577242448925972,
-0.28456616401672363,
0.00870765745639801,
0.0779782384634018,
0.20341511070728302,
0.10180015861988068,
-0.17652511596679688,
0.07181434333324432,
0.18879275023937225,
-0.1777738779783249,
-0.1350620985031128,
-0.12452404201030731,
-0.07582810521125793,
0.053896062076091766,
0.18766352534294128,
0.11854083091020584,
-0.19640615582466125,
0.37031611800193787,
0.19314485788345337,
-0.1402614712715149,
-0.0853819027543068,
-0.2815365195274353,
-0.2669363021850586,
-0.008247986435890198,
0.2220560759305954,
-0.015709511935710907,
-0.2816714942455292,
-0.32392439246177673,
-0.3466974198818207,
-0.13238562643527985,
-0.11540745198726654,
0.16448190808296204,
0.13765129446983337,
0.09983731061220169,
0.20080715417861938,
0.11032474040985107,
-0.3733786344528198,
-0.052230801433324814,
0.08352604508399963,
0.04681114852428436,
0.310183048248291,
0.23458735644817352,
0.18532365560531616,
-0.1976354718208313,
-0.2264721393585205,
0.2884564995765686,
0.24902737140655518,
-0.1419866979122162,
0.39704951643943787,
-0.08916790783405304,
-0.032649777829647064,
-0.10773008316755295,
0.26111429929733276,
0.40117132663726807,
-0.02893940359354019,
-0.35556912422180176,
-0.5372064113616943,
-0.0875936970114708,
0.3495662808418274,
-0.08742892742156982,
0.18886709213256836,
-0.44987672567367554,
-0.5124225616455078,
0.11071094870567322,
-0.43668386340141296,
-0.31570589542388916,
-0.020697202533483505,
-0.3767373263835907,
0.20055434107780457,
0.16758400201797485,
0.2845805585384369,
0.1742054522037506,
-0.19044126570224762,
0.1440735012292862,
-0.028117354959249496,
-0.0990050882101059,
-0.17069503664970398,
-0.026767659932374954,
0.13269585371017456,
0.09569720923900604,
-0.2309994399547577,
0.09055206924676895,
-0.3435036540031433,
-0.011014983057975769,
-0.23770812153816223,
-0.1397201269865036,
0.12524783611297607,
-0.18148113787174225,
-0.00919924583286047,
-0.15313710272312164,
-0.028428196907043457,
0.08863487839698792,
0.3279898166656494,
-0.3576275408267975,
0.5166113972663879,
0.1291700005531311,
0.1344681680202484,
-0.05833591893315315,
0.03532728552818298,
-0.08729134500026703,
0.1804947406053543,
-0.3074168562889099,
0.31516215205192566,
0.33592715859413147,
-0.08934658765792847,
0.14961664378643036,
0.3141029477119446,
0.44485411047935486,
0.2867656946182251,
-0.2146167904138565,
-0.0898440033197403,
0.1719718873500824,
0.25185662508010864,
-0.33930742740631104,
-0.24998384714126587,
-0.07202263176441193,
-0.031492844223976135,
0.09490244090557098,
0.3912796676158905,
0.06104890629649162,
0.0576852411031723,
-0.2704271674156189,
0.05493105202913284,
0.522994875907898,
-0.024800341576337814,
0.08243907988071442,
0.35477113723754883,
-0.22745239734649658,
0.0047639161348342896,
0.2880759537220001,
0.009816326200962067,
0.2325488030910492,
0.8191630840301514,
-0.016017459332942963,
0.041880637407302856,
0.12337943911552429,
0.12627765536308289,
0.010219477117061615,
-0.3604515790939331,
0.44049015641212463,
0.1705794483423233,
0.08755941689014435,
0.07276542484760284,
-0.006525807082653046,
-0.05343010276556015,
-0.33612215518951416,
0.010655530728399754,
-0.004835091531276703,
-0.12515875697135925,
-0.052134983241558075,
0.10363298654556274,
0.08668343722820282,
-0.3021627962589264,
-0.2246406376361847,
-0.030286625027656555,
0.043454136699438095,
-0.1827760487794876,
0.029864639043807983,
0.028338197618722916,
-0.12459072470664978,
-0.34876489639282227,
0.12027111649513245,
0.21039769053459167,
0.24694743752479553,
-0.32005003094673157,
0.07752607762813568,
0.2545149028301239,
-0.05739152431488037,
0.28978240489959717,
0.4459225833415985,
0.5814554691314697,
0.3888809382915497,
-0.07899829745292664,
-0.03752779960632324,
-0.16943365335464478,
-0.13417887687683105,
-0.09091082215309143,
0.009506192058324814,
-0.4112761616706848,
0.2667989432811737,
0.12805162370204926,
0.19145110249519348,
-0.18415483832359314,
0.3336872458457947,
0.047643303871154785,
-0.036198440939188004,
-0.4016077220439911,
0.26805731654167175,
-0.004277441650629044,
-0.052752308547496796,
-0.05138242244720459,
-0.07382523268461227,
-0.22911947965621948,
-0.12893031537532806,
0.3176814317703247,
0.021932322531938553,
0.25367945432662964,
0.3418200612068176,
0.08744199573993683,
0.014742854982614517,
0.28858476877212524,
0.5327951908111572,
0.19012966752052307,
-0.11361537128686905,
0.21209169924259186,
-0.733508825302124,
0.15238867700099945,
-0.3519217371940613,
-0.3063396215438843,
0.30793341994285583,
0.21987222135066986,
-0.05624306946992874,
0.19592449069023132,
0.42930036783218384,
0.14538241922855377,
0.1631319224834442,
0.012368395924568176,
-0.38159820437431335,
-0.43105408549308777,
0.10968601703643799,
0.18296782672405243,
-0.35811281204223633,
-0.36614125967025757,
0.10870492458343506,
-0.40441152453422546,
0.2126045525074005,
-0.030103769153356552,
-0.16758018732070923,
-0.15139174461364746,
0.09501996636390686,
0.5825292468070984,
0.1716558039188385,
0.08946624398231506,
-0.1694810390472412,
-0.09603946655988693,
-0.31113675236701965,
-0.29222550988197327,
-0.21486392617225647,
0.05747634917497635,
0.08443285524845123,
0.4652855098247528,
-0.3833830654621124,
-0.2529735863208771,
-0.3952125906944275,
0.2235969603061676,
0.07723861932754517,
0.027256697416305542,
-0.39114850759506226,
0.30729809403419495,
-0.2570677399635315,
-0.10442338138818741,
-0.18476121127605438,
0.06065324321389198,
0.09988415241241455,
-0.08577968925237656,
0.12269337475299835,
-0.46182507276535034,
0.36918342113494873,
-0.39110326766967773,
-0.3562699556350708,
-0.15418808162212372,
0.035229749977588654,
0.2860463857650757,
0.23199452459812164,
-0.09144291281700134,
-0.07373379170894623,
0.35844847559928894,
0.13718321919441223,
-0.28799229860305786,
-0.1298595666885376,
-0.044855162501335144,
0.0062022022902965546,
-0.04961086064577103,
0.10088962316513062,
-0.15976890921592712,
-0.11836816370487213,
0.33578571677207947,
0.04740104079246521
] |
https://github.com/huggingface/datasets/issues/4680 | Dataset Viewer issue for codeparrot/xlcost-text-to-code | There seems to be an issue with the `C++-snippet-level` config:
```python
>>> from datasets import get_dataset_split_names
>>> get_dataset_split_names("codeparrot/xlcost-text-to-code", "C++-snippet-level")
Traceback (most recent call last):
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 352, in get_dataset_config_info
info.splits = {
TypeError: 'NoneType' object is not iterable
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 404, in get_dataset_split_names
info = get_dataset_config_info(
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 359, in get_dataset_config_info
raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.
```
I remove the dataset-viewer tag since it's not directly related.
Pinging @huggingface/datasets | ### Link
https://huggingface.co/datasets/codeparrot/xlcost-text-to-code
### Description
Error
```
Server Error
Status code: 400
Exception: TypeError
Message: 'NoneType' object is not iterable
```
Before I did a minor change in the dataset script (removing some comments), the viewer was working but not properely, it wasn't showing the dataset subsets. But the data can be loaded successfully.
Thanks!
### Owner
Yes | 115 | Dataset Viewer issue for codeparrot/xlcost-text-to-code
### Link
https://huggingface.co/datasets/codeparrot/xlcost-text-to-code
### Description
Error
```
Server Error
Status code: 400
Exception: TypeError
Message: 'NoneType' object is not iterable
```
Before I did a minor change in the dataset script (removing some comments), the viewer was working but not properely, it wasn't showing the dataset subsets. But the data can be loaded successfully.
Thanks!
### Owner
Yes
There seems to be an issue with the `C++-snippet-level` config:
```python
>>> from datasets import get_dataset_split_names
>>> get_dataset_split_names("codeparrot/xlcost-text-to-code", "C++-snippet-level")
Traceback (most recent call last):
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 352, in get_dataset_config_info
info.splits = {
TypeError: 'NoneType' object is not iterable
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 404, in get_dataset_split_names
info = get_dataset_config_info(
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 359, in get_dataset_config_info
raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.
```
I remove the dataset-viewer tag since it's not directly related.
Pinging @huggingface/datasets | [
-0.6095504760742188,
0.008620783686637878,
0.03766206279397011,
0.42092299461364746,
0.2538851499557495,
0.014112107455730438,
0.08480220288038254,
0.5576991438865662,
-0.2517106235027313,
0.08406318724155426,
-0.10687055438756943,
0.41519439220428467,
-0.047462865710258484,
0.5476271510124207,
0.07299181818962097,
0.014139849692583084,
-0.3060119152069092,
0.37212231755256653,
-0.4012940526008606,
0.11600317060947418,
-0.3767094612121582,
0.2110452800989151,
-0.37295347452163696,
0.003522925078868866,
0.03748654946684837,
-0.13010331988334656,
-0.05805712193250656,
0.12597589194774628,
-0.1492205262184143,
-0.6495963335037231,
0.2640397250652313,
0.15957996249198914,
0.30704525113105774,
0.6012182235717773,
-0.00012047462223563343,
0.08608812093734741,
0.256526917219162,
-0.025461470708251,
-0.4852808713912964,
-0.12945161759853363,
-0.3491272032260895,
-0.2752165198326111,
0.29897046089172363,
-0.2742239236831665,
-0.09682755917310715,
-0.26303353905677795,
0.14595922827720642,
-0.4177298843860626,
0.38611841201782227,
0.2706441283226013,
0.12094196677207947,
0.423770546913147,
0.12426221370697021,
0.019412120804190636,
-0.1568412482738495,
0.022336937487125397,
-0.27381497621536255,
0.18975278735160828,
0.2723551392555237,
0.31340667605400085,
-0.024480506777763367,
0.1931050717830658,
-0.10976041108369827,
0.10540375113487244,
0.20573824644088745,
-0.1551167517900467,
-0.08405441790819168,
-0.32871535420417786,
0.25005286931991577,
0.30463987588882446,
0.5992897748947144,
-0.4281454384326935,
-0.21307891607284546,
-0.303486168384552,
-0.14539717137813568,
-0.4452478587627411,
0.16593709588050842,
0.07434245944023132,
0.03421894833445549,
0.24840030074119568,
-0.41392916440963745,
0.04886971414089203,
-0.23527325689792633,
0.04976280406117439,
-0.2540420591831207,
-0.004015929996967316,
-0.33246394991874695,
0.07039202749729156,
0.1634434461593628,
0.022154193371534348,
0.4906712770462036,
-0.2423698902130127,
-0.04154657945036888,
0.1430598795413971,
-0.4213200807571411,
-0.11718054860830307,
0.12798897922039032,
-0.046278342604637146,
0.00899931788444519,
0.06639578938484192,
-0.023354943841695786,
0.2711530029773712,
0.07709566503763199,
0.09854811429977417,
0.49052268266677856,
-0.1552574336528778,
0.42738959193229675,
0.3367738127708435,
0.2212337702512741,
0.07709375768899918,
0.2915044128894806,
0.024088706821203232,
-0.17614465951919556,
-0.16121190786361694,
-0.2688691020011902,
0.12453299760818481,
0.606419026851654,
-0.1770336776971817,
-0.30411866307258606,
0.10379332304000854,
-0.14452442526817322,
-0.02248573675751686,
0.2626335918903351,
0.3386281430721283,
0.29498299956321716,
0.2905633747577667,
0.13538868725299835,
0.01944667287170887,
-0.2554773688316345,
-0.4299888610839844,
-0.08069557696580887,
-0.026927202939987183,
-0.057171426713466644,
-0.08848275244235992,
0.108719602227211,
-0.14344246685504913,
-0.2055407613515854,
0.0004655253142118454,
0.19284263253211975,
-0.1916656196117401,
0.013700436800718307,
-0.1386163979768753,
-0.06890401989221573,
0.07428810000419617,
0.2836929261684418,
0.20616514980793,
0.17565499246120453,
-0.5342645645141602,
-0.0240570530295372,
0.12186820805072784,
-0.297610878944397,
-0.27464014291763306,
0.003031516447663307,
0.11438696831464767,
-0.2233177274465561,
0.06715918332338333,
-0.26923349499702454,
0.059443339705467224,
0.25178346037864685,
-0.22140006721019745,
-0.21106204390525818,
-0.3445778489112854,
-0.02452635020017624,
-0.07703498005867004,
0.17048826813697815,
0.836868166923523,
-0.7732111811637878,
-0.06486775726079941,
-0.2654874920845032,
-0.057217489928007126,
0.16727383434772491,
0.03317626193165779,
-0.015672584995627403,
-0.10456471890211105,
-0.48154035210609436,
0.160101056098938,
0.4294261932373047,
-0.08938080072402954,
-0.24504339694976807,
0.735562801361084,
-0.07204139977693558,
0.029304692521691322,
0.12261004745960236,
-0.15797889232635498,
0.260227233171463,
-0.2603261172771454,
-0.12065401673316956,
-0.23567511141300201,
-0.036318838596343994,
-0.04880646616220474,
-0.2253330647945404,
0.0020460132509469986,
0.12323971092700958,
0.08528302609920502,
0.21440961956977844,
0.11415863782167435,
0.02824423462152481,
-0.2905750870704651,
0.4814424514770508,
-0.28459665179252625,
0.3339816927909851,
0.14416606724262238,
0.31683349609375,
0.23322060704231262,
0.21997155249118805,
-0.35583624243736267,
-0.3325246274471283,
0.045056991279125214,
-0.05300537124276161,
-0.18558748066425323,
0.019572190940380096,
-0.07417141646146774,
-0.25109997391700745,
0.0334269255399704,
-0.3575916886329651,
0.13459129631519318,
0.1359131783246994,
0.31111425161361694,
-0.2622142434120178,
-0.12109586596488953,
-0.24823345243930817,
0.2895067036151886,
-0.13303625583648682,
0.13687974214553833,
-0.31170451641082764,
0.2828418016433716,
0.018938366323709488,
-0.1988619714975357,
0.20517416298389435,
0.28839826583862305,
0.26563847064971924,
-0.38135817646980286,
-0.08715588599443436,
0.5048773884773254,
0.10521476715803146,
-0.14378094673156738,
-0.011502895504236221,
-0.2629644274711609,
0.19176724553108215,
-0.49198639392852783,
-0.014797540381550789,
-0.023171555250883102,
0.2062501311302185,
0.12879815697669983,
-0.007197722792625427,
0.3390127122402191,
0.001221928745508194,
0.44465214014053345,
0.09097510576248169,
0.3218335807323456,
0.010801373049616814,
-0.06117365136742592,
-0.16631795465946198,
-0.18442562222480774,
0.296528697013855,
0.0687004029750824,
0.4794628620147705,
-0.09209833294153214,
-0.2456195056438446,
0.2523472309112549,
0.2678920328617096,
-0.10941578447818756,
0.13084200024604797,
-0.06470832228660583,
-0.27262935042381287,
0.020025022327899933,
-0.07590647041797638,
0.2938191592693329,
0.16158118844032288,
0.04357875883579254,
-0.16004152595996857,
-0.04155586659908295,
0.13584254682064056,
-0.03548605740070343,
0.19356656074523926,
0.16697537899017334,
-0.15496520698070526,
0.1266135275363922,
-0.15442179143428802,
-0.15290085971355438,
-0.2942160367965698,
-0.22469288110733032,
0.020773326978087425,
0.1703130453824997,
-0.5313103199005127,
0.26483461260795593,
-0.5174117088317871,
-0.1635029911994934,
-0.1372014582157135,
0.16857779026031494,
-0.023157775402069092,
-0.32595667243003845,
-0.18938125669956207,
0.0071239955723285675,
-0.052397891879081726,
0.13839803636074066,
-0.06805701553821564,
0.113678939640522,
-0.03098112717270851,
-0.013016102835536003,
-0.15430030226707458,
-0.04352714121341705,
-0.3099232316017151,
0.0243963785469532,
0.36102789640426636,
-0.1700611710548401,
0.2932029962539673,
-0.2339521050453186,
-0.030244894325733185,
-0.11434746533632278,
-0.16463083028793335,
0.31125426292419434,
-0.28261876106262207,
0.3770058751106262,
0.14855411648750305,
0.10444023460149765,
0.02956119179725647,
0.00869795773178339,
0.14132332801818848,
0.036064617335796356,
0.052165836095809937,
0.28281477093696594,
-0.16146385669708252,
-0.24991276860237122,
0.0016811378300189972,
-0.16527006030082703,
-0.19250060617923737,
-0.44265493750572205,
0.1131426990032196,
0.042945001274347305,
0.27194586396217346,
-0.11481666564941406,
0.045732345432043076,
0.18240107595920563,
0.20760025084018707,
-0.10704188048839569,
-0.07018230110406876,
0.0679747462272644,
0.34446364641189575,
-0.31299731135368347,
-0.38268303871154785,
0.14130021631717682,
0.15542490780353546,
0.2331789880990982,
-0.14906200766563416,
-0.327423095703125,
0.04146665707230568,
-0.10339610278606415,
-0.023214586079120636,
0.08896490931510925,
-0.12725476920604706,
0.21267834305763245,
0.21897409856319427,
0.06136636435985565,
-0.1528255194425583,
-0.25182685256004333,
-0.15573567152023315,
-0.04757796227931976,
0.017271846532821655,
0.08797356486320496,
0.19447162747383118,
0.08346904814243317,
0.05494561046361923,
0.6111118197441101,
0.18949367105960846,
0.2676369249820709,
-0.14443163573741913,
0.2712900638580322,
-0.04936488717794418,
-0.4461718797683716,
0.12760785222053528,
-0.18531638383865356,
0.004875358194112778,
0.1358962059020996,
-0.16693681478500366,
-0.18504959344863892,
-0.20945607125759125,
0.1376994401216507,
-0.4572737514972687,
-0.353824257850647,
-0.021999521180987358,
0.007609888911247253,
0.24428710341453552,
-0.06001156568527222,
0.20589080452919006,
-0.09526808559894562,
0.016798891127109528,
-0.2983097732067108,
0.49001002311706543,
0.09884361922740936,
-0.12184701859951019,
-0.5103006362915039,
-0.3165268301963806,
-0.04563271254301071,
0.564839780330658,
-0.05464416742324829,
0.295193076133728,
-0.06353640556335449,
0.009046688675880432,
0.18185943365097046,
-0.1873326450586319,
0.6139439940452576,
0.04552658274769783,
0.17768645286560059,
0.3852616548538208,
-0.15630382299423218,
-0.39675965905189514,
0.08354631066322327,
-0.15989993512630463,
0.19859935343265533,
0.17451651394367218,
-0.2257840931415558,
-0.29595932364463806,
-0.17429301142692566,
0.4901689887046814,
-0.1200636699795723,
-0.1438397914171219,
-0.03540092706680298,
-0.021346013993024826,
-0.26402461528778076,
-0.15837007761001587,
-0.11681046336889267,
-0.08713393658399582,
0.28981438279151917,
-0.2951957583427429,
-0.11828739941120148,
0.0220960583537817,
-0.43332868814468384,
0.3235448896884918,
0.21351473033428192,
0.31465858221054077,
-0.09146274626255035,
0.2824934720993042,
0.1767926812171936,
0.10924211144447327,
0.631885826587677,
0.3090502619743347,
0.19965052604675293,
-0.45621949434280396,
0.5757273435592651,
-0.010808950290083885,
0.1791439652442932,
0.3002445101737976,
-0.33634209632873535,
-0.10557828098535538,
0.2028319388628006,
0.3076293468475342,
-0.182019904255867,
-0.19682253897190094,
0.32534360885620117,
-0.07769513130187988,
-0.5554010272026062,
-0.5774276852607727,
0.3904537260532379,
-0.05785129964351654,
0.045194774866104126,
0.029810162261128426,
0.0632537305355072,
-0.0796247124671936,
0.12616851925849915,
-0.17223283648490906,
0.6688100695610046,
0.12042707204818726,
-0.31083136796951294,
0.3846811354160309,
-0.2650625705718994,
0.2863379716873169,
-0.2853810787200928,
0.20606255531311035,
-0.3680618107318878,
0.03805311396718025,
-0.14500772953033447,
-0.11547176539897919,
0.33442243933677673,
0.023041991516947746,
-0.4923955798149109,
0.12743258476257324,
-0.13052073121070862,
-0.15344148874282837,
-0.02750452421605587,
0.11549897491931915,
-0.4153672456741333,
0.0982920229434967,
-0.14020706713199615,
0.06960549205541611,
-0.12740866839885712,
0.1075163334608078,
0.013737000524997711,
-0.3268800377845764,
-0.12093997001647949,
-0.197763592004776,
-0.4702838063240051,
0.04257863759994507,
-0.014794055372476578,
-0.18689216673374176,
-0.09388571977615356,
-0.5569296479225159,
0.5453238487243652,
0.18238964676856995,
0.17287608981132507,
0.19497761130332947,
-0.31615158915519714,
0.13357013463974,
-0.07960056513547897,
0.034788671880960464,
-0.022032609209418297,
0.11859525740146637,
-0.05712626129388809,
0.15769264101982117,
-0.11336995661258698,
0.016980677843093872,
0.08346300572156906,
0.08145399391651154,
0.18982258439064026,
0.1750413179397583,
0.068400077521801,
-0.5736485123634338,
0.27067461609840393,
0.04211084544658661,
0.1509304791688919,
-0.2516781985759735,
0.0975906103849411,
-0.05840085446834564,
-0.05329947546124458,
0.10586889833211899,
0.02434482052922249,
-0.17224159836769104,
0.039145153015851974,
0.17797668278217316,
0.16773289442062378,
0.25669384002685547,
0.4537322223186493,
0.3896971344947815,
-0.2130701094865799,
-0.2504426836967468,
0.2659696042537689,
0.24422886967658997,
-0.5549765825271606,
0.3091052174568176,
0.02341451309621334,
0.14320595562458038,
0.06933698803186417,
0.07961346954107285,
-0.045729294419288635,
-0.031066708266735077,
-0.3043273985385895,
-0.29368269443511963,
0.11957753449678421,
0.06163135543465614,
-0.1194017231464386,
0.18623743951320648,
0.02168622985482216,
0.6244031190872192,
-0.01779332011938095,
0.07002835720777512,
-0.24216870963573456,
0.04524226486682892,
-0.2470487505197525,
0.0904744416475296,
0.4553375542163849,
-0.11415258795022964,
-0.012306694872677326,
-0.040003299713134766,
0.0201574694365263,
0.21231314539909363,
-0.26677533984184265,
-0.09346158802509308,
0.050281744450330734,
0.15760938823223114,
-0.10744351893663406,
-0.3313574492931366,
-0.09861619770526886,
0.02269146218895912,
-0.22684693336486816,
-0.21088369190692902,
0.09804169833660126,
-0.20641514658927917,
-0.024303726851940155,
0.2718612253665924,
-0.012768421322107315,
-0.19537398219108582,
0.0035010576248168945,
0.415477454662323,
0.050168752670288086,
0.3838624358177185,
-0.11328208446502686,
0.30109015107154846,
-0.00092315673828125,
-0.05651606619358063,
-0.045769333839416504,
0.3198089301586151,
0.015604428946971893,
0.20981943607330322,
0.36723655462265015,
-0.4426761269569397,
0.1618882119655609,
0.10030291229486465,
0.3055966794490814,
0.7217477560043335,
-0.08484619110822678,
0.06361743062734604,
-0.13418886065483093,
0.06112515181303024,
-0.1494733691215515,
-0.016053037717938423,
0.336497962474823,
0.07718554139137268,
0.21159270405769348,
0.18892833590507507,
-0.09020086377859116,
0.015254847705364227,
0.12341544777154922,
0.04224696010351181,
0.6162656545639038,
0.17062267661094666,
0.3192260265350342,
0.6124829053878784,
-0.09443090856075287,
0.054724741727113724,
0.001598350703716278,
0.2735474407672882,
0.09596087038516998,
0.4567983150482178,
-0.2948627173900604,
-0.1935969442129135,
-0.06368318200111389,
0.34578827023506165,
-0.0070358142256736755,
-0.46479782462120056,
0.12557362020015717,
0.1308053433895111,
-0.13825634121894836,
0.11336518079042435,
-0.055977582931518555,
0.111988365650177,
-0.4551924467086792,
0.05699370801448822,
-0.22227291762828827,
0.03147398307919502,
-0.02665073797106743,
0.11438572406768799,
-0.5348888635635376,
-0.1803756058216095,
-0.3552742004394531,
-0.18905018270015717,
-0.03296145424246788,
-0.09870293736457825,
0.12473244965076447,
-0.01284116506576538,
0.04954572021961212,
-0.3703850209712982,
-0.014794886112213135,
0.10285825282335281,
-0.0002787560224533081,
-0.17538027465343475,
0.3036113977432251,
0.034808799624443054,
0.301058828830719,
0.10188634693622589,
0.40185925364494324,
0.40710142254829407,
0.20543032884597778,
-0.023555316030979156,
-0.1888955682516098,
0.12104794383049011,
-0.220444917678833,
-0.09503398090600967,
-0.06728048622608185,
-0.18830493092536926,
0.301162451505661,
0.30613550543785095,
0.0546702966094017,
-0.025266889482736588,
-0.04135032370686531,
0.001752801239490509,
0.07138283550739288,
-0.3479049503803253,
0.2195589542388916,
-0.10262681543827057,
-0.16859954595565796,
-0.047658614814281464,
-0.44364413619041443,
-0.2664298415184021,
0.03106052428483963,
0.5870864987373352,
-0.1922164112329483,
0.03215409815311432,
0.019056033343076706,
0.05671768635511398,
0.029966261237859726,
0.29201218485832214,
0.19975288212299347,
-0.05522914230823517,
-0.2889939546585083,
-0.2313532829284668,
-0.3644685447216034,
0.1729620099067688,
-0.03953010216355324,
-0.13019701838493347,
0.10657846927642822,
0.1619586944580078,
0.043153028935194016,
0.10077787190675735,
0.4248698949813843,
0.2730637490749359,
0.12175632268190384,
0.5993208885192871,
-0.07009211927652359,
-0.3475515842437744,
0.18951871991157532,
0.14314943552017212,
-0.0811687633395195,
-0.2525375187397003,
0.36369383335113525,
0.1658683717250824,
-0.07330773770809174,
0.055854931473731995,
0.07840563356876373,
0.09969907999038696,
-0.9186767339706421,
0.42647796869277954,
0.3068704903125763,
0.3709183633327484,
-0.041489794850349426,
-0.0077498480677604675,
-0.07158946990966797,
-0.21717478334903717,
-0.07852783799171448,
0.4816461503505707,
0.30415478348731995,
0.13610272109508514,
0.00014922954142093658,
-0.16104450821876526,
-0.20676784217357635,
0.1754036545753479,
0.028640195727348328,
0.3782232701778412,
-0.2079056203365326,
0.19186584651470184,
-0.2456880509853363,
0.07762452214956284,
-0.039753008633852005,
0.12823905050754547,
0.09151767939329147,
0.33664679527282715,
-0.15833532810211182,
-0.4969348907470703,
0.44476908445358276,
-0.24289649724960327,
-0.17871692776679993,
-0.02583884447813034,
0.22474101185798645,
0.1105385348200798,
-0.12726914882659912,
-0.1409183144569397,
0.047303058207035065,
0.48668259382247925,
-0.18533265590667725,
-0.1205679178237915,
0.09308253228664398,
-0.15704961121082306,
-0.1520290970802307,
-0.12147986888885498,
0.6051677465438843,
0.27996155619621277,
-0.17451651394367218,
0.2114671766757965,
-0.1711733192205429
] |
https://github.com/huggingface/datasets/issues/4680 | Dataset Viewer issue for codeparrot/xlcost-text-to-code | Thanks I found that this subset wasn't properly defined the the config, I fixed it. Now I can see the subsets but I get this error for the viewer
````
Status code: 400
Exception: Status400Error
Message: The split cache is empty.
``` | ### Link
https://huggingface.co/datasets/codeparrot/xlcost-text-to-code
### Description
Error
```
Server Error
Status code: 400
Exception: TypeError
Message: 'NoneType' object is not iterable
```
Before I did a minor change in the dataset script (removing some comments), the viewer was working but not properely, it wasn't showing the dataset subsets. But the data can be loaded successfully.
Thanks!
### Owner
Yes | 42 | Dataset Viewer issue for codeparrot/xlcost-text-to-code
### Link
https://huggingface.co/datasets/codeparrot/xlcost-text-to-code
### Description
Error
```
Server Error
Status code: 400
Exception: TypeError
Message: 'NoneType' object is not iterable
```
Before I did a minor change in the dataset script (removing some comments), the viewer was working but not properely, it wasn't showing the dataset subsets. But the data can be loaded successfully.
Thanks!
### Owner
Yes
Thanks I found that this subset wasn't properly defined the the config, I fixed it. Now I can see the subsets but I get this error for the viewer
````
Status code: 400
Exception: Status400Error
Message: The split cache is empty.
``` | [
-0.5108540654182434,
-0.07097992300987244,
0.0017940029501914978,
0.4378114342689514,
0.1774371713399887,
0.10196619480848312,
0.056353867053985596,
0.5365214943885803,
-0.09812162816524506,
0.003665253520011902,
-0.23944054543972015,
0.20734556019306183,
0.05680491775274277,
0.4653528332710266,
0.2300201952457428,
0.0350530706346035,
-0.3197145462036133,
0.3741043210029602,
-0.44479361176490784,
0.03445880860090256,
-0.2104283571243286,
0.23498643934726715,
-0.34599459171295166,
-0.11386163532733917,
-0.09395477920770645,
-0.1422400176525116,
-0.016899142414331436,
0.11276145279407501,
-0.16054171323776245,
-0.5688109397888184,
0.3955878019332886,
0.2955075800418854,
0.2149469405412674,
0.5019448399543762,
-0.0001243221340700984,
0.06825007498264313,
0.32334667444229126,
-0.1729394644498825,
-0.34633588790893555,
0.05744827538728714,
-0.4379346966743469,
-0.1730327606201172,
0.3222214877605438,
-0.2587580680847168,
-0.25079116225242615,
-0.00942630972713232,
0.09176997095346451,
-0.5111383199691772,
0.4891608953475952,
0.27872684597969055,
0.11166097223758698,
0.31462663412094116,
0.19901151955127716,
0.048389267176389694,
-0.08585131913423538,
0.0653698667883873,
-0.3514980375766754,
0.2459687739610672,
0.3181281089782715,
0.29171913862228394,
-0.15804335474967957,
0.186250239610672,
0.012673115357756615,
0.20575417578220367,
0.06828217953443527,
-0.139627143740654,
-0.21132856607437134,
-0.3805221915245056,
0.2622261941432953,
0.282492071390152,
0.8300245404243469,
-0.4659186899662018,
-0.14783206582069397,
-0.19338104128837585,
-0.2846704125404358,
-0.5570987462997437,
0.1458786427974701,
0.19595976173877716,
0.06748689711093903,
0.37309154868125916,
-0.5009890794754028,
-0.011800617910921574,
-0.20230701565742493,
-0.019714057445526123,
-0.24761436879634857,
-0.19189539551734924,
-0.30962327122688293,
0.10681861639022827,
0.05395360663533211,
0.11260659992694855,
0.5321437120437622,
-0.2260364443063736,
-0.11940431594848633,
0.12878260016441345,
-0.4520784616470337,
-0.20359867811203003,
0.049520861357450485,
0.1728278249502182,
-0.04428044706583023,
0.09104840457439423,
0.026124829426407814,
0.26979392766952515,
0.0642133504152298,
0.054331205785274506,
0.39471518993377686,
0.09125997126102448,
0.5331443548202515,
0.21233604848384857,
0.159388467669487,
-0.05702364817261696,
0.15465177595615387,
0.03957027941942215,
-0.08635047823190689,
-0.098714679479599,
-0.1920841634273529,
0.04216891527175903,
0.4174853563308716,
-0.21786609292030334,
-0.3852577209472656,
0.10117780417203903,
0.14591434597969055,
-0.13898485898971558,
0.2630694508552551,
0.30219462513923645,
0.21940915286540985,
0.11779552698135376,
0.14002037048339844,
-0.040686316788196564,
-0.348530650138855,
-0.5942978858947754,
-0.12066533416509628,
0.00023658759891986847,
-0.0742281824350357,
-0.013189006596803665,
0.21039961278438568,
-0.2717927396297455,
-0.11501064151525497,
-0.0690496414899826,
0.16121919453144073,
-0.1938634067773819,
-0.08326251059770584,
-0.18270044028759003,
-0.08940751105546951,
0.10807885229587555,
0.3300950527191162,
0.08013976365327835,
0.23077911138534546,
-0.29566556215286255,
-0.007812246680259705,
0.21384108066558838,
-0.22427180409431458,
-0.27178719639778137,
0.10158850997686386,
0.06075330078601837,
-0.4611085057258606,
0.10427409410476685,
-0.23015254735946655,
0.11167824268341064,
0.2788673937320709,
-0.2126147449016571,
-0.2238139808177948,
-0.1439155787229538,
-0.19862408936023712,
-0.02069312147796154,
0.11628531664609909,
0.8789020776748657,
-0.7621438503265381,
-0.05078655481338501,
-0.0852530375123024,
-0.11691859364509583,
0.07585465908050537,
0.05556236207485199,
0.01560226734727621,
-0.0037539005279541016,
-0.5154747366905212,
0.06406596302986145,
0.5052400231361389,
-0.13731808960437775,
-0.395807147026062,
0.5670105218887329,
0.007097035646438599,
-0.07537416368722916,
0.19331949949264526,
-0.19816994667053223,
0.4170364737510681,
-0.3367757797241211,
-0.08884857594966888,
-0.33797311782836914,
-0.06412948668003082,
-0.052079543471336365,
-0.40373146533966064,
0.046923764050006866,
0.10114837437868118,
0.14397145807743073,
0.20557165145874023,
0.24002116918563843,
0.10804056376218796,
-0.2674853205680847,
0.3571391999721527,
-0.04301537200808525,
0.5131234526634216,
0.25015556812286377,
0.16355712711811066,
0.13668635487556458,
0.28145426511764526,
-0.2531009614467621,
-0.343029260635376,
0.11719032377004623,
-0.05420131981372833,
-0.26225000619888306,
0.20184661448001862,
-0.07139191031455994,
-0.3517123758792877,
-0.10670946538448334,
-0.3468295931816101,
0.08449172973632812,
0.05793871730566025,
0.10083454847335815,
-0.014145873486995697,
-0.08886349946260452,
-0.33147433400154114,
0.4864481985569,
-0.03577708080410957,
0.06535795331001282,
-0.38403552770614624,
0.36747634410858154,
0.06262002140283585,
-0.15186552703380585,
0.11070281267166138,
0.28317373991012573,
0.27401795983314514,
-0.39221176505088806,
-0.104453444480896,
0.43505343794822693,
0.13288745284080505,
-0.05779695510864258,
0.04615259915590286,
-0.32348787784576416,
0.2768845558166504,
-0.5571091175079346,
0.018467143177986145,
-0.07043087482452393,
0.2167399823665619,
0.06471709161996841,
-0.2386334240436554,
0.21920132637023926,
-0.003131382167339325,
0.23967275023460388,
-0.008087996393442154,
0.24404877424240112,
0.008651120588183403,
-0.18511201441287994,
-0.13402391970157623,
-0.18329069018363953,
0.3376666009426117,
-0.05955912545323372,
0.4790019989013672,
-0.07085132598876953,
-0.010701853781938553,
0.23124411702156067,
0.24625518918037415,
-0.07327130436897278,
0.0736454650759697,
0.07318422198295593,
-0.31625038385391235,
0.006779957562685013,
-0.1464487761259079,
0.26083916425704956,
0.2604350447654724,
0.09640083461999893,
-0.1680029034614563,
-0.09929809719324112,
0.2072068303823471,
-0.03422296792268753,
0.1345282942056656,
0.11805172264575958,
-0.21606822311878204,
0.01941739395260811,
-0.134064719080925,
-0.26355117559432983,
-0.2614072859287262,
0.018825504928827286,
0.22157767415046692,
0.24898359179496765,
-0.4526650011539459,
-0.02807452529668808,
-0.43573084473609924,
-0.11889994144439697,
-0.11110200732946396,
0.2513582110404968,
0.16594728827476501,
-0.253980815410614,
-0.12299446761608124,
0.19379450380802155,
0.03206954523921013,
0.09267139434814453,
-0.17876358330249786,
0.19499990344047546,
-0.08584421128034592,
0.06376153975725174,
-0.14573734998703003,
-0.15329323709011078,
-0.2775357961654663,
0.0004997514188289642,
0.3495042324066162,
-0.1924077868461609,
0.24320034682750702,
-0.37587055563926697,
0.01878351718187332,
-0.17631909251213074,
-0.08983748406171799,
0.29927438497543335,
-0.18179459869861603,
0.18734443187713623,
0.02784690260887146,
0.14926081895828247,
0.01446443423628807,
0.1941537708044052,
0.14493787288665771,
-0.03293421491980553,
-0.11678066849708557,
0.20124106109142303,
-0.01666899584233761,
-0.1976746767759323,
-0.004863683134317398,
-0.23484766483306885,
-0.19813108444213867,
-0.38198554515838623,
0.16805438697338104,
0.0316271148622036,
0.16645915806293488,
-0.21757490932941437,
-0.054703231900930405,
-0.05438634380698204,
0.253388911485672,
-0.28802481293678284,
-0.1752292662858963,
-0.17240433394908905,
0.4318889379501343,
-0.34161460399627686,
-0.3835236132144928,
0.2947920262813568,
0.1717522293329239,
0.42760995030403137,
-0.17972178757190704,
-0.3755555748939514,
0.14872902631759644,
-0.11301735043525696,
-0.06149806082248688,
0.1400282233953476,
-0.18998540937900543,
0.37661120295524597,
0.12546871602535248,
0.11836661398410797,
-0.14730949699878693,
-0.33055010437965393,
-0.032074712216854095,
-0.081690713763237,
0.023022301495075226,
0.032525792717933655,
0.21481555700302124,
0.06674930453300476,
0.14641869068145752,
0.42290645837783813,
0.22849854826927185,
0.351121723651886,
-0.060907602310180664,
0.28941065073013306,
-0.05296150594949722,
-0.3658232092857361,
0.21312767267227173,
-0.1937313973903656,
0.03468150272965431,
0.13610957562923431,
-0.060877397656440735,
-0.0935724750161171,
-0.2813408076763153,
0.16231855750083923,
-0.4623682498931885,
-0.22992394864559174,
0.017086775973439217,
-0.05669495463371277,
0.2612300217151642,
0.0857636034488678,
0.06469855457544327,
-0.08156619966030121,
-0.06600223481655121,
-0.321958988904953,
0.2933804988861084,
0.2544790804386139,
-0.09188508242368698,
-0.3998621106147766,
-0.10271646827459335,
-0.11757146567106247,
0.4358169436454773,
-0.09299875795841217,
0.1659848541021347,
-0.1647433340549469,
0.0930372104048729,
0.24508051574230194,
0.01708141155540943,
0.6819617748260498,
0.10038040578365326,
0.1858406811952591,
0.32667604088783264,
-0.2229517549276352,
-0.47018662095069885,
0.04464992508292198,
0.008846145123243332,
0.21562401950359344,
0.12986570596694946,
-0.33619990944862366,
-0.3442349135875702,
-0.14894269406795502,
0.4407535195350647,
-0.1436900496482849,
-0.2505110502243042,
-0.15640488266944885,
0.04612451419234276,
-0.13516367971897125,
-0.16287946701049805,
-0.057890765368938446,
0.0351804718375206,
0.1161092147231102,
-0.24801132082939148,
-0.09606938064098358,
-0.030198046937584877,
-0.5322985053062439,
0.3115137219429016,
0.13538053631782532,
0.45194530487060547,
-0.20681309700012207,
0.33548611402511597,
0.2223636358976364,
0.04249744862318039,
0.5948240160942078,
0.3220776915550232,
0.20748884975910187,
-0.33580827713012695,
0.6335542798042297,
-0.07948606461286545,
0.04349140822887421,
0.1917020082473755,
-0.19548256695270538,
-0.08632192760705948,
0.04584434628486633,
0.2702922224998474,
-0.1692849099636078,
-0.2626741826534271,
0.18291303515434265,
-0.1676488220691681,
-0.5697430372238159,
-0.4785500764846802,
0.37785041332244873,
-0.11344090104103088,
0.07159151136875153,
-0.06127050518989563,
-0.041355133056640625,
-0.10015515983104706,
-0.021971020847558975,
-0.15695953369140625,
0.7540642023086548,
0.0908767431974411,
-0.2716335952281952,
0.22585588693618774,
-0.2905415892601013,
0.34525448083877563,
-0.5581851005554199,
0.1932581216096878,
-0.3024193048477173,
0.0024251313880085945,
-0.18912523984909058,
-0.06344658881425858,
0.28696900606155396,
0.03659282624721527,
-0.454710453748703,
0.19281043112277985,
-0.08185829222202301,
-0.06870517134666443,
0.00826462171971798,
-0.013047255575656891,
-0.263995885848999,
0.039481647312641144,
0.020431874319911003,
0.06598100811243057,
-0.15744628012180328,
0.22068169713020325,
0.017705844715237617,
-0.3234221339225769,
-0.02825264260172844,
-0.06286095082759857,
-0.4450501799583435,
0.078182153403759,
0.04087265580892563,
-0.2000119388103485,
-0.06943519413471222,
-0.5285740494728088,
0.5055294632911682,
0.24482817947864532,
0.31014853715896606,
0.13186417520046234,
-0.36217984557151794,
0.2554231882095337,
-0.05968732386827469,
0.015057727694511414,
-0.11824443191289902,
0.14107422530651093,
-0.10152590274810791,
0.12047567218542099,
-0.13001343607902527,
0.02698153629899025,
-0.04331580922007561,
0.0047718845307827,
0.1588364839553833,
0.2964751124382019,
0.17594753205776215,
-0.6131201982498169,
0.07995612919330597,
0.08781659603118896,
0.1282506138086319,
-0.28749826550483704,
0.07084798812866211,
0.12448427081108093,
-0.15048108994960785,
0.13614335656166077,
-0.0826132744550705,
-0.17235690355300903,
0.02035728469491005,
0.3006688952445984,
0.25928232073783875,
0.0601399689912796,
0.4107019305229187,
0.24949409067630768,
-0.13013067841529846,
-0.2148134410381317,
0.17180249094963074,
0.342887282371521,
-0.6837676167488098,
0.29838240146636963,
0.007817473262548447,
0.21261028945446014,
0.09988491982221603,
0.12031985819339752,
-0.12198635935783386,
0.09382841736078262,
-0.31260257959365845,
-0.2645457088947296,
-0.036675795912742615,
-0.020856007933616638,
-0.10295911133289337,
0.22842448949813843,
0.15926551818847656,
0.591820240020752,
0.09796681255102158,
0.18806065618991852,
-0.21541237831115723,
0.14090822637081146,
-0.19572186470031738,
0.06354333460330963,
0.5929328203201294,
-0.04147031158208847,
-0.19173964858055115,
-0.19927212595939636,
-0.06226314604282379,
0.3542978763580322,
-0.2596416175365448,
-0.08160816133022308,
0.020416036248207092,
0.15769211947917938,
-0.1248006597161293,
-0.27568262815475464,
-0.16738049685955048,
0.08212462812662125,
-0.1782500445842743,
-0.10890574008226395,
0.032713018357753754,
-0.13079750537872314,
-0.0016740188002586365,
0.02881278470158577,
0.10622665286064148,
-0.2500227093696594,
-0.1144256740808487,
0.29198500514030457,
0.14634239673614502,
0.334002822637558,
-0.09234681725502014,
0.26924431324005127,
-0.015080849640071392,
-0.0017684996128082275,
0.1040511205792427,
0.23765647411346436,
0.11278712004423141,
0.05483884736895561,
0.32764700055122375,
-0.5357259511947632,
0.19931283593177795,
0.09683793038129807,
0.295657217502594,
0.45146745443344116,
-0.08189920336008072,
0.04625041037797928,
-0.04292704537510872,
0.042212940752506256,
-0.1898663192987442,
-0.04157593101263046,
0.4172585904598236,
0.24292732775211334,
0.1786838322877884,
0.16471576690673828,
0.043230269104242325,
0.0662059634923935,
0.391937792301178,
0.10033250600099564,
0.8165298104286194,
-0.015644840896129608,
0.3595693111419678,
0.409488707780838,
-0.05589153990149498,
0.1032821536064148,
0.09178626537322998,
0.23462213575839996,
0.03484136611223221,
0.47699135541915894,
-0.2097550928592682,
0.020072724670171738,
-0.016284603625535965,
0.42714723944664,
-0.1487501561641693,
-0.49756351113319397,
0.11813598871231079,
0.08755628764629364,
-0.19549787044525146,
0.14469653367996216,
-0.10836796462535858,
0.034346144646406174,
-0.3120496869087219,
-0.07988094538450241,
-0.26606833934783936,
0.008459672331809998,
0.014722397550940514,
0.16849032044410706,
-0.5086125135421753,
-0.20758481323719025,
-0.13236014544963837,
-0.10187256336212158,
-0.07156185805797577,
-0.07359309494495392,
0.12826380133628845,
-0.12455196678638458,
-0.0005168169736862183,
-0.23435281217098236,
-0.15106308460235596,
0.18048277497291565,
0.02312231808900833,
-0.07267454266548157,
0.5038062930107117,
0.0019698068499565125,
0.0789002850651741,
0.1066066324710846,
0.5432429909706116,
0.2716047465801239,
0.09233817458152771,
0.17717432975769043,
-0.1562494933605194,
0.16322055459022522,
-0.2337181270122528,
-0.13733363151550293,
0.1576099544763565,
-0.08058683574199677,
0.22031350433826447,
0.13508391380310059,
0.044771708548069,
0.005179104395210743,
0.06686225533485413,
-0.07318083941936493,
0.050229139626026154,
-0.3423958122730255,
-0.019574329257011414,
-0.06889007985591888,
-0.24894455075263977,
-0.04152807593345642,
-0.4802826941013336,
-0.27337127923965454,
0.037354726344347,
0.4710886478424072,
-0.2504855692386627,
0.024511829018592834,
0.00540757505223155,
0.01682811975479126,
0.14095212519168854,
0.3402698040008545,
0.16273285448551178,
-0.1728207767009735,
-0.3428618311882019,
-0.3551052212715149,
-0.3623858094215393,
0.19529789686203003,
-0.10551942884922028,
-0.13374356925487518,
0.00911590363830328,
0.13937829434871674,
0.10066917538642883,
0.12763527035713196,
0.4180524945259094,
0.3315233588218689,
0.23993077874183655,
0.5093130469322205,
-0.11914794147014618,
-0.23570360243320465,
0.3033689260482788,
0.2539975643157959,
-0.03896231949329376,
-0.16381236910820007,
0.3880578279495239,
0.4461670517921448,
-0.07918412983417511,
0.03020130842924118,
0.1998651623725891,
0.05281634256243706,
-0.9694970846176147,
0.1916872262954712,
0.22733275592327118,
0.4270687699317932,
0.030574314296245575,
0.2562702000141144,
-0.07926936447620392,
-0.12983456254005432,
-0.025814596563577652,
0.27114638686180115,
0.39775627851486206,
0.1770981401205063,
-0.07789593189954758,
-0.2838413417339325,
-0.14378763735294342,
0.23735879361629486,
0.049739591777324677,
0.49024951457977295,
-0.048757120966911316,
0.08304660022258759,
-0.230020672082901,
0.10387605428695679,
0.17590227723121643,
0.1486964076757431,
0.001678410917520523,
0.2268371880054474,
-0.14736643433570862,
-0.35648486018180847,
0.2923644185066223,
-0.25644105672836304,
-0.19096823036670685,
0.07083446532487869,
0.17241638898849487,
0.2544023394584656,
-0.18935257196426392,
-0.0603175088763237,
0.027287006378173828,
0.37918469309806824,
-0.254952996969223,
-0.06435087323188782,
0.2096787393093109,
-0.1821925789117813,
-0.04100789874792099,
-0.06336365640163422,
0.6076232194900513,
0.4225887656211853,
-0.15492241084575653,
0.11907967925071716,
-0.23156322538852692
] |
https://github.com/huggingface/datasets/issues/4680 | Dataset Viewer issue for codeparrot/xlcost-text-to-code | Yes, the cache is being refreshed, hopefully, it will work in some minutes for all the splits. Some are already here:
https://huggingface.co/datasets/codeparrot/xlcost-text-to-code/viewer/Python-snippet-level/train
<img width="1533" alt="Capture d’écran 2022-07-18 à 12 04 06" src="https://user-images.githubusercontent.com/1676121/179553933-64d874fa-ada9-4b82-900e-082619523c20.png">
| ### Link
https://huggingface.co/datasets/codeparrot/xlcost-text-to-code
### Description
Error
```
Server Error
Status code: 400
Exception: TypeError
Message: 'NoneType' object is not iterable
```
Before I did a minor change in the dataset script (removing some comments), the viewer was working but not properely, it wasn't showing the dataset subsets. But the data can be loaded successfully.
Thanks!
### Owner
Yes | 32 | Dataset Viewer issue for codeparrot/xlcost-text-to-code
### Link
https://huggingface.co/datasets/codeparrot/xlcost-text-to-code
### Description
Error
```
Server Error
Status code: 400
Exception: TypeError
Message: 'NoneType' object is not iterable
```
Before I did a minor change in the dataset script (removing some comments), the viewer was working but not properely, it wasn't showing the dataset subsets. But the data can be loaded successfully.
Thanks!
### Owner
Yes
Yes, the cache is being refreshed, hopefully, it will work in some minutes for all the splits. Some are already here:
https://huggingface.co/datasets/codeparrot/xlcost-text-to-code/viewer/Python-snippet-level/train
<img width="1533" alt="Capture d’écran 2022-07-18 à 12 04 06" src="https://user-images.githubusercontent.com/1676121/179553933-64d874fa-ada9-4b82-900e-082619523c20.png">
| [
-0.5043671131134033,
-0.02399926632642746,
0.015026353299617767,
0.4731103181838989,
0.24819675087928772,
0.05101998895406723,
0.08846494555473328,
0.6324098706245422,
-0.13009768724441528,
0.03693201392889023,
-0.22828495502471924,
0.2851558327674866,
-0.08848902583122253,
0.5497916340827942,
0.21795102953910828,
-0.0667882040143013,
-0.3166322410106659,
0.35119742155075073,
-0.43724581599235535,
0.00837533175945282,
-0.245188906788826,
0.20753759145736694,
-0.3505801558494568,
-0.12262684106826782,
-0.21337445080280304,
-0.07412013411521912,
-0.053609564900398254,
0.06698773801326752,
-0.18147584795951843,
-0.6306955814361572,
0.3243158161640167,
0.24949046969413757,
0.38937482237815857,
0.5718127489089966,
-0.00012336939107626677,
0.10682401061058044,
0.3011218309402466,
-0.11020254343748093,
-0.44268345832824707,
-0.02560003101825714,
-0.3228290379047394,
-0.20480787754058838,
0.3090214729309082,
-0.24867212772369385,
-0.25214749574661255,
-0.09692173451185226,
0.19810877740383148,
-0.3488882780075073,
0.5946743488311768,
0.3391977846622467,
0.1031918153166771,
0.35385969281196594,
0.1842421144247055,
0.054656144231557846,
-0.029958955943584442,
0.12867619097232819,
-0.3085951507091522,
0.2235896736383438,
0.29486551880836487,
0.2689480781555176,
-0.15028342604637146,
0.21495214104652405,
0.010368330404162407,
0.01929190382361412,
0.04070108383893967,
-0.14341530203819275,
-0.1730075180530548,
-0.40571752190589905,
0.23648935556411743,
0.3072796165943146,
0.6349806189537048,
-0.3838289678096771,
-0.1714930385351181,
-0.1979813575744629,
-0.24536076188087463,
-0.49936220049858093,
0.11558108031749725,
0.25690701603889465,
0.09741711616516113,
0.3184637725353241,
-0.5439108610153198,
0.10109962522983551,
-0.2782362401485443,
0.08358068764209747,
-0.29763972759246826,
-0.08302436769008636,
-0.2872186303138733,
0.09800180792808533,
0.1672992706298828,
0.11217296868562698,
0.503505527973175,
-0.1445886641740799,
0.02308996580541134,
0.13784153759479523,
-0.38597309589385986,
-0.19839687645435333,
-0.0016466975212097168,
0.023320544511079788,
-0.04735670983791351,
0.1382758617401123,
0.008383224718272686,
0.2397407591342926,
0.06289981305599213,
0.03368299454450607,
0.39553964138031006,
-0.03212548792362213,
0.418483167886734,
0.35813048481941223,
0.23432910442352295,
0.05962691083550453,
0.09216968715190887,
0.04408884793519974,
-0.22991643846035004,
-0.23521821200847626,
-0.28429433703422546,
0.056074634194374084,
0.40075361728668213,
-0.07317303121089935,
-0.36358484625816345,
0.016185425221920013,
-0.017075933516025543,
-0.03678431361913681,
0.26353415846824646,
0.22683942317962646,
0.27370429039001465,
0.14477133750915527,
0.16890451312065125,
0.07253802567720413,
-0.27197855710983276,
-0.5460954308509827,
-0.11507115513086319,
0.10005702078342438,
-0.13098247349262238,
-0.07955489307641983,
0.21735383570194244,
-0.24592536687850952,
-0.16340944170951843,
-0.0036340979859232903,
0.12800024449825287,
-0.23300157487392426,
-0.11872927844524384,
-0.19287768006324768,
-0.1254003643989563,
0.10489001870155334,
0.29836902022361755,
0.0708702802658081,
0.23103497922420502,
-0.362687349319458,
-0.03999461233615875,
0.19649985432624817,
-0.2483012080192566,
-0.23167528212070465,
0.11613142490386963,
0.060153212398290634,
-0.36949974298477173,
-0.02000412344932556,
-0.21591022610664368,
0.11172553896903992,
0.21449904143810272,
-0.12949880957603455,
-0.12995809316635132,
-0.22987274825572968,
-0.1579795777797699,
-0.010279042646288872,
0.16342857480049133,
0.8099372386932373,
-0.6557507514953613,
-0.08450377732515335,
-0.06257271766662598,
-0.10172046720981598,
0.2032134234905243,
0.07571631669998169,
0.04406708851456642,
-0.034671351313591,
-0.5226304531097412,
0.08245581388473511,
0.4742995798587799,
-0.17784292995929718,
-0.3273613750934601,
0.5921767950057983,
0.007830649614334106,
-0.03396843373775482,
0.14673690497875214,
-0.10238219052553177,
0.3409351408481598,
-0.247879296541214,
-0.10730844736099243,
-0.18530938029289246,
-0.03773922473192215,
-0.04054289311170578,
-0.33717039227485657,
0.020136380568146706,
0.14981991052627563,
0.27106860280036926,
0.2885027527809143,
0.2095106989145279,
0.00996328890323639,
-0.20223212242126465,
0.4398784637451172,
-0.09555819630622864,
0.3716450333595276,
0.13530287146568298,
0.21104101836681366,
0.21478429436683655,
0.22025111317634583,
-0.3254566788673401,
-0.24749824404716492,
0.11762050539255142,
0.002099372446537018,
-0.19067464768886566,
0.1230238527059555,
-0.010960249230265617,
-0.370047390460968,
-0.06722002476453781,
-0.4296253025531769,
-0.017186474055051804,
0.07793814688920975,
0.10733269155025482,
-0.08791002631187439,
0.00751003623008728,
-0.30927878618240356,
0.3850524127483368,
-0.12927082180976868,
0.1250573843717575,
-0.3565489649772644,
0.39596572518348694,
0.05657053738832474,
-0.13705846667289734,
0.16068018972873688,
0.24400341510772705,
0.25534477829933167,
-0.4337306022644043,
-0.05412791669368744,
0.45307737588882446,
0.20816487073898315,
-0.01899193972349167,
0.03309735655784607,
-0.31898659467697144,
0.30184412002563477,
-0.6548557877540588,
-0.0562828853726387,
-0.0023570097982883453,
0.13147325813770294,
0.10092423111200333,
-0.1182355061173439,
0.33413660526275635,
-0.07603424787521362,
0.26884493231773376,
0.06764324754476547,
0.35077977180480957,
-0.1025506779551506,
-0.196342334151268,
-0.25621744990348816,
-0.09133820235729218,
0.31028255820274353,
-0.023719139397144318,
0.5040241479873657,
-0.07461893558502197,
-0.0927732065320015,
0.06866323947906494,
0.3376304507255554,
-0.09376609325408936,
0.10524649918079376,
0.10266127437353134,
-0.3235362768173218,
0.10521780699491501,
-0.21911494433879852,
0.21216069161891937,
0.09316977113485336,
0.08235922455787659,
-0.1556324064731598,
-0.06457733362913132,
0.21702462434768677,
-0.038408610969781876,
0.15839913487434387,
0.1306837499141693,
-0.14113745093345642,
0.09279688447713852,
-0.030752716585993767,
-0.14280067384243011,
-0.37420496344566345,
-0.04778209701180458,
0.08325270563364029,
0.24841535091400146,
-0.3875260055065155,
0.09647908061742783,
-0.4742338955402374,
-0.1333915889263153,
-0.2137199193239212,
0.19852198660373688,
0.07001381367444992,
-0.23379892110824585,
-0.07311955094337463,
0.08724503219127655,
0.0054043978452682495,
0.2091558873653412,
-0.14480078220367432,
0.17212015390396118,
-0.07283701002597809,
0.10571571439504623,
-0.12001556158065796,
-0.07044974714517593,
-0.2601720988750458,
0.009225308895111084,
0.4404720962047577,
-0.24859745800495148,
0.3354909121990204,
-0.3891449570655823,
-0.016929812729358673,
-0.19705890119075775,
-0.20045962929725647,
0.2785877585411072,
-0.2013590782880783,
0.1425604224205017,
0.11894822865724564,
0.1344224512577057,
-0.02285139635205269,
0.1330164223909378,
0.2359846532344818,
-0.13128602504730225,
-0.07141907513141632,
0.26661768555641174,
-0.08512218296527863,
-0.12499041855335236,
0.021379053592681885,
-0.19728925824165344,
-0.25253915786743164,
-0.3804570436477661,
0.25013870000839233,
0.07304137945175171,
0.21122011542320251,
-0.1282903254032135,
0.03649590536952019,
0.04271381348371506,
0.27287134528160095,
-0.24638620018959045,
-0.07996802777051926,
-0.08979219198226929,
0.4315578043460846,
-0.28608179092407227,
-0.4426007568836212,
0.19930091500282288,
0.11693345010280609,
0.3039470613002777,
-0.11787901818752289,
-0.4672534465789795,
0.07218684256076813,
-0.14779669046401978,
-0.1069503128528595,
0.12641647458076477,
-0.15170177817344666,
0.25840067863464355,
0.07900296151638031,
0.08559908717870712,
-0.1404726207256317,
-0.1849312037229538,
-0.07894598692655563,
-0.06551211327314377,
-0.03437396138906479,
0.02542397566139698,
0.2707356810569763,
0.16026465594768524,
0.18652182817459106,
0.6447641849517822,
0.19851325452327728,
0.3069606125354767,
-0.20989090204238892,
0.2125641405582428,
-0.03146393597126007,
-0.4216170608997345,
0.1338326781988144,
-0.24655258655548096,
-0.003849310800433159,
0.09878742694854736,
-0.1085660308599472,
-0.06769801676273346,
-0.29455602169036865,
0.2413150668144226,
-0.4505481421947479,
-0.25669893622398376,
0.04108520224690437,
-0.009467914700508118,
0.25967293977737427,
-0.042717091739177704,
0.14835858345031738,
-0.01976875402033329,
-0.015386183746159077,
-0.26514121890068054,
0.3340747356414795,
0.22260266542434692,
-0.1153687834739685,
-0.41784703731536865,
-0.2905827462673187,
-0.12372703105211258,
0.3973918557167053,
-0.11554501205682755,
0.20134679973125458,
-0.05677308514714241,
-0.01067367009818554,
0.254661500453949,
-0.07787644118070602,
0.7943329215049744,
0.12245381623506546,
0.15361343324184418,
0.2917402386665344,
-0.34019243717193604,
-0.4852169156074524,
0.0683707594871521,
-0.07365286350250244,
0.16286668181419373,
0.18596138060092926,
-0.25528696179389954,
-0.2681114375591278,
-0.17825467884540558,
0.5719833374023438,
-0.17104536294937134,
-0.1680511087179184,
-0.09333869814872742,
-0.02529076114296913,
-0.13975679874420166,
-0.22524207830429077,
-0.11510425060987473,
0.08723091334104538,
0.14167138934135437,
-0.3241935670375824,
-0.17621628940105438,
-0.0411294549703598,
-0.5177048444747925,
0.3164418041706085,
0.07524886727333069,
0.3799304664134979,
-0.11302211880683899,
0.3136928379535675,
0.27688777446746826,
0.04795234650373459,
0.6084950566291809,
0.3843822181224823,
0.12818506360054016,
-0.4285263419151306,
0.6004869341850281,
-0.003864864818751812,
0.13158242404460907,
0.3826327919960022,
-0.23090137541294098,
-0.2167193591594696,
0.12893514335155487,
0.2917737364768982,
-0.2385580837726593,
-0.21101637184619904,
0.3487131893634796,
-0.1950630247592926,
-0.6039393544197083,
-0.5064511299133301,
0.478326678276062,
-0.019066067412495613,
0.17283637821674347,
-0.06754212826490402,
-0.0368124321103096,
-0.09863747656345367,
0.002438715659081936,
-0.21972790360450745,
0.7872142791748047,
0.0007934644818305969,
-0.14743420481681824,
0.28352653980255127,
-0.23803633451461792,
0.3147706687450409,
-0.40184253454208374,
0.21628572046756744,
-0.2989960014820099,
0.062042493373155594,
-0.21676599979400635,
-0.1301940232515335,
0.24899840354919434,
0.005276896059513092,
-0.4434552788734436,
0.08689228445291519,
-0.10841599851846695,
-0.07360966503620148,
-0.028188886120915413,
0.03983423858880997,
-0.4013136923313141,
0.15893806517124176,
-0.0997391790151596,
0.0584627240896225,
-0.07118482887744904,
0.2644331455230713,
0.05636981874704361,
-0.375275194644928,
-0.09322488307952881,
-0.1287599802017212,
-0.4874064326286316,
0.06340397149324417,
0.018711788579821587,
-0.06346049904823303,
-0.07158191502094269,
-0.5726959109306335,
0.4591825604438782,
0.28108733892440796,
0.28895479440689087,
0.02222970873117447,
-0.33473214507102966,
0.24304413795471191,
-0.029003985226154327,
-0.03746321424841881,
-0.11780770123004913,
0.17924781143665314,
-0.07842855900526047,
0.13382798433303833,
-0.04592042416334152,
0.03554990142583847,
0.08903653174638748,
-0.036143459379673004,
0.1265212893486023,
0.24641413986682892,
0.1623837649822235,
-0.5682900547981262,
0.13693302869796753,
0.008913643658161163,
0.0491502620279789,
-0.37813520431518555,
0.0850052684545517,
-0.002737298607826233,
-0.0735868513584137,
0.05845217406749725,
-0.0017817579209804535,
-0.17586979269981384,
0.01932699605822563,
0.2955363690853119,
0.2197980284690857,
0.23183298110961914,
0.5293084383010864,
0.41163885593414307,
-0.15441063046455383,
-0.23821935057640076,
0.285652220249176,
0.3431358337402344,
-0.7418354749679565,
0.4028773903846741,
-0.05780060216784477,
0.26519155502319336,
0.07401558756828308,
0.18347670137882233,
-0.11971507966518402,
-0.05105157941579819,
-0.25301915407180786,
-0.28895607590675354,
0.006415115669369698,
0.05927686393260956,
0.005283500999212265,
0.2977198660373688,
-0.03499731421470642,
0.7119079828262329,
0.03183523565530777,
0.11244235932826996,
-0.2203664481639862,
0.19692249596118927,
-0.1717301309108734,
0.0032451916486024857,
0.4241987466812134,
-0.07343165576457977,
-0.16863766312599182,
-0.0866435170173645,
-0.01960136741399765,
0.33517545461654663,
-0.23695960640907288,
-0.09214616566896439,
-0.03505188971757889,
0.15620797872543335,
-0.02680128440260887,
-0.31683647632598877,
-0.08878371864557266,
0.07447677850723267,
-0.2933277189731598,
-0.09068867564201355,
-0.0004630349576473236,
-0.13661745190620422,
-0.021122105419635773,
0.1593172401189804,
-0.005020279437303543,
-0.1975359320640564,
0.07534170895814896,
0.2119365930557251,
0.0903720110654831,
0.41170525550842285,
-0.002821682021021843,
0.23505516350269318,
0.09683455526828766,
0.0520186722278595,
0.01458061020821333,
0.21802741289138794,
0.1629626452922821,
0.07641364634037018,
0.27081942558288574,
-0.5766358375549316,
0.16423732042312622,
0.07912489026784897,
0.33869460225105286,
0.6335228681564331,
-0.22121766209602356,
0.0467570424079895,
-0.03969516232609749,
0.0566224604845047,
-0.2251850962638855,
0.04107368737459183,
0.3437609076499939,
0.09798215329647064,
0.12765319645404816,
0.12369687855243683,
-0.055209122598171234,
0.1678871512413025,
0.2104174643754959,
0.13786324858665466,
0.6600916385650635,
0.0011090952903032303,
0.4267045259475708,
0.5079295635223389,
-0.06069421395659447,
0.04056302830576897,
-0.054795876145362854,
0.29560890793800354,
0.03356989473104477,
0.4249575138092041,
-0.2736210227012634,
-0.013684922829270363,
-0.22412627935409546,
0.4060487449169159,
-0.01082775741815567,
-0.3632923662662506,
0.04146484658122063,
0.1604824662208557,
-0.26514914631843567,
0.12080828845500946,
-0.13206487894058228,
0.20316332578659058,
-0.3720901310443878,
0.01904674991965294,
-0.3392169177532196,
0.05229191854596138,
0.07945873588323593,
0.18530525267124176,
-0.49688586592674255,
-0.23907101154327393,
-0.3026179075241089,
-0.028143856674432755,
-0.07524549961090088,
-0.0759754478931427,
0.08738639950752258,
0.06562388688325882,
-0.022783927619457245,
-0.36576393246650696,
-0.13140055537223816,
0.11732926964759827,
0.14375391602516174,
-0.11437655985355377,
0.31797513365745544,
-0.013306133449077606,
0.13304460048675537,
0.13301017880439758,
0.5057497620582581,
0.3122621476650238,
0.13484209775924683,
0.011635914444923401,
-0.18116693198680878,
0.05481617897748947,
-0.1834826022386551,
-0.06261895596981049,
0.16774660348892212,
-0.009029969573020935,
0.15867236256599426,
0.20377624034881592,
0.013488205149769783,
-0.0030312025919556618,
-0.031253401190042496,
-0.0521453358232975,
0.008243665099143982,
-0.4136222004890442,
0.12200990319252014,
-0.1544700562953949,
-0.15692846477031708,
-0.02539338544011116,
-0.4802723228931427,
-0.2476254105567932,
-0.0011466927826404572,
0.3414068818092346,
-0.2909128963947296,
0.016731824725866318,
0.040415193885564804,
0.026055682450532913,
-0.0002589412033557892,
0.3757978677749634,
0.2059013843536377,
-0.07974470406770706,
-0.29113084077835083,
-0.38775306940078735,
-0.34841588139533997,
0.12780916690826416,
-0.12007302045822144,
-0.19077736139297485,
0.047648437321186066,
0.12412944436073303,
0.07265391945838928,
0.07587748765945435,
0.40263980627059937,
0.27582839131355286,
0.18484756350517273,
0.5818812847137451,
-0.06877434253692627,
-0.18719877302646637,
0.20813219249248505,
0.2651408612728119,
-0.13671281933784485,
-0.1630510687828064,
0.37943434715270996,
0.1890038698911667,
-0.08736774325370789,
0.07759204506874084,
0.18849989771842957,
0.0003913119435310364,
-0.8909403085708618,
0.33248645067214966,
0.19840694963932037,
0.4104593098163605,
-0.002793002873659134,
0.14147606492042542,
-0.11107775568962097,
-0.24306832253932953,
-0.07172998040914536,
0.34888017177581787,
0.3367248773574829,
0.17626069486141205,
-0.03453587740659714,
-0.33147957921028137,
-0.19776982069015503,
0.2247779369354248,
0.07451251894235611,
0.3163548707962036,
-0.10520034283399582,
0.01185610145330429,
-0.1558772623538971,
0.12602244317531586,
0.11012148857116699,
0.26349419355392456,
-0.004789363592863083,
0.16380248963832855,
-0.19878441095352173,
-0.4663359224796295,
0.3464962840080261,
-0.36091047525405884,
-0.224405899643898,
0.014815361239016056,
0.123408742249012,
0.2134297788143158,
-0.028790639713406563,
-0.0983235090970993,
0.062013931572437286,
0.35738930106163025,
-0.18611523509025574,
-0.0883794054389,
0.32092222571372986,
-0.03819279745221138,
-0.12355659902095795,
-0.02247033081948757,
0.611508846282959,
0.3814683258533478,
-0.16202209889888763,
0.17695418000221252,
-0.24707528948783875
] |
https://github.com/huggingface/datasets/issues/4678 | Cant pass streaming dataset to dataloader after take() | Hi! Calling `take` on an iterable/streamable dataset makes it not possible to shard the dataset, which in turn disables multi-process loading (attempts to split the workload over the shards), so to go past this limitation, you can either use single-process loading in `DataLoader` (`num_workers=None`) or fetch the first `50_000/batch_size` batches in the loop. | ## Describe the bug
I am trying to pass a streaming version of c4 to a dataloader, but it can't be passed after I call `dataset.take(n)`. Some functions such as `shuffle()` can be applied without breaking the dataloader but not take.
## Steps to reproduce the bug
```python
import datasets
import torch
dset = datasets.load_dataset(path='c4', name='en', split="train", streaming=True)
dset = dset.take(50_000)
dset = dset.with_format("torch")
num_workers = 8
batch_size = 512
loader = torch.utils.data.DataLoader(dataset=dset,
batch_size=batch_size,
num_workers=num_workers)
for batch in loader:
...
```
## Expected results
No error thrown when iterating over the dataloader
## Actual results
Original Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/torch/utils/data/_utils/worker.py", line 287, in _worker_loop
data = fetcher.fetch(index)
File "/usr/local/lib/python3.9/dist-packages/torch/utils/data/_utils/fetch.py", line 32, in fetch
data.append(next(self.dataset_iter))
File "/root/.local/lib/python3.9/site-packages/datasets/formatting/dataset_wrappers/torch_iterable_dataset.py", line 48, in __iter__
for key, example in self._iter_shard(shard_idx):
File "/root/.local/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 586, in _iter_shard
yield from ex_iterable.shard_data_sources(shard_idx)
File "/root/.local/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 60, in shard_data_sources
raise NotImplementedError(f"{type(self)} doesn't implement shard_data_sources yet")
NotImplementedError: <class 'datasets.iterable_dataset.TakeExamplesIterable'> doesn't implement shard_data_sources yet
## Environment info
- `datasets` version: 2.3.2
- Platform: Linux-5.4.0-120-generic-x86_64-with-glibc2.31
- Python version: 3.9.13
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
| 53 | Cant pass streaming dataset to dataloader after take()
## Describe the bug
I am trying to pass a streaming version of c4 to a dataloader, but it can't be passed after I call `dataset.take(n)`. Some functions such as `shuffle()` can be applied without breaking the dataloader but not take.
## Steps to reproduce the bug
```python
import datasets
import torch
dset = datasets.load_dataset(path='c4', name='en', split="train", streaming=True)
dset = dset.take(50_000)
dset = dset.with_format("torch")
num_workers = 8
batch_size = 512
loader = torch.utils.data.DataLoader(dataset=dset,
batch_size=batch_size,
num_workers=num_workers)
for batch in loader:
...
```
## Expected results
No error thrown when iterating over the dataloader
## Actual results
Original Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/torch/utils/data/_utils/worker.py", line 287, in _worker_loop
data = fetcher.fetch(index)
File "/usr/local/lib/python3.9/dist-packages/torch/utils/data/_utils/fetch.py", line 32, in fetch
data.append(next(self.dataset_iter))
File "/root/.local/lib/python3.9/site-packages/datasets/formatting/dataset_wrappers/torch_iterable_dataset.py", line 48, in __iter__
for key, example in self._iter_shard(shard_idx):
File "/root/.local/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 586, in _iter_shard
yield from ex_iterable.shard_data_sources(shard_idx)
File "/root/.local/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 60, in shard_data_sources
raise NotImplementedError(f"{type(self)} doesn't implement shard_data_sources yet")
NotImplementedError: <class 'datasets.iterable_dataset.TakeExamplesIterable'> doesn't implement shard_data_sources yet
## Environment info
- `datasets` version: 2.3.2
- Platform: Linux-5.4.0-120-generic-x86_64-with-glibc2.31
- Python version: 3.9.13
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
Hi! Calling `take` on an iterable/streamable dataset makes it not possible to shard the dataset, which in turn disables multi-process loading (attempts to split the workload over the shards), so to go past this limitation, you can either use single-process loading in `DataLoader` (`num_workers=None`) or fetch the first `50_000/batch_size` batches in the loop. | [
-0.30555927753448486,
-0.06311474740505219,
0.04665457084774971,
0.2632511258125305,
0.2107747346162796,
-0.21016481518745422,
0.31051620841026306,
0.056531086564064026,
0.011078555136919022,
0.18856343626976013,
0.09815359115600586,
0.2803322374820709,
-0.21256865561008453,
0.14899250864982605,
0.02071317285299301,
-0.11086854338645935,
0.007169641554355621,
-0.0986110270023346,
-0.1785978078842163,
-0.00148874893784523,
-0.07694917917251587,
-0.12583400309085846,
-0.34276390075683594,
-0.1259327381849289,
0.008712917566299438,
-0.04449918866157532,
0.005046932026743889,
0.17858397960662842,
-0.06705815345048904,
-0.12859857082366943,
0.23300416767597198,
0.1814720779657364,
0.20292487740516663,
0.9003996253013611,
-0.00012827638420276344,
-0.01835513859987259,
0.3198477625846863,
-0.16897258162498474,
-0.43074798583984375,
-0.10339668393135071,
0.017874732613563538,
-0.020542651414871216,
0.07052210718393326,
0.014710664749145508,
0.0720796212553978,
0.032136645168066025,
-0.36375027894973755,
-0.4701123833656311,
0.1511571854352951,
0.20251820981502533,
0.09952613711357117,
0.1781870573759079,
-0.1870814710855484,
0.05088461562991142,
0.09974251687526703,
-0.0711214542388916,
-0.22550202906131744,
0.10744673013687134,
0.33074069023132324,
0.3627780079841614,
-0.1368941068649292,
0.08171692490577698,
-0.2993347644805908,
0.07331882417201996,
0.12231487780809402,
-0.24866093695163727,
-0.3306874632835388,
-0.027784667909145355,
0.04724906384944916,
0.0994892343878746,
0.5997833013534546,
-0.3807300925254822,
-0.46397665143013,
-0.23229113221168518,
0.0635051503777504,
-0.33024659752845764,
0.11382439732551575,
0.15076634287834167,
-0.27918902039527893,
-0.23879483342170715,
-0.16023093461990356,
-0.0017686915816739202,
-0.05906924977898598,
0.08605700731277466,
0.23669660091400146,
0.10542917996644974,
-0.06586314737796783,
0.30509597063064575,
0.179282084107399,
-0.11937329173088074,
0.4949255883693695,
-0.03636499494314194,
0.12814202904701233,
0.007660023868083954,
-0.37623879313468933,
0.17551425099372864,
-0.0852949246764183,
0.35651469230651855,
-0.1452232301235199,
0.02020365558564663,
0.2307787388563156,
0.019357360899448395,
-0.10912825912237167,
0.07286541163921356,
0.2875214219093323,
0.006714923307299614,
0.1720181703567505,
-0.029651444405317307,
-0.05379033833742142,
0.024278512224555016,
-0.022284554317593575,
-0.1842871904373169,
0.18405771255493164,
-0.14731630682945251,
0.022849030792713165,
0.25046664476394653,
0.2859566807746887,
-0.07956291735172272,
-0.17676645517349243,
-0.23935920000076294,
-0.09598442912101746,
-0.1084057167172432,
0.26986873149871826,
0.5092133283615112,
-0.07827326655387878,
0.3219761550426483,
0.15012893080711365,
0.12685614824295044,
-0.1899796724319458,
-0.4930475950241089,
-0.19102677702903748,
-0.2967860996723175,
-0.3068352937698364,
0.183619886636734,
0.16845384240150452,
-0.3820805847644806,
0.1974412053823471,
0.2209867388010025,
0.2894689440727234,
0.23100495338439941,
0.07186051458120346,
-0.15490564703941345,
0.19023042917251587,
-0.04489927366375923,
0.025002460926771164,
0.390042781829834,
0.08785568922758102,
0.11076375842094421,
0.07631582766771317,
0.179351806640625,
-0.4095320701599121,
-0.03235422819852829,
0.2616754472255707,
0.05349358543753624,
0.19333255290985107,
0.05511685460805893,
-0.644615113735199,
-0.41658931970596313,
0.19868996739387512,
-0.31119295954704285,
0.1941959261894226,
-0.4150277376174927,
0.07123856246471405,
-0.34757092595100403,
0.03836542367935181,
0.36207717657089233,
-0.1486186385154724,
-0.21682731807231903,
-0.24446240067481995,
0.10574689507484436,
0.6695623993873596,
0.08728858828544617,
-0.2245878130197525,
-0.08374299854040146,
-0.24527694284915924,
0.07430756092071533,
0.3985644280910492,
-0.3817199170589447,
-0.5534234642982483,
0.4100635051727295,
-0.15692146122455597,
0.1318529099225998,
0.17358510196208954,
0.16783581674098969,
0.3008451461791992,
-0.1575223207473755,
0.12323994189500809,
0.34727585315704346,
-0.07328847050666809,
0.12449660152196884,
-0.07144781947135925,
0.04496012628078461,
0.4332088232040405,
0.1688023954629898,
0.0934797003865242,
0.23030728101730347,
0.08224279433488846,
0.04473777115345001,
0.4304264485836029,
0.020435281097888947,
0.10392864048480988,
-0.0949489176273346,
0.2945103943347931,
0.01231803372502327,
0.1520453542470932,
0.17451217770576477,
-0.42122918367385864,
0.1212945505976677,
0.3742348849773407,
-0.4708936810493469,
0.10737587511539459,
-0.05984654277563095,
-0.1428796947002411,
0.1730315089225769,
-0.29095694422721863,
-0.1899939924478531,
-0.08768931031227112,
0.5160746574401855,
-0.36865875124931335,
-0.18107253313064575,
-0.08000914752483368,
0.5225874781608582,
-0.5763807892799377,
-0.0047145322896540165,
-0.2196107804775238,
0.22038859128952026,
0.1800314337015152,
-0.4295652210712433,
-0.02156699262559414,
0.009247176349163055,
0.4460708796977997,
0.07553835958242416,
-0.18475458025932312,
0.4512365460395813,
0.13431161642074585,
0.2399865984916687,
-0.39873623847961426,
-0.14661677181720734,
0.2823890447616577,
-0.1605212390422821,
0.07848323881626129,
0.5164467692375183,
0.23098032176494598,
-0.19138261675834656,
0.1127655953168869,
0.11566910892724991,
-0.3926265239715576,
0.27735406160354614,
0.08817557990550995,
0.0623646080493927,
-0.012057119980454445,
0.17267479002475739,
-0.09193333983421326,
0.2552306354045868,
0.15814730525016785,
-0.3425115644931793,
0.41879138350486755,
-0.24122439324855804,
-0.23457595705986023,
0.07759353518486023,
0.23169708251953125,
0.1997186690568924,
0.03351109102368355,
-0.019473224878311157,
-0.0978570207953453,
0.04343961924314499,
0.5811095833778381,
0.15025962889194489,
0.5090834498405457,
0.002204864053055644,
0.023789796978235245,
-0.13395139575004578,
0.2649577260017395,
-0.23476336896419525,
-0.16247054934501648,
0.01421954482793808,
-0.29014354944229126,
0.08309996128082275,
-0.011815177276730537,
-0.02382361888885498,
0.048693567514419556,
-0.07693164795637131,
0.04510665684938431,
0.07857032865285873,
-0.4256439507007599,
0.14704911410808563,
-0.1973002851009369,
0.1630975604057312,
-0.24517598748207092,
-0.4107770323753357,
-0.12268480658531189,
-0.3304263651371002,
-0.3769487142562866,
0.6017891764640808,
-0.007912738248705864,
0.06855843216180801,
-0.15708009898662567,
0.09162135422229767,
0.4498676359653473,
-0.06451230496168137,
-0.20379051566123962,
0.16780824959278107,
-0.013023246079683304,
-0.06474323570728302,
0.09698325395584106,
-0.13341733813285828,
0.35564297437667847,
0.1574477106332779,
-0.026565425097942352,
-0.3965924084186554,
0.038473449647426605,
0.04605614021420479,
-0.09944254159927368,
0.1782011091709137,
0.08996898680925369,
0.18637870252132416,
-0.008112777024507523,
-0.44909265637397766,
0.08061281591653824,
-0.5704160332679749,
0.041402943432331085,
0.21443410217761993,
-0.036395806819200516,
0.15043221414089203,
0.10744212567806244,
-0.22514191269874573,
-0.25142526626586914,
-0.3771649897098541,
0.21440114080905914,
0.12687548995018005,
-0.13451814651489258,
0.0016250582411885262,
0.19895966351032257,
0.044870201498270035,
0.389975905418396,
-0.1772235929965973,
-0.12746655941009521,
-0.4929574429988861,
0.1391477733850479,
-0.32137009501457214,
-0.2029515951871872,
-0.1751730740070343,
0.23755000531673431,
0.16152319312095642,
0.6361702680587769,
-0.19681957364082336,
0.32392317056655884,
-0.13194900751113892,
0.40569135546684265,
-0.07503995299339294,
0.03594301640987396,
0.13613303005695343,
-0.08498149365186691,
0.176828071475029,
-0.24944275617599487,
-0.030231913551688194,
-0.11442605406045914,
0.04926145449280739,
0.3846988081932068,
0.22812128067016602,
0.4653618335723877,
0.05375177785754204,
1.0149362087249756,
-0.004629682749509811,
-0.2924387454986572,
0.4200187027454376,
0.0994039848446846,
0.03474223613739014,
-0.00725429505109787,
-0.46486368775367737,
0.19753070175647736,
-0.05593009293079376,
-0.05619988963007927,
0.04694106802344322,
-0.18314698338508606,
-0.11051712185144424,
-0.1692340224981308,
-0.18531513214111328,
-0.28040775656700134,
-0.07516935467720032,
0.08273020386695862,
-0.17898841202259064,
0.1425917148590088,
-0.23919431865215302,
0.3273375630378723,
-0.17459943890571594,
-0.247146338224411,
-0.047133635729551315,
0.03127886354923248,
0.4290481507778168,
0.04945487529039383,
-0.16525080800056458,
0.055153172463178635,
-0.11342748254537582,
0.02150391787290573,
0.09639926254749298,
0.6760506629943848,
-0.0290609709918499,
-0.21175041794776917,
-0.001222662627696991,
0.25679466128349304,
0.45604008436203003,
-0.18539084494113922,
0.23019632697105408,
-0.005319652147591114,
-0.2224082350730896,
-0.3559468984603882,
-0.04518727958202362,
-0.050212956964969635,
0.3803860545158386,
0.06809888035058975,
-0.1559324860572815,
-0.05534934625029564,
0.10875921696424484,
0.08241014927625656,
0.009538901038467884,
0.017896119505167007,
-0.08783651888370514,
-0.10416906327009201,
-0.10390065610408783,
-0.11965538561344147,
0.01703498512506485,
0.011555610224604607,
0.1230580136179924,
-0.626502275466919,
0.0394095741212368,
-0.10087649524211884,
-0.27079707384109497,
0.1726677119731903,
-0.278947114944458,
0.2338000237941742,
-0.028405705466866493,
0.14992783963680267,
0.2252785563468933,
0.027955932542681694,
0.32647812366485596,
0.33320489525794983,
0.0832827240228653,
-0.11996971070766449,
0.27173763513565063,
-0.12031137198209763,
0.33030104637145996,
0.34887707233428955,
-0.2978379428386688,
0.2363821566104889,
-0.033211976289749146,
-0.12570254504680634,
-0.13712579011917114,
0.15635322034358978,
0.17159655690193176,
-0.1554761379957199,
-0.31177857518196106,
-0.5369945764541626,
0.3706919550895691,
0.07334375381469727,
0.0372920036315918,
0.8218878507614136,
-0.1728389710187912,
-0.20128028094768524,
0.08832011371850967,
-0.022462129592895508,
0.847120463848114,
0.19132936000823975,
0.10407184064388275,
0.228697270154953,
0.18471375107765198,
-0.23779414594173431,
-0.13307923078536987,
-0.027132999151945114,
-0.22831545770168304,
-0.24458061158657074,
-0.003589548170566559,
-0.34709033370018005,
0.05594277381896973,
-0.11354964971542358,
-0.4397059679031372,
0.16508787870407104,
-0.36617255210876465,
0.49089592695236206,
0.16373349726200104,
-0.11397190392017365,
-0.40693703293800354,
-0.19671954214572906,
-0.14129334688186646,
0.07393170893192291,
-0.18684524297714233,
-0.07223443686962128,
0.00631304457783699,
-0.18660561740398407,
0.10952360928058624,
-0.203230619430542,
-0.034560803323984146,
0.10156206041574478,
-0.27723193168640137,
-0.05133702605962753,
-0.13107211887836456,
-0.6061019897460938,
0.23453572392463684,
0.4037765562534332,
0.2179477959871292,
0.1415686458349228,
-0.15498529374599457,
0.181425079703331,
-0.13904088735580444,
0.1742970198392868,
-0.11014232784509659,
-0.007334419526159763,
0.17788848280906677,
0.16095522046089172,
-0.10860652476549149,
0.4327942430973053,
0.19176547229290009,
-0.6464853882789612,
-0.17737802863121033,
0.11392900347709656,
0.23616746068000793,
-0.3630272150039673,
-0.16800330579280853,
-0.153213769197464,
-0.004979455843567848,
-0.134182870388031,
0.02687607705593109,
0.03954114764928818,
-0.1550707370042801,
-0.1357390582561493,
0.15351402759552002,
0.035364218056201935,
-0.02555745095014572,
0.8520792722702026,
0.11156918853521347,
0.028280779719352722,
0.42033085227012634,
0.25896984338760376,
-0.172364741563797,
-0.020933520048856735,
-0.18589244782924652,
0.11187949031591415,
-0.4162885844707489,
0.005814342759549618,
-0.45185762643814087,
0.2862085700035095,
-0.1547641158103943,
0.1621759831905365,
-0.26983755826950073,
0.14142325520515442,
-0.1897515505552292,
-0.31511545181274414,
-0.3149833381175995,
0.020737379789352417,
-0.24559397995471954,
0.036835163831710815,
-0.11797454208135605,
0.02469928003847599,
0.11993704736232758,
0.25366878509521484,
-0.15670999884605408,
0.024865780025720596,
0.17372533679008484,
0.15940675139427185,
0.5517749786376953,
0.17185582220554352,
-0.11432334780693054,
0.004440618678927422,
-0.059176988899707794,
0.393108069896698,
0.08166483044624329,
-0.05910305678844452,
-0.19063986837863922,
0.18184518814086914,
0.18742597103118896,
-0.02884688787162304,
-0.14867600798606873,
-0.2650682032108307,
-0.15619327127933502,
-0.0925610288977623,
0.38664063811302185,
0.1566801369190216,
-0.035628244280815125,
0.2019558548927307,
0.7770448327064514,
0.2897842228412628,
-0.1948474943637848,
0.24770347774028778,
-0.0352930948138237,
0.06382983922958374,
0.021848879754543304,
0.04523302614688873,
0.0844835415482521,
0.03524355590343475,
-0.20742972195148468,
-0.2510879337787628,
0.29596173763275146,
0.2715456783771515,
0.41320115327835083,
-0.5400815606117249,
0.17225688695907593,
-0.2201681286096573,
0.34728899598121643,
0.22167663276195526,
-0.20662261545658112,
-0.18079158663749695,
0.335803747177124,
0.017739636823534966,
0.03606688231229782,
-0.07313304394483566,
0.10975293815135956,
0.21149040758609772,
-0.12295126914978027,
0.11442118883132935,
0.00890115275979042,
-0.4582117199897766,
-0.0655098706483841,
0.06682490557432175,
0.14195264875888824,
-0.3089755177497864,
0.26091325283050537,
0.459484726190567,
-0.22539857029914856,
0.021301481872797012,
0.047370053827762604,
0.03176884725689888,
-0.1507154405117035,
0.39954686164855957,
0.07702481001615524,
0.5459412932395935,
0.25187811255455017,
-0.32674098014831543,
0.11258268356323242,
-0.5598674416542053,
-0.22073350846767426,
0.1789110004901886,
-0.18283134698867798,
0.24209800362586975,
-0.0492250919342041,
0.2771932780742645,
0.031593095511198044,
-0.15415143966674805,
-0.11796675622463226,
-0.0069836899638175964,
-0.11744334548711777,
0.06108403578400612,
-0.08824291080236435,
-0.31717097759246826,
-0.19548821449279785,
0.030461523681879044,
-0.10846070945262909,
-0.012292779982089996,
0.4297271966934204,
0.18392187356948853,
-0.1824478954076767,
-0.3165946304798126,
-0.11851347237825394,
0.12293130159378052,
0.02876502275466919,
-0.3614905774593353,
-0.08271192014217377,
0.0901867225766182,
0.2908969819545746,
0.055098459124565125,
-0.20078089833259583,
0.26061752438545227,
0.316133052110672,
-0.15148639678955078,
0.16406796872615814,
0.3598879873752594,
-0.10257274657487869,
0.11795464158058167,
0.3120177686214447,
0.06268253922462463,
0.12450602650642395,
0.20703357458114624,
0.11960016191005707,
-0.12155396491289139,
-0.02433731034398079,
0.27629634737968445,
0.2937522530555725,
-0.45991525053977966,
0.4112514853477478,
-0.06328651309013367,
-0.16127903759479523,
-0.24059361219406128,
-0.1733066439628601,
-0.3042486011981964,
0.15175744891166687,
0.4760766327381134,
-0.11115965992212296,
0.1733817458152771,
-0.1437370330095291,
-0.029074784368276596,
-0.008829742670059204,
0.34371083974838257,
0.11977867782115936,
0.25509339570999146,
-0.2972971498966217,
-0.2877274751663208,
-0.22578762471675873,
0.12560954689979553,
0.05556239187717438,
0.2331600785255432,
-0.053846679627895355,
0.12525564432144165,
0.15432612597942352,
-0.06598148494958878,
0.1027558296918869,
-0.2510841488838196,
0.2327558994293213,
0.4527018070220947,
-0.11320388317108154,
-0.4749149680137634,
-0.14746035635471344,
0.06313779950141907,
0.04986686259508133,
-0.40169045329093933,
0.12957583367824554,
0.07663891464471817,
0.0041032955050468445,
-0.06385348737239838,
-0.3221380114555359,
0.1509575992822647,
-0.02749752253293991,
0.25232890248298645,
-0.1413780152797699,
0.5466980934143066,
-0.07971329987049103,
-0.007768888026475906,
-0.28322792053222656,
-0.2539655566215515,
0.04856901243329048,
-0.3264467716217041,
-0.1780649870634079,
0.5379723310470581,
0.01406313106417656,
0.020552434027194977,
-0.6855700612068176,
0.4870728552341461,
-0.02425343729555607,
0.04228462278842926,
-0.25590041279792786,
0.16724178194999695,
-0.2986874580383301,
0.22262416779994965,
0.011008529923856258,
0.10828893631696701,
-0.22568735480308533,
0.22003008425235748,
-0.2732653021812439,
-0.25257638096809387,
0.6538187265396118,
-0.5499600768089294,
-0.1021636426448822,
-0.15827369689941406,
0.1203669011592865,
-0.02539242058992386,
0.175879567861557,
-0.42126134037971497,
0.19102787971496582,
0.3722975552082062,
-0.1893065869808197,
0.04786594584584236,
0.12396004796028137,
0.20622004568576813,
0.29202812910079956,
-0.029262298718094826,
0.31982821226119995,
0.1460110992193222,
-0.16057144105434418,
0.3081428110599518,
-0.2748347520828247
] |
https://github.com/huggingface/datasets/issues/4677 | Random 400 Client Error when pushing dataset | I am having the same issue. Even the simple example from the documentation gives me the 400 Error
> from datasets import load_dataset
>
> dataset = load_dataset("stevhliu/demo")
> dataset.push_to_hub("processed_demo")
`requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://huggingface.co/api/datasets/REDACTED/commit/main (Request ID: e-tPnYTiCdB5KPmSL86dQ)`
I "fixed" it by initializing a new virtual environment with only datasets==2.5.2 installed.
The workaround consists of saving to disk then loading from disk and pushing to hub but from the new clean virtual environment. | ## Describe the bug
When pushing a dataset, the client errors randomly with `Bad Request for url:...`.
At the next call, a new parquet file is created for each shard.
The client may fail at any random shard.
## Steps to reproduce the bug
```python
dataset.push_to_hub("ORG/DATASET", private=True, branch="main")
```
## Expected results
Push all the dataset to the Hub with no duplicates.
If it fails, it should retry or fail, but continue from the last failed shard.
## Actual results
```
---------------------------------------------------------------------------
HTTPError Traceback (most recent call last)
testing.ipynb Cell 29 in <cell line: 1>()
----> [1](testing.ipynb?line=0) dataset.push_to_hub("ORG/DATASET", private=True, branch="main")
File ~/.local/lib/python3.9/site-packages/datasets/arrow_dataset.py:4297, in Dataset.push_to_hub(self, repo_id, split, private, token, branch, max_shard_size, shard_size, embed_external_files)
4291 warnings.warn(
4292 "'shard_size' was renamed to 'max_shard_size' in version 2.1.1 and will be removed in 2.4.0.",
4293 FutureWarning,
4294 )
4295 max_shard_size = shard_size
-> 4297 repo_id, split, uploaded_size, dataset_nbytes, repo_files, deleted_size = self._push_parquet_shards_to_hub(
4298 repo_id=repo_id,
4299 split=split,
4300 private=private,
4301 token=token,
4302 branch=branch,
4303 max_shard_size=max_shard_size,
4304 embed_external_files=embed_external_files,
4305 )
4306 organization, dataset_name = repo_id.split("/")
4307 info_to_dump = self.info.copy()
File ~/.local/lib/python3.9/site-packages/datasets/arrow_dataset.py:4195, in Dataset._push_parquet_shards_to_hub(self, repo_id, split, private, token, branch, max_shard_size, embed_external_files)
4193 shard.to_parquet(buffer)
4194 uploaded_size += buffer.tell()
-> 4195 _retry(
4196 api.upload_file,
4197 func_kwargs=dict(
4198 path_or_fileobj=buffer.getvalue(),
4199 path_in_repo=shard_path_in_repo,
4200 repo_id=repo_id,
4201 token=token,
4202 repo_type="dataset",
4203 revision=branch,
4204 identical_ok=False,
4205 ),
4206 exceptions=HTTPError,
4207 status_codes=[504],
4208 base_wait_time=2.0,
4209 max_retries=5,
4210 max_wait_time=20.0,
4211 )
4212 shards_path_in_repo.append(shard_path_in_repo)
4214 # Cleanup to remove unused files
File ~/.local/lib/python3.9/site-packages/datasets/utils/file_utils.py:284, in _retry(func, func_args, func_kwargs, exceptions, status_codes, max_retries, base_wait_time, max_wait_time)
282 except exceptions as err:
283 if retry >= max_retries or (status_codes and err.response.status_code not in status_codes):
--> 284 raise err
285 else:
286 sleep_time = min(max_wait_time, base_wait_time * 2**retry) # Exponential backoff
File ~/.local/lib/python3.9/site-packages/datasets/utils/file_utils.py:281, in _retry(func, func_args, func_kwargs, exceptions, status_codes, max_retries, base_wait_time, max_wait_time)
279 while True:
280 try:
--> 281 return func(*func_args, **func_kwargs)
282 except exceptions as err:
283 if retry >= max_retries or (status_codes and err.response.status_code not in status_codes):
File ~/.local/lib/python3.9/site-packages/huggingface_hub/hf_api.py:1967, in HfApi.upload_file(self, path_or_fileobj, path_in_repo, repo_id, token, repo_type, revision, identical_ok, commit_message, commit_description, create_pr)
1957 commit_message = (
1958 commit_message
1959 if commit_message is not None
1960 else f"Upload {path_in_repo} with huggingface_hub"
1961 )
1962 operation = CommitOperationAdd(
1963 path_or_fileobj=path_or_fileobj,
1964 path_in_repo=path_in_repo,
1965 )
-> 1967 pr_url = self.create_commit(
1968 repo_id=repo_id,
1969 repo_type=repo_type,
1970 operations=[operation],
1971 commit_message=commit_message,
1972 commit_description=commit_description,
1973 token=token,
1974 revision=revision,
1975 create_pr=create_pr,
1976 )
1977 if pr_url is not None:
1978 re_match = re.match(REGEX_DISCUSSION_URL, pr_url)
File ~/.local/lib/python3.9/site-packages/huggingface_hub/hf_api.py:1844, in HfApi.create_commit(self, repo_id, operations, commit_message, commit_description, token, repo_type, revision, create_pr, num_threads)
1836 commit_url = f"{self.endpoint}/api/{repo_type}s/{repo_id}/commit/{revision}"
1838 commit_resp = requests.post(
1839 url=commit_url,
1840 headers={"Authorization": f"Bearer {token}"},
1841 json=commit_payload,
1842 params={"create_pr": 1} if create_pr else None,
1843 )
-> 1844 _raise_for_status(commit_resp)
1845 return commit_resp.json().get("pullRequestUrl", None)
File ~/.local/lib/python3.9/site-packages/huggingface_hub/utils/_errors.py:84, in _raise_for_status(request)
76 if request.status_code == 401:
77 # The repo was not found and the user is not Authenticated
78 raise RepositoryNotFoundError(
79 f"401 Client Error: Repository Not Found for url: {request.url}. If the"
80 " repo is private, make sure you are authenticated. (Request ID:"
81 f" {request_id})"
82 )
---> 84 _raise_with_request_id(request)
File ~/.local/lib/python3.9/site-packages/huggingface_hub/utils/_errors.py:95, in _raise_with_request_id(request)
92 if request_id is not None and len(e.args) > 0 and isinstance(e.args[0], str):
93 e.args = (e.args[0] + f" (Request ID: {request_id})",) + e.args[1:]
---> 95 raise e
File ~/.local/lib/python3.9/site-packages/huggingface_hub/utils/_errors.py:90, in _raise_with_request_id(request)
88 request_id = request.headers.get("X-Request-Id")
89 try:
---> 90 request.raise_for_status()
91 except Exception as e:
92 if request_id is not None and len(e.args) > 0 and isinstance(e.args[0], str):
File ~/.local/lib/python3.9/site-packages/requests/models.py:1021, in Response.raise_for_status(self)
1016 http_error_msg = (
1017 f"{self.status_code} Server Error: {reason} for url: {self.url}"
1018 )
1020 if http_error_msg:
-> 1021 raise HTTPError(http_error_msg, response=self)
HTTPError: 400 Client Error: Bad Request for url: https://huggingface.co/api/datasets/ORG/DATASET/commit/main (Request ID: a_F0IQAHJdxGKVRYyu1cF)
```
## Environment info
- `datasets` version: 2.3.2
- Platform: Linux-5.13.0-1025-aws-x86_64-with-glibc2.31
- Python version: 3.9.4
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
| 77 | Random 400 Client Error when pushing dataset
## Describe the bug
When pushing a dataset, the client errors randomly with `Bad Request for url:...`.
At the next call, a new parquet file is created for each shard.
The client may fail at any random shard.
## Steps to reproduce the bug
```python
dataset.push_to_hub("ORG/DATASET", private=True, branch="main")
```
## Expected results
Push all the dataset to the Hub with no duplicates.
If it fails, it should retry or fail, but continue from the last failed shard.
## Actual results
```
---------------------------------------------------------------------------
HTTPError Traceback (most recent call last)
testing.ipynb Cell 29 in <cell line: 1>()
----> [1](testing.ipynb?line=0) dataset.push_to_hub("ORG/DATASET", private=True, branch="main")
File ~/.local/lib/python3.9/site-packages/datasets/arrow_dataset.py:4297, in Dataset.push_to_hub(self, repo_id, split, private, token, branch, max_shard_size, shard_size, embed_external_files)
4291 warnings.warn(
4292 "'shard_size' was renamed to 'max_shard_size' in version 2.1.1 and will be removed in 2.4.0.",
4293 FutureWarning,
4294 )
4295 max_shard_size = shard_size
-> 4297 repo_id, split, uploaded_size, dataset_nbytes, repo_files, deleted_size = self._push_parquet_shards_to_hub(
4298 repo_id=repo_id,
4299 split=split,
4300 private=private,
4301 token=token,
4302 branch=branch,
4303 max_shard_size=max_shard_size,
4304 embed_external_files=embed_external_files,
4305 )
4306 organization, dataset_name = repo_id.split("/")
4307 info_to_dump = self.info.copy()
File ~/.local/lib/python3.9/site-packages/datasets/arrow_dataset.py:4195, in Dataset._push_parquet_shards_to_hub(self, repo_id, split, private, token, branch, max_shard_size, embed_external_files)
4193 shard.to_parquet(buffer)
4194 uploaded_size += buffer.tell()
-> 4195 _retry(
4196 api.upload_file,
4197 func_kwargs=dict(
4198 path_or_fileobj=buffer.getvalue(),
4199 path_in_repo=shard_path_in_repo,
4200 repo_id=repo_id,
4201 token=token,
4202 repo_type="dataset",
4203 revision=branch,
4204 identical_ok=False,
4205 ),
4206 exceptions=HTTPError,
4207 status_codes=[504],
4208 base_wait_time=2.0,
4209 max_retries=5,
4210 max_wait_time=20.0,
4211 )
4212 shards_path_in_repo.append(shard_path_in_repo)
4214 # Cleanup to remove unused files
File ~/.local/lib/python3.9/site-packages/datasets/utils/file_utils.py:284, in _retry(func, func_args, func_kwargs, exceptions, status_codes, max_retries, base_wait_time, max_wait_time)
282 except exceptions as err:
283 if retry >= max_retries or (status_codes and err.response.status_code not in status_codes):
--> 284 raise err
285 else:
286 sleep_time = min(max_wait_time, base_wait_time * 2**retry) # Exponential backoff
File ~/.local/lib/python3.9/site-packages/datasets/utils/file_utils.py:281, in _retry(func, func_args, func_kwargs, exceptions, status_codes, max_retries, base_wait_time, max_wait_time)
279 while True:
280 try:
--> 281 return func(*func_args, **func_kwargs)
282 except exceptions as err:
283 if retry >= max_retries or (status_codes and err.response.status_code not in status_codes):
File ~/.local/lib/python3.9/site-packages/huggingface_hub/hf_api.py:1967, in HfApi.upload_file(self, path_or_fileobj, path_in_repo, repo_id, token, repo_type, revision, identical_ok, commit_message, commit_description, create_pr)
1957 commit_message = (
1958 commit_message
1959 if commit_message is not None
1960 else f"Upload {path_in_repo} with huggingface_hub"
1961 )
1962 operation = CommitOperationAdd(
1963 path_or_fileobj=path_or_fileobj,
1964 path_in_repo=path_in_repo,
1965 )
-> 1967 pr_url = self.create_commit(
1968 repo_id=repo_id,
1969 repo_type=repo_type,
1970 operations=[operation],
1971 commit_message=commit_message,
1972 commit_description=commit_description,
1973 token=token,
1974 revision=revision,
1975 create_pr=create_pr,
1976 )
1977 if pr_url is not None:
1978 re_match = re.match(REGEX_DISCUSSION_URL, pr_url)
File ~/.local/lib/python3.9/site-packages/huggingface_hub/hf_api.py:1844, in HfApi.create_commit(self, repo_id, operations, commit_message, commit_description, token, repo_type, revision, create_pr, num_threads)
1836 commit_url = f"{self.endpoint}/api/{repo_type}s/{repo_id}/commit/{revision}"
1838 commit_resp = requests.post(
1839 url=commit_url,
1840 headers={"Authorization": f"Bearer {token}"},
1841 json=commit_payload,
1842 params={"create_pr": 1} if create_pr else None,
1843 )
-> 1844 _raise_for_status(commit_resp)
1845 return commit_resp.json().get("pullRequestUrl", None)
File ~/.local/lib/python3.9/site-packages/huggingface_hub/utils/_errors.py:84, in _raise_for_status(request)
76 if request.status_code == 401:
77 # The repo was not found and the user is not Authenticated
78 raise RepositoryNotFoundError(
79 f"401 Client Error: Repository Not Found for url: {request.url}. If the"
80 " repo is private, make sure you are authenticated. (Request ID:"
81 f" {request_id})"
82 )
---> 84 _raise_with_request_id(request)
File ~/.local/lib/python3.9/site-packages/huggingface_hub/utils/_errors.py:95, in _raise_with_request_id(request)
92 if request_id is not None and len(e.args) > 0 and isinstance(e.args[0], str):
93 e.args = (e.args[0] + f" (Request ID: {request_id})",) + e.args[1:]
---> 95 raise e
File ~/.local/lib/python3.9/site-packages/huggingface_hub/utils/_errors.py:90, in _raise_with_request_id(request)
88 request_id = request.headers.get("X-Request-Id")
89 try:
---> 90 request.raise_for_status()
91 except Exception as e:
92 if request_id is not None and len(e.args) > 0 and isinstance(e.args[0], str):
File ~/.local/lib/python3.9/site-packages/requests/models.py:1021, in Response.raise_for_status(self)
1016 http_error_msg = (
1017 f"{self.status_code} Server Error: {reason} for url: {self.url}"
1018 )
1020 if http_error_msg:
-> 1021 raise HTTPError(http_error_msg, response=self)
HTTPError: 400 Client Error: Bad Request for url: https://huggingface.co/api/datasets/ORG/DATASET/commit/main (Request ID: a_F0IQAHJdxGKVRYyu1cF)
```
## Environment info
- `datasets` version: 2.3.2
- Platform: Linux-5.13.0-1025-aws-x86_64-with-glibc2.31
- Python version: 3.9.4
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
I am having the same issue. Even the simple example from the documentation gives me the 400 Error
> from datasets import load_dataset
>
> dataset = load_dataset("stevhliu/demo")
> dataset.push_to_hub("processed_demo")
`requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://huggingface.co/api/datasets/REDACTED/commit/main (Request ID: e-tPnYTiCdB5KPmSL86dQ)`
I "fixed" it by initializing a new virtual environment with only datasets==2.5.2 installed.
The workaround consists of saving to disk then loading from disk and pushing to hub but from the new clean virtual environment. | [
-0.16919921338558197,
-0.1679554283618927,
0.032807961106300354,
0.13581183552742004,
0.010458089411258698,
-0.12437722086906433,
0.28814569115638733,
0.2617993950843811,
-0.053882896900177,
0.04766968637704849,
0.2557685673236847,
0.015085996128618717,
0.03830248489975929,
0.10020478814840317,
0.2436773180961609,
-0.053603023290634155,
-0.09620855003595352,
-0.07994638383388519,
0.14896360039710999,
0.039869241416454315,
-0.34050896763801575,
-0.053652048110961914,
0.05224587023258209,
0.24591077864170074,
-0.10810282081365585,
-0.1991012543439865,
-0.08789098262786865,
0.42061930894851685,
-0.3453429043292999,
-0.29858481884002686,
0.2612011730670929,
-0.09028486907482147,
0.01203351654112339,
0.3746580183506012,
-0.00011388455459382385,
0.1161307543516159,
0.4219856262207031,
0.1282229870557785,
-0.2689884603023529,
-0.16574306786060333,
-0.24327465891838074,
-0.3146088123321533,
-0.06823082268238068,
-0.30974602699279785,
0.07498080283403397,
0.3487153649330139,
-0.025161681696772575,
0.06011579930782318,
0.303108811378479,
0.3746667206287384,
0.16810199618339539,
0.06457578390836716,
0.07167939841747284,
-0.09196996688842773,
0.5210276246070862,
-0.10933884978294373,
-0.05280176177620888,
-0.11462809145450592,
0.11706563085317612,
0.13915759325027466,
-0.19945663213729858,
-0.13429127633571625,
0.12404541671276093,
0.05255737155675888,
0.14964431524276733,
-0.10568694025278091,
-0.38112854957580566,
-0.2425769567489624,
0.07797133922576904,
0.11859425157308578,
0.354158878326416,
-0.12460819631814957,
-0.25191131234169006,
-0.11022458225488663,
-0.1827111542224884,
-0.5892643928527832,
0.23853152990341187,
0.4843153655529022,
-0.02327420935034752,
0.03908053785562515,
-0.10497549921274185,
-0.11313942819833755,
-0.20397399365901947,
0.018733717501163483,
-0.13099239766597748,
0.19526362419128418,
0.11165770143270493,
0.207055926322937,
-0.22936059534549713,
-0.28745031356811523,
0.09340718388557434,
-0.18104413151741028,
-0.22804099321365356,
-0.33796459436416626,
-0.3543235659599304,
-0.14414772391319275,
0.23431357741355896,
0.2298358678817749,
0.32064202427864075,
0.40434545278549194,
0.11903607845306396,
-0.044501058757305145,
0.04085903614759445,
0.16479645669460297,
0.29364654421806335,
-0.2843523323535919,
0.08819403499364853,
0.055620357394218445,
0.23359861969947815,
0.4021771550178528,
-0.008408203721046448,
0.1446128785610199,
0.3846607506275177,
-0.16828739643096924,
0.14537005126476288,
0.35813039541244507,
0.5101950764656067,
-0.09301600605249405,
-0.013889895752072334,
0.3026190400123596,
-0.15965528786182404,
0.04486646130681038,
-0.20237073302268982,
0.0777955949306488,
-0.10866138339042664,
0.05019138753414154,
-0.04633753374218941,
-0.014168761670589447,
-0.20426484942436218,
-0.54904705286026,
-0.14149193465709686,
-0.051167603582143784,
0.011666927486658096,
-0.14223264157772064,
-0.10552643239498138,
0.26197442412376404,
0.04544181376695633,
0.12251604348421097,
0.2679476737976074,
-0.20503365993499756,
0.33538001775741577,
0.05964959040284157,
-0.05356501787900925,
0.2552708089351654,
0.08571898937225342,
0.04678463935852051,
0.10101835429668427,
-0.3647940158843994,
-0.019176572561264038,
-0.11988750845193863,
-0.5008400678634644,
-0.3775944709777832,
-0.08809643983840942,
0.19175241887569427,
0.12508833408355713,
-0.028941579163074493,
-0.6491348147392273,
-0.2063995897769928,
-0.05490284413099289,
-0.028845440596342087,
-0.019124433398246765,
-0.19188852608203888,
-0.14119599759578705,
-0.13159985840320587,
0.0280002411454916,
0.4803260564804077,
-0.023714641109108925,
0.02187146246433258,
-0.17439335584640503,
0.41937655210494995,
0.03522519767284393,
0.25034067034721375,
-0.2597653865814209,
-0.10804722458124161,
-0.13661731779575348,
0.20231817662715912,
0.2806713879108429,
-0.09559643268585205,
-0.5382099151611328,
0.13344505429267883,
-0.4720945358276367,
-0.12683722376823425,
-0.11474815756082535,
-0.042651914060115814,
0.4147007465362549,
0.009090629406273365,
0.515194833278656,
0.252399742603302,
-0.06840092688798904,
0.08015855401754379,
-0.3315766453742981,
-0.2373901605606079,
-0.10654959082603455,
-0.05627845227718353,
0.11397793889045715,
-0.1624755859375,
0.3894060254096985,
-0.18869727849960327,
0.21759718656539917,
-0.03427288308739662,
0.08495431393384933,
0.14419546723365784,
0.5282421112060547,
-0.08091826736927032,
0.2658647894859314,
0.08935316652059555,
-0.5248038172721863,
0.20799270272254944,
-0.016270030289888382,
0.08246210217475891,
-0.18336047232151031,
0.005274370312690735,
-0.2783972918987274,
0.0353052020072937,
-0.24696679413318634,
0.13284365832805634,
0.12808384001255035,
-0.03579563647508621,
-0.09880819916725159,
0.08777312934398651,
-0.08132372051477432,
0.1761862337589264,
-0.4232419729232788,
0.2672146260738373,
-0.5506236553192139,
0.4556165039539337,
-0.13945947587490082,
-0.27868396043777466,
0.22347864508628845,
-0.15204128623008728,
0.4471248686313629,
-0.08939556032419205,
-0.1036185771226883,
0.22045853734016418,
0.16058935225009918,
0.12754526734352112,
0.49040934443473816,
0.059030771255493164,
0.425861120223999,
-0.15043778717517853,
-0.2614785134792328,
0.19948525726795197,
-0.008266810327768326,
0.21284636855125427,
0.009891286492347717,
0.265322744846344,
0.10862673819065094,
0.18394041061401367,
-0.20196565985679626,
0.30354347825050354,
0.3193701505661011,
0.04046757146716118,
0.07395654171705246,
0.3369077444076538,
0.31598493456840515,
0.0350010022521019,
0.03725138679146767,
-0.2655891478061676,
-0.017489977180957794,
0.15056762099266052,
0.17319802939891815,
-0.08209534734487534,
0.14343538880348206,
0.19888830184936523,
0.21472680568695068,
-0.1720477044582367,
0.39100411534309387,
0.5492753982543945,
-0.1176644116640091,
-0.0390917994081974,
-0.29004424810409546,
-0.058373235166072845,
-0.11218927055597305,
-0.11392083764076233,
0.010596461594104767,
0.1441468894481659,
-0.08834463357925415,
-0.06748519092798233,
0.3453640043735504,
-0.026105452328920364,
-0.3174762427806854,
-0.5081420540809631,
0.1842663586139679,
0.2976946234703064,
-0.3372703492641449,
0.033685483038425446,
-0.1152941882610321,
0.13475492596626282,
-0.08871200680732727,
0.02406812086701393,
-0.5587930679321289,
-0.39096784591674805,
-0.04608096182346344,
0.07280859351158142,
-0.42658743262290955,
0.016628006473183632,
-0.023106392472982407,
0.24777263402938843,
0.37833935022354126,
0.10851267725229263,
-0.11253207921981812,
-0.030761614441871643,
-0.022762566804885864,
-0.0021317992359399796,
0.1736072599887848,
-0.1498669981956482,
0.2813187539577484,
-0.3175058364868164,
0.05415206402540207,
-0.4776237905025482,
-0.05127748101949692,
0.0938037633895874,
-0.02044953778386116,
0.3303126096725464,
0.2331792265176773,
0.2145865559577942,
-0.1594441533088684,
-0.011993682011961937,
0.1768978238105774,
-0.015365800820291042,
0.013619208708405495,
0.2893514931201935,
0.041722577065229416,
0.0254542026668787,
0.19850848615169525,
-0.12972798943519592,
-0.07473093271255493,
-0.2502332925796509,
0.09951255470514297,
0.3163518011569977,
0.24688167870044708,
-0.24960143864154816,
-0.01414579153060913,
0.06664153933525085,
0.11829276382923126,
-0.17134623229503632,
0.09375052899122238,
-0.5208060145378113,
0.1877310872077942,
-0.01962604746222496,
-0.32389524579048157,
-0.06057516112923622,
-0.08617754280567169,
-0.09491944313049316,
0.2647835612297058,
-0.5515473484992981,
-0.33250027894973755,
-0.04286482185125351,
0.3328603208065033,
-0.06837955862283707,
-0.13746094703674316,
0.10876636207103729,
-0.07534120231866837,
-0.04220939055085182,
0.10207074135541916,
-0.21101611852645874,
0.11033443361520767,
0.4649985730648041,
0.15285712480545044,
0.14500288665294647,
0.39957672357559204,
0.08178825676441193,
0.761157214641571,
0.13562433421611786,
-0.028511177748441696,
0.4234541058540344,
0.009492319077253342,
0.029546409845352173,
0.009752638638019562,
0.008154252544045448,
0.07865224778652191,
-0.07846921682357788,
-0.24389390647411346,
0.07602228969335556,
-0.0056861527264118195,
-0.1679360717535019,
-0.09024874866008759,
-0.5152985453605652,
-0.15193109214305878,
-0.3717864751815796,
-0.1666102558374405,
-0.022159017622470856,
-0.11615104228258133,
0.122454434633255,
-0.09121456742286682,
-0.17457298934459686,
-0.19217607378959656,
0.22894270718097687,
0.0489933043718338,
0.11468955874443054,
-0.14789262413978577,
-0.056714512407779694,
-0.016840346157550812,
-0.34451809525489807,
0.32298046350479126,
-0.017180098220705986,
0.37320786714553833,
0.03365427628159523,
0.2395743727684021,
0.1236649751663208,
-0.20210237801074982,
0.46098774671554565,
-0.6172588467597961,
0.3687456250190735,
-0.21535839140415192,
0.07317377626895905,
-0.08733043074607849,
-0.029529593884944916,
-0.1903752088546753,
0.21570679545402527,
0.1412201076745987,
0.4852767288684845,
-0.39040789008140564,
0.2655828595161438,
-0.16288311779499054,
-0.06752682477235794,
-0.2229209691286087,
0.028800353407859802,
-0.15212085843086243,
-0.34575483202934265,
-0.31547418236732483,
0.35292473435401917,
0.15838131308555603,
0.0660964772105217,
-0.03693079948425293,
-0.07307900488376617,
0.1508442461490631,
-0.04698749631643295,
-0.036594122648239136,
-0.09852682054042816,
0.14499300718307495,
-0.05439664050936699,
0.06694105267524719,
-0.2664560079574585,
0.25313910841941833,
0.30122312903404236,
0.6401093006134033,
0.16701051592826843,
-0.4004923105239868,
0.03464573249220848,
-0.048658713698387146,
-0.03965447098016739,
0.31133341789245605,
0.11016014218330383,
0.19152897596359253,
0.06761357188224792,
0.3975589871406555,
-0.06690278649330139,
0.001369883306324482,
0.3843148648738861,
-0.4032536447048187,
-0.23619748651981354,
-0.11731479316949844,
0.5001585483551025,
-0.31208133697509766,
0.03344620764255524,
0.564822256565094,
0.45392119884490967,
-0.13167034089565277,
0.4990922808647156,
0.15586912631988525,
0.8251079320907593,
0.05745977163314819,
0.039803314954042435,
0.07650554180145264,
-0.6124866008758545,
0.4050794243812561,
-0.31782978773117065,
0.10437779873609543,
-0.5134025812149048,
-0.1475243717432022,
-0.11105546355247498,
-0.10093013942241669,
0.1547011435031891,
0.0950482189655304,
-0.17930549383163452,
0.24804984033107758,
-0.09098778665065765,
0.09432625770568848,
0.027297243475914,
0.22202950716018677,
-0.39555737376213074,
0.023848500102758408,
-0.3498047888278961,
0.15157628059387207,
-0.2747092843055725,
-0.17383284866809845,
-0.034817494451999664,
-0.02801503613591194,
-0.16662660241127014,
-0.4114099144935608,
-0.18239885568618774,
0.16386568546295166,
0.04379239305853844,
0.16624626517295837,
0.04973948001861572,
-0.31411176919937134,
-0.15278494358062744,
-0.1564212590456009,
-0.0832076221704483,
0.2013847678899765,
-0.2527952194213867,
0.2646631598472595,
0.09330035001039505,
0.03377331420779228,
-0.01639793999493122,
-0.09590043872594833,
0.2916008532047272,
-0.01508009061217308,
-0.27366018295288086,
0.15598410367965698,
-0.019584817811846733,
-0.3409174084663391,
-0.03774414211511612,
0.05372148007154465,
0.010734479874372482,
-0.36796388030052185,
0.034461859613657,
-0.3039223253726959,
-0.25332289934158325,
-0.2132914811372757,
0.11074912548065186,
0.12021929025650024,
-0.19992595911026,
-0.022639073431491852,
0.23363251984119415,
-0.12970758974552155,
-0.06765243411064148,
0.12253433465957642,
-0.0741005465388298,
0.34101104736328125,
0.23601269721984863,
0.10067729651927948,
-0.15220309793949127,
-0.12403352558612823,
0.21636435389518738,
0.27601832151412964,
-0.6088141798973083,
0.27300503849983215,
-0.38336020708084106,
0.3410031199455261,
-0.1097073182463646,
-0.04158230498433113,
0.09223636984825134,
0.005874849855899811,
0.06914371252059937,
-0.3239235579967499,
0.35687255859375,
-0.029797255992889404,
-0.10306625068187714,
-0.0008824765682220459,
0.22437351942062378,
-0.12921549379825592,
0.18478982150554657,
0.006947573274374008,
-0.2764950096607208,
0.34720396995544434,
-0.40006494522094727,
0.28599250316619873,
-0.2948228120803833,
-0.21005699038505554,
-0.1382874697446823,
-0.03472363203763962,
0.02048618532717228,
0.16761459410190582,
-0.16833451390266418,
-0.13853910565376282,
-0.12216240167617798,
0.1301926076412201,
0.1421828418970108,
0.04097334295511246,
-0.30184584856033325,
-0.15657618641853333,
-0.06938149034976959,
0.08142124116420746,
-0.08376874774694443,
-0.09233536571264267,
-0.03792593628168106,
-0.29663845896720886,
0.9610350728034973,
-0.1316661238670349,
-0.5297877192497253,
0.3691503703594208,
-0.16282188892364502,
0.24225439131259918,
-0.17297068238258362,
0.19592320919036865,
0.04869615659117699,
0.008391298353672028,
-0.06498413532972336,
0.23748710751533508,
-0.09746107459068298,
0.12348529696464539,
0.5048983097076416,
-0.5637422800064087,
-0.208673357963562,
0.12308529019355774,
0.4250560402870178,
0.40773820877075195,
-0.33045950531959534,
-0.3456237018108368,
0.08453960716724396,
0.2200939953327179,
0.007625702768564224,
-0.19160480797290802,
0.67952960729599,
0.24281686544418335,
-0.023740865290164948,
0.020528212189674377,
0.1063251942396164,
-0.4345647990703583,
-0.310985267162323,
0.28201282024383545,
0.6285448670387268,
-0.4508976936340332,
0.040945373475551605,
0.005139876157045364,
-0.21108084917068481,
-0.048217613250017166,
0.02918419800698757,
-0.09183530509471893,
0.13660341501235962,
0.1659938246011734,
0.12178388237953186,
0.2340678572654724,
0.2701447904109955,
-0.23776531219482422,
0.16835914552211761,
-0.3180542290210724,
0.5049328804016113,
0.0218534916639328,
0.0645594447851181,
0.0872417613863945,
0.4165179133415222,
0.39919859170913696,
-0.165101557970047,
0.1504734605550766,
-0.4964318871498108,
0.020435389131307602,
-0.12031856924295425,
0.3108071982860565,
-0.11777443438768387,
-0.0793394073843956,
-0.34297916293144226,
0.12511590123176575,
-0.12430797517299652,
0.18611380457878113,
0.22373944520950317,
0.21170680224895477,
-0.012769870460033417,
-0.1451282799243927,
-0.01704489439725876,
0.11029460281133652,
0.16663885116577148,
-0.3701797127723694,
0.18031704425811768,
0.43181777000427246,
-0.23278266191482544,
0.009171901270747185,
0.01179078221321106,
0.3700016140937805,
0.1417441964149475,
-0.24882200360298157,
0.17389065027236938,
0.5621803402900696,
0.004333948716521263,
0.05811195820569992,
0.1289518177509308,
-0.06154213845729828,
0.20185357332229614,
0.4501854181289673,
0.15647423267364502,
-0.1486467868089676,
-0.07426643371582031,
0.07346339523792267,
0.1635623425245285,
-0.05445622652769089,
0.34558752179145813,
-0.14988590776920319,
-0.1950591504573822,
-0.19678238034248352,
-0.1392219364643097,
-0.4002196788787842,
0.11484586447477341,
0.2506115138530731,
-0.20488202571868896,
0.0702442079782486,
-0.2513161897659302,
0.07410892844200134,
-0.27321720123291016,
0.43968772888183594,
0.366043359041214,
-0.1271505355834961,
-0.07116756588220596,
-0.05725259333848953,
-0.4412877857685089,
0.36253657937049866,
-0.2617330551147461,
-0.053660400211811066,
0.22800686955451965,
0.1944107711315155,
-0.1639387607574463,
0.11023988574743271,
-0.09108719229698181,
-0.018788203597068787,
-0.3881550133228302,
0.4668518602848053,
-0.4269672632217407,
-0.014036506414413452,
0.21413452923297882,
0.042860306799411774,
-0.13166971504688263,
-0.15456357598304749,
0.5095722079277039,
-0.02530745044350624,
0.08576100319623947,
0.024503415450453758,
-0.49794548749923706,
0.21374964714050293,
-0.4801153242588043,
0.22288034856319427,
0.2517848610877991,
0.23668505251407623,
-0.06179492920637131,
-0.3055603802204132,
-0.15927961468696594,
-0.21597681939601898,
-0.0977582186460495,
-0.029742270708084106,
0.05465004965662956,
0.4548276960849762,
0.25277215242385864,
-0.24294672906398773,
-0.3225156366825104,
0.41405850648880005,
-0.18931478261947632,
0.4333851635456085,
0.10057397186756134,
-0.06374423950910568,
-0.20124614238739014,
-0.028762051835656166,
-0.07948867231607437,
-0.08925586193799973,
0.19539082050323486,
0.22709695994853973,
0.026930339634418488,
-0.49564382433891296,
0.5753406286239624,
-0.4369828701019287,
-0.23208768665790558,
-0.20985186100006104,
0.47953909635543823,
-0.0744076743721962,
-0.12926161289215088,
-0.15892262756824493,
-0.004381701350212097,
0.3358429968357086,
-0.11961545795202255,
-0.03748827427625656,
0.1214202344417572,
0.14609216153621674,
-0.012715335935354233,
-0.03863123804330826,
0.21481411159038544,
0.06454481184482574,
-0.31445595622062683,
0.35989442467689514,
-0.09878986328840256
] |
https://github.com/huggingface/datasets/issues/4676 | Dataset.map gets stuck on _cast_to_python_objects | Are you able to reproduce this? My example is small enough that it should be easy to try. | ## Describe the bug
`Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows.
Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/huggingface/notebooks/blob/main/examples/question_answering.ipynb , and it did _not_ have this problem. However, I'm at a loss to figure out how it avoids it, as the example below is simple and minimal and still has this problem.
This casting, where it occurs, causes the `Dataset.map` to run approximately 7x slower than it runs for code which does not cause this casting.
This may be related to https://github.com/huggingface/datasets/issues/1046 . However, the tokenizer is _not_ set to return Tensors.
## Steps to reproduce the bug
A minimal, self-contained example to reproduce is below:
```python
import transformers
from transformers import AutoTokenizer
from datasets import load_dataset
import torch
import cProfile
pretrained = 'distilbert-base-uncased'
tokenizer = AutoTokenizer.from_pretrained(pretrained)
squad = load_dataset('squad')
squad_train = squad['train']
squad_tiny = squad_train.select(range(5000))
assert isinstance(tokenizer, transformers.PreTrainedTokenizerFast)
def tokenize(ds):
tokens = tokenizer(text=ds['question'],
text_pair=ds['context'],
add_special_tokens=True,
padding='max_length',
truncation='only_second',
max_length=160,
stride=32,
return_overflowing_tokens=True,
return_offsets_mapping=True,
)
return tokens
cmd = 'squad_tiny.map(tokenize, batched=True, remove_columns=squad_tiny.column_names)'
cProfile.run(cmd, sort='tottime')
```
## Actual results
The code works, but takes 10-25 sec per batch (about 7x slower than non-casting code), with the following profile. Note that `_cast_to_python_objects` is the culprit.
```
63524075 function calls (58206482 primitive calls) in 121.836 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
5274034/40 68.751 0.000 111.060 2.776 features.py:262(_cast_to_python_objects)
42223832 24.077 0.000 33.310 0.000 {built-in method builtins.isinstance}
16338/20 5.121 0.000 111.053 5.553 features.py:361(<listcomp>)
5274135 4.747 0.000 4.749 0.000 {built-in method _abc._abc_instancecheck}
80/40 4.731 0.059 116.292 2.907 {pyarrow.lib.array}
5274135 4.485 0.000 9.234 0.000 abc.py:96(__instancecheck__)
2661564/2645196 2.959 0.000 4.298 0.000 features.py:1081(_check_non_null_non_empty_recursive)
5 2.786 0.557 2.786 0.557 {method 'encode_batch' of 'tokenizers.Tokenizer' objects}
2668052 0.930 0.000 0.930 0.000 {built-in method builtins.len}
5000 0.930 0.000 0.938 0.000 tokenization_utils_fast.py:187(_convert_encoding)
5 0.750 0.150 0.808 0.162 {method 'to_pydict' of 'pyarrow.lib.Table' objects}
1 0.444 0.444 121.749 121.749 arrow_dataset.py:2501(_map_single)
40 0.375 0.009 116.291 2.907 arrow_writer.py:151(__arrow_array__)
10 0.066 0.007 0.066 0.007 {method 'write_batch' of 'pyarrow.lib._CRecordBatchWriter' objects}
1 0.060 0.060 121.835 121.835 fingerprint.py:409(wrapper)
11387/5715 0.049 0.000 0.175 0.000 {built-in method builtins.getattr}
36 0.049 0.001 0.049 0.001 {pyarrow._compute.call_function}
15000 0.040 0.000 0.040 0.000 _collections_abc.py:719(__iter__)
3 0.023 0.008 0.023 0.008 {built-in method _imp.create_dynamic}
77 0.020 0.000 0.020 0.000 {built-in method builtins.dir}
37 0.019 0.001 0.019 0.001 socket.py:543(send)
15 0.017 0.001 0.017 0.001 tokenization_utils_fast.py:460(<listcomp>)
432/421 0.015 0.000 0.024 0.000 traitlets.py:1388(_notify_observers)
5000 0.015 0.000 0.018 0.000 _collections_abc.py:672(keys)
51 0.014 0.000 0.042 0.001 traitlets.py:276(getmembers)
5 0.014 0.003 3.775 0.755 tokenization_utils_fast.py:392(_batch_encode_plus)
3/1 0.014 0.005 0.035 0.035 {built-in method _imp.exec_dynamic}
5 0.012 0.002 0.950 0.190 tokenization_utils_fast.py:438(<listcomp>)
31626 0.012 0.000 0.012 0.000 {method 'append' of 'list' objects}
1532/1001 0.011 0.000 0.189 0.000 traitlets.py:643(get)
5 0.009 0.002 3.796 0.759 arrow_dataset.py:2631(apply_function_on_filtered_inputs)
51 0.009 0.000 0.062 0.001 traitlets.py:1766(traits)
5 0.008 0.002 3.784 0.757 tokenization_utils_base.py:2632(batch_encode_plus)
368 0.007 0.000 0.044 0.000 traitlets.py:1715(_get_trait_default_generator)
26 0.007 0.000 0.022 0.001 traitlets.py:1186(setup_instance)
51 0.006 0.000 0.010 0.000 traitlets.py:1781(<listcomp>)
80/32 0.006 0.000 0.052 0.002 table.py:1758(cast_array_to_feature)
684 0.006 0.000 0.007 0.000 {method 'items' of 'dict' objects}
4344/1794 0.006 0.000 0.192 0.000 traitlets.py:675(__get__)
...
```
## Environment info
I observed this on both Google colab and my local workstation:
### Google colab
- `datasets` version: 2.3.2
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- PyArrow version: 6.0.1
- Pandas version: 1.3.5
### Local
- `datasets` version: 2.3.2
- Platform: Windows-7-6.1.7601-SP1
- Python version: 3.8.10
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
| 18 | Dataset.map gets stuck on _cast_to_python_objects
## Describe the bug
`Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows.
Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/huggingface/notebooks/blob/main/examples/question_answering.ipynb , and it did _not_ have this problem. However, I'm at a loss to figure out how it avoids it, as the example below is simple and minimal and still has this problem.
This casting, where it occurs, causes the `Dataset.map` to run approximately 7x slower than it runs for code which does not cause this casting.
This may be related to https://github.com/huggingface/datasets/issues/1046 . However, the tokenizer is _not_ set to return Tensors.
## Steps to reproduce the bug
A minimal, self-contained example to reproduce is below:
```python
import transformers
from transformers import AutoTokenizer
from datasets import load_dataset
import torch
import cProfile
pretrained = 'distilbert-base-uncased'
tokenizer = AutoTokenizer.from_pretrained(pretrained)
squad = load_dataset('squad')
squad_train = squad['train']
squad_tiny = squad_train.select(range(5000))
assert isinstance(tokenizer, transformers.PreTrainedTokenizerFast)
def tokenize(ds):
tokens = tokenizer(text=ds['question'],
text_pair=ds['context'],
add_special_tokens=True,
padding='max_length',
truncation='only_second',
max_length=160,
stride=32,
return_overflowing_tokens=True,
return_offsets_mapping=True,
)
return tokens
cmd = 'squad_tiny.map(tokenize, batched=True, remove_columns=squad_tiny.column_names)'
cProfile.run(cmd, sort='tottime')
```
## Actual results
The code works, but takes 10-25 sec per batch (about 7x slower than non-casting code), with the following profile. Note that `_cast_to_python_objects` is the culprit.
```
63524075 function calls (58206482 primitive calls) in 121.836 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
5274034/40 68.751 0.000 111.060 2.776 features.py:262(_cast_to_python_objects)
42223832 24.077 0.000 33.310 0.000 {built-in method builtins.isinstance}
16338/20 5.121 0.000 111.053 5.553 features.py:361(<listcomp>)
5274135 4.747 0.000 4.749 0.000 {built-in method _abc._abc_instancecheck}
80/40 4.731 0.059 116.292 2.907 {pyarrow.lib.array}
5274135 4.485 0.000 9.234 0.000 abc.py:96(__instancecheck__)
2661564/2645196 2.959 0.000 4.298 0.000 features.py:1081(_check_non_null_non_empty_recursive)
5 2.786 0.557 2.786 0.557 {method 'encode_batch' of 'tokenizers.Tokenizer' objects}
2668052 0.930 0.000 0.930 0.000 {built-in method builtins.len}
5000 0.930 0.000 0.938 0.000 tokenization_utils_fast.py:187(_convert_encoding)
5 0.750 0.150 0.808 0.162 {method 'to_pydict' of 'pyarrow.lib.Table' objects}
1 0.444 0.444 121.749 121.749 arrow_dataset.py:2501(_map_single)
40 0.375 0.009 116.291 2.907 arrow_writer.py:151(__arrow_array__)
10 0.066 0.007 0.066 0.007 {method 'write_batch' of 'pyarrow.lib._CRecordBatchWriter' objects}
1 0.060 0.060 121.835 121.835 fingerprint.py:409(wrapper)
11387/5715 0.049 0.000 0.175 0.000 {built-in method builtins.getattr}
36 0.049 0.001 0.049 0.001 {pyarrow._compute.call_function}
15000 0.040 0.000 0.040 0.000 _collections_abc.py:719(__iter__)
3 0.023 0.008 0.023 0.008 {built-in method _imp.create_dynamic}
77 0.020 0.000 0.020 0.000 {built-in method builtins.dir}
37 0.019 0.001 0.019 0.001 socket.py:543(send)
15 0.017 0.001 0.017 0.001 tokenization_utils_fast.py:460(<listcomp>)
432/421 0.015 0.000 0.024 0.000 traitlets.py:1388(_notify_observers)
5000 0.015 0.000 0.018 0.000 _collections_abc.py:672(keys)
51 0.014 0.000 0.042 0.001 traitlets.py:276(getmembers)
5 0.014 0.003 3.775 0.755 tokenization_utils_fast.py:392(_batch_encode_plus)
3/1 0.014 0.005 0.035 0.035 {built-in method _imp.exec_dynamic}
5 0.012 0.002 0.950 0.190 tokenization_utils_fast.py:438(<listcomp>)
31626 0.012 0.000 0.012 0.000 {method 'append' of 'list' objects}
1532/1001 0.011 0.000 0.189 0.000 traitlets.py:643(get)
5 0.009 0.002 3.796 0.759 arrow_dataset.py:2631(apply_function_on_filtered_inputs)
51 0.009 0.000 0.062 0.001 traitlets.py:1766(traits)
5 0.008 0.002 3.784 0.757 tokenization_utils_base.py:2632(batch_encode_plus)
368 0.007 0.000 0.044 0.000 traitlets.py:1715(_get_trait_default_generator)
26 0.007 0.000 0.022 0.001 traitlets.py:1186(setup_instance)
51 0.006 0.000 0.010 0.000 traitlets.py:1781(<listcomp>)
80/32 0.006 0.000 0.052 0.002 table.py:1758(cast_array_to_feature)
684 0.006 0.000 0.007 0.000 {method 'items' of 'dict' objects}
4344/1794 0.006 0.000 0.192 0.000 traitlets.py:675(__get__)
...
```
## Environment info
I observed this on both Google colab and my local workstation:
### Google colab
- `datasets` version: 2.3.2
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- PyArrow version: 6.0.1
- Pandas version: 1.3.5
### Local
- `datasets` version: 2.3.2
- Platform: Windows-7-6.1.7601-SP1
- Python version: 3.8.10
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
Are you able to reproduce this? My example is small enough that it should be easy to try. | [
-0.19857273995876312,
-0.31085896492004395,
0.1077575832605362,
0.21380633115768433,
0.4472837448120117,
0.020685873925685883,
0.052085742354393005,
0.1691586822271347,
-0.17445799708366394,
0.0026284009218215942,
0.08085259795188904,
0.4416099786758423,
-0.17229820787906647,
-0.21829798817634583,
-0.1370740830898285,
-0.06048624962568283,
0.1563604325056076,
0.014420866966247559,
-0.021366678178310394,
-0.09952303767204285,
-0.18828628957271576,
0.1998559981584549,
-0.15735241770744324,
0.027144305408000946,
-0.2920379340648651,
-0.20801250636577606,
0.1287490576505661,
-0.31433582305908203,
-0.19824375212192535,
-0.2438431829214096,
0.19835655391216278,
0.017011292278766632,
-0.0255601666867733,
0.3748725950717926,
-0.0001258271950064227,
-0.0017847642302513123,
0.04816871136426926,
0.2950875461101532,
0.03357557952404022,
0.033076539635658264,
0.14061331748962402,
0.013441687449812889,
0.07509907335042953,
-0.03071650117635727,
-0.019719451665878296,
0.07525170594453812,
0.16369420289993286,
-0.22030659019947052,
0.3976842164993286,
0.15867821872234344,
0.07425015419721603,
0.782170295715332,
-0.1810450404882431,
0.09422078728675842,
-0.16865113377571106,
0.12454383075237274,
-0.15005844831466675,
-0.03692615032196045,
0.0929451733827591,
0.1620047390460968,
-0.11621791869401932,
0.06892077624797821,
-0.39632296562194824,
-0.4058930277824402,
0.30792999267578125,
-0.11446505039930344,
-0.16602835059165955,
-0.525894045829773,
0.12590837478637695,
0.1651139110326767,
0.2310430109500885,
-0.23841255903244019,
-0.10669808834791183,
-0.38451138138771057,
0.14140480756759644,
0.21748946607112885,
0.16830824315547943,
-0.1392594277858734,
0.04792765900492668,
0.025982506573200226,
-0.6583473682403564,
0.16611039638519287,
0.12237018346786499,
0.09322316944599152,
-0.21273761987686157,
0.00983496755361557,
0.0018883072771131992,
0.2758117914199829,
0.1144634485244751,
-0.09760957956314087,
-0.3304125666618347,
-0.28475213050842285,
0.011998366564512253,
0.22913682460784912,
-0.3270466923713684,
-0.18138253688812256,
0.2958376705646515,
0.11548388749361038,
0.0006654020398855209,
0.09848062694072723,
-0.2005235254764557,
0.23017266392707825,
0.04102499410510063,
-0.004158928990364075,
0.4801265299320221,
0.08759929239749908,
0.008890926837921143,
0.28243255615234375,
0.23276115953922272,
-0.17840726673603058,
-0.18232204020023346,
0.2072034478187561,
-0.1279343217611313,
-0.0018085283227264881,
0.22329004108905792,
-0.2013247013092041,
0.2768147587776184,
-0.0007524304091930389,
-0.02931179292500019,
0.34407275915145874,
-0.3549901843070984,
0.4550001621246338,
0.3363357484340668,
0.2670011520385742,
-0.20554599165916443,
0.1746586263179779,
0.09465311467647552,
0.015296239405870438,
-0.1943577527999878,
0.1941571682691574,
-0.16279233992099762,
-0.21824254095554352,
-0.07880391925573349,
-0.06574960798025131,
0.0481412298977375,
0.07416757196187973,
-0.0033296882174909115,
0.13702045381069183,
0.3392685651779175,
-0.004889339208602905,
0.051061056554317474,
-0.08621014654636383,
0.1343604475259781,
0.27924978733062744,
-0.28170648217201233,
0.5301240682601929,
0.025611603632569313,
-0.2122562974691391,
-0.44964659214019775,
-0.08240539580583572,
-0.07300572842359543,
-0.04136298596858978,
0.23903459310531616,
0.1077621728181839,
-0.3227100968360901,
0.07243803143501282,
-0.3283449113368988,
0.10978473722934723,
0.20799922943115234,
0.07519632577896118,
0.16107890009880066,
-0.5056889057159424,
-0.31027939915657043,
-0.11968152970075607,
0.35887935757637024,
0.25339946150779724,
0.2096034586429596,
-0.22297075390815735,
-0.02173364907503128,
-0.06105242297053337,
0.07263979315757751,
0.3651009202003479,
0.040770091116428375,
0.4691639840602875,
-0.3277805745601654,
0.2482459396123886,
0.16748455166816711,
-0.22599776089191437,
-0.4598308503627777,
0.1541830599308014,
-0.3351256847381592,
0.22823072969913483,
-0.05843528360128403,
0.20382367074489594,
0.40515097975730896,
-0.14682720601558685,
0.045775458216667175,
0.32902467250823975,
-0.28939172625541687,
0.27497005462646484,
-0.10386839509010315,
-0.04129965603351593,
-0.054619185626506805,
0.0662422627210617,
-0.04091836139559746,
0.026192307472229004,
-0.2475910186767578,
0.29628050327301025,
0.004303433001041412,
0.15530046820640564,
-0.03158602863550186,
0.2599870562553406,
0.249533548951149,
-0.049087248742580414,
-0.0751011073589325,
-0.2345547080039978,
-0.44103461503982544,
0.20106536149978638,
0.4714528024196625,
0.08248081803321838,
-0.03161734342575073,
-0.2685389518737793,
-0.04008927941322327,
0.2991943359375,
-0.1847812831401825,
0.230409637093544,
-0.06190815567970276,
-0.26832911372184753,
0.20609265565872192,
0.12956245243549347,
0.08239157497882843,
-0.12676666676998138,
0.034082576632499695,
0.20520581305027008,
-0.5017535090446472,
0.025978760793805122,
0.15012569725513458,
-0.07958590239286423,
-0.22492043673992157,
0.17953455448150635,
0.15100723505020142,
-0.14032012224197388,
0.09603752940893173,
0.007452394813299179,
0.006274387240409851,
0.13539449870586395,
-0.2951868772506714,
0.4778095483779907,
0.2103307992219925,
-0.17966532707214355,
-0.1626884788274765,
0.16735388338565826,
0.015658561140298843,
-0.15288427472114563,
0.10849295556545258,
0.3658451735973358,
0.09150312095880508,
0.4400782883167267,
-0.12418452650308609,
0.10867530852556229,
-0.037326518446207047,
0.10467645525932312,
-0.3656548261642456,
-0.03207070380449295,
0.17925488948822021,
0.23115043342113495,
0.4279037117958069,
0.3445310890674591,
-0.1495245099067688,
0.3812818229198456,
0.6750516891479492,
-0.17184416949748993,
-0.1569061279296875,
0.19759231805801392,
-0.23242560029029846,
0.06529004871845245,
-0.0047150831669569016,
-0.06165182217955589,
0.16477283835411072,
0.05601758509874344,
0.3356893062591553,
0.03202454745769501,
-0.1547420769929886,
-0.06755997985601425,
0.13472293317317963,
0.3254316449165344,
-0.10785212367773056,
-0.016795039176940918,
0.0652332752943039,
0.19025065004825592,
-0.2569936215877533,
-0.018739040940999985,
-0.19028174877166748,
0.18534743785858154,
-0.16582229733467102,
0.2538367211818695,
-0.3633829653263092,
0.23198312520980835,
-0.2937632203102112,
-0.07417599856853485,
-0.24260473251342773,
-0.4625779688358307,
-0.06725361198186874,
0.3283192217350006,
-0.23627793788909912,
0.34014686942100525,
0.08493119478225708,
0.05077916383743286,
0.025650350376963615,
-0.31409546732902527,
-0.3116731643676758,
-0.012134892866015434,
-0.12297069281339645,
-0.13405495882034302,
0.33402204513549805,
-0.38563865423202515,
0.3370487689971924,
0.017923003062605858,
-0.14753614366054535,
-0.14855051040649414,
-0.4889216721057892,
0.11598823219537735,
-0.14698326587677002,
0.30045369267463684,
0.14576011896133423,
0.26732683181762695,
-0.1712409406900406,
-0.2134137600660324,
0.17964404821395874,
-0.29625922441482544,
-0.19884172081947327,
0.21072594821453094,
-0.039765749126672745,
-0.1301126331090927,
-0.08374643325805664,
0.039062973111867905,
0.09504905343055725,
-0.14940020442008972,
0.6328098177909851,
-0.38445889949798584,
-0.0969896912574768,
0.10964508354663849,
0.26509368419647217,
0.26438066363334656,
-0.29754242300987244,
0.03727274388074875,
-0.0413571298122406,
-0.24677203595638275,
0.4540944993495941,
0.1388806700706482,
-0.15073253214359283,
-0.2384508103132248,
-0.10113892704248428,
-0.019817795604467392,
0.07372969388961792,
-0.5107650756835938,
-0.14227427542209625,
-0.41831955313682556,
0.4479522705078125,
-0.012067634612321854,
-0.059826143085956573,
0.29574111104011536,
0.10979967564344406,
0.04201768338680267,
0.07887456566095352,
-0.14431239664554596,
0.07216867804527283,
-0.0005671344697475433,
-0.18432629108428955,
-0.02853899449110031,
0.5980507731437683,
0.13382844626903534,
0.6021789908409119,
0.280595600605011,
-0.3199312686920166,
-0.07888072729110718,
-0.0470954030752182,
0.2651394307613373,
-0.3190622627735138,
-0.34285005927085876,
0.015576259233057499,
-0.14583730697631836,
-0.2689526081085205,
0.037472039461135864,
0.10318118333816528,
-0.09393388777971268,
0.3390497863292694,
-0.013379164040088654,
0.041253894567489624,
-0.5557273626327515,
0.12826566398143768,
-0.06620080024003983,
-0.1450369656085968,
0.0920773297548294,
0.19338881969451904,
-0.30712321400642395,
-0.06819412112236023,
0.10613022744655609,
0.03790590539574623,
0.30696824193000793,
-0.002121265511959791,
-0.6750514507293701,
-0.31153473258018494,
-0.513572633266449,
0.09022384881973267,
0.004525733180344105,
0.2789490222930908,
-0.05850747972726822,
-0.11479371786117554,
0.3291664719581604,
-0.0039671375416219234,
0.8791699409484863,
0.33558860421180725,
0.07706056535243988,
0.020144354552030563,
-0.3146366477012634,
-0.3795992434024811,
0.16413888335227966,
0.15496501326560974,
0.21902874112129211,
0.4436371922492981,
0.656320333480835,
-0.3763692080974579,
-0.1665111929178238,
0.11307687312364578,
0.2732827365398407,
-0.03744533658027649,
0.06361136585474014,
-0.19079658389091492,
-0.3345325291156769,
-0.20557193458080292,
0.30548641085624695,
0.35803911089897156,
-0.024275392293930054,
0.1743769347667694,
-0.2566204369068146,
-0.13435256481170654,
-0.11493135988712311,
0.16957548260688782,
0.020337846130132675,
0.003927208948880434,
0.04421761631965637,
0.6553427577018738,
0.19628408551216125,
-0.2671981453895569,
-0.03643258661031723,
0.3515284061431885,
0.0679381936788559,
-0.5526391863822937,
-0.02635544165968895,
0.4711049795150757,
0.39762064814567566,
0.43598905205726624,
-0.06066802516579628,
0.1862822324037552,
-0.002140190452337265,
0.34302037954330444,
-0.42038285732269287,
0.40168413519859314,
0.3989819288253784,
0.21935270726680756,
-0.35074639320373535,
-0.1314329206943512,
0.25650084018707275,
0.20902372896671295,
-0.04787105694413185,
0.39337316155433655,
0.18818596005439758,
-0.2833104431629181,
0.33738547563552856,
0.07106930017471313,
1.0795737504959106,
-0.3405837416648865,
0.13976383209228516,
0.2753645181655884,
-0.06549753248691559,
0.5020322799682617,
-0.20971114933490753,
-0.024447258561849594,
-0.34004655480384827,
-0.1453164517879486,
0.14039845764636993,
-0.07370319962501526,
-0.0749872550368309,
0.09889572858810425,
0.0042848289012908936,
-0.20066002011299133,
0.017962388694286346,
0.6270859241485596,
0.0175302904099226,
0.26999926567077637,
0.1911405473947525,
-0.4791802763938904,
-0.2701752781867981,
0.06669960916042328,
0.11553595960140228,
0.013926882296800613,
0.05834706872701645,
0.10311052203178406,
-0.057730782777071,
-0.2810586094856262,
-0.24690797924995422,
-0.059447042644023895,
-0.2642481029033661,
0.008814239874482155,
0.33144357800483704,
0.026154331862926483,
0.24678486585617065,
0.412786602973938,
0.09690182656049728,
0.37819257378578186,
-0.04157857596874237,
0.34367287158966064,
-0.005714245140552521,
0.1154857650399208,
0.3053194284439087,
-0.37224775552749634,
0.06285317987203598,
0.18332329392433167,
0.03546745330095291,
-0.24658384919166565,
-0.04102912172675133,
0.039040789008140564,
-0.17534089088439941,
-0.021428607404232025,
0.21938693523406982,
-0.38750800490379333,
-0.03547336533665657,
-0.027429871261119843,
0.2074124962091446,
-0.20298020541667938,
0.022832106798887253,
-0.011360883712768555,
-0.04268743097782135,
0.2725718319416046,
-0.11608889698982239,
-0.1890246421098709,
-0.04827102646231651,
0.5493298768997192,
-0.2012448012828827,
0.009019378572702408,
0.44766712188720703,
0.09992864727973938,
-0.26395732164382935,
-0.11325514316558838,
0.36680567264556885,
0.25481200218200684,
-0.48411259055137634,
0.19001057744026184,
-0.0790904089808464,
-0.22572734951972961,
-0.22991833090782166,
0.0493292361497879,
-0.24875877797603607,
-0.6784194111824036,
-0.16911694407463074,
-0.16452842950820923,
-0.5304524302482605,
0.21104569733142853,
0.14746741950511932,
0.17626148462295532,
0.07210499048233032,
0.33230188488960266,
-0.3255845606327057,
0.14848284423351288,
-0.18963707983493805,
-0.3294217586517334,
-0.2749606966972351,
0.19680415093898773,
-0.036593638360500336,
-0.27966177463531494,
0.15011529624462128,
-0.2996867001056671,
0.02506783790886402,
0.10698627680540085,
-0.059233956038951874,
-0.10495688766241074,
-0.30211517214775085,
0.18039055168628693,
0.09748990088701248,
-0.17433585226535797,
0.21728515625,
0.05874710530042648,
-0.005486512556672096,
-0.639593243598938,
0.1978456676006317,
0.2186894714832306,
0.0255911722779274,
-0.2599274218082428,
0.24821427464485168,
0.2317703664302826,
0.19064752757549286,
0.08138646185398102,
0.07878372073173523,
0.09892074018716812,
0.08389779925346375,
0.25587978959083557,
-0.047765810042619705,
0.045516237616539,
0.060225293040275574,
0.27072110772132874,
0.4669758081436157,
-0.06794707477092743,
0.2612263560295105,
-0.014430403709411621,
-0.19315935671329498,
0.3090989291667938,
0.050117604434490204,
0.33818671107292175,
-0.15282770991325378,
-0.3879077732563019,
0.22011816501617432,
0.02136054076254368,
0.030945781618356705,
-0.185425266623497,
0.5938164591789246,
-0.1487279087305069,
0.04206114634871483,
0.18842938542366028,
-0.2808401584625244,
0.1293851137161255,
0.23674404621124268,
-0.017595326527953148,
0.7456458806991577,
-0.06904751807451248,
0.2640606164932251,
-0.0591680146753788,
0.048559125512838364,
0.022736206650733948,
0.14168304204940796,
0.18821825087070465,
0.3031378984451294,
-0.013316601514816284,
-0.03044455498456955,
0.1991015076637268,
-0.31884971261024475,
0.11317554116249084,
0.2879771292209625,
-0.3073578476905823,
-0.036867301911115646,
0.08160804957151413,
-0.2296026647090912,
0.23362445831298828,
0.055398643016815186,
0.17288203537464142,
-0.2532207667827606,
-0.29654425382614136,
-0.16502410173416138,
0.44165441393852234,
-0.3045414090156555,
-0.12946857511997223,
0.060274846851825714,
0.14730674028396606,
-0.09408096224069595,
0.13589036464691162,
-0.023679252713918686,
-0.19794626533985138,
0.1773071587085724,
-0.055861711502075195,
0.07705695182085037,
-0.0857352688908577,
-0.34152618050575256,
-0.30860427021980286,
0.19760946929454803,
-0.2629241347312927,
0.1925160139799118,
-0.3391077518463135,
0.07390430569648743,
-0.08854039013385773,
0.005861049517989159,
0.34647709131240845,
0.1857241839170456,
-0.18096521496772766,
0.31567254662513733,
-0.15544557571411133,
-0.016762135550379753,
-0.20064379274845123,
0.44503170251846313,
-0.40754249691963196,
0.12752455472946167,
-0.12142322957515717,
-0.010828397236764431,
-0.1622944176197052,
-0.48898011445999146,
-0.10808083415031433,
0.14554481208324432,
-0.0596732571721077,
0.3450081944465637,
-0.17465442419052124,
-0.20544558763504028,
-0.14007285237312317,
0.08909280598163605,
-0.06408464908599854,
-0.029738832265138626,
0.25745877623558044,
-0.19964919984340668,
-0.0033041629940271378,
-0.2653299570083618,
0.03252397105097771,
0.05098455399274826,
0.5061958432197571,
0.3166138231754303,
0.0984845981001854,
-0.3681977093219757,
-0.029455922544002533,
-0.5369013547897339,
0.06038429215550423,
0.12449322640895844,
0.02305893786251545,
0.2460484355688095,
-0.02548205479979515,
0.0347294956445694,
0.11602349579334259,
-0.027889952063560486,
-0.05988529324531555,
-0.012193232774734497,
0.14033243060112,
0.12576650083065033,
-0.06381502747535706,
-0.3864617943763733,
-0.19353103637695312,
0.062385380268096924,
-0.31752118468284607,
0.3791373670101166,
-0.1340322196483612,
-0.04109358787536621,
-0.09030584990978241,
-0.05788483843207359,
-0.21366707980632782,
-0.17623355984687805,
0.32903018593788147,
0.3273833990097046,
0.10237523168325424,
-0.07593679428100586,
-0.1228347048163414,
-0.1022118628025055,
-0.012554498389363289,
-0.3379484713077545,
0.03234897553920746,
-0.38402241468429565,
0.1864362508058548,
-0.1544865071773529,
0.07938200235366821,
-0.2923645079135895,
-0.33536261320114136,
0.2500022053718567,
-0.2799164652824402,
-0.2054031491279602,
0.3331497013568878,
-0.39487987756729126,
0.523158609867096,
-0.037853751331567764,
0.3861062824726105,
0.19554172456264496,
0.4125017523765564,
-0.3077686131000519,
-0.3913087844848633,
0.5668402910232544,
-0.592167854309082,
-0.25343868136405945,
0.02891789749264717,
0.12581852078437805,
-0.0002885088324546814,
-0.22598528861999512,
-0.5894650816917419,
-0.21950022876262665,
0.21020524203777313,
-0.1870141625404358,
-0.2681828737258911,
0.2011876404285431,
-0.07772290706634521,
-0.14604000747203827,
-0.2514541745185852,
0.6082690954208374,
-0.03247830271720886,
-0.1275635063648224,
0.514148473739624,
-0.054861657321453094
] |
https://github.com/huggingface/datasets/issues/4676 | Dataset.map gets stuck on _cast_to_python_objects | Hi! Thanks for reporting and providing a reproducible example. Indeed, by default, `datasets` performs an expensive cast on the values returned by `map` to convert them to one of the types supported by PyArrow (the underlying storage format used by `datasets`). This cast is not needed on NumPy arrays as PyArrow supports them natively, so one way to make this transform faster is to add `return_tensors="np"` to the tokenizer call.
I think we should mention this in the docs (cc @stevhliu) | ## Describe the bug
`Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows.
Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/huggingface/notebooks/blob/main/examples/question_answering.ipynb , and it did _not_ have this problem. However, I'm at a loss to figure out how it avoids it, as the example below is simple and minimal and still has this problem.
This casting, where it occurs, causes the `Dataset.map` to run approximately 7x slower than it runs for code which does not cause this casting.
This may be related to https://github.com/huggingface/datasets/issues/1046 . However, the tokenizer is _not_ set to return Tensors.
## Steps to reproduce the bug
A minimal, self-contained example to reproduce is below:
```python
import transformers
from transformers import AutoTokenizer
from datasets import load_dataset
import torch
import cProfile
pretrained = 'distilbert-base-uncased'
tokenizer = AutoTokenizer.from_pretrained(pretrained)
squad = load_dataset('squad')
squad_train = squad['train']
squad_tiny = squad_train.select(range(5000))
assert isinstance(tokenizer, transformers.PreTrainedTokenizerFast)
def tokenize(ds):
tokens = tokenizer(text=ds['question'],
text_pair=ds['context'],
add_special_tokens=True,
padding='max_length',
truncation='only_second',
max_length=160,
stride=32,
return_overflowing_tokens=True,
return_offsets_mapping=True,
)
return tokens
cmd = 'squad_tiny.map(tokenize, batched=True, remove_columns=squad_tiny.column_names)'
cProfile.run(cmd, sort='tottime')
```
## Actual results
The code works, but takes 10-25 sec per batch (about 7x slower than non-casting code), with the following profile. Note that `_cast_to_python_objects` is the culprit.
```
63524075 function calls (58206482 primitive calls) in 121.836 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
5274034/40 68.751 0.000 111.060 2.776 features.py:262(_cast_to_python_objects)
42223832 24.077 0.000 33.310 0.000 {built-in method builtins.isinstance}
16338/20 5.121 0.000 111.053 5.553 features.py:361(<listcomp>)
5274135 4.747 0.000 4.749 0.000 {built-in method _abc._abc_instancecheck}
80/40 4.731 0.059 116.292 2.907 {pyarrow.lib.array}
5274135 4.485 0.000 9.234 0.000 abc.py:96(__instancecheck__)
2661564/2645196 2.959 0.000 4.298 0.000 features.py:1081(_check_non_null_non_empty_recursive)
5 2.786 0.557 2.786 0.557 {method 'encode_batch' of 'tokenizers.Tokenizer' objects}
2668052 0.930 0.000 0.930 0.000 {built-in method builtins.len}
5000 0.930 0.000 0.938 0.000 tokenization_utils_fast.py:187(_convert_encoding)
5 0.750 0.150 0.808 0.162 {method 'to_pydict' of 'pyarrow.lib.Table' objects}
1 0.444 0.444 121.749 121.749 arrow_dataset.py:2501(_map_single)
40 0.375 0.009 116.291 2.907 arrow_writer.py:151(__arrow_array__)
10 0.066 0.007 0.066 0.007 {method 'write_batch' of 'pyarrow.lib._CRecordBatchWriter' objects}
1 0.060 0.060 121.835 121.835 fingerprint.py:409(wrapper)
11387/5715 0.049 0.000 0.175 0.000 {built-in method builtins.getattr}
36 0.049 0.001 0.049 0.001 {pyarrow._compute.call_function}
15000 0.040 0.000 0.040 0.000 _collections_abc.py:719(__iter__)
3 0.023 0.008 0.023 0.008 {built-in method _imp.create_dynamic}
77 0.020 0.000 0.020 0.000 {built-in method builtins.dir}
37 0.019 0.001 0.019 0.001 socket.py:543(send)
15 0.017 0.001 0.017 0.001 tokenization_utils_fast.py:460(<listcomp>)
432/421 0.015 0.000 0.024 0.000 traitlets.py:1388(_notify_observers)
5000 0.015 0.000 0.018 0.000 _collections_abc.py:672(keys)
51 0.014 0.000 0.042 0.001 traitlets.py:276(getmembers)
5 0.014 0.003 3.775 0.755 tokenization_utils_fast.py:392(_batch_encode_plus)
3/1 0.014 0.005 0.035 0.035 {built-in method _imp.exec_dynamic}
5 0.012 0.002 0.950 0.190 tokenization_utils_fast.py:438(<listcomp>)
31626 0.012 0.000 0.012 0.000 {method 'append' of 'list' objects}
1532/1001 0.011 0.000 0.189 0.000 traitlets.py:643(get)
5 0.009 0.002 3.796 0.759 arrow_dataset.py:2631(apply_function_on_filtered_inputs)
51 0.009 0.000 0.062 0.001 traitlets.py:1766(traits)
5 0.008 0.002 3.784 0.757 tokenization_utils_base.py:2632(batch_encode_plus)
368 0.007 0.000 0.044 0.000 traitlets.py:1715(_get_trait_default_generator)
26 0.007 0.000 0.022 0.001 traitlets.py:1186(setup_instance)
51 0.006 0.000 0.010 0.000 traitlets.py:1781(<listcomp>)
80/32 0.006 0.000 0.052 0.002 table.py:1758(cast_array_to_feature)
684 0.006 0.000 0.007 0.000 {method 'items' of 'dict' objects}
4344/1794 0.006 0.000 0.192 0.000 traitlets.py:675(__get__)
...
```
## Environment info
I observed this on both Google colab and my local workstation:
### Google colab
- `datasets` version: 2.3.2
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- PyArrow version: 6.0.1
- Pandas version: 1.3.5
### Local
- `datasets` version: 2.3.2
- Platform: Windows-7-6.1.7601-SP1
- Python version: 3.8.10
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
| 81 | Dataset.map gets stuck on _cast_to_python_objects
## Describe the bug
`Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows.
Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/huggingface/notebooks/blob/main/examples/question_answering.ipynb , and it did _not_ have this problem. However, I'm at a loss to figure out how it avoids it, as the example below is simple and minimal and still has this problem.
This casting, where it occurs, causes the `Dataset.map` to run approximately 7x slower than it runs for code which does not cause this casting.
This may be related to https://github.com/huggingface/datasets/issues/1046 . However, the tokenizer is _not_ set to return Tensors.
## Steps to reproduce the bug
A minimal, self-contained example to reproduce is below:
```python
import transformers
from transformers import AutoTokenizer
from datasets import load_dataset
import torch
import cProfile
pretrained = 'distilbert-base-uncased'
tokenizer = AutoTokenizer.from_pretrained(pretrained)
squad = load_dataset('squad')
squad_train = squad['train']
squad_tiny = squad_train.select(range(5000))
assert isinstance(tokenizer, transformers.PreTrainedTokenizerFast)
def tokenize(ds):
tokens = tokenizer(text=ds['question'],
text_pair=ds['context'],
add_special_tokens=True,
padding='max_length',
truncation='only_second',
max_length=160,
stride=32,
return_overflowing_tokens=True,
return_offsets_mapping=True,
)
return tokens
cmd = 'squad_tiny.map(tokenize, batched=True, remove_columns=squad_tiny.column_names)'
cProfile.run(cmd, sort='tottime')
```
## Actual results
The code works, but takes 10-25 sec per batch (about 7x slower than non-casting code), with the following profile. Note that `_cast_to_python_objects` is the culprit.
```
63524075 function calls (58206482 primitive calls) in 121.836 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
5274034/40 68.751 0.000 111.060 2.776 features.py:262(_cast_to_python_objects)
42223832 24.077 0.000 33.310 0.000 {built-in method builtins.isinstance}
16338/20 5.121 0.000 111.053 5.553 features.py:361(<listcomp>)
5274135 4.747 0.000 4.749 0.000 {built-in method _abc._abc_instancecheck}
80/40 4.731 0.059 116.292 2.907 {pyarrow.lib.array}
5274135 4.485 0.000 9.234 0.000 abc.py:96(__instancecheck__)
2661564/2645196 2.959 0.000 4.298 0.000 features.py:1081(_check_non_null_non_empty_recursive)
5 2.786 0.557 2.786 0.557 {method 'encode_batch' of 'tokenizers.Tokenizer' objects}
2668052 0.930 0.000 0.930 0.000 {built-in method builtins.len}
5000 0.930 0.000 0.938 0.000 tokenization_utils_fast.py:187(_convert_encoding)
5 0.750 0.150 0.808 0.162 {method 'to_pydict' of 'pyarrow.lib.Table' objects}
1 0.444 0.444 121.749 121.749 arrow_dataset.py:2501(_map_single)
40 0.375 0.009 116.291 2.907 arrow_writer.py:151(__arrow_array__)
10 0.066 0.007 0.066 0.007 {method 'write_batch' of 'pyarrow.lib._CRecordBatchWriter' objects}
1 0.060 0.060 121.835 121.835 fingerprint.py:409(wrapper)
11387/5715 0.049 0.000 0.175 0.000 {built-in method builtins.getattr}
36 0.049 0.001 0.049 0.001 {pyarrow._compute.call_function}
15000 0.040 0.000 0.040 0.000 _collections_abc.py:719(__iter__)
3 0.023 0.008 0.023 0.008 {built-in method _imp.create_dynamic}
77 0.020 0.000 0.020 0.000 {built-in method builtins.dir}
37 0.019 0.001 0.019 0.001 socket.py:543(send)
15 0.017 0.001 0.017 0.001 tokenization_utils_fast.py:460(<listcomp>)
432/421 0.015 0.000 0.024 0.000 traitlets.py:1388(_notify_observers)
5000 0.015 0.000 0.018 0.000 _collections_abc.py:672(keys)
51 0.014 0.000 0.042 0.001 traitlets.py:276(getmembers)
5 0.014 0.003 3.775 0.755 tokenization_utils_fast.py:392(_batch_encode_plus)
3/1 0.014 0.005 0.035 0.035 {built-in method _imp.exec_dynamic}
5 0.012 0.002 0.950 0.190 tokenization_utils_fast.py:438(<listcomp>)
31626 0.012 0.000 0.012 0.000 {method 'append' of 'list' objects}
1532/1001 0.011 0.000 0.189 0.000 traitlets.py:643(get)
5 0.009 0.002 3.796 0.759 arrow_dataset.py:2631(apply_function_on_filtered_inputs)
51 0.009 0.000 0.062 0.001 traitlets.py:1766(traits)
5 0.008 0.002 3.784 0.757 tokenization_utils_base.py:2632(batch_encode_plus)
368 0.007 0.000 0.044 0.000 traitlets.py:1715(_get_trait_default_generator)
26 0.007 0.000 0.022 0.001 traitlets.py:1186(setup_instance)
51 0.006 0.000 0.010 0.000 traitlets.py:1781(<listcomp>)
80/32 0.006 0.000 0.052 0.002 table.py:1758(cast_array_to_feature)
684 0.006 0.000 0.007 0.000 {method 'items' of 'dict' objects}
4344/1794 0.006 0.000 0.192 0.000 traitlets.py:675(__get__)
...
```
## Environment info
I observed this on both Google colab and my local workstation:
### Google colab
- `datasets` version: 2.3.2
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- PyArrow version: 6.0.1
- Pandas version: 1.3.5
### Local
- `datasets` version: 2.3.2
- Platform: Windows-7-6.1.7601-SP1
- Python version: 3.8.10
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
Hi! Thanks for reporting and providing a reproducible example. Indeed, by default, `datasets` performs an expensive cast on the values returned by `map` to convert them to one of the types supported by PyArrow (the underlying storage format used by `datasets`). This cast is not needed on NumPy arrays as PyArrow supports them natively, so one way to make this transform faster is to add `return_tensors="np"` to the tokenizer call.
I think we should mention this in the docs (cc @stevhliu) | [
-0.19857273995876312,
-0.31085896492004395,
0.1077575832605362,
0.21380633115768433,
0.4472837448120117,
0.020685873925685883,
0.052085742354393005,
0.1691586822271347,
-0.17445799708366394,
0.0026284009218215942,
0.08085259795188904,
0.4416099786758423,
-0.17229820787906647,
-0.21829798817634583,
-0.1370740830898285,
-0.06048624962568283,
0.1563604325056076,
0.014420866966247559,
-0.021366678178310394,
-0.09952303767204285,
-0.18828628957271576,
0.1998559981584549,
-0.15735241770744324,
0.027144305408000946,
-0.2920379340648651,
-0.20801250636577606,
0.1287490576505661,
-0.31433582305908203,
-0.19824375212192535,
-0.2438431829214096,
0.19835655391216278,
0.017011292278766632,
-0.0255601666867733,
0.3748725950717926,
-0.0001258271950064227,
-0.0017847642302513123,
0.04816871136426926,
0.2950875461101532,
0.03357557952404022,
0.033076539635658264,
0.14061331748962402,
0.013441687449812889,
0.07509907335042953,
-0.03071650117635727,
-0.019719451665878296,
0.07525170594453812,
0.16369420289993286,
-0.22030659019947052,
0.3976842164993286,
0.15867821872234344,
0.07425015419721603,
0.782170295715332,
-0.1810450404882431,
0.09422078728675842,
-0.16865113377571106,
0.12454383075237274,
-0.15005844831466675,
-0.03692615032196045,
0.0929451733827591,
0.1620047390460968,
-0.11621791869401932,
0.06892077624797821,
-0.39632296562194824,
-0.4058930277824402,
0.30792999267578125,
-0.11446505039930344,
-0.16602835059165955,
-0.525894045829773,
0.12590837478637695,
0.1651139110326767,
0.2310430109500885,
-0.23841255903244019,
-0.10669808834791183,
-0.38451138138771057,
0.14140480756759644,
0.21748946607112885,
0.16830824315547943,
-0.1392594277858734,
0.04792765900492668,
0.025982506573200226,
-0.6583473682403564,
0.16611039638519287,
0.12237018346786499,
0.09322316944599152,
-0.21273761987686157,
0.00983496755361557,
0.0018883072771131992,
0.2758117914199829,
0.1144634485244751,
-0.09760957956314087,
-0.3304125666618347,
-0.28475213050842285,
0.011998366564512253,
0.22913682460784912,
-0.3270466923713684,
-0.18138253688812256,
0.2958376705646515,
0.11548388749361038,
0.0006654020398855209,
0.09848062694072723,
-0.2005235254764557,
0.23017266392707825,
0.04102499410510063,
-0.004158928990364075,
0.4801265299320221,
0.08759929239749908,
0.008890926837921143,
0.28243255615234375,
0.23276115953922272,
-0.17840726673603058,
-0.18232204020023346,
0.2072034478187561,
-0.1279343217611313,
-0.0018085283227264881,
0.22329004108905792,
-0.2013247013092041,
0.2768147587776184,
-0.0007524304091930389,
-0.02931179292500019,
0.34407275915145874,
-0.3549901843070984,
0.4550001621246338,
0.3363357484340668,
0.2670011520385742,
-0.20554599165916443,
0.1746586263179779,
0.09465311467647552,
0.015296239405870438,
-0.1943577527999878,
0.1941571682691574,
-0.16279233992099762,
-0.21824254095554352,
-0.07880391925573349,
-0.06574960798025131,
0.0481412298977375,
0.07416757196187973,
-0.0033296882174909115,
0.13702045381069183,
0.3392685651779175,
-0.004889339208602905,
0.051061056554317474,
-0.08621014654636383,
0.1343604475259781,
0.27924978733062744,
-0.28170648217201233,
0.5301240682601929,
0.025611603632569313,
-0.2122562974691391,
-0.44964659214019775,
-0.08240539580583572,
-0.07300572842359543,
-0.04136298596858978,
0.23903459310531616,
0.1077621728181839,
-0.3227100968360901,
0.07243803143501282,
-0.3283449113368988,
0.10978473722934723,
0.20799922943115234,
0.07519632577896118,
0.16107890009880066,
-0.5056889057159424,
-0.31027939915657043,
-0.11968152970075607,
0.35887935757637024,
0.25339946150779724,
0.2096034586429596,
-0.22297075390815735,
-0.02173364907503128,
-0.06105242297053337,
0.07263979315757751,
0.3651009202003479,
0.040770091116428375,
0.4691639840602875,
-0.3277805745601654,
0.2482459396123886,
0.16748455166816711,
-0.22599776089191437,
-0.4598308503627777,
0.1541830599308014,
-0.3351256847381592,
0.22823072969913483,
-0.05843528360128403,
0.20382367074489594,
0.40515097975730896,
-0.14682720601558685,
0.045775458216667175,
0.32902467250823975,
-0.28939172625541687,
0.27497005462646484,
-0.10386839509010315,
-0.04129965603351593,
-0.054619185626506805,
0.0662422627210617,
-0.04091836139559746,
0.026192307472229004,
-0.2475910186767578,
0.29628050327301025,
0.004303433001041412,
0.15530046820640564,
-0.03158602863550186,
0.2599870562553406,
0.249533548951149,
-0.049087248742580414,
-0.0751011073589325,
-0.2345547080039978,
-0.44103461503982544,
0.20106536149978638,
0.4714528024196625,
0.08248081803321838,
-0.03161734342575073,
-0.2685389518737793,
-0.04008927941322327,
0.2991943359375,
-0.1847812831401825,
0.230409637093544,
-0.06190815567970276,
-0.26832911372184753,
0.20609265565872192,
0.12956245243549347,
0.08239157497882843,
-0.12676666676998138,
0.034082576632499695,
0.20520581305027008,
-0.5017535090446472,
0.025978760793805122,
0.15012569725513458,
-0.07958590239286423,
-0.22492043673992157,
0.17953455448150635,
0.15100723505020142,
-0.14032012224197388,
0.09603752940893173,
0.007452394813299179,
0.006274387240409851,
0.13539449870586395,
-0.2951868772506714,
0.4778095483779907,
0.2103307992219925,
-0.17966532707214355,
-0.1626884788274765,
0.16735388338565826,
0.015658561140298843,
-0.15288427472114563,
0.10849295556545258,
0.3658451735973358,
0.09150312095880508,
0.4400782883167267,
-0.12418452650308609,
0.10867530852556229,
-0.037326518446207047,
0.10467645525932312,
-0.3656548261642456,
-0.03207070380449295,
0.17925488948822021,
0.23115043342113495,
0.4279037117958069,
0.3445310890674591,
-0.1495245099067688,
0.3812818229198456,
0.6750516891479492,
-0.17184416949748993,
-0.1569061279296875,
0.19759231805801392,
-0.23242560029029846,
0.06529004871845245,
-0.0047150831669569016,
-0.06165182217955589,
0.16477283835411072,
0.05601758509874344,
0.3356893062591553,
0.03202454745769501,
-0.1547420769929886,
-0.06755997985601425,
0.13472293317317963,
0.3254316449165344,
-0.10785212367773056,
-0.016795039176940918,
0.0652332752943039,
0.19025065004825592,
-0.2569936215877533,
-0.018739040940999985,
-0.19028174877166748,
0.18534743785858154,
-0.16582229733467102,
0.2538367211818695,
-0.3633829653263092,
0.23198312520980835,
-0.2937632203102112,
-0.07417599856853485,
-0.24260473251342773,
-0.4625779688358307,
-0.06725361198186874,
0.3283192217350006,
-0.23627793788909912,
0.34014686942100525,
0.08493119478225708,
0.05077916383743286,
0.025650350376963615,
-0.31409546732902527,
-0.3116731643676758,
-0.012134892866015434,
-0.12297069281339645,
-0.13405495882034302,
0.33402204513549805,
-0.38563865423202515,
0.3370487689971924,
0.017923003062605858,
-0.14753614366054535,
-0.14855051040649414,
-0.4889216721057892,
0.11598823219537735,
-0.14698326587677002,
0.30045369267463684,
0.14576011896133423,
0.26732683181762695,
-0.1712409406900406,
-0.2134137600660324,
0.17964404821395874,
-0.29625922441482544,
-0.19884172081947327,
0.21072594821453094,
-0.039765749126672745,
-0.1301126331090927,
-0.08374643325805664,
0.039062973111867905,
0.09504905343055725,
-0.14940020442008972,
0.6328098177909851,
-0.38445889949798584,
-0.0969896912574768,
0.10964508354663849,
0.26509368419647217,
0.26438066363334656,
-0.29754242300987244,
0.03727274388074875,
-0.0413571298122406,
-0.24677203595638275,
0.4540944993495941,
0.1388806700706482,
-0.15073253214359283,
-0.2384508103132248,
-0.10113892704248428,
-0.019817795604467392,
0.07372969388961792,
-0.5107650756835938,
-0.14227427542209625,
-0.41831955313682556,
0.4479522705078125,
-0.012067634612321854,
-0.059826143085956573,
0.29574111104011536,
0.10979967564344406,
0.04201768338680267,
0.07887456566095352,
-0.14431239664554596,
0.07216867804527283,
-0.0005671344697475433,
-0.18432629108428955,
-0.02853899449110031,
0.5980507731437683,
0.13382844626903534,
0.6021789908409119,
0.280595600605011,
-0.3199312686920166,
-0.07888072729110718,
-0.0470954030752182,
0.2651394307613373,
-0.3190622627735138,
-0.34285005927085876,
0.015576259233057499,
-0.14583730697631836,
-0.2689526081085205,
0.037472039461135864,
0.10318118333816528,
-0.09393388777971268,
0.3390497863292694,
-0.013379164040088654,
0.041253894567489624,
-0.5557273626327515,
0.12826566398143768,
-0.06620080024003983,
-0.1450369656085968,
0.0920773297548294,
0.19338881969451904,
-0.30712321400642395,
-0.06819412112236023,
0.10613022744655609,
0.03790590539574623,
0.30696824193000793,
-0.002121265511959791,
-0.6750514507293701,
-0.31153473258018494,
-0.513572633266449,
0.09022384881973267,
0.004525733180344105,
0.2789490222930908,
-0.05850747972726822,
-0.11479371786117554,
0.3291664719581604,
-0.0039671375416219234,
0.8791699409484863,
0.33558860421180725,
0.07706056535243988,
0.020144354552030563,
-0.3146366477012634,
-0.3795992434024811,
0.16413888335227966,
0.15496501326560974,
0.21902874112129211,
0.4436371922492981,
0.656320333480835,
-0.3763692080974579,
-0.1665111929178238,
0.11307687312364578,
0.2732827365398407,
-0.03744533658027649,
0.06361136585474014,
-0.19079658389091492,
-0.3345325291156769,
-0.20557193458080292,
0.30548641085624695,
0.35803911089897156,
-0.024275392293930054,
0.1743769347667694,
-0.2566204369068146,
-0.13435256481170654,
-0.11493135988712311,
0.16957548260688782,
0.020337846130132675,
0.003927208948880434,
0.04421761631965637,
0.6553427577018738,
0.19628408551216125,
-0.2671981453895569,
-0.03643258661031723,
0.3515284061431885,
0.0679381936788559,
-0.5526391863822937,
-0.02635544165968895,
0.4711049795150757,
0.39762064814567566,
0.43598905205726624,
-0.06066802516579628,
0.1862822324037552,
-0.002140190452337265,
0.34302037954330444,
-0.42038285732269287,
0.40168413519859314,
0.3989819288253784,
0.21935270726680756,
-0.35074639320373535,
-0.1314329206943512,
0.25650084018707275,
0.20902372896671295,
-0.04787105694413185,
0.39337316155433655,
0.18818596005439758,
-0.2833104431629181,
0.33738547563552856,
0.07106930017471313,
1.0795737504959106,
-0.3405837416648865,
0.13976383209228516,
0.2753645181655884,
-0.06549753248691559,
0.5020322799682617,
-0.20971114933490753,
-0.024447258561849594,
-0.34004655480384827,
-0.1453164517879486,
0.14039845764636993,
-0.07370319962501526,
-0.0749872550368309,
0.09889572858810425,
0.0042848289012908936,
-0.20066002011299133,
0.017962388694286346,
0.6270859241485596,
0.0175302904099226,
0.26999926567077637,
0.1911405473947525,
-0.4791802763938904,
-0.2701752781867981,
0.06669960916042328,
0.11553595960140228,
0.013926882296800613,
0.05834706872701645,
0.10311052203178406,
-0.057730782777071,
-0.2810586094856262,
-0.24690797924995422,
-0.059447042644023895,
-0.2642481029033661,
0.008814239874482155,
0.33144357800483704,
0.026154331862926483,
0.24678486585617065,
0.412786602973938,
0.09690182656049728,
0.37819257378578186,
-0.04157857596874237,
0.34367287158966064,
-0.005714245140552521,
0.1154857650399208,
0.3053194284439087,
-0.37224775552749634,
0.06285317987203598,
0.18332329392433167,
0.03546745330095291,
-0.24658384919166565,
-0.04102912172675133,
0.039040789008140564,
-0.17534089088439941,
-0.021428607404232025,
0.21938693523406982,
-0.38750800490379333,
-0.03547336533665657,
-0.027429871261119843,
0.2074124962091446,
-0.20298020541667938,
0.022832106798887253,
-0.011360883712768555,
-0.04268743097782135,
0.2725718319416046,
-0.11608889698982239,
-0.1890246421098709,
-0.04827102646231651,
0.5493298768997192,
-0.2012448012828827,
0.009019378572702408,
0.44766712188720703,
0.09992864727973938,
-0.26395732164382935,
-0.11325514316558838,
0.36680567264556885,
0.25481200218200684,
-0.48411259055137634,
0.19001057744026184,
-0.0790904089808464,
-0.22572734951972961,
-0.22991833090782166,
0.0493292361497879,
-0.24875877797603607,
-0.6784194111824036,
-0.16911694407463074,
-0.16452842950820923,
-0.5304524302482605,
0.21104569733142853,
0.14746741950511932,
0.17626148462295532,
0.07210499048233032,
0.33230188488960266,
-0.3255845606327057,
0.14848284423351288,
-0.18963707983493805,
-0.3294217586517334,
-0.2749606966972351,
0.19680415093898773,
-0.036593638360500336,
-0.27966177463531494,
0.15011529624462128,
-0.2996867001056671,
0.02506783790886402,
0.10698627680540085,
-0.059233956038951874,
-0.10495688766241074,
-0.30211517214775085,
0.18039055168628693,
0.09748990088701248,
-0.17433585226535797,
0.21728515625,
0.05874710530042648,
-0.005486512556672096,
-0.639593243598938,
0.1978456676006317,
0.2186894714832306,
0.0255911722779274,
-0.2599274218082428,
0.24821427464485168,
0.2317703664302826,
0.19064752757549286,
0.08138646185398102,
0.07878372073173523,
0.09892074018716812,
0.08389779925346375,
0.25587978959083557,
-0.047765810042619705,
0.045516237616539,
0.060225293040275574,
0.27072110772132874,
0.4669758081436157,
-0.06794707477092743,
0.2612263560295105,
-0.014430403709411621,
-0.19315935671329498,
0.3090989291667938,
0.050117604434490204,
0.33818671107292175,
-0.15282770991325378,
-0.3879077732563019,
0.22011816501617432,
0.02136054076254368,
0.030945781618356705,
-0.185425266623497,
0.5938164591789246,
-0.1487279087305069,
0.04206114634871483,
0.18842938542366028,
-0.2808401584625244,
0.1293851137161255,
0.23674404621124268,
-0.017595326527953148,
0.7456458806991577,
-0.06904751807451248,
0.2640606164932251,
-0.0591680146753788,
0.048559125512838364,
0.022736206650733948,
0.14168304204940796,
0.18821825087070465,
0.3031378984451294,
-0.013316601514816284,
-0.03044455498456955,
0.1991015076637268,
-0.31884971261024475,
0.11317554116249084,
0.2879771292209625,
-0.3073578476905823,
-0.036867301911115646,
0.08160804957151413,
-0.2296026647090912,
0.23362445831298828,
0.055398643016815186,
0.17288203537464142,
-0.2532207667827606,
-0.29654425382614136,
-0.16502410173416138,
0.44165441393852234,
-0.3045414090156555,
-0.12946857511997223,
0.060274846851825714,
0.14730674028396606,
-0.09408096224069595,
0.13589036464691162,
-0.023679252713918686,
-0.19794626533985138,
0.1773071587085724,
-0.055861711502075195,
0.07705695182085037,
-0.0857352688908577,
-0.34152618050575256,
-0.30860427021980286,
0.19760946929454803,
-0.2629241347312927,
0.1925160139799118,
-0.3391077518463135,
0.07390430569648743,
-0.08854039013385773,
0.005861049517989159,
0.34647709131240845,
0.1857241839170456,
-0.18096521496772766,
0.31567254662513733,
-0.15544557571411133,
-0.016762135550379753,
-0.20064379274845123,
0.44503170251846313,
-0.40754249691963196,
0.12752455472946167,
-0.12142322957515717,
-0.010828397236764431,
-0.1622944176197052,
-0.48898011445999146,
-0.10808083415031433,
0.14554481208324432,
-0.0596732571721077,
0.3450081944465637,
-0.17465442419052124,
-0.20544558763504028,
-0.14007285237312317,
0.08909280598163605,
-0.06408464908599854,
-0.029738832265138626,
0.25745877623558044,
-0.19964919984340668,
-0.0033041629940271378,
-0.2653299570083618,
0.03252397105097771,
0.05098455399274826,
0.5061958432197571,
0.3166138231754303,
0.0984845981001854,
-0.3681977093219757,
-0.029455922544002533,
-0.5369013547897339,
0.06038429215550423,
0.12449322640895844,
0.02305893786251545,
0.2460484355688095,
-0.02548205479979515,
0.0347294956445694,
0.11602349579334259,
-0.027889952063560486,
-0.05988529324531555,
-0.012193232774734497,
0.14033243060112,
0.12576650083065033,
-0.06381502747535706,
-0.3864617943763733,
-0.19353103637695312,
0.062385380268096924,
-0.31752118468284607,
0.3791373670101166,
-0.1340322196483612,
-0.04109358787536621,
-0.09030584990978241,
-0.05788483843207359,
-0.21366707980632782,
-0.17623355984687805,
0.32903018593788147,
0.3273833990097046,
0.10237523168325424,
-0.07593679428100586,
-0.1228347048163414,
-0.1022118628025055,
-0.012554498389363289,
-0.3379484713077545,
0.03234897553920746,
-0.38402241468429565,
0.1864362508058548,
-0.1544865071773529,
0.07938200235366821,
-0.2923645079135895,
-0.33536261320114136,
0.2500022053718567,
-0.2799164652824402,
-0.2054031491279602,
0.3331497013568878,
-0.39487987756729126,
0.523158609867096,
-0.037853751331567764,
0.3861062824726105,
0.19554172456264496,
0.4125017523765564,
-0.3077686131000519,
-0.3913087844848633,
0.5668402910232544,
-0.592167854309082,
-0.25343868136405945,
0.02891789749264717,
0.12581852078437805,
-0.0002885088324546814,
-0.22598528861999512,
-0.5894650816917419,
-0.21950022876262665,
0.21020524203777313,
-0.1870141625404358,
-0.2681828737258911,
0.2011876404285431,
-0.07772290706634521,
-0.14604000747203827,
-0.2514541745185852,
0.6082690954208374,
-0.03247830271720886,
-0.1275635063648224,
0.514148473739624,
-0.054861657321453094
] |
https://github.com/huggingface/datasets/issues/4676 | Dataset.map gets stuck on _cast_to_python_objects | I tested this tokenize function and indeed noticed a casting. However it seems to only concerns the `offset_mapping` field, which contains a list of tuples, that is converted to a list of lists. Since `pyarrow` also supports tuples, we actually don't need to convert the tuples to lists.
I think this can be changed here:
https://github.com/huggingface/datasets/blob/ede72d3f9796339701ec59899c7c31d2427046fb/src/datasets/features/features.py#L382-L383
```diff
- if isinstance(obj, list):
+ if isinstance(obj, (list, tuple)):
```
and here:
https://github.com/huggingface/datasets/blob/ede72d3f9796339701ec59899c7c31d2427046fb/src/datasets/features/features.py#L386-L387
```diff
- return obj if isinstance(obj, list) else [], isinstance(obj, tuple)
+ return obj, False
```
@srobertjames can you try applying these changes and let us know if it helps ? If so, feel free to open a Pull Request to contribute this improvement if you want :) | ## Describe the bug
`Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows.
Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/huggingface/notebooks/blob/main/examples/question_answering.ipynb , and it did _not_ have this problem. However, I'm at a loss to figure out how it avoids it, as the example below is simple and minimal and still has this problem.
This casting, where it occurs, causes the `Dataset.map` to run approximately 7x slower than it runs for code which does not cause this casting.
This may be related to https://github.com/huggingface/datasets/issues/1046 . However, the tokenizer is _not_ set to return Tensors.
## Steps to reproduce the bug
A minimal, self-contained example to reproduce is below:
```python
import transformers
from transformers import AutoTokenizer
from datasets import load_dataset
import torch
import cProfile
pretrained = 'distilbert-base-uncased'
tokenizer = AutoTokenizer.from_pretrained(pretrained)
squad = load_dataset('squad')
squad_train = squad['train']
squad_tiny = squad_train.select(range(5000))
assert isinstance(tokenizer, transformers.PreTrainedTokenizerFast)
def tokenize(ds):
tokens = tokenizer(text=ds['question'],
text_pair=ds['context'],
add_special_tokens=True,
padding='max_length',
truncation='only_second',
max_length=160,
stride=32,
return_overflowing_tokens=True,
return_offsets_mapping=True,
)
return tokens
cmd = 'squad_tiny.map(tokenize, batched=True, remove_columns=squad_tiny.column_names)'
cProfile.run(cmd, sort='tottime')
```
## Actual results
The code works, but takes 10-25 sec per batch (about 7x slower than non-casting code), with the following profile. Note that `_cast_to_python_objects` is the culprit.
```
63524075 function calls (58206482 primitive calls) in 121.836 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
5274034/40 68.751 0.000 111.060 2.776 features.py:262(_cast_to_python_objects)
42223832 24.077 0.000 33.310 0.000 {built-in method builtins.isinstance}
16338/20 5.121 0.000 111.053 5.553 features.py:361(<listcomp>)
5274135 4.747 0.000 4.749 0.000 {built-in method _abc._abc_instancecheck}
80/40 4.731 0.059 116.292 2.907 {pyarrow.lib.array}
5274135 4.485 0.000 9.234 0.000 abc.py:96(__instancecheck__)
2661564/2645196 2.959 0.000 4.298 0.000 features.py:1081(_check_non_null_non_empty_recursive)
5 2.786 0.557 2.786 0.557 {method 'encode_batch' of 'tokenizers.Tokenizer' objects}
2668052 0.930 0.000 0.930 0.000 {built-in method builtins.len}
5000 0.930 0.000 0.938 0.000 tokenization_utils_fast.py:187(_convert_encoding)
5 0.750 0.150 0.808 0.162 {method 'to_pydict' of 'pyarrow.lib.Table' objects}
1 0.444 0.444 121.749 121.749 arrow_dataset.py:2501(_map_single)
40 0.375 0.009 116.291 2.907 arrow_writer.py:151(__arrow_array__)
10 0.066 0.007 0.066 0.007 {method 'write_batch' of 'pyarrow.lib._CRecordBatchWriter' objects}
1 0.060 0.060 121.835 121.835 fingerprint.py:409(wrapper)
11387/5715 0.049 0.000 0.175 0.000 {built-in method builtins.getattr}
36 0.049 0.001 0.049 0.001 {pyarrow._compute.call_function}
15000 0.040 0.000 0.040 0.000 _collections_abc.py:719(__iter__)
3 0.023 0.008 0.023 0.008 {built-in method _imp.create_dynamic}
77 0.020 0.000 0.020 0.000 {built-in method builtins.dir}
37 0.019 0.001 0.019 0.001 socket.py:543(send)
15 0.017 0.001 0.017 0.001 tokenization_utils_fast.py:460(<listcomp>)
432/421 0.015 0.000 0.024 0.000 traitlets.py:1388(_notify_observers)
5000 0.015 0.000 0.018 0.000 _collections_abc.py:672(keys)
51 0.014 0.000 0.042 0.001 traitlets.py:276(getmembers)
5 0.014 0.003 3.775 0.755 tokenization_utils_fast.py:392(_batch_encode_plus)
3/1 0.014 0.005 0.035 0.035 {built-in method _imp.exec_dynamic}
5 0.012 0.002 0.950 0.190 tokenization_utils_fast.py:438(<listcomp>)
31626 0.012 0.000 0.012 0.000 {method 'append' of 'list' objects}
1532/1001 0.011 0.000 0.189 0.000 traitlets.py:643(get)
5 0.009 0.002 3.796 0.759 arrow_dataset.py:2631(apply_function_on_filtered_inputs)
51 0.009 0.000 0.062 0.001 traitlets.py:1766(traits)
5 0.008 0.002 3.784 0.757 tokenization_utils_base.py:2632(batch_encode_plus)
368 0.007 0.000 0.044 0.000 traitlets.py:1715(_get_trait_default_generator)
26 0.007 0.000 0.022 0.001 traitlets.py:1186(setup_instance)
51 0.006 0.000 0.010 0.000 traitlets.py:1781(<listcomp>)
80/32 0.006 0.000 0.052 0.002 table.py:1758(cast_array_to_feature)
684 0.006 0.000 0.007 0.000 {method 'items' of 'dict' objects}
4344/1794 0.006 0.000 0.192 0.000 traitlets.py:675(__get__)
...
```
## Environment info
I observed this on both Google colab and my local workstation:
### Google colab
- `datasets` version: 2.3.2
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- PyArrow version: 6.0.1
- Pandas version: 1.3.5
### Local
- `datasets` version: 2.3.2
- Platform: Windows-7-6.1.7601-SP1
- Python version: 3.8.10
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
| 118 | Dataset.map gets stuck on _cast_to_python_objects
## Describe the bug
`Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows.
Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/huggingface/notebooks/blob/main/examples/question_answering.ipynb , and it did _not_ have this problem. However, I'm at a loss to figure out how it avoids it, as the example below is simple and minimal and still has this problem.
This casting, where it occurs, causes the `Dataset.map` to run approximately 7x slower than it runs for code which does not cause this casting.
This may be related to https://github.com/huggingface/datasets/issues/1046 . However, the tokenizer is _not_ set to return Tensors.
## Steps to reproduce the bug
A minimal, self-contained example to reproduce is below:
```python
import transformers
from transformers import AutoTokenizer
from datasets import load_dataset
import torch
import cProfile
pretrained = 'distilbert-base-uncased'
tokenizer = AutoTokenizer.from_pretrained(pretrained)
squad = load_dataset('squad')
squad_train = squad['train']
squad_tiny = squad_train.select(range(5000))
assert isinstance(tokenizer, transformers.PreTrainedTokenizerFast)
def tokenize(ds):
tokens = tokenizer(text=ds['question'],
text_pair=ds['context'],
add_special_tokens=True,
padding='max_length',
truncation='only_second',
max_length=160,
stride=32,
return_overflowing_tokens=True,
return_offsets_mapping=True,
)
return tokens
cmd = 'squad_tiny.map(tokenize, batched=True, remove_columns=squad_tiny.column_names)'
cProfile.run(cmd, sort='tottime')
```
## Actual results
The code works, but takes 10-25 sec per batch (about 7x slower than non-casting code), with the following profile. Note that `_cast_to_python_objects` is the culprit.
```
63524075 function calls (58206482 primitive calls) in 121.836 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
5274034/40 68.751 0.000 111.060 2.776 features.py:262(_cast_to_python_objects)
42223832 24.077 0.000 33.310 0.000 {built-in method builtins.isinstance}
16338/20 5.121 0.000 111.053 5.553 features.py:361(<listcomp>)
5274135 4.747 0.000 4.749 0.000 {built-in method _abc._abc_instancecheck}
80/40 4.731 0.059 116.292 2.907 {pyarrow.lib.array}
5274135 4.485 0.000 9.234 0.000 abc.py:96(__instancecheck__)
2661564/2645196 2.959 0.000 4.298 0.000 features.py:1081(_check_non_null_non_empty_recursive)
5 2.786 0.557 2.786 0.557 {method 'encode_batch' of 'tokenizers.Tokenizer' objects}
2668052 0.930 0.000 0.930 0.000 {built-in method builtins.len}
5000 0.930 0.000 0.938 0.000 tokenization_utils_fast.py:187(_convert_encoding)
5 0.750 0.150 0.808 0.162 {method 'to_pydict' of 'pyarrow.lib.Table' objects}
1 0.444 0.444 121.749 121.749 arrow_dataset.py:2501(_map_single)
40 0.375 0.009 116.291 2.907 arrow_writer.py:151(__arrow_array__)
10 0.066 0.007 0.066 0.007 {method 'write_batch' of 'pyarrow.lib._CRecordBatchWriter' objects}
1 0.060 0.060 121.835 121.835 fingerprint.py:409(wrapper)
11387/5715 0.049 0.000 0.175 0.000 {built-in method builtins.getattr}
36 0.049 0.001 0.049 0.001 {pyarrow._compute.call_function}
15000 0.040 0.000 0.040 0.000 _collections_abc.py:719(__iter__)
3 0.023 0.008 0.023 0.008 {built-in method _imp.create_dynamic}
77 0.020 0.000 0.020 0.000 {built-in method builtins.dir}
37 0.019 0.001 0.019 0.001 socket.py:543(send)
15 0.017 0.001 0.017 0.001 tokenization_utils_fast.py:460(<listcomp>)
432/421 0.015 0.000 0.024 0.000 traitlets.py:1388(_notify_observers)
5000 0.015 0.000 0.018 0.000 _collections_abc.py:672(keys)
51 0.014 0.000 0.042 0.001 traitlets.py:276(getmembers)
5 0.014 0.003 3.775 0.755 tokenization_utils_fast.py:392(_batch_encode_plus)
3/1 0.014 0.005 0.035 0.035 {built-in method _imp.exec_dynamic}
5 0.012 0.002 0.950 0.190 tokenization_utils_fast.py:438(<listcomp>)
31626 0.012 0.000 0.012 0.000 {method 'append' of 'list' objects}
1532/1001 0.011 0.000 0.189 0.000 traitlets.py:643(get)
5 0.009 0.002 3.796 0.759 arrow_dataset.py:2631(apply_function_on_filtered_inputs)
51 0.009 0.000 0.062 0.001 traitlets.py:1766(traits)
5 0.008 0.002 3.784 0.757 tokenization_utils_base.py:2632(batch_encode_plus)
368 0.007 0.000 0.044 0.000 traitlets.py:1715(_get_trait_default_generator)
26 0.007 0.000 0.022 0.001 traitlets.py:1186(setup_instance)
51 0.006 0.000 0.010 0.000 traitlets.py:1781(<listcomp>)
80/32 0.006 0.000 0.052 0.002 table.py:1758(cast_array_to_feature)
684 0.006 0.000 0.007 0.000 {method 'items' of 'dict' objects}
4344/1794 0.006 0.000 0.192 0.000 traitlets.py:675(__get__)
...
```
## Environment info
I observed this on both Google colab and my local workstation:
### Google colab
- `datasets` version: 2.3.2
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- PyArrow version: 6.0.1
- Pandas version: 1.3.5
### Local
- `datasets` version: 2.3.2
- Platform: Windows-7-6.1.7601-SP1
- Python version: 3.8.10
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
I tested this tokenize function and indeed noticed a casting. However it seems to only concerns the `offset_mapping` field, which contains a list of tuples, that is converted to a list of lists. Since `pyarrow` also supports tuples, we actually don't need to convert the tuples to lists.
I think this can be changed here:
https://github.com/huggingface/datasets/blob/ede72d3f9796339701ec59899c7c31d2427046fb/src/datasets/features/features.py#L382-L383
```diff
- if isinstance(obj, list):
+ if isinstance(obj, (list, tuple)):
```
and here:
https://github.com/huggingface/datasets/blob/ede72d3f9796339701ec59899c7c31d2427046fb/src/datasets/features/features.py#L386-L387
```diff
- return obj if isinstance(obj, list) else [], isinstance(obj, tuple)
+ return obj, False
```
@srobertjames can you try applying these changes and let us know if it helps ? If so, feel free to open a Pull Request to contribute this improvement if you want :) | [
-0.19857273995876312,
-0.31085896492004395,
0.1077575832605362,
0.21380633115768433,
0.4472837448120117,
0.020685873925685883,
0.052085742354393005,
0.1691586822271347,
-0.17445799708366394,
0.0026284009218215942,
0.08085259795188904,
0.4416099786758423,
-0.17229820787906647,
-0.21829798817634583,
-0.1370740830898285,
-0.06048624962568283,
0.1563604325056076,
0.014420866966247559,
-0.021366678178310394,
-0.09952303767204285,
-0.18828628957271576,
0.1998559981584549,
-0.15735241770744324,
0.027144305408000946,
-0.2920379340648651,
-0.20801250636577606,
0.1287490576505661,
-0.31433582305908203,
-0.19824375212192535,
-0.2438431829214096,
0.19835655391216278,
0.017011292278766632,
-0.0255601666867733,
0.3748725950717926,
-0.0001258271950064227,
-0.0017847642302513123,
0.04816871136426926,
0.2950875461101532,
0.03357557952404022,
0.033076539635658264,
0.14061331748962402,
0.013441687449812889,
0.07509907335042953,
-0.03071650117635727,
-0.019719451665878296,
0.07525170594453812,
0.16369420289993286,
-0.22030659019947052,
0.3976842164993286,
0.15867821872234344,
0.07425015419721603,
0.782170295715332,
-0.1810450404882431,
0.09422078728675842,
-0.16865113377571106,
0.12454383075237274,
-0.15005844831466675,
-0.03692615032196045,
0.0929451733827591,
0.1620047390460968,
-0.11621791869401932,
0.06892077624797821,
-0.39632296562194824,
-0.4058930277824402,
0.30792999267578125,
-0.11446505039930344,
-0.16602835059165955,
-0.525894045829773,
0.12590837478637695,
0.1651139110326767,
0.2310430109500885,
-0.23841255903244019,
-0.10669808834791183,
-0.38451138138771057,
0.14140480756759644,
0.21748946607112885,
0.16830824315547943,
-0.1392594277858734,
0.04792765900492668,
0.025982506573200226,
-0.6583473682403564,
0.16611039638519287,
0.12237018346786499,
0.09322316944599152,
-0.21273761987686157,
0.00983496755361557,
0.0018883072771131992,
0.2758117914199829,
0.1144634485244751,
-0.09760957956314087,
-0.3304125666618347,
-0.28475213050842285,
0.011998366564512253,
0.22913682460784912,
-0.3270466923713684,
-0.18138253688812256,
0.2958376705646515,
0.11548388749361038,
0.0006654020398855209,
0.09848062694072723,
-0.2005235254764557,
0.23017266392707825,
0.04102499410510063,
-0.004158928990364075,
0.4801265299320221,
0.08759929239749908,
0.008890926837921143,
0.28243255615234375,
0.23276115953922272,
-0.17840726673603058,
-0.18232204020023346,
0.2072034478187561,
-0.1279343217611313,
-0.0018085283227264881,
0.22329004108905792,
-0.2013247013092041,
0.2768147587776184,
-0.0007524304091930389,
-0.02931179292500019,
0.34407275915145874,
-0.3549901843070984,
0.4550001621246338,
0.3363357484340668,
0.2670011520385742,
-0.20554599165916443,
0.1746586263179779,
0.09465311467647552,
0.015296239405870438,
-0.1943577527999878,
0.1941571682691574,
-0.16279233992099762,
-0.21824254095554352,
-0.07880391925573349,
-0.06574960798025131,
0.0481412298977375,
0.07416757196187973,
-0.0033296882174909115,
0.13702045381069183,
0.3392685651779175,
-0.004889339208602905,
0.051061056554317474,
-0.08621014654636383,
0.1343604475259781,
0.27924978733062744,
-0.28170648217201233,
0.5301240682601929,
0.025611603632569313,
-0.2122562974691391,
-0.44964659214019775,
-0.08240539580583572,
-0.07300572842359543,
-0.04136298596858978,
0.23903459310531616,
0.1077621728181839,
-0.3227100968360901,
0.07243803143501282,
-0.3283449113368988,
0.10978473722934723,
0.20799922943115234,
0.07519632577896118,
0.16107890009880066,
-0.5056889057159424,
-0.31027939915657043,
-0.11968152970075607,
0.35887935757637024,
0.25339946150779724,
0.2096034586429596,
-0.22297075390815735,
-0.02173364907503128,
-0.06105242297053337,
0.07263979315757751,
0.3651009202003479,
0.040770091116428375,
0.4691639840602875,
-0.3277805745601654,
0.2482459396123886,
0.16748455166816711,
-0.22599776089191437,
-0.4598308503627777,
0.1541830599308014,
-0.3351256847381592,
0.22823072969913483,
-0.05843528360128403,
0.20382367074489594,
0.40515097975730896,
-0.14682720601558685,
0.045775458216667175,
0.32902467250823975,
-0.28939172625541687,
0.27497005462646484,
-0.10386839509010315,
-0.04129965603351593,
-0.054619185626506805,
0.0662422627210617,
-0.04091836139559746,
0.026192307472229004,
-0.2475910186767578,
0.29628050327301025,
0.004303433001041412,
0.15530046820640564,
-0.03158602863550186,
0.2599870562553406,
0.249533548951149,
-0.049087248742580414,
-0.0751011073589325,
-0.2345547080039978,
-0.44103461503982544,
0.20106536149978638,
0.4714528024196625,
0.08248081803321838,
-0.03161734342575073,
-0.2685389518737793,
-0.04008927941322327,
0.2991943359375,
-0.1847812831401825,
0.230409637093544,
-0.06190815567970276,
-0.26832911372184753,
0.20609265565872192,
0.12956245243549347,
0.08239157497882843,
-0.12676666676998138,
0.034082576632499695,
0.20520581305027008,
-0.5017535090446472,
0.025978760793805122,
0.15012569725513458,
-0.07958590239286423,
-0.22492043673992157,
0.17953455448150635,
0.15100723505020142,
-0.14032012224197388,
0.09603752940893173,
0.007452394813299179,
0.006274387240409851,
0.13539449870586395,
-0.2951868772506714,
0.4778095483779907,
0.2103307992219925,
-0.17966532707214355,
-0.1626884788274765,
0.16735388338565826,
0.015658561140298843,
-0.15288427472114563,
0.10849295556545258,
0.3658451735973358,
0.09150312095880508,
0.4400782883167267,
-0.12418452650308609,
0.10867530852556229,
-0.037326518446207047,
0.10467645525932312,
-0.3656548261642456,
-0.03207070380449295,
0.17925488948822021,
0.23115043342113495,
0.4279037117958069,
0.3445310890674591,
-0.1495245099067688,
0.3812818229198456,
0.6750516891479492,
-0.17184416949748993,
-0.1569061279296875,
0.19759231805801392,
-0.23242560029029846,
0.06529004871845245,
-0.0047150831669569016,
-0.06165182217955589,
0.16477283835411072,
0.05601758509874344,
0.3356893062591553,
0.03202454745769501,
-0.1547420769929886,
-0.06755997985601425,
0.13472293317317963,
0.3254316449165344,
-0.10785212367773056,
-0.016795039176940918,
0.0652332752943039,
0.19025065004825592,
-0.2569936215877533,
-0.018739040940999985,
-0.19028174877166748,
0.18534743785858154,
-0.16582229733467102,
0.2538367211818695,
-0.3633829653263092,
0.23198312520980835,
-0.2937632203102112,
-0.07417599856853485,
-0.24260473251342773,
-0.4625779688358307,
-0.06725361198186874,
0.3283192217350006,
-0.23627793788909912,
0.34014686942100525,
0.08493119478225708,
0.05077916383743286,
0.025650350376963615,
-0.31409546732902527,
-0.3116731643676758,
-0.012134892866015434,
-0.12297069281339645,
-0.13405495882034302,
0.33402204513549805,
-0.38563865423202515,
0.3370487689971924,
0.017923003062605858,
-0.14753614366054535,
-0.14855051040649414,
-0.4889216721057892,
0.11598823219537735,
-0.14698326587677002,
0.30045369267463684,
0.14576011896133423,
0.26732683181762695,
-0.1712409406900406,
-0.2134137600660324,
0.17964404821395874,
-0.29625922441482544,
-0.19884172081947327,
0.21072594821453094,
-0.039765749126672745,
-0.1301126331090927,
-0.08374643325805664,
0.039062973111867905,
0.09504905343055725,
-0.14940020442008972,
0.6328098177909851,
-0.38445889949798584,
-0.0969896912574768,
0.10964508354663849,
0.26509368419647217,
0.26438066363334656,
-0.29754242300987244,
0.03727274388074875,
-0.0413571298122406,
-0.24677203595638275,
0.4540944993495941,
0.1388806700706482,
-0.15073253214359283,
-0.2384508103132248,
-0.10113892704248428,
-0.019817795604467392,
0.07372969388961792,
-0.5107650756835938,
-0.14227427542209625,
-0.41831955313682556,
0.4479522705078125,
-0.012067634612321854,
-0.059826143085956573,
0.29574111104011536,
0.10979967564344406,
0.04201768338680267,
0.07887456566095352,
-0.14431239664554596,
0.07216867804527283,
-0.0005671344697475433,
-0.18432629108428955,
-0.02853899449110031,
0.5980507731437683,
0.13382844626903534,
0.6021789908409119,
0.280595600605011,
-0.3199312686920166,
-0.07888072729110718,
-0.0470954030752182,
0.2651394307613373,
-0.3190622627735138,
-0.34285005927085876,
0.015576259233057499,
-0.14583730697631836,
-0.2689526081085205,
0.037472039461135864,
0.10318118333816528,
-0.09393388777971268,
0.3390497863292694,
-0.013379164040088654,
0.041253894567489624,
-0.5557273626327515,
0.12826566398143768,
-0.06620080024003983,
-0.1450369656085968,
0.0920773297548294,
0.19338881969451904,
-0.30712321400642395,
-0.06819412112236023,
0.10613022744655609,
0.03790590539574623,
0.30696824193000793,
-0.002121265511959791,
-0.6750514507293701,
-0.31153473258018494,
-0.513572633266449,
0.09022384881973267,
0.004525733180344105,
0.2789490222930908,
-0.05850747972726822,
-0.11479371786117554,
0.3291664719581604,
-0.0039671375416219234,
0.8791699409484863,
0.33558860421180725,
0.07706056535243988,
0.020144354552030563,
-0.3146366477012634,
-0.3795992434024811,
0.16413888335227966,
0.15496501326560974,
0.21902874112129211,
0.4436371922492981,
0.656320333480835,
-0.3763692080974579,
-0.1665111929178238,
0.11307687312364578,
0.2732827365398407,
-0.03744533658027649,
0.06361136585474014,
-0.19079658389091492,
-0.3345325291156769,
-0.20557193458080292,
0.30548641085624695,
0.35803911089897156,
-0.024275392293930054,
0.1743769347667694,
-0.2566204369068146,
-0.13435256481170654,
-0.11493135988712311,
0.16957548260688782,
0.020337846130132675,
0.003927208948880434,
0.04421761631965637,
0.6553427577018738,
0.19628408551216125,
-0.2671981453895569,
-0.03643258661031723,
0.3515284061431885,
0.0679381936788559,
-0.5526391863822937,
-0.02635544165968895,
0.4711049795150757,
0.39762064814567566,
0.43598905205726624,
-0.06066802516579628,
0.1862822324037552,
-0.002140190452337265,
0.34302037954330444,
-0.42038285732269287,
0.40168413519859314,
0.3989819288253784,
0.21935270726680756,
-0.35074639320373535,
-0.1314329206943512,
0.25650084018707275,
0.20902372896671295,
-0.04787105694413185,
0.39337316155433655,
0.18818596005439758,
-0.2833104431629181,
0.33738547563552856,
0.07106930017471313,
1.0795737504959106,
-0.3405837416648865,
0.13976383209228516,
0.2753645181655884,
-0.06549753248691559,
0.5020322799682617,
-0.20971114933490753,
-0.024447258561849594,
-0.34004655480384827,
-0.1453164517879486,
0.14039845764636993,
-0.07370319962501526,
-0.0749872550368309,
0.09889572858810425,
0.0042848289012908936,
-0.20066002011299133,
0.017962388694286346,
0.6270859241485596,
0.0175302904099226,
0.26999926567077637,
0.1911405473947525,
-0.4791802763938904,
-0.2701752781867981,
0.06669960916042328,
0.11553595960140228,
0.013926882296800613,
0.05834706872701645,
0.10311052203178406,
-0.057730782777071,
-0.2810586094856262,
-0.24690797924995422,
-0.059447042644023895,
-0.2642481029033661,
0.008814239874482155,
0.33144357800483704,
0.026154331862926483,
0.24678486585617065,
0.412786602973938,
0.09690182656049728,
0.37819257378578186,
-0.04157857596874237,
0.34367287158966064,
-0.005714245140552521,
0.1154857650399208,
0.3053194284439087,
-0.37224775552749634,
0.06285317987203598,
0.18332329392433167,
0.03546745330095291,
-0.24658384919166565,
-0.04102912172675133,
0.039040789008140564,
-0.17534089088439941,
-0.021428607404232025,
0.21938693523406982,
-0.38750800490379333,
-0.03547336533665657,
-0.027429871261119843,
0.2074124962091446,
-0.20298020541667938,
0.022832106798887253,
-0.011360883712768555,
-0.04268743097782135,
0.2725718319416046,
-0.11608889698982239,
-0.1890246421098709,
-0.04827102646231651,
0.5493298768997192,
-0.2012448012828827,
0.009019378572702408,
0.44766712188720703,
0.09992864727973938,
-0.26395732164382935,
-0.11325514316558838,
0.36680567264556885,
0.25481200218200684,
-0.48411259055137634,
0.19001057744026184,
-0.0790904089808464,
-0.22572734951972961,
-0.22991833090782166,
0.0493292361497879,
-0.24875877797603607,
-0.6784194111824036,
-0.16911694407463074,
-0.16452842950820923,
-0.5304524302482605,
0.21104569733142853,
0.14746741950511932,
0.17626148462295532,
0.07210499048233032,
0.33230188488960266,
-0.3255845606327057,
0.14848284423351288,
-0.18963707983493805,
-0.3294217586517334,
-0.2749606966972351,
0.19680415093898773,
-0.036593638360500336,
-0.27966177463531494,
0.15011529624462128,
-0.2996867001056671,
0.02506783790886402,
0.10698627680540085,
-0.059233956038951874,
-0.10495688766241074,
-0.30211517214775085,
0.18039055168628693,
0.09748990088701248,
-0.17433585226535797,
0.21728515625,
0.05874710530042648,
-0.005486512556672096,
-0.639593243598938,
0.1978456676006317,
0.2186894714832306,
0.0255911722779274,
-0.2599274218082428,
0.24821427464485168,
0.2317703664302826,
0.19064752757549286,
0.08138646185398102,
0.07878372073173523,
0.09892074018716812,
0.08389779925346375,
0.25587978959083557,
-0.047765810042619705,
0.045516237616539,
0.060225293040275574,
0.27072110772132874,
0.4669758081436157,
-0.06794707477092743,
0.2612263560295105,
-0.014430403709411621,
-0.19315935671329498,
0.3090989291667938,
0.050117604434490204,
0.33818671107292175,
-0.15282770991325378,
-0.3879077732563019,
0.22011816501617432,
0.02136054076254368,
0.030945781618356705,
-0.185425266623497,
0.5938164591789246,
-0.1487279087305069,
0.04206114634871483,
0.18842938542366028,
-0.2808401584625244,
0.1293851137161255,
0.23674404621124268,
-0.017595326527953148,
0.7456458806991577,
-0.06904751807451248,
0.2640606164932251,
-0.0591680146753788,
0.048559125512838364,
0.022736206650733948,
0.14168304204940796,
0.18821825087070465,
0.3031378984451294,
-0.013316601514816284,
-0.03044455498456955,
0.1991015076637268,
-0.31884971261024475,
0.11317554116249084,
0.2879771292209625,
-0.3073578476905823,
-0.036867301911115646,
0.08160804957151413,
-0.2296026647090912,
0.23362445831298828,
0.055398643016815186,
0.17288203537464142,
-0.2532207667827606,
-0.29654425382614136,
-0.16502410173416138,
0.44165441393852234,
-0.3045414090156555,
-0.12946857511997223,
0.060274846851825714,
0.14730674028396606,
-0.09408096224069595,
0.13589036464691162,
-0.023679252713918686,
-0.19794626533985138,
0.1773071587085724,
-0.055861711502075195,
0.07705695182085037,
-0.0857352688908577,
-0.34152618050575256,
-0.30860427021980286,
0.19760946929454803,
-0.2629241347312927,
0.1925160139799118,
-0.3391077518463135,
0.07390430569648743,
-0.08854039013385773,
0.005861049517989159,
0.34647709131240845,
0.1857241839170456,
-0.18096521496772766,
0.31567254662513733,
-0.15544557571411133,
-0.016762135550379753,
-0.20064379274845123,
0.44503170251846313,
-0.40754249691963196,
0.12752455472946167,
-0.12142322957515717,
-0.010828397236764431,
-0.1622944176197052,
-0.48898011445999146,
-0.10808083415031433,
0.14554481208324432,
-0.0596732571721077,
0.3450081944465637,
-0.17465442419052124,
-0.20544558763504028,
-0.14007285237312317,
0.08909280598163605,
-0.06408464908599854,
-0.029738832265138626,
0.25745877623558044,
-0.19964919984340668,
-0.0033041629940271378,
-0.2653299570083618,
0.03252397105097771,
0.05098455399274826,
0.5061958432197571,
0.3166138231754303,
0.0984845981001854,
-0.3681977093219757,
-0.029455922544002533,
-0.5369013547897339,
0.06038429215550423,
0.12449322640895844,
0.02305893786251545,
0.2460484355688095,
-0.02548205479979515,
0.0347294956445694,
0.11602349579334259,
-0.027889952063560486,
-0.05988529324531555,
-0.012193232774734497,
0.14033243060112,
0.12576650083065033,
-0.06381502747535706,
-0.3864617943763733,
-0.19353103637695312,
0.062385380268096924,
-0.31752118468284607,
0.3791373670101166,
-0.1340322196483612,
-0.04109358787536621,
-0.09030584990978241,
-0.05788483843207359,
-0.21366707980632782,
-0.17623355984687805,
0.32903018593788147,
0.3273833990097046,
0.10237523168325424,
-0.07593679428100586,
-0.1228347048163414,
-0.1022118628025055,
-0.012554498389363289,
-0.3379484713077545,
0.03234897553920746,
-0.38402241468429565,
0.1864362508058548,
-0.1544865071773529,
0.07938200235366821,
-0.2923645079135895,
-0.33536261320114136,
0.2500022053718567,
-0.2799164652824402,
-0.2054031491279602,
0.3331497013568878,
-0.39487987756729126,
0.523158609867096,
-0.037853751331567764,
0.3861062824726105,
0.19554172456264496,
0.4125017523765564,
-0.3077686131000519,
-0.3913087844848633,
0.5668402910232544,
-0.592167854309082,
-0.25343868136405945,
0.02891789749264717,
0.12581852078437805,
-0.0002885088324546814,
-0.22598528861999512,
-0.5894650816917419,
-0.21950022876262665,
0.21020524203777313,
-0.1870141625404358,
-0.2681828737258911,
0.2011876404285431,
-0.07772290706634521,
-0.14604000747203827,
-0.2514541745185852,
0.6082690954208374,
-0.03247830271720886,
-0.1275635063648224,
0.514148473739624,
-0.054861657321453094
] |
https://github.com/huggingface/datasets/issues/4676 | Dataset.map gets stuck on _cast_to_python_objects | Wow, adding `return_tensors="np"` sped up my example by a **factor 17x** of and completely eliminated the casting! I'd recommend not only to document it, but to make that the default.
The code at https://github.com/huggingface/notebooks/blob/main/examples/question_answering.ipynb does not specify `return_tensors="np"` but yet avoids the casting penalty. How does it do that? (The ntbk seems to do `return_overflowing_tokens=True, return_offsets_mapping=True,`).
Also, surprisingly enough, using `return_tensors="pt"` (which is my eventual application) yields this error:
```
TypeError: Provided `function` which is applied to all elements of table returns a `dict` of types
[<class 'torch.Tensor'>, <class 'torch.Tensor'>, <class 'torch.Tensor'>, <class 'torch.Tensor'>].
When using `batched=True`, make sure provided `function` returns a `dict` of types like
`(<class 'list'>, <class 'numpy.ndarray'>)`.
``` | ## Describe the bug
`Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows.
Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/huggingface/notebooks/blob/main/examples/question_answering.ipynb , and it did _not_ have this problem. However, I'm at a loss to figure out how it avoids it, as the example below is simple and minimal and still has this problem.
This casting, where it occurs, causes the `Dataset.map` to run approximately 7x slower than it runs for code which does not cause this casting.
This may be related to https://github.com/huggingface/datasets/issues/1046 . However, the tokenizer is _not_ set to return Tensors.
## Steps to reproduce the bug
A minimal, self-contained example to reproduce is below:
```python
import transformers
from transformers import AutoTokenizer
from datasets import load_dataset
import torch
import cProfile
pretrained = 'distilbert-base-uncased'
tokenizer = AutoTokenizer.from_pretrained(pretrained)
squad = load_dataset('squad')
squad_train = squad['train']
squad_tiny = squad_train.select(range(5000))
assert isinstance(tokenizer, transformers.PreTrainedTokenizerFast)
def tokenize(ds):
tokens = tokenizer(text=ds['question'],
text_pair=ds['context'],
add_special_tokens=True,
padding='max_length',
truncation='only_second',
max_length=160,
stride=32,
return_overflowing_tokens=True,
return_offsets_mapping=True,
)
return tokens
cmd = 'squad_tiny.map(tokenize, batched=True, remove_columns=squad_tiny.column_names)'
cProfile.run(cmd, sort='tottime')
```
## Actual results
The code works, but takes 10-25 sec per batch (about 7x slower than non-casting code), with the following profile. Note that `_cast_to_python_objects` is the culprit.
```
63524075 function calls (58206482 primitive calls) in 121.836 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
5274034/40 68.751 0.000 111.060 2.776 features.py:262(_cast_to_python_objects)
42223832 24.077 0.000 33.310 0.000 {built-in method builtins.isinstance}
16338/20 5.121 0.000 111.053 5.553 features.py:361(<listcomp>)
5274135 4.747 0.000 4.749 0.000 {built-in method _abc._abc_instancecheck}
80/40 4.731 0.059 116.292 2.907 {pyarrow.lib.array}
5274135 4.485 0.000 9.234 0.000 abc.py:96(__instancecheck__)
2661564/2645196 2.959 0.000 4.298 0.000 features.py:1081(_check_non_null_non_empty_recursive)
5 2.786 0.557 2.786 0.557 {method 'encode_batch' of 'tokenizers.Tokenizer' objects}
2668052 0.930 0.000 0.930 0.000 {built-in method builtins.len}
5000 0.930 0.000 0.938 0.000 tokenization_utils_fast.py:187(_convert_encoding)
5 0.750 0.150 0.808 0.162 {method 'to_pydict' of 'pyarrow.lib.Table' objects}
1 0.444 0.444 121.749 121.749 arrow_dataset.py:2501(_map_single)
40 0.375 0.009 116.291 2.907 arrow_writer.py:151(__arrow_array__)
10 0.066 0.007 0.066 0.007 {method 'write_batch' of 'pyarrow.lib._CRecordBatchWriter' objects}
1 0.060 0.060 121.835 121.835 fingerprint.py:409(wrapper)
11387/5715 0.049 0.000 0.175 0.000 {built-in method builtins.getattr}
36 0.049 0.001 0.049 0.001 {pyarrow._compute.call_function}
15000 0.040 0.000 0.040 0.000 _collections_abc.py:719(__iter__)
3 0.023 0.008 0.023 0.008 {built-in method _imp.create_dynamic}
77 0.020 0.000 0.020 0.000 {built-in method builtins.dir}
37 0.019 0.001 0.019 0.001 socket.py:543(send)
15 0.017 0.001 0.017 0.001 tokenization_utils_fast.py:460(<listcomp>)
432/421 0.015 0.000 0.024 0.000 traitlets.py:1388(_notify_observers)
5000 0.015 0.000 0.018 0.000 _collections_abc.py:672(keys)
51 0.014 0.000 0.042 0.001 traitlets.py:276(getmembers)
5 0.014 0.003 3.775 0.755 tokenization_utils_fast.py:392(_batch_encode_plus)
3/1 0.014 0.005 0.035 0.035 {built-in method _imp.exec_dynamic}
5 0.012 0.002 0.950 0.190 tokenization_utils_fast.py:438(<listcomp>)
31626 0.012 0.000 0.012 0.000 {method 'append' of 'list' objects}
1532/1001 0.011 0.000 0.189 0.000 traitlets.py:643(get)
5 0.009 0.002 3.796 0.759 arrow_dataset.py:2631(apply_function_on_filtered_inputs)
51 0.009 0.000 0.062 0.001 traitlets.py:1766(traits)
5 0.008 0.002 3.784 0.757 tokenization_utils_base.py:2632(batch_encode_plus)
368 0.007 0.000 0.044 0.000 traitlets.py:1715(_get_trait_default_generator)
26 0.007 0.000 0.022 0.001 traitlets.py:1186(setup_instance)
51 0.006 0.000 0.010 0.000 traitlets.py:1781(<listcomp>)
80/32 0.006 0.000 0.052 0.002 table.py:1758(cast_array_to_feature)
684 0.006 0.000 0.007 0.000 {method 'items' of 'dict' objects}
4344/1794 0.006 0.000 0.192 0.000 traitlets.py:675(__get__)
...
```
## Environment info
I observed this on both Google colab and my local workstation:
### Google colab
- `datasets` version: 2.3.2
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- PyArrow version: 6.0.1
- Pandas version: 1.3.5
### Local
- `datasets` version: 2.3.2
- Platform: Windows-7-6.1.7601-SP1
- Python version: 3.8.10
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
| 112 | Dataset.map gets stuck on _cast_to_python_objects
## Describe the bug
`Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows.
Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/huggingface/notebooks/blob/main/examples/question_answering.ipynb , and it did _not_ have this problem. However, I'm at a loss to figure out how it avoids it, as the example below is simple and minimal and still has this problem.
This casting, where it occurs, causes the `Dataset.map` to run approximately 7x slower than it runs for code which does not cause this casting.
This may be related to https://github.com/huggingface/datasets/issues/1046 . However, the tokenizer is _not_ set to return Tensors.
## Steps to reproduce the bug
A minimal, self-contained example to reproduce is below:
```python
import transformers
from transformers import AutoTokenizer
from datasets import load_dataset
import torch
import cProfile
pretrained = 'distilbert-base-uncased'
tokenizer = AutoTokenizer.from_pretrained(pretrained)
squad = load_dataset('squad')
squad_train = squad['train']
squad_tiny = squad_train.select(range(5000))
assert isinstance(tokenizer, transformers.PreTrainedTokenizerFast)
def tokenize(ds):
tokens = tokenizer(text=ds['question'],
text_pair=ds['context'],
add_special_tokens=True,
padding='max_length',
truncation='only_second',
max_length=160,
stride=32,
return_overflowing_tokens=True,
return_offsets_mapping=True,
)
return tokens
cmd = 'squad_tiny.map(tokenize, batched=True, remove_columns=squad_tiny.column_names)'
cProfile.run(cmd, sort='tottime')
```
## Actual results
The code works, but takes 10-25 sec per batch (about 7x slower than non-casting code), with the following profile. Note that `_cast_to_python_objects` is the culprit.
```
63524075 function calls (58206482 primitive calls) in 121.836 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
5274034/40 68.751 0.000 111.060 2.776 features.py:262(_cast_to_python_objects)
42223832 24.077 0.000 33.310 0.000 {built-in method builtins.isinstance}
16338/20 5.121 0.000 111.053 5.553 features.py:361(<listcomp>)
5274135 4.747 0.000 4.749 0.000 {built-in method _abc._abc_instancecheck}
80/40 4.731 0.059 116.292 2.907 {pyarrow.lib.array}
5274135 4.485 0.000 9.234 0.000 abc.py:96(__instancecheck__)
2661564/2645196 2.959 0.000 4.298 0.000 features.py:1081(_check_non_null_non_empty_recursive)
5 2.786 0.557 2.786 0.557 {method 'encode_batch' of 'tokenizers.Tokenizer' objects}
2668052 0.930 0.000 0.930 0.000 {built-in method builtins.len}
5000 0.930 0.000 0.938 0.000 tokenization_utils_fast.py:187(_convert_encoding)
5 0.750 0.150 0.808 0.162 {method 'to_pydict' of 'pyarrow.lib.Table' objects}
1 0.444 0.444 121.749 121.749 arrow_dataset.py:2501(_map_single)
40 0.375 0.009 116.291 2.907 arrow_writer.py:151(__arrow_array__)
10 0.066 0.007 0.066 0.007 {method 'write_batch' of 'pyarrow.lib._CRecordBatchWriter' objects}
1 0.060 0.060 121.835 121.835 fingerprint.py:409(wrapper)
11387/5715 0.049 0.000 0.175 0.000 {built-in method builtins.getattr}
36 0.049 0.001 0.049 0.001 {pyarrow._compute.call_function}
15000 0.040 0.000 0.040 0.000 _collections_abc.py:719(__iter__)
3 0.023 0.008 0.023 0.008 {built-in method _imp.create_dynamic}
77 0.020 0.000 0.020 0.000 {built-in method builtins.dir}
37 0.019 0.001 0.019 0.001 socket.py:543(send)
15 0.017 0.001 0.017 0.001 tokenization_utils_fast.py:460(<listcomp>)
432/421 0.015 0.000 0.024 0.000 traitlets.py:1388(_notify_observers)
5000 0.015 0.000 0.018 0.000 _collections_abc.py:672(keys)
51 0.014 0.000 0.042 0.001 traitlets.py:276(getmembers)
5 0.014 0.003 3.775 0.755 tokenization_utils_fast.py:392(_batch_encode_plus)
3/1 0.014 0.005 0.035 0.035 {built-in method _imp.exec_dynamic}
5 0.012 0.002 0.950 0.190 tokenization_utils_fast.py:438(<listcomp>)
31626 0.012 0.000 0.012 0.000 {method 'append' of 'list' objects}
1532/1001 0.011 0.000 0.189 0.000 traitlets.py:643(get)
5 0.009 0.002 3.796 0.759 arrow_dataset.py:2631(apply_function_on_filtered_inputs)
51 0.009 0.000 0.062 0.001 traitlets.py:1766(traits)
5 0.008 0.002 3.784 0.757 tokenization_utils_base.py:2632(batch_encode_plus)
368 0.007 0.000 0.044 0.000 traitlets.py:1715(_get_trait_default_generator)
26 0.007 0.000 0.022 0.001 traitlets.py:1186(setup_instance)
51 0.006 0.000 0.010 0.000 traitlets.py:1781(<listcomp>)
80/32 0.006 0.000 0.052 0.002 table.py:1758(cast_array_to_feature)
684 0.006 0.000 0.007 0.000 {method 'items' of 'dict' objects}
4344/1794 0.006 0.000 0.192 0.000 traitlets.py:675(__get__)
...
```
## Environment info
I observed this on both Google colab and my local workstation:
### Google colab
- `datasets` version: 2.3.2
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- PyArrow version: 6.0.1
- Pandas version: 1.3.5
### Local
- `datasets` version: 2.3.2
- Platform: Windows-7-6.1.7601-SP1
- Python version: 3.8.10
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
Wow, adding `return_tensors="np"` sped up my example by a **factor 17x** of and completely eliminated the casting! I'd recommend not only to document it, but to make that the default.
The code at https://github.com/huggingface/notebooks/blob/main/examples/question_answering.ipynb does not specify `return_tensors="np"` but yet avoids the casting penalty. How does it do that? (The ntbk seems to do `return_overflowing_tokens=True, return_offsets_mapping=True,`).
Also, surprisingly enough, using `return_tensors="pt"` (which is my eventual application) yields this error:
```
TypeError: Provided `function` which is applied to all elements of table returns a `dict` of types
[<class 'torch.Tensor'>, <class 'torch.Tensor'>, <class 'torch.Tensor'>, <class 'torch.Tensor'>].
When using `batched=True`, make sure provided `function` returns a `dict` of types like
`(<class 'list'>, <class 'numpy.ndarray'>)`.
``` | [
-0.19857273995876312,
-0.31085896492004395,
0.1077575832605362,
0.21380633115768433,
0.4472837448120117,
0.020685873925685883,
0.052085742354393005,
0.1691586822271347,
-0.17445799708366394,
0.0026284009218215942,
0.08085259795188904,
0.4416099786758423,
-0.17229820787906647,
-0.21829798817634583,
-0.1370740830898285,
-0.06048624962568283,
0.1563604325056076,
0.014420866966247559,
-0.021366678178310394,
-0.09952303767204285,
-0.18828628957271576,
0.1998559981584549,
-0.15735241770744324,
0.027144305408000946,
-0.2920379340648651,
-0.20801250636577606,
0.1287490576505661,
-0.31433582305908203,
-0.19824375212192535,
-0.2438431829214096,
0.19835655391216278,
0.017011292278766632,
-0.0255601666867733,
0.3748725950717926,
-0.0001258271950064227,
-0.0017847642302513123,
0.04816871136426926,
0.2950875461101532,
0.03357557952404022,
0.033076539635658264,
0.14061331748962402,
0.013441687449812889,
0.07509907335042953,
-0.03071650117635727,
-0.019719451665878296,
0.07525170594453812,
0.16369420289993286,
-0.22030659019947052,
0.3976842164993286,
0.15867821872234344,
0.07425015419721603,
0.782170295715332,
-0.1810450404882431,
0.09422078728675842,
-0.16865113377571106,
0.12454383075237274,
-0.15005844831466675,
-0.03692615032196045,
0.0929451733827591,
0.1620047390460968,
-0.11621791869401932,
0.06892077624797821,
-0.39632296562194824,
-0.4058930277824402,
0.30792999267578125,
-0.11446505039930344,
-0.16602835059165955,
-0.525894045829773,
0.12590837478637695,
0.1651139110326767,
0.2310430109500885,
-0.23841255903244019,
-0.10669808834791183,
-0.38451138138771057,
0.14140480756759644,
0.21748946607112885,
0.16830824315547943,
-0.1392594277858734,
0.04792765900492668,
0.025982506573200226,
-0.6583473682403564,
0.16611039638519287,
0.12237018346786499,
0.09322316944599152,
-0.21273761987686157,
0.00983496755361557,
0.0018883072771131992,
0.2758117914199829,
0.1144634485244751,
-0.09760957956314087,
-0.3304125666618347,
-0.28475213050842285,
0.011998366564512253,
0.22913682460784912,
-0.3270466923713684,
-0.18138253688812256,
0.2958376705646515,
0.11548388749361038,
0.0006654020398855209,
0.09848062694072723,
-0.2005235254764557,
0.23017266392707825,
0.04102499410510063,
-0.004158928990364075,
0.4801265299320221,
0.08759929239749908,
0.008890926837921143,
0.28243255615234375,
0.23276115953922272,
-0.17840726673603058,
-0.18232204020023346,
0.2072034478187561,
-0.1279343217611313,
-0.0018085283227264881,
0.22329004108905792,
-0.2013247013092041,
0.2768147587776184,
-0.0007524304091930389,
-0.02931179292500019,
0.34407275915145874,
-0.3549901843070984,
0.4550001621246338,
0.3363357484340668,
0.2670011520385742,
-0.20554599165916443,
0.1746586263179779,
0.09465311467647552,
0.015296239405870438,
-0.1943577527999878,
0.1941571682691574,
-0.16279233992099762,
-0.21824254095554352,
-0.07880391925573349,
-0.06574960798025131,
0.0481412298977375,
0.07416757196187973,
-0.0033296882174909115,
0.13702045381069183,
0.3392685651779175,
-0.004889339208602905,
0.051061056554317474,
-0.08621014654636383,
0.1343604475259781,
0.27924978733062744,
-0.28170648217201233,
0.5301240682601929,
0.025611603632569313,
-0.2122562974691391,
-0.44964659214019775,
-0.08240539580583572,
-0.07300572842359543,
-0.04136298596858978,
0.23903459310531616,
0.1077621728181839,
-0.3227100968360901,
0.07243803143501282,
-0.3283449113368988,
0.10978473722934723,
0.20799922943115234,
0.07519632577896118,
0.16107890009880066,
-0.5056889057159424,
-0.31027939915657043,
-0.11968152970075607,
0.35887935757637024,
0.25339946150779724,
0.2096034586429596,
-0.22297075390815735,
-0.02173364907503128,
-0.06105242297053337,
0.07263979315757751,
0.3651009202003479,
0.040770091116428375,
0.4691639840602875,
-0.3277805745601654,
0.2482459396123886,
0.16748455166816711,
-0.22599776089191437,
-0.4598308503627777,
0.1541830599308014,
-0.3351256847381592,
0.22823072969913483,
-0.05843528360128403,
0.20382367074489594,
0.40515097975730896,
-0.14682720601558685,
0.045775458216667175,
0.32902467250823975,
-0.28939172625541687,
0.27497005462646484,
-0.10386839509010315,
-0.04129965603351593,
-0.054619185626506805,
0.0662422627210617,
-0.04091836139559746,
0.026192307472229004,
-0.2475910186767578,
0.29628050327301025,
0.004303433001041412,
0.15530046820640564,
-0.03158602863550186,
0.2599870562553406,
0.249533548951149,
-0.049087248742580414,
-0.0751011073589325,
-0.2345547080039978,
-0.44103461503982544,
0.20106536149978638,
0.4714528024196625,
0.08248081803321838,
-0.03161734342575073,
-0.2685389518737793,
-0.04008927941322327,
0.2991943359375,
-0.1847812831401825,
0.230409637093544,
-0.06190815567970276,
-0.26832911372184753,
0.20609265565872192,
0.12956245243549347,
0.08239157497882843,
-0.12676666676998138,
0.034082576632499695,
0.20520581305027008,
-0.5017535090446472,
0.025978760793805122,
0.15012569725513458,
-0.07958590239286423,
-0.22492043673992157,
0.17953455448150635,
0.15100723505020142,
-0.14032012224197388,
0.09603752940893173,
0.007452394813299179,
0.006274387240409851,
0.13539449870586395,
-0.2951868772506714,
0.4778095483779907,
0.2103307992219925,
-0.17966532707214355,
-0.1626884788274765,
0.16735388338565826,
0.015658561140298843,
-0.15288427472114563,
0.10849295556545258,
0.3658451735973358,
0.09150312095880508,
0.4400782883167267,
-0.12418452650308609,
0.10867530852556229,
-0.037326518446207047,
0.10467645525932312,
-0.3656548261642456,
-0.03207070380449295,
0.17925488948822021,
0.23115043342113495,
0.4279037117958069,
0.3445310890674591,
-0.1495245099067688,
0.3812818229198456,
0.6750516891479492,
-0.17184416949748993,
-0.1569061279296875,
0.19759231805801392,
-0.23242560029029846,
0.06529004871845245,
-0.0047150831669569016,
-0.06165182217955589,
0.16477283835411072,
0.05601758509874344,
0.3356893062591553,
0.03202454745769501,
-0.1547420769929886,
-0.06755997985601425,
0.13472293317317963,
0.3254316449165344,
-0.10785212367773056,
-0.016795039176940918,
0.0652332752943039,
0.19025065004825592,
-0.2569936215877533,
-0.018739040940999985,
-0.19028174877166748,
0.18534743785858154,
-0.16582229733467102,
0.2538367211818695,
-0.3633829653263092,
0.23198312520980835,
-0.2937632203102112,
-0.07417599856853485,
-0.24260473251342773,
-0.4625779688358307,
-0.06725361198186874,
0.3283192217350006,
-0.23627793788909912,
0.34014686942100525,
0.08493119478225708,
0.05077916383743286,
0.025650350376963615,
-0.31409546732902527,
-0.3116731643676758,
-0.012134892866015434,
-0.12297069281339645,
-0.13405495882034302,
0.33402204513549805,
-0.38563865423202515,
0.3370487689971924,
0.017923003062605858,
-0.14753614366054535,
-0.14855051040649414,
-0.4889216721057892,
0.11598823219537735,
-0.14698326587677002,
0.30045369267463684,
0.14576011896133423,
0.26732683181762695,
-0.1712409406900406,
-0.2134137600660324,
0.17964404821395874,
-0.29625922441482544,
-0.19884172081947327,
0.21072594821453094,
-0.039765749126672745,
-0.1301126331090927,
-0.08374643325805664,
0.039062973111867905,
0.09504905343055725,
-0.14940020442008972,
0.6328098177909851,
-0.38445889949798584,
-0.0969896912574768,
0.10964508354663849,
0.26509368419647217,
0.26438066363334656,
-0.29754242300987244,
0.03727274388074875,
-0.0413571298122406,
-0.24677203595638275,
0.4540944993495941,
0.1388806700706482,
-0.15073253214359283,
-0.2384508103132248,
-0.10113892704248428,
-0.019817795604467392,
0.07372969388961792,
-0.5107650756835938,
-0.14227427542209625,
-0.41831955313682556,
0.4479522705078125,
-0.012067634612321854,
-0.059826143085956573,
0.29574111104011536,
0.10979967564344406,
0.04201768338680267,
0.07887456566095352,
-0.14431239664554596,
0.07216867804527283,
-0.0005671344697475433,
-0.18432629108428955,
-0.02853899449110031,
0.5980507731437683,
0.13382844626903534,
0.6021789908409119,
0.280595600605011,
-0.3199312686920166,
-0.07888072729110718,
-0.0470954030752182,
0.2651394307613373,
-0.3190622627735138,
-0.34285005927085876,
0.015576259233057499,
-0.14583730697631836,
-0.2689526081085205,
0.037472039461135864,
0.10318118333816528,
-0.09393388777971268,
0.3390497863292694,
-0.013379164040088654,
0.041253894567489624,
-0.5557273626327515,
0.12826566398143768,
-0.06620080024003983,
-0.1450369656085968,
0.0920773297548294,
0.19338881969451904,
-0.30712321400642395,
-0.06819412112236023,
0.10613022744655609,
0.03790590539574623,
0.30696824193000793,
-0.002121265511959791,
-0.6750514507293701,
-0.31153473258018494,
-0.513572633266449,
0.09022384881973267,
0.004525733180344105,
0.2789490222930908,
-0.05850747972726822,
-0.11479371786117554,
0.3291664719581604,
-0.0039671375416219234,
0.8791699409484863,
0.33558860421180725,
0.07706056535243988,
0.020144354552030563,
-0.3146366477012634,
-0.3795992434024811,
0.16413888335227966,
0.15496501326560974,
0.21902874112129211,
0.4436371922492981,
0.656320333480835,
-0.3763692080974579,
-0.1665111929178238,
0.11307687312364578,
0.2732827365398407,
-0.03744533658027649,
0.06361136585474014,
-0.19079658389091492,
-0.3345325291156769,
-0.20557193458080292,
0.30548641085624695,
0.35803911089897156,
-0.024275392293930054,
0.1743769347667694,
-0.2566204369068146,
-0.13435256481170654,
-0.11493135988712311,
0.16957548260688782,
0.020337846130132675,
0.003927208948880434,
0.04421761631965637,
0.6553427577018738,
0.19628408551216125,
-0.2671981453895569,
-0.03643258661031723,
0.3515284061431885,
0.0679381936788559,
-0.5526391863822937,
-0.02635544165968895,
0.4711049795150757,
0.39762064814567566,
0.43598905205726624,
-0.06066802516579628,
0.1862822324037552,
-0.002140190452337265,
0.34302037954330444,
-0.42038285732269287,
0.40168413519859314,
0.3989819288253784,
0.21935270726680756,
-0.35074639320373535,
-0.1314329206943512,
0.25650084018707275,
0.20902372896671295,
-0.04787105694413185,
0.39337316155433655,
0.18818596005439758,
-0.2833104431629181,
0.33738547563552856,
0.07106930017471313,
1.0795737504959106,
-0.3405837416648865,
0.13976383209228516,
0.2753645181655884,
-0.06549753248691559,
0.5020322799682617,
-0.20971114933490753,
-0.024447258561849594,
-0.34004655480384827,
-0.1453164517879486,
0.14039845764636993,
-0.07370319962501526,
-0.0749872550368309,
0.09889572858810425,
0.0042848289012908936,
-0.20066002011299133,
0.017962388694286346,
0.6270859241485596,
0.0175302904099226,
0.26999926567077637,
0.1911405473947525,
-0.4791802763938904,
-0.2701752781867981,
0.06669960916042328,
0.11553595960140228,
0.013926882296800613,
0.05834706872701645,
0.10311052203178406,
-0.057730782777071,
-0.2810586094856262,
-0.24690797924995422,
-0.059447042644023895,
-0.2642481029033661,
0.008814239874482155,
0.33144357800483704,
0.026154331862926483,
0.24678486585617065,
0.412786602973938,
0.09690182656049728,
0.37819257378578186,
-0.04157857596874237,
0.34367287158966064,
-0.005714245140552521,
0.1154857650399208,
0.3053194284439087,
-0.37224775552749634,
0.06285317987203598,
0.18332329392433167,
0.03546745330095291,
-0.24658384919166565,
-0.04102912172675133,
0.039040789008140564,
-0.17534089088439941,
-0.021428607404232025,
0.21938693523406982,
-0.38750800490379333,
-0.03547336533665657,
-0.027429871261119843,
0.2074124962091446,
-0.20298020541667938,
0.022832106798887253,
-0.011360883712768555,
-0.04268743097782135,
0.2725718319416046,
-0.11608889698982239,
-0.1890246421098709,
-0.04827102646231651,
0.5493298768997192,
-0.2012448012828827,
0.009019378572702408,
0.44766712188720703,
0.09992864727973938,
-0.26395732164382935,
-0.11325514316558838,
0.36680567264556885,
0.25481200218200684,
-0.48411259055137634,
0.19001057744026184,
-0.0790904089808464,
-0.22572734951972961,
-0.22991833090782166,
0.0493292361497879,
-0.24875877797603607,
-0.6784194111824036,
-0.16911694407463074,
-0.16452842950820923,
-0.5304524302482605,
0.21104569733142853,
0.14746741950511932,
0.17626148462295532,
0.07210499048233032,
0.33230188488960266,
-0.3255845606327057,
0.14848284423351288,
-0.18963707983493805,
-0.3294217586517334,
-0.2749606966972351,
0.19680415093898773,
-0.036593638360500336,
-0.27966177463531494,
0.15011529624462128,
-0.2996867001056671,
0.02506783790886402,
0.10698627680540085,
-0.059233956038951874,
-0.10495688766241074,
-0.30211517214775085,
0.18039055168628693,
0.09748990088701248,
-0.17433585226535797,
0.21728515625,
0.05874710530042648,
-0.005486512556672096,
-0.639593243598938,
0.1978456676006317,
0.2186894714832306,
0.0255911722779274,
-0.2599274218082428,
0.24821427464485168,
0.2317703664302826,
0.19064752757549286,
0.08138646185398102,
0.07878372073173523,
0.09892074018716812,
0.08389779925346375,
0.25587978959083557,
-0.047765810042619705,
0.045516237616539,
0.060225293040275574,
0.27072110772132874,
0.4669758081436157,
-0.06794707477092743,
0.2612263560295105,
-0.014430403709411621,
-0.19315935671329498,
0.3090989291667938,
0.050117604434490204,
0.33818671107292175,
-0.15282770991325378,
-0.3879077732563019,
0.22011816501617432,
0.02136054076254368,
0.030945781618356705,
-0.185425266623497,
0.5938164591789246,
-0.1487279087305069,
0.04206114634871483,
0.18842938542366028,
-0.2808401584625244,
0.1293851137161255,
0.23674404621124268,
-0.017595326527953148,
0.7456458806991577,
-0.06904751807451248,
0.2640606164932251,
-0.0591680146753788,
0.048559125512838364,
0.022736206650733948,
0.14168304204940796,
0.18821825087070465,
0.3031378984451294,
-0.013316601514816284,
-0.03044455498456955,
0.1991015076637268,
-0.31884971261024475,
0.11317554116249084,
0.2879771292209625,
-0.3073578476905823,
-0.036867301911115646,
0.08160804957151413,
-0.2296026647090912,
0.23362445831298828,
0.055398643016815186,
0.17288203537464142,
-0.2532207667827606,
-0.29654425382614136,
-0.16502410173416138,
0.44165441393852234,
-0.3045414090156555,
-0.12946857511997223,
0.060274846851825714,
0.14730674028396606,
-0.09408096224069595,
0.13589036464691162,
-0.023679252713918686,
-0.19794626533985138,
0.1773071587085724,
-0.055861711502075195,
0.07705695182085037,
-0.0857352688908577,
-0.34152618050575256,
-0.30860427021980286,
0.19760946929454803,
-0.2629241347312927,
0.1925160139799118,
-0.3391077518463135,
0.07390430569648743,
-0.08854039013385773,
0.005861049517989159,
0.34647709131240845,
0.1857241839170456,
-0.18096521496772766,
0.31567254662513733,
-0.15544557571411133,
-0.016762135550379753,
-0.20064379274845123,
0.44503170251846313,
-0.40754249691963196,
0.12752455472946167,
-0.12142322957515717,
-0.010828397236764431,
-0.1622944176197052,
-0.48898011445999146,
-0.10808083415031433,
0.14554481208324432,
-0.0596732571721077,
0.3450081944465637,
-0.17465442419052124,
-0.20544558763504028,
-0.14007285237312317,
0.08909280598163605,
-0.06408464908599854,
-0.029738832265138626,
0.25745877623558044,
-0.19964919984340668,
-0.0033041629940271378,
-0.2653299570083618,
0.03252397105097771,
0.05098455399274826,
0.5061958432197571,
0.3166138231754303,
0.0984845981001854,
-0.3681977093219757,
-0.029455922544002533,
-0.5369013547897339,
0.06038429215550423,
0.12449322640895844,
0.02305893786251545,
0.2460484355688095,
-0.02548205479979515,
0.0347294956445694,
0.11602349579334259,
-0.027889952063560486,
-0.05988529324531555,
-0.012193232774734497,
0.14033243060112,
0.12576650083065033,
-0.06381502747535706,
-0.3864617943763733,
-0.19353103637695312,
0.062385380268096924,
-0.31752118468284607,
0.3791373670101166,
-0.1340322196483612,
-0.04109358787536621,
-0.09030584990978241,
-0.05788483843207359,
-0.21366707980632782,
-0.17623355984687805,
0.32903018593788147,
0.3273833990097046,
0.10237523168325424,
-0.07593679428100586,
-0.1228347048163414,
-0.1022118628025055,
-0.012554498389363289,
-0.3379484713077545,
0.03234897553920746,
-0.38402241468429565,
0.1864362508058548,
-0.1544865071773529,
0.07938200235366821,
-0.2923645079135895,
-0.33536261320114136,
0.2500022053718567,
-0.2799164652824402,
-0.2054031491279602,
0.3331497013568878,
-0.39487987756729126,
0.523158609867096,
-0.037853751331567764,
0.3861062824726105,
0.19554172456264496,
0.4125017523765564,
-0.3077686131000519,
-0.3913087844848633,
0.5668402910232544,
-0.592167854309082,
-0.25343868136405945,
0.02891789749264717,
0.12581852078437805,
-0.0002885088324546814,
-0.22598528861999512,
-0.5894650816917419,
-0.21950022876262665,
0.21020524203777313,
-0.1870141625404358,
-0.2681828737258911,
0.2011876404285431,
-0.07772290706634521,
-0.14604000747203827,
-0.2514541745185852,
0.6082690954208374,
-0.03247830271720886,
-0.1275635063648224,
0.514148473739624,
-0.054861657321453094
] |
https://github.com/huggingface/datasets/issues/4676 | Dataset.map gets stuck on _cast_to_python_objects | Setting the output to `"np"` makes the whole pipeline fast because it moves the data buffers from rust to python to arrow using zero-copy, and also because it does eliminate the casting completely ;)
Have you had a chance to try eliminating the tuple casting using the trick above ? | ## Describe the bug
`Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows.
Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/huggingface/notebooks/blob/main/examples/question_answering.ipynb , and it did _not_ have this problem. However, I'm at a loss to figure out how it avoids it, as the example below is simple and minimal and still has this problem.
This casting, where it occurs, causes the `Dataset.map` to run approximately 7x slower than it runs for code which does not cause this casting.
This may be related to https://github.com/huggingface/datasets/issues/1046 . However, the tokenizer is _not_ set to return Tensors.
## Steps to reproduce the bug
A minimal, self-contained example to reproduce is below:
```python
import transformers
from transformers import AutoTokenizer
from datasets import load_dataset
import torch
import cProfile
pretrained = 'distilbert-base-uncased'
tokenizer = AutoTokenizer.from_pretrained(pretrained)
squad = load_dataset('squad')
squad_train = squad['train']
squad_tiny = squad_train.select(range(5000))
assert isinstance(tokenizer, transformers.PreTrainedTokenizerFast)
def tokenize(ds):
tokens = tokenizer(text=ds['question'],
text_pair=ds['context'],
add_special_tokens=True,
padding='max_length',
truncation='only_second',
max_length=160,
stride=32,
return_overflowing_tokens=True,
return_offsets_mapping=True,
)
return tokens
cmd = 'squad_tiny.map(tokenize, batched=True, remove_columns=squad_tiny.column_names)'
cProfile.run(cmd, sort='tottime')
```
## Actual results
The code works, but takes 10-25 sec per batch (about 7x slower than non-casting code), with the following profile. Note that `_cast_to_python_objects` is the culprit.
```
63524075 function calls (58206482 primitive calls) in 121.836 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
5274034/40 68.751 0.000 111.060 2.776 features.py:262(_cast_to_python_objects)
42223832 24.077 0.000 33.310 0.000 {built-in method builtins.isinstance}
16338/20 5.121 0.000 111.053 5.553 features.py:361(<listcomp>)
5274135 4.747 0.000 4.749 0.000 {built-in method _abc._abc_instancecheck}
80/40 4.731 0.059 116.292 2.907 {pyarrow.lib.array}
5274135 4.485 0.000 9.234 0.000 abc.py:96(__instancecheck__)
2661564/2645196 2.959 0.000 4.298 0.000 features.py:1081(_check_non_null_non_empty_recursive)
5 2.786 0.557 2.786 0.557 {method 'encode_batch' of 'tokenizers.Tokenizer' objects}
2668052 0.930 0.000 0.930 0.000 {built-in method builtins.len}
5000 0.930 0.000 0.938 0.000 tokenization_utils_fast.py:187(_convert_encoding)
5 0.750 0.150 0.808 0.162 {method 'to_pydict' of 'pyarrow.lib.Table' objects}
1 0.444 0.444 121.749 121.749 arrow_dataset.py:2501(_map_single)
40 0.375 0.009 116.291 2.907 arrow_writer.py:151(__arrow_array__)
10 0.066 0.007 0.066 0.007 {method 'write_batch' of 'pyarrow.lib._CRecordBatchWriter' objects}
1 0.060 0.060 121.835 121.835 fingerprint.py:409(wrapper)
11387/5715 0.049 0.000 0.175 0.000 {built-in method builtins.getattr}
36 0.049 0.001 0.049 0.001 {pyarrow._compute.call_function}
15000 0.040 0.000 0.040 0.000 _collections_abc.py:719(__iter__)
3 0.023 0.008 0.023 0.008 {built-in method _imp.create_dynamic}
77 0.020 0.000 0.020 0.000 {built-in method builtins.dir}
37 0.019 0.001 0.019 0.001 socket.py:543(send)
15 0.017 0.001 0.017 0.001 tokenization_utils_fast.py:460(<listcomp>)
432/421 0.015 0.000 0.024 0.000 traitlets.py:1388(_notify_observers)
5000 0.015 0.000 0.018 0.000 _collections_abc.py:672(keys)
51 0.014 0.000 0.042 0.001 traitlets.py:276(getmembers)
5 0.014 0.003 3.775 0.755 tokenization_utils_fast.py:392(_batch_encode_plus)
3/1 0.014 0.005 0.035 0.035 {built-in method _imp.exec_dynamic}
5 0.012 0.002 0.950 0.190 tokenization_utils_fast.py:438(<listcomp>)
31626 0.012 0.000 0.012 0.000 {method 'append' of 'list' objects}
1532/1001 0.011 0.000 0.189 0.000 traitlets.py:643(get)
5 0.009 0.002 3.796 0.759 arrow_dataset.py:2631(apply_function_on_filtered_inputs)
51 0.009 0.000 0.062 0.001 traitlets.py:1766(traits)
5 0.008 0.002 3.784 0.757 tokenization_utils_base.py:2632(batch_encode_plus)
368 0.007 0.000 0.044 0.000 traitlets.py:1715(_get_trait_default_generator)
26 0.007 0.000 0.022 0.001 traitlets.py:1186(setup_instance)
51 0.006 0.000 0.010 0.000 traitlets.py:1781(<listcomp>)
80/32 0.006 0.000 0.052 0.002 table.py:1758(cast_array_to_feature)
684 0.006 0.000 0.007 0.000 {method 'items' of 'dict' objects}
4344/1794 0.006 0.000 0.192 0.000 traitlets.py:675(__get__)
...
```
## Environment info
I observed this on both Google colab and my local workstation:
### Google colab
- `datasets` version: 2.3.2
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- PyArrow version: 6.0.1
- Pandas version: 1.3.5
### Local
- `datasets` version: 2.3.2
- Platform: Windows-7-6.1.7601-SP1
- Python version: 3.8.10
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
| 50 | Dataset.map gets stuck on _cast_to_python_objects
## Describe the bug
`Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows.
Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/huggingface/notebooks/blob/main/examples/question_answering.ipynb , and it did _not_ have this problem. However, I'm at a loss to figure out how it avoids it, as the example below is simple and minimal and still has this problem.
This casting, where it occurs, causes the `Dataset.map` to run approximately 7x slower than it runs for code which does not cause this casting.
This may be related to https://github.com/huggingface/datasets/issues/1046 . However, the tokenizer is _not_ set to return Tensors.
## Steps to reproduce the bug
A minimal, self-contained example to reproduce is below:
```python
import transformers
from transformers import AutoTokenizer
from datasets import load_dataset
import torch
import cProfile
pretrained = 'distilbert-base-uncased'
tokenizer = AutoTokenizer.from_pretrained(pretrained)
squad = load_dataset('squad')
squad_train = squad['train']
squad_tiny = squad_train.select(range(5000))
assert isinstance(tokenizer, transformers.PreTrainedTokenizerFast)
def tokenize(ds):
tokens = tokenizer(text=ds['question'],
text_pair=ds['context'],
add_special_tokens=True,
padding='max_length',
truncation='only_second',
max_length=160,
stride=32,
return_overflowing_tokens=True,
return_offsets_mapping=True,
)
return tokens
cmd = 'squad_tiny.map(tokenize, batched=True, remove_columns=squad_tiny.column_names)'
cProfile.run(cmd, sort='tottime')
```
## Actual results
The code works, but takes 10-25 sec per batch (about 7x slower than non-casting code), with the following profile. Note that `_cast_to_python_objects` is the culprit.
```
63524075 function calls (58206482 primitive calls) in 121.836 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
5274034/40 68.751 0.000 111.060 2.776 features.py:262(_cast_to_python_objects)
42223832 24.077 0.000 33.310 0.000 {built-in method builtins.isinstance}
16338/20 5.121 0.000 111.053 5.553 features.py:361(<listcomp>)
5274135 4.747 0.000 4.749 0.000 {built-in method _abc._abc_instancecheck}
80/40 4.731 0.059 116.292 2.907 {pyarrow.lib.array}
5274135 4.485 0.000 9.234 0.000 abc.py:96(__instancecheck__)
2661564/2645196 2.959 0.000 4.298 0.000 features.py:1081(_check_non_null_non_empty_recursive)
5 2.786 0.557 2.786 0.557 {method 'encode_batch' of 'tokenizers.Tokenizer' objects}
2668052 0.930 0.000 0.930 0.000 {built-in method builtins.len}
5000 0.930 0.000 0.938 0.000 tokenization_utils_fast.py:187(_convert_encoding)
5 0.750 0.150 0.808 0.162 {method 'to_pydict' of 'pyarrow.lib.Table' objects}
1 0.444 0.444 121.749 121.749 arrow_dataset.py:2501(_map_single)
40 0.375 0.009 116.291 2.907 arrow_writer.py:151(__arrow_array__)
10 0.066 0.007 0.066 0.007 {method 'write_batch' of 'pyarrow.lib._CRecordBatchWriter' objects}
1 0.060 0.060 121.835 121.835 fingerprint.py:409(wrapper)
11387/5715 0.049 0.000 0.175 0.000 {built-in method builtins.getattr}
36 0.049 0.001 0.049 0.001 {pyarrow._compute.call_function}
15000 0.040 0.000 0.040 0.000 _collections_abc.py:719(__iter__)
3 0.023 0.008 0.023 0.008 {built-in method _imp.create_dynamic}
77 0.020 0.000 0.020 0.000 {built-in method builtins.dir}
37 0.019 0.001 0.019 0.001 socket.py:543(send)
15 0.017 0.001 0.017 0.001 tokenization_utils_fast.py:460(<listcomp>)
432/421 0.015 0.000 0.024 0.000 traitlets.py:1388(_notify_observers)
5000 0.015 0.000 0.018 0.000 _collections_abc.py:672(keys)
51 0.014 0.000 0.042 0.001 traitlets.py:276(getmembers)
5 0.014 0.003 3.775 0.755 tokenization_utils_fast.py:392(_batch_encode_plus)
3/1 0.014 0.005 0.035 0.035 {built-in method _imp.exec_dynamic}
5 0.012 0.002 0.950 0.190 tokenization_utils_fast.py:438(<listcomp>)
31626 0.012 0.000 0.012 0.000 {method 'append' of 'list' objects}
1532/1001 0.011 0.000 0.189 0.000 traitlets.py:643(get)
5 0.009 0.002 3.796 0.759 arrow_dataset.py:2631(apply_function_on_filtered_inputs)
51 0.009 0.000 0.062 0.001 traitlets.py:1766(traits)
5 0.008 0.002 3.784 0.757 tokenization_utils_base.py:2632(batch_encode_plus)
368 0.007 0.000 0.044 0.000 traitlets.py:1715(_get_trait_default_generator)
26 0.007 0.000 0.022 0.001 traitlets.py:1186(setup_instance)
51 0.006 0.000 0.010 0.000 traitlets.py:1781(<listcomp>)
80/32 0.006 0.000 0.052 0.002 table.py:1758(cast_array_to_feature)
684 0.006 0.000 0.007 0.000 {method 'items' of 'dict' objects}
4344/1794 0.006 0.000 0.192 0.000 traitlets.py:675(__get__)
...
```
## Environment info
I observed this on both Google colab and my local workstation:
### Google colab
- `datasets` version: 2.3.2
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- PyArrow version: 6.0.1
- Pandas version: 1.3.5
### Local
- `datasets` version: 2.3.2
- Platform: Windows-7-6.1.7601-SP1
- Python version: 3.8.10
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
Setting the output to `"np"` makes the whole pipeline fast because it moves the data buffers from rust to python to arrow using zero-copy, and also because it does eliminate the casting completely ;)
Have you had a chance to try eliminating the tuple casting using the trick above ? | [
-0.19857273995876312,
-0.31085896492004395,
0.1077575832605362,
0.21380633115768433,
0.4472837448120117,
0.020685873925685883,
0.052085742354393005,
0.1691586822271347,
-0.17445799708366394,
0.0026284009218215942,
0.08085259795188904,
0.4416099786758423,
-0.17229820787906647,
-0.21829798817634583,
-0.1370740830898285,
-0.06048624962568283,
0.1563604325056076,
0.014420866966247559,
-0.021366678178310394,
-0.09952303767204285,
-0.18828628957271576,
0.1998559981584549,
-0.15735241770744324,
0.027144305408000946,
-0.2920379340648651,
-0.20801250636577606,
0.1287490576505661,
-0.31433582305908203,
-0.19824375212192535,
-0.2438431829214096,
0.19835655391216278,
0.017011292278766632,
-0.0255601666867733,
0.3748725950717926,
-0.0001258271950064227,
-0.0017847642302513123,
0.04816871136426926,
0.2950875461101532,
0.03357557952404022,
0.033076539635658264,
0.14061331748962402,
0.013441687449812889,
0.07509907335042953,
-0.03071650117635727,
-0.019719451665878296,
0.07525170594453812,
0.16369420289993286,
-0.22030659019947052,
0.3976842164993286,
0.15867821872234344,
0.07425015419721603,
0.782170295715332,
-0.1810450404882431,
0.09422078728675842,
-0.16865113377571106,
0.12454383075237274,
-0.15005844831466675,
-0.03692615032196045,
0.0929451733827591,
0.1620047390460968,
-0.11621791869401932,
0.06892077624797821,
-0.39632296562194824,
-0.4058930277824402,
0.30792999267578125,
-0.11446505039930344,
-0.16602835059165955,
-0.525894045829773,
0.12590837478637695,
0.1651139110326767,
0.2310430109500885,
-0.23841255903244019,
-0.10669808834791183,
-0.38451138138771057,
0.14140480756759644,
0.21748946607112885,
0.16830824315547943,
-0.1392594277858734,
0.04792765900492668,
0.025982506573200226,
-0.6583473682403564,
0.16611039638519287,
0.12237018346786499,
0.09322316944599152,
-0.21273761987686157,
0.00983496755361557,
0.0018883072771131992,
0.2758117914199829,
0.1144634485244751,
-0.09760957956314087,
-0.3304125666618347,
-0.28475213050842285,
0.011998366564512253,
0.22913682460784912,
-0.3270466923713684,
-0.18138253688812256,
0.2958376705646515,
0.11548388749361038,
0.0006654020398855209,
0.09848062694072723,
-0.2005235254764557,
0.23017266392707825,
0.04102499410510063,
-0.004158928990364075,
0.4801265299320221,
0.08759929239749908,
0.008890926837921143,
0.28243255615234375,
0.23276115953922272,
-0.17840726673603058,
-0.18232204020023346,
0.2072034478187561,
-0.1279343217611313,
-0.0018085283227264881,
0.22329004108905792,
-0.2013247013092041,
0.2768147587776184,
-0.0007524304091930389,
-0.02931179292500019,
0.34407275915145874,
-0.3549901843070984,
0.4550001621246338,
0.3363357484340668,
0.2670011520385742,
-0.20554599165916443,
0.1746586263179779,
0.09465311467647552,
0.015296239405870438,
-0.1943577527999878,
0.1941571682691574,
-0.16279233992099762,
-0.21824254095554352,
-0.07880391925573349,
-0.06574960798025131,
0.0481412298977375,
0.07416757196187973,
-0.0033296882174909115,
0.13702045381069183,
0.3392685651779175,
-0.004889339208602905,
0.051061056554317474,
-0.08621014654636383,
0.1343604475259781,
0.27924978733062744,
-0.28170648217201233,
0.5301240682601929,
0.025611603632569313,
-0.2122562974691391,
-0.44964659214019775,
-0.08240539580583572,
-0.07300572842359543,
-0.04136298596858978,
0.23903459310531616,
0.1077621728181839,
-0.3227100968360901,
0.07243803143501282,
-0.3283449113368988,
0.10978473722934723,
0.20799922943115234,
0.07519632577896118,
0.16107890009880066,
-0.5056889057159424,
-0.31027939915657043,
-0.11968152970075607,
0.35887935757637024,
0.25339946150779724,
0.2096034586429596,
-0.22297075390815735,
-0.02173364907503128,
-0.06105242297053337,
0.07263979315757751,
0.3651009202003479,
0.040770091116428375,
0.4691639840602875,
-0.3277805745601654,
0.2482459396123886,
0.16748455166816711,
-0.22599776089191437,
-0.4598308503627777,
0.1541830599308014,
-0.3351256847381592,
0.22823072969913483,
-0.05843528360128403,
0.20382367074489594,
0.40515097975730896,
-0.14682720601558685,
0.045775458216667175,
0.32902467250823975,
-0.28939172625541687,
0.27497005462646484,
-0.10386839509010315,
-0.04129965603351593,
-0.054619185626506805,
0.0662422627210617,
-0.04091836139559746,
0.026192307472229004,
-0.2475910186767578,
0.29628050327301025,
0.004303433001041412,
0.15530046820640564,
-0.03158602863550186,
0.2599870562553406,
0.249533548951149,
-0.049087248742580414,
-0.0751011073589325,
-0.2345547080039978,
-0.44103461503982544,
0.20106536149978638,
0.4714528024196625,
0.08248081803321838,
-0.03161734342575073,
-0.2685389518737793,
-0.04008927941322327,
0.2991943359375,
-0.1847812831401825,
0.230409637093544,
-0.06190815567970276,
-0.26832911372184753,
0.20609265565872192,
0.12956245243549347,
0.08239157497882843,
-0.12676666676998138,
0.034082576632499695,
0.20520581305027008,
-0.5017535090446472,
0.025978760793805122,
0.15012569725513458,
-0.07958590239286423,
-0.22492043673992157,
0.17953455448150635,
0.15100723505020142,
-0.14032012224197388,
0.09603752940893173,
0.007452394813299179,
0.006274387240409851,
0.13539449870586395,
-0.2951868772506714,
0.4778095483779907,
0.2103307992219925,
-0.17966532707214355,
-0.1626884788274765,
0.16735388338565826,
0.015658561140298843,
-0.15288427472114563,
0.10849295556545258,
0.3658451735973358,
0.09150312095880508,
0.4400782883167267,
-0.12418452650308609,
0.10867530852556229,
-0.037326518446207047,
0.10467645525932312,
-0.3656548261642456,
-0.03207070380449295,
0.17925488948822021,
0.23115043342113495,
0.4279037117958069,
0.3445310890674591,
-0.1495245099067688,
0.3812818229198456,
0.6750516891479492,
-0.17184416949748993,
-0.1569061279296875,
0.19759231805801392,
-0.23242560029029846,
0.06529004871845245,
-0.0047150831669569016,
-0.06165182217955589,
0.16477283835411072,
0.05601758509874344,
0.3356893062591553,
0.03202454745769501,
-0.1547420769929886,
-0.06755997985601425,
0.13472293317317963,
0.3254316449165344,
-0.10785212367773056,
-0.016795039176940918,
0.0652332752943039,
0.19025065004825592,
-0.2569936215877533,
-0.018739040940999985,
-0.19028174877166748,
0.18534743785858154,
-0.16582229733467102,
0.2538367211818695,
-0.3633829653263092,
0.23198312520980835,
-0.2937632203102112,
-0.07417599856853485,
-0.24260473251342773,
-0.4625779688358307,
-0.06725361198186874,
0.3283192217350006,
-0.23627793788909912,
0.34014686942100525,
0.08493119478225708,
0.05077916383743286,
0.025650350376963615,
-0.31409546732902527,
-0.3116731643676758,
-0.012134892866015434,
-0.12297069281339645,
-0.13405495882034302,
0.33402204513549805,
-0.38563865423202515,
0.3370487689971924,
0.017923003062605858,
-0.14753614366054535,
-0.14855051040649414,
-0.4889216721057892,
0.11598823219537735,
-0.14698326587677002,
0.30045369267463684,
0.14576011896133423,
0.26732683181762695,
-0.1712409406900406,
-0.2134137600660324,
0.17964404821395874,
-0.29625922441482544,
-0.19884172081947327,
0.21072594821453094,
-0.039765749126672745,
-0.1301126331090927,
-0.08374643325805664,
0.039062973111867905,
0.09504905343055725,
-0.14940020442008972,
0.6328098177909851,
-0.38445889949798584,
-0.0969896912574768,
0.10964508354663849,
0.26509368419647217,
0.26438066363334656,
-0.29754242300987244,
0.03727274388074875,
-0.0413571298122406,
-0.24677203595638275,
0.4540944993495941,
0.1388806700706482,
-0.15073253214359283,
-0.2384508103132248,
-0.10113892704248428,
-0.019817795604467392,
0.07372969388961792,
-0.5107650756835938,
-0.14227427542209625,
-0.41831955313682556,
0.4479522705078125,
-0.012067634612321854,
-0.059826143085956573,
0.29574111104011536,
0.10979967564344406,
0.04201768338680267,
0.07887456566095352,
-0.14431239664554596,
0.07216867804527283,
-0.0005671344697475433,
-0.18432629108428955,
-0.02853899449110031,
0.5980507731437683,
0.13382844626903534,
0.6021789908409119,
0.280595600605011,
-0.3199312686920166,
-0.07888072729110718,
-0.0470954030752182,
0.2651394307613373,
-0.3190622627735138,
-0.34285005927085876,
0.015576259233057499,
-0.14583730697631836,
-0.2689526081085205,
0.037472039461135864,
0.10318118333816528,
-0.09393388777971268,
0.3390497863292694,
-0.013379164040088654,
0.041253894567489624,
-0.5557273626327515,
0.12826566398143768,
-0.06620080024003983,
-0.1450369656085968,
0.0920773297548294,
0.19338881969451904,
-0.30712321400642395,
-0.06819412112236023,
0.10613022744655609,
0.03790590539574623,
0.30696824193000793,
-0.002121265511959791,
-0.6750514507293701,
-0.31153473258018494,
-0.513572633266449,
0.09022384881973267,
0.004525733180344105,
0.2789490222930908,
-0.05850747972726822,
-0.11479371786117554,
0.3291664719581604,
-0.0039671375416219234,
0.8791699409484863,
0.33558860421180725,
0.07706056535243988,
0.020144354552030563,
-0.3146366477012634,
-0.3795992434024811,
0.16413888335227966,
0.15496501326560974,
0.21902874112129211,
0.4436371922492981,
0.656320333480835,
-0.3763692080974579,
-0.1665111929178238,
0.11307687312364578,
0.2732827365398407,
-0.03744533658027649,
0.06361136585474014,
-0.19079658389091492,
-0.3345325291156769,
-0.20557193458080292,
0.30548641085624695,
0.35803911089897156,
-0.024275392293930054,
0.1743769347667694,
-0.2566204369068146,
-0.13435256481170654,
-0.11493135988712311,
0.16957548260688782,
0.020337846130132675,
0.003927208948880434,
0.04421761631965637,
0.6553427577018738,
0.19628408551216125,
-0.2671981453895569,
-0.03643258661031723,
0.3515284061431885,
0.0679381936788559,
-0.5526391863822937,
-0.02635544165968895,
0.4711049795150757,
0.39762064814567566,
0.43598905205726624,
-0.06066802516579628,
0.1862822324037552,
-0.002140190452337265,
0.34302037954330444,
-0.42038285732269287,
0.40168413519859314,
0.3989819288253784,
0.21935270726680756,
-0.35074639320373535,
-0.1314329206943512,
0.25650084018707275,
0.20902372896671295,
-0.04787105694413185,
0.39337316155433655,
0.18818596005439758,
-0.2833104431629181,
0.33738547563552856,
0.07106930017471313,
1.0795737504959106,
-0.3405837416648865,
0.13976383209228516,
0.2753645181655884,
-0.06549753248691559,
0.5020322799682617,
-0.20971114933490753,
-0.024447258561849594,
-0.34004655480384827,
-0.1453164517879486,
0.14039845764636993,
-0.07370319962501526,
-0.0749872550368309,
0.09889572858810425,
0.0042848289012908936,
-0.20066002011299133,
0.017962388694286346,
0.6270859241485596,
0.0175302904099226,
0.26999926567077637,
0.1911405473947525,
-0.4791802763938904,
-0.2701752781867981,
0.06669960916042328,
0.11553595960140228,
0.013926882296800613,
0.05834706872701645,
0.10311052203178406,
-0.057730782777071,
-0.2810586094856262,
-0.24690797924995422,
-0.059447042644023895,
-0.2642481029033661,
0.008814239874482155,
0.33144357800483704,
0.026154331862926483,
0.24678486585617065,
0.412786602973938,
0.09690182656049728,
0.37819257378578186,
-0.04157857596874237,
0.34367287158966064,
-0.005714245140552521,
0.1154857650399208,
0.3053194284439087,
-0.37224775552749634,
0.06285317987203598,
0.18332329392433167,
0.03546745330095291,
-0.24658384919166565,
-0.04102912172675133,
0.039040789008140564,
-0.17534089088439941,
-0.021428607404232025,
0.21938693523406982,
-0.38750800490379333,
-0.03547336533665657,
-0.027429871261119843,
0.2074124962091446,
-0.20298020541667938,
0.022832106798887253,
-0.011360883712768555,
-0.04268743097782135,
0.2725718319416046,
-0.11608889698982239,
-0.1890246421098709,
-0.04827102646231651,
0.5493298768997192,
-0.2012448012828827,
0.009019378572702408,
0.44766712188720703,
0.09992864727973938,
-0.26395732164382935,
-0.11325514316558838,
0.36680567264556885,
0.25481200218200684,
-0.48411259055137634,
0.19001057744026184,
-0.0790904089808464,
-0.22572734951972961,
-0.22991833090782166,
0.0493292361497879,
-0.24875877797603607,
-0.6784194111824036,
-0.16911694407463074,
-0.16452842950820923,
-0.5304524302482605,
0.21104569733142853,
0.14746741950511932,
0.17626148462295532,
0.07210499048233032,
0.33230188488960266,
-0.3255845606327057,
0.14848284423351288,
-0.18963707983493805,
-0.3294217586517334,
-0.2749606966972351,
0.19680415093898773,
-0.036593638360500336,
-0.27966177463531494,
0.15011529624462128,
-0.2996867001056671,
0.02506783790886402,
0.10698627680540085,
-0.059233956038951874,
-0.10495688766241074,
-0.30211517214775085,
0.18039055168628693,
0.09748990088701248,
-0.17433585226535797,
0.21728515625,
0.05874710530042648,
-0.005486512556672096,
-0.639593243598938,
0.1978456676006317,
0.2186894714832306,
0.0255911722779274,
-0.2599274218082428,
0.24821427464485168,
0.2317703664302826,
0.19064752757549286,
0.08138646185398102,
0.07878372073173523,
0.09892074018716812,
0.08389779925346375,
0.25587978959083557,
-0.047765810042619705,
0.045516237616539,
0.060225293040275574,
0.27072110772132874,
0.4669758081436157,
-0.06794707477092743,
0.2612263560295105,
-0.014430403709411621,
-0.19315935671329498,
0.3090989291667938,
0.050117604434490204,
0.33818671107292175,
-0.15282770991325378,
-0.3879077732563019,
0.22011816501617432,
0.02136054076254368,
0.030945781618356705,
-0.185425266623497,
0.5938164591789246,
-0.1487279087305069,
0.04206114634871483,
0.18842938542366028,
-0.2808401584625244,
0.1293851137161255,
0.23674404621124268,
-0.017595326527953148,
0.7456458806991577,
-0.06904751807451248,
0.2640606164932251,
-0.0591680146753788,
0.048559125512838364,
0.022736206650733948,
0.14168304204940796,
0.18821825087070465,
0.3031378984451294,
-0.013316601514816284,
-0.03044455498456955,
0.1991015076637268,
-0.31884971261024475,
0.11317554116249084,
0.2879771292209625,
-0.3073578476905823,
-0.036867301911115646,
0.08160804957151413,
-0.2296026647090912,
0.23362445831298828,
0.055398643016815186,
0.17288203537464142,
-0.2532207667827606,
-0.29654425382614136,
-0.16502410173416138,
0.44165441393852234,
-0.3045414090156555,
-0.12946857511997223,
0.060274846851825714,
0.14730674028396606,
-0.09408096224069595,
0.13589036464691162,
-0.023679252713918686,
-0.19794626533985138,
0.1773071587085724,
-0.055861711502075195,
0.07705695182085037,
-0.0857352688908577,
-0.34152618050575256,
-0.30860427021980286,
0.19760946929454803,
-0.2629241347312927,
0.1925160139799118,
-0.3391077518463135,
0.07390430569648743,
-0.08854039013385773,
0.005861049517989159,
0.34647709131240845,
0.1857241839170456,
-0.18096521496772766,
0.31567254662513733,
-0.15544557571411133,
-0.016762135550379753,
-0.20064379274845123,
0.44503170251846313,
-0.40754249691963196,
0.12752455472946167,
-0.12142322957515717,
-0.010828397236764431,
-0.1622944176197052,
-0.48898011445999146,
-0.10808083415031433,
0.14554481208324432,
-0.0596732571721077,
0.3450081944465637,
-0.17465442419052124,
-0.20544558763504028,
-0.14007285237312317,
0.08909280598163605,
-0.06408464908599854,
-0.029738832265138626,
0.25745877623558044,
-0.19964919984340668,
-0.0033041629940271378,
-0.2653299570083618,
0.03252397105097771,
0.05098455399274826,
0.5061958432197571,
0.3166138231754303,
0.0984845981001854,
-0.3681977093219757,
-0.029455922544002533,
-0.5369013547897339,
0.06038429215550423,
0.12449322640895844,
0.02305893786251545,
0.2460484355688095,
-0.02548205479979515,
0.0347294956445694,
0.11602349579334259,
-0.027889952063560486,
-0.05988529324531555,
-0.012193232774734497,
0.14033243060112,
0.12576650083065033,
-0.06381502747535706,
-0.3864617943763733,
-0.19353103637695312,
0.062385380268096924,
-0.31752118468284607,
0.3791373670101166,
-0.1340322196483612,
-0.04109358787536621,
-0.09030584990978241,
-0.05788483843207359,
-0.21366707980632782,
-0.17623355984687805,
0.32903018593788147,
0.3273833990097046,
0.10237523168325424,
-0.07593679428100586,
-0.1228347048163414,
-0.1022118628025055,
-0.012554498389363289,
-0.3379484713077545,
0.03234897553920746,
-0.38402241468429565,
0.1864362508058548,
-0.1544865071773529,
0.07938200235366821,
-0.2923645079135895,
-0.33536261320114136,
0.2500022053718567,
-0.2799164652824402,
-0.2054031491279602,
0.3331497013568878,
-0.39487987756729126,
0.523158609867096,
-0.037853751331567764,
0.3861062824726105,
0.19554172456264496,
0.4125017523765564,
-0.3077686131000519,
-0.3913087844848633,
0.5668402910232544,
-0.592167854309082,
-0.25343868136405945,
0.02891789749264717,
0.12581852078437805,
-0.0002885088324546814,
-0.22598528861999512,
-0.5894650816917419,
-0.21950022876262665,
0.21020524203777313,
-0.1870141625404358,
-0.2681828737258911,
0.2011876404285431,
-0.07772290706634521,
-0.14604000747203827,
-0.2514541745185852,
0.6082690954208374,
-0.03247830271720886,
-0.1275635063648224,
0.514148473739624,
-0.054861657321453094
] |
https://github.com/huggingface/datasets/issues/4676 | Dataset.map gets stuck on _cast_to_python_objects | @lhoestq I just benchmarked the two edits to `features.py` above, and they appear to solve the problem, bringing my original example to within 20% the speed of the output `"np"` example. Nice!
For a pull request, do you suggest simply following https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md ? | ## Describe the bug
`Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows.
Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/huggingface/notebooks/blob/main/examples/question_answering.ipynb , and it did _not_ have this problem. However, I'm at a loss to figure out how it avoids it, as the example below is simple and minimal and still has this problem.
This casting, where it occurs, causes the `Dataset.map` to run approximately 7x slower than it runs for code which does not cause this casting.
This may be related to https://github.com/huggingface/datasets/issues/1046 . However, the tokenizer is _not_ set to return Tensors.
## Steps to reproduce the bug
A minimal, self-contained example to reproduce is below:
```python
import transformers
from transformers import AutoTokenizer
from datasets import load_dataset
import torch
import cProfile
pretrained = 'distilbert-base-uncased'
tokenizer = AutoTokenizer.from_pretrained(pretrained)
squad = load_dataset('squad')
squad_train = squad['train']
squad_tiny = squad_train.select(range(5000))
assert isinstance(tokenizer, transformers.PreTrainedTokenizerFast)
def tokenize(ds):
tokens = tokenizer(text=ds['question'],
text_pair=ds['context'],
add_special_tokens=True,
padding='max_length',
truncation='only_second',
max_length=160,
stride=32,
return_overflowing_tokens=True,
return_offsets_mapping=True,
)
return tokens
cmd = 'squad_tiny.map(tokenize, batched=True, remove_columns=squad_tiny.column_names)'
cProfile.run(cmd, sort='tottime')
```
## Actual results
The code works, but takes 10-25 sec per batch (about 7x slower than non-casting code), with the following profile. Note that `_cast_to_python_objects` is the culprit.
```
63524075 function calls (58206482 primitive calls) in 121.836 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
5274034/40 68.751 0.000 111.060 2.776 features.py:262(_cast_to_python_objects)
42223832 24.077 0.000 33.310 0.000 {built-in method builtins.isinstance}
16338/20 5.121 0.000 111.053 5.553 features.py:361(<listcomp>)
5274135 4.747 0.000 4.749 0.000 {built-in method _abc._abc_instancecheck}
80/40 4.731 0.059 116.292 2.907 {pyarrow.lib.array}
5274135 4.485 0.000 9.234 0.000 abc.py:96(__instancecheck__)
2661564/2645196 2.959 0.000 4.298 0.000 features.py:1081(_check_non_null_non_empty_recursive)
5 2.786 0.557 2.786 0.557 {method 'encode_batch' of 'tokenizers.Tokenizer' objects}
2668052 0.930 0.000 0.930 0.000 {built-in method builtins.len}
5000 0.930 0.000 0.938 0.000 tokenization_utils_fast.py:187(_convert_encoding)
5 0.750 0.150 0.808 0.162 {method 'to_pydict' of 'pyarrow.lib.Table' objects}
1 0.444 0.444 121.749 121.749 arrow_dataset.py:2501(_map_single)
40 0.375 0.009 116.291 2.907 arrow_writer.py:151(__arrow_array__)
10 0.066 0.007 0.066 0.007 {method 'write_batch' of 'pyarrow.lib._CRecordBatchWriter' objects}
1 0.060 0.060 121.835 121.835 fingerprint.py:409(wrapper)
11387/5715 0.049 0.000 0.175 0.000 {built-in method builtins.getattr}
36 0.049 0.001 0.049 0.001 {pyarrow._compute.call_function}
15000 0.040 0.000 0.040 0.000 _collections_abc.py:719(__iter__)
3 0.023 0.008 0.023 0.008 {built-in method _imp.create_dynamic}
77 0.020 0.000 0.020 0.000 {built-in method builtins.dir}
37 0.019 0.001 0.019 0.001 socket.py:543(send)
15 0.017 0.001 0.017 0.001 tokenization_utils_fast.py:460(<listcomp>)
432/421 0.015 0.000 0.024 0.000 traitlets.py:1388(_notify_observers)
5000 0.015 0.000 0.018 0.000 _collections_abc.py:672(keys)
51 0.014 0.000 0.042 0.001 traitlets.py:276(getmembers)
5 0.014 0.003 3.775 0.755 tokenization_utils_fast.py:392(_batch_encode_plus)
3/1 0.014 0.005 0.035 0.035 {built-in method _imp.exec_dynamic}
5 0.012 0.002 0.950 0.190 tokenization_utils_fast.py:438(<listcomp>)
31626 0.012 0.000 0.012 0.000 {method 'append' of 'list' objects}
1532/1001 0.011 0.000 0.189 0.000 traitlets.py:643(get)
5 0.009 0.002 3.796 0.759 arrow_dataset.py:2631(apply_function_on_filtered_inputs)
51 0.009 0.000 0.062 0.001 traitlets.py:1766(traits)
5 0.008 0.002 3.784 0.757 tokenization_utils_base.py:2632(batch_encode_plus)
368 0.007 0.000 0.044 0.000 traitlets.py:1715(_get_trait_default_generator)
26 0.007 0.000 0.022 0.001 traitlets.py:1186(setup_instance)
51 0.006 0.000 0.010 0.000 traitlets.py:1781(<listcomp>)
80/32 0.006 0.000 0.052 0.002 table.py:1758(cast_array_to_feature)
684 0.006 0.000 0.007 0.000 {method 'items' of 'dict' objects}
4344/1794 0.006 0.000 0.192 0.000 traitlets.py:675(__get__)
...
```
## Environment info
I observed this on both Google colab and my local workstation:
### Google colab
- `datasets` version: 2.3.2
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- PyArrow version: 6.0.1
- Pandas version: 1.3.5
### Local
- `datasets` version: 2.3.2
- Platform: Windows-7-6.1.7601-SP1
- Python version: 3.8.10
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
| 43 | Dataset.map gets stuck on _cast_to_python_objects
## Describe the bug
`Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows.
Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/huggingface/notebooks/blob/main/examples/question_answering.ipynb , and it did _not_ have this problem. However, I'm at a loss to figure out how it avoids it, as the example below is simple and minimal and still has this problem.
This casting, where it occurs, causes the `Dataset.map` to run approximately 7x slower than it runs for code which does not cause this casting.
This may be related to https://github.com/huggingface/datasets/issues/1046 . However, the tokenizer is _not_ set to return Tensors.
## Steps to reproduce the bug
A minimal, self-contained example to reproduce is below:
```python
import transformers
from transformers import AutoTokenizer
from datasets import load_dataset
import torch
import cProfile
pretrained = 'distilbert-base-uncased'
tokenizer = AutoTokenizer.from_pretrained(pretrained)
squad = load_dataset('squad')
squad_train = squad['train']
squad_tiny = squad_train.select(range(5000))
assert isinstance(tokenizer, transformers.PreTrainedTokenizerFast)
def tokenize(ds):
tokens = tokenizer(text=ds['question'],
text_pair=ds['context'],
add_special_tokens=True,
padding='max_length',
truncation='only_second',
max_length=160,
stride=32,
return_overflowing_tokens=True,
return_offsets_mapping=True,
)
return tokens
cmd = 'squad_tiny.map(tokenize, batched=True, remove_columns=squad_tiny.column_names)'
cProfile.run(cmd, sort='tottime')
```
## Actual results
The code works, but takes 10-25 sec per batch (about 7x slower than non-casting code), with the following profile. Note that `_cast_to_python_objects` is the culprit.
```
63524075 function calls (58206482 primitive calls) in 121.836 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
5274034/40 68.751 0.000 111.060 2.776 features.py:262(_cast_to_python_objects)
42223832 24.077 0.000 33.310 0.000 {built-in method builtins.isinstance}
16338/20 5.121 0.000 111.053 5.553 features.py:361(<listcomp>)
5274135 4.747 0.000 4.749 0.000 {built-in method _abc._abc_instancecheck}
80/40 4.731 0.059 116.292 2.907 {pyarrow.lib.array}
5274135 4.485 0.000 9.234 0.000 abc.py:96(__instancecheck__)
2661564/2645196 2.959 0.000 4.298 0.000 features.py:1081(_check_non_null_non_empty_recursive)
5 2.786 0.557 2.786 0.557 {method 'encode_batch' of 'tokenizers.Tokenizer' objects}
2668052 0.930 0.000 0.930 0.000 {built-in method builtins.len}
5000 0.930 0.000 0.938 0.000 tokenization_utils_fast.py:187(_convert_encoding)
5 0.750 0.150 0.808 0.162 {method 'to_pydict' of 'pyarrow.lib.Table' objects}
1 0.444 0.444 121.749 121.749 arrow_dataset.py:2501(_map_single)
40 0.375 0.009 116.291 2.907 arrow_writer.py:151(__arrow_array__)
10 0.066 0.007 0.066 0.007 {method 'write_batch' of 'pyarrow.lib._CRecordBatchWriter' objects}
1 0.060 0.060 121.835 121.835 fingerprint.py:409(wrapper)
11387/5715 0.049 0.000 0.175 0.000 {built-in method builtins.getattr}
36 0.049 0.001 0.049 0.001 {pyarrow._compute.call_function}
15000 0.040 0.000 0.040 0.000 _collections_abc.py:719(__iter__)
3 0.023 0.008 0.023 0.008 {built-in method _imp.create_dynamic}
77 0.020 0.000 0.020 0.000 {built-in method builtins.dir}
37 0.019 0.001 0.019 0.001 socket.py:543(send)
15 0.017 0.001 0.017 0.001 tokenization_utils_fast.py:460(<listcomp>)
432/421 0.015 0.000 0.024 0.000 traitlets.py:1388(_notify_observers)
5000 0.015 0.000 0.018 0.000 _collections_abc.py:672(keys)
51 0.014 0.000 0.042 0.001 traitlets.py:276(getmembers)
5 0.014 0.003 3.775 0.755 tokenization_utils_fast.py:392(_batch_encode_plus)
3/1 0.014 0.005 0.035 0.035 {built-in method _imp.exec_dynamic}
5 0.012 0.002 0.950 0.190 tokenization_utils_fast.py:438(<listcomp>)
31626 0.012 0.000 0.012 0.000 {method 'append' of 'list' objects}
1532/1001 0.011 0.000 0.189 0.000 traitlets.py:643(get)
5 0.009 0.002 3.796 0.759 arrow_dataset.py:2631(apply_function_on_filtered_inputs)
51 0.009 0.000 0.062 0.001 traitlets.py:1766(traits)
5 0.008 0.002 3.784 0.757 tokenization_utils_base.py:2632(batch_encode_plus)
368 0.007 0.000 0.044 0.000 traitlets.py:1715(_get_trait_default_generator)
26 0.007 0.000 0.022 0.001 traitlets.py:1186(setup_instance)
51 0.006 0.000 0.010 0.000 traitlets.py:1781(<listcomp>)
80/32 0.006 0.000 0.052 0.002 table.py:1758(cast_array_to_feature)
684 0.006 0.000 0.007 0.000 {method 'items' of 'dict' objects}
4344/1794 0.006 0.000 0.192 0.000 traitlets.py:675(__get__)
...
```
## Environment info
I observed this on both Google colab and my local workstation:
### Google colab
- `datasets` version: 2.3.2
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- PyArrow version: 6.0.1
- Pandas version: 1.3.5
### Local
- `datasets` version: 2.3.2
- Platform: Windows-7-6.1.7601-SP1
- Python version: 3.8.10
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
@lhoestq I just benchmarked the two edits to `features.py` above, and they appear to solve the problem, bringing my original example to within 20% the speed of the output `"np"` example. Nice!
For a pull request, do you suggest simply following https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md ? | [
-0.19857273995876312,
-0.31085896492004395,
0.1077575832605362,
0.21380633115768433,
0.4472837448120117,
0.020685873925685883,
0.052085742354393005,
0.1691586822271347,
-0.17445799708366394,
0.0026284009218215942,
0.08085259795188904,
0.4416099786758423,
-0.17229820787906647,
-0.21829798817634583,
-0.1370740830898285,
-0.06048624962568283,
0.1563604325056076,
0.014420866966247559,
-0.021366678178310394,
-0.09952303767204285,
-0.18828628957271576,
0.1998559981584549,
-0.15735241770744324,
0.027144305408000946,
-0.2920379340648651,
-0.20801250636577606,
0.1287490576505661,
-0.31433582305908203,
-0.19824375212192535,
-0.2438431829214096,
0.19835655391216278,
0.017011292278766632,
-0.0255601666867733,
0.3748725950717926,
-0.0001258271950064227,
-0.0017847642302513123,
0.04816871136426926,
0.2950875461101532,
0.03357557952404022,
0.033076539635658264,
0.14061331748962402,
0.013441687449812889,
0.07509907335042953,
-0.03071650117635727,
-0.019719451665878296,
0.07525170594453812,
0.16369420289993286,
-0.22030659019947052,
0.3976842164993286,
0.15867821872234344,
0.07425015419721603,
0.782170295715332,
-0.1810450404882431,
0.09422078728675842,
-0.16865113377571106,
0.12454383075237274,
-0.15005844831466675,
-0.03692615032196045,
0.0929451733827591,
0.1620047390460968,
-0.11621791869401932,
0.06892077624797821,
-0.39632296562194824,
-0.4058930277824402,
0.30792999267578125,
-0.11446505039930344,
-0.16602835059165955,
-0.525894045829773,
0.12590837478637695,
0.1651139110326767,
0.2310430109500885,
-0.23841255903244019,
-0.10669808834791183,
-0.38451138138771057,
0.14140480756759644,
0.21748946607112885,
0.16830824315547943,
-0.1392594277858734,
0.04792765900492668,
0.025982506573200226,
-0.6583473682403564,
0.16611039638519287,
0.12237018346786499,
0.09322316944599152,
-0.21273761987686157,
0.00983496755361557,
0.0018883072771131992,
0.2758117914199829,
0.1144634485244751,
-0.09760957956314087,
-0.3304125666618347,
-0.28475213050842285,
0.011998366564512253,
0.22913682460784912,
-0.3270466923713684,
-0.18138253688812256,
0.2958376705646515,
0.11548388749361038,
0.0006654020398855209,
0.09848062694072723,
-0.2005235254764557,
0.23017266392707825,
0.04102499410510063,
-0.004158928990364075,
0.4801265299320221,
0.08759929239749908,
0.008890926837921143,
0.28243255615234375,
0.23276115953922272,
-0.17840726673603058,
-0.18232204020023346,
0.2072034478187561,
-0.1279343217611313,
-0.0018085283227264881,
0.22329004108905792,
-0.2013247013092041,
0.2768147587776184,
-0.0007524304091930389,
-0.02931179292500019,
0.34407275915145874,
-0.3549901843070984,
0.4550001621246338,
0.3363357484340668,
0.2670011520385742,
-0.20554599165916443,
0.1746586263179779,
0.09465311467647552,
0.015296239405870438,
-0.1943577527999878,
0.1941571682691574,
-0.16279233992099762,
-0.21824254095554352,
-0.07880391925573349,
-0.06574960798025131,
0.0481412298977375,
0.07416757196187973,
-0.0033296882174909115,
0.13702045381069183,
0.3392685651779175,
-0.004889339208602905,
0.051061056554317474,
-0.08621014654636383,
0.1343604475259781,
0.27924978733062744,
-0.28170648217201233,
0.5301240682601929,
0.025611603632569313,
-0.2122562974691391,
-0.44964659214019775,
-0.08240539580583572,
-0.07300572842359543,
-0.04136298596858978,
0.23903459310531616,
0.1077621728181839,
-0.3227100968360901,
0.07243803143501282,
-0.3283449113368988,
0.10978473722934723,
0.20799922943115234,
0.07519632577896118,
0.16107890009880066,
-0.5056889057159424,
-0.31027939915657043,
-0.11968152970075607,
0.35887935757637024,
0.25339946150779724,
0.2096034586429596,
-0.22297075390815735,
-0.02173364907503128,
-0.06105242297053337,
0.07263979315757751,
0.3651009202003479,
0.040770091116428375,
0.4691639840602875,
-0.3277805745601654,
0.2482459396123886,
0.16748455166816711,
-0.22599776089191437,
-0.4598308503627777,
0.1541830599308014,
-0.3351256847381592,
0.22823072969913483,
-0.05843528360128403,
0.20382367074489594,
0.40515097975730896,
-0.14682720601558685,
0.045775458216667175,
0.32902467250823975,
-0.28939172625541687,
0.27497005462646484,
-0.10386839509010315,
-0.04129965603351593,
-0.054619185626506805,
0.0662422627210617,
-0.04091836139559746,
0.026192307472229004,
-0.2475910186767578,
0.29628050327301025,
0.004303433001041412,
0.15530046820640564,
-0.03158602863550186,
0.2599870562553406,
0.249533548951149,
-0.049087248742580414,
-0.0751011073589325,
-0.2345547080039978,
-0.44103461503982544,
0.20106536149978638,
0.4714528024196625,
0.08248081803321838,
-0.03161734342575073,
-0.2685389518737793,
-0.04008927941322327,
0.2991943359375,
-0.1847812831401825,
0.230409637093544,
-0.06190815567970276,
-0.26832911372184753,
0.20609265565872192,
0.12956245243549347,
0.08239157497882843,
-0.12676666676998138,
0.034082576632499695,
0.20520581305027008,
-0.5017535090446472,
0.025978760793805122,
0.15012569725513458,
-0.07958590239286423,
-0.22492043673992157,
0.17953455448150635,
0.15100723505020142,
-0.14032012224197388,
0.09603752940893173,
0.007452394813299179,
0.006274387240409851,
0.13539449870586395,
-0.2951868772506714,
0.4778095483779907,
0.2103307992219925,
-0.17966532707214355,
-0.1626884788274765,
0.16735388338565826,
0.015658561140298843,
-0.15288427472114563,
0.10849295556545258,
0.3658451735973358,
0.09150312095880508,
0.4400782883167267,
-0.12418452650308609,
0.10867530852556229,
-0.037326518446207047,
0.10467645525932312,
-0.3656548261642456,
-0.03207070380449295,
0.17925488948822021,
0.23115043342113495,
0.4279037117958069,
0.3445310890674591,
-0.1495245099067688,
0.3812818229198456,
0.6750516891479492,
-0.17184416949748993,
-0.1569061279296875,
0.19759231805801392,
-0.23242560029029846,
0.06529004871845245,
-0.0047150831669569016,
-0.06165182217955589,
0.16477283835411072,
0.05601758509874344,
0.3356893062591553,
0.03202454745769501,
-0.1547420769929886,
-0.06755997985601425,
0.13472293317317963,
0.3254316449165344,
-0.10785212367773056,
-0.016795039176940918,
0.0652332752943039,
0.19025065004825592,
-0.2569936215877533,
-0.018739040940999985,
-0.19028174877166748,
0.18534743785858154,
-0.16582229733467102,
0.2538367211818695,
-0.3633829653263092,
0.23198312520980835,
-0.2937632203102112,
-0.07417599856853485,
-0.24260473251342773,
-0.4625779688358307,
-0.06725361198186874,
0.3283192217350006,
-0.23627793788909912,
0.34014686942100525,
0.08493119478225708,
0.05077916383743286,
0.025650350376963615,
-0.31409546732902527,
-0.3116731643676758,
-0.012134892866015434,
-0.12297069281339645,
-0.13405495882034302,
0.33402204513549805,
-0.38563865423202515,
0.3370487689971924,
0.017923003062605858,
-0.14753614366054535,
-0.14855051040649414,
-0.4889216721057892,
0.11598823219537735,
-0.14698326587677002,
0.30045369267463684,
0.14576011896133423,
0.26732683181762695,
-0.1712409406900406,
-0.2134137600660324,
0.17964404821395874,
-0.29625922441482544,
-0.19884172081947327,
0.21072594821453094,
-0.039765749126672745,
-0.1301126331090927,
-0.08374643325805664,
0.039062973111867905,
0.09504905343055725,
-0.14940020442008972,
0.6328098177909851,
-0.38445889949798584,
-0.0969896912574768,
0.10964508354663849,
0.26509368419647217,
0.26438066363334656,
-0.29754242300987244,
0.03727274388074875,
-0.0413571298122406,
-0.24677203595638275,
0.4540944993495941,
0.1388806700706482,
-0.15073253214359283,
-0.2384508103132248,
-0.10113892704248428,
-0.019817795604467392,
0.07372969388961792,
-0.5107650756835938,
-0.14227427542209625,
-0.41831955313682556,
0.4479522705078125,
-0.012067634612321854,
-0.059826143085956573,
0.29574111104011536,
0.10979967564344406,
0.04201768338680267,
0.07887456566095352,
-0.14431239664554596,
0.07216867804527283,
-0.0005671344697475433,
-0.18432629108428955,
-0.02853899449110031,
0.5980507731437683,
0.13382844626903534,
0.6021789908409119,
0.280595600605011,
-0.3199312686920166,
-0.07888072729110718,
-0.0470954030752182,
0.2651394307613373,
-0.3190622627735138,
-0.34285005927085876,
0.015576259233057499,
-0.14583730697631836,
-0.2689526081085205,
0.037472039461135864,
0.10318118333816528,
-0.09393388777971268,
0.3390497863292694,
-0.013379164040088654,
0.041253894567489624,
-0.5557273626327515,
0.12826566398143768,
-0.06620080024003983,
-0.1450369656085968,
0.0920773297548294,
0.19338881969451904,
-0.30712321400642395,
-0.06819412112236023,
0.10613022744655609,
0.03790590539574623,
0.30696824193000793,
-0.002121265511959791,
-0.6750514507293701,
-0.31153473258018494,
-0.513572633266449,
0.09022384881973267,
0.004525733180344105,
0.2789490222930908,
-0.05850747972726822,
-0.11479371786117554,
0.3291664719581604,
-0.0039671375416219234,
0.8791699409484863,
0.33558860421180725,
0.07706056535243988,
0.020144354552030563,
-0.3146366477012634,
-0.3795992434024811,
0.16413888335227966,
0.15496501326560974,
0.21902874112129211,
0.4436371922492981,
0.656320333480835,
-0.3763692080974579,
-0.1665111929178238,
0.11307687312364578,
0.2732827365398407,
-0.03744533658027649,
0.06361136585474014,
-0.19079658389091492,
-0.3345325291156769,
-0.20557193458080292,
0.30548641085624695,
0.35803911089897156,
-0.024275392293930054,
0.1743769347667694,
-0.2566204369068146,
-0.13435256481170654,
-0.11493135988712311,
0.16957548260688782,
0.020337846130132675,
0.003927208948880434,
0.04421761631965637,
0.6553427577018738,
0.19628408551216125,
-0.2671981453895569,
-0.03643258661031723,
0.3515284061431885,
0.0679381936788559,
-0.5526391863822937,
-0.02635544165968895,
0.4711049795150757,
0.39762064814567566,
0.43598905205726624,
-0.06066802516579628,
0.1862822324037552,
-0.002140190452337265,
0.34302037954330444,
-0.42038285732269287,
0.40168413519859314,
0.3989819288253784,
0.21935270726680756,
-0.35074639320373535,
-0.1314329206943512,
0.25650084018707275,
0.20902372896671295,
-0.04787105694413185,
0.39337316155433655,
0.18818596005439758,
-0.2833104431629181,
0.33738547563552856,
0.07106930017471313,
1.0795737504959106,
-0.3405837416648865,
0.13976383209228516,
0.2753645181655884,
-0.06549753248691559,
0.5020322799682617,
-0.20971114933490753,
-0.024447258561849594,
-0.34004655480384827,
-0.1453164517879486,
0.14039845764636993,
-0.07370319962501526,
-0.0749872550368309,
0.09889572858810425,
0.0042848289012908936,
-0.20066002011299133,
0.017962388694286346,
0.6270859241485596,
0.0175302904099226,
0.26999926567077637,
0.1911405473947525,
-0.4791802763938904,
-0.2701752781867981,
0.06669960916042328,
0.11553595960140228,
0.013926882296800613,
0.05834706872701645,
0.10311052203178406,
-0.057730782777071,
-0.2810586094856262,
-0.24690797924995422,
-0.059447042644023895,
-0.2642481029033661,
0.008814239874482155,
0.33144357800483704,
0.026154331862926483,
0.24678486585617065,
0.412786602973938,
0.09690182656049728,
0.37819257378578186,
-0.04157857596874237,
0.34367287158966064,
-0.005714245140552521,
0.1154857650399208,
0.3053194284439087,
-0.37224775552749634,
0.06285317987203598,
0.18332329392433167,
0.03546745330095291,
-0.24658384919166565,
-0.04102912172675133,
0.039040789008140564,
-0.17534089088439941,
-0.021428607404232025,
0.21938693523406982,
-0.38750800490379333,
-0.03547336533665657,
-0.027429871261119843,
0.2074124962091446,
-0.20298020541667938,
0.022832106798887253,
-0.011360883712768555,
-0.04268743097782135,
0.2725718319416046,
-0.11608889698982239,
-0.1890246421098709,
-0.04827102646231651,
0.5493298768997192,
-0.2012448012828827,
0.009019378572702408,
0.44766712188720703,
0.09992864727973938,
-0.26395732164382935,
-0.11325514316558838,
0.36680567264556885,
0.25481200218200684,
-0.48411259055137634,
0.19001057744026184,
-0.0790904089808464,
-0.22572734951972961,
-0.22991833090782166,
0.0493292361497879,
-0.24875877797603607,
-0.6784194111824036,
-0.16911694407463074,
-0.16452842950820923,
-0.5304524302482605,
0.21104569733142853,
0.14746741950511932,
0.17626148462295532,
0.07210499048233032,
0.33230188488960266,
-0.3255845606327057,
0.14848284423351288,
-0.18963707983493805,
-0.3294217586517334,
-0.2749606966972351,
0.19680415093898773,
-0.036593638360500336,
-0.27966177463531494,
0.15011529624462128,
-0.2996867001056671,
0.02506783790886402,
0.10698627680540085,
-0.059233956038951874,
-0.10495688766241074,
-0.30211517214775085,
0.18039055168628693,
0.09748990088701248,
-0.17433585226535797,
0.21728515625,
0.05874710530042648,
-0.005486512556672096,
-0.639593243598938,
0.1978456676006317,
0.2186894714832306,
0.0255911722779274,
-0.2599274218082428,
0.24821427464485168,
0.2317703664302826,
0.19064752757549286,
0.08138646185398102,
0.07878372073173523,
0.09892074018716812,
0.08389779925346375,
0.25587978959083557,
-0.047765810042619705,
0.045516237616539,
0.060225293040275574,
0.27072110772132874,
0.4669758081436157,
-0.06794707477092743,
0.2612263560295105,
-0.014430403709411621,
-0.19315935671329498,
0.3090989291667938,
0.050117604434490204,
0.33818671107292175,
-0.15282770991325378,
-0.3879077732563019,
0.22011816501617432,
0.02136054076254368,
0.030945781618356705,
-0.185425266623497,
0.5938164591789246,
-0.1487279087305069,
0.04206114634871483,
0.18842938542366028,
-0.2808401584625244,
0.1293851137161255,
0.23674404621124268,
-0.017595326527953148,
0.7456458806991577,
-0.06904751807451248,
0.2640606164932251,
-0.0591680146753788,
0.048559125512838364,
0.022736206650733948,
0.14168304204940796,
0.18821825087070465,
0.3031378984451294,
-0.013316601514816284,
-0.03044455498456955,
0.1991015076637268,
-0.31884971261024475,
0.11317554116249084,
0.2879771292209625,
-0.3073578476905823,
-0.036867301911115646,
0.08160804957151413,
-0.2296026647090912,
0.23362445831298828,
0.055398643016815186,
0.17288203537464142,
-0.2532207667827606,
-0.29654425382614136,
-0.16502410173416138,
0.44165441393852234,
-0.3045414090156555,
-0.12946857511997223,
0.060274846851825714,
0.14730674028396606,
-0.09408096224069595,
0.13589036464691162,
-0.023679252713918686,
-0.19794626533985138,
0.1773071587085724,
-0.055861711502075195,
0.07705695182085037,
-0.0857352688908577,
-0.34152618050575256,
-0.30860427021980286,
0.19760946929454803,
-0.2629241347312927,
0.1925160139799118,
-0.3391077518463135,
0.07390430569648743,
-0.08854039013385773,
0.005861049517989159,
0.34647709131240845,
0.1857241839170456,
-0.18096521496772766,
0.31567254662513733,
-0.15544557571411133,
-0.016762135550379753,
-0.20064379274845123,
0.44503170251846313,
-0.40754249691963196,
0.12752455472946167,
-0.12142322957515717,
-0.010828397236764431,
-0.1622944176197052,
-0.48898011445999146,
-0.10808083415031433,
0.14554481208324432,
-0.0596732571721077,
0.3450081944465637,
-0.17465442419052124,
-0.20544558763504028,
-0.14007285237312317,
0.08909280598163605,
-0.06408464908599854,
-0.029738832265138626,
0.25745877623558044,
-0.19964919984340668,
-0.0033041629940271378,
-0.2653299570083618,
0.03252397105097771,
0.05098455399274826,
0.5061958432197571,
0.3166138231754303,
0.0984845981001854,
-0.3681977093219757,
-0.029455922544002533,
-0.5369013547897339,
0.06038429215550423,
0.12449322640895844,
0.02305893786251545,
0.2460484355688095,
-0.02548205479979515,
0.0347294956445694,
0.11602349579334259,
-0.027889952063560486,
-0.05988529324531555,
-0.012193232774734497,
0.14033243060112,
0.12576650083065033,
-0.06381502747535706,
-0.3864617943763733,
-0.19353103637695312,
0.062385380268096924,
-0.31752118468284607,
0.3791373670101166,
-0.1340322196483612,
-0.04109358787536621,
-0.09030584990978241,
-0.05788483843207359,
-0.21366707980632782,
-0.17623355984687805,
0.32903018593788147,
0.3273833990097046,
0.10237523168325424,
-0.07593679428100586,
-0.1228347048163414,
-0.1022118628025055,
-0.012554498389363289,
-0.3379484713077545,
0.03234897553920746,
-0.38402241468429565,
0.1864362508058548,
-0.1544865071773529,
0.07938200235366821,
-0.2923645079135895,
-0.33536261320114136,
0.2500022053718567,
-0.2799164652824402,
-0.2054031491279602,
0.3331497013568878,
-0.39487987756729126,
0.523158609867096,
-0.037853751331567764,
0.3861062824726105,
0.19554172456264496,
0.4125017523765564,
-0.3077686131000519,
-0.3913087844848633,
0.5668402910232544,
-0.592167854309082,
-0.25343868136405945,
0.02891789749264717,
0.12581852078437805,
-0.0002885088324546814,
-0.22598528861999512,
-0.5894650816917419,
-0.21950022876262665,
0.21020524203777313,
-0.1870141625404358,
-0.2681828737258911,
0.2011876404285431,
-0.07772290706634521,
-0.14604000747203827,
-0.2514541745185852,
0.6082690954208374,
-0.03247830271720886,
-0.1275635063648224,
0.514148473739624,
-0.054861657321453094
] |
https://github.com/huggingface/datasets/issues/4676 | Dataset.map gets stuck on _cast_to_python_objects | Cool ! Sure feel free to follow these instructions to open a PR :) thanks ! | ## Describe the bug
`Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows.
Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/huggingface/notebooks/blob/main/examples/question_answering.ipynb , and it did _not_ have this problem. However, I'm at a loss to figure out how it avoids it, as the example below is simple and minimal and still has this problem.
This casting, where it occurs, causes the `Dataset.map` to run approximately 7x slower than it runs for code which does not cause this casting.
This may be related to https://github.com/huggingface/datasets/issues/1046 . However, the tokenizer is _not_ set to return Tensors.
## Steps to reproduce the bug
A minimal, self-contained example to reproduce is below:
```python
import transformers
from transformers import AutoTokenizer
from datasets import load_dataset
import torch
import cProfile
pretrained = 'distilbert-base-uncased'
tokenizer = AutoTokenizer.from_pretrained(pretrained)
squad = load_dataset('squad')
squad_train = squad['train']
squad_tiny = squad_train.select(range(5000))
assert isinstance(tokenizer, transformers.PreTrainedTokenizerFast)
def tokenize(ds):
tokens = tokenizer(text=ds['question'],
text_pair=ds['context'],
add_special_tokens=True,
padding='max_length',
truncation='only_second',
max_length=160,
stride=32,
return_overflowing_tokens=True,
return_offsets_mapping=True,
)
return tokens
cmd = 'squad_tiny.map(tokenize, batched=True, remove_columns=squad_tiny.column_names)'
cProfile.run(cmd, sort='tottime')
```
## Actual results
The code works, but takes 10-25 sec per batch (about 7x slower than non-casting code), with the following profile. Note that `_cast_to_python_objects` is the culprit.
```
63524075 function calls (58206482 primitive calls) in 121.836 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
5274034/40 68.751 0.000 111.060 2.776 features.py:262(_cast_to_python_objects)
42223832 24.077 0.000 33.310 0.000 {built-in method builtins.isinstance}
16338/20 5.121 0.000 111.053 5.553 features.py:361(<listcomp>)
5274135 4.747 0.000 4.749 0.000 {built-in method _abc._abc_instancecheck}
80/40 4.731 0.059 116.292 2.907 {pyarrow.lib.array}
5274135 4.485 0.000 9.234 0.000 abc.py:96(__instancecheck__)
2661564/2645196 2.959 0.000 4.298 0.000 features.py:1081(_check_non_null_non_empty_recursive)
5 2.786 0.557 2.786 0.557 {method 'encode_batch' of 'tokenizers.Tokenizer' objects}
2668052 0.930 0.000 0.930 0.000 {built-in method builtins.len}
5000 0.930 0.000 0.938 0.000 tokenization_utils_fast.py:187(_convert_encoding)
5 0.750 0.150 0.808 0.162 {method 'to_pydict' of 'pyarrow.lib.Table' objects}
1 0.444 0.444 121.749 121.749 arrow_dataset.py:2501(_map_single)
40 0.375 0.009 116.291 2.907 arrow_writer.py:151(__arrow_array__)
10 0.066 0.007 0.066 0.007 {method 'write_batch' of 'pyarrow.lib._CRecordBatchWriter' objects}
1 0.060 0.060 121.835 121.835 fingerprint.py:409(wrapper)
11387/5715 0.049 0.000 0.175 0.000 {built-in method builtins.getattr}
36 0.049 0.001 0.049 0.001 {pyarrow._compute.call_function}
15000 0.040 0.000 0.040 0.000 _collections_abc.py:719(__iter__)
3 0.023 0.008 0.023 0.008 {built-in method _imp.create_dynamic}
77 0.020 0.000 0.020 0.000 {built-in method builtins.dir}
37 0.019 0.001 0.019 0.001 socket.py:543(send)
15 0.017 0.001 0.017 0.001 tokenization_utils_fast.py:460(<listcomp>)
432/421 0.015 0.000 0.024 0.000 traitlets.py:1388(_notify_observers)
5000 0.015 0.000 0.018 0.000 _collections_abc.py:672(keys)
51 0.014 0.000 0.042 0.001 traitlets.py:276(getmembers)
5 0.014 0.003 3.775 0.755 tokenization_utils_fast.py:392(_batch_encode_plus)
3/1 0.014 0.005 0.035 0.035 {built-in method _imp.exec_dynamic}
5 0.012 0.002 0.950 0.190 tokenization_utils_fast.py:438(<listcomp>)
31626 0.012 0.000 0.012 0.000 {method 'append' of 'list' objects}
1532/1001 0.011 0.000 0.189 0.000 traitlets.py:643(get)
5 0.009 0.002 3.796 0.759 arrow_dataset.py:2631(apply_function_on_filtered_inputs)
51 0.009 0.000 0.062 0.001 traitlets.py:1766(traits)
5 0.008 0.002 3.784 0.757 tokenization_utils_base.py:2632(batch_encode_plus)
368 0.007 0.000 0.044 0.000 traitlets.py:1715(_get_trait_default_generator)
26 0.007 0.000 0.022 0.001 traitlets.py:1186(setup_instance)
51 0.006 0.000 0.010 0.000 traitlets.py:1781(<listcomp>)
80/32 0.006 0.000 0.052 0.002 table.py:1758(cast_array_to_feature)
684 0.006 0.000 0.007 0.000 {method 'items' of 'dict' objects}
4344/1794 0.006 0.000 0.192 0.000 traitlets.py:675(__get__)
...
```
## Environment info
I observed this on both Google colab and my local workstation:
### Google colab
- `datasets` version: 2.3.2
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- PyArrow version: 6.0.1
- Pandas version: 1.3.5
### Local
- `datasets` version: 2.3.2
- Platform: Windows-7-6.1.7601-SP1
- Python version: 3.8.10
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
| 16 | Dataset.map gets stuck on _cast_to_python_objects
## Describe the bug
`Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows.
Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/huggingface/notebooks/blob/main/examples/question_answering.ipynb , and it did _not_ have this problem. However, I'm at a loss to figure out how it avoids it, as the example below is simple and minimal and still has this problem.
This casting, where it occurs, causes the `Dataset.map` to run approximately 7x slower than it runs for code which does not cause this casting.
This may be related to https://github.com/huggingface/datasets/issues/1046 . However, the tokenizer is _not_ set to return Tensors.
## Steps to reproduce the bug
A minimal, self-contained example to reproduce is below:
```python
import transformers
from transformers import AutoTokenizer
from datasets import load_dataset
import torch
import cProfile
pretrained = 'distilbert-base-uncased'
tokenizer = AutoTokenizer.from_pretrained(pretrained)
squad = load_dataset('squad')
squad_train = squad['train']
squad_tiny = squad_train.select(range(5000))
assert isinstance(tokenizer, transformers.PreTrainedTokenizerFast)
def tokenize(ds):
tokens = tokenizer(text=ds['question'],
text_pair=ds['context'],
add_special_tokens=True,
padding='max_length',
truncation='only_second',
max_length=160,
stride=32,
return_overflowing_tokens=True,
return_offsets_mapping=True,
)
return tokens
cmd = 'squad_tiny.map(tokenize, batched=True, remove_columns=squad_tiny.column_names)'
cProfile.run(cmd, sort='tottime')
```
## Actual results
The code works, but takes 10-25 sec per batch (about 7x slower than non-casting code), with the following profile. Note that `_cast_to_python_objects` is the culprit.
```
63524075 function calls (58206482 primitive calls) in 121.836 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
5274034/40 68.751 0.000 111.060 2.776 features.py:262(_cast_to_python_objects)
42223832 24.077 0.000 33.310 0.000 {built-in method builtins.isinstance}
16338/20 5.121 0.000 111.053 5.553 features.py:361(<listcomp>)
5274135 4.747 0.000 4.749 0.000 {built-in method _abc._abc_instancecheck}
80/40 4.731 0.059 116.292 2.907 {pyarrow.lib.array}
5274135 4.485 0.000 9.234 0.000 abc.py:96(__instancecheck__)
2661564/2645196 2.959 0.000 4.298 0.000 features.py:1081(_check_non_null_non_empty_recursive)
5 2.786 0.557 2.786 0.557 {method 'encode_batch' of 'tokenizers.Tokenizer' objects}
2668052 0.930 0.000 0.930 0.000 {built-in method builtins.len}
5000 0.930 0.000 0.938 0.000 tokenization_utils_fast.py:187(_convert_encoding)
5 0.750 0.150 0.808 0.162 {method 'to_pydict' of 'pyarrow.lib.Table' objects}
1 0.444 0.444 121.749 121.749 arrow_dataset.py:2501(_map_single)
40 0.375 0.009 116.291 2.907 arrow_writer.py:151(__arrow_array__)
10 0.066 0.007 0.066 0.007 {method 'write_batch' of 'pyarrow.lib._CRecordBatchWriter' objects}
1 0.060 0.060 121.835 121.835 fingerprint.py:409(wrapper)
11387/5715 0.049 0.000 0.175 0.000 {built-in method builtins.getattr}
36 0.049 0.001 0.049 0.001 {pyarrow._compute.call_function}
15000 0.040 0.000 0.040 0.000 _collections_abc.py:719(__iter__)
3 0.023 0.008 0.023 0.008 {built-in method _imp.create_dynamic}
77 0.020 0.000 0.020 0.000 {built-in method builtins.dir}
37 0.019 0.001 0.019 0.001 socket.py:543(send)
15 0.017 0.001 0.017 0.001 tokenization_utils_fast.py:460(<listcomp>)
432/421 0.015 0.000 0.024 0.000 traitlets.py:1388(_notify_observers)
5000 0.015 0.000 0.018 0.000 _collections_abc.py:672(keys)
51 0.014 0.000 0.042 0.001 traitlets.py:276(getmembers)
5 0.014 0.003 3.775 0.755 tokenization_utils_fast.py:392(_batch_encode_plus)
3/1 0.014 0.005 0.035 0.035 {built-in method _imp.exec_dynamic}
5 0.012 0.002 0.950 0.190 tokenization_utils_fast.py:438(<listcomp>)
31626 0.012 0.000 0.012 0.000 {method 'append' of 'list' objects}
1532/1001 0.011 0.000 0.189 0.000 traitlets.py:643(get)
5 0.009 0.002 3.796 0.759 arrow_dataset.py:2631(apply_function_on_filtered_inputs)
51 0.009 0.000 0.062 0.001 traitlets.py:1766(traits)
5 0.008 0.002 3.784 0.757 tokenization_utils_base.py:2632(batch_encode_plus)
368 0.007 0.000 0.044 0.000 traitlets.py:1715(_get_trait_default_generator)
26 0.007 0.000 0.022 0.001 traitlets.py:1186(setup_instance)
51 0.006 0.000 0.010 0.000 traitlets.py:1781(<listcomp>)
80/32 0.006 0.000 0.052 0.002 table.py:1758(cast_array_to_feature)
684 0.006 0.000 0.007 0.000 {method 'items' of 'dict' objects}
4344/1794 0.006 0.000 0.192 0.000 traitlets.py:675(__get__)
...
```
## Environment info
I observed this on both Google colab and my local workstation:
### Google colab
- `datasets` version: 2.3.2
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- PyArrow version: 6.0.1
- Pandas version: 1.3.5
### Local
- `datasets` version: 2.3.2
- Platform: Windows-7-6.1.7601-SP1
- Python version: 3.8.10
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
Cool ! Sure feel free to follow these instructions to open a PR :) thanks ! | [
-0.19857273995876312,
-0.31085896492004395,
0.1077575832605362,
0.21380633115768433,
0.4472837448120117,
0.020685873925685883,
0.052085742354393005,
0.1691586822271347,
-0.17445799708366394,
0.0026284009218215942,
0.08085259795188904,
0.4416099786758423,
-0.17229820787906647,
-0.21829798817634583,
-0.1370740830898285,
-0.06048624962568283,
0.1563604325056076,
0.014420866966247559,
-0.021366678178310394,
-0.09952303767204285,
-0.18828628957271576,
0.1998559981584549,
-0.15735241770744324,
0.027144305408000946,
-0.2920379340648651,
-0.20801250636577606,
0.1287490576505661,
-0.31433582305908203,
-0.19824375212192535,
-0.2438431829214096,
0.19835655391216278,
0.017011292278766632,
-0.0255601666867733,
0.3748725950717926,
-0.0001258271950064227,
-0.0017847642302513123,
0.04816871136426926,
0.2950875461101532,
0.03357557952404022,
0.033076539635658264,
0.14061331748962402,
0.013441687449812889,
0.07509907335042953,
-0.03071650117635727,
-0.019719451665878296,
0.07525170594453812,
0.16369420289993286,
-0.22030659019947052,
0.3976842164993286,
0.15867821872234344,
0.07425015419721603,
0.782170295715332,
-0.1810450404882431,
0.09422078728675842,
-0.16865113377571106,
0.12454383075237274,
-0.15005844831466675,
-0.03692615032196045,
0.0929451733827591,
0.1620047390460968,
-0.11621791869401932,
0.06892077624797821,
-0.39632296562194824,
-0.4058930277824402,
0.30792999267578125,
-0.11446505039930344,
-0.16602835059165955,
-0.525894045829773,
0.12590837478637695,
0.1651139110326767,
0.2310430109500885,
-0.23841255903244019,
-0.10669808834791183,
-0.38451138138771057,
0.14140480756759644,
0.21748946607112885,
0.16830824315547943,
-0.1392594277858734,
0.04792765900492668,
0.025982506573200226,
-0.6583473682403564,
0.16611039638519287,
0.12237018346786499,
0.09322316944599152,
-0.21273761987686157,
0.00983496755361557,
0.0018883072771131992,
0.2758117914199829,
0.1144634485244751,
-0.09760957956314087,
-0.3304125666618347,
-0.28475213050842285,
0.011998366564512253,
0.22913682460784912,
-0.3270466923713684,
-0.18138253688812256,
0.2958376705646515,
0.11548388749361038,
0.0006654020398855209,
0.09848062694072723,
-0.2005235254764557,
0.23017266392707825,
0.04102499410510063,
-0.004158928990364075,
0.4801265299320221,
0.08759929239749908,
0.008890926837921143,
0.28243255615234375,
0.23276115953922272,
-0.17840726673603058,
-0.18232204020023346,
0.2072034478187561,
-0.1279343217611313,
-0.0018085283227264881,
0.22329004108905792,
-0.2013247013092041,
0.2768147587776184,
-0.0007524304091930389,
-0.02931179292500019,
0.34407275915145874,
-0.3549901843070984,
0.4550001621246338,
0.3363357484340668,
0.2670011520385742,
-0.20554599165916443,
0.1746586263179779,
0.09465311467647552,
0.015296239405870438,
-0.1943577527999878,
0.1941571682691574,
-0.16279233992099762,
-0.21824254095554352,
-0.07880391925573349,
-0.06574960798025131,
0.0481412298977375,
0.07416757196187973,
-0.0033296882174909115,
0.13702045381069183,
0.3392685651779175,
-0.004889339208602905,
0.051061056554317474,
-0.08621014654636383,
0.1343604475259781,
0.27924978733062744,
-0.28170648217201233,
0.5301240682601929,
0.025611603632569313,
-0.2122562974691391,
-0.44964659214019775,
-0.08240539580583572,
-0.07300572842359543,
-0.04136298596858978,
0.23903459310531616,
0.1077621728181839,
-0.3227100968360901,
0.07243803143501282,
-0.3283449113368988,
0.10978473722934723,
0.20799922943115234,
0.07519632577896118,
0.16107890009880066,
-0.5056889057159424,
-0.31027939915657043,
-0.11968152970075607,
0.35887935757637024,
0.25339946150779724,
0.2096034586429596,
-0.22297075390815735,
-0.02173364907503128,
-0.06105242297053337,
0.07263979315757751,
0.3651009202003479,
0.040770091116428375,
0.4691639840602875,
-0.3277805745601654,
0.2482459396123886,
0.16748455166816711,
-0.22599776089191437,
-0.4598308503627777,
0.1541830599308014,
-0.3351256847381592,
0.22823072969913483,
-0.05843528360128403,
0.20382367074489594,
0.40515097975730896,
-0.14682720601558685,
0.045775458216667175,
0.32902467250823975,
-0.28939172625541687,
0.27497005462646484,
-0.10386839509010315,
-0.04129965603351593,
-0.054619185626506805,
0.0662422627210617,
-0.04091836139559746,
0.026192307472229004,
-0.2475910186767578,
0.29628050327301025,
0.004303433001041412,
0.15530046820640564,
-0.03158602863550186,
0.2599870562553406,
0.249533548951149,
-0.049087248742580414,
-0.0751011073589325,
-0.2345547080039978,
-0.44103461503982544,
0.20106536149978638,
0.4714528024196625,
0.08248081803321838,
-0.03161734342575073,
-0.2685389518737793,
-0.04008927941322327,
0.2991943359375,
-0.1847812831401825,
0.230409637093544,
-0.06190815567970276,
-0.26832911372184753,
0.20609265565872192,
0.12956245243549347,
0.08239157497882843,
-0.12676666676998138,
0.034082576632499695,
0.20520581305027008,
-0.5017535090446472,
0.025978760793805122,
0.15012569725513458,
-0.07958590239286423,
-0.22492043673992157,
0.17953455448150635,
0.15100723505020142,
-0.14032012224197388,
0.09603752940893173,
0.007452394813299179,
0.006274387240409851,
0.13539449870586395,
-0.2951868772506714,
0.4778095483779907,
0.2103307992219925,
-0.17966532707214355,
-0.1626884788274765,
0.16735388338565826,
0.015658561140298843,
-0.15288427472114563,
0.10849295556545258,
0.3658451735973358,
0.09150312095880508,
0.4400782883167267,
-0.12418452650308609,
0.10867530852556229,
-0.037326518446207047,
0.10467645525932312,
-0.3656548261642456,
-0.03207070380449295,
0.17925488948822021,
0.23115043342113495,
0.4279037117958069,
0.3445310890674591,
-0.1495245099067688,
0.3812818229198456,
0.6750516891479492,
-0.17184416949748993,
-0.1569061279296875,
0.19759231805801392,
-0.23242560029029846,
0.06529004871845245,
-0.0047150831669569016,
-0.06165182217955589,
0.16477283835411072,
0.05601758509874344,
0.3356893062591553,
0.03202454745769501,
-0.1547420769929886,
-0.06755997985601425,
0.13472293317317963,
0.3254316449165344,
-0.10785212367773056,
-0.016795039176940918,
0.0652332752943039,
0.19025065004825592,
-0.2569936215877533,
-0.018739040940999985,
-0.19028174877166748,
0.18534743785858154,
-0.16582229733467102,
0.2538367211818695,
-0.3633829653263092,
0.23198312520980835,
-0.2937632203102112,
-0.07417599856853485,
-0.24260473251342773,
-0.4625779688358307,
-0.06725361198186874,
0.3283192217350006,
-0.23627793788909912,
0.34014686942100525,
0.08493119478225708,
0.05077916383743286,
0.025650350376963615,
-0.31409546732902527,
-0.3116731643676758,
-0.012134892866015434,
-0.12297069281339645,
-0.13405495882034302,
0.33402204513549805,
-0.38563865423202515,
0.3370487689971924,
0.017923003062605858,
-0.14753614366054535,
-0.14855051040649414,
-0.4889216721057892,
0.11598823219537735,
-0.14698326587677002,
0.30045369267463684,
0.14576011896133423,
0.26732683181762695,
-0.1712409406900406,
-0.2134137600660324,
0.17964404821395874,
-0.29625922441482544,
-0.19884172081947327,
0.21072594821453094,
-0.039765749126672745,
-0.1301126331090927,
-0.08374643325805664,
0.039062973111867905,
0.09504905343055725,
-0.14940020442008972,
0.6328098177909851,
-0.38445889949798584,
-0.0969896912574768,
0.10964508354663849,
0.26509368419647217,
0.26438066363334656,
-0.29754242300987244,
0.03727274388074875,
-0.0413571298122406,
-0.24677203595638275,
0.4540944993495941,
0.1388806700706482,
-0.15073253214359283,
-0.2384508103132248,
-0.10113892704248428,
-0.019817795604467392,
0.07372969388961792,
-0.5107650756835938,
-0.14227427542209625,
-0.41831955313682556,
0.4479522705078125,
-0.012067634612321854,
-0.059826143085956573,
0.29574111104011536,
0.10979967564344406,
0.04201768338680267,
0.07887456566095352,
-0.14431239664554596,
0.07216867804527283,
-0.0005671344697475433,
-0.18432629108428955,
-0.02853899449110031,
0.5980507731437683,
0.13382844626903534,
0.6021789908409119,
0.280595600605011,
-0.3199312686920166,
-0.07888072729110718,
-0.0470954030752182,
0.2651394307613373,
-0.3190622627735138,
-0.34285005927085876,
0.015576259233057499,
-0.14583730697631836,
-0.2689526081085205,
0.037472039461135864,
0.10318118333816528,
-0.09393388777971268,
0.3390497863292694,
-0.013379164040088654,
0.041253894567489624,
-0.5557273626327515,
0.12826566398143768,
-0.06620080024003983,
-0.1450369656085968,
0.0920773297548294,
0.19338881969451904,
-0.30712321400642395,
-0.06819412112236023,
0.10613022744655609,
0.03790590539574623,
0.30696824193000793,
-0.002121265511959791,
-0.6750514507293701,
-0.31153473258018494,
-0.513572633266449,
0.09022384881973267,
0.004525733180344105,
0.2789490222930908,
-0.05850747972726822,
-0.11479371786117554,
0.3291664719581604,
-0.0039671375416219234,
0.8791699409484863,
0.33558860421180725,
0.07706056535243988,
0.020144354552030563,
-0.3146366477012634,
-0.3795992434024811,
0.16413888335227966,
0.15496501326560974,
0.21902874112129211,
0.4436371922492981,
0.656320333480835,
-0.3763692080974579,
-0.1665111929178238,
0.11307687312364578,
0.2732827365398407,
-0.03744533658027649,
0.06361136585474014,
-0.19079658389091492,
-0.3345325291156769,
-0.20557193458080292,
0.30548641085624695,
0.35803911089897156,
-0.024275392293930054,
0.1743769347667694,
-0.2566204369068146,
-0.13435256481170654,
-0.11493135988712311,
0.16957548260688782,
0.020337846130132675,
0.003927208948880434,
0.04421761631965637,
0.6553427577018738,
0.19628408551216125,
-0.2671981453895569,
-0.03643258661031723,
0.3515284061431885,
0.0679381936788559,
-0.5526391863822937,
-0.02635544165968895,
0.4711049795150757,
0.39762064814567566,
0.43598905205726624,
-0.06066802516579628,
0.1862822324037552,
-0.002140190452337265,
0.34302037954330444,
-0.42038285732269287,
0.40168413519859314,
0.3989819288253784,
0.21935270726680756,
-0.35074639320373535,
-0.1314329206943512,
0.25650084018707275,
0.20902372896671295,
-0.04787105694413185,
0.39337316155433655,
0.18818596005439758,
-0.2833104431629181,
0.33738547563552856,
0.07106930017471313,
1.0795737504959106,
-0.3405837416648865,
0.13976383209228516,
0.2753645181655884,
-0.06549753248691559,
0.5020322799682617,
-0.20971114933490753,
-0.024447258561849594,
-0.34004655480384827,
-0.1453164517879486,
0.14039845764636993,
-0.07370319962501526,
-0.0749872550368309,
0.09889572858810425,
0.0042848289012908936,
-0.20066002011299133,
0.017962388694286346,
0.6270859241485596,
0.0175302904099226,
0.26999926567077637,
0.1911405473947525,
-0.4791802763938904,
-0.2701752781867981,
0.06669960916042328,
0.11553595960140228,
0.013926882296800613,
0.05834706872701645,
0.10311052203178406,
-0.057730782777071,
-0.2810586094856262,
-0.24690797924995422,
-0.059447042644023895,
-0.2642481029033661,
0.008814239874482155,
0.33144357800483704,
0.026154331862926483,
0.24678486585617065,
0.412786602973938,
0.09690182656049728,
0.37819257378578186,
-0.04157857596874237,
0.34367287158966064,
-0.005714245140552521,
0.1154857650399208,
0.3053194284439087,
-0.37224775552749634,
0.06285317987203598,
0.18332329392433167,
0.03546745330095291,
-0.24658384919166565,
-0.04102912172675133,
0.039040789008140564,
-0.17534089088439941,
-0.021428607404232025,
0.21938693523406982,
-0.38750800490379333,
-0.03547336533665657,
-0.027429871261119843,
0.2074124962091446,
-0.20298020541667938,
0.022832106798887253,
-0.011360883712768555,
-0.04268743097782135,
0.2725718319416046,
-0.11608889698982239,
-0.1890246421098709,
-0.04827102646231651,
0.5493298768997192,
-0.2012448012828827,
0.009019378572702408,
0.44766712188720703,
0.09992864727973938,
-0.26395732164382935,
-0.11325514316558838,
0.36680567264556885,
0.25481200218200684,
-0.48411259055137634,
0.19001057744026184,
-0.0790904089808464,
-0.22572734951972961,
-0.22991833090782166,
0.0493292361497879,
-0.24875877797603607,
-0.6784194111824036,
-0.16911694407463074,
-0.16452842950820923,
-0.5304524302482605,
0.21104569733142853,
0.14746741950511932,
0.17626148462295532,
0.07210499048233032,
0.33230188488960266,
-0.3255845606327057,
0.14848284423351288,
-0.18963707983493805,
-0.3294217586517334,
-0.2749606966972351,
0.19680415093898773,
-0.036593638360500336,
-0.27966177463531494,
0.15011529624462128,
-0.2996867001056671,
0.02506783790886402,
0.10698627680540085,
-0.059233956038951874,
-0.10495688766241074,
-0.30211517214775085,
0.18039055168628693,
0.09748990088701248,
-0.17433585226535797,
0.21728515625,
0.05874710530042648,
-0.005486512556672096,
-0.639593243598938,
0.1978456676006317,
0.2186894714832306,
0.0255911722779274,
-0.2599274218082428,
0.24821427464485168,
0.2317703664302826,
0.19064752757549286,
0.08138646185398102,
0.07878372073173523,
0.09892074018716812,
0.08389779925346375,
0.25587978959083557,
-0.047765810042619705,
0.045516237616539,
0.060225293040275574,
0.27072110772132874,
0.4669758081436157,
-0.06794707477092743,
0.2612263560295105,
-0.014430403709411621,
-0.19315935671329498,
0.3090989291667938,
0.050117604434490204,
0.33818671107292175,
-0.15282770991325378,
-0.3879077732563019,
0.22011816501617432,
0.02136054076254368,
0.030945781618356705,
-0.185425266623497,
0.5938164591789246,
-0.1487279087305069,
0.04206114634871483,
0.18842938542366028,
-0.2808401584625244,
0.1293851137161255,
0.23674404621124268,
-0.017595326527953148,
0.7456458806991577,
-0.06904751807451248,
0.2640606164932251,
-0.0591680146753788,
0.048559125512838364,
0.022736206650733948,
0.14168304204940796,
0.18821825087070465,
0.3031378984451294,
-0.013316601514816284,
-0.03044455498456955,
0.1991015076637268,
-0.31884971261024475,
0.11317554116249084,
0.2879771292209625,
-0.3073578476905823,
-0.036867301911115646,
0.08160804957151413,
-0.2296026647090912,
0.23362445831298828,
0.055398643016815186,
0.17288203537464142,
-0.2532207667827606,
-0.29654425382614136,
-0.16502410173416138,
0.44165441393852234,
-0.3045414090156555,
-0.12946857511997223,
0.060274846851825714,
0.14730674028396606,
-0.09408096224069595,
0.13589036464691162,
-0.023679252713918686,
-0.19794626533985138,
0.1773071587085724,
-0.055861711502075195,
0.07705695182085037,
-0.0857352688908577,
-0.34152618050575256,
-0.30860427021980286,
0.19760946929454803,
-0.2629241347312927,
0.1925160139799118,
-0.3391077518463135,
0.07390430569648743,
-0.08854039013385773,
0.005861049517989159,
0.34647709131240845,
0.1857241839170456,
-0.18096521496772766,
0.31567254662513733,
-0.15544557571411133,
-0.016762135550379753,
-0.20064379274845123,
0.44503170251846313,
-0.40754249691963196,
0.12752455472946167,
-0.12142322957515717,
-0.010828397236764431,
-0.1622944176197052,
-0.48898011445999146,
-0.10808083415031433,
0.14554481208324432,
-0.0596732571721077,
0.3450081944465637,
-0.17465442419052124,
-0.20544558763504028,
-0.14007285237312317,
0.08909280598163605,
-0.06408464908599854,
-0.029738832265138626,
0.25745877623558044,
-0.19964919984340668,
-0.0033041629940271378,
-0.2653299570083618,
0.03252397105097771,
0.05098455399274826,
0.5061958432197571,
0.3166138231754303,
0.0984845981001854,
-0.3681977093219757,
-0.029455922544002533,
-0.5369013547897339,
0.06038429215550423,
0.12449322640895844,
0.02305893786251545,
0.2460484355688095,
-0.02548205479979515,
0.0347294956445694,
0.11602349579334259,
-0.027889952063560486,
-0.05988529324531555,
-0.012193232774734497,
0.14033243060112,
0.12576650083065033,
-0.06381502747535706,
-0.3864617943763733,
-0.19353103637695312,
0.062385380268096924,
-0.31752118468284607,
0.3791373670101166,
-0.1340322196483612,
-0.04109358787536621,
-0.09030584990978241,
-0.05788483843207359,
-0.21366707980632782,
-0.17623355984687805,
0.32903018593788147,
0.3273833990097046,
0.10237523168325424,
-0.07593679428100586,
-0.1228347048163414,
-0.1022118628025055,
-0.012554498389363289,
-0.3379484713077545,
0.03234897553920746,
-0.38402241468429565,
0.1864362508058548,
-0.1544865071773529,
0.07938200235366821,
-0.2923645079135895,
-0.33536261320114136,
0.2500022053718567,
-0.2799164652824402,
-0.2054031491279602,
0.3331497013568878,
-0.39487987756729126,
0.523158609867096,
-0.037853751331567764,
0.3861062824726105,
0.19554172456264496,
0.4125017523765564,
-0.3077686131000519,
-0.3913087844848633,
0.5668402910232544,
-0.592167854309082,
-0.25343868136405945,
0.02891789749264717,
0.12581852078437805,
-0.0002885088324546814,
-0.22598528861999512,
-0.5894650816917419,
-0.21950022876262665,
0.21020524203777313,
-0.1870141625404358,
-0.2681828737258911,
0.2011876404285431,
-0.07772290706634521,
-0.14604000747203827,
-0.2514541745185852,
0.6082690954208374,
-0.03247830271720886,
-0.1275635063648224,
0.514148473739624,
-0.054861657321453094
] |
https://github.com/huggingface/datasets/issues/4675 | Unable to use dataset with PyTorch dataloader | Hi! `para_crawl` has a single column of type `Translation`, which stores translation dictionaries. These dictionaries can be stored in a NumPy array but not in a PyTorch tensor since PyTorch only supports numeric types. In `datasets`, the conversion to `torch` works as follows:
1. convert PyArrow table to NumPy arrays
2. convert NumPy arrays to Torch tensors.
The 2nd step is problematic for your case as `datasets` attempts to convert the array of dictionaries to a PyTorch tensor. One way to fix this is to use the [preprocessing logic](https://github.com/huggingface/transformers/blob/8581a798c0a48fca07b29ce2ca2ef55adcae8c7e/examples/pytorch/translation/run_translation.py#L440-L458) from the Transformers translation script. And on our side, I think we can replace a NumPy array of dicts with a dict of NumPy array if the feature type is `Translation`/`TranslationVariableLanguages` (one array for each language) to get the official PyTorch error message for strings in such case. | ## Describe the bug
When using `.with_format("torch")`, an arrow table is returned and I am unable to use it by passing it to a PyTorch DataLoader: please see the code below.
## Steps to reproduce the bug
```python
from datasets import load_dataset
from torch.utils.data import DataLoader
ds = load_dataset(
"para_crawl",
name="enfr",
cache_dir="/tmp/test/",
split="train",
keep_in_memory=True,
)
dataloader = DataLoader(ds.with_format("torch"), num_workers=32)
print(next(iter(dataloader)))
```
Is there something I am doing wrong? The documentation does not say much about the behavior of `.with_format()` so I feel like I am a bit stuck here :-/
Thanks in advance for your help!
## Expected results
The code should run with no error
## Actual results
```
AttributeError: 'str' object has no attribute 'dtype'
```
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.3.2
- Platform: Linux-4.18.0-348.el8.x86_64-x86_64-with-glibc2.28
- Python version: 3.10.4
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
| 137 | Unable to use dataset with PyTorch dataloader
## Describe the bug
When using `.with_format("torch")`, an arrow table is returned and I am unable to use it by passing it to a PyTorch DataLoader: please see the code below.
## Steps to reproduce the bug
```python
from datasets import load_dataset
from torch.utils.data import DataLoader
ds = load_dataset(
"para_crawl",
name="enfr",
cache_dir="/tmp/test/",
split="train",
keep_in_memory=True,
)
dataloader = DataLoader(ds.with_format("torch"), num_workers=32)
print(next(iter(dataloader)))
```
Is there something I am doing wrong? The documentation does not say much about the behavior of `.with_format()` so I feel like I am a bit stuck here :-/
Thanks in advance for your help!
## Expected results
The code should run with no error
## Actual results
```
AttributeError: 'str' object has no attribute 'dtype'
```
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.3.2
- Platform: Linux-4.18.0-348.el8.x86_64-x86_64-with-glibc2.28
- Python version: 3.10.4
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
Hi! `para_crawl` has a single column of type `Translation`, which stores translation dictionaries. These dictionaries can be stored in a NumPy array but not in a PyTorch tensor since PyTorch only supports numeric types. In `datasets`, the conversion to `torch` works as follows:
1. convert PyArrow table to NumPy arrays
2. convert NumPy arrays to Torch tensors.
The 2nd step is problematic for your case as `datasets` attempts to convert the array of dictionaries to a PyTorch tensor. One way to fix this is to use the [preprocessing logic](https://github.com/huggingface/transformers/blob/8581a798c0a48fca07b29ce2ca2ef55adcae8c7e/examples/pytorch/translation/run_translation.py#L440-L458) from the Transformers translation script. And on our side, I think we can replace a NumPy array of dicts with a dict of NumPy array if the feature type is `Translation`/`TranslationVariableLanguages` (one array for each language) to get the official PyTorch error message for strings in such case. | [
0.02697448804974556,
-0.12281208485364914,
0.0880742073059082,
0.3734639883041382,
0.29349660873413086,
-0.09555184841156006,
0.6355209946632385,
0.23234207928180695,
-0.16599106788635254,
-0.02597077190876007,
-0.12711729109287262,
0.7121240496635437,
-0.2540292739868164,
-0.22238117456436157,
0.05368383973836899,
-0.33129292726516724,
0.1022239401936531,
0.013654619455337524,
-0.32870030403137207,
0.16249455511569977,
-0.02741965278983116,
-0.13900162279605865,
-0.14665749669075012,
0.16430580615997314,
-0.4290194511413574,
0.048691198229789734,
-0.012002643197774887,
-0.0038137733936309814,
-0.02301955409348011,
-0.33057308197021484,
0.4310015141963959,
-0.0709865391254425,
0.291153222322464,
0.9281824231147766,
-0.00013074160960968584,
0.1956224888563156,
0.19099926948547363,
-0.02216304838657379,
-0.4648120105266571,
-0.39324527978897095,
0.2917395830154419,
-0.26400095224380493,
0.3588320314884186,
-0.1984192430973053,
-0.0872689038515091,
-0.516619861125946,
-0.26866328716278076,
-0.5278952121734619,
0.11335006356239319,
0.4815599322319031,
0.07525722682476044,
0.35764601826667786,
0.1260497123003006,
0.0054491376504302025,
0.295213907957077,
0.29842281341552734,
-0.1902308464050293,
0.2489779144525528,
0.35733476281166077,
0.2308868169784546,
-0.22736135125160217,
0.156510129570961,
-0.08054004609584808,
0.1979171186685562,
0.3148002028465271,
0.09261146932840347,
-0.3464619219303131,
-0.08590221405029297,
0.09376811981201172,
0.06741082668304443,
0.7478954195976257,
-0.5644958019256592,
-0.33805978298187256,
-0.039738088846206665,
-0.08645710349082947,
-0.11134419590234756,
0.11305999755859375,
0.11660980433225632,
-0.03482788801193237,
-0.0719756931066513,
-0.08023293316364288,
0.01147468015551567,
-0.4624623656272888,
0.22343315184116364,
-0.24681293964385986,
0.09934639185667038,
-0.08010362833738327,
0.22046178579330444,
-0.0709715187549591,
-0.039702124893665314,
0.4677416980266571,
-0.03816387429833412,
0.13742214441299438,
0.15302258729934692,
-0.20265217125415802,
0.2204771637916565,
-0.09501446038484573,
-0.44028064608573914,
0.07936049997806549,
-0.045856475830078125,
0.1710452437400818,
0.06448036432266235,
-0.13184307515621185,
0.1304190754890442,
0.2647274136543274,
0.3162539303302765,
0.05936054512858391,
0.36899039149284363,
0.09536457061767578,
-0.244548037648201,
0.3198573589324951,
-0.046787627041339874,
-0.20487530529499054,
-0.2577463388442993,
0.16097363829612732,
-0.004888985306024551,
0.36061036586761475,
-0.12046694755554199,
-0.17952626943588257,
0.08902767300605774,
-0.24638807773590088,
-0.1064848080277443,
0.04684950411319733,
0.2819458544254303,
-0.051621031016111374,
0.22196760773658752,
0.4300258755683899,
0.26266956329345703,
0.02255299873650074,
-0.12018302828073502,
-0.006978626828640699,
-0.024199537932872772,
-0.2820318639278412,
-0.2879922389984131,
0.2450217455625534,
-0.13211220502853394,
-0.11602859199047089,
0.18791808187961578,
0.26016610860824585,
0.1122259646654129,
-0.039665836840867996,
-0.21740184724330902,
0.3889899253845215,
-0.06098787859082222,
-0.0942206084728241,
0.2876081168651581,
0.09533931314945221,
0.07236239314079285,
-0.04232038930058479,
0.4104483127593994,
-0.4190841019153595,
-0.25619909167289734,
-0.5354217290878296,
0.052541423588991165,
-0.19956842064857483,
0.035397954285144806,
-0.1325959861278534,
-0.14084941148757935,
0.24681276082992554,
-0.15904566645622253,
0.20453955233097076,
-0.3519367575645447,
-0.16055656969547272,
-0.21985730528831482,
0.18108724057674408,
0.10520778596401215,
-0.6290634274482727,
-0.21142107248306274,
0.4994641840457916,
0.03198898956179619,
0.2762441039085388,
0.13489894568920135,
-0.2953495979309082,
0.14725731313228607,
-0.12369035184383392,
-0.19070979952812195,
0.4545036554336548,
-0.18425609171390533,
-0.5270445346832275,
0.013235685415565968,
-0.009310461580753326,
0.13760073482990265,
0.20848123729228973,
-0.014438115991652012,
0.18519113957881927,
-0.012418088503181934,
0.0520208440721035,
0.35707199573516846,
0.1338605433702469,
-0.07497238367795944,
-0.1577790081501007,
0.02348446659743786,
0.6761285066604614,
0.2477460354566574,
0.06285012513399124,
-0.021067306399345398,
-0.09000229090452194,
-0.1287587583065033,
0.16416653990745544,
-0.052971433848142624,
0.08325141668319702,
0.041928477585315704,
-0.026732783764600754,
0.1590660661458969,
0.2129300832748413,
-0.07057583332061768,
-0.5155136585235596,
0.20435038208961487,
-0.05346096307039261,
0.1319543421268463,
-0.2778627276420593,
-0.002193193882703781,
-0.0757465660572052,
0.12431942671537399,
-0.3652621805667877,
-0.05948479101061821,
-0.06127322465181351,
0.0031874701380729675,
-0.019068997353315353,
-0.01951277256011963,
-0.1261572688817978,
0.044264666736125946,
-0.25211843848228455,
0.0028863907791674137,
-0.14872542023658752,
0.3703713119029999,
-0.08007152378559113,
-0.3459014892578125,
-0.23466062545776367,
0.24141252040863037,
-0.005725793540477753,
-0.03169390559196472,
-0.21288040280342102,
0.10912822186946869,
-0.09281504154205322,
-0.1447542905807495,
-0.6571376323699951,
-0.06647385656833649,
0.285595566034317,
-0.20266371965408325,
0.021097732707858086,
0.26723721623420715,
0.22520700097084045,
-0.02698611095547676,
-0.09903173893690109,
0.16681043803691864,
-0.0048051029443740845,
0.40067020058631897,
-0.043053023517131805,
0.11194796115159988,
0.16005250811576843,
0.17313940823078156,
0.03841911256313324,
0.09630824625492096,
0.29606926441192627,
-0.18660877645015717,
0.20362214744091034,
0.028861474245786667,
-0.2382117509841919,
-0.025340504944324493,
0.12728728353977203,
-0.02720828540623188,
0.1879206895828247,
0.3036789000034332,
-0.46111243963241577,
0.06712089478969574,
0.2544025182723999,
-0.24128641188144684,
0.321913480758667,
0.03883296623826027,
-0.03136836364865303,
-0.14425663650035858,
-0.047823961824178696,
-0.031619828194379807,
0.06858232617378235,
0.13336379826068878,
0.06793618947267532,
0.09493351727724075,
0.10561675578355789,
0.027066972106695175,
0.12568792700767517,
-0.1291458159685135,
0.0355224534869194,
0.14051403105258942,
-0.5179915428161621,
0.3365480899810791,
-0.2171742022037506,
-0.14268942177295685,
-0.23165011405944824,
-0.35592103004455566,
-0.02994326874613762,
-0.04074706882238388,
-0.1208207905292511,
0.14044399559497833,
0.07034862041473389,
0.19331862032413483,
-0.02822270803153515,
0.018147602677345276,
0.28453099727630615,
-0.36036980152130127,
-0.08438055962324142,
-0.28274548053741455,
-0.31405317783355713,
-0.030191488564014435,
0.17916834354400635,
-0.27905112504959106,
0.25875675678253174,
-0.11988554894924164,
0.22142799198627472,
-0.3831004798412323,
0.07745803147554398,
0.24881483614444733,
0.041077084839344025,
-0.12936532497406006,
0.11281747370958328,
0.2184843271970749,
0.0021120086312294006,
-0.016990289092063904,
0.342996746301651,
-0.3645115792751312,
-0.06076083332300186,
0.45869919657707214,
-0.1797487884759903,
0.13539759814739227,
-0.10220491886138916,
-0.2597008943557739,
-0.35707807540893555,
-0.16270989179611206,
0.08231038600206375,
0.05745712295174599,
0.21625086665153503,
0.10854743421077728,
0.28484106063842773,
0.2727980613708496,
0.19042761623859406,
0.217172309756279,
-0.0721866637468338,
-0.021500363945961,
0.5453047752380371,
-0.12125066667795181,
-0.46871599555015564,
-0.1267111599445343,
0.11699925363063812,
-0.07253125309944153,
0.5035208463668823,
-0.235041543841362,
-0.0013153189793229103,
-0.04922556132078171,
0.2482607662677765,
-0.2787892520427704,
0.21505442261695862,
0.2585301101207733,
0.1619493067264557,
0.12280340492725372,
-0.09461918473243713,
-0.03500060737133026,
0.12545683979988098,
-0.10705582052469254,
0.2280772626399994,
0.2734936475753784,
0.3492087125778198,
0.12907476723194122,
0.5405412316322327,
-0.21297301352024078,
-0.5812997817993164,
0.22227022051811218,
-0.186855748295784,
0.25586506724357605,
0.03031507134437561,
-0.342517614364624,
-0.07518064975738525,
-0.4233344495296478,
0.26742494106292725,
0.034921325743198395,
-0.13672932982444763,
-0.15059341490268707,
-0.14446908235549927,
0.0016706325113773346,
-0.011374298483133316,
-0.029669128358364105,
0.4218693971633911,
-0.34941810369491577,
0.20728322863578796,
-0.23806878924369812,
0.18335449695587158,
-0.12105497717857361,
-0.26104432344436646,
0.14156077802181244,
-0.07894252240657806,
0.07192230224609375,
0.07968313992023468,
-0.23597922921180725,
-0.09929516911506653,
-0.312468945980072,
0.34985896944999695,
0.2152724713087082,
0.6108636856079102,
0.11436137557029724,
-0.11331866681575775,
0.1476832926273346,
0.16428810358047485,
0.47371822595596313,
0.2987801730632782,
-0.05910440534353256,
0.11028975248336792,
-0.11637023091316223,
-0.6642906665802002,
-0.07279086112976074,
-0.23677502572536469,
0.5007815361022949,
-0.16091904044151306,
-0.05541627109050751,
-0.12631522119045258,
-0.15716896951198578,
-0.025958072394132614,
0.29018858075141907,
-0.15206772089004517,
-0.14204557240009308,
-0.2300153225660324,
-0.1523621380329132,
-0.20925678312778473,
0.04237890616059303,
0.11577562242746353,
0.07280535250902176,
-0.06732343137264252,
0.12919095158576965,
-0.29830989241600037,
-0.11082853376865387,
0.13891661167144775,
-0.10154189169406891,
0.4431437849998474,
-0.12684665620326996,
-0.033154282718896866,
0.3268752992153168,
0.3525926172733307,
0.4449584186077118,
0.425529807806015,
-0.2151062786579132,
-0.20681637525558472,
0.1727827489376068,
-0.135604128241539,
0.21300607919692993,
0.1584697812795639,
-0.10757193714380264,
0.1704440712928772,
-0.3744465410709381,
-0.13974137604236603,
-0.12282397598028183,
0.03561466932296753,
0.37075793743133545,
-0.07463107258081436,
-0.37103188037872314,
-0.4884747564792633,
0.25678837299346924,
0.17671383917331696,
0.14535923302173615,
0.5465273857116699,
0.10716979205608368,
-0.2882942259311676,
0.3425433039665222,
0.08618702739477158,
0.8602827787399292,
0.06993726640939713,
0.4016793668270111,
0.2361435890197754,
-0.24926769733428955,
0.3831811547279358,
-0.13342884182929993,
0.010519979521632195,
-0.365211546421051,
-0.31012392044067383,
-0.14911077916622162,
-0.3020961582660675,
0.11093731224536896,
0.15017008781433105,
-0.16576717793941498,
0.16493290662765503,
-0.4577765464782715,
0.35905393958091736,
0.3175686299800873,
0.10229034721851349,
0.02382775768637657,
-0.1348985731601715,
-0.20252341032028198,
0.004210956394672394,
-0.2838525176048279,
-0.03434038534760475,
-0.035852979868650436,
0.038133405148983,
-0.38706642389297485,
-0.1723351627588272,
-0.1960543990135193,
0.03299179673194885,
-0.3281000852584839,
0.23101335763931274,
0.03993091359734535,
-0.875276505947113,
0.3791999816894531,
0.3173445761203766,
-0.0463833212852478,
-0.18598119914531708,
-0.0814356580376625,
-0.012367919087409973,
0.11694803833961487,
0.19429515302181244,
0.20504014194011688,
-0.028500128537416458,
0.45353206992149353,
0.028398357331752777,
-0.11001019179821014,
0.4774993360042572,
-0.05951940640807152,
-0.23981939256191254,
-0.0029499977827072144,
0.3484724760055542,
0.2405150681734085,
-0.3852618336677551,
-0.20085161924362183,
-0.34088295698165894,
0.10637377202510834,
-0.07436409592628479,
0.031052088364958763,
0.2333836853504181,
-0.21941134333610535,
0.10907283425331116,
-0.0406523235142231,
-0.20651644468307495,
0.04199151694774628,
0.38492801785469055,
0.17906725406646729,
-0.0995795726776123,
0.5421322584152222,
0.4920194149017334,
-0.26272010803222656,
0.0870073065161705,
0.04216641187667847,
0.5039424300193787,
-0.8597326278686523,
0.05659235268831253,
-0.07010848820209503,
0.07395671308040619,
-0.49173375964164734,
-0.0054619573056697845,
0.02239507995545864,
0.12735088169574738,
-0.2543394863605499,
-0.240896537899971,
-0.3622366786003113,
-0.06653371453285217,
0.12139974534511566,
0.21235814690589905,
0.13877934217453003,
-0.12018570303916931,
0.10694016516208649,
-0.13744424283504486,
-0.13811278343200684,
0.1040443480014801,
0.16693207621574402,
0.20566987991333008,
0.037765324115753174,
0.12426391988992691,
0.09342732280492783,
-0.38386067748069763,
-0.07451965659856796,
0.11915359646081924,
0.22360387444496155,
-0.08612291514873505,
-0.2518688142299652,
0.15412075817584991,
0.07355350255966187,
-0.30646708607673645,
-0.2308373749256134,
-0.2811405658721924,
0.04927095025777817,
-0.04682459309697151,
0.1486474573612213,
0.4369489252567291,
-0.15996603667736053,
0.21642354130744934,
0.22276078164577484,
0.04412347823381424,
-0.25976380705833435,
0.16904504597187042,
-0.08067587018013,
0.371613085269928,
0.24286320805549622,
0.15569624304771423,
0.12259992212057114,
0.07678613066673279,
-0.2928713858127594,
0.12473174929618835,
0.10874523222446442,
-0.0987083837389946,
0.2484034299850464,
-0.5647241473197937,
0.3216460943222046,
-0.23825138807296753,
0.33043375611305237,
0.41411125659942627,
-0.4190482199192047,
-0.16062958538532257,
0.274872750043869,
-0.0036026034504175186,
-0.13045981526374817,
-0.2463178187608719,
0.05191902816295624,
0.02440883405506611,
-0.07269684225320816,
0.2617306411266327,
-0.04038992151618004,
0.10873697698116302,
-0.20560164749622345,
0.1981576681137085,
-0.017833702266216278,
0.02642713114619255,
0.11255557835102081,
0.327223002910614,
-0.053487762808799744,
0.10290049016475677,
0.2185850739479065,
0.20423142611980438,
0.06386083364486694,
0.1253894567489624,
0.11357218772172928,
0.5389111638069153,
0.4228084087371826,
-0.2063598334789276,
0.2425205111503601,
-0.16704314947128296,
-0.34869101643562317,
-0.12101119756698608,
-0.020084142684936523,
0.01984322816133499,
-0.043667033314704895,
0.5209200382232666,
-0.14486780762672424,
-0.11392494291067123,
0.003451097756624222,
-0.0788339376449585,
-0.11158860474824905,
0.14660312235355377,
-0.018369466066360474,
-0.1749829202890396,
-0.14782743155956268,
-0.16506631672382355,
-0.2753891050815582,
-0.111674964427948,
0.09991157799959183,
0.12922504544258118,
-0.17901302874088287,
-0.21362236142158508,
0.26012668013572693,
0.3253852128982544,
-0.1018521711230278,
-0.06597679853439331,
0.08604363352060318,
0.20559659600257874,
-0.002847529947757721,
0.12987403571605682,
0.11768545210361481,
0.4109880030155182,
0.3461042046546936,
-0.3798782229423523,
-0.03823833912611008,
-0.04365814849734306,
-0.08836983889341354,
0.07964686304330826,
0.3128895163536072,
-0.009881474077701569,
-0.3862968981266022,
0.32469433546066284,
0.026199715211987495,
-0.08407994359731674,
0.0063997432589530945,
0.263988733291626,
0.2821454107761383,
-0.03955496475100517,
0.37535759806632996,
-0.23204833269119263,
-0.3954564929008484,
0.0003940761089324951,
-0.16061922907829285,
-0.31091171503067017,
-0.18113389611244202,
0.6305017471313477,
0.18008871376514435,
0.086922787129879,
-0.11378230899572372,
-0.01591830514371395,
0.1425439715385437,
0.45231473445892334,
0.12194684892892838,
0.5208147168159485,
-0.15775170922279358,
-0.0266818106174469,
-0.22523818910121918,
0.2966063320636749,
-0.11478359997272491,
-0.10113435238599777,
0.0574750192463398,
0.0020920541137456894,
0.17896142601966858,
0.1274913251399994,
0.2662002444267273,
0.022903282195329666,
0.19778458774089813,
0.27991414070129395,
-0.3342178165912628,
-0.3868098855018616,
-0.11741776764392853,
0.3404471278190613,
-0.11636178195476532,
-0.35777366161346436,
-0.05041606351733208,
-0.045657288283109665,
0.001337539404630661,
-0.3069620132446289,
-0.23341377079486847,
0.16121244430541992,
0.2085365206003189,
0.3902309834957123,
-0.08613605052232742,
0.700158953666687,
0.2342812418937683,
0.0593414381146431,
0.0179012231528759,
-0.03795374557375908,
-0.07660403847694397,
0.297820121049881,
0.06701543182134628,
0.06744632869958878,
-0.1280452162027359,
-0.41359302401542664,
-0.31973451375961304,
0.3100825250148773,
-0.16214385628700256,
0.03553391993045807,
-0.389099657535553,
0.37945136427879333,
-0.3120805323123932,
-0.03290668874979019,
-0.013377624563872814,
0.12745139002799988,
-0.038586392998695374,
0.2048216164112091,
-0.3145420551300049,
-0.19735023379325867,
0.44031473994255066,
-0.5372543334960938,
-0.31527844071388245,
-0.032492656260728836,
-0.021463066339492798,
0.1280582994222641,
0.070593923330307,
-0.531935453414917,
-0.09830611944198608,
0.19505690038204193,
-0.07010743021965027,
-0.1591174602508545,
-0.15360617637634277,
0.025337647646665573,
0.3270362913608551,
-0.22115488350391388,
0.7785311937332153,
-0.039830341935157776,
0.003276081755757332,
-0.26115942001342773,
-0.3046143651008606
] |
https://github.com/huggingface/datasets/issues/4674 | Issue loading datasets -- pyarrow.lib has no attribute | Hi @margotwagner, thanks for reporting.
Unfortunately, I'm not able to reproduce your bug: in an environment with datasets-2.3.2 and pyarrow-8.0.0, I can load the datasets without any problem:
```python
>>> ds = load_dataset("glue", "cola")
>>> ds
DatasetDict({
train: Dataset({
features: ['sentence', 'label', 'idx'],
num_rows: 8551
})
validation: Dataset({
features: ['sentence', 'label', 'idx'],
num_rows: 1043
})
test: Dataset({
features: ['sentence', 'label', 'idx'],
num_rows: 1063
})
})
>>> import pyarrow
>>> pyarrow.__version__
8.0.0
>>> from pyarrow.lib import IpcReadOptions
>>> IpcReadOptions
pyarrow.lib.IpcReadOptions
```
I think you may have a problem in your Python environment: maybe you have also an old version of pyarrow that has precedence when importing it.
Could you please check this (just after you tried to load the dataset and got the error)?
```python
>>> import pyarrow
>>> pyarrow.__version__
``` | ## Describe the bug
I am trying to load sentiment analysis datasets from huggingface, but any dataset I try to use via load_dataset, I get the same error:
`AttributeError: module 'pyarrow.lib' has no attribute 'IpcReadOptions'`
## Steps to reproduce the bug
```python
dataset = load_dataset("glue", "cola")
```
## Expected results
Download datasets without issue.
## Actual results
`AttributeError: module 'pyarrow.lib' has no attribute 'IpcReadOptions'`
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.3.2
- Platform: macOS-10.15.7-x86_64-i386-64bit
- Python version: 3.8.5
- PyArrow version: 8.0.0
- Pandas version: 1.1.0
| 130 | Issue loading datasets -- pyarrow.lib has no attribute
## Describe the bug
I am trying to load sentiment analysis datasets from huggingface, but any dataset I try to use via load_dataset, I get the same error:
`AttributeError: module 'pyarrow.lib' has no attribute 'IpcReadOptions'`
## Steps to reproduce the bug
```python
dataset = load_dataset("glue", "cola")
```
## Expected results
Download datasets without issue.
## Actual results
`AttributeError: module 'pyarrow.lib' has no attribute 'IpcReadOptions'`
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.3.2
- Platform: macOS-10.15.7-x86_64-i386-64bit
- Python version: 3.8.5
- PyArrow version: 8.0.0
- Pandas version: 1.1.0
Hi @margotwagner, thanks for reporting.
Unfortunately, I'm not able to reproduce your bug: in an environment with datasets-2.3.2 and pyarrow-8.0.0, I can load the datasets without any problem:
```python
>>> ds = load_dataset("glue", "cola")
>>> ds
DatasetDict({
train: Dataset({
features: ['sentence', 'label', 'idx'],
num_rows: 8551
})
validation: Dataset({
features: ['sentence', 'label', 'idx'],
num_rows: 1043
})
test: Dataset({
features: ['sentence', 'label', 'idx'],
num_rows: 1063
})
})
>>> import pyarrow
>>> pyarrow.__version__
8.0.0
>>> from pyarrow.lib import IpcReadOptions
>>> IpcReadOptions
pyarrow.lib.IpcReadOptions
```
I think you may have a problem in your Python environment: maybe you have also an old version of pyarrow that has precedence when importing it.
Could you please check this (just after you tried to load the dataset and got the error)?
```python
>>> import pyarrow
>>> pyarrow.__version__
``` | [
-0.2137126475572586,
0.2472372055053711,
0.03528059646487236,
0.3548170328140259,
0.3074030876159668,
-0.11938688904047012,
0.5190202593803406,
0.02754758484661579,
0.13377390801906586,
0.014878205955028534,
-0.315534383058548,
0.24089765548706055,
-0.0216524638235569,
0.06153038144111633,
0.18967631459236145,
-0.1848597377538681,
0.028122372925281525,
0.2636789083480835,
0.20662708580493927,
-0.0006215013563632965,
-0.10645784437656403,
0.16507993638515472,
-0.33996593952178955,
0.20012244582176208,
-0.2140124887228012,
0.10268081724643707,
-0.055446919053792953,
0.026987474411725998,
0.05305828899145126,
-0.5713580250740051,
0.5999967455863953,
-0.020352695137262344,
0.228075310587883,
0.34338486194610596,
-0.00012611877173185349,
0.2310456782579422,
0.3893670439720154,
0.006736258044838905,
-0.2664836049079895,
-0.437976598739624,
0.2601470947265625,
-0.11380130797624588,
0.4205684959888458,
-0.14768041670322418,
-0.0043139830231666565,
-0.1864299178123474,
-0.09910209476947784,
0.18855075538158417,
0.30040591955184937,
0.26215800642967224,
0.11759200692176819,
0.44384539127349854,
0.06259950995445251,
0.02845786325633526,
0.3090803325176239,
0.17041632533073425,
-0.11254402250051498,
0.5338134765625,
0.25010043382644653,
-0.2974824905395508,
0.07230176031589508,
-0.12204943597316742,
-0.2676730751991272,
0.23891979455947876,
0.3760583996772766,
0.10493297874927521,
0.24991095066070557,
-0.22295913100242615,
0.08227807283401489,
0.2555108666419983,
0.5172845721244812,
-0.317301869392395,
-0.4553879201412201,
-0.169239342212677,
0.2389548271894455,
-0.498193621635437,
0.1900956779718399,
0.24211075901985168,
-0.10645352303981781,
0.14381909370422363,
-0.13267335295677185,
0.060802970081567764,
-0.2039884328842163,
0.47138816118240356,
-0.2619679570198059,
0.0984165295958519,
-0.1675499528646469,
0.14215120673179626,
0.18598656356334686,
-0.10494610667228699,
0.07018405944108963,
0.08745203912258148,
0.010911986231803894,
0.3339709937572479,
-0.1745871901512146,
0.3796623647212982,
0.11102636158466339,
0.2819269299507141,
0.13455477356910706,
0.13807550072669983,
-0.09458079934120178,
-0.15614134073257446,
0.07384239882230759,
0.14228904247283936,
0.1691848188638687,
0.2594620883464813,
-0.06373091787099838,
0.10519383102655411,
0.22277198731899261,
0.07767441868782043,
-0.036113303154706955,
-0.032792769372463226,
-0.30775704979896545,
0.023891646414995193,
0.20226579904556274,
-0.33741748332977295,
0.1768251359462738,
-0.1860598921775818,
-0.6390008926391602,
-0.0965849980711937,
-0.4703170657157898,
-0.07520741969347,
0.13543328642845154,
0.4603625237941742,
-0.13206897675991058,
0.00998082384467125,
0.15941296517848969,
0.38432395458221436,
-0.2997036278247833,
-0.08646048605442047,
-0.21678279340267181,
0.19348667562007904,
-0.1860038787126541,
0.026645010337233543,
0.3028164505958557,
-0.2969842553138733,
0.2386997938156128,
-0.03447417914867401,
0.12479782104492188,
-0.12155776470899582,
-0.21129518747329712,
-0.03472873568534851,
-0.0023060590028762817,
0.3979553282260895,
0.08494076132774353,
0.15418028831481934,
0.06647118926048279,
-0.5306713581085205,
-0.1444978415966034,
0.15487521886825562,
-0.33710649609565735,
-0.27726390957832336,
-0.19970861077308655,
0.04250185936689377,
-0.5887832641601562,
-0.12534169852733612,
-0.46704480051994324,
0.0128464475274086,
-0.026758559048175812,
-0.09065571427345276,
-0.05015561729669571,
-0.2517430782318115,
0.05789725109934807,
-0.1584424376487732,
0.40120792388916016,
0.5024899840354919,
-0.3582688868045807,
-0.40801799297332764,
-0.1602533459663391,
-0.2576897442340851,
0.18525561690330505,
0.17904700338840485,
-0.3338001072406769,
0.22936218976974487,
-0.11409664154052734,
0.14004060626029968,
0.18923452496528625,
-0.20940516889095306,
-0.551903247833252,
-0.08982673287391663,
0.02762032300233841,
0.15984003245830536,
-0.09760823100805283,
0.010717338882386684,
0.019404789432883263,
0.2320987582206726,
-0.04343815892934799,
0.30679166316986084,
0.26858386397361755,
-0.006061721593141556,
-0.09843958914279938,
-0.29219624400138855,
0.29931628704071045,
0.4274536371231079,
0.24697741866111755,
0.0074018388986587524,
0.05959544703364372,
-0.07812784612178802,
0.14460310339927673,
-0.10968092083930969,
-0.07093602418899536,
0.04390502721071243,
0.1544620394706726,
0.22423923015594482,
0.05208778753876686,
-0.08340464532375336,
-0.5005148649215698,
0.2715185582637787,
-0.020459961146116257,
0.20336762070655823,
-0.31142401695251465,
-0.06902553141117096,
-0.2580033242702484,
0.2696937024593353,
-0.2096388190984726,
-0.10762107372283936,
-0.09064987301826477,
0.08352980017662048,
0.14986425638198853,
0.19712603092193604,
-0.38328105211257935,
0.14175528287887573,
-0.021004799753427505,
0.14278043806552887,
-0.08396917581558228,
0.6019285917282104,
-0.036476388573646545,
-0.40762388706207275,
-0.11763503402471542,
0.3551456034183502,
-0.0884716585278511,
-0.08250869810581207,
-0.05005566030740738,
0.1995333433151245,
-0.2087668925523758,
0.26710930466651917,
-0.21505454182624817,
0.18517987430095673,
0.2008754163980484,
-0.3516574203968048,
-0.042305245995521545,
-0.03813788294792175,
0.04663843661546707,
0.09080680459737778,
0.23712128400802612,
0.3272307813167572,
0.08219269663095474,
0.2521263062953949,
-0.07556087523698807,
-0.008418520912528038,
0.005854243412613869,
0.031710874289274216,
-0.06436651200056076,
-0.004155866801738739,
0.380237340927124,
-0.15244892239570618,
0.5224835276603699,
0.1821100413799286,
-0.22687391936779022,
-0.22086957097053528,
-0.04603005573153496,
-0.05199488252401352,
0.2521045506000519,
0.07718773186206818,
-0.47826510667800903,
0.10724074393510818,
0.07632491737604141,
-0.32421618700027466,
0.29229313135147095,
0.08437088876962662,
-0.29718032479286194,
-0.03656218945980072,
-0.042280908674001694,
-0.10801271349191666,
0.11366300284862518,
0.22369934618473053,
0.05461076274514198,
-0.01301494985818863,
0.25242170691490173,
0.11156900227069855,
-0.43239909410476685,
-0.272127628326416,
0.05048359930515289,
0.29796329140663147,
-0.5932833552360535,
0.1295936554670334,
-0.23277784883975983,
-0.22414985299110413,
0.22030068933963776,
-0.48195600509643555,
-0.3716448247432709,
-0.07439282536506653,
-0.2559816837310791,
0.15006518363952637,
0.09077069163322449,
0.14812028408050537,
-0.18679015338420868,
0.13547253608703613,
0.06901013851165771,
-0.33987072110176086,
-0.22113746404647827,
-0.2027268409729004,
-0.2767083942890167,
-0.0922943651676178,
0.18149670958518982,
0.07630662620067596,
0.10746141523122787,
-0.20929062366485596,
-0.1142309382557869,
0.010590044781565666,
-0.24223965406417847,
0.09433382749557495,
-0.10388940572738647,
0.5190586447715759,
0.11577801406383514,
0.2565394639968872,
-0.228291854262352,
-0.22612017393112183,
0.512519121170044,
-0.04306356608867645,
-0.18027666211128235,
0.20762814581394196,
-0.1348884254693985,
-0.19591408967971802,
-0.19900992512702942,
-0.13536590337753296,
-0.3769553303718567,
-0.2333008199930191,
0.2064550668001175,
0.025797706097364426,
0.11632663011550903,
0.5324373841285706,
0.18840916454792023,
0.2845109701156616,
-0.22856323421001434,
0.0016674557700753212,
-0.10285114496946335,
-0.24143652617931366,
0.46960556507110596,
-0.054253026843070984,
-0.38101980090141296,
-0.10667675733566284,
-0.09692107886075974,
0.17362530529499054,
0.1171187162399292,
-0.5317709445953369,
-0.18793834745883942,
-0.048675380647182465,
0.6525393128395081,
0.05217311531305313,
0.11734571307897568,
0.10054530203342438,
-0.14926573634147644,
0.1523762345314026,
-0.006413411349058151,
-0.3048243224620819,
0.07706665992736816,
0.0379338264465332,
0.03690597414970398,
0.09253604710102081,
0.1293954998254776,
-0.28028202056884766,
0.7322519421577454,
-0.08815710246562958,
-0.18797750771045685,
0.541098952293396,
-0.30592912435531616,
0.3554028570652008,
0.02744494378566742,
-0.5518835186958313,
-0.09276800602674484,
0.05270791053771973,
0.0383528470993042,
0.2214643955230713,
-0.07535652816295624,
-0.09208491444587708,
-0.3411025404930115,
-0.15483416616916656,
-0.14917993545532227,
-0.10426118224859238,
-0.011311652138829231,
0.23440711200237274,
0.252047061920166,
-0.00423593632876873,
0.09142246097326279,
-0.12538225948810577,
-0.2801671624183655,
0.15838558971881866,
0.2226879745721817,
0.2004561722278595,
0.0803549513220787,
-0.26566582918167114,
-0.18239736557006836,
-0.3588500916957855,
0.11762746423482895,
0.055567800998687744,
0.008044346235692501,
0.038578812032938004,
0.035763680934906006,
0.30103516578674316,
-0.026329059153795242,
0.5538402795791626,
0.24097482860088348,
0.013579178601503372,
0.15253107249736786,
0.0044745467603206635,
-0.4741666316986084,
-0.21237730979919434,
-0.16703984141349792,
0.14584799110889435,
0.1578928828239441,
0.3542896509170532,
-0.28822028636932373,
-0.11507156491279602,
0.19589968025684357,
0.1739465296268463,
-0.0960807278752327,
-0.36301904916763306,
-0.46100592613220215,
-0.18451541662216187,
-0.28760218620300293,
0.011386722326278687,
-0.08080828934907913,
0.3952540457248688,
0.09229839593172073,
0.023032400757074356,
-0.022749776020646095,
-0.016048870980739594,
0.18840506672859192,
0.30582863092422485,
0.24003952741622925,
-0.0006275277119129896,
0.2011532485485077,
0.10256510972976685,
-0.1427992880344391,
0.27860042452812195,
0.7319490313529968,
0.08230717480182648,
-0.5803442001342773,
-0.12619337439537048,
0.058328982442617416,
0.26616033911705017,
0.13534802198410034,
-0.17817933857440948,
0.04420926049351692,
-0.06946612149477005,
-0.020424924790859222,
-0.14227139949798584,
0.07468629628419876,
0.29157349467277527,
-0.11329514533281326,
-0.06815207004547119,
-0.16567519307136536,
0.741647481918335,
0.02810220792889595,
0.05656874179840088,
-0.0693465918302536,
0.5733728408813477,
-0.14509494602680206,
0.3617936372756958,
-0.15031698346138,
0.9347307085990906,
-0.14426009356975555,
0.12399199604988098,
0.6764876842498779,
0.324154257774353,
0.5137750506401062,
0.1514149010181427,
-0.05672723799943924,
-0.26372745633125305,
-0.07876972109079361,
-0.05341622978448868,
-0.21592092514038086,
0.12056268751621246,
0.08328042924404144,
0.12190169095993042,
0.13939979672431946,
-0.023607350885868073,
0.15912234783172607,
0.2566911280155182,
-0.02421383187174797,
0.009613435715436935,
-0.15788641571998596,
-0.5122585892677307,
0.0003434624522924423,
-0.20821501314640045,
0.5329704284667969,
-0.009393847547471523,
0.025017982348799706,
-0.29133903980255127,
-0.007013313472270966,
-0.3246322572231293,
0.2505318522453308,
-0.32288891077041626,
0.06602445989847183,
0.4217304289340973,
-0.19408690929412842,
0.07803793251514435,
0.20878270268440247,
-0.032289810478687286,
-0.14972670376300812,
-0.2034323811531067,
0.17229564487934113,
-0.11737010627985,
-0.16878896951675415,
0.11232658475637436,
0.06630492955446243,
0.5374388098716736,
-0.056991979479789734,
-0.3975050151348114,
0.2400389313697815,
-0.06325528770685196,
0.0062011778354644775,
0.1196194589138031,
0.0756310224533081,
0.32250988483428955,
-0.25843358039855957,
-0.10461452603340149,
-0.259667307138443,
0.4158298373222351,
-0.049727171659469604,
0.01410864107310772,
0.28939250111579895,
-0.0711565688252449,
0.02662203088402748,
0.02484540455043316,
-0.25990548729896545,
-0.15421447157859802,
0.4004034996032715,
-0.24582409858703613,
0.0029638297855854034,
0.5918505191802979,
0.26180410385131836,
-0.14267531037330627,
0.01418144628405571,
-0.24398767948150635,
0.32145145535469055,
-0.7426422238349915,
0.2184152752161026,
0.3198973536491394,
0.1065337061882019,
-0.19336357712745667,
0.42450952529907227,
0.13478773832321167,
-0.1091141626238823,
-0.01566532999277115,
-0.5120591521263123,
-0.06270082294940948,
0.22640682756900787,
0.16356240212917328,
-0.004671823233366013,
0.2535093128681183,
-0.026494726538658142,
0.047639988362789154,
-0.2911483943462372,
-0.13901427388191223,
0.10344665497541428,
-0.0756416916847229,
0.05532045662403107,
0.18469366431236267,
-0.06690571457147598,
0.14020277559757233,
-0.21178384125232697,
0.06370975822210312,
-0.14152753353118896,
0.049856819212436676,
-0.11038001626729965,
-0.2990182638168335,
0.20540891587734222,
0.09890370815992355,
-0.25457456707954407,
0.09430165588855743,
-0.08719119429588318,
0.08780881762504578,
-0.29408738017082214,
0.3232383131980896,
0.31599026918411255,
-0.19315378367900848,
0.036785293370485306,
0.2150130718946457,
0.13761821389198303,
-0.3393526077270508,
0.22285759449005127,
-0.18370321393013,
0.21372532844543457,
0.20153222978115082,
0.2087973654270172,
-0.05597411096096039,
0.16854779422283173,
-0.14118550717830658,
-0.019588857889175415,
-0.12093175947666168,
-0.17545127868652344,
0.4566233456134796,
-0.48487526178359985,
0.03911074623465538,
0.0919288769364357,
0.14225289225578308,
0.3964269161224365,
-0.27890413999557495,
0.15718653798103333,
0.23942610621452332,
0.057094886898994446,
-0.361644446849823,
0.09217268228530884,
0.12533093988895416,
0.04342108219861984,
-0.1370939463376999,
0.19579246640205383,
0.25087469816207886,
-0.08943642675876617,
-0.08811391890048981,
0.07365790754556656,
0.5346286296844482,
0.20485766232013702,
-0.006114093586802483,
0.3374002277851105,
0.013194825500249863,
0.1460074633359909,
0.2555048167705536,
0.20245879888534546,
-0.02188289910554886,
0.018846817314624786,
-0.3508964776992798,
0.16498228907585144,
-0.20043408870697021,
0.20819120109081268,
0.1086573600769043,
-0.3424406945705414,
0.04286340996623039,
0.11233755946159363,
0.19170182943344116,
0.012067466974258423,
-0.09045422077178955,
0.7008472681045532,
-0.13078723847866058,
0.10243647545576096,
-0.10245724022388458,
0.3637470602989197,
-0.1501721739768982,
-0.11269448697566986,
-0.13911014795303345,
-0.1361502856016159,
-0.3036995530128479,
0.06410518288612366,
-0.17747865617275238,
-0.48250144720077515,
0.14221008121967316,
0.2525671720504761,
-0.3289337754249573,
-0.6502580642700195,
-0.06683694571256638,
0.3474336564540863,
0.17469371855258942,
-0.1508042812347412,
0.2647838890552521,
0.12283793091773987,
-0.17392325401306152,
0.10173699259757996,
0.4487714171409607,
0.5880711078643799,
0.2752766013145447,
0.13682106137275696,
-0.040988270193338394,
-0.027440764009952545,
-0.07370587438344955,
-0.019265538081526756,
0.08599312603473663,
0.08278081566095352,
0.471807062625885,
0.0062607936561107635,
0.058101214468479156,
-0.07445292919874191,
-0.09687107801437378,
-0.047131072729825974,
0.33916017413139343,
-0.38955819606781006,
0.2945677638053894,
-0.4468224346637726,
-0.13774384558200836,
-0.4230037331581116,
-0.03357446938753128,
-0.16029265522956848,
0.24961218237876892,
0.08254608511924744,
0.24154527485370636,
-0.032757118344306946,
-0.23850615322589874,
-0.013950233347713947,
-0.14096947014331818,
0.37190890312194824,
0.7426409721374512,
0.35524696111679077,
-0.2551657557487488,
0.10252884030342102,
-0.6537156105041504,
0.22796086966991425,
-0.1150708794593811,
-0.10486672073602676,
0.11949186772108078,
0.0949166789650917,
-0.24736493825912476,
0.11062484979629517,
-0.10454824566841125,
0.12958700954914093,
0.2047995626926422,
-0.06752178072929382,
-0.2940957546234131,
-0.06437887251377106,
-0.07204309105873108,
0.018471015617251396,
-0.0933055579662323,
-0.04778003320097923,
0.05374827980995178,
-0.47053083777427673,
-0.16511580348014832,
-0.11728280782699585,
-0.1392974853515625,
0.09271222352981567,
0.1015164703130722,
0.5412343740463257,
-0.1307486742734909,
0.5760172605514526,
0.16544118523597717,
0.05260030925273895,
-0.4302805960178375,
-0.3350638747215271,
-0.11353401094675064,
0.2818555235862732,
-0.06980253756046295,
0.28329646587371826,
-0.20965327322483063,
-0.12253992259502411,
-0.2128169685602188,
0.1306437849998474,
-0.07571031898260117,
-0.1959385722875595,
-0.1053055003285408,
-0.05419757962226868,
-0.22206485271453857,
0.16255654394626617,
0.011836781166493893,
-0.14289957284927368,
-0.09981854259967804,
0.11543330550193787,
-0.3015902042388916,
-0.4809308648109436,
0.4118086099624634,
-0.6627570390701294,
-0.02823597565293312,
-0.07412973791360855,
0.139429971575737,
0.2516383230686188,
-0.17740362882614136,
-0.6685344576835632,
0.1550026535987854,
0.36473387479782104,
-0.08581900596618652,
-0.24172024428844452,
0.0869753509759903,
-0.08403408527374268,
0.3525863587856293,
-0.18056446313858032,
0.2965591251850128,
0.03094802238047123,
-0.1923474371433258,
0.17520581185817719,
-0.17781251668930054
] |
https://github.com/huggingface/datasets/issues/4673 | load_datasets on csv returns everything as a string | Hi @courtneysprouse, thanks for reporting.
Yes, you are right: by default the "csv" loader loads all columns as strings.
You could tweak this behavior by passing the `feature` argument to `load_dataset`, but it is also true that currently it is not possible to perform some kind of casts, due to lacking of implementation in PyArrow. For example:
```python
import datasets
features = datasets.Features(
{
"tokens": datasets.Sequence(datasets.Value("string")),
"ner_tags": datasets.Sequence(datasets.Value("int32")),
}
)
new_conll = datasets.load_dataset("csv", data_files="ner_conll.csv", features=features)
```
gives `ArrowNotImplementedError` error:
```
/usr/local/lib/python3.7/dist-packages/pyarrow/error.pxi in pyarrow.lib.check_status()
ArrowNotImplementedError: Unsupported cast from string to list using function cast_list
```
On the other hand, if you just would like to save and afterwards load your dataset, you could use `save_to_disk` and `load_from_disk` instead. These functions preserve all data types.
```python
>>> orig_conll.save_to_disk("ner_conll")
>>> from datasets import load_from_disk
>>> new_conll = load_from_disk("ner_conll")
>>> new_conll
DatasetDict({
train: Dataset({
features: ['id', 'tokens', 'pos_tags', 'chunk_tags', 'ner_tags'],
num_rows: 14042
})
validation: Dataset({
features: ['id', 'tokens', 'pos_tags', 'chunk_tags', 'ner_tags'],
num_rows: 3251
})
test: Dataset({
features: ['id', 'tokens', 'pos_tags', 'chunk_tags', 'ner_tags'],
num_rows: 3454
})
})
>>> new_conll["train"][0]
{'chunk_tags': [11, 21, 11, 12, 21, 22, 11, 12, 0],
'id': '0',
'ner_tags': [3, 0, 7, 0, 0, 0, 7, 0, 0],
'pos_tags': [22, 42, 16, 21, 35, 37, 16, 21, 7],
'tokens': ['EU',
'rejects',
'German',
'call',
'to',
'boycott',
'British',
'lamb',
'.']}
>>> new_conll["train"].features
{'chunk_tags': Sequence(feature=ClassLabel(num_classes=23, names=['O', 'B-ADJP', 'I-ADJP', 'B-ADVP', 'I-ADVP', 'B-CONJP', 'I-CONJP', 'B-INTJ', 'I-INTJ', 'B-LST', 'I-LST', 'B-NP', 'I-NP', 'B-PP', 'I-PP', 'B-PRT', 'I-PRT', 'B-SBAR', 'I-SBAR', 'B-UCP', 'I-UCP', 'B-VP', 'I-VP'], id=None), length=-1, id=None),
'id': Value(dtype='string', id=None),
'ner_tags': Sequence(feature=ClassLabel(num_classes=9, names=['O', 'B-PER', 'I-PER', 'B-ORG', 'I-ORG', 'B-LOC', 'I-LOC', 'B-MISC', 'I-MISC'], id=None), length=-1, id=None),
'pos_tags': Sequence(feature=ClassLabel(num_classes=47, names=['"', "''", '#', '$', '(', ')', ',', '.', ':', '``', 'CC', 'CD', 'DT', 'EX', 'FW', 'IN', 'JJ', 'JJR', 'JJS', 'LS', 'MD', 'NN', 'NNP', 'NNPS', 'NNS', 'NN|SYM', 'PDT', 'POS', 'PRP', 'PRP$', 'RB', 'RBR', 'RBS', 'RP', 'SYM', 'TO', 'UH', 'VB', 'VBD', 'VBG', 'VBN', 'VBP', 'VBZ', 'WDT', 'WP', 'WP$', 'WRB'], id=None), length=-1, id=None),
'tokens': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None)}
``` | ## Describe the bug
If you use:
`conll_dataset.to_csv("ner_conll.csv")`
It will create a csv file with all of your data as expected, however when you load it with:
`conll_dataset = load_dataset("csv", data_files="ner_conll.csv")`
everything is read in as a string. For example if I look at everything in 'ner_tags' I get back `['[3 0 7 0 0 0 7 0 0]', '[1 2]', '[5 0]']` instead of what I originally saved which was `[[3, 0, 7, 0, 0, 0, 7, 0, 0], [1, 2], [5, 0]]`
I think maybe there is something funky going on with the csv delimiter
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
#load original conll dataset
orig_conll = load_dataset("conll2003")
#save original conll as a csv
orig_conll.to_csv("ner_conll.csv")
#reload conll data as a csv
new_conll = load_dataset("csv", data_files="ner_conll.csv")`
```
## Expected results
A clear and concise description of the expected results.
I would expect the data be returned as the data type I saved it as. I.e. if I save a list of ints
[[3, 0, 7, 0, 0, 0, 7, 0, 0]], I shouldnt get back a string ['[3 0 7 0 0 0 7 0 0]']
I also get back a string when I pass a list of strings ['EU', 'rejects', 'German', 'call', 'to', 'boycott', 'British', 'lamb', '.']
## Actual results
A list of strings `['[3 0 7 0 0 0 7 0 0]', '[1 2]', '[5 0]']`
A string "['EU' 'rejects' 'German' 'call' 'to' 'boycott' 'British' 'lamb' '.']"
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Linux-5.4.0-121-generic-x86_64-with-glibc2.17
- Python version: 3.8.13
- PyArrow version: 8.0.0
| 321 | load_datasets on csv returns everything as a string
## Describe the bug
If you use:
`conll_dataset.to_csv("ner_conll.csv")`
It will create a csv file with all of your data as expected, however when you load it with:
`conll_dataset = load_dataset("csv", data_files="ner_conll.csv")`
everything is read in as a string. For example if I look at everything in 'ner_tags' I get back `['[3 0 7 0 0 0 7 0 0]', '[1 2]', '[5 0]']` instead of what I originally saved which was `[[3, 0, 7, 0, 0, 0, 7, 0, 0], [1, 2], [5, 0]]`
I think maybe there is something funky going on with the csv delimiter
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
#load original conll dataset
orig_conll = load_dataset("conll2003")
#save original conll as a csv
orig_conll.to_csv("ner_conll.csv")
#reload conll data as a csv
new_conll = load_dataset("csv", data_files="ner_conll.csv")`
```
## Expected results
A clear and concise description of the expected results.
I would expect the data be returned as the data type I saved it as. I.e. if I save a list of ints
[[3, 0, 7, 0, 0, 0, 7, 0, 0]], I shouldnt get back a string ['[3 0 7 0 0 0 7 0 0]']
I also get back a string when I pass a list of strings ['EU', 'rejects', 'German', 'call', 'to', 'boycott', 'British', 'lamb', '.']
## Actual results
A list of strings `['[3 0 7 0 0 0 7 0 0]', '[1 2]', '[5 0]']`
A string "['EU' 'rejects' 'German' 'call' 'to' 'boycott' 'British' 'lamb' '.']"
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Linux-5.4.0-121-generic-x86_64-with-glibc2.17
- Python version: 3.8.13
- PyArrow version: 8.0.0
Hi @courtneysprouse, thanks for reporting.
Yes, you are right: by default the "csv" loader loads all columns as strings.
You could tweak this behavior by passing the `feature` argument to `load_dataset`, but it is also true that currently it is not possible to perform some kind of casts, due to lacking of implementation in PyArrow. For example:
```python
import datasets
features = datasets.Features(
{
"tokens": datasets.Sequence(datasets.Value("string")),
"ner_tags": datasets.Sequence(datasets.Value("int32")),
}
)
new_conll = datasets.load_dataset("csv", data_files="ner_conll.csv", features=features)
```
gives `ArrowNotImplementedError` error:
```
/usr/local/lib/python3.7/dist-packages/pyarrow/error.pxi in pyarrow.lib.check_status()
ArrowNotImplementedError: Unsupported cast from string to list using function cast_list
```
On the other hand, if you just would like to save and afterwards load your dataset, you could use `save_to_disk` and `load_from_disk` instead. These functions preserve all data types.
```python
>>> orig_conll.save_to_disk("ner_conll")
>>> from datasets import load_from_disk
>>> new_conll = load_from_disk("ner_conll")
>>> new_conll
DatasetDict({
train: Dataset({
features: ['id', 'tokens', 'pos_tags', 'chunk_tags', 'ner_tags'],
num_rows: 14042
})
validation: Dataset({
features: ['id', 'tokens', 'pos_tags', 'chunk_tags', 'ner_tags'],
num_rows: 3251
})
test: Dataset({
features: ['id', 'tokens', 'pos_tags', 'chunk_tags', 'ner_tags'],
num_rows: 3454
})
})
>>> new_conll["train"][0]
{'chunk_tags': [11, 21, 11, 12, 21, 22, 11, 12, 0],
'id': '0',
'ner_tags': [3, 0, 7, 0, 0, 0, 7, 0, 0],
'pos_tags': [22, 42, 16, 21, 35, 37, 16, 21, 7],
'tokens': ['EU',
'rejects',
'German',
'call',
'to',
'boycott',
'British',
'lamb',
'.']}
>>> new_conll["train"].features
{'chunk_tags': Sequence(feature=ClassLabel(num_classes=23, names=['O', 'B-ADJP', 'I-ADJP', 'B-ADVP', 'I-ADVP', 'B-CONJP', 'I-CONJP', 'B-INTJ', 'I-INTJ', 'B-LST', 'I-LST', 'B-NP', 'I-NP', 'B-PP', 'I-PP', 'B-PRT', 'I-PRT', 'B-SBAR', 'I-SBAR', 'B-UCP', 'I-UCP', 'B-VP', 'I-VP'], id=None), length=-1, id=None),
'id': Value(dtype='string', id=None),
'ner_tags': Sequence(feature=ClassLabel(num_classes=9, names=['O', 'B-PER', 'I-PER', 'B-ORG', 'I-ORG', 'B-LOC', 'I-LOC', 'B-MISC', 'I-MISC'], id=None), length=-1, id=None),
'pos_tags': Sequence(feature=ClassLabel(num_classes=47, names=['"', "''", '#', '$', '(', ')', ',', '.', ':', '``', 'CC', 'CD', 'DT', 'EX', 'FW', 'IN', 'JJ', 'JJR', 'JJS', 'LS', 'MD', 'NN', 'NNP', 'NNPS', 'NNS', 'NN|SYM', 'PDT', 'POS', 'PRP', 'PRP$', 'RB', 'RBR', 'RBS', 'RP', 'SYM', 'TO', 'UH', 'VB', 'VBD', 'VBG', 'VBN', 'VBP', 'VBZ', 'WDT', 'WP', 'WP$', 'WRB'], id=None), length=-1, id=None),
'tokens': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None)}
``` | [
0.027648087590932846,
-0.056675031781196594,
-0.1128884106874466,
0.24825704097747803,
0.29906272888183594,
0.02592681348323822,
0.49717414379119873,
0.20312371850013733,
-0.0027824901044368744,
0.17837916314601898,
0.10125958919525146,
0.3126572072505951,
-0.0312199629843235,
0.1545584797859192,
-0.2272925227880478,
0.12979331612586975,
0.16135835647583008,
0.2031002640724182,
-0.051954030990600586,
-0.16862007975578308,
-0.3950307369232178,
0.13334783911705017,
-0.2744917869567871,
-0.13285477459430695,
-0.19636033475399017,
-0.021240921691060066,
-0.11866899579763412,
0.27701765298843384,
-0.0821494534611702,
-0.3751746714115143,
0.20840562880039215,
-0.12215597927570343,
0.14576852321624756,
0.4033089280128479,
-0.00010813384869834408,
-0.12483380734920502,
0.13648195564746857,
-0.08641550689935684,
-0.4057798683643341,
-0.5614609122276306,
-0.2515984773635864,
-0.36986297369003296,
0.298208087682724,
-0.18494659662246704,
0.009220071136951447,
0.21144434809684753,
-0.1476779282093048,
-0.5310263633728027,
0.23593781888484955,
0.5343282222747803,
0.25332316756248474,
0.0139353908598423,
-0.2839910686016083,
0.09762319922447205,
0.18285278975963593,
0.20060712099075317,
-0.10852678120136261,
-0.03615919128060341,
-0.12527886033058167,
0.018969010561704636,
0.062471307814121246,
-0.01712905615568161,
-0.3433404862880707,
0.08197972923517227,
0.12470979988574982,
0.5147398114204407,
-0.25890329480171204,
-0.16338828206062317,
0.1759713590145111,
0.1360657662153244,
0.400802880525589,
-0.0023625902831554413,
-0.27100828289985657,
-0.13170790672302246,
-0.14288713037967682,
-0.7253853678703308,
0.17442277073860168,
0.25857827067375183,
0.0161936953663826,
0.1069428026676178,
-0.0352204293012619,
0.05554076284170151,
-0.19723628461360931,
0.11290839314460754,
-0.4099985361099243,
0.04915981367230415,
-0.2831377685070038,
-0.006910145282745361,
0.0913514718413353,
-0.04069129377603531,
0.1155390664935112,
-0.36655566096305847,
-0.08906598389148712,
0.1445852667093277,
-0.4575563073158264,
0.20566770434379578,
-0.07948058098554611,
-0.1897335648536682,
-0.16490602493286133,
0.11372528970241547,
0.15299548208713531,
0.012991297990083694,
0.06097232177853584,
0.03703673928976059,
0.29354485869407654,
0.06490156054496765,
0.32435300946235657,
0.18057146668434143,
0.19074797630310059,
-0.28515157103538513,
0.012721322476863861,
-0.17039713263511658,
-0.019601214677095413,
-0.1293497383594513,
0.1886754035949707,
-0.0529971644282341,
0.26842230558395386,
-0.26176151633262634,
-0.386894166469574,
0.397195428609848,
-0.03825834393501282,
-0.06123335659503937,
-0.33407604694366455,
0.33066073060035706,
-0.2674587070941925,
0.18245503306388855,
0.0666859894990921,
0.20227357745170593,
-0.06687523424625397,
-0.09940014034509659,
-0.16779141128063202,
-0.13632164895534515,
-0.11510394513607025,
-0.08541394770145416,
0.0560925267636776,
-0.4031727612018585,
0.02258790098130703,
0.23688200116157532,
-0.03073662519454956,
-0.2804088592529297,
-0.26803070306777954,
-0.23141473531723022,
0.3186323344707489,
0.14597024023532867,
0.1444173902273178,
0.32138022780418396,
0.28718507289886475,
-0.7833052277565002,
0.06627943366765976,
0.2407180368900299,
-0.36709558963775635,
-0.009603213518857956,
-0.4527175724506378,
0.22563554346561432,
-0.11024034768342972,
-0.12005381286144257,
-0.17328646779060364,
-0.02906031534075737,
0.23820483684539795,
0.04752297326922417,
-0.1947004795074463,
-0.2462318390607834,
-0.17678986489772797,
-0.39290568232536316,
0.13379564881324768,
0.3268457353115082,
-0.7739123702049255,
0.22162795066833496,
-0.08274293690919876,
0.0878436416387558,
0.25308728218078613,
0.22091719508171082,
0.07311693578958511,
0.04522270709276199,
-0.13726389408111572,
0.25499284267425537,
0.19001758098602295,
-0.06212913244962692,
-0.2099049985408783,
0.2446398138999939,
0.008739404380321503,
0.19608213007450104,
0.20789982378482819,
-0.0743984803557396,
0.42225319147109985,
0.10214798152446747,
0.33291104435920715,
0.30172401666641235,
0.10640455037355423,
0.03887558728456497,
-0.2563422620296478,
0.07198461890220642,
0.4388844966888428,
0.035274069756269455,
-0.15369892120361328,
0.1811826080083847,
0.2766607701778412,
-0.48240041732788086,
0.32523542642593384,
-0.15458963811397552,
-0.04285045713186264,
0.09478908777236938,
0.19246061146259308,
0.1279829442501068,
-0.11598005145788193,
-0.029680870473384857,
-0.501274049282074,
-0.17474696040153503,
0.11357752978801727,
0.07511970400810242,
-0.018886856734752655,
-0.07129521667957306,
-0.29040470719337463,
0.024372151121497154,
-0.15390311181545258,
0.06820715218782425,
0.2229694426059723,
0.1150980293750763,
-0.04004780948162079,
0.09930415451526642,
0.037491049617528915,
0.40260088443756104,
-0.007039738819003105,
0.08456958085298538,
-0.3709329664707184,
0.13908112049102783,
-0.0961240753531456,
-0.1961228847503662,
-0.055779535323381424,
0.19358614087104797,
0.17042088508605957,
0.1361975073814392,
-0.21366924047470093,
0.3599076271057129,
0.2549257278442383,
-0.119309201836586,
-0.12590962648391724,
-0.15695665776729584,
0.042858436703681946,
0.16996745765209198,
0.035722408443689346,
0.37094202637672424,
0.36037012934684753,
-0.15801508724689484,
-0.2093813121318817,
0.5383977890014648,
0.12817171216011047,
0.3661968410015106,
0.030550383031368256,
0.12886326014995575,
0.31543928384780884,
-0.042166322469711304,
0.010334011167287827,
-0.19979655742645264,
0.09380394220352173,
0.13303913176059723,
0.28161463141441345,
0.25441205501556396,
-0.4504614472389221,
-0.046960167586803436,
0.4187345802783966,
-0.19721531867980957,
0.004142433404922485,
0.19141539931297302,
-0.25928249955177307,
0.06994226574897766,
-0.0923081561923027,
0.17252503335475922,
0.4585089087486267,
0.1470445841550827,
-0.20665356516838074,
-0.058345310389995575,
0.1491701602935791,
-0.30721715092658997,
0.4016074240207672,
0.1857716590166092,
0.1710517853498459,
0.2525806128978729,
0.10056958347558975,
0.07654114812612534,
-0.28613385558128357,
-0.02321576327085495,
-0.3094274401664734,
0.08725195378065109,
-0.5069271922111511,
0.12108128517866135,
-0.4309637248516083,
0.07746528834104538,
-0.2064972221851349,
-0.27415376901626587,
-0.17912329733371735,
-0.47877082228660583,
-0.21387332677841187,
0.08419144153594971,
-0.0019415747374296188,
-0.22449883818626404,
-0.13687831163406372,
0.2174440622329712,
0.15387119352817535,
-0.15392500162124634,
0.0411001518368721,
-0.14898723363876343,
-0.501752495765686,
0.13965657353401184,
0.21431560814380646,
0.06066742166876793,
0.028739865869283676,
-0.0534861758351326,
0.18627306818962097,
0.16833901405334473,
-0.11150367558002472,
-0.014745369553565979,
-0.1590370088815689,
0.41720256209373474,
0.05525299161672592,
0.16708506643772125,
0.09672097861766815,
-0.31727972626686096,
0.04808913916349411,
0.10845862329006195,
-0.044549036771059036,
0.4084925651550293,
0.09003163874149323,
-0.2524144649505615,
-0.11500214040279388,
-0.6254265904426575,
-0.438885360956192,
-0.26231855154037476,
-0.06962136924266815,
0.10873018205165863,
0.10846497118473053,
0.3896096646785736,
0.10991939157247543,
0.026173405349254608,
-0.02618754841387272,
0.1268320232629776,
-0.2819228768348694,
-0.08244779706001282,
0.5147048830986023,
-0.1753993034362793,
-0.46445468068122864,
0.07220366597175598,
0.011593423783779144,
-0.2028399258852005,
-0.21237756311893463,
-0.2534024119377136,
0.29410043358802795,
-0.2966808080673218,
0.04222022369503975,
-0.05738242715597153,
0.1674332469701767,
0.16133126616477966,
0.12546302378177643,
-0.08268178999423981,
-0.15585216879844666,
-0.23411023616790771,
0.014717556536197662,
0.10603256523609161,
0.20470544695854187,
0.03118426352739334,
0.23978012800216675,
0.08797161281108856,
0.2794090509414673,
0.21547478437423706,
-0.239562526345253,
0.23072496056556702,
-0.1926693320274353,
0.3232226073741913,
-0.22922766208648682,
-0.3352939486503601,
-0.12870365381240845,
-0.3571820557117462,
-0.3033103942871094,
0.4139273166656494,
0.02233206294476986,
-0.09159200638532639,
-0.0973883867263794,
0.32361912727355957,
-0.4103977084159851,
-0.17164009809494019,
0.1301930546760559,
-0.011071667075157166,
-0.21310994029045105,
0.12982922792434692,
0.16911369562149048,
0.006564697250723839,
-0.167032390832901,
-0.3138304054737091,
0.2739395499229431,
0.13586381077766418,
-0.1921309232711792,
-0.211281880736351,
-0.14062806963920593,
-0.30289891362190247,
0.34058254957199097,
0.1513936072587967,
0.3100418746471405,
0.11744323372840881,
-0.22209805250167847,
0.09991148114204407,
0.17554326355457306,
0.6925526857376099,
-0.07210033386945724,
-0.3060469627380371,
0.1048702597618103,
0.2573108971118927,
-0.19688507914543152,
-0.01150096207857132,
-0.2600584030151367,
0.1444735825061798,
0.20261970162391663,
0.21307338774204254,
0.010302886366844177,
-0.02410515397787094,
-0.07234431803226471,
0.37761950492858887,
-0.2252988964319229,
-0.07953743636608124,
-0.2638048231601715,
-0.13583412766456604,
-0.1681736260652542,
-0.18720099329948425,
-0.09283701330423355,
0.2901371121406555,
-0.2384629100561142,
-0.12357702851295471,
-0.041677236557006836,
-0.09033427387475967,
0.2804824709892273,
-0.004430051892995834,
0.3903386890888214,
-0.04576828330755234,
0.04166507348418236,
-0.10083959996700287,
0.11489661037921906,
0.16776005923748016,
0.5754063129425049,
-0.022532563656568527,
-0.4485240578651428,
0.09104727953672409,
-0.4121040403842926,
0.5629915595054626,
0.08161135762929916,
-0.27554187178611755,
-0.025400787591934204,
-0.08396167308092117,
0.13591523468494415,
-0.021621305495500565,
-0.09691646695137024,
0.23431922495365143,
0.13629500567913055,
-0.3573366105556488,
-0.37930282950401306,
0.29317325353622437,
0.025573842227458954,
-0.012329310178756714,
0.03076476790010929,
-0.09359855949878693,
-0.34371501207351685,
0.6253457069396973,
-0.10376115888357162,
0.7205890417098999,
0.08636800944805145,
0.32067638635635376,
0.1800825297832489,
-0.13573840260505676,
0.20862986147403717,
0.16570478677749634,
0.038487888872623444,
-0.3941693603992462,
-0.37167438864707947,
-0.07079756259918213,
-0.0064009204506874084,
0.272504985332489,
0.1568622887134552,
-0.24746690690517426,
0.3356735408306122,
-0.39931321144104004,
0.2798144221305847,
0.18669158220291138,
0.1423768699169159,
0.14497734606266022,
-0.237635999917984,
-0.20858711004257202,
0.17159996926784515,
0.024053044617176056,
-0.05354009196162224,
0.1666516661643982,
-0.015153003856539726,
-0.17998750507831573,
-0.1660892814397812,
-0.11398229002952576,
0.08136750757694244,
-0.0928695946931839,
-0.06705109030008316,
0.14846643805503845,
-0.45087194442749023,
0.03704041987657547,
0.46141326427459717,
0.031022101640701294,
0.24467988312244415,
0.01144109945744276,
-0.13664768636226654,
0.16414301097393036,
0.33108246326446533,
0.10052688419818878,
-0.12412289530038834,
0.14510290324687958,
0.18178710341453552,
-0.08918791264295578,
-0.0412709042429924,
-0.08645003288984299,
-0.18567869067192078,
0.10601681470870972,
0.28254082798957825,
-0.25156354904174805,
-0.5738528370857239,
-0.2097013145685196,
-0.15113960206508636,
0.07884517312049866,
-0.21390174329280853,
0.1695091873407364,
-0.06001727283000946,
-0.054562151432037354,
0.3170032203197479,
0.05805911123752594,
-0.2788305878639221,
-0.16415590047836304,
0.10104576498270035,
0.09434765577316284,
-0.02582702413201332,
0.39341485500335693,
0.1661500483751297,
-0.27039092779159546,
-0.22173956036567688,
0.2823258936405182,
-0.14560610055923462,
0.12862911820411682,
0.24960902333259583,
0.004445565864443779,
0.2082296460866928,
-0.010525655932724476,
0.3612086772918701,
-0.0462174117565155,
-0.009748995304107666,
-0.13217027485370636,
-0.5677615404129028,
0.04136771708726883,
-0.08522334694862366,
0.10465433448553085,
0.13608264923095703,
0.200418621301651,
-0.15231460332870483,
-0.0972767248749733,
-0.08397787064313889,
-0.3387890160083771,
-0.06713113933801651,
0.12600818276405334,
0.2072853147983551,
0.14470010995864868,
0.01300010085105896,
0.20983928442001343,
-0.07871663570404053,
0.2412385642528534,
0.01521780714392662,
0.11191666126251221,
-0.34773752093315125,
-0.1729729026556015,
0.07876763492822647,
0.08704424649477005,
-0.0753108337521553,
-0.1148560494184494,
-0.06109904497861862,
-0.03286726772785187,
-0.3379463255405426,
-0.07833268493413925,
0.2856505811214447,
-0.06220883131027222,
0.15450017154216766,
-0.13273568451404572,
0.15708988904953003,
0.11179864406585693,
0.14363780617713928,
-0.38666102290153503,
0.2441646158695221,
0.1798384189605713,
0.23448795080184937,
-0.09164903312921524,
0.05950744450092316,
-0.1256670206785202,
0.06444749236106873,
-0.13221067190170288,
0.1282416582107544,
0.3215303421020508,
-0.5307231545448303,
-0.06619666516780853,
0.14078474044799805,
0.42067909240722656,
0.4306248724460602,
-0.06919542700052261,
0.09471137076616287,
0.04052899777889252,
0.249627485871315,
-0.16430914402008057,
-0.03967209905385971,
0.2297295331954956,
-0.005900741554796696,
0.03315725550055504,
0.3163506090641022,
0.053649041801691055,
-0.0976223424077034,
0.0060532838106155396,
-0.10937780141830444,
0.48637449741363525,
-0.09473096579313278,
0.25504326820373535,
0.33316725492477417,
0.12552174925804138,
0.2168591022491455,
0.24886833131313324,
-0.15913690626621246,
-0.20611858367919922,
0.6007233262062073,
0.05208681896328926,
0.14721496403217316,
0.2754230499267578,
0.0065311044454574585,
-0.25683465600013733,
-0.4207572340965271,
0.5169876217842102,
0.13467255234718323,
-0.4264402985572815,
0.16992329061031342,
0.2758796811103821,
0.3554598391056061,
-0.28989315032958984,
-0.019138703122735023,
-0.21834443509578705,
-0.0920131653547287,
-0.06527578085660934,
-0.16881752014160156,
-0.13729402422904968,
-0.03708064183592796,
0.0008648112416267395,
0.03550127521157265,
0.14582830667495728,
-0.26094871759414673,
0.2180558741092682,
0.16173502802848816,
0.032884206622838974,
-0.3117741346359253,
0.034987080842256546,
-0.08453652262687683,
0.1070273369550705,
-0.24553564190864563,
0.18442679941654205,
0.0028470605611801147,
0.12746739387512207,
0.1362435668706894,
-0.09365832060575485,
0.5882573127746582,
0.5108852982521057,
0.06450339406728745,
-0.050934698432683945,
-0.13014741241931915,
-0.2903190553188324,
-0.07710510492324829,
0.3276745080947876,
-0.05363430082798004,
0.2969983220100403,
0.2506139278411865,
0.3206453025341034,
-0.1522672325372696,
0.3350238800048828,
0.28865182399749756,
0.19383980333805084,
-0.3559148907661438,
-0.2071232795715332,
0.22860200703144073,
-0.20827049016952515,
-0.2765653431415558,
-0.24861401319503784,
-0.3610779643058777,
-0.03605225682258606,
0.44686684012413025,
0.019389674067497253,
0.36257436871528625,
0.05088880658149719,
0.12845127284526825,
0.20827417075634003,
0.14372222125530243,
0.07903289794921875,
0.3941001296043396,
-0.3238406479358673,
0.19444377720355988,
-0.41883084177970886,
-0.04972050338983536,
0.14542372524738312,
0.1564149707555771,
-0.11383979022502899,
0.16918335855007172,
0.16652660071849823,
0.28673821687698364,
-0.008382946252822876,
-0.03942006453871727,
0.06378068774938583,
0.18239086866378784,
-0.21108052134513855,
-0.14570777118206024,
0.06135449931025505,
0.04615388438105583,
-0.17727331817150116,
-0.36050498485565186,
0.12377674877643585,
-0.02931368350982666,
0.13100242614746094,
-0.24722345173358917,
0.10220412909984589,
0.03930070623755455,
0.10003174841403961,
0.28738951683044434,
0.2746543288230896,
0.5357417464256287,
-0.23788872361183167,
0.0478738471865654,
-0.15594881772994995,
-0.09138549119234085,
-0.2436797171831131,
0.18712735176086426,
0.1165449470281601,
0.24619358777999878,
-0.12263736873865128,
-0.12023817002773285,
-0.1403914839029312,
0.28895360231399536,
0.21688510477542877,
0.00653880974277854,
-0.2837381958961487,
0.1296982616186142,
0.04780717194080353,
-0.03395569697022438,
-0.07135234028100967,
0.11246474087238312,
-0.14287303388118744,
0.3333728015422821,
0.086748406291008,
-0.3287103474140167,
0.12964248657226562,
-0.31195926666259766,
-0.3548656702041626,
-0.05080612376332283,
0.3011331558227539,
0.022322069853544235,
0.12848231196403503,
-0.31239551305770874,
-0.11799415200948715,
0.3829696476459503,
-0.29808148741722107,
-0.19525089859962463,
0.19224990904331207,
-0.06689156591892242,
0.028475414961576462,
-0.14721831679344177,
0.3914695382118225,
0.14040738344192505,
-0.3391146659851074,
-0.028502531349658966,
-0.46992194652557373
] |
https://github.com/huggingface/datasets/issues/4671 | Dataset Viewer issue for wmt16 | Thanks for reporting, @lewtun.
~We can't load the dataset locally, so I think this is an issue with the loading script (not the viewer).~
We are investigating... | ### Link
https://huggingface.co/datasets/wmt16
### Description
[Reported](https://huggingface.co/spaces/autoevaluate/model-evaluator/discussions/12#62cb83f14c7f35284e796f9c) by a user of AutoTrain Evaluate. AFAIK this dataset was working 1-2 weeks ago, and I'm not sure how to interpret this error.
```
Status code: 400
Exception: NotImplementedError
Message: This is a abstract method
```
Thanks!
### Owner
No | 27 | Dataset Viewer issue for wmt16
### Link
https://huggingface.co/datasets/wmt16
### Description
[Reported](https://huggingface.co/spaces/autoevaluate/model-evaluator/discussions/12#62cb83f14c7f35284e796f9c) by a user of AutoTrain Evaluate. AFAIK this dataset was working 1-2 weeks ago, and I'm not sure how to interpret this error.
```
Status code: 400
Exception: NotImplementedError
Message: This is a abstract method
```
Thanks!
### Owner
No
Thanks for reporting, @lewtun.
~We can't load the dataset locally, so I think this is an issue with the loading script (not the viewer).~
We are investigating... | [
-0.5232622027397156,
-0.13589954376220703,
0.08966942131519318,
0.43717581033706665,
0.32875728607177734,
0.14782804250717163,
0.3162905275821686,
0.28697338700294495,
0.09980276226997375,
0.12582150101661682,
-0.15189333260059357,
0.15729352831840515,
-0.3285464644432068,
-0.10506575554609299,
0.15596099197864532,
-0.007160887122154236,
-0.1869625747203827,
0.04596563056111336,
-0.19600951671600342,
0.10584226250648499,
-0.23609022796154022,
-0.06647367030382156,
-0.2963326573371887,
0.18103212118148804,
-0.04941588267683983,
0.06713517010211945,
-0.03710491210222244,
-0.20716634392738342,
-0.02258036844432354,
-0.2849087417125702,
0.0450715646147728,
0.26762086153030396,
0.3131152093410492,
0.4840714931488037,
-0.00012594161671586335,
0.23761741816997528,
0.4558592438697815,
0.1653195023536682,
-0.0011039962992072105,
-0.07763959467411041,
-0.27688130736351013,
0.260642409324646,
0.48765093088150024,
0.1520986557006836,
-0.13981735706329346,
0.10769034922122955,
0.111829973757267,
-0.38829511404037476,
0.44009995460510254,
0.1444467157125473,
0.09558822959661484,
0.4182840585708618,
0.14720936119556427,
-0.015371769666671753,
-0.13001108169555664,
0.3253641724586487,
-0.09705933928489685,
0.10735873878002167,
-0.0399010106921196,
0.07748764753341675,
-0.4069684147834778,
0.21165579557418823,
0.09442737698554993,
0.23574033379554749,
0.235794335603714,
-0.1625136137008667,
-0.10744787007570267,
-0.22285494208335876,
0.2629168629646301,
0.22810831665992737,
0.566437840461731,
0.16379831731319427,
-0.14652028679847717,
0.10137604922056198,
0.039296507835388184,
-0.14029216766357422,
0.27519118785858154,
0.0005908608436584473,
-0.14551304280757904,
0.292767733335495,
-0.38789811730384827,
0.027422135695815086,
-0.36776697635650635,
-0.05721639096736908,
-0.38496217131614685,
0.16451479494571686,
-0.32255542278289795,
0.22056999802589417,
0.39928948879241943,
-0.037501297891139984,
0.4865972399711609,
-0.15403437614440918,
0.1399623155593872,
0.16497308015823364,
-0.28924572467803955,
0.053947485983371735,
0.24387317895889282,
0.36120885610580444,
-0.21300897002220154,
0.19736965000629425,
0.06925904750823975,
0.2596973180770874,
0.1185072660446167,
0.016095273196697235,
0.340960830450058,
0.10719449818134308,
-0.13435345888137817,
-0.00823595467954874,
0.25570017099380493,
0.21386095881462097,
-0.0971572995185852,
-0.002994149923324585,
-0.3103846311569214,
-0.3072028160095215,
-0.04221619665622711,
-0.3431204855442047,
0.15997810661792755,
0.03044235333800316,
-0.5250482559204102,
0.1926746368408203,
-0.35335424542427063,
-0.25819268822669983,
0.14844463765621185,
0.1523960828781128,
-0.0242508165538311,
0.07466946542263031,
0.3857390880584717,
0.03259434178471565,
-0.03174987807869911,
-0.45043933391571045,
-0.08698306232690811,
-0.1426405906677246,
-0.17242756485939026,
-0.18831661343574524,
0.040779370814561844,
-0.3310653567314148,
-0.15494662523269653,
-0.04866737872362137,
-0.0289045050740242,
-0.284493625164032,
0.048018135130405426,
-0.22889819741249084,
0.00005999952554702759,
0.2700968086719513,
0.16769646108150482,
-0.010583599098026752,
0.2844539284706116,
-0.09049765020608902,
0.1310322880744934,
0.16662275791168213,
0.1108677089214325,
-0.3348791301250458,
-0.04255437105894089,
0.1176019161939621,
-0.26615381240844727,
-0.058545731008052826,
0.05928166210651398,
0.1632402092218399,
-0.150864839553833,
0.17552688717842102,
-0.20718449354171753,
-0.21647115051746368,
-0.08348684757947922,
-0.031063243746757507,
0.36242979764938354,
0.7729195356369019,
-0.29045388102531433,
0.058836884796619415,
-1.0001472234725952,
-0.35243141651153564,
0.019617319107055664,
0.3143642842769623,
-0.07620561867952347,
0.3861576318740845,
-0.2774896025657654,
0.2644798755645752,
0.3996105492115021,
0.11022542417049408,
-0.2332642674446106,
0.46593257784843445,
-0.09265607595443726,
0.17976072430610657,
-0.0675889328122139,
0.03447267785668373,
0.044381033629179,
0.017610542476177216,
0.40084749460220337,
-0.5024252533912659,
-0.023482633754611015,
-0.4215766489505768,
-0.08974052965641022,
-0.1850527822971344,
0.3902108073234558,
0.31044793128967285,
0.4115491807460785,
-0.05231339484453201,
0.2841472029685974,
-0.08977819234132767,
0.2604118585586548,
0.2199680656194687,
-0.09136410057544708,
-0.06792492419481277,
0.3442648649215698,
0.004409618675708771,
-0.15988226234912872,
-0.02185535430908203,
-0.11520733684301376,
-0.027868248522281647,
0.3579089939594269,
-0.1427331566810608,
0.44847363233566284,
0.0301603302359581,
-0.14664271473884583,
0.27854225039482117,
-0.4945758879184723,
-0.17407506704330444,
0.03005339950323105,
0.0037861019372940063,
-0.4450347125530243,
-0.009730532765388489,
-0.2657095491886139,
-0.21250802278518677,
-0.15880171954631805,
-0.030147084966301918,
-0.0926131010055542,
-0.06298729032278061,
-0.09301894903182983,
0.027397628873586655,
-0.07931676506996155,
-0.10172312706708908,
-0.012945741415023804,
-0.17997369170188904,
-0.29022160172462463,
0.2425975799560547,
0.0986003577709198,
0.37064051628112793,
-0.11003992706537247,
0.14198628067970276,
-0.12216068059206009,
-0.6441120505332947,
-0.051113858819007874,
0.32935792207717896,
0.062284283339977264,
-0.07763978838920593,
0.017691720277071,
0.07816915214061737,
0.15872885286808014,
0.02332976460456848,
0.13893786072731018,
0.22996854782104492,
0.26450982689857483,
0.1715405434370041,
0.007332341745495796,
-0.33255115151405334,
0.2645682394504547,
0.10119281709194183,
0.354967325925827,
0.041663818061351776,
-0.45813432335853577,
-0.07112974673509598,
-0.015442069619894028,
0.14689812064170837,
0.07599368691444397,
0.30980899930000305,
-0.43781810998916626,
-0.06773209571838379,
-0.11177600920200348,
0.17149177193641663,
0.4964127540588379,
-0.06516657024621964,
-0.05102333799004555,
0.38863885402679443,
0.20740970969200134,
-0.13496974110603333,
0.25274157524108887,
0.39464759826660156,
0.1639287918806076,
0.3249530792236328,
-0.12676706910133362,
0.11569685488939285,
-0.3526272177696228,
0.13587906956672668,
0.07902175188064575,
0.33551740646362305,
-0.589152991771698,
-0.11492077261209488,
-0.22738894820213318,
-0.00710311159491539,
-0.4739851951599121,
-0.18958686292171478,
-0.09288325905799866,
-0.13751474022865295,
-0.10516372323036194,
0.33293989300727844,
-0.29005593061447144,
0.06729137897491455,
-0.24300286173820496,
0.23846116662025452,
-0.1273069977760315,
0.532600998878479,
-0.07693786174058914,
0.07579658925533295,
-0.20289891958236694,
-0.024221116676926613,
0.5404278635978699,
-0.45230036973953247,
0.2739819884300232,
-0.2909391224384308,
0.3688541054725647,
-0.16485179960727692,
-0.4950774013996124,
0.18982353806495667,
0.04509485512971878,
0.41925638914108276,
0.2725430130958557,
-0.09529159963130951,
-0.05550724267959595,
-0.29135721921920776,
0.21765507757663727,
-0.2097555249929428,
-0.05080973356962204,
0.042802635580301285,
0.09302043914794922,
-0.023599110543727875,
-0.08463382720947266,
-0.3199699819087982,
-0.14586901664733887,
-0.25791144371032715,
0.14335383474826813,
0.030779901891946793,
-0.08191470801830292,
0.04055139422416687,
-0.14242799580097198,
0.3445460796356201,
0.28889405727386475,
-0.15367193520069122,
-0.2800101637840271,
-0.009751088917255402,
0.3073970675468445,
-0.11045824736356735,
-0.2741204798221588,
0.1853978931903839,
0.016152285039424896,
0.3037889897823334,
0.07135535776615143,
-0.4565647840499878,
0.23911939561367035,
0.15809252858161926,
-0.3292404115200043,
0.04138414189219475,
-0.3548334240913391,
0.3020922541618347,
-0.05970200523734093,
0.10296441614627838,
-0.06541521847248077,
-0.1762564480304718,
0.19638508558273315,
-0.210324227809906,
0.2114754021167755,
-0.27108681201934814,
0.6814911961555481,
0.028770100325345993,
0.42935097217559814,
0.2580791413784027,
-0.07663962244987488,
0.10892559587955475,
-0.18004533648490906,
0.14207696914672852,
-0.0645868256688118,
-0.2984101176261902,
0.07390765845775604,
-0.26186835765838623,
-0.21337980031967163,
0.35173922777175903,
-0.11021805554628372,
-0.11418523639440536,
-0.18071988224983215,
-0.08224751055240631,
-0.37450215220451355,
-0.3196656405925751,
0.15400430560112,
-0.1458943784236908,
0.36063051223754883,
0.12766119837760925,
0.26582953333854675,
0.08347897231578827,
-0.1850517988204956,
0.022295627743005753,
0.4347851872444153,
0.2328125536441803,
-0.3066296875476837,
-0.09590618312358856,
-0.09848310798406601,
0.100548155605793,
0.5098248720169067,
-0.10709599405527115,
0.5229538679122925,
-0.0696965754032135,
-0.21593058109283447,
0.2799466848373413,
-0.14208978414535522,
0.4744850993156433,
-0.0995904803276062,
0.22516600787639618,
0.1820203959941864,
-0.34186050295829773,
-0.4733985960483551,
-0.12256567180156708,
-0.33208009600639343,
-0.3896313011646271,
0.10683830082416534,
0.13038918375968933,
-0.14219403266906738,
-0.19367201626300812,
0.5393359661102295,
-0.29769983887672424,
-0.4247577488422394,
-0.22748027741909027,
-0.09632567316293716,
0.010116498917341232,
-0.08802846819162369,
-0.05441363900899887,
-0.13804087042808533,
-0.11741769313812256,
-0.08684936165809631,
0.09667794406414032,
-0.21028946340084076,
-0.11672022193670273,
0.3560854196548462,
0.17519046366214752,
0.1326095461845398,
0.03453363478183746,
0.1980796456336975,
0.4594995081424713,
0.14275769889354706,
0.38521671295166016,
0.17227473855018616,
-0.14103570580482483,
-0.3671059310436249,
0.4639604389667511,
-0.181376114487648,
0.3243701457977295,
0.1978381872177124,
-0.1835661679506302,
0.10021109879016876,
0.3881033957004547,
0.1336168646812439,
-0.5986822247505188,
0.3670186400413513,
0.5832223892211914,
0.03258656710386276,
-0.14101022481918335,
-0.3669315576553345,
0.31409627199172974,
-0.02097088098526001,
-0.17685720324516296,
0.14823728799819946,
0.2088240683078766,
-0.021064303815364838,
-0.19766221940517426,
0.3311622142791748,
0.9136662483215332,
0.07777080684900284,
-0.1302918791770935,
0.21826428174972534,
-0.222646102309227,
-0.28424298763275146,
0.23383383452892303,
0.12314105778932571,
-0.42891669273376465,
0.040433723479509354,
-0.23120318353176117,
-0.19520720839500427,
0.4140908420085907,
-0.02522466331720352,
-0.08988751471042633,
-0.13020893931388855,
-0.1360827535390854,
0.6501088738441467,
0.2802356481552124,
-0.07559618353843689,
-0.21466046571731567,
0.21776452660560608,
0.0006619039922952652,
0.03103730082511902,
-0.09201520681381226,
0.3199710249900818,
-0.2369203269481659,
-0.20203842222690582,
0.32171955704689026,
-0.07566151022911072,
-0.4131903648376465,
0.06410390883684158,
-0.3003756105899811,
0.20827102661132812,
0.09579344838857651,
-0.1553865373134613,
0.6959061026573181,
0.027127983048558235,
0.0561404824256897,
0.13980521261692047,
-0.3471103310585022,
0.024559590965509415,
-0.3168486952781677,
0.08414734154939651,
0.17414356768131256,
0.05310145393013954,
0.28506848216056824,
-0.12690165638923645,
-0.127869114279747,
0.04672768712043762,
-0.03618206828832626,
-0.13835641741752625,
0.09189711511135101,
-0.02099134773015976,
0.5035197138786316,
-0.44637322425842285,
-0.1852676421403885,
-0.16549895703792572,
-0.09474337846040726,
-0.10474565625190735,
0.022910984233021736,
-0.10826949775218964,
-0.029615027830004692,
0.04101607948541641,
0.0689563974738121,
-0.02992860972881317,
0.12640748918056488,
0.31715744733810425,
-0.09345672279596329,
0.11131437122821808,
0.447582483291626,
0.044238071888685226,
-0.19253377616405487,
-0.2901369631290436,
0.059651583433151245,
0.30125686526298523,
-0.42042213678359985,
0.1264447271823883,
-0.049205321818590164,
0.23842979967594147,
0.20920951664447784,
0.0637359470129013,
0.16088110208511353,
-0.17428797483444214,
-0.2962227165699005,
-0.316947877407074,
-0.34247511625289917,
-0.061630427837371826,
-0.1906118094921112,
0.05028301104903221,
-0.08912374079227448,
0.3952207565307617,
0.15590564906597137,
0.05331484228372574,
-0.17751872539520264,
-0.033412203192710876,
-0.03775130957365036,
-0.13598047196865082,
0.1640029102563858,
-0.03468528389930725,
-0.06479797512292862,
0.014225317165255547,
-0.045450471341609955,
0.31835007667541504,
-0.5669130086898804,
-0.016375720500946045,
-0.07362771034240723,
0.21734601259231567,
0.06970660388469696,
-0.3283805847167969,
0.27890917658805847,
-0.09995845705270767,
-0.33551734685897827,
0.185005322098732,
-0.173970028758049,
-0.13912858068943024,
-0.06244300305843353,
-0.10143256932497025,
0.10046035051345825,
0.061738476157188416,
-0.3670693039894104,
-0.04659698158502579,
-0.026707008481025696,
0.40496981143951416,
-0.012405609712004662,
-0.1277092844247818,
0.06832458823919296,
-0.05406421422958374,
0.039111435413360596,
0.2158242166042328,
0.34285032749176025,
-0.005179982632398605,
0.31550222635269165,
-0.23531527817249298,
0.17351019382476807,
-0.18157736957073212,
0.29455137252807617,
0.45947787165641785,
-0.14763127267360687,
-0.13012954592704773,
0.06466823071241379,
0.022538740187883377,
-0.3855050504207611,
0.19329974055290222,
-0.020687595009803772,
0.023957788944244385,
-0.1448800414800644,
0.022151149809360504,
0.09391467273235321,
0.23501554131507874,
-0.0747670829296112,
0.19433629512786865,
0.47325608134269714,
-0.12946254014968872,
0.037426404654979706,
0.557964563369751,
-0.3823324143886566,
0.4253261983394623,
0.1392858773469925,
-0.0011512115597724915,
0.03744006156921387,
0.28890320658683777,
-0.25394776463508606,
0.22691266238689423,
-0.25518929958343506,
0.24226140975952148,
0.26459115743637085,
-0.6091779470443726,
0.24055364727973938,
0.4370066225528717,
-0.27707532048225403,
0.33333075046539307,
0.11111355572938919,
0.028952796012163162,
0.0036678770557045937,
0.08217709511518478,
-0.3475410044193268,
0.10498420894145966,
-0.13143682479858398,
0.01868731528520584,
-0.1357165277004242,
-0.3329106569290161,
-0.17697253823280334,
0.25916072726249695,
-0.019768234342336655,
0.13241688907146454,
-0.09923429787158966,
0.1650283932685852,
-0.21314816176891327,
-0.14335858821868896,
-0.28783124685287476,
0.1157367080450058,
0.12094315886497498,
-0.35434648394584656,
0.0834723636507988,
0.39299559593200684,
0.09673166275024414,
0.27123838663101196,
0.5639779567718506,
0.1924530565738678,
0.06533306837081909,
0.06644342839717865,
0.005216261371970177,
-0.031403087079524994,
0.056807585060596466,
-0.01954958587884903,
0.04329780489206314,
0.1954096257686615,
0.22824427485466003,
0.2526471018791199,
0.01683424971997738,
-0.06160695105791092,
0.2662224769592285,
-0.12359051406383514,
0.33828747272491455,
-0.5871108174324036,
0.23934024572372437,
-0.035368844866752625,
-0.13233071565628052,
-0.12529346346855164,
-0.10535980015993118,
-0.02182350680232048,
0.2845516502857208,
0.5746894478797913,
-0.14748656749725342,
-0.020071273669600487,
-0.2280310094356537,
-0.013323774561285973,
0.310806542634964,
0.5004346966743469,
0.20131747424602509,
-0.11633751541376114,
-0.1792890578508377,
-0.5697892308235168,
-0.8908355236053467,
0.26846843957901,
0.4512980282306671,
0.20339840650558472,
0.25866517424583435,
-0.115082286298275,
0.05477389693260193,
-0.06977398693561554,
0.28055042028427124,
0.13503964245319366,
0.0929749384522438,
-0.08456580340862274,
-0.09612143039703369,
0.1298457235097885,
-0.03089962899684906,
0.0061783939599990845,
-0.14105290174484253,
-0.1735737919807434,
0.267934650182724,
-0.21525856852531433,
-0.0959518551826477,
-0.10816970467567444,
0.33439570665359497,
-0.27691325545310974,
0.08971894532442093,
0.29605376720428467,
0.10553941130638123,
0.3720252811908722,
0.014894165098667145,
0.28228580951690674,
-0.13109584152698517,
0.11680840700864792,
-0.26787012815475464,
0.291290283203125,
0.22571280598640442,
0.25563284754753113,
0.0980839729309082,
-0.2901845872402191,
-0.2605080008506775,
-0.20797832310199738,
0.1045299768447876,
0.015743106603622437,
-0.7435157895088196,
0.23380453884601593,
-0.3410395085811615,
-0.03854869306087494,
0.49531325697898865,
0.3345049023628235,
0.18645043671131134,
-0.07827366143465042,
-0.3276727497577667,
-0.0724063590168953,
0.30984291434288025,
-0.4448579251766205,
-0.3460162281990051,
-0.3709254860877991,
0.0639013797044754,
-0.24175506830215454,
-0.3445989787578583,
-0.7177553176879883,
-0.3018198311328888,
0.38596346974372864,
-0.09691476076841354,
0.06846694648265839,
0.2716490626335144,
0.1284915655851364,
-0.18268181383609772,
0.006032921373844147,
0.26070040464401245,
0.329710990190506,
-0.13817529380321503,
-0.04038724675774574,
-0.1697944849729538
] |
https://github.com/huggingface/datasets/issues/4671 | Dataset Viewer issue for wmt16 | Recently, there was a merged PR related to this dataset:
- #4554
We are looking at this... | ### Link
https://huggingface.co/datasets/wmt16
### Description
[Reported](https://huggingface.co/spaces/autoevaluate/model-evaluator/discussions/12#62cb83f14c7f35284e796f9c) by a user of AutoTrain Evaluate. AFAIK this dataset was working 1-2 weeks ago, and I'm not sure how to interpret this error.
```
Status code: 400
Exception: NotImplementedError
Message: This is a abstract method
```
Thanks!
### Owner
No | 17 | Dataset Viewer issue for wmt16
### Link
https://huggingface.co/datasets/wmt16
### Description
[Reported](https://huggingface.co/spaces/autoevaluate/model-evaluator/discussions/12#62cb83f14c7f35284e796f9c) by a user of AutoTrain Evaluate. AFAIK this dataset was working 1-2 weeks ago, and I'm not sure how to interpret this error.
```
Status code: 400
Exception: NotImplementedError
Message: This is a abstract method
```
Thanks!
### Owner
No
Recently, there was a merged PR related to this dataset:
- #4554
We are looking at this... | [
-0.48760277032852173,
-0.15501123666763306,
0.05081375315785408,
0.43308234214782715,
0.31441909074783325,
0.14988058805465698,
0.29578015208244324,
0.26951754093170166,
-0.03683917969465256,
0.08725496381521225,
-0.21536459028720856,
0.13226152956485748,
-0.37234440445899963,
-0.12025558203458786,
0.08646421134471893,
-0.018677085638046265,
-0.16283145546913147,
0.019641153514385223,
-0.14656208455562592,
0.11169236898422241,
-0.2517443299293518,
-0.14073750376701355,
-0.31950944662094116,
0.21261318027973175,
-0.07326191663742065,
-0.06723205000162125,
-0.07961928844451904,
-0.33509817719459534,
-0.0859958678483963,
-0.18563611805438995,
0.019755767658352852,
0.266764760017395,
0.2556211054325104,
0.4635554552078247,
-0.0001238234108313918,
0.20996947586536407,
0.35413658618927,
0.2135796844959259,
0.07973049581050873,
-0.0253935307264328,
-0.3684543967247009,
0.265918105840683,
0.3850822448730469,
0.17880603671073914,
-0.13266906142234802,
0.07122179120779037,
0.09539272636175156,
-0.3811487555503845,
0.47459936141967773,
0.2089499831199646,
0.1160481870174408,
0.37911590933799744,
0.19255751371383667,
-0.013507704250514507,
-0.15931066870689392,
0.30645138025283813,
-0.08124459534883499,
-0.02529485523700714,
-0.1210818737745285,
0.13531039655208588,
-0.36068978905677795,
0.23789452016353607,
0.16050583124160767,
0.18883585929870605,
0.16188743710517883,
-0.1294659972190857,
-0.10173291712999344,
-0.2727592885494232,
0.2804430425167084,
0.2193373143672943,
0.492158979177475,
0.09323474019765854,
-0.12393995374441147,
0.09408768266439438,
-0.01902712509036064,
-0.14250397682189941,
0.21832403540611267,
0.0162929929792881,
-0.08434057235717773,
0.3226127028465271,
-0.34710609912872314,
0.04153028503060341,
-0.37374699115753174,
-0.10789570212364197,
-0.38544219732284546,
0.18874715268611908,
-0.32384195923805237,
0.1942039132118225,
0.42930662631988525,
-0.06410962343215942,
0.46911686658859253,
-0.16463077068328857,
0.14068275690078735,
0.17484617233276367,
-0.3557177186012268,
-0.037761420011520386,
0.23402518033981323,
0.28619149327278137,
-0.18997648358345032,
0.2407630831003189,
-0.035810962319374084,
0.23252522945404053,
0.1647142469882965,
-0.01622430980205536,
0.36606305837631226,
0.042760513722896576,
-0.19909685850143433,
0.07451888173818588,
0.29184645414352417,
0.12799610197544098,
-0.06168227642774582,
0.023320164531469345,
-0.26923036575317383,
-0.28429368138313293,
-0.11173051595687866,
-0.3990640938282013,
0.15059974789619446,
0.07382440567016602,
-0.5295330286026001,
0.1720639318227768,
-0.37378042936325073,
-0.2441493272781372,
0.18985378742218018,
0.1276308000087738,
-0.023656070232391357,
0.016993502154946327,
0.3684356212615967,
-0.013905651867389679,
0.015409795567393303,
-0.38126811385154724,
-0.07666853815317154,
-0.14949114620685577,
-0.11863115429878235,
-0.2625008821487427,
-0.07391977310180664,
-0.22863183915615082,
-0.18016016483306885,
0.03828738257288933,
-0.1019015908241272,
-0.25939565896987915,
0.046264030039310455,
-0.31731826066970825,
-0.0028565526008605957,
0.221694678068161,
0.17262962460517883,
-0.06488380581140518,
0.23424682021141052,
-0.036039650440216064,
0.11675456911325455,
0.03739406168460846,
0.13993316888809204,
-0.30974408984184265,
-0.09606583416461945,
0.15286016464233398,
-0.30135005712509155,
-0.030692391097545624,
0.10537141561508179,
0.23859445750713348,
-0.1554352343082428,
0.22407382726669312,
-0.18687263131141663,
-0.13698020577430725,
-0.023762784898281097,
0.00033128942595794797,
0.31354597210884094,
0.5933530330657959,
-0.15611794590950012,
0.14203859865665436,
-0.9998859763145447,
-0.3267553746700287,
0.056315116584300995,
0.32506540417671204,
-0.020812688395380974,
0.36809104681015015,
-0.28581511974334717,
0.25570833683013916,
0.427002876996994,
0.19623737037181854,
-0.25455474853515625,
0.33063188195228577,
-0.05753821134567261,
0.1142495647072792,
-0.059034593403339386,
0.03772586211562157,
0.006736837327480316,
-0.010358748026192188,
0.3900280296802521,
-0.5120024681091309,
-0.11889307200908661,
-0.4397730827331543,
-0.10681809484958649,
-0.14997558295726776,
0.4045131206512451,
0.21820837259292603,
0.4172232449054718,
-0.10168386250734329,
0.23108866810798645,
-0.002932262606918812,
0.2540332078933716,
0.19131512939929962,
-0.06881265342235565,
-0.05476757884025574,
0.41508254408836365,
-0.06508120894432068,
-0.19101671874523163,
-0.0917193591594696,
-0.027745746076107025,
-0.10548903048038483,
0.3610749840736389,
-0.05003514140844345,
0.4632207155227661,
-0.052790962159633636,
-0.13054029643535614,
0.25776559114456177,
-0.51020747423172,
-0.2802653908729553,
0.08247479051351547,
-0.03332221508026123,
-0.36664631962776184,
-0.028054391965270042,
-0.18108969926834106,
-0.22391670942306519,
-0.1747407168149948,
-0.027419889345765114,
0.03331761807203293,
-0.07643230259418488,
-0.12026558071374893,
0.11732057482004166,
-0.061244651675224304,
-0.005287036299705505,
-0.029124625027179718,
-0.13544721901416779,
-0.25700515508651733,
0.22062444686889648,
0.05415331572294235,
0.35053181648254395,
-0.06843628734350204,
0.16595357656478882,
-0.09664670377969742,
-0.6700904965400696,
-0.13074269890785217,
0.2957267761230469,
0.06624286621809006,
-0.09230901300907135,
-0.0023724138736724854,
0.11067695915699005,
0.22000184655189514,
0.0035706087946891785,
0.14178861677646637,
0.2652689516544342,
0.2471098005771637,
0.19904765486717224,
0.05613916367292404,
-0.28797397017478943,
0.1879570633172989,
0.12403152883052826,
0.3973929286003113,
0.11887308955192566,
-0.46902722120285034,
-0.008917629718780518,
0.08191961795091629,
0.239691823720932,
0.04700077325105667,
0.31162360310554504,
-0.43492448329925537,
-0.10728034377098083,
-0.10529421269893646,
0.2311817854642868,
0.4367649555206299,
-0.010161536745727062,
0.006335452198982239,
0.4747479557991028,
0.16858619451522827,
-0.051672160625457764,
0.3051179349422455,
0.40826934576034546,
0.19016098976135254,
0.2613636553287506,
-0.061820194125175476,
0.10150150954723358,
-0.34204620122909546,
0.17650070786476135,
0.07589948177337646,
0.38047707080841064,
-0.5048262476921082,
-0.18588139116764069,
-0.25535377860069275,
-0.06792134046554565,
-0.4643154442310333,
-0.14956235885620117,
-0.11510202288627625,
-0.18807925283908844,
-0.05916924774646759,
0.2260962724685669,
-0.2644587457180023,
0.09631075710058212,
-0.1945234090089798,
0.2034166306257248,
-0.10762830823659897,
0.6075653433799744,
-0.078716941177845,
0.06695791333913803,
-0.1698615849018097,
0.028468016535043716,
0.5156844258308411,
-0.45764002203941345,
0.37358716130256653,
-0.22803036868572235,
0.3809388279914856,
-0.2425612509250641,
-0.6131318211555481,
0.18667419254779816,
0.0016439631581306458,
0.38891491293907166,
0.3226460814476013,
-0.1602691262960434,
-0.0846128910779953,
-0.29132774472236633,
0.14552895724773407,
-0.12958171963691711,
-0.09313806891441345,
-0.01515290979295969,
0.07399088889360428,
0.037266314029693604,
-0.06249426305294037,
-0.3683616518974304,
-0.17598100006580353,
-0.2390807569026947,
0.19826246798038483,
-0.02899995818734169,
-0.09904101490974426,
0.11956003308296204,
-0.22649730741977692,
0.3649047613143921,
0.35249418020248413,
-0.14667457342147827,
-0.35270535945892334,
0.07281102240085602,
0.2660236358642578,
-0.05388561636209488,
-0.21956868469715118,
0.19702821969985962,
-0.05422798544168472,
0.30998972058296204,
0.07474478334188461,
-0.3608587384223938,
0.1962987184524536,
0.10956107079982758,
-0.3053310215473175,
0.07723501324653625,
-0.2797074317932129,
0.3264217972755432,
-0.09547287970781326,
0.07427266985177994,
-0.07420194149017334,
-0.15521293878555298,
0.24195194244384766,
-0.22693270444869995,
0.3036138117313385,
-0.27770325541496277,
0.6058591604232788,
0.13973629474639893,
0.46134740114212036,
0.24837535619735718,
-0.0871831476688385,
0.061278536915779114,
-0.28447476029396057,
0.11625245958566666,
0.01951640099287033,
-0.2734665870666504,
0.1421416848897934,
-0.2661000192165375,
-0.19898173213005066,
0.3011166453361511,
-0.050463445484638214,
-0.06017428636550903,
-0.13558581471443176,
-0.021623607724905014,
-0.3973851799964905,
-0.3285549581050873,
0.06328298896551132,
-0.08914995193481445,
0.399867981672287,
0.13893122971057892,
0.21336427330970764,
0.055655863136053085,
-0.13446465134620667,
-0.0023672282695770264,
0.39504408836364746,
0.13721129298210144,
-0.31515875458717346,
-0.08062326908111572,
-0.06916625797748566,
0.08480888605117798,
0.5011680126190186,
-0.11003457754850388,
0.5480411648750305,
-0.05439257621765137,
-0.211359441280365,
0.2327011525630951,
-0.16678868234157562,
0.44768041372299194,
-0.14042308926582336,
0.14331218600273132,
0.12501558661460876,
-0.283624529838562,
-0.37290894985198975,
-0.08427290618419647,
-0.3723042905330658,
-0.4383806586265564,
0.1309935748577118,
0.1341557502746582,
-0.14893779158592224,
-0.21864661574363708,
0.5772879123687744,
-0.3358306586742401,
-0.3508084714412689,
-0.1114189401268959,
-0.014978170394897461,
-0.08107266575098038,
-0.04219074547290802,
-0.01970699429512024,
-0.04661107808351517,
-0.11757644265890121,
-0.09223189204931259,
0.1338295042514801,
-0.26774299144744873,
-0.10788028687238693,
0.3882063031196594,
0.17022845149040222,
0.13940781354904175,
0.009981106035411358,
0.20639078319072723,
0.4065200388431549,
0.12458404153585434,
0.4355067014694214,
0.12845832109451294,
-0.13798141479492188,
-0.42015689611434937,
0.4037433862686157,
-0.2343311756849289,
0.3857598602771759,
0.11825686693191528,
-0.20796623826026917,
0.22764641046524048,
0.28758352994918823,
0.16778042912483215,
-0.5614341497421265,
0.3720850944519043,
0.613325297832489,
0.16769124567508698,
-0.17231124639511108,
-0.3566247224807739,
0.27546101808547974,
0.11710511147975922,
-0.19744473695755005,
0.18404409289360046,
0.2422596514225006,
-0.0742519348859787,
-0.2847486138343811,
0.3236207962036133,
0.8712080121040344,
0.18616923689842224,
-0.1603683978319168,
0.18399107456207275,
-0.3337585926055908,
-0.16764909029006958,
0.2520442605018616,
0.13609392940998077,
-0.408854216337204,
0.07144760340452194,
-0.2488517016172409,
-0.1802239716053009,
0.4517209529876709,
-0.10004280507564545,
-0.15739288926124573,
-0.13596664369106293,
-0.05907527357339859,
0.6342807412147522,
0.28844839334487915,
-0.07537351548671722,
-0.21564990282058716,
0.21593202650547028,
-0.049340568482875824,
0.05694879591464996,
-0.11822576820850372,
0.25982677936553955,
-0.21756792068481445,
-0.2626523971557617,
0.30474939942359924,
-0.08038268238306046,
-0.4440235495567322,
-0.006934735924005508,
-0.3388047516345978,
0.17942361533641815,
0.09424211084842682,
-0.11889560520648956,
0.7474034428596497,
-0.05451114848256111,
0.1232614666223526,
0.17321360111236572,
-0.3360156714916229,
0.012006308883428574,
-0.31545454263687134,
0.16393643617630005,
0.15571045875549316,
0.02686966583132744,
0.22570127248764038,
-0.15720294415950775,
-0.10184133052825928,
0.04716181010007858,
-0.022132564336061478,
-0.19948095083236694,
0.019986584782600403,
-0.05429337918758392,
0.4720693826675415,
-0.3698241412639618,
-0.09792865812778473,
-0.10538923740386963,
-0.169645294547081,
-0.1937934011220932,
0.03979282081127167,
-0.16273409128189087,
-0.07746782898902893,
0.09535446017980576,
0.042089976370334625,
0.016917578876018524,
0.13103270530700684,
0.2306841015815735,
-0.03019154816865921,
0.15078531205654144,
0.3765735924243927,
0.023672591894865036,
-0.22738030552864075,
-0.30311304330825806,
0.10017988830804825,
0.19989874958992004,
-0.3046727776527405,
0.14202870428562164,
-0.1324605643749237,
0.19589488208293915,
0.258190393447876,
0.06689392775297165,
0.1489020735025406,
-0.1390637755393982,
-0.30807754397392273,
-0.2859341502189636,
-0.4089697599411011,
-0.06024421751499176,
-0.280282586812973,
0.11283601820468903,
-0.1259188950061798,
0.5078254342079163,
0.1709398329257965,
0.054785143584012985,
-0.202262282371521,
-0.025775106623768806,
-0.12049566209316254,
-0.09927186369895935,
0.07662996649742126,
-0.10932507365942001,
-0.09660477191209793,
0.00851849839091301,
-0.030181244015693665,
0.362491250038147,
-0.5819665789604187,
-0.04315442219376564,
-0.07130323350429535,
0.19308146834373474,
0.036382727324962616,
-0.3180255889892578,
0.31048521399497986,
0.00711459293961525,
-0.3444300889968872,
0.28153517842292786,
-0.17145541310310364,
-0.1976812183856964,
-0.022862866520881653,
-0.08595554530620575,
0.027412686496973038,
0.018970809876918793,
-0.32491642236709595,
-0.14269809424877167,
0.0070436447858810425,
0.3957395553588867,
-0.001804114319384098,
-0.0843365490436554,
0.076081782579422,
-0.07995206862688065,
0.06327707320451736,
0.1500224471092224,
0.3364540934562683,
-0.10107535868883133,
0.3006526529788971,
-0.2138640433549881,
0.09527166187763214,
-0.1368454247713089,
0.34136226773262024,
0.48032185435295105,
-0.07614041119813919,
-0.10373948514461517,
0.06079692021012306,
0.03377388417720795,
-0.4565017819404602,
0.2543811500072479,
-0.008492235094308853,
-0.03849480673670769,
-0.10601666569709778,
0.018557891249656677,
0.11705832183361053,
0.33236661553382874,
-0.13263121247291565,
0.20936015248298645,
0.45763519406318665,
-0.21734654903411865,
0.08260421454906464,
0.5954631567001343,
-0.37921151518821716,
0.4145752489566803,
0.20062756538391113,
-0.03755049780011177,
0.027997903525829315,
0.2834187150001526,
-0.26118898391723633,
0.28433704376220703,
-0.19783315062522888,
0.20905013382434845,
0.398857057094574,
-0.5043099522590637,
0.19754798710346222,
0.4071611166000366,
-0.2910754084587097,
0.3338256776332855,
0.09119673818349838,
0.007736146450042725,
0.03923986479640007,
0.006925902329385281,
-0.28166818618774414,
0.16228680312633514,
-0.11206502467393875,
0.05804743245244026,
-0.05966653302311897,
-0.3470989763736725,
-0.207838773727417,
0.21128271520137787,
0.050458647310733795,
0.08766016364097595,
-0.056961849331855774,
0.10353110730648041,
-0.16635538637638092,
-0.20323850214481354,
-0.2753565013408661,
0.14034515619277954,
0.15895280241966248,
-0.36317044496536255,
0.04919307678937912,
0.35031259059906006,
0.06237899139523506,
0.20399600267410278,
0.6723594069480896,
0.1997581571340561,
0.030389660969376564,
0.02605469897389412,
-0.009769643656909466,
-0.07553528249263763,
0.05840548872947693,
-0.010449838824570179,
0.03558515012264252,
0.21642030775547028,
0.10635155439376831,
0.23043474555015564,
0.01565045677125454,
-0.06757029891014099,
0.2633979320526123,
-0.144362211227417,
0.3157026469707489,
-0.6013078689575195,
0.249350905418396,
-0.0278562493622303,
-0.10357078909873962,
-0.025201648473739624,
-0.12192592769861221,
0.047566257417201996,
0.24103976786136627,
0.6271290183067322,
-0.2061227411031723,
0.03369385376572609,
-0.20361170172691345,
0.0038213934749364853,
0.3356039822101593,
0.41425591707229614,
0.18724307417869568,
-0.13267385959625244,
-0.15326523780822754,
-0.5704329013824463,
-0.860015332698822,
0.19938834011554718,
0.4184131324291229,
0.10945264995098114,
0.2321069836616516,
-0.12674999237060547,
0.05339696630835533,
-0.05791984498500824,
0.33100730180740356,
0.16479873657226562,
0.127616748213768,
-0.06888525187969208,
-0.17530690133571625,
0.18935245275497437,
-0.04402510076761246,
-0.07282953709363937,
-0.08108584582805634,
-0.17136205732822418,
0.2666679918766022,
-0.05761677399277687,
-0.06598582863807678,
-0.1007256880402565,
0.3946685194969177,
-0.2216847836971283,
0.13938869535923004,
0.23791144788265228,
0.17331691086292267,
0.3285651206970215,
-0.013094047084450722,
0.35334473848342896,
-0.08359144628047943,
0.13629236817359924,
-0.3058164417743683,
0.31360188126564026,
0.19600257277488708,
0.20492012798786163,
0.1318855732679367,
-0.324239581823349,
-0.19782771170139313,
-0.29295551776885986,
0.1992713212966919,
0.0011838850332424045,
-0.7379899621009827,
0.29252415895462036,
-0.3003261089324951,
-0.012698786333203316,
0.48655566573143005,
0.3843437135219574,
0.15174902975559235,
-0.09189952164888382,
-0.28645455837249756,
-0.10812549293041229,
0.26767778396606445,
-0.39112532138824463,
-0.38499513268470764,
-0.3518201410770416,
0.06036009266972542,
-0.18510180711746216,
-0.3397466242313385,
-0.7221487760543823,
-0.3904188275337219,
0.4339658319950104,
-0.12903600931167603,
0.07929682731628418,
0.27062875032424927,
0.1710887998342514,
-0.21643449366092682,
0.030803877860307693,
0.2522289752960205,
0.2878614366054535,
-0.19920757412910461,
0.05426850542426109,
-0.1912660002708435
] |
https://github.com/huggingface/datasets/issues/4671 | Dataset Viewer issue for wmt16 | Indeed, the above mentioned PR fixed the loading script (it was not working before).
I'm forcing the refresh of the Viewer. | ### Link
https://huggingface.co/datasets/wmt16
### Description
[Reported](https://huggingface.co/spaces/autoevaluate/model-evaluator/discussions/12#62cb83f14c7f35284e796f9c) by a user of AutoTrain Evaluate. AFAIK this dataset was working 1-2 weeks ago, and I'm not sure how to interpret this error.
```
Status code: 400
Exception: NotImplementedError
Message: This is a abstract method
```
Thanks!
### Owner
No | 21 | Dataset Viewer issue for wmt16
### Link
https://huggingface.co/datasets/wmt16
### Description
[Reported](https://huggingface.co/spaces/autoevaluate/model-evaluator/discussions/12#62cb83f14c7f35284e796f9c) by a user of AutoTrain Evaluate. AFAIK this dataset was working 1-2 weeks ago, and I'm not sure how to interpret this error.
```
Status code: 400
Exception: NotImplementedError
Message: This is a abstract method
```
Thanks!
### Owner
No
Indeed, the above mentioned PR fixed the loading script (it was not working before).
I'm forcing the refresh of the Viewer. | [
-0.5481163859367371,
-0.1526145339012146,
0.09161645174026489,
0.4051358103752136,
0.3586500883102417,
0.13037529587745667,
0.3291299343109131,
0.3309023976325989,
0.11468274891376495,
0.09130100905895233,
-0.1458551585674286,
0.16323576867580414,
-0.3421333134174347,
-0.045568861067295074,
0.21848338842391968,
0.00627024844288826,
-0.19235605001449585,
0.04284406080842018,
-0.2292236089706421,
0.1186722069978714,
-0.22986562550067902,
-0.058819256722927094,
-0.3343736529350281,
0.12492146342992783,
-0.02553064562380314,
0.08979115635156631,
-0.016452766954898834,
-0.22996032238006592,
0.0015892013907432556,
-0.30996173620224,
0.027834070846438408,
0.2912154495716095,
0.32711082696914673,
0.46783626079559326,
-0.00012514526315499097,
0.16526727378368378,
0.4451216459274292,
0.12043842673301697,
0.009371861815452576,
-0.04148265719413757,
-0.23233816027641296,
0.3132075369358063,
0.47485026717185974,
0.1731017827987671,
-0.14078441262245178,
0.10503062605857849,
0.13165226578712463,
-0.3817705512046814,
0.4563484787940979,
0.1678786277770996,
0.1133446991443634,
0.41783037781715393,
0.1285480558872223,
-0.06387312710285187,
-0.1375812292098999,
0.3256532549858093,
-0.09644254297018051,
0.09058377146720886,
-0.03430511802434921,
0.0635085329413414,
-0.4382689595222473,
0.20298561453819275,
0.10221131145954132,
0.19423916935920715,
0.29140159487724304,
-0.15512435138225555,
-0.13440781831741333,
-0.26757699251174927,
0.250492662191391,
0.2501941919326782,
0.5246319770812988,
0.09121319651603699,
-0.11304902285337448,
0.10392764955759048,
0.02228754758834839,
-0.12613795697689056,
0.2293914258480072,
0.022969413548707962,
-0.08489975333213806,
0.28404033184051514,
-0.38172006607055664,
0.05497320368885994,
-0.30855193734169006,
-0.08148880302906036,
-0.3519625961780548,
0.15058867633342743,
-0.3108007609844208,
0.22089457511901855,
0.4213818907737732,
-0.08187926560640335,
0.4648635685443878,
-0.13939781486988068,
0.0890810638666153,
0.18283143639564514,
-0.29981204867362976,
0.03320911526679993,
0.20150554180145264,
0.3426890969276428,
-0.15817859768867493,
0.2469799518585205,
0.09222368150949478,
0.291161447763443,
0.14188291132450104,
-0.036734387278556824,
0.33474013209342957,
0.18187497556209564,
-0.1404460072517395,
0.01223666686564684,
0.26035958528518677,
0.32172858715057373,
-0.11593057215213776,
-0.008183024823665619,
-0.27954384684562683,
-0.30650264024734497,
-0.07167030870914459,
-0.30953720211982727,
0.13387331366539001,
0.07227165997028351,
-0.5477797985076904,
0.14849941432476044,
-0.2618250548839569,
-0.26720741391181946,
0.1571533977985382,
0.22108528017997742,
-0.02128978818655014,
0.04264677315950394,
0.42926186323165894,
0.025425897911190987,
0.001719137653708458,
-0.4200515151023865,
-0.07354209572076797,
-0.10114037990570068,
-0.1871558278799057,
-0.17017950117588043,
0.10140879452228546,
-0.31293609738349915,
-0.12278537452220917,
0.02019638940691948,
-0.02982979267835617,
-0.2617776393890381,
-0.029208743944764137,
-0.20099741220474243,
0.05199351906776428,
0.21887190639972687,
0.20954746007919312,
-0.013572449795901775,
0.26908984780311584,
-0.04118352383375168,
0.1259951889514923,
0.18776865303516388,
0.09815177321434021,
-0.29252782464027405,
-0.00734383799135685,
0.12404779344797134,
-0.2796896696090698,
-0.08075423538684845,
0.045362621545791626,
0.19012010097503662,
-0.16804838180541992,
0.175992950797081,
-0.21909302473068237,
-0.24053062498569489,
-0.10921598970890045,
-0.04054237902164459,
0.35337987542152405,
0.7487189173698425,
-0.29197511076927185,
0.07484261691570282,
-0.9655755758285522,
-0.32062608003616333,
0.031158611178398132,
0.26977163553237915,
-0.07284117490053177,
0.346319317817688,
-0.3553691506385803,
0.24155618250370026,
0.3740907609462738,
0.08067743480205536,
-0.21956391632556915,
0.41648387908935547,
-0.057170670479536057,
0.22722314298152924,
-0.07958339899778366,
0.053655464202165604,
0.0770726278424263,
-0.019398190081119537,
0.36904922127723694,
-0.45745301246643066,
-0.011717395856976509,
-0.3997184932231903,
-0.0580240860581398,
-0.17357350885868073,
0.38218945264816284,
0.28703412413597107,
0.38477015495300293,
-0.028351038694381714,
0.246966153383255,
-0.128325417637825,
0.32783180475234985,
0.19797316193580627,
-0.09416446834802628,
-0.05205989629030228,
0.33756890892982483,
0.0059892237186431885,
-0.08684530854225159,
-0.06280729174613953,
-0.1789553463459015,
-0.027231210842728615,
0.33465683460235596,
-0.1318272352218628,
0.43775302171707153,
0.010494213551282883,
-0.15005221962928772,
0.23390378057956696,
-0.5133495330810547,
-0.23084279894828796,
0.03092244267463684,
-0.009265758097171783,
-0.42589685320854187,
-0.03575945645570755,
-0.26092952489852905,
-0.19930264353752136,
-0.14816489815711975,
-0.057597193866968155,
-0.05561501905322075,
-0.07177170366048813,
-0.10115943104028702,
0.007802584674209356,
-0.0234632957726717,
-0.07351120561361313,
-0.05116485059261322,
-0.1924884021282196,
-0.27693408727645874,
0.23746299743652344,
0.09015652537345886,
0.3536103367805481,
-0.1207115426659584,
0.09330527484416962,
-0.1275974065065384,
-0.6488344669342041,
-0.038235023617744446,
0.3636591136455536,
0.08590181171894073,
-0.09763965010643005,
0.02169366180896759,
0.13338425755500793,
0.1540360450744629,
0.022592976689338684,
0.15940448641777039,
0.21262887120246887,
0.28518176078796387,
0.1662571132183075,
-0.004641796462237835,
-0.3721539080142975,
0.2503116726875305,
0.13121795654296875,
0.3549063801765442,
0.027600890025496483,
-0.4421769678592682,
-0.0444503054022789,
0.10850735753774643,
0.1688976287841797,
0.0877116471529007,
0.36620768904685974,
-0.4542232155799866,
-0.07607775926589966,
-0.15223807096481323,
0.16439756751060486,
0.49624818563461304,
-0.03995439410209656,
-0.06586512923240662,
0.4061177670955658,
0.25190624594688416,
-0.13820473849773407,
0.3214150071144104,
0.32049161195755005,
0.1507072001695633,
0.2977321445941925,
-0.11335065960884094,
0.07134897261857986,
-0.3758680820465088,
0.1756877601146698,
0.03193546086549759,
0.3266897201538086,
-0.5865020155906677,
-0.15351007878780365,
-0.26771557331085205,
0.00841209664940834,
-0.47042739391326904,
-0.15785758197307587,
-0.04574962332844734,
-0.13060836493968964,
-0.09470100700855255,
0.32674896717071533,
-0.2907790243625641,
0.14544647932052612,
-0.18351545929908752,
0.19204843044281006,
-0.0864710658788681,
0.5193039774894714,
-0.09182409942150116,
0.058114808052778244,
-0.20595556497573853,
-0.02334776520729065,
0.5358977913856506,
-0.4807496964931488,
0.31679612398147583,
-0.2752268612384796,
0.3635757565498352,
-0.2495635449886322,
-0.5120698809623718,
0.1851898431777954,
-0.007240988314151764,
0.4220427870750427,
0.3046002686023712,
-0.07510785758495331,
-0.057287655770778656,
-0.2690686881542206,
0.18769904971122742,
-0.23389361798763275,
-0.044154368340969086,
0.069791778922081,
0.09832895547151566,
-0.050035133957862854,
-0.1307813823223114,
-0.352310448884964,
-0.07610629498958588,
-0.24601803719997406,
0.12223583459854126,
0.048809994012117386,
-0.08765621483325958,
0.06316477060317993,
-0.13967114686965942,
0.2754782736301422,
0.2692178785800934,
-0.14984773099422455,
-0.2780528664588928,
0.04435306414961815,
0.3351055085659027,
-0.12084836512804031,
-0.3130356967449188,
0.22570574283599854,
0.011339366436004639,
0.26987284421920776,
0.08162660896778107,
-0.4158440828323364,
0.21722978353500366,
0.11837056279182434,
-0.31295856833457947,
0.04320305585861206,
-0.296682208776474,
0.26971322298049927,
-0.03844517841935158,
0.0986781120300293,
-0.0819723904132843,
-0.18825623393058777,
0.2173556089401245,
-0.26548776030540466,
0.20452618598937988,
-0.24020010232925415,
0.7004714608192444,
0.04167615994811058,
0.39738160371780396,
0.27875664830207825,
-0.13719722628593445,
0.11403065919876099,
-0.25391867756843567,
0.14803007245063782,
-0.09469955414533615,
-0.32485058903694153,
0.06196865066885948,
-0.2644115090370178,
-0.09403829276561737,
0.36768263578414917,
-0.183517724275589,
-0.07948445528745651,
-0.157180517911911,
-0.014985233545303345,
-0.3567775785923004,
-0.30383673310279846,
0.129841148853302,
-0.16344371438026428,
0.3511875867843628,
0.161886066198349,
0.2920015752315521,
0.06304764747619629,
-0.20095670223236084,
0.05833568796515465,
0.4014982581138611,
0.21990245580673218,
-0.2768206000328064,
-0.06498275697231293,
-0.08261778205633163,
0.03140897676348686,
0.5320529341697693,
-0.11223148554563522,
0.5045329928398132,
-0.06696344166994095,
-0.2292792797088623,
0.22969065606594086,
-0.15940146148204803,
0.5187267065048218,
-0.08035847544670105,
0.26090437173843384,
0.1375952959060669,
-0.32186436653137207,
-0.4954657256603241,
-0.1300993412733078,
-0.33920854330062866,
-0.41780897974967957,
0.0855010449886322,
0.11556516587734222,
-0.14854605495929718,
-0.22074274718761444,
0.5519150495529175,
-0.27560457587242126,
-0.3920068144798279,
-0.22627286612987518,
-0.10395656526088715,
-0.012162305414676666,
-0.13700450956821442,
-0.09099636226892471,
-0.07615254819393158,
-0.12401915341615677,
-0.10235919058322906,
0.07078807055950165,
-0.2207762748003006,
-0.13840201497077942,
0.3617064356803894,
0.16129426658153534,
0.18973419070243835,
0.04824167117476463,
0.22384822368621826,
0.41353094577789307,
0.10664467513561249,
0.3822852671146393,
0.13866853713989258,
-0.15468142926692963,
-0.39352279901504517,
0.4106929302215576,
-0.20077627897262573,
0.33237138390541077,
0.17641496658325195,
-0.2026776522397995,
0.08352632820606232,
0.3248058557510376,
0.12872476875782013,
-0.6212624907493591,
0.34466978907585144,
0.5791820287704468,
0.057448193430900574,
-0.12638209760189056,
-0.40965089201927185,
0.262533575296402,
0.013069402426481247,
-0.14550147950649261,
0.13114288449287415,
0.18914128839969635,
-0.09814076870679855,
-0.2363649308681488,
0.27987170219421387,
0.8592329621315002,
0.0901646539568901,
-0.09733223915100098,
0.2642841637134552,
-0.2276175618171692,
-0.31921014189720154,
0.29083091020584106,
0.12449899315834045,
-0.500127911567688,
0.01785486564040184,
-0.21495965123176575,
-0.20884676277637482,
0.350137859582901,
-0.043302021920681,
-0.19561922550201416,
-0.031652212142944336,
-0.15712770819664001,
0.6637009382247925,
0.27368244528770447,
-0.024563129991292953,
-0.21437224745750427,
0.17578350007534027,
0.00005456060171127319,
0.029735680669546127,
-0.10190591216087341,
0.29435640573501587,
-0.2317310869693756,
-0.2227480709552765,
0.35841572284698486,
-0.1148846223950386,
-0.43252408504486084,
0.12404239922761917,
-0.3090822398662567,
0.2270771563053131,
0.08264300972223282,
-0.07814779132604599,
0.7343384027481079,
0.0029591768980026245,
0.0829213336110115,
0.15183031558990479,
-0.3090672791004181,
0.09581220149993896,
-0.3125683069229126,
0.11290629953145981,
0.14375606179237366,
0.06218816339969635,
0.2732461094856262,
-0.11573236435651779,
-0.08963821828365326,
-0.012583859264850616,
-0.0015308037400245667,
-0.10476506501436234,
0.03962460160255432,
0.005390971899032593,
0.4739159941673279,
-0.4337574243545532,
-0.2523692548274994,
-0.1603427529335022,
-0.13815250992774963,
-0.13258136808872223,
0.030785374343395233,
-0.15590286254882812,
-0.03358137607574463,
0.0942964181303978,
0.09264935553073883,
-0.0028980672359466553,
0.138914093375206,
0.33159640431404114,
-0.09191567450761795,
0.10701516270637512,
0.4604414701461792,
0.09790538251399994,
-0.19383366405963898,
-0.30814385414123535,
0.05341794341802597,
0.274753600358963,
-0.43970024585723877,
0.1937095671892166,
-0.03404659405350685,
0.19231997430324554,
0.21458788216114044,
0.10211387276649475,
0.08954247832298279,
-0.20284608006477356,
-0.27595844864845276,
-0.2965104281902313,
-0.30998772382736206,
-0.0773189514875412,
-0.21954892575740814,
0.07663701474666595,
-0.08775119483470917,
0.4580516815185547,
0.15346375107765198,
0.06338941305875778,
-0.20026597380638123,
0.0056382156908512115,
0.03165314346551895,
-0.1499015837907791,
0.14427483081817627,
-0.07936318963766098,
-0.0703558549284935,
0.05818720534443855,
-0.03794883191585541,
0.33990806341171265,
-0.5446891188621521,
-0.03693053871393204,
-0.06473568081855774,
0.19276073575019836,
-0.010262880474328995,
-0.29026418924331665,
0.23997777700424194,
-0.0823144018650055,
-0.37026962637901306,
0.13662265241146088,
-0.12325732409954071,
-0.1339794099330902,
-0.08038072288036346,
-0.08290597796440125,
0.09954513609409332,
0.010320018976926804,
-0.28656288981437683,
-0.06986813992261887,
-0.08638666570186615,
0.42187732458114624,
-0.021333618089556694,
-0.12953023612499237,
0.021843213587999344,
-0.06465263664722443,
0.06754415482282639,
0.2347661852836609,
0.3912520408630371,
0.04036189988255501,
0.2927992641925812,
-0.24089406430721283,
0.11823068559169769,
-0.14804287254810333,
0.27834153175354004,
0.48427385091781616,
-0.162576362490654,
-0.1613210141658783,
0.008036751300096512,
0.025915948674082756,
-0.4528850018978119,
0.20411039888858795,
-0.02983507141470909,
0.014202229678630829,
-0.13077613711357117,
0.01619536429643631,
0.09860144555568695,
0.23310455679893494,
-0.07442769408226013,
0.18270054459571838,
0.511177122592926,
-0.17550067603588104,
0.07939714193344116,
0.48698773980140686,
-0.3484269082546234,
0.3693702816963196,
0.11897828429937363,
-0.009696267545223236,
0.02085041254758835,
0.30686408281326294,
-0.25798946619033813,
0.2414485365152359,
-0.21512115001678467,
0.2034980207681656,
0.27864131331443787,
-0.5906884074211121,
0.19124504923820496,
0.4390117824077606,
-0.30649006366729736,
0.3522190451622009,
0.15403534471988678,
0.057770226150751114,
0.03651730343699455,
0.051336877048015594,
-0.35289934277534485,
0.1215689480304718,
-0.12627437710762024,
0.01110481284558773,
-0.11436283588409424,
-0.33191147446632385,
-0.16981838643550873,
0.2686508893966675,
-0.005259644240140915,
0.17267769575119019,
-0.10143139958381653,
0.18799948692321777,
-0.18913744390010834,
-0.11518946290016174,
-0.27773815393447876,
0.12787380814552307,
0.14361873269081116,
-0.31789374351501465,
0.09790041297674179,
0.3999074101448059,
0.11580292880535126,
0.2630566954612732,
0.5414538383483887,
0.19515205919742584,
0.08136709034442902,
0.052610307931900024,
-0.0034348666667938232,
-0.07767467200756073,
0.08587832748889923,
-0.00548157375305891,
0.03294197469949722,
0.201065793633461,
0.17277902364730835,
0.2385454922914505,
0.02036849968135357,
-0.04858866333961487,
0.19129864871501923,
-0.08137404918670654,
0.32805806398391724,
-0.5525555610656738,
0.21388591825962067,
-0.043096356093883514,
-0.07985977828502655,
-0.14937791228294373,
-0.06951455026865005,
-0.018531210720539093,
0.2606964111328125,
0.5969511866569519,
-0.14293521642684937,
-0.031774066388607025,
-0.21952608227729797,
-0.0013471469283103943,
0.30463284254074097,
0.5053725242614746,
0.17102670669555664,
-0.1638205349445343,
-0.1884823441505432,
-0.5585741996765137,
-0.8916815519332886,
0.22269251942634583,
0.4875216484069824,
0.19712397456169128,
0.24057939648628235,
-0.09925451129674911,
0.03726896643638611,
-0.16685736179351807,
0.3419957160949707,
0.10724831372499466,
0.14917851984500885,
-0.11911420524120331,
-0.12771651148796082,
0.11443163454532623,
-0.07736292481422424,
0.00775578897446394,
-0.10586977005004883,
-0.1792328953742981,
0.2394346445798874,
-0.21194474399089813,
-0.06871316581964493,
-0.10418917238712311,
0.338920921087265,
-0.2456481158733368,
0.11454322189092636,
0.3280060291290283,
0.08581460267305374,
0.3642999827861786,
-0.0023393742740154266,
0.30299898982048035,
-0.14943520724773407,
0.09663183242082596,
-0.24171555042266846,
0.31247514486312866,
0.24377812445163727,
0.22525626420974731,
0.10569961369037628,
-0.30607494711875916,
-0.28292757272720337,
-0.2088857740163803,
0.13759703934192657,
-0.04565194994211197,
-0.7518627643585205,
0.26566335558891296,
-0.2853008210659027,
0.008428022265434265,
0.44830721616744995,
0.3906491696834564,
0.11986545473337173,
-0.04191158711910248,
-0.3028240203857422,
-0.08634074032306671,
0.38606375455856323,
-0.34318333864212036,
-0.42538967728614807,
-0.3291914165019989,
0.05306001007556915,
-0.27921050786972046,
-0.342565655708313,
-0.7414987683296204,
-0.29085612297058105,
0.3348669707775116,
-0.07746214419603348,
0.040857527405023575,
0.2878318130970001,
0.06200948730111122,
-0.19797898828983307,
0.012921761721372604,
0.2850147485733032,
0.37884286046028137,
-0.12148478627204895,
-0.06047433614730835,
-0.16514965891838074
] |
https://github.com/huggingface/datasets/issues/4671 | Dataset Viewer issue for wmt16 | Please note that the above mentioned PR also made an enhancement in the `datasets` library, required by this loading script. This enhancement will only be available to the Viewer once we make our next release. | ### Link
https://huggingface.co/datasets/wmt16
### Description
[Reported](https://huggingface.co/spaces/autoevaluate/model-evaluator/discussions/12#62cb83f14c7f35284e796f9c) by a user of AutoTrain Evaluate. AFAIK this dataset was working 1-2 weeks ago, and I'm not sure how to interpret this error.
```
Status code: 400
Exception: NotImplementedError
Message: This is a abstract method
```
Thanks!
### Owner
No | 35 | Dataset Viewer issue for wmt16
### Link
https://huggingface.co/datasets/wmt16
### Description
[Reported](https://huggingface.co/spaces/autoevaluate/model-evaluator/discussions/12#62cb83f14c7f35284e796f9c) by a user of AutoTrain Evaluate. AFAIK this dataset was working 1-2 weeks ago, and I'm not sure how to interpret this error.
```
Status code: 400
Exception: NotImplementedError
Message: This is a abstract method
```
Thanks!
### Owner
No
Please note that the above mentioned PR also made an enhancement in the `datasets` library, required by this loading script. This enhancement will only be available to the Viewer once we make our next release. | [
-0.5487927794456482,
-0.11475752294063568,
0.06637750566005707,
0.440825879573822,
0.31966692209243774,
0.1831657886505127,
0.3163139522075653,
0.2971523106098175,
0.015588339418172836,
0.11532560735940933,
-0.1821899563074112,
0.17964889109134674,
-0.3704938292503357,
-0.10303160548210144,
0.13039591908454895,
-0.011193044483661652,
-0.17764315009117126,
0.03634488582611084,
-0.18381431698799133,
0.0899769514799118,
-0.2339840829372406,
-0.10182248800992966,
-0.32283374667167664,
0.13909253478050232,
-0.08412493020296097,
-0.04196753352880478,
-0.049013711512088776,
-0.3146168291568756,
-0.10047965496778488,
-0.26272064447402954,
0.031168771907687187,
0.2927553057670593,
0.2830882966518402,
0.4745281934738159,
-0.00012586446246132255,
0.1557474434375763,
0.39651644229888916,
0.17077970504760742,
-0.011867399327456951,
-0.05408501625061035,
-0.34843510389328003,
0.2711791396141052,
0.43933627009391785,
0.15061360597610474,
-0.1197238489985466,
0.05864720419049263,
0.08979858458042145,
-0.40821003913879395,
0.4372056722640991,
0.18880179524421692,
0.11435627937316895,
0.4090005159378052,
0.17641955614089966,
-0.07567187398672104,
-0.11864753812551498,
0.37252336740493774,
-0.14283154904842377,
0.015837261453270912,
-0.09127549827098846,
0.0953110009431839,
-0.37756797671318054,
0.24172240495681763,
0.14131763577461243,
0.23797902464866638,
0.2532712519168854,
-0.13509322702884674,
-0.1712247133255005,
-0.24429413676261902,
0.2388991117477417,
0.27120691537857056,
0.527083694934845,
0.07510316371917725,
-0.19368919730186462,
0.08621261268854141,
0.02121010795235634,
-0.15491317212581635,
0.22944289445877075,
0.023430250585079193,
-0.07478579878807068,
0.27100831270217896,
-0.36179429292678833,
-0.008833441883325577,
-0.36707353591918945,
-0.05367017537355423,
-0.37609753012657166,
0.15966835618019104,
-0.3235951066017151,
0.21979069709777832,
0.42565828561782837,
-0.07752783596515656,
0.47285449504852295,
-0.1778123676776886,
0.13853423297405243,
0.142988383769989,
-0.3529198467731476,
-0.006940420717000961,
0.1945793181657791,
0.33934274315834045,
-0.15342926979064941,
0.21719279885292053,
-0.0355709008872509,
0.2336428165435791,
0.14140327274799347,
-0.0003994293510913849,
0.338763028383255,
0.09506723284721375,
-0.12810131907463074,
0.06651444733142853,
0.2863462567329407,
0.18830090761184692,
-0.08337965607643127,
-0.02993886172771454,
-0.23966331779956818,
-0.2691459357738495,
-0.0819711834192276,
-0.35916152596473694,
0.1458641141653061,
0.049794044345617294,
-0.5615048408508301,
0.14520950615406036,
-0.3492427170276642,
-0.2547224462032318,
0.19635680317878723,
0.13921266794204712,
-0.020136944949626923,
-0.010235235095024109,
0.36627256870269775,
0.04028666019439697,
0.01225772500038147,
-0.42550551891326904,
-0.08642327785491943,
-0.10958877205848694,
-0.15413758158683777,
-0.2009355127811432,
0.024906639009714127,
-0.31022733449935913,
-0.14873069524765015,
0.0005164351314306259,
-0.038351356983184814,
-0.23940131068229675,
-0.0035172607749700546,
-0.25489315390586853,
0.03864196315407753,
0.21190278232097626,
0.1647680699825287,
-0.010037843137979507,
0.26374325156211853,
-0.05388530716300011,
0.10500463098287582,
0.08646905422210693,
0.1484958380460739,
-0.2999784052371979,
-0.09603102505207062,
0.11496372520923615,
-0.32380950450897217,
-0.04641645401716232,
0.03829999268054962,
0.23044602572917938,
-0.14212694764137268,
0.20405066013336182,
-0.18560782074928284,
-0.1953538954257965,
-0.06314504891633987,
-0.020576419308781624,
0.3103048801422119,
0.6863839030265808,
-0.2589532136917114,
0.13714531064033508,
-0.9898723363876343,
-0.3392622768878937,
0.07583411037921906,
0.2920909821987152,
-0.02926638536155224,
0.36490902304649353,
-0.2933046221733093,
0.278316855430603,
0.41825780272483826,
0.17302294075489044,
-0.29853156208992004,
0.3634345233440399,
-0.012620322406291962,
0.14141841232776642,
-0.09212150424718857,
0.05877672880887985,
0.03319460153579712,
0.0011225028429180384,
0.3708500266075134,
-0.49382251501083374,
-0.09039659053087234,
-0.4593028426170349,
-0.09480608999729156,
-0.1774974912405014,
0.42672592401504517,
0.25434717535972595,
0.38108348846435547,
-0.0173499658703804,
0.2603328824043274,
-0.038002029061317444,
0.25032639503479004,
0.205054372549057,
-0.04796777665615082,
-0.05708301067352295,
0.4421589970588684,
-0.05094263702630997,
-0.1868913322687149,
-0.12836694717407227,
-0.1120627149939537,
-0.039150454103946686,
0.3843565285205841,
-0.07033015042543411,
0.38502734899520874,
-0.02749277651309967,
-0.09846358001232147,
0.25967854261398315,
-0.5068334937095642,
-0.23625057935714722,
0.039877407252788544,
0.00024406611919403076,
-0.3821942210197449,
-0.04366643726825714,
-0.21462155878543854,
-0.17571766674518585,
-0.19853168725967407,
-0.054151490330696106,
-0.018761448562145233,
-0.05680094659328461,
-0.09785286337137222,
0.041087135672569275,
-0.01904992386698723,
-0.038619473576545715,
-0.05080568790435791,
-0.17474767565727234,
-0.3178457021713257,
0.2689908444881439,
0.06963662058115005,
0.29325544834136963,
-0.05413932353258133,
0.155192032456398,
-0.10463383048772812,
-0.6735084056854248,
-0.09143888205289841,
0.30008646845817566,
0.06248465180397034,
-0.06460976600646973,
0.0228661447763443,
0.08970286697149277,
0.17201630771160126,
0.005876913666725159,
0.12078142166137695,
0.28718268871307373,
0.2715960144996643,
0.22736415266990662,
0.01852867566049099,
-0.37451452016830444,
0.208433136343956,
0.0658598393201828,
0.3579901456832886,
0.05385800078511238,
-0.43818655610084534,
-0.030510373413562775,
0.13332599401474,
0.21809880435466766,
0.09874734282493591,
0.3236030638217926,
-0.44549310207366943,
-0.0861632227897644,
-0.0841316282749176,
0.24432016909122467,
0.47115468978881836,
-0.02846219763159752,
0.007766548544168472,
0.43632739782333374,
0.18786320090293884,
-0.07505340874195099,
0.3027079105377197,
0.39339679479599,
0.14452970027923584,
0.2268170416355133,
-0.08055032044649124,
0.09994272142648697,
-0.35521405935287476,
0.1949033886194229,
0.04502712935209274,
0.41631489992141724,
-0.5214921236038208,
-0.16990883648395538,
-0.3073553442955017,
-0.03162179887294769,
-0.42225199937820435,
-0.19501249492168427,
-0.11543232202529907,
-0.17438457906246185,
-0.07182452827692032,
0.25949418544769287,
-0.23914973437786102,
0.10498069226741791,
-0.18612642586231232,
0.21636322140693665,
-0.08460092544555664,
0.5263909697532654,
-0.08225604891777039,
0.07761072367429733,
-0.19912183284759521,
-0.004184402525424957,
0.5159031748771667,
-0.4388476014137268,
0.37033581733703613,
-0.22040095925331116,
0.40237879753112793,
-0.297312468290329,
-0.5513362884521484,
0.18534332513809204,
-0.010665416717529297,
0.4465957283973694,
0.352357417345047,
-0.10808368027210236,
-0.10813950002193451,
-0.2732181251049042,
0.18525384366512299,
-0.21633487939834595,
-0.07791125774383545,
0.02706342563033104,
0.0459393635392189,
-0.00031830527586862445,
-0.08662262558937073,
-0.3523405194282532,
-0.12349698692560196,
-0.25494301319122314,
0.1622237116098404,
-0.014382550492882729,
-0.08819086849689484,
0.11698419600725174,
-0.17734965682029724,
0.34045904874801636,
0.28771671652793884,
-0.16232973337173462,
-0.3360844552516937,
0.008940499275922775,
0.31437474489212036,
-0.1111602634191513,
-0.26162680983543396,
0.20473021268844604,
-0.009897006675601006,
0.28111007809638977,
0.12177308648824692,
-0.3850628137588501,
0.19084399938583374,
0.08781968802213669,
-0.2505068778991699,
0.019548462703824043,
-0.25914594531059265,
0.3280976712703705,
-0.04460412263870239,
0.10322585701942444,
-0.0926322489976883,
-0.20746563374996185,
0.23004433512687683,
-0.19863027334213257,
0.282283216714859,
-0.27031365036964417,
0.6455212831497192,
0.12060986459255219,
0.4346439242362976,
0.31294071674346924,
-0.1382492184638977,
0.11818917840719223,
-0.26122647523880005,
0.14772123098373413,
-0.03547462821006775,
-0.32180848717689514,
0.12814199924468994,
-0.24073198437690735,
-0.13139137625694275,
0.32930418848991394,
-0.11962931603193283,
-0.07189665734767914,
-0.12583625316619873,
0.01725975051522255,
-0.39238062500953674,
-0.31165483593940735,
0.06093145161867142,
-0.13108915090560913,
0.4060570001602173,
0.15914244949817657,
0.26102137565612793,
0.07632938027381897,
-0.15005436539649963,
0.006823668256402016,
0.3882238268852234,
0.1735897958278656,
-0.27158090472221375,
-0.10658769309520721,
-0.08877089619636536,
0.061083029955625534,
0.5291853547096252,
-0.09932692348957062,
0.5632842183113098,
-0.07756675779819489,
-0.1767059862613678,
0.21789918839931488,
-0.12005066126585007,
0.4791780114173889,
-0.16987238824367523,
0.13378235697746277,
0.13503554463386536,
-0.26747965812683105,
-0.47438710927963257,
-0.08699189126491547,
-0.3783586025238037,
-0.3876819312572479,
0.09216494858264923,
0.11958114802837372,
-0.14765578508377075,
-0.23930023610591888,
0.567415714263916,
-0.26700159907341003,
-0.3138347864151001,
-0.17025938630104065,
-0.020475341007113457,
-0.04957696795463562,
-0.06361137330532074,
-0.021211594343185425,
-0.0703883171081543,
-0.09741776436567307,
-0.06260562688112259,
0.10312765836715698,
-0.24151401221752167,
-0.13229545950889587,
0.3990834355354309,
0.17152369022369385,
0.1782931089401245,
0.013764401897788048,
0.22322285175323486,
0.4188995957374573,
0.07465174049139023,
0.46479281783103943,
0.1374061107635498,
-0.19263863563537598,
-0.38297516107559204,
0.3977454900741577,
-0.2217431217432022,
0.36781951785087585,
0.1331864297389984,
-0.25791898369789124,
0.1892780214548111,
0.2911152243614197,
0.13229796290397644,
-0.5614396929740906,
0.36554425954818726,
0.5951036214828491,
0.08536375313997269,
-0.1462903618812561,
-0.3957809805870056,
0.27631279826164246,
0.07000632584095001,
-0.14173611998558044,
0.19380950927734375,
0.2615492343902588,
-0.05917965620756149,
-0.2745811939239502,
0.2883412837982178,
0.8656036257743835,
0.13360458612442017,
-0.18751458823680878,
0.17203474044799805,
-0.2607766389846802,
-0.1662023365497589,
0.27873921394348145,
0.11777786910533905,
-0.41149669885635376,
0.02798011526465416,
-0.2417398989200592,
-0.18987035751342773,
0.45082032680511475,
-0.06464842706918716,
-0.16361026465892792,
-0.12155048549175262,
-0.12043625861406326,
0.6679912805557251,
0.2929542064666748,
-0.04191943630576134,
-0.2361365556716919,
0.18269282579421997,
-0.008521609008312225,
0.04342406988143921,
-0.1392301321029663,
0.28608256578445435,
-0.2007226049900055,
-0.2315451055765152,
0.31192252039909363,
-0.09614945948123932,
-0.4968942403793335,
0.025112181901931763,
-0.32684141397476196,
0.19269521534442902,
0.11069788038730621,
-0.12284199893474579,
0.8092038035392761,
-0.01552114263176918,
0.13733536005020142,
0.18306703865528107,
-0.34450897574424744,
0.017665771767497063,
-0.346549391746521,
0.14520207047462463,
0.14457125961780548,
0.05297297611832619,
0.23957465589046478,
-0.13909980654716492,
-0.11532016843557358,
-0.030901163816452026,
0.008656355552375317,
-0.17599451541900635,
0.03688053786754608,
-0.0518324077129364,
0.45350074768066406,
-0.40229111909866333,
-0.15878942608833313,
-0.16688287258148193,
-0.14295853674411774,
-0.18632113933563232,
0.026024311780929565,
-0.12747648358345032,
-0.06531570851802826,
0.1195332407951355,
0.029766622930765152,
0.03350380063056946,
0.13164661824703217,
0.27036020159721375,
-0.08767916262149811,
0.15678483247756958,
0.388191282749176,
0.045755449682474136,
-0.21188507974147797,
-0.30541253089904785,
0.06437998265028,
0.23548966646194458,
-0.3594934642314911,
0.160465270280838,
-0.11029527336359024,
0.2461795061826706,
0.21959379315376282,
0.09264698624610901,
0.12248757481575012,
-0.15425890684127808,
-0.27706459164619446,
-0.27735191583633423,
-0.35436123609542847,
-0.07713446021080017,
-0.26702964305877686,
0.12098777294158936,
-0.14209747314453125,
0.46301665902137756,
0.14173278212547302,
0.08985824137926102,
-0.19064584374427795,
-0.009389293380081654,
-0.06997402757406235,
-0.12115365266799927,
0.12154355645179749,
-0.07243229448795319,
-0.051210545003414154,
0.00386643223464489,
-0.042981378734111786,
0.3690796494483948,
-0.5921093225479126,
-0.025925181806087494,
-0.08543114364147186,
0.203562393784523,
0.04342450201511383,
-0.30489587783813477,
0.2957400381565094,
-0.051107972860336304,
-0.3888852298259735,
0.19537200033664703,
-0.14335112273693085,
-0.12135998159646988,
-0.06722354888916016,
-0.011099358089268208,
0.0811908096075058,
0.04463457316160202,
-0.3068891167640686,
-0.1432766169309616,
-0.005353376269340515,
0.37169891595840454,
0.03542696684598923,
-0.09655584394931793,
0.1010836809873581,
-0.08067120611667633,
0.04931541904807091,
0.17918261885643005,
0.32585054636001587,
-0.05746462196111679,
0.2757432162761688,
-0.23535047471523285,
0.12798526883125305,
-0.09775875508785248,
0.3177723288536072,
0.484569787979126,
-0.07401680946350098,
-0.12948310375213623,
0.042364880442619324,
0.017941564321517944,
-0.43776220083236694,
0.20760829746723175,
-0.0052019041031599045,
0.0388130322098732,
-0.07961287349462509,
0.024436339735984802,
0.13141216337680817,
0.30381646752357483,
-0.09429886937141418,
0.15031135082244873,
0.44880983233451843,
-0.2097761631011963,
0.11632831394672394,
0.5824944972991943,
-0.3430425226688385,
0.39132359623908997,
0.17693495750427246,
-0.030424512922763824,
-0.00017829984426498413,
0.3361247181892395,
-0.25989973545074463,
0.30536288022994995,
-0.1817888617515564,
0.18433043360710144,
0.3623296320438385,
-0.534466028213501,
0.2142695188522339,
0.39926010370254517,
-0.2606649100780487,
0.32576310634613037,
0.065778449177742,
0.05589579790830612,
-0.01947995275259018,
0.049185894429683685,
-0.296661376953125,
0.06867136061191559,
-0.10363484174013138,
0.024705100804567337,
-0.09570428729057312,
-0.3477008044719696,
-0.14711274206638336,
0.19301116466522217,
0.014377333223819733,
0.07720476388931274,
-0.049445465207099915,
0.11717511713504791,
-0.1639840453863144,
-0.22242949903011322,
-0.26928991079330444,
0.14124470949172974,
0.13764356076717377,
-0.31423065066337585,
0.040210261940956116,
0.3446522057056427,
0.06965624541044235,
0.20949634909629822,
0.6242183446884155,
0.2047436535358429,
0.043974921107292175,
0.07856256514787674,
0.0027328352443873882,
-0.10409039258956909,
0.048745959997177124,
0.016202464699745178,
0.06942247599363327,
0.20513126254081726,
0.1329539567232132,
0.24006666243076324,
-0.0019421260803937912,
-0.04392934963107109,
0.23014362156391144,
-0.14434467256069183,
0.32657960057258606,
-0.5841418504714966,
0.23075756430625916,
-0.05531112104654312,
-0.11098223924636841,
-0.07566147297620773,
-0.069259874522686,
0.04253452271223068,
0.21754974126815796,
0.6662667989730835,
-0.15704695880413055,
-0.036409225314855576,
-0.22687670588493347,
-0.0077309440821409225,
0.2952542304992676,
0.4489049017429352,
0.20748978853225708,
-0.12536707520484924,
-0.16307730972766876,
-0.5654655694961548,
-0.8654473423957825,
0.2239166498184204,
0.42175984382629395,
0.19824737310409546,
0.24804148077964783,
-0.09133196622133255,
0.05505266785621643,
-0.08669394999742508,
0.35706818103790283,
0.1219143271446228,
0.13679952919483185,
-0.10058902204036713,
-0.14775434136390686,
0.12163075804710388,
-0.043727174401283264,
-0.0793503075838089,
-0.08646935969591141,
-0.1478424370288849,
0.23169727623462677,
-0.10138249397277832,
-0.10089625418186188,
-0.14721183478832245,
0.3831116855144501,
-0.2138519287109375,
0.1335316002368927,
0.2946210503578186,
0.1706504076719284,
0.3529118001461029,
0.00425252690911293,
0.30966463685035706,
-0.14088882505893707,
0.13559409976005554,
-0.2689438760280609,
0.31403636932373047,
0.1954614222049713,
0.2647956311702728,
0.09808111935853958,
-0.30610305070877075,
-0.2582175135612488,
-0.22412508726119995,
0.17243975400924683,
0.001799953170120716,
-0.7462827563285828,
0.3286980986595154,
-0.3228703737258911,
-0.01395326480269432,
0.49154338240623474,
0.3432390093803406,
0.14798703789710999,
-0.0695485770702362,
-0.3155634105205536,
-0.07636038959026337,
0.32912540435791016,
-0.3523537814617157,
-0.4301895797252655,
-0.3156222999095917,
0.052211858332157135,
-0.1585792601108551,
-0.3658435046672821,
-0.7659546136856079,
-0.3835345208644867,
0.41163578629493713,
-0.11384200304746628,
0.08539307117462158,
0.3063572943210602,
0.12782151997089386,
-0.14415720105171204,
0.03608124330639839,
0.30649054050445557,
0.2920536398887634,
-0.1595437377691269,
0.045475173741579056,
-0.19019387662410736
] |
https://github.com/huggingface/datasets/issues/4670 | Can't extract files from `.7z` zipfile using `download_and_extract` | Hi @bhavitvyamalik, thanks for reporting.
Yes, currently we do not support 7zip archive compression: I think we should.
As a workaround, you could uncompress it explicitly, like done in e.g. `samsum` dataset:
https://github.com/huggingface/datasets/blob/fedf891a08bfc77041d575fad6c26091bc0fce52/datasets/samsum/samsum.py#L106-L110
| ## Describe the bug
I'm adding a new dataset which is a `.7z` zip file in Google drive and contains 3 json files inside. I'm able to download the data files using `download_and_extract` but after downloading it throws this error:
```
>>> dataset = load_dataset("./datasets/mantis/")
Using custom data configuration default
Downloading and preparing dataset mantis/default to /Users/bhavitvyamalik/.cache/huggingface/datasets/mantis/default/1.1.0/611affa804ec53e2055a335cc1b8b213bb5a0b5142d919967729d5ee23c6bab4...
Downloading data: 100%|█████████████████████████████████████████████████████████| 77.2M/77.2M [00:23<00:00, 3.28MB/s]
/Users/bhavitvyamalik/.cache/huggingface/datasets/downloads/fc3d70123c9de8407587a59aa426c37819cf2bf016795d33270e8a1d558a34e6
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/bhavitvyamalik/Desktop/work/hf/datasets/src/datasets/load.py", line 1745, in load_dataset
use_auth_token=use_auth_token,
File "/Users/bhavitvyamalik/Desktop/work/hf/datasets/src/datasets/builder.py", line 595, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/Users/bhavitvyamalik/Desktop/work/hf/datasets/src/datasets/builder.py", line 690, in _download_and_prepare
) from None
OSError: Cannot find data file.
Original error:
[Errno 20] Not a directory: '/Users/bhavitvyamalik/.cache/huggingface/datasets/downloads/fc3d70123c9de8407587a59aa426c37819cf2bf016795d33270e8a1d558a34e6/merged_train.json'
```
just before generating the splits. I checked `fc3d70123c9de8407587a59aa426c37819cf2bf016795d33270e8a1d558a34e6` file and it's `7z` zip file (similar to downloaded Google drive file) which means it didn't get unzip. Do I need to unzip it separately and then pass the paths for train,dev,test files in `SplitGenerator`?
## Environment info
- `datasets` version: 1.18.4.dev0
- Platform: Darwin-19.6.0-x86_64-i386-64bit
- Python version: 3.7.8
- PyArrow version: 5.0.0 | 33 | Can't extract files from `.7z` zipfile using `download_and_extract`
## Describe the bug
I'm adding a new dataset which is a `.7z` zip file in Google drive and contains 3 json files inside. I'm able to download the data files using `download_and_extract` but after downloading it throws this error:
```
>>> dataset = load_dataset("./datasets/mantis/")
Using custom data configuration default
Downloading and preparing dataset mantis/default to /Users/bhavitvyamalik/.cache/huggingface/datasets/mantis/default/1.1.0/611affa804ec53e2055a335cc1b8b213bb5a0b5142d919967729d5ee23c6bab4...
Downloading data: 100%|█████████████████████████████████████████████████████████| 77.2M/77.2M [00:23<00:00, 3.28MB/s]
/Users/bhavitvyamalik/.cache/huggingface/datasets/downloads/fc3d70123c9de8407587a59aa426c37819cf2bf016795d33270e8a1d558a34e6
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/bhavitvyamalik/Desktop/work/hf/datasets/src/datasets/load.py", line 1745, in load_dataset
use_auth_token=use_auth_token,
File "/Users/bhavitvyamalik/Desktop/work/hf/datasets/src/datasets/builder.py", line 595, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/Users/bhavitvyamalik/Desktop/work/hf/datasets/src/datasets/builder.py", line 690, in _download_and_prepare
) from None
OSError: Cannot find data file.
Original error:
[Errno 20] Not a directory: '/Users/bhavitvyamalik/.cache/huggingface/datasets/downloads/fc3d70123c9de8407587a59aa426c37819cf2bf016795d33270e8a1d558a34e6/merged_train.json'
```
just before generating the splits. I checked `fc3d70123c9de8407587a59aa426c37819cf2bf016795d33270e8a1d558a34e6` file and it's `7z` zip file (similar to downloaded Google drive file) which means it didn't get unzip. Do I need to unzip it separately and then pass the paths for train,dev,test files in `SplitGenerator`?
## Environment info
- `datasets` version: 1.18.4.dev0
- Platform: Darwin-19.6.0-x86_64-i386-64bit
- Python version: 3.7.8
- PyArrow version: 5.0.0
Hi @bhavitvyamalik, thanks for reporting.
Yes, currently we do not support 7zip archive compression: I think we should.
As a workaround, you could uncompress it explicitly, like done in e.g. `samsum` dataset:
https://github.com/huggingface/datasets/blob/fedf891a08bfc77041d575fad6c26091bc0fce52/datasets/samsum/samsum.py#L106-L110
| [
-0.30092987418174744,
-0.22019773721694946,
-0.0685814917087555,
0.5899444222450256,
0.024326421320438385,
0.0799030289053917,
-0.002087540924549103,
0.3769165277481079,
0.3110101819038391,
0.020652778446674347,
-0.0629303827881813,
0.23239123821258545,
0.18731090426445007,
0.13828010857105255,
-0.26686403155326843,
-0.251372754573822,
-0.16699069738388062,
0.03009846806526184,
0.26443472504615784,
0.04549180716276169,
-0.38693344593048096,
0.4558520019054413,
-0.1293438971042633,
-0.12937182188034058,
0.19577378034591675,
-0.2902817130088806,
0.015927964821457863,
0.18700438737869263,
-0.3887917995452881,
-0.20386463403701782,
0.056748807430267334,
0.10151375830173492,
0.3382272720336914,
0.3179360032081604,
-0.00011607744090724736,
-0.05262468010187149,
0.3164040446281433,
-0.12807950377464294,
-0.07024481147527695,
-0.32115739583969116,
-0.3412522077560425,
-0.46783319115638733,
-0.25898364186286926,
-0.21347059309482574,
-0.015548612922430038,
-0.2594684958457947,
-0.12935343384742737,
-0.2814974784851074,
0.6975355744361877,
0.410628080368042,
0.12274761497974396,
0.14477096498012543,
0.15514150261878967,
-0.10879749059677124,
0.3157321512699127,
-0.012878872454166412,
-0.0913306474685669,
0.25532981753349304,
0.48269015550613403,
0.2512109577655792,
0.19600120186805725,
0.007860744372010231,
0.0014855973422527313,
0.09755435585975647,
-0.05905752629041672,
0.29190757870674133,
0.15929798781871796,
-0.3267289698123932,
-0.03690348565578461,
0.0986078679561615,
0.5012187957763672,
0.1583341360092163,
-0.5064577460289001,
-0.1413756012916565,
-0.09844136238098145,
-0.28093385696411133,
0.24762335419654846,
0.3659614026546478,
-0.30065619945526123,
0.18763411045074463,
-0.18205423653125763,
-0.1180071234703064,
-0.14177319407463074,
0.36038273572921753,
0.014471068978309631,
0.23856624960899353,
-0.1607445478439331,
0.09871594607830048,
0.4218288064002991,
0.22299277782440186,
0.29357534646987915,
-0.29206836223602295,
-0.35612156987190247,
-0.05658211186528206,
0.1368616372346878,
0.15815499424934387,
-0.08370281010866165,
-0.3012707829475403,
0.03515108674764633,
0.1484338939189911,
0.18959574401378632,
0.03724732995033264,
-0.24001549184322357,
0.1755688190460205,
0.22749710083007812,
0.3264589309692383,
0.08364793658256531,
0.08592846989631653,
0.2488163858652115,
0.3493582010269165,
0.3569283187389374,
-0.15263140201568604,
0.17762917280197144,
-0.12678629159927368,
-0.17145471274852753,
0.21014449000358582,
0.014097500592470169,
0.055622536689043045,
-0.01123061217367649,
-0.10483544319868088,
-0.2491990327835083,
-0.4026370644569397,
-0.0737825259566307,
-0.06353742629289627,
0.044202353805303574,
-0.14420852065086365,
-0.25469958782196045,
0.6506571173667908,
0.19109956920146942,
-0.29795411229133606,
-0.12236398458480835,
0.45605751872062683,
-0.0632098987698555,
-0.11391105502843857,
0.2995500862598419,
-0.15447469055652618,
0.05170431733131409,
0.12614768743515015,
-0.3652934432029724,
0.013850785791873932,
0.15487347543239594,
-0.14024245738983154,
0.13307666778564453,
0.3094845116138458,
0.47087302803993225,
0.25851327180862427,
-0.023292962461709976,
-0.26649144291877747,
-0.16660210490226746,
-0.02726075053215027,
-0.36954623460769653,
-0.03485146909952164,
-0.019400248304009438,
0.13307015597820282,
-0.34899091720581055,
0.13987436890602112,
-0.3336649537086487,
-0.08073942363262177,
-0.006787888705730438,
0.014191385358572006,
-0.08538373559713364,
-0.14914502203464508,
-0.03620922565460205,
-0.17434486746788025,
-0.13482101261615753,
0.33906930685043335,
-0.4117036461830139,
0.17126646637916565,
-0.6036139726638794,
-0.0012772232294082642,
0.49970710277557373,
0.005014033988118172,
-0.16102151572704315,
0.43662992119789124,
-0.37552449107170105,
0.5758059620857239,
0.3281742036342621,
-0.05861619487404823,
-0.476895272731781,
0.3076454997062683,
0.028363332152366638,
0.43875840306282043,
0.12201303988695145,
0.07668431103229523,
0.1052764430642128,
0.12541192770004272,
0.21306046843528748,
0.10651177912950516,
0.017658134922385216,
-0.22397053241729736,
-0.09641749411821365,
-0.257804811000824,
0.04819633066654205,
0.05605660006403923,
0.12614746391773224,
0.17719480395317078,
0.16982927918434143,
-0.45407336950302124,
0.14711886644363403,
-0.14529740810394287,
0.17794561386108398,
0.36247289180755615,
0.3004072606563568,
-0.007643356919288635,
-0.1273731291294098,
0.253589004278183,
-0.5153429508209229,
0.374653160572052,
-0.3366190195083618,
-0.19201239943504333,
-0.4719378352165222,
0.22979064285755157,
-0.13300570845603943,
-0.2628978192806244,
-0.29230383038520813,
-0.15384317934513092,
0.08724724501371384,
0.12287114560604095,
0.19687198102474213,
-0.09558276832103729,
0.09326368570327759,
0.6606147289276123,
0.3122483193874359,
0.149224653840065,
-0.4796017110347748,
0.3642374575138092,
-0.2532363831996918,
-0.30818668007850647,
0.1091512143611908,
-0.41184136271476746,
0.194679856300354,
-0.3464970886707306,
-0.1153397485613823,
-0.22129857540130615,
0.21569715440273285,
0.004397295415401459,
0.156459778547287,
-0.03627684712409973,
-0.016528135165572166,
-0.004829514771699905,
0.20189249515533447,
0.16003230214118958,
0.06339099258184433,
-0.0005452856421470642,
-0.04971879720687866,
0.19956310093402863,
0.027114704251289368,
-0.07297303527593613,
-0.171931654214859,
0.11601907759904861,
0.31762033700942993,
-0.17061252892017365,
0.31442949175834656,
-0.1526843011379242,
-0.008962657302618027,
0.11641447246074677,
-0.29987871646881104,
-0.35005149245262146,
0.14289362728595734,
-0.03249519318342209,
0.3988579511642456,
0.11519993841648102,
-0.03791653364896774,
0.1482677012681961,
0.1605321168899536,
-0.04718416929244995,
-0.044344790279865265,
0.6498307585716248,
0.4671500325202942,
0.14499936997890472,
0.06178685277700424,
0.008622461929917336,
0.25886455178260803,
-0.12056147307157516,
0.0035786479711532593,
0.2904597520828247,
-0.05169351398944855,
0.2522118389606476,
-0.00224476819857955,
0.15597347915172577,
-0.08140678703784943,
-0.28814005851745605,
0.26846906542778015,
0.30531325936317444,
-0.26335954666137695,
0.1906740963459015,
-0.4160471558570862,
-0.1758609116077423,
0.151239812374115,
0.12348654866218567,
-0.3309110701084137,
-0.44727692008018494,
-0.07621937990188599,
0.5612746477127075,
-0.06273950636386871,
-0.33301880955696106,
0.14801402390003204,
0.031240105628967285,
0.11157003045082092,
-0.13090640306472778,
-0.4002231955528259,
-0.08998259902000427,
-0.0008871108293533325,
0.029890596866607666,
0.25577232241630554,
-0.0708930566906929,
0.17626583576202393,
-0.19811803102493286,
0.03412048891186714,
-0.3635261058807373,
-0.005533196032047272,
0.2261165976524353,
0.012052956968545914,
0.4288240969181061,
0.094317726790905,
0.247770756483078,
-0.08063061535358429,
-0.11184334009885788,
0.08151412755250931,
0.1637628674507141,
-0.4217875897884369,
0.20693235099315643,
-0.09459280222654343,
0.04431447014212608,
-0.29499608278274536,
-0.34082332253456116,
-0.23787902295589447,
-0.44503864645957947,
0.24743686616420746,
0.12013725936412811,
0.0362529419362545,
0.42343977093696594,
0.023797038942575455,
-0.19896557927131653,
0.15268337726593018,
-0.03535541892051697,
-0.23485717177391052,
-0.3446294665336609,
0.4723799228668213,
-0.08781521022319794,
-0.24920417368412018,
0.16524557769298553,
-0.10038649290800095,
0.11236655712127686,
0.26279062032699585,
-0.2117156833410263,
-0.1300659328699112,
-0.3640805184841156,
0.3550090491771698,
-0.20887085795402527,
0.01275573018938303,
0.2300804704427719,
-0.21843624114990234,
-0.03343239799141884,
-0.0318533331155777,
0.12682922184467316,
0.3823736011981964,
0.4789419174194336,
0.3462514579296112,
0.09329703450202942,
-0.07261873781681061,
0.008983466774225235,
0.13684074580669403,
0.1713046133518219,
0.1534128338098526,
0.36648136377334595,
0.16554656624794006,
0.10482068359851837,
-0.002945631742477417,
-0.07960878312587738,
-0.3496382236480713,
-0.16056784987449646,
0.03734391927719116,
0.07238353788852692,
-0.21039032936096191,
0.12552332878112793,
-0.18867243826389313,
0.12027530372142792,
-0.583137571811676,
-0.13806983828544617,
0.11934196203947067,
0.14489075541496277,
-0.1542281210422516,
0.07595720887184143,
0.04883335530757904,
0.03490203246474266,
0.12702521681785583,
-0.07475742697715759,
0.17897820472717285,
0.042984139174222946,
0.20498129725456238,
-0.03659994527697563,
-0.29986363649368286,
-0.2918063700199127,
0.4819929003715515,
0.1634645164012909,
0.11200680583715439,
-0.0580720491707325,
0.24371233582496643,
-0.020953968167304993,
-0.11938323825597763,
0.7049089074134827,
-0.4174145460128784,
-0.010863717645406723,
0.30791136622428894,
-0.1980554610490799,
0.1716584861278534,
-0.25193411111831665,
-0.450045108795166,
-0.028954248875379562,
0.12635545432567596,
0.5204936265945435,
-0.1852797567844391,
-0.07828983664512634,
-0.30079925060272217,
0.26074644923210144,
0.05218028649687767,
-0.192717507481575,
0.1256469041109085,
-0.3617765009403229,
-0.24794025719165802,
-0.25107330083847046,
0.19989104568958282,
0.32035645842552185,
-0.21689766645431519,
-0.020227253437042236,
0.3713165521621704,
-0.14015454053878784,
0.0562572181224823,
-0.03216789290308952,
0.2214747965335846,
-0.011559264734387398,
0.0822441577911377,
0.0009836070239543915,
-0.03697192668914795,
0.23606552183628082,
0.5558788776397705,
0.37557676434516907,
-0.030231311917304993,
0.017886225134134293,
-0.36854246258735657,
-0.07628311961889267,
-0.006239265203475952,
0.0327678918838501,
-0.06720484048128128,
-0.22725677490234375,
0.24615304172039032,
0.10561904311180115,
0.002982764970511198,
0.2712844908237457,
-0.40619876980781555,
-0.07957738637924194,
0.04788597673177719,
0.29219305515289307,
0.1044001430273056,
0.07347123324871063,
0.4316079616546631,
-0.2748613953590393,
-0.13115262985229492,
-0.0618811696767807,
-0.18189552426338196,
0.42886096239089966,
0.17756780982017517,
-0.21689364314079285,
0.20189496874809265,
-0.09271614253520966,
0.32746466994285583,
-0.34578049182891846,
0.2388870120048523,
-0.19655440747737885,
-0.23256485164165497,
-0.09582226723432541,
-0.1764298379421234,
0.3202267587184906,
0.1835232675075531,
-0.15698176622390747,
0.0785561203956604,
-0.2900189757347107,
-0.35775476694107056,
-0.047170959413051605,
0.11483816802501678,
-0.2927521765232086,
-0.15208497643470764,
0.07329054921865463,
0.11066010594367981,
-0.285394549369812,
0.5263331532478333,
0.06064082682132721,
-0.35848456621170044,
-0.5321828722953796,
-0.23818445205688477,
-0.10141723603010178,
0.2137148380279541,
0.05972098186612129,
0.5058441758155823,
0.04272327944636345,
-0.3093440532684326,
0.11946544051170349,
-0.1112610399723053,
0.2981483042240143,
-0.31718599796295166,
-0.26502612233161926,
-0.03514913097023964,
-0.03405541926622391,
-0.21302446722984314,
0.015275952406227589,
-0.10645024478435516,
0.10570140928030014,
-0.181264728307724,
-0.05778250843286514,
-0.048588596284389496,
-0.29845497012138367,
-0.09730138629674911,
0.36187320947647095,
0.013914767652750015,
-0.022297322750091553,
-0.060202255845069885,
-0.1538381576538086,
-0.04068867862224579,
-0.013856010511517525,
-0.10740543901920319,
0.0502728670835495,
0.257388174533844,
-0.2273971140384674,
0.2647625803947449,
-0.3313918709754944,
0.06350576877593994,
-0.1998293697834015,
0.23871147632598877,
0.07220717519521713,
-0.15080013871192932,
0.2100730985403061,
0.23316054046154022,
-0.09511120617389679,
-0.2680654227733612,
0.022069349884986877,
-0.16812941431999207,
-0.24779927730560303,
0.11727414280176163,
-0.15994185209274292,
0.08361464738845825,
0.051631197333335876,
0.3619520962238312,
-0.025897227227687836,
-0.11240840703248978,
0.25491753220558167,
-0.5039477348327637,
-0.1531011164188385,
0.1344490796327591,
-0.22809921205043793,
0.14414140582084656,
0.014684248715639114,
-0.17056988179683685,
0.165161594748497,
0.001311739906668663,
-0.18660949170589447,
0.11767641454935074,
-0.014713820070028305,
0.04368957132101059,
0.28280994296073914,
-0.02343260496854782,
0.30673596262931824,
-0.2470283955335617,
0.011772772297263145,
0.09019294381141663,
-0.24748027324676514,
-0.1293565034866333,
-0.23160748183727264,
0.11325227469205856,
-0.034479692578315735,
-0.09886158257722855,
0.2106848955154419,
-0.07060617208480835,
-0.29206395149230957,
0.09537817537784576,
0.0572696290910244,
0.12327184528112411,
0.07520844042301178,
0.21798960864543915,
0.20584970712661743,
0.15804442763328552,
-0.23895567655563354,
0.10284165292978287,
-0.20349594950675964,
0.42681413888931274,
0.0053831725381314754,
0.21772553026676178,
-0.09217169880867004,
0.06862761080265045,
-0.6342126727104187,
-0.2207828164100647,
-0.26609939336776733,
0.15376661717891693,
0.46157950162887573,
-0.21566252410411835,
0.37551796436309814,
-0.11032561212778091,
0.2550572454929352,
0.3086179494857788,
-0.18589091300964355,
0.026479700580239296,
-0.08350328356027603,
0.15136735141277313,
-0.19993498921394348,
-0.3212865889072418,
0.1604347676038742,
0.07447867095470428,
-0.18279476463794708,
0.12103679776191711,
0.04933914169669151,
0.06326524913311005,
-0.19812260568141937,
-0.06673163920640945,
0.5944404006004333,
0.3388258218765259,
0.2521555721759796,
0.5162737965583801,
-0.02543000876903534,
0.07351761311292648,
0.18069729208946228,
0.17318488657474518,
0.11742369085550308,
0.38942962884902954,
-0.17557477951049805,
-0.13748744130134583,
0.03269220143556595,
0.1088276207447052,
-0.13890305161476135,
-0.7004789113998413,
0.1039784848690033,
0.1291581690311432,
0.3255707919597626,
0.1761576533317566,
0.13045138120651245,
0.2553517520427704,
-0.2310442179441452,
-0.06328977644443512,
-0.39981624484062195,
0.1739986091852188,
0.20682355761528015,
0.36439061164855957,
-0.08792898058891296,
-0.0765843316912651,
-0.34366902709007263,
0.14394456148147583,
0.12108196318149567,
-0.054887719452381134,
0.09892971813678741,
0.20847295224666595,
-0.28678035736083984,
0.2285466194152832,
-0.11855190247297287,
-0.3372727632522583,
-0.159103661775589,
-0.523652195930481,
0.10401777178049088,
0.20205335319042206,
-0.36539843678474426,
-0.0840844213962555,
-0.2156287580728531,
0.49404177069664,
0.03369918838143349,
0.16604679822921753,
-0.15053953230381012,
-0.10776315629482269,
-0.2196594774723053,
-0.13938221335411072,
0.0297450702637434,
0.288337767124176,
0.033695679157972336,
0.34215423464775085,
0.136476531624794,
-0.0690748393535614,
0.19728600978851318,
0.19277700781822205,
0.36849474906921387,
0.0742892324924469,
0.31001797318458557,
-0.0738702341914177,
-0.16451828181743622,
-0.1500847488641739,
-0.32641148567199707,
0.029385723173618317,
-0.026988018304109573,
-0.1509561836719513,
0.11936669051647186,
0.10413675755262375,
0.08907577395439148,
0.03886784240603447,
-0.15330077707767487,
0.27078351378440857,
0.37811198830604553,
-0.32166382670402527,
-0.3747518062591553,
-0.02817700058221817,
-0.31478118896484375,
-0.1693633794784546,
-0.21989360451698303,
0.17740559577941895,
0.015101844444870949,
0.14209720492362976,
-0.03496728837490082,
0.22216446697711945,
0.17828211188316345,
0.2736855447292328,
0.014465288259088993,
0.16225597262382507,
-0.4015006422996521,
-0.30353376269340515,
0.390331506729126,
-0.07206812500953674,
0.09213372319936752,
-0.2479400634765625,
0.17834727466106415,
-0.4111038148403168,
0.06345779448747635,
-0.031362880021333694,
-0.1892070472240448,
0.0449121929705143,
-0.3216874599456787,
0.5818505883216858,
0.22539198398590088,
0.4695299565792084,
-0.0983843207359314,
-0.2431611716747284,
-0.1730097085237503,
0.015569116920232773,
0.06746017187833786,
0.15501873195171356,
0.10203076899051666,
0.7459278106689453,
-0.03182602673768997,
0.4837237596511841,
-0.41761887073516846,
0.18141818046569824,
-0.28945934772491455,
0.04439491778612137,
-0.2154080718755722,
0.2692195177078247,
-0.1033189445734024,
0.1059466153383255,
0.3961372673511505,
-0.15515077114105225,
0.03702175244688988,
-0.035694222897291183,
-0.44422203302383423,
-0.2511765956878662,
0.1784074604511261,
0.10291659832000732,
-0.19935393333435059,
0.2734774351119995,
-0.015363678336143494,
-0.16207453608512878,
-0.02528470568358898,
-0.036723073571920395,
0.1125088557600975,
0.260786771774292,
-0.357099324464798,
-0.0438140407204628,
0.18828798830509186,
0.17565234005451202,
-0.4899441599845886,
0.1965334415435791,
-0.06606686115264893,
0.21457388997077942,
-0.3058132529258728,
0.057246092706918716,
0.20287957787513733
] |
https://github.com/huggingface/datasets/issues/4670 | Can't extract files from `.7z` zipfile using `download_and_extract` | Sure, let me look into and check what can be done. Will keep you guys updated here! | ## Describe the bug
I'm adding a new dataset which is a `.7z` zip file in Google drive and contains 3 json files inside. I'm able to download the data files using `download_and_extract` but after downloading it throws this error:
```
>>> dataset = load_dataset("./datasets/mantis/")
Using custom data configuration default
Downloading and preparing dataset mantis/default to /Users/bhavitvyamalik/.cache/huggingface/datasets/mantis/default/1.1.0/611affa804ec53e2055a335cc1b8b213bb5a0b5142d919967729d5ee23c6bab4...
Downloading data: 100%|█████████████████████████████████████████████████████████| 77.2M/77.2M [00:23<00:00, 3.28MB/s]
/Users/bhavitvyamalik/.cache/huggingface/datasets/downloads/fc3d70123c9de8407587a59aa426c37819cf2bf016795d33270e8a1d558a34e6
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/bhavitvyamalik/Desktop/work/hf/datasets/src/datasets/load.py", line 1745, in load_dataset
use_auth_token=use_auth_token,
File "/Users/bhavitvyamalik/Desktop/work/hf/datasets/src/datasets/builder.py", line 595, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/Users/bhavitvyamalik/Desktop/work/hf/datasets/src/datasets/builder.py", line 690, in _download_and_prepare
) from None
OSError: Cannot find data file.
Original error:
[Errno 20] Not a directory: '/Users/bhavitvyamalik/.cache/huggingface/datasets/downloads/fc3d70123c9de8407587a59aa426c37819cf2bf016795d33270e8a1d558a34e6/merged_train.json'
```
just before generating the splits. I checked `fc3d70123c9de8407587a59aa426c37819cf2bf016795d33270e8a1d558a34e6` file and it's `7z` zip file (similar to downloaded Google drive file) which means it didn't get unzip. Do I need to unzip it separately and then pass the paths for train,dev,test files in `SplitGenerator`?
## Environment info
- `datasets` version: 1.18.4.dev0
- Platform: Darwin-19.6.0-x86_64-i386-64bit
- Python version: 3.7.8
- PyArrow version: 5.0.0 | 17 | Can't extract files from `.7z` zipfile using `download_and_extract`
## Describe the bug
I'm adding a new dataset which is a `.7z` zip file in Google drive and contains 3 json files inside. I'm able to download the data files using `download_and_extract` but after downloading it throws this error:
```
>>> dataset = load_dataset("./datasets/mantis/")
Using custom data configuration default
Downloading and preparing dataset mantis/default to /Users/bhavitvyamalik/.cache/huggingface/datasets/mantis/default/1.1.0/611affa804ec53e2055a335cc1b8b213bb5a0b5142d919967729d5ee23c6bab4...
Downloading data: 100%|█████████████████████████████████████████████████████████| 77.2M/77.2M [00:23<00:00, 3.28MB/s]
/Users/bhavitvyamalik/.cache/huggingface/datasets/downloads/fc3d70123c9de8407587a59aa426c37819cf2bf016795d33270e8a1d558a34e6
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/bhavitvyamalik/Desktop/work/hf/datasets/src/datasets/load.py", line 1745, in load_dataset
use_auth_token=use_auth_token,
File "/Users/bhavitvyamalik/Desktop/work/hf/datasets/src/datasets/builder.py", line 595, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/Users/bhavitvyamalik/Desktop/work/hf/datasets/src/datasets/builder.py", line 690, in _download_and_prepare
) from None
OSError: Cannot find data file.
Original error:
[Errno 20] Not a directory: '/Users/bhavitvyamalik/.cache/huggingface/datasets/downloads/fc3d70123c9de8407587a59aa426c37819cf2bf016795d33270e8a1d558a34e6/merged_train.json'
```
just before generating the splits. I checked `fc3d70123c9de8407587a59aa426c37819cf2bf016795d33270e8a1d558a34e6` file and it's `7z` zip file (similar to downloaded Google drive file) which means it didn't get unzip. Do I need to unzip it separately and then pass the paths for train,dev,test files in `SplitGenerator`?
## Environment info
- `datasets` version: 1.18.4.dev0
- Platform: Darwin-19.6.0-x86_64-i386-64bit
- Python version: 3.7.8
- PyArrow version: 5.0.0
Sure, let me look into and check what can be done. Will keep you guys updated here! | [
-0.30092987418174744,
-0.22019773721694946,
-0.0685814917087555,
0.5899444222450256,
0.024326421320438385,
0.0799030289053917,
-0.002087540924549103,
0.3769165277481079,
0.3110101819038391,
0.020652778446674347,
-0.0629303827881813,
0.23239123821258545,
0.18731090426445007,
0.13828010857105255,
-0.26686403155326843,
-0.251372754573822,
-0.16699069738388062,
0.03009846806526184,
0.26443472504615784,
0.04549180716276169,
-0.38693344593048096,
0.4558520019054413,
-0.1293438971042633,
-0.12937182188034058,
0.19577378034591675,
-0.2902817130088806,
0.015927964821457863,
0.18700438737869263,
-0.3887917995452881,
-0.20386463403701782,
0.056748807430267334,
0.10151375830173492,
0.3382272720336914,
0.3179360032081604,
-0.00011607744090724736,
-0.05262468010187149,
0.3164040446281433,
-0.12807950377464294,
-0.07024481147527695,
-0.32115739583969116,
-0.3412522077560425,
-0.46783319115638733,
-0.25898364186286926,
-0.21347059309482574,
-0.015548612922430038,
-0.2594684958457947,
-0.12935343384742737,
-0.2814974784851074,
0.6975355744361877,
0.410628080368042,
0.12274761497974396,
0.14477096498012543,
0.15514150261878967,
-0.10879749059677124,
0.3157321512699127,
-0.012878872454166412,
-0.0913306474685669,
0.25532981753349304,
0.48269015550613403,
0.2512109577655792,
0.19600120186805725,
0.007860744372010231,
0.0014855973422527313,
0.09755435585975647,
-0.05905752629041672,
0.29190757870674133,
0.15929798781871796,
-0.3267289698123932,
-0.03690348565578461,
0.0986078679561615,
0.5012187957763672,
0.1583341360092163,
-0.5064577460289001,
-0.1413756012916565,
-0.09844136238098145,
-0.28093385696411133,
0.24762335419654846,
0.3659614026546478,
-0.30065619945526123,
0.18763411045074463,
-0.18205423653125763,
-0.1180071234703064,
-0.14177319407463074,
0.36038273572921753,
0.014471068978309631,
0.23856624960899353,
-0.1607445478439331,
0.09871594607830048,
0.4218288064002991,
0.22299277782440186,
0.29357534646987915,
-0.29206836223602295,
-0.35612156987190247,
-0.05658211186528206,
0.1368616372346878,
0.15815499424934387,
-0.08370281010866165,
-0.3012707829475403,
0.03515108674764633,
0.1484338939189911,
0.18959574401378632,
0.03724732995033264,
-0.24001549184322357,
0.1755688190460205,
0.22749710083007812,
0.3264589309692383,
0.08364793658256531,
0.08592846989631653,
0.2488163858652115,
0.3493582010269165,
0.3569283187389374,
-0.15263140201568604,
0.17762917280197144,
-0.12678629159927368,
-0.17145471274852753,
0.21014449000358582,
0.014097500592470169,
0.055622536689043045,
-0.01123061217367649,
-0.10483544319868088,
-0.2491990327835083,
-0.4026370644569397,
-0.0737825259566307,
-0.06353742629289627,
0.044202353805303574,
-0.14420852065086365,
-0.25469958782196045,
0.6506571173667908,
0.19109956920146942,
-0.29795411229133606,
-0.12236398458480835,
0.45605751872062683,
-0.0632098987698555,
-0.11391105502843857,
0.2995500862598419,
-0.15447469055652618,
0.05170431733131409,
0.12614768743515015,
-0.3652934432029724,
0.013850785791873932,
0.15487347543239594,
-0.14024245738983154,
0.13307666778564453,
0.3094845116138458,
0.47087302803993225,
0.25851327180862427,
-0.023292962461709976,
-0.26649144291877747,
-0.16660210490226746,
-0.02726075053215027,
-0.36954623460769653,
-0.03485146909952164,
-0.019400248304009438,
0.13307015597820282,
-0.34899091720581055,
0.13987436890602112,
-0.3336649537086487,
-0.08073942363262177,
-0.006787888705730438,
0.014191385358572006,
-0.08538373559713364,
-0.14914502203464508,
-0.03620922565460205,
-0.17434486746788025,
-0.13482101261615753,
0.33906930685043335,
-0.4117036461830139,
0.17126646637916565,
-0.6036139726638794,
-0.0012772232294082642,
0.49970710277557373,
0.005014033988118172,
-0.16102151572704315,
0.43662992119789124,
-0.37552449107170105,
0.5758059620857239,
0.3281742036342621,
-0.05861619487404823,
-0.476895272731781,
0.3076454997062683,
0.028363332152366638,
0.43875840306282043,
0.12201303988695145,
0.07668431103229523,
0.1052764430642128,
0.12541192770004272,
0.21306046843528748,
0.10651177912950516,
0.017658134922385216,
-0.22397053241729736,
-0.09641749411821365,
-0.257804811000824,
0.04819633066654205,
0.05605660006403923,
0.12614746391773224,
0.17719480395317078,
0.16982927918434143,
-0.45407336950302124,
0.14711886644363403,
-0.14529740810394287,
0.17794561386108398,
0.36247289180755615,
0.3004072606563568,
-0.007643356919288635,
-0.1273731291294098,
0.253589004278183,
-0.5153429508209229,
0.374653160572052,
-0.3366190195083618,
-0.19201239943504333,
-0.4719378352165222,
0.22979064285755157,
-0.13300570845603943,
-0.2628978192806244,
-0.29230383038520813,
-0.15384317934513092,
0.08724724501371384,
0.12287114560604095,
0.19687198102474213,
-0.09558276832103729,
0.09326368570327759,
0.6606147289276123,
0.3122483193874359,
0.149224653840065,
-0.4796017110347748,
0.3642374575138092,
-0.2532363831996918,
-0.30818668007850647,
0.1091512143611908,
-0.41184136271476746,
0.194679856300354,
-0.3464970886707306,
-0.1153397485613823,
-0.22129857540130615,
0.21569715440273285,
0.004397295415401459,
0.156459778547287,
-0.03627684712409973,
-0.016528135165572166,
-0.004829514771699905,
0.20189249515533447,
0.16003230214118958,
0.06339099258184433,
-0.0005452856421470642,
-0.04971879720687866,
0.19956310093402863,
0.027114704251289368,
-0.07297303527593613,
-0.171931654214859,
0.11601907759904861,
0.31762033700942993,
-0.17061252892017365,
0.31442949175834656,
-0.1526843011379242,
-0.008962657302618027,
0.11641447246074677,
-0.29987871646881104,
-0.35005149245262146,
0.14289362728595734,
-0.03249519318342209,
0.3988579511642456,
0.11519993841648102,
-0.03791653364896774,
0.1482677012681961,
0.1605321168899536,
-0.04718416929244995,
-0.044344790279865265,
0.6498307585716248,
0.4671500325202942,
0.14499936997890472,
0.06178685277700424,
0.008622461929917336,
0.25886455178260803,
-0.12056147307157516,
0.0035786479711532593,
0.2904597520828247,
-0.05169351398944855,
0.2522118389606476,
-0.00224476819857955,
0.15597347915172577,
-0.08140678703784943,
-0.28814005851745605,
0.26846906542778015,
0.30531325936317444,
-0.26335954666137695,
0.1906740963459015,
-0.4160471558570862,
-0.1758609116077423,
0.151239812374115,
0.12348654866218567,
-0.3309110701084137,
-0.44727692008018494,
-0.07621937990188599,
0.5612746477127075,
-0.06273950636386871,
-0.33301880955696106,
0.14801402390003204,
0.031240105628967285,
0.11157003045082092,
-0.13090640306472778,
-0.4002231955528259,
-0.08998259902000427,
-0.0008871108293533325,
0.029890596866607666,
0.25577232241630554,
-0.0708930566906929,
0.17626583576202393,
-0.19811803102493286,
0.03412048891186714,
-0.3635261058807373,
-0.005533196032047272,
0.2261165976524353,
0.012052956968545914,
0.4288240969181061,
0.094317726790905,
0.247770756483078,
-0.08063061535358429,
-0.11184334009885788,
0.08151412755250931,
0.1637628674507141,
-0.4217875897884369,
0.20693235099315643,
-0.09459280222654343,
0.04431447014212608,
-0.29499608278274536,
-0.34082332253456116,
-0.23787902295589447,
-0.44503864645957947,
0.24743686616420746,
0.12013725936412811,
0.0362529419362545,
0.42343977093696594,
0.023797038942575455,
-0.19896557927131653,
0.15268337726593018,
-0.03535541892051697,
-0.23485717177391052,
-0.3446294665336609,
0.4723799228668213,
-0.08781521022319794,
-0.24920417368412018,
0.16524557769298553,
-0.10038649290800095,
0.11236655712127686,
0.26279062032699585,
-0.2117156833410263,
-0.1300659328699112,
-0.3640805184841156,
0.3550090491771698,
-0.20887085795402527,
0.01275573018938303,
0.2300804704427719,
-0.21843624114990234,
-0.03343239799141884,
-0.0318533331155777,
0.12682922184467316,
0.3823736011981964,
0.4789419174194336,
0.3462514579296112,
0.09329703450202942,
-0.07261873781681061,
0.008983466774225235,
0.13684074580669403,
0.1713046133518219,
0.1534128338098526,
0.36648136377334595,
0.16554656624794006,
0.10482068359851837,
-0.002945631742477417,
-0.07960878312587738,
-0.3496382236480713,
-0.16056784987449646,
0.03734391927719116,
0.07238353788852692,
-0.21039032936096191,
0.12552332878112793,
-0.18867243826389313,
0.12027530372142792,
-0.583137571811676,
-0.13806983828544617,
0.11934196203947067,
0.14489075541496277,
-0.1542281210422516,
0.07595720887184143,
0.04883335530757904,
0.03490203246474266,
0.12702521681785583,
-0.07475742697715759,
0.17897820472717285,
0.042984139174222946,
0.20498129725456238,
-0.03659994527697563,
-0.29986363649368286,
-0.2918063700199127,
0.4819929003715515,
0.1634645164012909,
0.11200680583715439,
-0.0580720491707325,
0.24371233582496643,
-0.020953968167304993,
-0.11938323825597763,
0.7049089074134827,
-0.4174145460128784,
-0.010863717645406723,
0.30791136622428894,
-0.1980554610490799,
0.1716584861278534,
-0.25193411111831665,
-0.450045108795166,
-0.028954248875379562,
0.12635545432567596,
0.5204936265945435,
-0.1852797567844391,
-0.07828983664512634,
-0.30079925060272217,
0.26074644923210144,
0.05218028649687767,
-0.192717507481575,
0.1256469041109085,
-0.3617765009403229,
-0.24794025719165802,
-0.25107330083847046,
0.19989104568958282,
0.32035645842552185,
-0.21689766645431519,
-0.020227253437042236,
0.3713165521621704,
-0.14015454053878784,
0.0562572181224823,
-0.03216789290308952,
0.2214747965335846,
-0.011559264734387398,
0.0822441577911377,
0.0009836070239543915,
-0.03697192668914795,
0.23606552183628082,
0.5558788776397705,
0.37557676434516907,
-0.030231311917304993,
0.017886225134134293,
-0.36854246258735657,
-0.07628311961889267,
-0.006239265203475952,
0.0327678918838501,
-0.06720484048128128,
-0.22725677490234375,
0.24615304172039032,
0.10561904311180115,
0.002982764970511198,
0.2712844908237457,
-0.40619876980781555,
-0.07957738637924194,
0.04788597673177719,
0.29219305515289307,
0.1044001430273056,
0.07347123324871063,
0.4316079616546631,
-0.2748613953590393,
-0.13115262985229492,
-0.0618811696767807,
-0.18189552426338196,
0.42886096239089966,
0.17756780982017517,
-0.21689364314079285,
0.20189496874809265,
-0.09271614253520966,
0.32746466994285583,
-0.34578049182891846,
0.2388870120048523,
-0.19655440747737885,
-0.23256485164165497,
-0.09582226723432541,
-0.1764298379421234,
0.3202267587184906,
0.1835232675075531,
-0.15698176622390747,
0.0785561203956604,
-0.2900189757347107,
-0.35775476694107056,
-0.047170959413051605,
0.11483816802501678,
-0.2927521765232086,
-0.15208497643470764,
0.07329054921865463,
0.11066010594367981,
-0.285394549369812,
0.5263331532478333,
0.06064082682132721,
-0.35848456621170044,
-0.5321828722953796,
-0.23818445205688477,
-0.10141723603010178,
0.2137148380279541,
0.05972098186612129,
0.5058441758155823,
0.04272327944636345,
-0.3093440532684326,
0.11946544051170349,
-0.1112610399723053,
0.2981483042240143,
-0.31718599796295166,
-0.26502612233161926,
-0.03514913097023964,
-0.03405541926622391,
-0.21302446722984314,
0.015275952406227589,
-0.10645024478435516,
0.10570140928030014,
-0.181264728307724,
-0.05778250843286514,
-0.048588596284389496,
-0.29845497012138367,
-0.09730138629674911,
0.36187320947647095,
0.013914767652750015,
-0.022297322750091553,
-0.060202255845069885,
-0.1538381576538086,
-0.04068867862224579,
-0.013856010511517525,
-0.10740543901920319,
0.0502728670835495,
0.257388174533844,
-0.2273971140384674,
0.2647625803947449,
-0.3313918709754944,
0.06350576877593994,
-0.1998293697834015,
0.23871147632598877,
0.07220717519521713,
-0.15080013871192932,
0.2100730985403061,
0.23316054046154022,
-0.09511120617389679,
-0.2680654227733612,
0.022069349884986877,
-0.16812941431999207,
-0.24779927730560303,
0.11727414280176163,
-0.15994185209274292,
0.08361464738845825,
0.051631197333335876,
0.3619520962238312,
-0.025897227227687836,
-0.11240840703248978,
0.25491753220558167,
-0.5039477348327637,
-0.1531011164188385,
0.1344490796327591,
-0.22809921205043793,
0.14414140582084656,
0.014684248715639114,
-0.17056988179683685,
0.165161594748497,
0.001311739906668663,
-0.18660949170589447,
0.11767641454935074,
-0.014713820070028305,
0.04368957132101059,
0.28280994296073914,
-0.02343260496854782,
0.30673596262931824,
-0.2470283955335617,
0.011772772297263145,
0.09019294381141663,
-0.24748027324676514,
-0.1293565034866333,
-0.23160748183727264,
0.11325227469205856,
-0.034479692578315735,
-0.09886158257722855,
0.2106848955154419,
-0.07060617208480835,
-0.29206395149230957,
0.09537817537784576,
0.0572696290910244,
0.12327184528112411,
0.07520844042301178,
0.21798960864543915,
0.20584970712661743,
0.15804442763328552,
-0.23895567655563354,
0.10284165292978287,
-0.20349594950675964,
0.42681413888931274,
0.0053831725381314754,
0.21772553026676178,
-0.09217169880867004,
0.06862761080265045,
-0.6342126727104187,
-0.2207828164100647,
-0.26609939336776733,
0.15376661717891693,
0.46157950162887573,
-0.21566252410411835,
0.37551796436309814,
-0.11032561212778091,
0.2550572454929352,
0.3086179494857788,
-0.18589091300964355,
0.026479700580239296,
-0.08350328356027603,
0.15136735141277313,
-0.19993498921394348,
-0.3212865889072418,
0.1604347676038742,
0.07447867095470428,
-0.18279476463794708,
0.12103679776191711,
0.04933914169669151,
0.06326524913311005,
-0.19812260568141937,
-0.06673163920640945,
0.5944404006004333,
0.3388258218765259,
0.2521555721759796,
0.5162737965583801,
-0.02543000876903534,
0.07351761311292648,
0.18069729208946228,
0.17318488657474518,
0.11742369085550308,
0.38942962884902954,
-0.17557477951049805,
-0.13748744130134583,
0.03269220143556595,
0.1088276207447052,
-0.13890305161476135,
-0.7004789113998413,
0.1039784848690033,
0.1291581690311432,
0.3255707919597626,
0.1761576533317566,
0.13045138120651245,
0.2553517520427704,
-0.2310442179441452,
-0.06328977644443512,
-0.39981624484062195,
0.1739986091852188,
0.20682355761528015,
0.36439061164855957,
-0.08792898058891296,
-0.0765843316912651,
-0.34366902709007263,
0.14394456148147583,
0.12108196318149567,
-0.054887719452381134,
0.09892971813678741,
0.20847295224666595,
-0.28678035736083984,
0.2285466194152832,
-0.11855190247297287,
-0.3372727632522583,
-0.159103661775589,
-0.523652195930481,
0.10401777178049088,
0.20205335319042206,
-0.36539843678474426,
-0.0840844213962555,
-0.2156287580728531,
0.49404177069664,
0.03369918838143349,
0.16604679822921753,
-0.15053953230381012,
-0.10776315629482269,
-0.2196594774723053,
-0.13938221335411072,
0.0297450702637434,
0.288337767124176,
0.033695679157972336,
0.34215423464775085,
0.136476531624794,
-0.0690748393535614,
0.19728600978851318,
0.19277700781822205,
0.36849474906921387,
0.0742892324924469,
0.31001797318458557,
-0.0738702341914177,
-0.16451828181743622,
-0.1500847488641739,
-0.32641148567199707,
0.029385723173618317,
-0.026988018304109573,
-0.1509561836719513,
0.11936669051647186,
0.10413675755262375,
0.08907577395439148,
0.03886784240603447,
-0.15330077707767487,
0.27078351378440857,
0.37811198830604553,
-0.32166382670402527,
-0.3747518062591553,
-0.02817700058221817,
-0.31478118896484375,
-0.1693633794784546,
-0.21989360451698303,
0.17740559577941895,
0.015101844444870949,
0.14209720492362976,
-0.03496728837490082,
0.22216446697711945,
0.17828211188316345,
0.2736855447292328,
0.014465288259088993,
0.16225597262382507,
-0.4015006422996521,
-0.30353376269340515,
0.390331506729126,
-0.07206812500953674,
0.09213372319936752,
-0.2479400634765625,
0.17834727466106415,
-0.4111038148403168,
0.06345779448747635,
-0.031362880021333694,
-0.1892070472240448,
0.0449121929705143,
-0.3216874599456787,
0.5818505883216858,
0.22539198398590088,
0.4695299565792084,
-0.0983843207359314,
-0.2431611716747284,
-0.1730097085237503,
0.015569116920232773,
0.06746017187833786,
0.15501873195171356,
0.10203076899051666,
0.7459278106689453,
-0.03182602673768997,
0.4837237596511841,
-0.41761887073516846,
0.18141818046569824,
-0.28945934772491455,
0.04439491778612137,
-0.2154080718755722,
0.2692195177078247,
-0.1033189445734024,
0.1059466153383255,
0.3961372673511505,
-0.15515077114105225,
0.03702175244688988,
-0.035694222897291183,
-0.44422203302383423,
-0.2511765956878662,
0.1784074604511261,
0.10291659832000732,
-0.19935393333435059,
0.2734774351119995,
-0.015363678336143494,
-0.16207453608512878,
-0.02528470568358898,
-0.036723073571920395,
0.1125088557600975,
0.260786771774292,
-0.357099324464798,
-0.0438140407204628,
0.18828798830509186,
0.17565234005451202,
-0.4899441599845886,
0.1965334415435791,
-0.06606686115264893,
0.21457388997077942,
-0.3058132529258728,
0.057246092706918716,
0.20287957787513733
] |
https://github.com/huggingface/datasets/issues/4670 | Can't extract files from `.7z` zipfile using `download_and_extract` | Initially, I thought of solving this without any external dependency. Almost everywhere I saw `lzma` can be used for this but there is a caveat that lzma doesn’t work with 7z archives but only single files. In my case the 7z archive has multiple files so it didn't work. Is it fine to use external library here? | ## Describe the bug
I'm adding a new dataset which is a `.7z` zip file in Google drive and contains 3 json files inside. I'm able to download the data files using `download_and_extract` but after downloading it throws this error:
```
>>> dataset = load_dataset("./datasets/mantis/")
Using custom data configuration default
Downloading and preparing dataset mantis/default to /Users/bhavitvyamalik/.cache/huggingface/datasets/mantis/default/1.1.0/611affa804ec53e2055a335cc1b8b213bb5a0b5142d919967729d5ee23c6bab4...
Downloading data: 100%|█████████████████████████████████████████████████████████| 77.2M/77.2M [00:23<00:00, 3.28MB/s]
/Users/bhavitvyamalik/.cache/huggingface/datasets/downloads/fc3d70123c9de8407587a59aa426c37819cf2bf016795d33270e8a1d558a34e6
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/bhavitvyamalik/Desktop/work/hf/datasets/src/datasets/load.py", line 1745, in load_dataset
use_auth_token=use_auth_token,
File "/Users/bhavitvyamalik/Desktop/work/hf/datasets/src/datasets/builder.py", line 595, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/Users/bhavitvyamalik/Desktop/work/hf/datasets/src/datasets/builder.py", line 690, in _download_and_prepare
) from None
OSError: Cannot find data file.
Original error:
[Errno 20] Not a directory: '/Users/bhavitvyamalik/.cache/huggingface/datasets/downloads/fc3d70123c9de8407587a59aa426c37819cf2bf016795d33270e8a1d558a34e6/merged_train.json'
```
just before generating the splits. I checked `fc3d70123c9de8407587a59aa426c37819cf2bf016795d33270e8a1d558a34e6` file and it's `7z` zip file (similar to downloaded Google drive file) which means it didn't get unzip. Do I need to unzip it separately and then pass the paths for train,dev,test files in `SplitGenerator`?
## Environment info
- `datasets` version: 1.18.4.dev0
- Platform: Darwin-19.6.0-x86_64-i386-64bit
- Python version: 3.7.8
- PyArrow version: 5.0.0 | 57 | Can't extract files from `.7z` zipfile using `download_and_extract`
## Describe the bug
I'm adding a new dataset which is a `.7z` zip file in Google drive and contains 3 json files inside. I'm able to download the data files using `download_and_extract` but after downloading it throws this error:
```
>>> dataset = load_dataset("./datasets/mantis/")
Using custom data configuration default
Downloading and preparing dataset mantis/default to /Users/bhavitvyamalik/.cache/huggingface/datasets/mantis/default/1.1.0/611affa804ec53e2055a335cc1b8b213bb5a0b5142d919967729d5ee23c6bab4...
Downloading data: 100%|█████████████████████████████████████████████████████████| 77.2M/77.2M [00:23<00:00, 3.28MB/s]
/Users/bhavitvyamalik/.cache/huggingface/datasets/downloads/fc3d70123c9de8407587a59aa426c37819cf2bf016795d33270e8a1d558a34e6
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/bhavitvyamalik/Desktop/work/hf/datasets/src/datasets/load.py", line 1745, in load_dataset
use_auth_token=use_auth_token,
File "/Users/bhavitvyamalik/Desktop/work/hf/datasets/src/datasets/builder.py", line 595, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/Users/bhavitvyamalik/Desktop/work/hf/datasets/src/datasets/builder.py", line 690, in _download_and_prepare
) from None
OSError: Cannot find data file.
Original error:
[Errno 20] Not a directory: '/Users/bhavitvyamalik/.cache/huggingface/datasets/downloads/fc3d70123c9de8407587a59aa426c37819cf2bf016795d33270e8a1d558a34e6/merged_train.json'
```
just before generating the splits. I checked `fc3d70123c9de8407587a59aa426c37819cf2bf016795d33270e8a1d558a34e6` file and it's `7z` zip file (similar to downloaded Google drive file) which means it didn't get unzip. Do I need to unzip it separately and then pass the paths for train,dev,test files in `SplitGenerator`?
## Environment info
- `datasets` version: 1.18.4.dev0
- Platform: Darwin-19.6.0-x86_64-i386-64bit
- Python version: 3.7.8
- PyArrow version: 5.0.0
Initially, I thought of solving this without any external dependency. Almost everywhere I saw `lzma` can be used for this but there is a caveat that lzma doesn’t work with 7z archives but only single files. In my case the 7z archive has multiple files so it didn't work. Is it fine to use external library here? | [
-0.30092987418174744,
-0.22019773721694946,
-0.0685814917087555,
0.5899444222450256,
0.024326421320438385,
0.0799030289053917,
-0.002087540924549103,
0.3769165277481079,
0.3110101819038391,
0.020652778446674347,
-0.0629303827881813,
0.23239123821258545,
0.18731090426445007,
0.13828010857105255,
-0.26686403155326843,
-0.251372754573822,
-0.16699069738388062,
0.03009846806526184,
0.26443472504615784,
0.04549180716276169,
-0.38693344593048096,
0.4558520019054413,
-0.1293438971042633,
-0.12937182188034058,
0.19577378034591675,
-0.2902817130088806,
0.015927964821457863,
0.18700438737869263,
-0.3887917995452881,
-0.20386463403701782,
0.056748807430267334,
0.10151375830173492,
0.3382272720336914,
0.3179360032081604,
-0.00011607744090724736,
-0.05262468010187149,
0.3164040446281433,
-0.12807950377464294,
-0.07024481147527695,
-0.32115739583969116,
-0.3412522077560425,
-0.46783319115638733,
-0.25898364186286926,
-0.21347059309482574,
-0.015548612922430038,
-0.2594684958457947,
-0.12935343384742737,
-0.2814974784851074,
0.6975355744361877,
0.410628080368042,
0.12274761497974396,
0.14477096498012543,
0.15514150261878967,
-0.10879749059677124,
0.3157321512699127,
-0.012878872454166412,
-0.0913306474685669,
0.25532981753349304,
0.48269015550613403,
0.2512109577655792,
0.19600120186805725,
0.007860744372010231,
0.0014855973422527313,
0.09755435585975647,
-0.05905752629041672,
0.29190757870674133,
0.15929798781871796,
-0.3267289698123932,
-0.03690348565578461,
0.0986078679561615,
0.5012187957763672,
0.1583341360092163,
-0.5064577460289001,
-0.1413756012916565,
-0.09844136238098145,
-0.28093385696411133,
0.24762335419654846,
0.3659614026546478,
-0.30065619945526123,
0.18763411045074463,
-0.18205423653125763,
-0.1180071234703064,
-0.14177319407463074,
0.36038273572921753,
0.014471068978309631,
0.23856624960899353,
-0.1607445478439331,
0.09871594607830048,
0.4218288064002991,
0.22299277782440186,
0.29357534646987915,
-0.29206836223602295,
-0.35612156987190247,
-0.05658211186528206,
0.1368616372346878,
0.15815499424934387,
-0.08370281010866165,
-0.3012707829475403,
0.03515108674764633,
0.1484338939189911,
0.18959574401378632,
0.03724732995033264,
-0.24001549184322357,
0.1755688190460205,
0.22749710083007812,
0.3264589309692383,
0.08364793658256531,
0.08592846989631653,
0.2488163858652115,
0.3493582010269165,
0.3569283187389374,
-0.15263140201568604,
0.17762917280197144,
-0.12678629159927368,
-0.17145471274852753,
0.21014449000358582,
0.014097500592470169,
0.055622536689043045,
-0.01123061217367649,
-0.10483544319868088,
-0.2491990327835083,
-0.4026370644569397,
-0.0737825259566307,
-0.06353742629289627,
0.044202353805303574,
-0.14420852065086365,
-0.25469958782196045,
0.6506571173667908,
0.19109956920146942,
-0.29795411229133606,
-0.12236398458480835,
0.45605751872062683,
-0.0632098987698555,
-0.11391105502843857,
0.2995500862598419,
-0.15447469055652618,
0.05170431733131409,
0.12614768743515015,
-0.3652934432029724,
0.013850785791873932,
0.15487347543239594,
-0.14024245738983154,
0.13307666778564453,
0.3094845116138458,
0.47087302803993225,
0.25851327180862427,
-0.023292962461709976,
-0.26649144291877747,
-0.16660210490226746,
-0.02726075053215027,
-0.36954623460769653,
-0.03485146909952164,
-0.019400248304009438,
0.13307015597820282,
-0.34899091720581055,
0.13987436890602112,
-0.3336649537086487,
-0.08073942363262177,
-0.006787888705730438,
0.014191385358572006,
-0.08538373559713364,
-0.14914502203464508,
-0.03620922565460205,
-0.17434486746788025,
-0.13482101261615753,
0.33906930685043335,
-0.4117036461830139,
0.17126646637916565,
-0.6036139726638794,
-0.0012772232294082642,
0.49970710277557373,
0.005014033988118172,
-0.16102151572704315,
0.43662992119789124,
-0.37552449107170105,
0.5758059620857239,
0.3281742036342621,
-0.05861619487404823,
-0.476895272731781,
0.3076454997062683,
0.028363332152366638,
0.43875840306282043,
0.12201303988695145,
0.07668431103229523,
0.1052764430642128,
0.12541192770004272,
0.21306046843528748,
0.10651177912950516,
0.017658134922385216,
-0.22397053241729736,
-0.09641749411821365,
-0.257804811000824,
0.04819633066654205,
0.05605660006403923,
0.12614746391773224,
0.17719480395317078,
0.16982927918434143,
-0.45407336950302124,
0.14711886644363403,
-0.14529740810394287,
0.17794561386108398,
0.36247289180755615,
0.3004072606563568,
-0.007643356919288635,
-0.1273731291294098,
0.253589004278183,
-0.5153429508209229,
0.374653160572052,
-0.3366190195083618,
-0.19201239943504333,
-0.4719378352165222,
0.22979064285755157,
-0.13300570845603943,
-0.2628978192806244,
-0.29230383038520813,
-0.15384317934513092,
0.08724724501371384,
0.12287114560604095,
0.19687198102474213,
-0.09558276832103729,
0.09326368570327759,
0.6606147289276123,
0.3122483193874359,
0.149224653840065,
-0.4796017110347748,
0.3642374575138092,
-0.2532363831996918,
-0.30818668007850647,
0.1091512143611908,
-0.41184136271476746,
0.194679856300354,
-0.3464970886707306,
-0.1153397485613823,
-0.22129857540130615,
0.21569715440273285,
0.004397295415401459,
0.156459778547287,
-0.03627684712409973,
-0.016528135165572166,
-0.004829514771699905,
0.20189249515533447,
0.16003230214118958,
0.06339099258184433,
-0.0005452856421470642,
-0.04971879720687866,
0.19956310093402863,
0.027114704251289368,
-0.07297303527593613,
-0.171931654214859,
0.11601907759904861,
0.31762033700942993,
-0.17061252892017365,
0.31442949175834656,
-0.1526843011379242,
-0.008962657302618027,
0.11641447246074677,
-0.29987871646881104,
-0.35005149245262146,
0.14289362728595734,
-0.03249519318342209,
0.3988579511642456,
0.11519993841648102,
-0.03791653364896774,
0.1482677012681961,
0.1605321168899536,
-0.04718416929244995,
-0.044344790279865265,
0.6498307585716248,
0.4671500325202942,
0.14499936997890472,
0.06178685277700424,
0.008622461929917336,
0.25886455178260803,
-0.12056147307157516,
0.0035786479711532593,
0.2904597520828247,
-0.05169351398944855,
0.2522118389606476,
-0.00224476819857955,
0.15597347915172577,
-0.08140678703784943,
-0.28814005851745605,
0.26846906542778015,
0.30531325936317444,
-0.26335954666137695,
0.1906740963459015,
-0.4160471558570862,
-0.1758609116077423,
0.151239812374115,
0.12348654866218567,
-0.3309110701084137,
-0.44727692008018494,
-0.07621937990188599,
0.5612746477127075,
-0.06273950636386871,
-0.33301880955696106,
0.14801402390003204,
0.031240105628967285,
0.11157003045082092,
-0.13090640306472778,
-0.4002231955528259,
-0.08998259902000427,
-0.0008871108293533325,
0.029890596866607666,
0.25577232241630554,
-0.0708930566906929,
0.17626583576202393,
-0.19811803102493286,
0.03412048891186714,
-0.3635261058807373,
-0.005533196032047272,
0.2261165976524353,
0.012052956968545914,
0.4288240969181061,
0.094317726790905,
0.247770756483078,
-0.08063061535358429,
-0.11184334009885788,
0.08151412755250931,
0.1637628674507141,
-0.4217875897884369,
0.20693235099315643,
-0.09459280222654343,
0.04431447014212608,
-0.29499608278274536,
-0.34082332253456116,
-0.23787902295589447,
-0.44503864645957947,
0.24743686616420746,
0.12013725936412811,
0.0362529419362545,
0.42343977093696594,
0.023797038942575455,
-0.19896557927131653,
0.15268337726593018,
-0.03535541892051697,
-0.23485717177391052,
-0.3446294665336609,
0.4723799228668213,
-0.08781521022319794,
-0.24920417368412018,
0.16524557769298553,
-0.10038649290800095,
0.11236655712127686,
0.26279062032699585,
-0.2117156833410263,
-0.1300659328699112,
-0.3640805184841156,
0.3550090491771698,
-0.20887085795402527,
0.01275573018938303,
0.2300804704427719,
-0.21843624114990234,
-0.03343239799141884,
-0.0318533331155777,
0.12682922184467316,
0.3823736011981964,
0.4789419174194336,
0.3462514579296112,
0.09329703450202942,
-0.07261873781681061,
0.008983466774225235,
0.13684074580669403,
0.1713046133518219,
0.1534128338098526,
0.36648136377334595,
0.16554656624794006,
0.10482068359851837,
-0.002945631742477417,
-0.07960878312587738,
-0.3496382236480713,
-0.16056784987449646,
0.03734391927719116,
0.07238353788852692,
-0.21039032936096191,
0.12552332878112793,
-0.18867243826389313,
0.12027530372142792,
-0.583137571811676,
-0.13806983828544617,
0.11934196203947067,
0.14489075541496277,
-0.1542281210422516,
0.07595720887184143,
0.04883335530757904,
0.03490203246474266,
0.12702521681785583,
-0.07475742697715759,
0.17897820472717285,
0.042984139174222946,
0.20498129725456238,
-0.03659994527697563,
-0.29986363649368286,
-0.2918063700199127,
0.4819929003715515,
0.1634645164012909,
0.11200680583715439,
-0.0580720491707325,
0.24371233582496643,
-0.020953968167304993,
-0.11938323825597763,
0.7049089074134827,
-0.4174145460128784,
-0.010863717645406723,
0.30791136622428894,
-0.1980554610490799,
0.1716584861278534,
-0.25193411111831665,
-0.450045108795166,
-0.028954248875379562,
0.12635545432567596,
0.5204936265945435,
-0.1852797567844391,
-0.07828983664512634,
-0.30079925060272217,
0.26074644923210144,
0.05218028649687767,
-0.192717507481575,
0.1256469041109085,
-0.3617765009403229,
-0.24794025719165802,
-0.25107330083847046,
0.19989104568958282,
0.32035645842552185,
-0.21689766645431519,
-0.020227253437042236,
0.3713165521621704,
-0.14015454053878784,
0.0562572181224823,
-0.03216789290308952,
0.2214747965335846,
-0.011559264734387398,
0.0822441577911377,
0.0009836070239543915,
-0.03697192668914795,
0.23606552183628082,
0.5558788776397705,
0.37557676434516907,
-0.030231311917304993,
0.017886225134134293,
-0.36854246258735657,
-0.07628311961889267,
-0.006239265203475952,
0.0327678918838501,
-0.06720484048128128,
-0.22725677490234375,
0.24615304172039032,
0.10561904311180115,
0.002982764970511198,
0.2712844908237457,
-0.40619876980781555,
-0.07957738637924194,
0.04788597673177719,
0.29219305515289307,
0.1044001430273056,
0.07347123324871063,
0.4316079616546631,
-0.2748613953590393,
-0.13115262985229492,
-0.0618811696767807,
-0.18189552426338196,
0.42886096239089966,
0.17756780982017517,
-0.21689364314079285,
0.20189496874809265,
-0.09271614253520966,
0.32746466994285583,
-0.34578049182891846,
0.2388870120048523,
-0.19655440747737885,
-0.23256485164165497,
-0.09582226723432541,
-0.1764298379421234,
0.3202267587184906,
0.1835232675075531,
-0.15698176622390747,
0.0785561203956604,
-0.2900189757347107,
-0.35775476694107056,
-0.047170959413051605,
0.11483816802501678,
-0.2927521765232086,
-0.15208497643470764,
0.07329054921865463,
0.11066010594367981,
-0.285394549369812,
0.5263331532478333,
0.06064082682132721,
-0.35848456621170044,
-0.5321828722953796,
-0.23818445205688477,
-0.10141723603010178,
0.2137148380279541,
0.05972098186612129,
0.5058441758155823,
0.04272327944636345,
-0.3093440532684326,
0.11946544051170349,
-0.1112610399723053,
0.2981483042240143,
-0.31718599796295166,
-0.26502612233161926,
-0.03514913097023964,
-0.03405541926622391,
-0.21302446722984314,
0.015275952406227589,
-0.10645024478435516,
0.10570140928030014,
-0.181264728307724,
-0.05778250843286514,
-0.048588596284389496,
-0.29845497012138367,
-0.09730138629674911,
0.36187320947647095,
0.013914767652750015,
-0.022297322750091553,
-0.060202255845069885,
-0.1538381576538086,
-0.04068867862224579,
-0.013856010511517525,
-0.10740543901920319,
0.0502728670835495,
0.257388174533844,
-0.2273971140384674,
0.2647625803947449,
-0.3313918709754944,
0.06350576877593994,
-0.1998293697834015,
0.23871147632598877,
0.07220717519521713,
-0.15080013871192932,
0.2100730985403061,
0.23316054046154022,
-0.09511120617389679,
-0.2680654227733612,
0.022069349884986877,
-0.16812941431999207,
-0.24779927730560303,
0.11727414280176163,
-0.15994185209274292,
0.08361464738845825,
0.051631197333335876,
0.3619520962238312,
-0.025897227227687836,
-0.11240840703248978,
0.25491753220558167,
-0.5039477348327637,
-0.1531011164188385,
0.1344490796327591,
-0.22809921205043793,
0.14414140582084656,
0.014684248715639114,
-0.17056988179683685,
0.165161594748497,
0.001311739906668663,
-0.18660949170589447,
0.11767641454935074,
-0.014713820070028305,
0.04368957132101059,
0.28280994296073914,
-0.02343260496854782,
0.30673596262931824,
-0.2470283955335617,
0.011772772297263145,
0.09019294381141663,
-0.24748027324676514,
-0.1293565034866333,
-0.23160748183727264,
0.11325227469205856,
-0.034479692578315735,
-0.09886158257722855,
0.2106848955154419,
-0.07060617208480835,
-0.29206395149230957,
0.09537817537784576,
0.0572696290910244,
0.12327184528112411,
0.07520844042301178,
0.21798960864543915,
0.20584970712661743,
0.15804442763328552,
-0.23895567655563354,
0.10284165292978287,
-0.20349594950675964,
0.42681413888931274,
0.0053831725381314754,
0.21772553026676178,
-0.09217169880867004,
0.06862761080265045,
-0.6342126727104187,
-0.2207828164100647,
-0.26609939336776733,
0.15376661717891693,
0.46157950162887573,
-0.21566252410411835,
0.37551796436309814,
-0.11032561212778091,
0.2550572454929352,
0.3086179494857788,
-0.18589091300964355,
0.026479700580239296,
-0.08350328356027603,
0.15136735141277313,
-0.19993498921394348,
-0.3212865889072418,
0.1604347676038742,
0.07447867095470428,
-0.18279476463794708,
0.12103679776191711,
0.04933914169669151,
0.06326524913311005,
-0.19812260568141937,
-0.06673163920640945,
0.5944404006004333,
0.3388258218765259,
0.2521555721759796,
0.5162737965583801,
-0.02543000876903534,
0.07351761311292648,
0.18069729208946228,
0.17318488657474518,
0.11742369085550308,
0.38942962884902954,
-0.17557477951049805,
-0.13748744130134583,
0.03269220143556595,
0.1088276207447052,
-0.13890305161476135,
-0.7004789113998413,
0.1039784848690033,
0.1291581690311432,
0.3255707919597626,
0.1761576533317566,
0.13045138120651245,
0.2553517520427704,
-0.2310442179441452,
-0.06328977644443512,
-0.39981624484062195,
0.1739986091852188,
0.20682355761528015,
0.36439061164855957,
-0.08792898058891296,
-0.0765843316912651,
-0.34366902709007263,
0.14394456148147583,
0.12108196318149567,
-0.054887719452381134,
0.09892971813678741,
0.20847295224666595,
-0.28678035736083984,
0.2285466194152832,
-0.11855190247297287,
-0.3372727632522583,
-0.159103661775589,
-0.523652195930481,
0.10401777178049088,
0.20205335319042206,
-0.36539843678474426,
-0.0840844213962555,
-0.2156287580728531,
0.49404177069664,
0.03369918838143349,
0.16604679822921753,
-0.15053953230381012,
-0.10776315629482269,
-0.2196594774723053,
-0.13938221335411072,
0.0297450702637434,
0.288337767124176,
0.033695679157972336,
0.34215423464775085,
0.136476531624794,
-0.0690748393535614,
0.19728600978851318,
0.19277700781822205,
0.36849474906921387,
0.0742892324924469,
0.31001797318458557,
-0.0738702341914177,
-0.16451828181743622,
-0.1500847488641739,
-0.32641148567199707,
0.029385723173618317,
-0.026988018304109573,
-0.1509561836719513,
0.11936669051647186,
0.10413675755262375,
0.08907577395439148,
0.03886784240603447,
-0.15330077707767487,
0.27078351378440857,
0.37811198830604553,
-0.32166382670402527,
-0.3747518062591553,
-0.02817700058221817,
-0.31478118896484375,
-0.1693633794784546,
-0.21989360451698303,
0.17740559577941895,
0.015101844444870949,
0.14209720492362976,
-0.03496728837490082,
0.22216446697711945,
0.17828211188316345,
0.2736855447292328,
0.014465288259088993,
0.16225597262382507,
-0.4015006422996521,
-0.30353376269340515,
0.390331506729126,
-0.07206812500953674,
0.09213372319936752,
-0.2479400634765625,
0.17834727466106415,
-0.4111038148403168,
0.06345779448747635,
-0.031362880021333694,
-0.1892070472240448,
0.0449121929705143,
-0.3216874599456787,
0.5818505883216858,
0.22539198398590088,
0.4695299565792084,
-0.0983843207359314,
-0.2431611716747284,
-0.1730097085237503,
0.015569116920232773,
0.06746017187833786,
0.15501873195171356,
0.10203076899051666,
0.7459278106689453,
-0.03182602673768997,
0.4837237596511841,
-0.41761887073516846,
0.18141818046569824,
-0.28945934772491455,
0.04439491778612137,
-0.2154080718755722,
0.2692195177078247,
-0.1033189445734024,
0.1059466153383255,
0.3961372673511505,
-0.15515077114105225,
0.03702175244688988,
-0.035694222897291183,
-0.44422203302383423,
-0.2511765956878662,
0.1784074604511261,
0.10291659832000732,
-0.19935393333435059,
0.2734774351119995,
-0.015363678336143494,
-0.16207453608512878,
-0.02528470568358898,
-0.036723073571920395,
0.1125088557600975,
0.260786771774292,
-0.357099324464798,
-0.0438140407204628,
0.18828798830509186,
0.17565234005451202,
-0.4899441599845886,
0.1965334415435791,
-0.06606686115264893,
0.21457388997077942,
-0.3058132529258728,
0.057246092706918716,
0.20287957787513733
] |
https://github.com/huggingface/datasets/issues/4670 | Can't extract files from `.7z` zipfile using `download_and_extract` | Hi @bhavitvyamalik, thanks for your investigation.
On Monday, I started a PR that will eventually close this issue as well: I'm linking it to this.
- #4672
Let me know what you think. | ## Describe the bug
I'm adding a new dataset which is a `.7z` zip file in Google drive and contains 3 json files inside. I'm able to download the data files using `download_and_extract` but after downloading it throws this error:
```
>>> dataset = load_dataset("./datasets/mantis/")
Using custom data configuration default
Downloading and preparing dataset mantis/default to /Users/bhavitvyamalik/.cache/huggingface/datasets/mantis/default/1.1.0/611affa804ec53e2055a335cc1b8b213bb5a0b5142d919967729d5ee23c6bab4...
Downloading data: 100%|█████████████████████████████████████████████████████████| 77.2M/77.2M [00:23<00:00, 3.28MB/s]
/Users/bhavitvyamalik/.cache/huggingface/datasets/downloads/fc3d70123c9de8407587a59aa426c37819cf2bf016795d33270e8a1d558a34e6
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/bhavitvyamalik/Desktop/work/hf/datasets/src/datasets/load.py", line 1745, in load_dataset
use_auth_token=use_auth_token,
File "/Users/bhavitvyamalik/Desktop/work/hf/datasets/src/datasets/builder.py", line 595, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/Users/bhavitvyamalik/Desktop/work/hf/datasets/src/datasets/builder.py", line 690, in _download_and_prepare
) from None
OSError: Cannot find data file.
Original error:
[Errno 20] Not a directory: '/Users/bhavitvyamalik/.cache/huggingface/datasets/downloads/fc3d70123c9de8407587a59aa426c37819cf2bf016795d33270e8a1d558a34e6/merged_train.json'
```
just before generating the splits. I checked `fc3d70123c9de8407587a59aa426c37819cf2bf016795d33270e8a1d558a34e6` file and it's `7z` zip file (similar to downloaded Google drive file) which means it didn't get unzip. Do I need to unzip it separately and then pass the paths for train,dev,test files in `SplitGenerator`?
## Environment info
- `datasets` version: 1.18.4.dev0
- Platform: Darwin-19.6.0-x86_64-i386-64bit
- Python version: 3.7.8
- PyArrow version: 5.0.0 | 33 | Can't extract files from `.7z` zipfile using `download_and_extract`
## Describe the bug
I'm adding a new dataset which is a `.7z` zip file in Google drive and contains 3 json files inside. I'm able to download the data files using `download_and_extract` but after downloading it throws this error:
```
>>> dataset = load_dataset("./datasets/mantis/")
Using custom data configuration default
Downloading and preparing dataset mantis/default to /Users/bhavitvyamalik/.cache/huggingface/datasets/mantis/default/1.1.0/611affa804ec53e2055a335cc1b8b213bb5a0b5142d919967729d5ee23c6bab4...
Downloading data: 100%|█████████████████████████████████████████████████████████| 77.2M/77.2M [00:23<00:00, 3.28MB/s]
/Users/bhavitvyamalik/.cache/huggingface/datasets/downloads/fc3d70123c9de8407587a59aa426c37819cf2bf016795d33270e8a1d558a34e6
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/bhavitvyamalik/Desktop/work/hf/datasets/src/datasets/load.py", line 1745, in load_dataset
use_auth_token=use_auth_token,
File "/Users/bhavitvyamalik/Desktop/work/hf/datasets/src/datasets/builder.py", line 595, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/Users/bhavitvyamalik/Desktop/work/hf/datasets/src/datasets/builder.py", line 690, in _download_and_prepare
) from None
OSError: Cannot find data file.
Original error:
[Errno 20] Not a directory: '/Users/bhavitvyamalik/.cache/huggingface/datasets/downloads/fc3d70123c9de8407587a59aa426c37819cf2bf016795d33270e8a1d558a34e6/merged_train.json'
```
just before generating the splits. I checked `fc3d70123c9de8407587a59aa426c37819cf2bf016795d33270e8a1d558a34e6` file and it's `7z` zip file (similar to downloaded Google drive file) which means it didn't get unzip. Do I need to unzip it separately and then pass the paths for train,dev,test files in `SplitGenerator`?
## Environment info
- `datasets` version: 1.18.4.dev0
- Platform: Darwin-19.6.0-x86_64-i386-64bit
- Python version: 3.7.8
- PyArrow version: 5.0.0
Hi @bhavitvyamalik, thanks for your investigation.
On Monday, I started a PR that will eventually close this issue as well: I'm linking it to this.
- #4672
Let me know what you think. | [
-0.30092987418174744,
-0.22019773721694946,
-0.0685814917087555,
0.5899444222450256,
0.024326421320438385,
0.0799030289053917,
-0.002087540924549103,
0.3769165277481079,
0.3110101819038391,
0.020652778446674347,
-0.0629303827881813,
0.23239123821258545,
0.18731090426445007,
0.13828010857105255,
-0.26686403155326843,
-0.251372754573822,
-0.16699069738388062,
0.03009846806526184,
0.26443472504615784,
0.04549180716276169,
-0.38693344593048096,
0.4558520019054413,
-0.1293438971042633,
-0.12937182188034058,
0.19577378034591675,
-0.2902817130088806,
0.015927964821457863,
0.18700438737869263,
-0.3887917995452881,
-0.20386463403701782,
0.056748807430267334,
0.10151375830173492,
0.3382272720336914,
0.3179360032081604,
-0.00011607744090724736,
-0.05262468010187149,
0.3164040446281433,
-0.12807950377464294,
-0.07024481147527695,
-0.32115739583969116,
-0.3412522077560425,
-0.46783319115638733,
-0.25898364186286926,
-0.21347059309482574,
-0.015548612922430038,
-0.2594684958457947,
-0.12935343384742737,
-0.2814974784851074,
0.6975355744361877,
0.410628080368042,
0.12274761497974396,
0.14477096498012543,
0.15514150261878967,
-0.10879749059677124,
0.3157321512699127,
-0.012878872454166412,
-0.0913306474685669,
0.25532981753349304,
0.48269015550613403,
0.2512109577655792,
0.19600120186805725,
0.007860744372010231,
0.0014855973422527313,
0.09755435585975647,
-0.05905752629041672,
0.29190757870674133,
0.15929798781871796,
-0.3267289698123932,
-0.03690348565578461,
0.0986078679561615,
0.5012187957763672,
0.1583341360092163,
-0.5064577460289001,
-0.1413756012916565,
-0.09844136238098145,
-0.28093385696411133,
0.24762335419654846,
0.3659614026546478,
-0.30065619945526123,
0.18763411045074463,
-0.18205423653125763,
-0.1180071234703064,
-0.14177319407463074,
0.36038273572921753,
0.014471068978309631,
0.23856624960899353,
-0.1607445478439331,
0.09871594607830048,
0.4218288064002991,
0.22299277782440186,
0.29357534646987915,
-0.29206836223602295,
-0.35612156987190247,
-0.05658211186528206,
0.1368616372346878,
0.15815499424934387,
-0.08370281010866165,
-0.3012707829475403,
0.03515108674764633,
0.1484338939189911,
0.18959574401378632,
0.03724732995033264,
-0.24001549184322357,
0.1755688190460205,
0.22749710083007812,
0.3264589309692383,
0.08364793658256531,
0.08592846989631653,
0.2488163858652115,
0.3493582010269165,
0.3569283187389374,
-0.15263140201568604,
0.17762917280197144,
-0.12678629159927368,
-0.17145471274852753,
0.21014449000358582,
0.014097500592470169,
0.055622536689043045,
-0.01123061217367649,
-0.10483544319868088,
-0.2491990327835083,
-0.4026370644569397,
-0.0737825259566307,
-0.06353742629289627,
0.044202353805303574,
-0.14420852065086365,
-0.25469958782196045,
0.6506571173667908,
0.19109956920146942,
-0.29795411229133606,
-0.12236398458480835,
0.45605751872062683,
-0.0632098987698555,
-0.11391105502843857,
0.2995500862598419,
-0.15447469055652618,
0.05170431733131409,
0.12614768743515015,
-0.3652934432029724,
0.013850785791873932,
0.15487347543239594,
-0.14024245738983154,
0.13307666778564453,
0.3094845116138458,
0.47087302803993225,
0.25851327180862427,
-0.023292962461709976,
-0.26649144291877747,
-0.16660210490226746,
-0.02726075053215027,
-0.36954623460769653,
-0.03485146909952164,
-0.019400248304009438,
0.13307015597820282,
-0.34899091720581055,
0.13987436890602112,
-0.3336649537086487,
-0.08073942363262177,
-0.006787888705730438,
0.014191385358572006,
-0.08538373559713364,
-0.14914502203464508,
-0.03620922565460205,
-0.17434486746788025,
-0.13482101261615753,
0.33906930685043335,
-0.4117036461830139,
0.17126646637916565,
-0.6036139726638794,
-0.0012772232294082642,
0.49970710277557373,
0.005014033988118172,
-0.16102151572704315,
0.43662992119789124,
-0.37552449107170105,
0.5758059620857239,
0.3281742036342621,
-0.05861619487404823,
-0.476895272731781,
0.3076454997062683,
0.028363332152366638,
0.43875840306282043,
0.12201303988695145,
0.07668431103229523,
0.1052764430642128,
0.12541192770004272,
0.21306046843528748,
0.10651177912950516,
0.017658134922385216,
-0.22397053241729736,
-0.09641749411821365,
-0.257804811000824,
0.04819633066654205,
0.05605660006403923,
0.12614746391773224,
0.17719480395317078,
0.16982927918434143,
-0.45407336950302124,
0.14711886644363403,
-0.14529740810394287,
0.17794561386108398,
0.36247289180755615,
0.3004072606563568,
-0.007643356919288635,
-0.1273731291294098,
0.253589004278183,
-0.5153429508209229,
0.374653160572052,
-0.3366190195083618,
-0.19201239943504333,
-0.4719378352165222,
0.22979064285755157,
-0.13300570845603943,
-0.2628978192806244,
-0.29230383038520813,
-0.15384317934513092,
0.08724724501371384,
0.12287114560604095,
0.19687198102474213,
-0.09558276832103729,
0.09326368570327759,
0.6606147289276123,
0.3122483193874359,
0.149224653840065,
-0.4796017110347748,
0.3642374575138092,
-0.2532363831996918,
-0.30818668007850647,
0.1091512143611908,
-0.41184136271476746,
0.194679856300354,
-0.3464970886707306,
-0.1153397485613823,
-0.22129857540130615,
0.21569715440273285,
0.004397295415401459,
0.156459778547287,
-0.03627684712409973,
-0.016528135165572166,
-0.004829514771699905,
0.20189249515533447,
0.16003230214118958,
0.06339099258184433,
-0.0005452856421470642,
-0.04971879720687866,
0.19956310093402863,
0.027114704251289368,
-0.07297303527593613,
-0.171931654214859,
0.11601907759904861,
0.31762033700942993,
-0.17061252892017365,
0.31442949175834656,
-0.1526843011379242,
-0.008962657302618027,
0.11641447246074677,
-0.29987871646881104,
-0.35005149245262146,
0.14289362728595734,
-0.03249519318342209,
0.3988579511642456,
0.11519993841648102,
-0.03791653364896774,
0.1482677012681961,
0.1605321168899536,
-0.04718416929244995,
-0.044344790279865265,
0.6498307585716248,
0.4671500325202942,
0.14499936997890472,
0.06178685277700424,
0.008622461929917336,
0.25886455178260803,
-0.12056147307157516,
0.0035786479711532593,
0.2904597520828247,
-0.05169351398944855,
0.2522118389606476,
-0.00224476819857955,
0.15597347915172577,
-0.08140678703784943,
-0.28814005851745605,
0.26846906542778015,
0.30531325936317444,
-0.26335954666137695,
0.1906740963459015,
-0.4160471558570862,
-0.1758609116077423,
0.151239812374115,
0.12348654866218567,
-0.3309110701084137,
-0.44727692008018494,
-0.07621937990188599,
0.5612746477127075,
-0.06273950636386871,
-0.33301880955696106,
0.14801402390003204,
0.031240105628967285,
0.11157003045082092,
-0.13090640306472778,
-0.4002231955528259,
-0.08998259902000427,
-0.0008871108293533325,
0.029890596866607666,
0.25577232241630554,
-0.0708930566906929,
0.17626583576202393,
-0.19811803102493286,
0.03412048891186714,
-0.3635261058807373,
-0.005533196032047272,
0.2261165976524353,
0.012052956968545914,
0.4288240969181061,
0.094317726790905,
0.247770756483078,
-0.08063061535358429,
-0.11184334009885788,
0.08151412755250931,
0.1637628674507141,
-0.4217875897884369,
0.20693235099315643,
-0.09459280222654343,
0.04431447014212608,
-0.29499608278274536,
-0.34082332253456116,
-0.23787902295589447,
-0.44503864645957947,
0.24743686616420746,
0.12013725936412811,
0.0362529419362545,
0.42343977093696594,
0.023797038942575455,
-0.19896557927131653,
0.15268337726593018,
-0.03535541892051697,
-0.23485717177391052,
-0.3446294665336609,
0.4723799228668213,
-0.08781521022319794,
-0.24920417368412018,
0.16524557769298553,
-0.10038649290800095,
0.11236655712127686,
0.26279062032699585,
-0.2117156833410263,
-0.1300659328699112,
-0.3640805184841156,
0.3550090491771698,
-0.20887085795402527,
0.01275573018938303,
0.2300804704427719,
-0.21843624114990234,
-0.03343239799141884,
-0.0318533331155777,
0.12682922184467316,
0.3823736011981964,
0.4789419174194336,
0.3462514579296112,
0.09329703450202942,
-0.07261873781681061,
0.008983466774225235,
0.13684074580669403,
0.1713046133518219,
0.1534128338098526,
0.36648136377334595,
0.16554656624794006,
0.10482068359851837,
-0.002945631742477417,
-0.07960878312587738,
-0.3496382236480713,
-0.16056784987449646,
0.03734391927719116,
0.07238353788852692,
-0.21039032936096191,
0.12552332878112793,
-0.18867243826389313,
0.12027530372142792,
-0.583137571811676,
-0.13806983828544617,
0.11934196203947067,
0.14489075541496277,
-0.1542281210422516,
0.07595720887184143,
0.04883335530757904,
0.03490203246474266,
0.12702521681785583,
-0.07475742697715759,
0.17897820472717285,
0.042984139174222946,
0.20498129725456238,
-0.03659994527697563,
-0.29986363649368286,
-0.2918063700199127,
0.4819929003715515,
0.1634645164012909,
0.11200680583715439,
-0.0580720491707325,
0.24371233582496643,
-0.020953968167304993,
-0.11938323825597763,
0.7049089074134827,
-0.4174145460128784,
-0.010863717645406723,
0.30791136622428894,
-0.1980554610490799,
0.1716584861278534,
-0.25193411111831665,
-0.450045108795166,
-0.028954248875379562,
0.12635545432567596,
0.5204936265945435,
-0.1852797567844391,
-0.07828983664512634,
-0.30079925060272217,
0.26074644923210144,
0.05218028649687767,
-0.192717507481575,
0.1256469041109085,
-0.3617765009403229,
-0.24794025719165802,
-0.25107330083847046,
0.19989104568958282,
0.32035645842552185,
-0.21689766645431519,
-0.020227253437042236,
0.3713165521621704,
-0.14015454053878784,
0.0562572181224823,
-0.03216789290308952,
0.2214747965335846,
-0.011559264734387398,
0.0822441577911377,
0.0009836070239543915,
-0.03697192668914795,
0.23606552183628082,
0.5558788776397705,
0.37557676434516907,
-0.030231311917304993,
0.017886225134134293,
-0.36854246258735657,
-0.07628311961889267,
-0.006239265203475952,
0.0327678918838501,
-0.06720484048128128,
-0.22725677490234375,
0.24615304172039032,
0.10561904311180115,
0.002982764970511198,
0.2712844908237457,
-0.40619876980781555,
-0.07957738637924194,
0.04788597673177719,
0.29219305515289307,
0.1044001430273056,
0.07347123324871063,
0.4316079616546631,
-0.2748613953590393,
-0.13115262985229492,
-0.0618811696767807,
-0.18189552426338196,
0.42886096239089966,
0.17756780982017517,
-0.21689364314079285,
0.20189496874809265,
-0.09271614253520966,
0.32746466994285583,
-0.34578049182891846,
0.2388870120048523,
-0.19655440747737885,
-0.23256485164165497,
-0.09582226723432541,
-0.1764298379421234,
0.3202267587184906,
0.1835232675075531,
-0.15698176622390747,
0.0785561203956604,
-0.2900189757347107,
-0.35775476694107056,
-0.047170959413051605,
0.11483816802501678,
-0.2927521765232086,
-0.15208497643470764,
0.07329054921865463,
0.11066010594367981,
-0.285394549369812,
0.5263331532478333,
0.06064082682132721,
-0.35848456621170044,
-0.5321828722953796,
-0.23818445205688477,
-0.10141723603010178,
0.2137148380279541,
0.05972098186612129,
0.5058441758155823,
0.04272327944636345,
-0.3093440532684326,
0.11946544051170349,
-0.1112610399723053,
0.2981483042240143,
-0.31718599796295166,
-0.26502612233161926,
-0.03514913097023964,
-0.03405541926622391,
-0.21302446722984314,
0.015275952406227589,
-0.10645024478435516,
0.10570140928030014,
-0.181264728307724,
-0.05778250843286514,
-0.048588596284389496,
-0.29845497012138367,
-0.09730138629674911,
0.36187320947647095,
0.013914767652750015,
-0.022297322750091553,
-0.060202255845069885,
-0.1538381576538086,
-0.04068867862224579,
-0.013856010511517525,
-0.10740543901920319,
0.0502728670835495,
0.257388174533844,
-0.2273971140384674,
0.2647625803947449,
-0.3313918709754944,
0.06350576877593994,
-0.1998293697834015,
0.23871147632598877,
0.07220717519521713,
-0.15080013871192932,
0.2100730985403061,
0.23316054046154022,
-0.09511120617389679,
-0.2680654227733612,
0.022069349884986877,
-0.16812941431999207,
-0.24779927730560303,
0.11727414280176163,
-0.15994185209274292,
0.08361464738845825,
0.051631197333335876,
0.3619520962238312,
-0.025897227227687836,
-0.11240840703248978,
0.25491753220558167,
-0.5039477348327637,
-0.1531011164188385,
0.1344490796327591,
-0.22809921205043793,
0.14414140582084656,
0.014684248715639114,
-0.17056988179683685,
0.165161594748497,
0.001311739906668663,
-0.18660949170589447,
0.11767641454935074,
-0.014713820070028305,
0.04368957132101059,
0.28280994296073914,
-0.02343260496854782,
0.30673596262931824,
-0.2470283955335617,
0.011772772297263145,
0.09019294381141663,
-0.24748027324676514,
-0.1293565034866333,
-0.23160748183727264,
0.11325227469205856,
-0.034479692578315735,
-0.09886158257722855,
0.2106848955154419,
-0.07060617208480835,
-0.29206395149230957,
0.09537817537784576,
0.0572696290910244,
0.12327184528112411,
0.07520844042301178,
0.21798960864543915,
0.20584970712661743,
0.15804442763328552,
-0.23895567655563354,
0.10284165292978287,
-0.20349594950675964,
0.42681413888931274,
0.0053831725381314754,
0.21772553026676178,
-0.09217169880867004,
0.06862761080265045,
-0.6342126727104187,
-0.2207828164100647,
-0.26609939336776733,
0.15376661717891693,
0.46157950162887573,
-0.21566252410411835,
0.37551796436309814,
-0.11032561212778091,
0.2550572454929352,
0.3086179494857788,
-0.18589091300964355,
0.026479700580239296,
-0.08350328356027603,
0.15136735141277313,
-0.19993498921394348,
-0.3212865889072418,
0.1604347676038742,
0.07447867095470428,
-0.18279476463794708,
0.12103679776191711,
0.04933914169669151,
0.06326524913311005,
-0.19812260568141937,
-0.06673163920640945,
0.5944404006004333,
0.3388258218765259,
0.2521555721759796,
0.5162737965583801,
-0.02543000876903534,
0.07351761311292648,
0.18069729208946228,
0.17318488657474518,
0.11742369085550308,
0.38942962884902954,
-0.17557477951049805,
-0.13748744130134583,
0.03269220143556595,
0.1088276207447052,
-0.13890305161476135,
-0.7004789113998413,
0.1039784848690033,
0.1291581690311432,
0.3255707919597626,
0.1761576533317566,
0.13045138120651245,
0.2553517520427704,
-0.2310442179441452,
-0.06328977644443512,
-0.39981624484062195,
0.1739986091852188,
0.20682355761528015,
0.36439061164855957,
-0.08792898058891296,
-0.0765843316912651,
-0.34366902709007263,
0.14394456148147583,
0.12108196318149567,
-0.054887719452381134,
0.09892971813678741,
0.20847295224666595,
-0.28678035736083984,
0.2285466194152832,
-0.11855190247297287,
-0.3372727632522583,
-0.159103661775589,
-0.523652195930481,
0.10401777178049088,
0.20205335319042206,
-0.36539843678474426,
-0.0840844213962555,
-0.2156287580728531,
0.49404177069664,
0.03369918838143349,
0.16604679822921753,
-0.15053953230381012,
-0.10776315629482269,
-0.2196594774723053,
-0.13938221335411072,
0.0297450702637434,
0.288337767124176,
0.033695679157972336,
0.34215423464775085,
0.136476531624794,
-0.0690748393535614,
0.19728600978851318,
0.19277700781822205,
0.36849474906921387,
0.0742892324924469,
0.31001797318458557,
-0.0738702341914177,
-0.16451828181743622,
-0.1500847488641739,
-0.32641148567199707,
0.029385723173618317,
-0.026988018304109573,
-0.1509561836719513,
0.11936669051647186,
0.10413675755262375,
0.08907577395439148,
0.03886784240603447,
-0.15330077707767487,
0.27078351378440857,
0.37811198830604553,
-0.32166382670402527,
-0.3747518062591553,
-0.02817700058221817,
-0.31478118896484375,
-0.1693633794784546,
-0.21989360451698303,
0.17740559577941895,
0.015101844444870949,
0.14209720492362976,
-0.03496728837490082,
0.22216446697711945,
0.17828211188316345,
0.2736855447292328,
0.014465288259088993,
0.16225597262382507,
-0.4015006422996521,
-0.30353376269340515,
0.390331506729126,
-0.07206812500953674,
0.09213372319936752,
-0.2479400634765625,
0.17834727466106415,
-0.4111038148403168,
0.06345779448747635,
-0.031362880021333694,
-0.1892070472240448,
0.0449121929705143,
-0.3216874599456787,
0.5818505883216858,
0.22539198398590088,
0.4695299565792084,
-0.0983843207359314,
-0.2431611716747284,
-0.1730097085237503,
0.015569116920232773,
0.06746017187833786,
0.15501873195171356,
0.10203076899051666,
0.7459278106689453,
-0.03182602673768997,
0.4837237596511841,
-0.41761887073516846,
0.18141818046569824,
-0.28945934772491455,
0.04439491778612137,
-0.2154080718755722,
0.2692195177078247,
-0.1033189445734024,
0.1059466153383255,
0.3961372673511505,
-0.15515077114105225,
0.03702175244688988,
-0.035694222897291183,
-0.44422203302383423,
-0.2511765956878662,
0.1784074604511261,
0.10291659832000732,
-0.19935393333435059,
0.2734774351119995,
-0.015363678336143494,
-0.16207453608512878,
-0.02528470568358898,
-0.036723073571920395,
0.1125088557600975,
0.260786771774292,
-0.357099324464798,
-0.0438140407204628,
0.18828798830509186,
0.17565234005451202,
-0.4899441599845886,
0.1965334415435791,
-0.06606686115264893,
0.21457388997077942,
-0.3058132529258728,
0.057246092706918716,
0.20287957787513733
] |
https://github.com/huggingface/datasets/issues/4668 | Dataset Viewer issue for hungnm/multilingual-amazon-review-sentiment-processed | It seems like a private dataset. The viewer is currently not supported on the private datasets. | ### Link
https://huggingface.co/hungnm/multilingual-amazon-review-sentiment
### Description
_No response_
### Owner
Yes | 16 | Dataset Viewer issue for hungnm/multilingual-amazon-review-sentiment-processed
### Link
https://huggingface.co/hungnm/multilingual-amazon-review-sentiment
### Description
_No response_
### Owner
Yes
It seems like a private dataset. The viewer is currently not supported on the private datasets. | [
-0.38562658429145813,
-0.004425659775733948,
-0.1274886131286621,
0.335946261882782,
-0.08867258578538895,
0.00904032588005066,
0.28803226351737976,
0.19412492215633392,
-0.01653502881526947,
0.06608860194683075,
-0.25731906294822693,
-0.11189071834087372,
-0.006693351082503796,
0.15157796442508698,
-0.12885569036006927,
-0.050144799053668976,
-0.07667071372270584,
-0.01518850028514862,
0.2904297113418579,
0.05807133764028549,
-0.29717081785202026,
0.2101609855890274,
-0.21701398491859436,
0.020287886261940002,
-0.033998459577560425,
-0.3218154311180115,
-0.07103811949491501,
-0.12761270999908447,
-0.24905811250209808,
-0.36766552925109863,
0.04258270561695099,
0.2650505304336548,
-0.11361626535654068,
0.2561703324317932,
-0.00010321827721782029,
0.07029367983341217,
0.3566550016403198,
-0.011918704025447369,
-0.08785861730575562,
-0.11693476140499115,
0.0213375985622406,
-0.02820509299635887,
0.1256953477859497,
-0.1191660687327385,
-0.1345258355140686,
-0.49563726782798767,
0.08316051214933395,
-0.19998814165592194,
0.2528996467590332,
0.2750599980354309,
0.31994885206222534,
0.25590312480926514,
-0.12398509681224823,
-0.07600615173578262,
-0.032738879323005676,
0.18032801151275635,
-0.12838974595069885,
0.05880710110068321,
0.08266057819128036,
0.4437652826309204,
-0.3505710959434509,
0.16609826683998108,
-0.007605407387018204,
0.1579820066690445,
-0.24606263637542725,
-0.24896009266376495,
0.18971163034439087,
-0.2697981297969818,
0.4660094380378723,
0.22491705417633057,
0.8182156085968018,
0.0068464092910289764,
-0.04728963226079941,
-0.060575444251298904,
0.02537722885608673,
-0.11100951582193375,
0.03842220827937126,
0.30334264039993286,
-0.10038480162620544,
0.2626376152038574,
-0.15623979270458221,
-0.00991502683609724,
-0.1274292767047882,
0.1748887598514557,
-0.2869070768356323,
0.016080357134342194,
-0.3710395097732544,
0.055668555200099945,
0.04505804553627968,
-0.23407213389873505,
0.18759822845458984,
0.16135576367378235,
-0.0495903305709362,
-0.06332595646381378,
-0.023633096367120743,
0.019447922706604004,
0.21233850717544556,
0.21252521872520447,
-0.14257308840751648,
-0.020439188927412033,
-0.10088338702917099,
0.3694649338722229,
-0.08851373195648193,
0.2344391644001007,
0.08385281264781952,
0.03758683055639267,
0.1314619928598404,
0.22754158079624176,
0.43329918384552,
-0.0202907957136631,
-0.07030955702066422,
0.10630457103252411,
-0.0877428948879242,
-0.10956814885139465,
-0.050042495131492615,
-0.3056516647338867,
0.0016846954822540283,
-0.09867951273918152,
-0.448218435049057,
0.22780896723270416,
-0.15017050504684448,
0.012188753113150597,
-0.06109793111681938,
0.4802970588207245,
-0.03529518470168114,
0.04537757858633995,
0.06726394593715668,
0.08039602637290955,
-0.046553898602724075,
-0.24842678010463715,
-0.11745942384004593,
0.01713845692574978,
-0.18962109088897705,
-0.16416485607624054,
0.3196394741535187,
0.01032970193773508,
0.23725871741771698,
-0.07527172565460205,
0.09071826934814453,
-0.20590351521968842,
-0.05703011155128479,
-0.1408088207244873,
-0.060399897396564484,
0.1730620265007019,
0.27029258012771606,
0.00003852322697639465,
0.09708109498023987,
-0.019629988819360733,
0.12305361777544022,
0.25272127985954285,
-0.061573706567287445,
-0.03523240238428116,
-0.2077103704214096,
0.27423036098480225,
-0.23942893743515015,
-0.11797875165939331,
0.055059757083654404,
0.25226953625679016,
0.11124993860721588,
-0.03385345637798309,
0.017972446978092194,
-0.005592286586761475,
-0.18009911477565765,
-0.09456797689199448,
-0.20961928367614746,
0.27636855840682983,
-0.6501591801643372,
-0.1367262899875641,
-0.627435028553009,
-0.3261277675628662,
0.17315161228179932,
0.40993279218673706,
-0.1586041897535324,
0.03370697423815727,
-0.251814067363739,
0.18630622327327728,
0.2926490306854248,
-0.04092685505747795,
-0.4725886881351471,
0.285197377204895,
-0.2664934992790222,
0.1255626678466797,
0.15542414784431458,
0.2028321623802185,
0.18293853104114532,
-0.06967931985855103,
-0.054219961166381836,
0.0030271094292402267,
0.31293225288391113,
-0.07709327340126038,
-0.4082224667072296,
-0.1492643654346466,
0.11739975214004517,
0.29421815276145935,
0.28405284881591797,
-0.07631634920835495,
0.15082323551177979,
0.1898621916770935,
0.2951708734035492,
0.14392974972724915,
0.1560230404138565,
-0.11764124035835266,
0.12359040975570679,
0.18420711159706116,
0.08117761462926865,
-0.15532559156417847,
-0.16523778438568115,
0.009353484958410263,
-0.3787117600440979,
0.1941516399383545,
-0.03311946988105774,
-0.15549463033676147,
-0.4330016076564789,
-0.1079878881573677,
-0.34938889741897583,
-0.1485273391008377,
0.3616020679473877,
0.17874278128147125,
-0.4108821749687195,
0.24769960343837738,
-0.11315582692623138,
0.07675006985664368,
-0.04945039376616478,
-0.10450126230716705,
0.2482360303401947,
0.15695415437221527,
-0.1509263813495636,
-0.054436467587947845,
0.29047608375549316,
0.2625807821750641,
0.11131006479263306,
0.10774664580821991,
0.07779337465763092,
0.14285412430763245,
-0.27007102966308594,
0.3641780614852905,
0.10197833925485611,
0.04457476735115051,
0.011526497080922127,
-0.4542646110057831,
0.26892995834350586,
0.17848283052444458,
-0.022449877113103867,
-0.09539410471916199,
-0.3872731626033783,
0.46636295318603516,
0.21108880639076233,
-0.08486417680978775,
-0.03013785555958748,
0.11371665447950363,
0.263607382774353,
0.01566411927342415,
0.05705494433641434,
-0.5474334955215454,
0.34726959466934204,
-0.13787434995174408,
0.38369184732437134,
0.06394129991531372,
-0.2995322346687317,
0.284041166305542,
0.34518879652023315,
0.26051679253578186,
0.3866971731185913,
0.06739974766969681,
-0.03730045258998871,
-0.20616555213928223,
-0.10909470915794373,
0.10671880841255188,
0.20321276783943176,
0.2500191330909729,
0.0819849818944931,
0.30675309896469116,
0.15381936728954315,
-0.309968501329422,
0.07461580634117126,
-0.04830244183540344,
0.13267743587493896,
0.3965776264667511,
0.2900894582271576,
-0.1327691227197647,
-0.41283169388771057,
0.13544826209545135,
0.18164995312690735,
0.2959652245044708,
-0.32862862944602966,
-0.14551888406276703,
-0.38779717683792114,
-0.40143826603889465,
-0.09308779984712601,
0.12857826054096222,
-0.21677732467651367,
-0.3995959162712097,
0.1839320808649063,
-0.13002264499664307,
0.0030770227313041687,
-0.07679340243339539,
-0.22052019834518433,
0.3481847941875458,
0.05490202456712723,
0.25882020592689514,
-0.17837271094322205,
-0.20959655940532684,
-0.13668733835220337,
0.22877109050750732,
0.38162028789520264,
0.15118129551410675,
0.4459956884384155,
-0.11117943376302719,
0.1890876442193985,
-0.2575457692146301,
-0.2938511073589325,
0.16396096348762512,
-0.16049818694591522,
0.19381071627140045,
0.14237186312675476,
0.10038311779499054,
-0.26845210790634155,
-0.0040020328015089035,
0.02550780400633812,
0.1649734079837799,
-0.08362893015146255,
-0.16306079924106598,
0.06568808108568192,
-0.17179171741008759,
-0.0747048556804657,
-0.28447145223617554,
-0.3212413489818573,
-0.46379080414772034,
0.4221283793449402,
-0.14917516708374023,
0.18994198739528656,
-0.2227712720632553,
-0.2634201943874359,
0.2884611189365387,
0.1352180391550064,
-0.07245707511901855,
-0.33260488510131836,
-0.29209011793136597,
0.29555627703666687,
-0.6030528545379639,
-0.37507081031799316,
0.31781673431396484,
0.3720942735671997,
0.39732107520103455,
-0.24618609249591827,
-0.5935214757919312,
0.3955704867839813,
0.03829335421323776,
0.3295386731624603,
0.41399577260017395,
-0.3562152683734894,
0.2641286253929138,
0.024177823215723038,
-0.2363930493593216,
-0.38120418787002563,
-0.16309301555156708,
0.0939449891448021,
-0.2590198814868927,
0.129065603017807,
-0.1870977282524109,
-0.015589311718940735,
0.272653192281723,
0.43057316541671753,
0.010511297732591629,
0.1183948814868927,
0.1239955946803093,
0.19837050139904022,
0.4007018804550171,
0.040849070996046066,
-0.2916952967643738,
0.09164650738239288,
-0.1016305685043335,
0.08682674169540405,
0.5073769688606262,
-0.1332109570503235,
-0.5890862345695496,
-0.2841266393661499,
-0.4443027973175049,
-0.26704439520835876,
-0.22862854599952698,
-0.0718742311000824,
-0.24104326963424683,
0.2803475856781006,
0.05088336393237114,
-0.15582264959812164,
0.018929332494735718,
-0.16353192925453186,
-0.1565602570772171,
0.11453047394752502,
-0.08548783510923386,
-0.06366296112537384,
-0.20002982020378113,
-0.09380855411291122,
0.005323916673660278,
0.24501506984233856,
-0.058748289942741394,
0.3709765672683716,
-0.3823801279067993,
0.2500729560852051,
0.35031992197036743,
-0.1418895423412323,
0.35761547088623047,
-0.3331661522388458,
0.13004781305789948,
0.14184781908988953,
0.0706009790301323,
-0.2833184003829956,
0.049777764827013016,
-0.19891218841075897,
0.327518105506897,
0.0647648274898529,
0.1259390413761139,
-0.0752154141664505,
-0.05577491596341133,
0.27902376651763916,
-0.34113946557044983,
-0.2930697500705719,
-0.39025214314460754,
-0.1919153928756714,
-0.13849294185638428,
-0.1271047592163086,
0.1687227189540863,
0.06792187690734863,
0.03990206867456436,
-0.2852431535720825,
0.03369514271616936,
-0.11795566976070404,
0.007826130837202072,
0.12652605772018433,
0.06140356883406639,
-0.005429424345493317,
0.0781792402267456,
-0.06985560059547424,
0.23703642189502716,
0.3380737602710724,
0.1481192708015442,
0.45479196310043335,
0.0021053776144981384,
-0.20573091506958008,
0.3196454346179962,
-0.45897990465164185,
0.055375538766384125,
0.363751083612442,
0.04035176709294319,
-0.023047924041748047,
0.39933302998542786,
0.04951419681310654,
0.22760719060897827,
-0.10051751881837845,
0.38263148069381714,
-0.11286111921072006,
-0.27065911889076233,
-0.13178525865077972,
0.3880431354045868,
-0.0026396457105875015,
0.020828746259212494,
-0.23367351293563843,
0.26551422476768494,
-0.11547573655843735,
0.13474133610725403,
0.2257499098777771,
0.9438123106956482,
0.18696174025535583,
-0.09380301833152771,
0.24406737089157104,
-0.2588141858577728,
-0.1444450467824936,
-0.25690534710884094,
0.05627242848277092,
-0.1465734839439392,
0.2152906060218811,
-0.08747008442878723,
-0.011865425854921341,
0.34770411252975464,
0.018561378121376038,
-0.3258109986782074,
-0.2097591906785965,
0.017219990491867065,
-0.4181880056858063,
0.07195014506578445,
0.10115601122379303,
-0.063254714012146,
-0.05129970237612724,
-0.271168053150177,
0.20999017357826233,
-0.05261678993701935,
0.09776319563388824,
-0.10256103426218033,
-0.15165585279464722,
-0.04280503839254379,
0.04783182591199875,
-0.6175749897956848,
-0.2133016586303711,
0.003410705830901861,
0.043861858546733856,
-0.15388067066669464,
0.09753066301345825,
0.4576593041419983,
0.22089537978172302,
0.17678767442703247,
0.13777732849121094,
-0.33903831243515015,
0.22280827164649963,
0.05316318944096565,
-0.21350809931755066,
0.11849738657474518,
-0.0422196201980114,
0.348801851272583,
-0.3190852105617523,
-0.3160567283630371,
0.15291085839271545,
0.03150461986660957,
0.16568422317504883,
-0.40326815843582153,
0.13959822058677673,
-0.028462953865528107,
-0.12104924023151398,
-0.1846693754196167,
-0.15311595797538757,
-0.19025470316410065,
-0.28597140312194824,
0.22060781717300415,
-0.0444340705871582,
-0.12648433446884155,
0.10575810819864273,
-0.12088152766227722,
-0.1844451129436493,
-0.02635478600859642,
0.507088840007782,
0.3337935507297516,
-0.2739449441432953,
0.29796114563941956,
0.31411775946617126,
-0.5322532653808594,
-0.317371129989624,
0.03495150804519653,
0.08666327595710754,
-0.4575880467891693,
0.1608722060918808,
-0.061704207211732864,
-0.04065076261758804,
0.001044764881953597,
0.24343819916248322,
-0.1271510124206543,
0.09930866956710815,
-0.24953164160251617,
-0.43709734082221985,
0.04451543092727661,
0.05287014693021774,
0.020039595663547516,
0.034507639706134796,
0.006250165402889252,
-0.005718398839235306,
0.3724653124809265,
0.0724918395280838,
-0.4239521920681,
0.06320559233427048,
-0.22629281878471375,
0.0011337101459503174,
-0.08854889869689941,
-0.1342809498310089,
0.031801071017980576,
0.19276179373264313,
0.13181903958320618,
0.2869504690170288,
-0.35212305188179016,
-0.2860228717327118,
-0.00342731736600399,
0.10684898495674133,
0.156380295753479,
0.07269994914531708,
0.29621970653533936,
-0.02555754780769348,
-0.22009165585041046,
0.3033777177333832,
0.09908951818943024,
0.09950200468301773,
-0.05179864913225174,
-0.034939732402563095,
0.05886082351207733,
0.10232855379581451,
0.18726293742656708,
0.08018743991851807,
0.14223727583885193,
0.08268672972917557,
-0.18102869391441345,
-0.0556844100356102,
-0.11850500851869583,
-0.07512395083904266,
0.27234122157096863,
-0.010808102786540985,
0.2907983064651489,
0.24584472179412842,
0.3827299177646637,
-0.4019901752471924,
0.25581130385398865,
0.07177741080522537,
0.2719302475452423,
0.23430131375789642,
-0.1399894654750824,
-0.19318519532680511,
0.3855898082256317,
0.2420118749141693,
-0.552329421043396,
0.12796638906002045,
0.29916176199913025,
-0.10108154267072678,
0.07269182801246643,
0.06234811991453171,
0.27909696102142334,
-0.07478275150060654,
0.11088183522224426,
0.1624729335308075,
0.43649527430534363,
-0.6407566666603088,
0.0067089032381772995,
0.2831818163394928,
-0.1516769975423813,
0.1787470579147339,
0.345036119222641,
0.27584442496299744,
0.052042316645383835,
0.4945565462112427,
-0.02937392145395279,
0.3135932683944702,
0.27269020676612854,
0.23941539227962494,
0.24729788303375244,
0.004190664738416672,
0.338990181684494,
0.2883291244506836,
-0.24071642756462097,
0.21676301956176758,
-0.09113015234470367,
0.449562668800354,
0.16996625065803528,
0.14323143661022186,
-0.12666817009449005,
0.34066763520240784,
-0.22376981377601624,
0.08914725482463837,
-0.3190811574459076,
-0.30858349800109863,
-0.34631168842315674,
-0.018602339550852776,
-0.19439926743507385,
0.039792709052562714,
-0.3648543357849121,
0.22477848827838898,
-0.0711311399936676,
-0.5086919665336609,
-0.13110783696174622,
-0.27616947889328003,
0.09551011025905609,
-0.2751687467098236,
0.15399214625358582,
0.27933382987976074,
0.06642411649227142,
0.11496572196483612,
0.49000129103660583,
0.17415784299373627,
0.22238779067993164,
-0.04521171376109123,
-0.17977343499660492,
-0.1365557760000229,
-0.1267561912536621,
-0.030275696888566017,
0.24382524192333221,
0.3920050263404846,
0.2690856456756592,
0.143687441945076,
0.16413304209709167,
-0.23205514252185822,
0.40367376804351807,
0.0564403161406517,
0.3148478865623474,
-0.1694413274526596,
-0.10386698693037033,
-0.4463947117328644,
-0.0899028331041336,
-0.28133293986320496,
-0.3569389581680298,
-0.5168343186378479,
-0.01391392108052969,
0.16234314441680908,
-0.09557019174098969,
0.11745666712522507,
-0.39120885729789734,
0.1617402285337448,
-0.036055903881788254,
0.6032385230064392,
0.2398327887058258,
0.02888021618127823,
0.08841926604509354,
-0.21235060691833496,
-0.6534382104873657,
0.3641367554664612,
0.24685874581336975,
-0.10231815278530121,
-0.10176407545804977,
0.1563677340745926,
0.02489890158176422,
0.23095642030239105,
0.03461784869432449,
-0.05183938145637512,
-0.09299729764461517,
0.26939958333969116,
-0.19209423661231995,
0.21096567809581757,
0.2033156007528305,
0.1169186681509018,
-0.12794360518455505,
0.039076171815395355,
0.19469523429870605,
0.13245747983455658,
0.1460724174976349,
-0.3169318437576294,
-0.2372632473707199,
-0.21182331442832947,
0.086886465549469,
0.17326654493808746,
0.017770346254110336,
0.22820305824279785,
0.021492164582014084,
-0.005889132618904114,
-0.3369283974170685,
0.01267294492572546,
0.06393779814243317,
0.20172712206840515,
0.5341173410415649,
0.5032198429107666,
-0.1586151272058487,
0.034585755318403244,
0.06108716502785683,
-0.1906219869852066,
-0.13687041401863098,
0.095894455909729,
-0.019925745204091072,
-0.23480424284934998,
0.06347174942493439,
0.010275593027472496,
0.0365975983440876,
0.08510255813598633,
0.1372511386871338,
-0.1939510554075241,
-0.3651309013366699,
-0.28744444251060486,
0.3569619059562683,
-0.4112410545349121,
-0.2893579602241516,
0.0970960184931755,
0.1518724262714386,
0.04994454234838486,
-0.3367726504802704,
-0.10362298786640167,
0.12739026546478271,
0.3778073191642761,
0.03330228850245476,
0.2926642596721649,
0.0906548798084259,
-0.24580702185630798,
-0.03387312591075897,
-0.19471198320388794,
0.08837579935789108,
0.2575838267803192,
-0.039717357605695724,
-0.012225771322846413,
-0.19125263392925262
] |
https://github.com/huggingface/datasets/issues/4666 | Issues with concatenating datasets | Hi! I agree we should improve the features equality checks to account for this particular case. However, your code fails due to `answer_start` having the dtype `int64` instead of `int32` after loading from JSON (it's not possible to embed type precision info into a JSON file; `save_to_disk` does that for arrow files), which would lead to the concatenation error as PyArrow does not support this sort of type promotion. This can be fixed as follows:
```python
temp = load_dataset("json", data_files={"train": "output.jsonl"}, features=squad["train"].features)
``` | ## Describe the bug
It is impossible to concatenate datasets if a feature is sequence of dict in one dataset and a dict of sequence in another. But based on the document, it should be automatically converted.
> A [datasets.Sequence](https://huggingface.co/docs/datasets/v2.3.2/en/package_reference/main_classes#datasets.Sequence) with a internal dictionary feature will be automatically converted into a dictionary of lists. This behavior is implemented to have a compatilbity layer with the TensorFlow Datasets library but may be un-wanted in some cases. If you don’t want this behavior, you can use a python list instead of the [datasets.Sequence](https://huggingface.co/docs/datasets/v2.3.2/en/package_reference/main_classes#datasets.Sequence).
## Steps to reproduce the bug
```python
from datasets import concatenate_datasets, load_dataset
squad = load_dataset("squad_v2")
squad["train"].to_json("output.jsonl", lines=True)
temp = load_dataset("json", data_files={"train": "output.jsonl"})
concatenate_datasets([temp["train"], squad["train"]])
```
## Expected results
No error executing that code
## Actual results
```
ValueError: The features can't be aligned because the key answers of features {'id': Value(dtype='string', id=None), 'title': Value(dtype='string', id=None), 'context': Value(dtype='string', id=None), 'question': Value(dtype='string', id=None), 'answers': Sequence(feature={'text': Value(dtype='string', id=None), 'answer_start': Value(dtype='int32', id=None)}, length=-1, id=None)} has unexpected type - Sequence(feature={'text': Value(dtype='string', id=None), 'answer_start': Value(dtype='int32', id=None)}, length=-1, id=None) (expected either {'text': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'answer_start': Sequence(feature=Value(dtype='int64', id=None), length=-1, id=None)} or Value("null").
```
## Environment info
- `datasets` version: 2.3.2
- Platform: macOS-12.4-arm64-arm-64bit
- Python version: 3.8.11
- PyArrow version: 6.0.1
- Pandas version: 1.3.5
| 83 | Issues with concatenating datasets
## Describe the bug
It is impossible to concatenate datasets if a feature is sequence of dict in one dataset and a dict of sequence in another. But based on the document, it should be automatically converted.
> A [datasets.Sequence](https://huggingface.co/docs/datasets/v2.3.2/en/package_reference/main_classes#datasets.Sequence) with a internal dictionary feature will be automatically converted into a dictionary of lists. This behavior is implemented to have a compatilbity layer with the TensorFlow Datasets library but may be un-wanted in some cases. If you don’t want this behavior, you can use a python list instead of the [datasets.Sequence](https://huggingface.co/docs/datasets/v2.3.2/en/package_reference/main_classes#datasets.Sequence).
## Steps to reproduce the bug
```python
from datasets import concatenate_datasets, load_dataset
squad = load_dataset("squad_v2")
squad["train"].to_json("output.jsonl", lines=True)
temp = load_dataset("json", data_files={"train": "output.jsonl"})
concatenate_datasets([temp["train"], squad["train"]])
```
## Expected results
No error executing that code
## Actual results
```
ValueError: The features can't be aligned because the key answers of features {'id': Value(dtype='string', id=None), 'title': Value(dtype='string', id=None), 'context': Value(dtype='string', id=None), 'question': Value(dtype='string', id=None), 'answers': Sequence(feature={'text': Value(dtype='string', id=None), 'answer_start': Value(dtype='int32', id=None)}, length=-1, id=None)} has unexpected type - Sequence(feature={'text': Value(dtype='string', id=None), 'answer_start': Value(dtype='int32', id=None)}, length=-1, id=None) (expected either {'text': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'answer_start': Sequence(feature=Value(dtype='int64', id=None), length=-1, id=None)} or Value("null").
```
## Environment info
- `datasets` version: 2.3.2
- Platform: macOS-12.4-arm64-arm-64bit
- Python version: 3.8.11
- PyArrow version: 6.0.1
- Pandas version: 1.3.5
Hi! I agree we should improve the features equality checks to account for this particular case. However, your code fails due to `answer_start` having the dtype `int64` instead of `int32` after loading from JSON (it's not possible to embed type precision info into a JSON file; `save_to_disk` does that for arrow files), which would lead to the concatenation error as PyArrow does not support this sort of type promotion. This can be fixed as follows:
```python
temp = load_dataset("json", data_files={"train": "output.jsonl"}, features=squad["train"].features)
``` | [
0.04380028322339058,
-0.4440591037273407,
-0.01506867352873087,
0.2802368104457855,
0.19299142062664032,
0.18252399563789368,
0.04831010475754738,
0.34112653136253357,
-0.15827949345111847,
-0.023794442415237427,
-0.01996341533958912,
0.40773117542266846,
0.11513891071081161,
0.38394197821617126,
-0.20271120965480804,
-0.12654457986354828,
0.1866522580385208,
-0.004851870238780975,
-0.1065278947353363,
0.0835736095905304,
-0.2948237657546997,
0.39352208375930786,
-0.2721402645111084,
-0.12614038586616516,
-0.25569477677345276,
0.11991573870182037,
-0.1928987354040146,
-0.020844578742980957,
0.0092130396515131,
-0.2612763047218323,
0.27505984902381897,
0.11694550514221191,
0.07649913430213928,
0.38600772619247437,
-0.00010829928214661777,
-0.04718608409166336,
0.29082104563713074,
-0.08610610663890839,
-0.23800034821033478,
-0.49048393964767456,
-0.28630998730659485,
-0.2839674651622772,
0.3041839897632599,
-0.15348310768604279,
-0.11012523621320724,
-0.1898902952671051,
-0.10558730363845825,
-0.27219316363334656,
0.6161855459213257,
0.228702113032341,
0.2414887398481369,
0.15438853204250336,
0.2623073160648346,
-0.2632938325405121,
-0.051078714430332184,
0.1998579502105713,
-0.12395407259464264,
0.07589887082576752,
0.0038413330912590027,
0.10920337587594986,
0.28704318404197693,
0.2795882225036621,
0.13269181549549103,
-0.20341265201568604,
0.2879321873188019,
0.31971022486686707,
-0.13417184352874756,
-0.40976569056510925,
-0.1260102391242981,
0.2094024419784546,
0.37747862935066223,
-0.2906154692173004,
-0.37362372875213623,
-0.40526530146598816,
0.1607658416032791,
-0.26589611172676086,
0.25872617959976196,
0.03467106074094772,
-0.026022236794233322,
0.08497309684753418,
-0.11562825739383698,
0.15396000444889069,
-0.20120759308338165,
0.1526261866092682,
0.03926383703947067,
0.08108330518007278,
-0.14849945902824402,
-0.06565309315919876,
-0.010898459702730179,
-0.3823457956314087,
-0.11660006642341614,
-0.312740296125412,
-0.027860749512910843,
0.12441123276948929,
-0.4446004629135132,
-0.16169866919517517,
-0.014375343918800354,
-0.3495052754878998,
0.32730191946029663,
0.017030077055096626,
-0.0978235974907875,
-0.002268914133310318,
-0.06686475872993469,
-0.0043070316314697266,
0.24085161089897156,
0.38592657446861267,
0.3196951448917389,
0.10848069190979004,
-0.0975150316953659,
0.25281333923339844,
0.08785389363765717,
0.1491931527853012,
0.07763714343309402,
-0.1906774789094925,
-0.201910600066185,
-0.04355292767286301,
0.41172754764556885,
-0.019787490367889404,
-0.1590292751789093,
0.17691920697689056,
-0.28691306710243225,
0.06768414378166199,
-0.15740683674812317,
0.1147962287068367,
-0.3153926134109497,
0.14882223308086395,
0.2585047483444214,
0.3411288261413574,
0.11429586261510849,
0.16119399666786194,
-0.1423192322254181,
-0.09672349691390991,
-0.035444118082523346,
-0.055451199412345886,
-0.02975725382566452,
-0.11654597520828247,
0.04805119335651398,
0.2672053575515747,
0.22321337461471558,
-0.09537504613399506,
-0.2779005169868469,
-0.001379501074552536,
0.10032346844673157,
-0.04395763948559761,
0.01405741274356842,
0.04796531796455383,
0.08855219185352325,
-0.26078295707702637,
-0.05454624816775322,
-0.20068591833114624,
-0.26607388257980347,
-0.015752263367176056,
-0.25794652104377747,
0.2880306541919708,
-0.1550096869468689,
0.05554889887571335,
-0.12202473729848862,
0.4588356912136078,
0.19325439631938934,
0.17444565892219543,
-0.1399141550064087,
-0.13128121197223663,
-0.2992193400859833,
-0.20479127764701843,
0.2316146194934845,
0.17813143134117126,
-0.09111110866069794,
-0.11771342903375626,
0.36083200573921204,
0.07121935486793518,
0.10512972623109818,
0.3204585611820221,
0.09507045149803162,
0.12464261054992676,
-0.2793947756290436,
0.21791581809520721,
0.16186875104904175,
-0.4507395625114441,
-0.07211367040872574,
0.10217100381851196,
-0.1619998961687088,
0.3576858639717102,
0.0046051666140556335,
-0.10064499080181122,
0.156532883644104,
0.08020688593387604,
0.589533805847168,
0.4065026044845581,
0.028305215761065483,
-0.13128460943698883,
-0.15142002701759338,
-0.18743407726287842,
0.23738522827625275,
-0.11955234408378601,
-0.44213685393333435,
0.190094456076622,
-0.19386956095695496,
-0.045687418431043625,
0.23314297199249268,
-0.1645563542842865,
-0.013747148215770721,
0.3295769691467285,
0.12234944105148315,
0.24145178496837616,
0.06678150594234467,
-0.022654710337519646,
-0.8783260583877563,
0.029000766575336456,
-0.03559914976358414,
0.15770351886749268,
-0.24127711355686188,
-0.19065004587173462,
-0.047774918377399445,
-0.022738264873623848,
-0.2993868291378021,
-0.08907844126224518,
0.18279466032981873,
0.02551180124282837,
0.145796999335289,
0.00878436490893364,
-0.20765183866024017,
0.358856737613678,
-0.1133485808968544,
0.07389757037162781,
-0.6304876804351807,
0.31595996022224426,
-0.01802113838493824,
0.013601690530776978,
0.08236220479011536,
0.42137235403060913,
0.048624925315380096,
-0.06075979396700859,
-0.10129781067371368,
0.18713071942329407,
-0.05565273389220238,
0.052972227334976196,
-0.10271630436182022,
-0.10208819806575775,
0.19923122227191925,
-0.1352231502532959,
-0.34465843439102173,
0.1512552946805954,
-0.09903860837221146,
-0.12900587916374207,
-0.4314117729663849,
0.5052579045295715,
0.039084240794181824,
0.3959534764289856,
-0.09211476147174835,
0.0384373813867569,
0.24361035227775574,
-0.03743951767683029,
-0.30515074729919434,
-0.2380601465702057,
0.28493571281433105,
0.001854410395026207,
0.01713431254029274,
0.08904697746038437,
-0.5768578052520752,
0.14557774364948273,
0.5549690127372742,
0.14738459885120392,
-0.02163446694612503,
0.2466980218887329,
-0.06341826170682907,
-0.03189108893275261,
-0.08268027752637863,
0.03032321110367775,
0.2571737468242645,
0.2297200858592987,
-0.11970612406730652,
0.31599313020706177,
-0.13374631106853485,
-0.1496591717004776,
0.022526361048221588,
0.005251474678516388,
0.198752760887146,
0.41870251297950745,
0.4040541350841522,
0.17250272631645203,
-0.0821334570646286,
-0.05968489870429039,
-0.204257994890213,
-0.03883440047502518,
-0.36285531520843506,
0.032549336552619934,
-0.3559320271015167,
-0.17324748635292053,
-0.09448499977588654,
-0.2769453227519989,
-0.333613783121109,
-0.40567195415496826,
-0.047963134944438934,
0.17565283179283142,
-0.19296380877494812,
0.22665317356586456,
0.361550509929657,
0.1032538190484047,
0.1903272271156311,
-0.169655904173851,
-0.15604515373706818,
0.04862406849861145,
-0.07980813086032867,
0.10336056351661682,
0.14686504006385803,
-0.20274552702903748,
0.2190420776605606,
-0.21215875446796417,
-0.252784788608551,
-0.2854662239551544,
-0.30645453929901123,
0.12807726860046387,
-0.33704495429992676,
0.08196191489696503,
0.23316016793251038,
0.11753522604703903,
-0.09373362362384796,
-0.4176057279109955,
0.3907366991043091,
0.4123913049697876,
-0.4051336646080017,
0.2046390324831009,
0.12920670211315155,
-0.020383760333061218,
-0.25173768401145935,
-0.5372361540794373,
-0.09386390447616577,
-0.3578866422176361,
0.5400576591491699,
0.09690028429031372,
0.12989525496959686,
0.49148592352867126,
0.129693865776062,
0.05332070216536522,
-0.19865839183330536,
0.13774846494197845,
-0.2668108642101288,
-0.11210550367832184,
0.44622862339019775,
-0.25947120785713196,
-0.5673683285713196,
-0.1466190665960312,
-0.11839478462934494,
0.10916025936603546,
-0.13448260724544525,
-0.21419142186641693,
-0.2727262079715729,
-0.15804606676101685,
0.2993106245994568,
-0.13851220905780792,
0.042975135147571564,
0.20330339670181274,
-0.0024490877985954285,
-0.0541154146194458,
-0.10251352936029434,
-0.07440217584371567,
0.31753024458885193,
0.2833195924758911,
0.23968124389648438,
0.025080127641558647,
0.4921349883079529,
-0.09755422174930573,
0.3803001046180725,
0.6746817231178284,
-0.17865106463432312,
0.04623038321733475,
-0.11215219646692276,
0.20466260612010956,
-0.2747604250907898,
-0.26374971866607666,
-0.12022345513105392,
-0.11488452553749084,
0.1926255077123642,
0.1465357393026352,
-0.05606979876756668,
0.19703182578086853,
-0.08976477384567261,
0.4582832157611847,
-0.08887942135334015,
-0.20563356578350067,
0.02489020861685276,
-0.18700307607650757,
0.03530371934175491,
0.029529165476560593,
-0.05349821597337723,
-0.03785819560289383,
-0.027436012402176857,
-0.12078535556793213,
0.07496538758277893,
0.06487694382667542,
-0.042887818068265915,
-0.6154634952545166,
-0.22942832112312317,
-0.5934533476829529,
0.21104371547698975,
0.24838408827781677,
0.31567704677581787,
-0.015008658170700073,
-0.12398260086774826,
-0.0770794153213501,
0.0002685044892132282,
0.7363011837005615,
0.009719565510749817,
-0.40848374366760254,
0.12018060684204102,
-0.14765366911888123,
-0.33082640171051025,
-0.12347149848937988,
-0.07557980716228485,
0.08366784453392029,
0.1611003875732422,
0.6201531887054443,
-0.42199498414993286,
-0.15390466153621674,
-0.05252780020236969,
0.1356433779001236,
-0.033268705010414124,
-0.1259627491235733,
-0.17200326919555664,
-0.061017297208309174,
-0.4656093120574951,
-0.2605006992816925,
0.15524429082870483,
0.3944946527481079,
-0.10509513318538666,
-0.37861472368240356,
0.04035849869251251,
-0.13486284017562866,
0.1856468915939331,
0.001290762796998024,
0.41488754749298096,
0.22610197961330414,
0.2289368212223053,
0.05642113462090492,
0.32983022928237915,
0.05664430558681488,
0.33697283267974854,
0.18185392022132874,
-0.6014984250068665,
-0.05283414572477341,
-0.1725265383720398,
0.2211858332157135,
0.13543175160884857,
-0.08269762992858887,
0.24458879232406616,
-0.13387855887413025,
0.2964114248752594,
-0.2919631004333496,
0.11959116160869598,
0.570807695388794,
0.2570350170135498,
-0.39795488119125366,
-0.27549242973327637,
0.3439706265926361,
0.04161721095442772,
0.09856149554252625,
0.14106866717338562,
0.022559672594070435,
-0.2729456126689911,
0.15670379996299744,
-0.12900874018669128,
0.7771771550178528,
0.21665449440479279,
0.2428441047668457,
0.519450843334198,
0.07538633048534393,
0.8964992761611938,
-0.06197758764028549,
0.16782595217227936,
-0.19398942589759827,
-0.0636974573135376,
-0.07202060520648956,
-0.24881301820278168,
-0.09652779251337051,
-0.1794378012418747,
-0.4219829738140106,
0.25898095965385437,
-0.3791006803512573,
0.19749993085861206,
-0.18379667401313782,
0.20810860395431519,
0.14422966539859772,
-0.356987327337265,
-0.48449116945266724,
0.17540070414543152,
0.08983324468135834,
0.1313355416059494,
-0.08517295867204666,
-0.2599029541015625,
-0.2623612880706787,
-0.11494940519332886,
-0.11900883913040161,
0.3722372353076935,
-0.13241761922836304,
0.26666003465652466,
0.1889476776123047,
-0.1220659464597702,
0.10438938438892365,
0.48273584246635437,
0.3920651078224182,
-0.027713384479284286,
-0.1536077857017517,
-0.16487877070903778,
-0.11287011951208115,
0.03927259147167206,
-0.03708834946155548,
-0.2858404517173767,
0.1944073587656021,
-0.13082408905029297,
-0.039098069071769714,
0.008046392351388931,
0.2225673794746399,
-0.13147445023059845,
-0.1279212385416031,
0.0010342299938201904,
-0.23609374463558197,
-0.38883739709854126,
-0.23800094425678253,
0.1462787389755249,
0.049518268555402756,
-0.11829683184623718,
0.18509142100811005,
0.08391877263784409,
-0.3493978679180145,
0.07485321164131165,
0.11328999698162079,
-0.2650010287761688,
-0.15067638456821442,
0.37193813920021057,
0.15283028781414032,
-0.07284541428089142,
0.501414954662323,
0.37668344378471375,
-0.0900820791721344,
-0.06391487270593643,
-0.04996401071548462,
0.11608731746673584,
-0.22199717164039612,
0.12391550838947296,
-0.08900770545005798,
-0.11930598318576813,
-0.28636759519577026,
0.49154189229011536,
0.18107180297374725,
0.05065897852182388,
0.1890813559293747,
-0.20750553905963898,
-0.3203103542327881,
0.3325203061103821,
-0.025906678289175034,
0.1203007698059082,
-0.07943837344646454,
0.34974536299705505,
-0.028296642005443573,
0.016788966953754425,
-0.35834717750549316,
-0.25443363189697266,
-0.238274946808815,
0.10419915616512299,
0.12931111454963684,
-0.17962178587913513,
0.211313858628273,
-0.09155873954296112,
0.17269060015678406,
0.1846308559179306,
-0.16517561674118042,
-0.31802213191986084,
-0.06166718900203705,
0.05801348388195038,
0.19525521993637085,
0.05710601806640625,
-0.10559481382369995,
-0.040667224675416946,
-0.13169853389263153,
-0.3173358142375946,
-0.05364421382546425,
0.0892263725399971,
0.01846737042069435,
0.09906147420406342,
-0.11219680309295654,
0.15161484479904175,
0.2209578901529312,
0.011825231835246086,
0.18768379092216492,
-0.0021442100405693054,
-0.22574003040790558,
0.03908506780862808,
-0.49624934792518616,
-0.005475439131259918,
-0.31197452545166016,
0.06961629539728165,
0.03800394386053085,
0.04310417175292969,
0.10575541853904724,
-0.19730828702449799,
-0.20652608573436737,
0.02999434433877468,
0.32393011450767517,
0.40041324496269226,
-0.28676357865333557,
0.07524902373552322,
-0.07300717383623123,
0.22503605484962463,
-0.20209839940071106,
-0.08329242467880249,
0.16860774159431458,
0.0600622296333313,
-0.05831526964902878,
0.033567801117897034,
0.05141598358750343,
0.13724206387996674,
-0.07166720926761627,
0.0983637124300003,
0.013214757665991783,
-0.009393803775310516,
0.38277798891067505,
0.08332471549510956,
0.000056121498346328735,
0.2283112108707428,
0.07060755044221878,
0.053556889295578,
0.25653305649757385,
0.13048791885375977,
0.034582484513521194,
0.09800315648317337,
0.10251244902610779,
-0.002494391053915024,
0.3761160373687744,
0.047319795936346054,
0.008623871952295303,
0.26393255591392517,
0.04913543909788132,
0.17031754553318024,
0.17680808901786804,
0.22748753428459167,
-0.13977162539958954,
-0.47380438446998596,
-0.17255330085754395,
0.1926998794078827,
-0.2009434700012207,
-0.09234829246997833,
0.018179845064878464,
-0.01718335598707199,
-0.12839125096797943,
-0.23525838553905487,
0.04832559451460838,
-0.18128815293312073,
0.22836294770240784,
0.012108288705348969,
-0.020820096135139465,
-0.22455057501792908,
0.22420147061347961,
0.2744874060153961,
0.34822535514831543,
-0.050350967794656754,
0.14874033629894257,
0.18683767318725586,
-0.030519284307956696,
-0.039300065487623215,
0.3339042663574219,
0.48838305473327637,
0.33972764015197754,
-0.03861090913414955,
0.13282835483551025,
0.059943195432424545,
-0.10347216576337814,
0.06404414772987366,
0.1258518099784851,
-0.07864396274089813,
-0.36734429001808167,
0.25395098328590393,
0.2395583689212799,
-0.16316120326519012,
0.03955525904893875,
-0.05839431658387184,
0.20295973122119904,
-0.3947635889053345,
0.20380711555480957,
-0.19076192378997803,
0.07394357770681381,
0.031770456582307816,
0.05713989958167076,
-0.4017114043235779,
0.031341057270765305,
0.31629905104637146,
0.19021931290626526,
0.15862324833869934,
-0.04243581369519234,
0.14860549569129944,
0.003483518958091736,
0.3240809738636017,
0.3643686771392822,
0.2556745409965515,
-0.0611797496676445,
-0.09301730245351791,
-0.35225147008895874,
0.09160061180591583,
0.30637887120246887,
0.10976250469684601,
0.1299816519021988,
0.3361189067363739,
0.026187516748905182,
0.15256285667419434,
-0.06832242012023926,
-0.1837741732597351,
-0.26022663712501526,
-0.12286357581615448,
-0.4775204658508301,
-0.11762414872646332,
-0.011831261217594147,
-0.015207068994641304,
0.16284047067165375,
0.015364252030849457,
0.2946670651435852,
-0.11800950020551682,
-0.0019027628004550934,
-0.039861585944890976,
0.31028711795806885,
-0.13592493534088135,
-0.0026461444795131683,
-0.07704024016857147,
0.3408994674682617,
0.18628498911857605,
-0.22707664966583252,
-0.2512495219707489,
-0.09555427730083466,
-0.43305376172065735,
-0.15227803587913513,
0.49711257219314575,
-0.23932158946990967,
0.4060489237308502,
-0.2087297886610031,
0.084160216152668,
-0.055152393877506256,
0.1272788941860199,
0.3062177300453186,
-0.375801146030426,
-0.41181227564811707,
0.2804775536060333,
-0.03849053010344505,
0.18215057253837585,
0.12462390959262848,
0.542959988117218,
-0.06900088489055634,
0.32854223251342773,
-0.06009210646152496,
-0.4087187945842743,
0.46244338154792786,
-0.2136337012052536,
-0.29954031109809875,
0.10913830250501633,
-0.052292272448539734,
0.3876337707042694,
-0.11049852520227432,
-0.4834507405757904,
-0.12398696690797806,
0.27807876467704773,
-0.14783912897109985,
-0.2551994323730469,
0.20404155552387238,
-0.11684876680374146,
-0.0144326351583004,
-0.21608498692512512,
0.33025991916656494,
0.15801697969436646,
-0.2849288880825043,
0.3062208592891693,
-0.3531458377838135
] |
https://github.com/huggingface/datasets/issues/4666 | Issues with concatenating datasets | That makes sense. I totally missed the `int64` and `int32` part. Thanks for pointing it out! Will close this issue for now. | ## Describe the bug
It is impossible to concatenate datasets if a feature is sequence of dict in one dataset and a dict of sequence in another. But based on the document, it should be automatically converted.
> A [datasets.Sequence](https://huggingface.co/docs/datasets/v2.3.2/en/package_reference/main_classes#datasets.Sequence) with a internal dictionary feature will be automatically converted into a dictionary of lists. This behavior is implemented to have a compatilbity layer with the TensorFlow Datasets library but may be un-wanted in some cases. If you don’t want this behavior, you can use a python list instead of the [datasets.Sequence](https://huggingface.co/docs/datasets/v2.3.2/en/package_reference/main_classes#datasets.Sequence).
## Steps to reproduce the bug
```python
from datasets import concatenate_datasets, load_dataset
squad = load_dataset("squad_v2")
squad["train"].to_json("output.jsonl", lines=True)
temp = load_dataset("json", data_files={"train": "output.jsonl"})
concatenate_datasets([temp["train"], squad["train"]])
```
## Expected results
No error executing that code
## Actual results
```
ValueError: The features can't be aligned because the key answers of features {'id': Value(dtype='string', id=None), 'title': Value(dtype='string', id=None), 'context': Value(dtype='string', id=None), 'question': Value(dtype='string', id=None), 'answers': Sequence(feature={'text': Value(dtype='string', id=None), 'answer_start': Value(dtype='int32', id=None)}, length=-1, id=None)} has unexpected type - Sequence(feature={'text': Value(dtype='string', id=None), 'answer_start': Value(dtype='int32', id=None)}, length=-1, id=None) (expected either {'text': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'answer_start': Sequence(feature=Value(dtype='int64', id=None), length=-1, id=None)} or Value("null").
```
## Environment info
- `datasets` version: 2.3.2
- Platform: macOS-12.4-arm64-arm-64bit
- Python version: 3.8.11
- PyArrow version: 6.0.1
- Pandas version: 1.3.5
| 22 | Issues with concatenating datasets
## Describe the bug
It is impossible to concatenate datasets if a feature is sequence of dict in one dataset and a dict of sequence in another. But based on the document, it should be automatically converted.
> A [datasets.Sequence](https://huggingface.co/docs/datasets/v2.3.2/en/package_reference/main_classes#datasets.Sequence) with a internal dictionary feature will be automatically converted into a dictionary of lists. This behavior is implemented to have a compatilbity layer with the TensorFlow Datasets library but may be un-wanted in some cases. If you don’t want this behavior, you can use a python list instead of the [datasets.Sequence](https://huggingface.co/docs/datasets/v2.3.2/en/package_reference/main_classes#datasets.Sequence).
## Steps to reproduce the bug
```python
from datasets import concatenate_datasets, load_dataset
squad = load_dataset("squad_v2")
squad["train"].to_json("output.jsonl", lines=True)
temp = load_dataset("json", data_files={"train": "output.jsonl"})
concatenate_datasets([temp["train"], squad["train"]])
```
## Expected results
No error executing that code
## Actual results
```
ValueError: The features can't be aligned because the key answers of features {'id': Value(dtype='string', id=None), 'title': Value(dtype='string', id=None), 'context': Value(dtype='string', id=None), 'question': Value(dtype='string', id=None), 'answers': Sequence(feature={'text': Value(dtype='string', id=None), 'answer_start': Value(dtype='int32', id=None)}, length=-1, id=None)} has unexpected type - Sequence(feature={'text': Value(dtype='string', id=None), 'answer_start': Value(dtype='int32', id=None)}, length=-1, id=None) (expected either {'text': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'answer_start': Sequence(feature=Value(dtype='int64', id=None), length=-1, id=None)} or Value("null").
```
## Environment info
- `datasets` version: 2.3.2
- Platform: macOS-12.4-arm64-arm-64bit
- Python version: 3.8.11
- PyArrow version: 6.0.1
- Pandas version: 1.3.5
That makes sense. I totally missed the `int64` and `int32` part. Thanks for pointing it out! Will close this issue for now. | [
0.04380028322339058,
-0.4440591037273407,
-0.01506867352873087,
0.2802368104457855,
0.19299142062664032,
0.18252399563789368,
0.04831010475754738,
0.34112653136253357,
-0.15827949345111847,
-0.023794442415237427,
-0.01996341533958912,
0.40773117542266846,
0.11513891071081161,
0.38394197821617126,
-0.20271120965480804,
-0.12654457986354828,
0.1866522580385208,
-0.004851870238780975,
-0.1065278947353363,
0.0835736095905304,
-0.2948237657546997,
0.39352208375930786,
-0.2721402645111084,
-0.12614038586616516,
-0.25569477677345276,
0.11991573870182037,
-0.1928987354040146,
-0.020844578742980957,
0.0092130396515131,
-0.2612763047218323,
0.27505984902381897,
0.11694550514221191,
0.07649913430213928,
0.38600772619247437,
-0.00010829928214661777,
-0.04718608409166336,
0.29082104563713074,
-0.08610610663890839,
-0.23800034821033478,
-0.49048393964767456,
-0.28630998730659485,
-0.2839674651622772,
0.3041839897632599,
-0.15348310768604279,
-0.11012523621320724,
-0.1898902952671051,
-0.10558730363845825,
-0.27219316363334656,
0.6161855459213257,
0.228702113032341,
0.2414887398481369,
0.15438853204250336,
0.2623073160648346,
-0.2632938325405121,
-0.051078714430332184,
0.1998579502105713,
-0.12395407259464264,
0.07589887082576752,
0.0038413330912590027,
0.10920337587594986,
0.28704318404197693,
0.2795882225036621,
0.13269181549549103,
-0.20341265201568604,
0.2879321873188019,
0.31971022486686707,
-0.13417184352874756,
-0.40976569056510925,
-0.1260102391242981,
0.2094024419784546,
0.37747862935066223,
-0.2906154692173004,
-0.37362372875213623,
-0.40526530146598816,
0.1607658416032791,
-0.26589611172676086,
0.25872617959976196,
0.03467106074094772,
-0.026022236794233322,
0.08497309684753418,
-0.11562825739383698,
0.15396000444889069,
-0.20120759308338165,
0.1526261866092682,
0.03926383703947067,
0.08108330518007278,
-0.14849945902824402,
-0.06565309315919876,
-0.010898459702730179,
-0.3823457956314087,
-0.11660006642341614,
-0.312740296125412,
-0.027860749512910843,
0.12441123276948929,
-0.4446004629135132,
-0.16169866919517517,
-0.014375343918800354,
-0.3495052754878998,
0.32730191946029663,
0.017030077055096626,
-0.0978235974907875,
-0.002268914133310318,
-0.06686475872993469,
-0.0043070316314697266,
0.24085161089897156,
0.38592657446861267,
0.3196951448917389,
0.10848069190979004,
-0.0975150316953659,
0.25281333923339844,
0.08785389363765717,
0.1491931527853012,
0.07763714343309402,
-0.1906774789094925,
-0.201910600066185,
-0.04355292767286301,
0.41172754764556885,
-0.019787490367889404,
-0.1590292751789093,
0.17691920697689056,
-0.28691306710243225,
0.06768414378166199,
-0.15740683674812317,
0.1147962287068367,
-0.3153926134109497,
0.14882223308086395,
0.2585047483444214,
0.3411288261413574,
0.11429586261510849,
0.16119399666786194,
-0.1423192322254181,
-0.09672349691390991,
-0.035444118082523346,
-0.055451199412345886,
-0.02975725382566452,
-0.11654597520828247,
0.04805119335651398,
0.2672053575515747,
0.22321337461471558,
-0.09537504613399506,
-0.2779005169868469,
-0.001379501074552536,
0.10032346844673157,
-0.04395763948559761,
0.01405741274356842,
0.04796531796455383,
0.08855219185352325,
-0.26078295707702637,
-0.05454624816775322,
-0.20068591833114624,
-0.26607388257980347,
-0.015752263367176056,
-0.25794652104377747,
0.2880306541919708,
-0.1550096869468689,
0.05554889887571335,
-0.12202473729848862,
0.4588356912136078,
0.19325439631938934,
0.17444565892219543,
-0.1399141550064087,
-0.13128121197223663,
-0.2992193400859833,
-0.20479127764701843,
0.2316146194934845,
0.17813143134117126,
-0.09111110866069794,
-0.11771342903375626,
0.36083200573921204,
0.07121935486793518,
0.10512972623109818,
0.3204585611820221,
0.09507045149803162,
0.12464261054992676,
-0.2793947756290436,
0.21791581809520721,
0.16186875104904175,
-0.4507395625114441,
-0.07211367040872574,
0.10217100381851196,
-0.1619998961687088,
0.3576858639717102,
0.0046051666140556335,
-0.10064499080181122,
0.156532883644104,
0.08020688593387604,
0.589533805847168,
0.4065026044845581,
0.028305215761065483,
-0.13128460943698883,
-0.15142002701759338,
-0.18743407726287842,
0.23738522827625275,
-0.11955234408378601,
-0.44213685393333435,
0.190094456076622,
-0.19386956095695496,
-0.045687418431043625,
0.23314297199249268,
-0.1645563542842865,
-0.013747148215770721,
0.3295769691467285,
0.12234944105148315,
0.24145178496837616,
0.06678150594234467,
-0.022654710337519646,
-0.8783260583877563,
0.029000766575336456,
-0.03559914976358414,
0.15770351886749268,
-0.24127711355686188,
-0.19065004587173462,
-0.047774918377399445,
-0.022738264873623848,
-0.2993868291378021,
-0.08907844126224518,
0.18279466032981873,
0.02551180124282837,
0.145796999335289,
0.00878436490893364,
-0.20765183866024017,
0.358856737613678,
-0.1133485808968544,
0.07389757037162781,
-0.6304876804351807,
0.31595996022224426,
-0.01802113838493824,
0.013601690530776978,
0.08236220479011536,
0.42137235403060913,
0.048624925315380096,
-0.06075979396700859,
-0.10129781067371368,
0.18713071942329407,
-0.05565273389220238,
0.052972227334976196,
-0.10271630436182022,
-0.10208819806575775,
0.19923122227191925,
-0.1352231502532959,
-0.34465843439102173,
0.1512552946805954,
-0.09903860837221146,
-0.12900587916374207,
-0.4314117729663849,
0.5052579045295715,
0.039084240794181824,
0.3959534764289856,
-0.09211476147174835,
0.0384373813867569,
0.24361035227775574,
-0.03743951767683029,
-0.30515074729919434,
-0.2380601465702057,
0.28493571281433105,
0.001854410395026207,
0.01713431254029274,
0.08904697746038437,
-0.5768578052520752,
0.14557774364948273,
0.5549690127372742,
0.14738459885120392,
-0.02163446694612503,
0.2466980218887329,
-0.06341826170682907,
-0.03189108893275261,
-0.08268027752637863,
0.03032321110367775,
0.2571737468242645,
0.2297200858592987,
-0.11970612406730652,
0.31599313020706177,
-0.13374631106853485,
-0.1496591717004776,
0.022526361048221588,
0.005251474678516388,
0.198752760887146,
0.41870251297950745,
0.4040541350841522,
0.17250272631645203,
-0.0821334570646286,
-0.05968489870429039,
-0.204257994890213,
-0.03883440047502518,
-0.36285531520843506,
0.032549336552619934,
-0.3559320271015167,
-0.17324748635292053,
-0.09448499977588654,
-0.2769453227519989,
-0.333613783121109,
-0.40567195415496826,
-0.047963134944438934,
0.17565283179283142,
-0.19296380877494812,
0.22665317356586456,
0.361550509929657,
0.1032538190484047,
0.1903272271156311,
-0.169655904173851,
-0.15604515373706818,
0.04862406849861145,
-0.07980813086032867,
0.10336056351661682,
0.14686504006385803,
-0.20274552702903748,
0.2190420776605606,
-0.21215875446796417,
-0.252784788608551,
-0.2854662239551544,
-0.30645453929901123,
0.12807726860046387,
-0.33704495429992676,
0.08196191489696503,
0.23316016793251038,
0.11753522604703903,
-0.09373362362384796,
-0.4176057279109955,
0.3907366991043091,
0.4123913049697876,
-0.4051336646080017,
0.2046390324831009,
0.12920670211315155,
-0.020383760333061218,
-0.25173768401145935,
-0.5372361540794373,
-0.09386390447616577,
-0.3578866422176361,
0.5400576591491699,
0.09690028429031372,
0.12989525496959686,
0.49148592352867126,
0.129693865776062,
0.05332070216536522,
-0.19865839183330536,
0.13774846494197845,
-0.2668108642101288,
-0.11210550367832184,
0.44622862339019775,
-0.25947120785713196,
-0.5673683285713196,
-0.1466190665960312,
-0.11839478462934494,
0.10916025936603546,
-0.13448260724544525,
-0.21419142186641693,
-0.2727262079715729,
-0.15804606676101685,
0.2993106245994568,
-0.13851220905780792,
0.042975135147571564,
0.20330339670181274,
-0.0024490877985954285,
-0.0541154146194458,
-0.10251352936029434,
-0.07440217584371567,
0.31753024458885193,
0.2833195924758911,
0.23968124389648438,
0.025080127641558647,
0.4921349883079529,
-0.09755422174930573,
0.3803001046180725,
0.6746817231178284,
-0.17865106463432312,
0.04623038321733475,
-0.11215219646692276,
0.20466260612010956,
-0.2747604250907898,
-0.26374971866607666,
-0.12022345513105392,
-0.11488452553749084,
0.1926255077123642,
0.1465357393026352,
-0.05606979876756668,
0.19703182578086853,
-0.08976477384567261,
0.4582832157611847,
-0.08887942135334015,
-0.20563356578350067,
0.02489020861685276,
-0.18700307607650757,
0.03530371934175491,
0.029529165476560593,
-0.05349821597337723,
-0.03785819560289383,
-0.027436012402176857,
-0.12078535556793213,
0.07496538758277893,
0.06487694382667542,
-0.042887818068265915,
-0.6154634952545166,
-0.22942832112312317,
-0.5934533476829529,
0.21104371547698975,
0.24838408827781677,
0.31567704677581787,
-0.015008658170700073,
-0.12398260086774826,
-0.0770794153213501,
0.0002685044892132282,
0.7363011837005615,
0.009719565510749817,
-0.40848374366760254,
0.12018060684204102,
-0.14765366911888123,
-0.33082640171051025,
-0.12347149848937988,
-0.07557980716228485,
0.08366784453392029,
0.1611003875732422,
0.6201531887054443,
-0.42199498414993286,
-0.15390466153621674,
-0.05252780020236969,
0.1356433779001236,
-0.033268705010414124,
-0.1259627491235733,
-0.17200326919555664,
-0.061017297208309174,
-0.4656093120574951,
-0.2605006992816925,
0.15524429082870483,
0.3944946527481079,
-0.10509513318538666,
-0.37861472368240356,
0.04035849869251251,
-0.13486284017562866,
0.1856468915939331,
0.001290762796998024,
0.41488754749298096,
0.22610197961330414,
0.2289368212223053,
0.05642113462090492,
0.32983022928237915,
0.05664430558681488,
0.33697283267974854,
0.18185392022132874,
-0.6014984250068665,
-0.05283414572477341,
-0.1725265383720398,
0.2211858332157135,
0.13543175160884857,
-0.08269762992858887,
0.24458879232406616,
-0.13387855887413025,
0.2964114248752594,
-0.2919631004333496,
0.11959116160869598,
0.570807695388794,
0.2570350170135498,
-0.39795488119125366,
-0.27549242973327637,
0.3439706265926361,
0.04161721095442772,
0.09856149554252625,
0.14106866717338562,
0.022559672594070435,
-0.2729456126689911,
0.15670379996299744,
-0.12900874018669128,
0.7771771550178528,
0.21665449440479279,
0.2428441047668457,
0.519450843334198,
0.07538633048534393,
0.8964992761611938,
-0.06197758764028549,
0.16782595217227936,
-0.19398942589759827,
-0.0636974573135376,
-0.07202060520648956,
-0.24881301820278168,
-0.09652779251337051,
-0.1794378012418747,
-0.4219829738140106,
0.25898095965385437,
-0.3791006803512573,
0.19749993085861206,
-0.18379667401313782,
0.20810860395431519,
0.14422966539859772,
-0.356987327337265,
-0.48449116945266724,
0.17540070414543152,
0.08983324468135834,
0.1313355416059494,
-0.08517295867204666,
-0.2599029541015625,
-0.2623612880706787,
-0.11494940519332886,
-0.11900883913040161,
0.3722372353076935,
-0.13241761922836304,
0.26666003465652466,
0.1889476776123047,
-0.1220659464597702,
0.10438938438892365,
0.48273584246635437,
0.3920651078224182,
-0.027713384479284286,
-0.1536077857017517,
-0.16487877070903778,
-0.11287011951208115,
0.03927259147167206,
-0.03708834946155548,
-0.2858404517173767,
0.1944073587656021,
-0.13082408905029297,
-0.039098069071769714,
0.008046392351388931,
0.2225673794746399,
-0.13147445023059845,
-0.1279212385416031,
0.0010342299938201904,
-0.23609374463558197,
-0.38883739709854126,
-0.23800094425678253,
0.1462787389755249,
0.049518268555402756,
-0.11829683184623718,
0.18509142100811005,
0.08391877263784409,
-0.3493978679180145,
0.07485321164131165,
0.11328999698162079,
-0.2650010287761688,
-0.15067638456821442,
0.37193813920021057,
0.15283028781414032,
-0.07284541428089142,
0.501414954662323,
0.37668344378471375,
-0.0900820791721344,
-0.06391487270593643,
-0.04996401071548462,
0.11608731746673584,
-0.22199717164039612,
0.12391550838947296,
-0.08900770545005798,
-0.11930598318576813,
-0.28636759519577026,
0.49154189229011536,
0.18107180297374725,
0.05065897852182388,
0.1890813559293747,
-0.20750553905963898,
-0.3203103542327881,
0.3325203061103821,
-0.025906678289175034,
0.1203007698059082,
-0.07943837344646454,
0.34974536299705505,
-0.028296642005443573,
0.016788966953754425,
-0.35834717750549316,
-0.25443363189697266,
-0.238274946808815,
0.10419915616512299,
0.12931111454963684,
-0.17962178587913513,
0.211313858628273,
-0.09155873954296112,
0.17269060015678406,
0.1846308559179306,
-0.16517561674118042,
-0.31802213191986084,
-0.06166718900203705,
0.05801348388195038,
0.19525521993637085,
0.05710601806640625,
-0.10559481382369995,
-0.040667224675416946,
-0.13169853389263153,
-0.3173358142375946,
-0.05364421382546425,
0.0892263725399971,
0.01846737042069435,
0.09906147420406342,
-0.11219680309295654,
0.15161484479904175,
0.2209578901529312,
0.011825231835246086,
0.18768379092216492,
-0.0021442100405693054,
-0.22574003040790558,
0.03908506780862808,
-0.49624934792518616,
-0.005475439131259918,
-0.31197452545166016,
0.06961629539728165,
0.03800394386053085,
0.04310417175292969,
0.10575541853904724,
-0.19730828702449799,
-0.20652608573436737,
0.02999434433877468,
0.32393011450767517,
0.40041324496269226,
-0.28676357865333557,
0.07524902373552322,
-0.07300717383623123,
0.22503605484962463,
-0.20209839940071106,
-0.08329242467880249,
0.16860774159431458,
0.0600622296333313,
-0.05831526964902878,
0.033567801117897034,
0.05141598358750343,
0.13724206387996674,
-0.07166720926761627,
0.0983637124300003,
0.013214757665991783,
-0.009393803775310516,
0.38277798891067505,
0.08332471549510956,
0.000056121498346328735,
0.2283112108707428,
0.07060755044221878,
0.053556889295578,
0.25653305649757385,
0.13048791885375977,
0.034582484513521194,
0.09800315648317337,
0.10251244902610779,
-0.002494391053915024,
0.3761160373687744,
0.047319795936346054,
0.008623871952295303,
0.26393255591392517,
0.04913543909788132,
0.17031754553318024,
0.17680808901786804,
0.22748753428459167,
-0.13977162539958954,
-0.47380438446998596,
-0.17255330085754395,
0.1926998794078827,
-0.2009434700012207,
-0.09234829246997833,
0.018179845064878464,
-0.01718335598707199,
-0.12839125096797943,
-0.23525838553905487,
0.04832559451460838,
-0.18128815293312073,
0.22836294770240784,
0.012108288705348969,
-0.020820096135139465,
-0.22455057501792908,
0.22420147061347961,
0.2744874060153961,
0.34822535514831543,
-0.050350967794656754,
0.14874033629894257,
0.18683767318725586,
-0.030519284307956696,
-0.039300065487623215,
0.3339042663574219,
0.48838305473327637,
0.33972764015197754,
-0.03861090913414955,
0.13282835483551025,
0.059943195432424545,
-0.10347216576337814,
0.06404414772987366,
0.1258518099784851,
-0.07864396274089813,
-0.36734429001808167,
0.25395098328590393,
0.2395583689212799,
-0.16316120326519012,
0.03955525904893875,
-0.05839431658387184,
0.20295973122119904,
-0.3947635889053345,
0.20380711555480957,
-0.19076192378997803,
0.07394357770681381,
0.031770456582307816,
0.05713989958167076,
-0.4017114043235779,
0.031341057270765305,
0.31629905104637146,
0.19021931290626526,
0.15862324833869934,
-0.04243581369519234,
0.14860549569129944,
0.003483518958091736,
0.3240809738636017,
0.3643686771392822,
0.2556745409965515,
-0.0611797496676445,
-0.09301730245351791,
-0.35225147008895874,
0.09160061180591583,
0.30637887120246887,
0.10976250469684601,
0.1299816519021988,
0.3361189067363739,
0.026187516748905182,
0.15256285667419434,
-0.06832242012023926,
-0.1837741732597351,
-0.26022663712501526,
-0.12286357581615448,
-0.4775204658508301,
-0.11762414872646332,
-0.011831261217594147,
-0.015207068994641304,
0.16284047067165375,
0.015364252030849457,
0.2946670651435852,
-0.11800950020551682,
-0.0019027628004550934,
-0.039861585944890976,
0.31028711795806885,
-0.13592493534088135,
-0.0026461444795131683,
-0.07704024016857147,
0.3408994674682617,
0.18628498911857605,
-0.22707664966583252,
-0.2512495219707489,
-0.09555427730083466,
-0.43305376172065735,
-0.15227803587913513,
0.49711257219314575,
-0.23932158946990967,
0.4060489237308502,
-0.2087297886610031,
0.084160216152668,
-0.055152393877506256,
0.1272788941860199,
0.3062177300453186,
-0.375801146030426,
-0.41181227564811707,
0.2804775536060333,
-0.03849053010344505,
0.18215057253837585,
0.12462390959262848,
0.542959988117218,
-0.06900088489055634,
0.32854223251342773,
-0.06009210646152496,
-0.4087187945842743,
0.46244338154792786,
-0.2136337012052536,
-0.29954031109809875,
0.10913830250501633,
-0.052292272448539734,
0.3876337707042694,
-0.11049852520227432,
-0.4834507405757904,
-0.12398696690797806,
0.27807876467704773,
-0.14783912897109985,
-0.2551994323730469,
0.20404155552387238,
-0.11684876680374146,
-0.0144326351583004,
-0.21608498692512512,
0.33025991916656494,
0.15801697969436646,
-0.2849288880825043,
0.3062208592891693,
-0.3531458377838135
] |
https://github.com/huggingface/datasets/issues/4665 | Unable to create dataset having Python dataset script only | Hi @aleSuglia, thanks for reporting.
We are having a look at it.
We transfer this issue to the Community tab of the corresponding Hub dataset: https://huggingface.co/datasets/Heriot-WattUniversity/dialog-babi/discussions | ## Describe the bug
Hi there,
I'm trying to add the following dataset to Huggingface datasets: https://huggingface.co/datasets/Heriot-WattUniversity/dialog-babi/blob/
I'm trying to do so using the CLI commands but seems that this command generates the wrong `dataset_info.json` file (you can find it in the repo already):
```
datasets-cli test Heriot-WattUniversity/dialog-babi/dialog_babi.py --save_infos --all-configs
```
while it errors when I remove the python script:
```
datasets-cli test Heriot-WattUniversity/dialog-babi/ --save_infos --all-configs
```
The error message is the following:
```
FileNotFoundError: Unable to resolve any data file that matches '['**']' at /Users/as2180/workspace/Heriot-WattUniversity/dialog-babi with any supported extension ['csv', 'tsv', 'json', 'jsonl', 'parquet', 'txt', 'blp', 'bmp', 'dib', 'bufr', 'cur', 'pcx', 'dcx', 'dds', 'ps', 'eps', 'fit', 'fits', 'fli', 'flc', 'ftc', 'ftu', 'gbr', 'gif', 'grib', 'h5', 'hdf', 'png', 'apng', 'jp2', 'j2k', 'jpc', 'jpf', 'jpx', 'j2c', 'icns', 'ico', 'im', 'iim', 'tif', 'tiff', 'jfif', 'jpe', 'jpg', 'jpeg', 'mpg', 'mpeg', 'msp', 'pcd', 'pxr', 'pbm', 'pgm', 'ppm', 'pnm', 'psd', 'bw', 'rgb', 'rgba', 'sgi', 'ras', 'tga', 'icb', 'vda', 'vst', 'webp', 'wmf', 'emf', 'xbm', 'xpm', 'zip']
```
## Environment info
- `datasets` version: 2.3.2
- Platform: macOS-12.4-arm64-arm-64bit
- Python version: 3.9.9
- PyArrow version: 8.0.0
- Pandas version: 1.4.3 | 26 | Unable to create dataset having Python dataset script only
## Describe the bug
Hi there,
I'm trying to add the following dataset to Huggingface datasets: https://huggingface.co/datasets/Heriot-WattUniversity/dialog-babi/blob/
I'm trying to do so using the CLI commands but seems that this command generates the wrong `dataset_info.json` file (you can find it in the repo already):
```
datasets-cli test Heriot-WattUniversity/dialog-babi/dialog_babi.py --save_infos --all-configs
```
while it errors when I remove the python script:
```
datasets-cli test Heriot-WattUniversity/dialog-babi/ --save_infos --all-configs
```
The error message is the following:
```
FileNotFoundError: Unable to resolve any data file that matches '['**']' at /Users/as2180/workspace/Heriot-WattUniversity/dialog-babi with any supported extension ['csv', 'tsv', 'json', 'jsonl', 'parquet', 'txt', 'blp', 'bmp', 'dib', 'bufr', 'cur', 'pcx', 'dcx', 'dds', 'ps', 'eps', 'fit', 'fits', 'fli', 'flc', 'ftc', 'ftu', 'gbr', 'gif', 'grib', 'h5', 'hdf', 'png', 'apng', 'jp2', 'j2k', 'jpc', 'jpf', 'jpx', 'j2c', 'icns', 'ico', 'im', 'iim', 'tif', 'tiff', 'jfif', 'jpe', 'jpg', 'jpeg', 'mpg', 'mpeg', 'msp', 'pcd', 'pxr', 'pbm', 'pgm', 'ppm', 'pnm', 'psd', 'bw', 'rgb', 'rgba', 'sgi', 'ras', 'tga', 'icb', 'vda', 'vst', 'webp', 'wmf', 'emf', 'xbm', 'xpm', 'zip']
```
## Environment info
- `datasets` version: 2.3.2
- Platform: macOS-12.4-arm64-arm-64bit
- Python version: 3.9.9
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
Hi @aleSuglia, thanks for reporting.
We are having a look at it.
We transfer this issue to the Community tab of the corresponding Hub dataset: https://huggingface.co/datasets/Heriot-WattUniversity/dialog-babi/discussions | [
-0.09877757728099823,
-0.18356382846832275,
0.002662086859345436,
0.18234866857528687,
0.24619139730930328,
0.2149367332458496,
0.24684138596057892,
0.3189541697502136,
0.2598186135292053,
0.1377396434545517,
-0.2884330451488495,
-0.022496351972222328,
-0.09905044734477997,
0.3826631009578705,
0.007508591283112764,
0.08343517035245895,
0.1073257103562355,
0.2178218811750412,
0.018322549760341644,
-0.04266798123717308,
-0.5238612294197083,
0.19053171575069427,
0.15926441550254822,
-0.16249074041843414,
-0.34595802426338196,
0.020299334079027176,
-0.12051074951887131,
0.2022470235824585,
-0.32394352555274963,
-0.14574937522411346,
0.26485776901245117,
0.019619271159172058,
0.0537557378411293,
0.41107475757598877,
-0.00012387381866574287,
-0.01779787242412567,
0.038238175213336945,
-0.20145991444587708,
-0.513865053653717,
-0.24881751835346222,
-0.23054617643356323,
-0.12403076887130737,
0.03050709329545498,
-0.10578350722789764,
-0.17783072590827942,
-0.31010138988494873,
-0.04453403502702713,
-0.3489011824131012,
0.170920729637146,
0.3847254812717438,
0.12184365093708038,
0.3518418073654175,
-0.059580471366643906,
-0.3421936631202698,
0.029967311769723892,
0.33285391330718994,
-0.32420769333839417,
0.051973357796669006,
0.4565812051296234,
-0.12522096931934357,
0.1954430639743805,
0.0017456142231822014,
-0.006502354517579079,
-0.13052622973918915,
0.35063832998275757,
0.12851828336715698,
0.043767206370830536,
-0.46821048855781555,
0.2759130895137787,
0.36801448464393616,
0.4509209394454956,
-0.40730342268943787,
-0.49047529697418213,
-0.0430060438811779,
0.006039325147867203,
-0.19374532997608185,
0.15034401416778564,
0.5112501978874207,
-0.124637171626091,
0.0769786685705185,
-0.29062679409980774,
-0.027623139321804047,
-0.31112390756607056,
0.12224861234426498,
0.2054198682308197,
-0.07280626893043518,
-0.015270610339939594,
0.09834569692611694,
-0.041056569665670395,
-0.09606605768203735,
-0.2282530963420868,
-0.22291800379753113,
-0.24028584361076355,
0.366132915019989,
-0.11673231422901154,
-0.12003985792398453,
0.044717222452163696,
0.4579520523548126,
0.4299967885017395,
0.3123164176940918,
-0.0564890131354332,
-0.1961626410484314,
-0.19509564340114594,
0.03664293885231018,
0.21579724550247192,
0.12487815320491791,
0.1525591015815735,
0.12742449343204498,
0.254703164100647,
0.1985863596200943,
0.18972019851207733,
-0.07879596948623657,
0.26487278938293457,
-0.07440109550952911,
0.05193818733096123,
-0.3179474174976349,
0.37825101613998413,
0.06603634357452393,
-0.18243055045604706,
0.3895304501056671,
-0.12051764875650406,
0.06838274747133255,
0.12979359924793243,
0.3599282205104828,
-0.009440954774618149,
-0.3131520450115204,
0.24898846447467804,
0.4958730936050415,
-0.10271380096673965,
-0.012036402709782124,
-0.12860749661922455,
0.06605704128742218,
-0.0007182508707046509,
0.021032394841313362,
0.3478691875934601,
-0.03968902304768562,
0.3367351293563843,
0.2652813494205475,
0.012235932052135468,
0.017923422157764435,
-0.03884133696556091,
-0.03649148717522621,
0.011419430375099182,
0.2786983251571655,
0.2659834325313568,
0.2389320284128189,
0.05962488427758217,
-0.3622843623161316,
-0.029758848249912262,
0.17636336386203766,
0.10803881287574768,
-0.17600639164447784,
-0.5097194910049438,
0.05022791028022766,
-0.312222421169281,
0.15737733244895935,
-0.1539354920387268,
0.02209269255399704,
0.05368458479642868,
-0.12469880282878876,
0.004386879503726959,
0.0007532797753810883,
-0.031179415062069893,
-0.29545703530311584,
0.2608321011066437,
0.5771501660346985,
-0.4500105082988739,
-0.016498293727636337,
-0.011193515732884407,
-0.3205648362636566,
-0.1224108561873436,
0.2572968304157257,
0.12604406476020813,
0.26719027757644653,
-0.4010619819164276,
-0.05519749969244003,
0.018208853900432587,
-0.28026673197746277,
-0.3827720284461975,
0.09003948420286179,
0.06284196674823761,
0.2544266879558563,
0.25937262177467346,
0.30698755383491516,
-0.15728075802326202,
-0.13564541935920715,
-0.033455245196819305,
0.049905337393283844,
-0.1037876158952713,
0.02202589251101017,
0.034083183854818344,
-0.2609219551086426,
0.20036977529525757,
0.07743412256240845,
0.004652027040719986,
0.30784493684768677,
0.13531915843486786,
-0.1918698251247406,
0.34791138768196106,
-0.39981645345687866,
0.34319987893104553,
0.17349539697170258,
0.38722482323646545,
-0.047285594046115875,
0.14985084533691406,
-0.18130245804786682,
-0.6096231937408447,
0.24429312348365784,
-0.11292313039302826,
0.3773670196533203,
-0.3607829809188843,
-0.038978539407253265,
-0.21027177572250366,
-0.06657644361257553,
-0.4082868993282318,
-0.18852438032627106,
-0.023610111325979233,
0.102015919983387,
0.27531978487968445,
-0.1213487833738327,
-0.2379540205001831,
0.5099636316299438,
-0.04015210643410683,
0.1718878448009491,
-0.422443687915802,
0.2608376741409302,
-0.08346773684024811,
-0.06470492482185364,
-0.022306879982352257,
0.1882357895374298,
-0.0030191615223884583,
-0.02670728787779808,
-0.06547670811414719,
0.16983771324157715,
0.07916979491710663,
0.15885363519191742,
0.19033938646316528,
0.08210572600364685,
0.12684637308120728,
-0.00007777288556098938,
0.2022908627986908,
0.06689681112766266,
0.16444194316864014,
-0.08808213472366333,
-0.1696666181087494,
0.17560622096061707,
0.08635413646697998,
0.3220524489879608,
0.05608419328927994,
0.09637926518917084,
0.39851903915405273,
-0.016368035227060318,
-0.05491398274898529,
-0.35043051838874817,
0.13398294150829315,
0.41834673285484314,
0.37369999289512634,
0.06686192750930786,
-0.2691836655139923,
-0.040269412100315094,
0.3221960663795471,
-0.1505052149295807,
0.0730447843670845,
0.10299068689346313,
-0.08028880506753922,
0.11945148557424545,
-0.13622482120990753,
0.2671875059604645,
0.44719183444976807,
0.06666151434183121,
-0.32156476378440857,
0.17084605991840363,
-0.013846964575350285,
-0.06551854312419891,
0.12010577321052551,
0.031618036329746246,
0.12267901003360748,
0.30363163352012634,
0.013264511711895466,
-0.15549860894680023,
-0.2302337884902954,
0.017346873879432678,
-0.13216908276081085,
0.32295966148376465,
-0.4085295796394348,
-0.19057989120483398,
-0.10611701756715775,
-0.06261374801397324,
0.10480312258005142,
-0.2627074122428894,
-0.2844228744506836,
-0.14719067513942719,
0.06993810087442398,
0.13512101769447327,
0.015591952949762344,
-0.13194744288921356,
-0.12306460738182068,
0.2276875227689743,
0.026075707748532295,
-0.3537629246711731,
-0.24344156682491302,
-0.07346529513597488,
-0.016602788120508194,
0.03915413096547127,
0.1647556871175766,
-0.0662120133638382,
0.4710937440395355,
-0.3120066821575165,
-0.07535551488399506,
-0.5907381772994995,
-0.2084137499332428,
0.05323227494955063,
-0.21106360852718353,
0.4999111294746399,
0.4344885051250458,
0.447797954082489,
0.06066109240055084,
-0.10701410472393036,
0.4182782471179962,
0.1564304381608963,
-0.23083007335662842,
-0.0033188536763191223,
-0.19926132261753082,
-0.26256421208381653,
-0.09206855297088623,
-0.1704513430595398,
-0.2951534688472748,
-0.20375238358974457,
0.3990452289581299,
0.07566073536872864,
0.2468142807483673,
0.36715781688690186,
0.08132445812225342,
-0.025761917233467102,
0.017594216391444206,
-0.012117229402065277,
-0.09728606045246124,
-0.2771882712841034,
0.31520992517471313,
-0.3581925332546234,
-0.35523855686187744,
0.1614980399608612,
-0.1582426130771637,
0.24464793503284454,
0.10141900181770325,
-0.2793203294277191,
-0.27650484442710876,
-0.1814524382352829,
0.32174497842788696,
0.10638014227151871,
0.1827402412891388,
0.1835801601409912,
-0.15653149783611298,
0.17426936328411102,
-0.3370566666126251,
-0.41353824734687805,
0.18953214585781097,
0.05120982229709625,
0.47751882672309875,
0.05773575231432915,
0.3796728551387787,
-0.42639827728271484,
0.2370454967021942,
0.49083006381988525,
0.012738075107336044,
0.4536415934562683,
-0.25720641016960144,
0.4797361195087433,
-0.18496063351631165,
-0.4662485122680664,
0.1226729080080986,
0.1278507262468338,
-0.3250846266746521,
0.21797241270542145,
0.17446669936180115,
0.358540415763855,
-0.31098654866218567,
-0.004995942115783691,
-0.28703370690345764,
-0.171657532453537,
-0.06537149846553802,
0.15321534872055054,
0.054986387491226196,
0.0031564049422740936,
0.04206923395395279,
-0.1625259816646576,
-0.10399017482995987,
-0.18932080268859863,
0.34802430868148804,
0.12669160962104797,
0.13034293055534363,
-0.28213566541671753,
-0.2111237794160843,
-0.42672309279441833,
0.28023409843444824,
0.08400052040815353,
0.22866851091384888,
-0.13301120698451996,
0.09894657880067825,
-0.034600719809532166,
0.10051895678043365,
0.5891687870025635,
-0.42366620898246765,
-0.06515070796012878,
-0.021753914654254913,
0.3008347749710083,
-0.6500304341316223,
0.06670574843883514,
0.0017752647399902344,
0.6464548707008362,
0.29112017154693604,
0.4645789563655853,
-0.18624579906463623,
-0.035227689892053604,
0.24271611869335175,
0.4545759856700897,
-0.0623205341398716,
-0.16407683491706848,
-0.22481860220432281,
-0.44245395064353943,
-0.29546448588371277,
-0.20045572519302368,
0.005512513220310211,
0.11115256696939468,
0.2951343059539795,
-0.1902216225862503,
0.24895642697811127,
-0.053109899163246155,
0.18732905387878418,
0.09880435466766357,
0.2899046242237091,
0.005739523097872734,
0.42958712577819824,
-0.20360535383224487,
0.25122761726379395,
0.3703122138977051,
0.5739213228225708,
-0.3813210427761078,
-0.5603106021881104,
-0.06975727528333664,
-0.24214327335357666,
0.406014621257782,
0.19120721518993378,
0.014528154395520687,
-0.04283270984888077,
0.13384781777858734,
0.19020283222198486,
-0.021476659923791885,
-0.17630219459533691,
0.3806726336479187,
-0.12286733090877533,
-0.7132441997528076,
-0.27519822120666504,
0.3140708804130554,
0.09742981195449829,
0.20150692760944366,
0.22886714339256287,
0.4134572148323059,
-0.28202226758003235,
0.16517911851406097,
-0.1990782618522644,
0.7462124824523926,
-0.060791805386543274,
0.11313239485025406,
0.42234086990356445,
-0.20283180475234985,
0.5148767828941345,
0.05742594599723816,
-0.058280475437641144,
-0.4694778323173523,
-0.15225423872470856,
0.028519826009869576,
-0.19334441423416138,
0.1601158231496811,
0.07049950212240219,
-0.04900567978620529,
0.17040619254112244,
-0.4928658604621887,
0.20323732495307922,
0.00759352371096611,
0.34757402539253235,
-0.5988273024559021,
-0.3008250296115875,
-0.28129780292510986,
0.10875049233436584,
-0.1664736568927765,
0.2081562727689743,
-0.07672599703073502,
0.0006184028461575508,
-0.4497178792953491,
-0.2658771574497223,
-0.30236607789993286,
0.17880073189735413,
-0.5002217888832092,
-0.16213339567184448,
-0.02870773896574974,
-0.16850438714027405,
0.1274370551109314,
0.36369839310646057,
0.5057504773139954,
0.10236659646034241,
-0.29855042695999146,
0.22127018868923187,
-0.21636173129081726,
-0.03597159683704376,
0.005860051605850458,
-0.05608329549431801,
0.2844773828983307,
0.0032656192779541016,
-0.39755773544311523,
-0.2554197907447815,
-0.09189803898334503,
-0.09179607778787613,
-0.18939459323883057,
-0.10760234296321869,
-0.03446059674024582,
-0.312002569437027,
-0.3806031048297882,
-0.18374118208885193,
-0.016871796920895576,
-0.16016928851604462,
0.030017191544175148,
0.22350919246673584,
-0.037525516003370285,
0.2463025152683258,
-0.33973389863967896,
-0.1380237489938736,
-0.2511802017688751,
0.085965096950531,
-0.020496129989624023,
-0.10306423157453537,
0.4691656231880188,
0.2988794147968292,
-0.05988559126853943,
-0.1976523995399475,
-0.037318721413612366,
0.33755430579185486,
-0.34564852714538574,
0.21160496771335602,
0.30002471804618835,
0.10858438909053802,
-0.1225290447473526,
0.42653799057006836,
0.10125774890184402,
-0.09756151586771011,
0.15625590085983276,
-0.27036502957344055,
-0.44731613993644714,
0.06102057546377182,
0.1702796369791031,
0.384533554315567,
0.13699784874916077,
0.19118033349514008,
0.22398826479911804,
-0.1982966661453247,
-0.1540493369102478,
-0.17003734409809113,
0.14832712709903717,
0.013660591095685959,
0.6501345634460449,
0.16009092330932617,
0.4471958875656128,
-0.2764045000076294,
0.04448313266038895,
-0.14648279547691345,
-0.21865126490592957,
-0.09151096642017365,
-0.22999249398708344,
0.19478793442249298,
0.19091075658798218,
-0.28760626912117004,
-0.07381731271743774,
-0.3541577458381653,
-0.056785400956869125,
-0.38803592324256897,
0.12183842062950134,
0.4760729670524597,
0.0004285871982574463,
-0.15347746014595032,
-0.11689361929893494,
-0.19505006074905396,
0.10605648159980774,
-0.15220074355602264,
0.10161980986595154,
0.24441838264465332,
0.12516683340072632,
0.059439197182655334,
-0.06420774012804031,
-0.004510849714279175,
0.005950891878455877,
0.0888117253780365,
-0.06280571222305298,
0.19451427459716797,
0.07509956508874893,
-0.3802946209907532,
0.0066267140209674835,
0.13832010328769684,
0.4706915616989136,
0.3417646288871765,
-0.21932515501976013,
0.10244127362966537,
0.16415250301361084,
0.07850906997919083,
-0.22764182090759277,
0.09821489453315735,
0.5663354396820068,
-0.20699448883533478,
-0.004643779247999191,
0.3511911630630493,
0.012819167226552963,
0.022361285984516144,
-0.19044138491153717,
-0.13823288679122925,
0.34120866656303406,
-0.16691111028194427,
0.2906450927257538,
0.5221588015556335,
-0.04819488897919655,
0.15877048671245575,
0.030548641458153725,
0.09614451229572296,
0.03746891766786575,
0.32678085565567017,
-0.3910629153251648,
0.20582053065299988,
-0.19195380806922913,
0.09686277061700821,
0.28131425380706787,
-0.2022901177406311,
0.1886952817440033,
-0.06146650016307831,
-0.25871407985687256,
-0.10464739054441452,
0.012563221156597137,
0.8167136311531067,
-0.3355802595615387,
-0.051517460495233536,
-0.4795292913913727,
0.20441566407680511,
-0.13593563437461853,
0.10648873448371887,
-0.028245188295841217,
-0.27103859186172485,
0.12344063818454742,
-0.059797801077365875,
-0.006600487977266312,
-0.2162439376115799,
-0.12951995432376862,
0.040669821202754974,
-0.09480193257331848,
-0.20213794708251953,
-0.0349082425236702,
0.1231638565659523,
-0.01993543654680252,
-0.12773200869560242,
0.1269344836473465,
0.21048346161842346,
-0.13177792727947235,
-0.01954198256134987,
0.33300527930259705,
0.6030071973800659,
0.45574918389320374,
0.30360472202301025,
0.2795329689979553,
-0.042696014046669006,
-0.0666520819067955,
0.0024089831858873367,
0.16040515899658203,
0.20377887785434723,
-0.12721902132034302,
0.20830875635147095,
0.0721430703997612,
-0.0305674746632576,
0.0015904717147350311,
0.15673719346523285,
0.32182806730270386,
-0.22212831676006317,
0.2702657878398895,
-0.38819384574890137,
-0.14978599548339844,
-0.3166631758213043,
-0.005599424242973328,
-0.35278236865997314,
-0.11515218764543533,
0.17985877394676208,
0.19633062183856964,
0.20871490240097046,
-0.12453749030828476,
0.0029239673167467117,
0.022911682724952698,
0.17274144291877747,
0.37400296330451965,
-0.09851532429456711,
-0.338523805141449,
-0.0924760177731514,
-0.46072930097579956,
-0.11155449599027634,
-0.13848496973514557,
-0.03762140870094299,
-0.35385772585868835,
0.0862187072634697,
-0.06452963501214981,
-0.24103064835071564,
0.5743958353996277,
0.10844961553812027,
0.09674094617366791,
-0.030572064220905304,
0.02503359690308571,
-0.2562142312526703,
-0.08114989101886749,
0.07728870958089828,
0.06047791242599487,
-0.2727942168712616,
-0.007982302457094193,
0.08104976266622543,
-0.041953299194574356,
-0.35050082206726074,
0.27031081914901733,
0.08464203774929047,
-0.3177672326564789,
0.3636012375354767,
0.25307169556617737,
0.5492522716522217,
-0.1432020366191864,
-0.2851601839065552,
-0.3013896346092224,
-0.18195851147174835,
-0.31738007068634033,
0.2514178454875946,
0.13123594224452972,
0.41781577467918396,
-0.27166926860809326,
-0.12167322635650635,
-0.3770744800567627,
-0.022566577419638634,
-0.05628865957260132,
-0.16395217180252075,
-0.20098000764846802,
0.23030513525009155,
-0.14500711858272552,
0.009633299894630909,
0.11898717284202576,
0.07308602333068848,
-0.23886165022850037,
0.3592514097690582,
-0.16906757652759552,
-0.17506010830402374,
0.4384576976299286,
-0.2076653391122818,
-0.2869015336036682,
0.16255131363868713,
0.2044946551322937,
-0.27914494276046753,
-0.17777018249034882,
-0.35530543327331543,
0.1852439045906067,
0.17624443769454956,
-0.060016073286533356,
-0.05437551811337471,
0.33468934893608093,
-0.15965840220451355,
0.003964390605688095,
0.06796596944332123,
0.00115879625082016,
0.3591447174549103,
-0.3357495069503784,
0.3008354902267456,
-0.03824009746313095
] |
https://github.com/huggingface/datasets/issues/4661 | Concurrency bug when using same cache among several jobs | I can confirm that if I run one job first that processes the dataset, then I can run any jobs in parallel with no problem (no write-concurrency anymore...). | ## Describe the bug
I used to see this bug with an older version of the datasets. It seems to persist.
This is my concrete scenario: I launch several evaluation jobs on a cluster in which I share the file system and I share the cache directory used by huggingface libraries. The evaluation jobs read the same *.csv files. If my jobs get all scheduled pretty much at the same time, there are all kinds of weird concurrency errors. Sometime it crashes silently. This time I got lucky that it crashed with a stack trace that I can share and maybe you get to the bottom of this. If you don't have a similar setup available, it may be hard to reproduce as you really need two jobs accessing the same file at the same time to see this type of bug.
## Steps to reproduce the bug
I'm running a modified version of `run_glue.py` script adapted to my use case. I've seen the same problem when running some glue datasets as well (so it's not specific to loading the datasets from csv files).
## Expected results
No crash, concurrent access to the (intermediate) files just fine.
## Actual results
Crashes due to races/concurrency bugs.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.3.2
- Platform: Linux-4.18.0-348.23.1.el8_5.x86_64-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyArrow version: 8.0.0
- Pandas version: 1.1.0
Stack trace that I just got with the crash (I've obfuscated some names, it should still be quite informative):
```
Running tokenizer on dataset: 0%| | 0/3 [00:00<?, ?ba/s]
Traceback (most recent call last):
File "../../src/models//run_*******.py", line 600, in <module>
main()
File "../../src/models//run_*******.py", line 444, in main
raw_datasets = raw_datasets.map(
File "/*******//envs/tr-crt/lib/python3.8/site-packages/datasets/dataset_dict.py", line 770, in map
{
File "/*******//envs/tr-crt/lib/python3.8/site-packages/datasets/dataset_dict.py", line 771, in <dictcomp>
k: dataset.map(
File "/*******//envs/tr-crt/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 2376, in map
return self._map_single(
File "/*******/envs/tr-crt/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 551, in wrapper
out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
File "/*******//envs/tr-crt/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 518, in wrapper
out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
File "/*******/envs/tr-crt/lib/python3.8/site-packages/datasets/fingerprint.py", line 458, in wrapper
out = func(self, *args, **kwargs)
File "/*******//envs/tr-crt/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 2776, in _map_single
buf_writer, writer, tmp_file = init_buffer_and_writer()
File "/*******//envs/tr-crt/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 2696, in init_buffer_and_writer
tmp_file = tempfile.NamedTemporaryFile("wb", dir=os.path.dirname(cache_file_name), delete=False)
File "/*******//envs/tr-crt/lib/python3.8/tempfile.py", line 541, in NamedTemporaryFile
(fd, name) = _mkstemp_inner(dir, prefix, suffix, flags, output_type)
File "/*******//envs/tr-crt/lib/python3.8/tempfile.py", line 250, in _mkstemp_inner
fd = _os.open(file, flags, 0o600)
FileNotFoundError: [Errno 2] No such file or directory: '/*******/cache-transformers//transformers/csv/default-ef9cd184210742a7/0.0.0/51cce309a08df9c4d82ffd9363bbe090bf173197fc01a71b034e8594995a1a58/tmps8l6j5yc'
```
As I ran 100s of experiments last year for an empirical paper, I ran into this type of bugs several times. I found several bandaid/work-arounds, e.g., run one job first that caches the dataset => eliminate concurrency; OR use unique caches => eliminate concurrency (but increase storage space), etc. and it all works fine.
I'd like to help you fixing this bug as it's really annoying to always apply the work arounds. Let me know what other info from my side could help you figure out the issue.
Thanks for your help!
| 28 | Concurrency bug when using same cache among several jobs
## Describe the bug
I used to see this bug with an older version of the datasets. It seems to persist.
This is my concrete scenario: I launch several evaluation jobs on a cluster in which I share the file system and I share the cache directory used by huggingface libraries. The evaluation jobs read the same *.csv files. If my jobs get all scheduled pretty much at the same time, there are all kinds of weird concurrency errors. Sometime it crashes silently. This time I got lucky that it crashed with a stack trace that I can share and maybe you get to the bottom of this. If you don't have a similar setup available, it may be hard to reproduce as you really need two jobs accessing the same file at the same time to see this type of bug.
## Steps to reproduce the bug
I'm running a modified version of `run_glue.py` script adapted to my use case. I've seen the same problem when running some glue datasets as well (so it's not specific to loading the datasets from csv files).
## Expected results
No crash, concurrent access to the (intermediate) files just fine.
## Actual results
Crashes due to races/concurrency bugs.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.3.2
- Platform: Linux-4.18.0-348.23.1.el8_5.x86_64-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyArrow version: 8.0.0
- Pandas version: 1.1.0
Stack trace that I just got with the crash (I've obfuscated some names, it should still be quite informative):
```
Running tokenizer on dataset: 0%| | 0/3 [00:00<?, ?ba/s]
Traceback (most recent call last):
File "../../src/models//run_*******.py", line 600, in <module>
main()
File "../../src/models//run_*******.py", line 444, in main
raw_datasets = raw_datasets.map(
File "/*******//envs/tr-crt/lib/python3.8/site-packages/datasets/dataset_dict.py", line 770, in map
{
File "/*******//envs/tr-crt/lib/python3.8/site-packages/datasets/dataset_dict.py", line 771, in <dictcomp>
k: dataset.map(
File "/*******//envs/tr-crt/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 2376, in map
return self._map_single(
File "/*******/envs/tr-crt/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 551, in wrapper
out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
File "/*******//envs/tr-crt/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 518, in wrapper
out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
File "/*******/envs/tr-crt/lib/python3.8/site-packages/datasets/fingerprint.py", line 458, in wrapper
out = func(self, *args, **kwargs)
File "/*******//envs/tr-crt/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 2776, in _map_single
buf_writer, writer, tmp_file = init_buffer_and_writer()
File "/*******//envs/tr-crt/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 2696, in init_buffer_and_writer
tmp_file = tempfile.NamedTemporaryFile("wb", dir=os.path.dirname(cache_file_name), delete=False)
File "/*******//envs/tr-crt/lib/python3.8/tempfile.py", line 541, in NamedTemporaryFile
(fd, name) = _mkstemp_inner(dir, prefix, suffix, flags, output_type)
File "/*******//envs/tr-crt/lib/python3.8/tempfile.py", line 250, in _mkstemp_inner
fd = _os.open(file, flags, 0o600)
FileNotFoundError: [Errno 2] No such file or directory: '/*******/cache-transformers//transformers/csv/default-ef9cd184210742a7/0.0.0/51cce309a08df9c4d82ffd9363bbe090bf173197fc01a71b034e8594995a1a58/tmps8l6j5yc'
```
As I ran 100s of experiments last year for an empirical paper, I ran into this type of bugs several times. I found several bandaid/work-arounds, e.g., run one job first that caches the dataset => eliminate concurrency; OR use unique caches => eliminate concurrency (but increase storage space), etc. and it all works fine.
I'd like to help you fixing this bug as it's really annoying to always apply the work arounds. Let me know what other info from my side could help you figure out the issue.
Thanks for your help!
I can confirm that if I run one job first that processes the dataset, then I can run any jobs in parallel with no problem (no write-concurrency anymore...). | [
-0.4678846597671509,
0.1503218412399292,
-0.005129652097821236,
0.4096810817718506,
0.014813212677836418,
0.036131054162979126,
0.5157450437545776,
0.15018148720264435,
0.39099740982055664,
0.18011978268623352,
-0.11120054870843887,
-0.029217572882771492,
0.11454767733812332,
-0.14491401612758636,
-0.3257576525211334,
0.013401135802268982,
0.12037582695484161,
-0.2633410394191742,
-0.2686028778553009,
0.24171839654445648,
-0.1537720263004303,
0.20434258878231049,
0.13652268052101135,
-0.025007933378219604,
-0.4345141351222992,
-0.1382990926504135,
-0.3052884340286255,
0.3174075484275818,
0.43718579411506653,
-0.15950174629688263,
0.20950627326965332,
0.3544447720050812,
-0.13935911655426025,
0.7517841458320618,
-0.00011108969192719087,
0.05320693552494049,
0.26146405935287476,
0.15916411578655243,
-0.09092244505882263,
0.0017478615045547485,
0.038609519600868225,
-0.14928261935710907,
0.05819433182477951,
-0.18027661740779877,
0.08041642606258392,
0.4425884187221527,
0.09628479927778244,
-0.6347705721855164,
0.3579748272895813,
-0.291354775428772,
0.205060675740242,
0.5210047960281372,
-0.5041016936302185,
-0.0938679426908493,
0.2565509080886841,
-0.2280740886926651,
0.03653543442487717,
0.13517747819423676,
0.3880658447742462,
-0.3085578978061676,
-0.26665815711021423,
0.28553998470306396,
-0.30872607231140137,
0.28577834367752075,
-0.14031264185905457,
0.019529026001691818,
-0.31656262278556824,
-0.24331417679786682,
0.15608492493629456,
0.17136460542678833,
0.24527230858802795,
-0.3506942093372345,
-0.2757834196090698,
-0.39976516366004944,
-0.07206682860851288,
-0.29014596343040466,
0.13592061400413513,
0.2350204586982727,
0.14459741115570068,
0.0061020925641059875,
0.09204300493001938,
0.40588200092315674,
0.062303051352500916,
-0.16551677882671356,
0.4408777058124542,
-0.13503821194171906,
-0.024620331823825836,
0.1904796063899994,
0.18519145250320435,
0.21752355992794037,
-0.015207958407700062,
-0.16796359419822693,
-0.18866263329982758,
0.03125559538602829,
-0.5616867542266846,
0.24455487728118896,
-0.006162315607070923,
0.24706193804740906,
0.22182810306549072,
-0.07381431013345718,
-0.23357559740543365,
0.15058010816574097,
0.004177483730018139,
0.15521731972694397,
0.41331079602241516,
0.07011720538139343,
0.0024477317929267883,
-0.052151069045066833,
0.46357065439224243,
0.02660355158150196,
-0.3313453793525696,
-0.0035874024033546448,
0.1528206467628479,
-0.3348572254180908,
0.18188098073005676,
0.1258344054222107,
-0.07977277040481567,
-0.09087447822093964,
-0.14919009804725647,
0.1614747792482376,
-0.020753739401698112,
0.1987634152173996,
-0.11383607238531113,
0.45681193470954895,
-0.13885396718978882,
0.10634905844926834,
0.07356150448322296,
-0.025056742131710052,
-0.24462725222110748,
-0.03667272627353668,
-0.2723904252052307,
-0.04256599023938179,
-0.07684878259897232,
0.2398189902305603,
0.03320955112576485,
-0.272362619638443,
0.023661628365516663,
0.2146160751581192,
0.16977091133594513,
-0.33893775939941406,
0.12418176233768463,
-0.14675401151180267,
-0.15816479921340942,
0.02624446712434292,
0.10592691600322723,
0.40230849385261536,
-0.006926506757736206,
-0.10838247835636139,
-0.057427771389484406,
-0.15994858741760254,
-0.22212141752243042,
-0.2131197452545166,
0.22850942611694336,
0.11470483243465424,
-0.2903434634208679,
0.46706923842430115,
-0.17733189463615417,
0.07868370413780212,
0.41364648938179016,
-0.012821722775697708,
0.09153947234153748,
-0.02728680521249771,
-0.2367149293422699,
-0.2265627384185791,
-0.18795277178287506,
0.9042928814888,
-0.10758881270885468,
0.00013574957847595215,
0.03449532762169838,
-0.00032276473939418793,
-0.11845561116933823,
0.5342406630516052,
0.0017312295967712998,
-0.17176562547683716,
-0.24951550364494324,
0.20708860456943512,
-0.001076430082321167,
-0.3573736846446991,
-0.502188503742218,
0.3561863601207733,
-0.1627054661512375,
0.18914122879505157,
0.13824741542339325,
0.23455502092838287,
0.3462577760219574,
-0.20630279183387756,
0.000704839825630188,
0.242859348654747,
-0.07124793529510498,
0.2580616772174835,
-0.2955492436885834,
-0.24715134501457214,
0.08585254102945328,
0.056541021913290024,
-0.11416809260845184,
-0.40003085136413574,
-0.012830056250095367,
-0.4800626337528229,
0.16162735223770142,
-0.07957161962985992,
0.14041973650455475,
0.3356693983078003,
-0.09591871500015259,
0.30984562635421753,
0.25356391072273254,
-0.12747040390968323,
-0.65351402759552,
0.32244598865509033,
0.07598929852247238,
-0.2031552791595459,
0.1869896948337555,
-0.4111969470977783,
0.1257983148097992,
-0.042167555540800095,
-0.1825934201478958,
-0.17376363277435303,
0.0722283124923706,
0.11157340556383133,
0.04513247683644295,
0.2219827026128769,
0.020375404506921768,
0.7975556254386902,
0.0241819117218256,
0.06565903127193451,
-0.3885151147842407,
0.05591338127851486,
-0.14228560030460358,
-0.152291938662529,
-0.11714145541191101,
0.11016137152910233,
0.2917839288711548,
-0.27454811334609985,
-0.05284074693918228,
0.30395475029945374,
0.05673310533165932,
0.42962634563446045,
-0.20172810554504395,
0.09399809688329697,
0.2161044031381607,
0.3420024514198303,
-0.004838651046156883,
-0.15292690694332123,
0.09611738473176956,
-0.17365479469299316,
0.20592966675758362,
0.3424980044364929,
-0.19877679646015167,
0.16286364197731018,
-0.09802474081516266,
0.04867101460695267,
0.09636200964450836,
-0.029406713321805,
-0.06344057619571686,
0.238535076379776,
0.3677757680416107,
-0.10319218039512634,
0.2724713385105133,
0.1060219556093216,
-0.5314074754714966,
0.2475782036781311,
0.2839280962944031,
0.1565254032611847,
0.09272602945566177,
-0.28652089834213257,
-0.1468466818332672,
0.16374057531356812,
0.14130818843841553,
0.4625759422779083,
0.6119477152824402,
0.08029387146234512,
0.13626357913017273,
0.02989732287824154,
0.04262770712375641,
-0.1612885594367981,
-0.18509599566459656,
0.0439845435321331,
-0.03313580900430679,
0.14267843961715698,
0.1687747687101364,
0.09463082253932953,
-0.19860509037971497,
-0.10531251132488251,
-0.07571905851364136,
-0.11706535518169403,
-0.24987855553627014,
0.40111714601516724,
-0.19000276923179626,
-0.09739634394645691,
-0.24304434657096863,
0.03263666108250618,
-0.28494787216186523,
-0.1665436178445816,
-0.094520702958107,
0.5004811882972717,
-0.2843140959739685,
0.1802554577589035,
-0.10821060836315155,
0.4215199947357178,
-0.1844359189271927,
0.288786381483078,
-0.22443373501300812,
-0.2176138460636139,
-0.27126845717430115,
-0.0867466926574707,
0.4018886685371399,
0.16055701673030853,
0.29715123772621155,
0.173047736287117,
-0.29978442192077637,
-0.25341182947158813,
-0.0008585900068283081,
-0.09041133522987366,
-0.0443633571267128,
0.32398173213005066,
-0.011528074741363525,
-0.02588832378387451,
-0.02164606750011444,
-0.30938321352005005,
0.14734187722206116,
-0.21426242589950562,
-0.0740845575928688,
-0.09775660187005997,
-0.006282131187617779,
-0.08000452816486359,
-0.236997589468956,
-0.09730390459299088,
-0.2533910870552063,
-0.2727990448474884,
0.47301560640335083,
-0.3710137605667114,
0.04612380266189575,
-0.0707225576043129,
-0.26891931891441345,
-0.12522101402282715,
-0.029330911114811897,
-0.12067374587059021,
-0.4262770712375641,
-0.24378018081188202,
-0.07178983092308044,
-0.19212570786476135,
-0.38684847950935364,
-0.23447319865226746,
-0.17279663681983948,
0.11513377726078033,
-0.03636066988110542,
-0.3339371085166931,
-0.2752239406108856,
-0.11584827303886414,
0.04295709356665611,
0.040161971002817154,
0.07051511108875275,
0.17674723267555237,
-0.13549678027629852,
0.07761472463607788,
-0.14973273873329163,
-0.17501477897167206,
0.1562442183494568,
-0.09464255720376968,
0.047149840742349625,
0.002727242186665535,
0.2453642189502716,
0.1694868952035904,
0.5711836814880371,
0.3799665570259094,
-0.02745329961180687,
0.20226745307445526,
-0.057837456464767456,
0.5585039258003235,
0.00742630660533905,
-0.3639149069786072,
-0.0061783744022250175,
-0.24442875385284424,
-0.41395503282546997,
-0.00013639777898788452,
-0.020707685500383377,
-0.08912365883588791,
-0.11316072195768356,
-0.03543226420879364,
-0.10871382057666779,
-0.3583231270313263,
0.01036057248711586,
-0.15545420348644257,
-0.0058969780802726746,
0.09420076012611389,
0.03330779820680618,
-0.008697554469108582,
-0.1072017028927803,
0.24334999918937683,
0.38689106702804565,
0.0047875940799713135,
-0.06582611799240112,
-0.07251599431037903,
0.145462304353714,
-0.343904048204422,
0.4177054762840271,
0.11337432265281677,
0.2611898183822632,
-0.017228905111551285,
-0.0023921355605125427,
-0.08011876046657562,
-0.0680573582649231,
0.7840491533279419,
-0.21910034120082855,
0.10539296269416809,
0.11886264383792877,
-0.18173275887966156,
-0.30601027607917786,
-0.23612995445728302,
-0.09651823341846466,
0.1309216022491455,
0.3011299967765808,
0.31692442297935486,
-0.2656961679458618,
-0.06911949068307877,
-0.029262851923704147,
-0.10717488825321198,
-0.2204192578792572,
-0.3535498380661011,
-0.3158669173717499,
-0.05743991211056709,
0.001219235360622406,
0.30651187896728516,
0.03475716710090637,
-0.07847906649112701,
-0.4220675826072693,
-0.03227397799491882,
0.03239454701542854,
0.05686750262975693,
0.039752524346113205,
0.05599914863705635,
0.1878313422203064,
-0.2557308077812195,
0.41937243938446045,
0.2954222559928894,
-0.08659231662750244,
-0.024470938369631767,
0.2581430673599243,
-0.15963254868984222,
-0.04549802839756012,
0.03732438012957573,
0.11168951541185379,
0.2514858543872833,
0.5654951333999634,
-0.14427441358566284,
0.020616546273231506,
0.061013586819171906,
-0.17525614798069,
-0.11183908581733704,
-0.06379155814647675,
0.24632784724235535,
0.3241024613380432,
-0.050903771072626114,
-0.0976371243596077,
0.13248838484287262,
0.3369203209877014,
-0.18927191197872162,
0.4798862934112549,
-0.4249798059463501,
-0.0056581050157547,
0.3176047205924988,
-0.1952928900718689,
0.6905162930488586,
-0.1343243420124054,
0.1619771420955658,
0.15635532140731812,
-0.31948524713516235,
0.5689363479614258,
-0.12929147481918335,
0.3331183195114136,
-0.5878414511680603,
-0.4813464879989624,
0.06654307246208191,
-0.17658062279224396,
0.029378533363342285,
-0.01630350947380066,
0.033496927469968796,
0.3130043148994446,
0.21496929228305817,
0.17783306539058685,
-0.429774671792984,
0.013568662106990814,
-0.3322930335998535,
-0.24231761693954468,
-0.05408613383769989,
0.12735719978809357,
-0.16857755184173584,
0.2881806790828705,
-0.20554253458976746,
-0.029666893184185028,
0.11528736352920532,
-0.09990362823009491,
-0.3909999132156372,
0.11102821677923203,
-0.20892317593097687,
0.27544307708740234,
0.280148983001709,
0.02519119530916214,
-0.1339012086391449,
-0.09589408338069916,
0.20624937117099762,
-0.04389603063464165,
0.0181121788918972,
0.06716661900281906,
0.05806155875325203,
0.14404688775539398,
0.07256636023521423,
-0.18077677488327026,
0.2296685427427292,
0.13526663184165955,
-0.1970033347606659,
-0.1244971826672554,
0.013479049317538738,
-0.11115297675132751,
0.013144358992576599,
0.3662465810775757,
-0.050144366919994354,
-0.08446236699819565,
-0.15130414068698883,
0.14490610361099243,
0.06629833579063416,
-0.0583522766828537,
0.09522660076618195,
0.05774909630417824,
-0.12686116993427277,
0.39659228920936584,
-0.3205309510231018,
-0.19516780972480774,
-0.06163257732987404,
0.4133944511413574,
-0.11172638088464737,
-0.030885735526680946,
0.17937320470809937,
0.2596953511238098,
-0.21239745616912842,
-0.018892282620072365,
-0.22670409083366394,
0.25914761424064636,
-0.3278731107711792,
0.013553024269640446,
-0.3395105302333832,
-0.12550050020217896,
0.08510902523994446,
-0.005002092570066452,
0.17697979509830475,
-0.00044446438550949097,
-0.1681828498840332,
-0.3330603241920471,
-0.19531644880771637,
0.07876202464103699,
-0.13226065039634705,
0.30661001801490784,
0.19062954187393188,
-0.030126359313726425,
-0.16952639818191528,
0.18599705398082733,
-0.26185327768325806,
0.09906209260225296,
-0.2225247025489807,
-0.0387478768825531,
0.4825555086135864,
-0.18831384181976318,
0.14777681231498718,
0.09175533056259155,
-0.03400089964270592,
0.3616064190864563,
-0.33339911699295044,
-0.1541478931903839,
-0.17217588424682617,
0.11019265651702881,
-0.10884899646043777,
0.19340048730373383,
-0.13655303418636322,
-0.2455064207315445,
0.17921777069568634,
-0.24891263246536255,
0.3826332092285156,
0.22244375944137573,
-0.3365076184272766,
0.016493499279022217,
0.22505304217338562,
0.25165075063705444,
0.03672773391008377,
0.4078978896141052,
-0.09365673363208771,
-0.11036448180675507,
0.12676693499088287,
0.10335838794708252,
-0.0849950835108757,
0.07626660168170929,
-0.03874571621417999,
-0.14567402005195618,
0.08477004617452621,
0.16335955262184143,
0.117648646235466,
-0.19556070864200592,
-0.2629832625389099,
0.2562345564365387,
0.5744239091873169,
0.23784522712230682,
0.028905091807246208,
-0.12936346232891083,
0.05697420611977577,
0.12372477352619171,
0.02767995372414589,
-0.14813993871212006,
0.5179829597473145,
0.15003472566604614,
-0.047620974481105804,
0.31776610016822815,
0.3428199589252472,
-0.1062726378440857,
0.19738484919071198,
0.19986680150032043,
0.761158287525177,
-0.49627554416656494,
0.18059320747852325,
-0.35501888394355774,
0.03887846693396568,
0.09483832120895386,
0.30114108324050903,
0.06684623658657074,
0.2527691721916199,
0.004948139190673828,
0.13496285676956177,
0.014280447736382484,
0.025369254872202873,
-0.12206065654754639,
0.025716915726661682,
-0.5667111277580261,
-0.020760703831911087,
0.13825476169586182,
-0.04414713382720947,
0.1402541548013687,
-0.1013452410697937,
0.5648442506790161,
-0.44982457160949707,
-0.24947021901607513,
-0.17950239777565002,
0.18401594460010529,
-0.3183681070804596,
-0.0743057131767273,
0.6706662774085999,
-0.03318281099200249,
0.18030917644500732,
0.1071481853723526,
0.06579405069351196,
0.19154104590415955,
0.9453109502792358,
0.06685372442007065,
0.053754765540361404,
-0.2545989155769348,
-0.27296942472457886,
0.18547391891479492,
0.261474609375,
-0.15780878067016602,
0.16162750124931335,
0.11899527162313461,
-0.1557352989912033,
-0.18522347509860992,
0.3170548677444458,
0.5883162617683411,
0.15330711007118225,
0.02583438530564308,
-0.026553042232990265,
-0.02296406403183937,
0.2630615234375,
-0.1638159155845642,
0.2402127981185913,
-0.10061229765415192,
-0.34205615520477295,
0.1284056305885315,
0.10630707442760468,
-0.05637200549244881,
0.23217537999153137,
0.10086221992969513,
0.2123626321554184,
-0.40977612137794495,
-0.09858139604330063,
-0.330077588558197,
-0.04431086778640747,
-0.16678887605667114,
0.14551809430122375,
-0.2680337429046631,
-0.07735224813222885,
0.2682023346424103,
-0.1070110872387886,
0.10857392102479935,
-0.2612128257751465,
0.08041898161172867,
0.16975681483745575,
0.36275291442871094,
0.39230436086654663,
0.04107482731342316,
-0.2692047655582428,
0.036399662494659424,
-0.4942101240158081,
0.3819143772125244,
-0.24867355823516846,
0.23881983757019043,
-0.1444755345582962,
0.3091128170490265,
-0.24745073914527893,
-0.09530261158943176,
0.41652846336364746,
0.15670529007911682,
-0.015401093289256096,
0.09904630482196808,
-0.5304205417633057,
-0.05160869285464287,
0.04210454225540161,
-0.528554379940033,
0.41331321001052856,
-0.30523309111595154,
0.07651852816343307,
0.06433965265750885,
-0.028317468240857124,
0.23369203507900238,
-0.04702363163232803,
-0.018102750182151794,
-0.04110129177570343,
0.34877583384513855,
0.09357459843158722,
0.12238425016403198,
0.21264469623565674,
-0.09708930552005768,
-0.38921013474464417,
-0.20630502700805664,
-0.06416831165552139,
0.004028148949146271,
-0.04780131205916405,
0.041508957743644714,
-0.4504455327987671,
-0.09062707424163818,
-0.2735308110713959,
0.051021087914705276,
0.23596139252185822,
-0.02472681738436222,
-0.12184900790452957,
0.018326738849282265,
-0.19428947567939758,
0.3431593179702759,
0.09669369459152222,
0.41108182072639465,
0.08434484899044037,
0.4292467534542084,
-0.1619112342596054,
-0.15469235181808472,
0.33170124888420105,
-0.467856764793396,
-0.28982213139533997,
-0.23751722276210785,
0.3488979935646057,
0.2584007978439331,
-0.24745485186576843,
-0.2825916111469269,
-0.1283278912305832,
0.09039554744958878,
0.007305113598704338,
-0.11170832812786102,
-0.04545937106013298,
-0.1790127158164978,
-0.05419490113854408,
0.02474440261721611,
-0.046357326209545135,
0.06749282777309418,
-0.29791852831840515,
0.557849109172821,
-0.24239295721054077
] |
https://github.com/huggingface/datasets/issues/4661 | Concurrency bug when using same cache among several jobs | Hi! That's weird. It seems like the error points to the `mkstemp` function, but the official docs state the following:
```
There are no race conditions in the file’s creation, assuming that the platform properly implements the [os.O_EXCL](https://docs.python.org/3/library/os.html#os.O_EXCL) flag for [os.open()](https://docs.python.org/3/library/os.html#os.open)
```
So this could mean your platform doesn't support that flag.
~~Can you please check if wrapping the temp file creation (the line `tmp_file = tempfile.NamedTemporaryFile("wb", dir=os.path.dirname(cache_file_name), delete=False)` in `_map_single`) with the `multiprocess.Lock` fixes the issue?~~
Perhaps wrapping the temp file creation in `_map_single` with `filelock` could work:
```python
with FileLock(lock_path):
tmp_file = tempfile.NamedTemporaryFile("wb", dir=os.path.dirname(cache_file_name), delete=False)
```
Can you please check if that helps? | ## Describe the bug
I used to see this bug with an older version of the datasets. It seems to persist.
This is my concrete scenario: I launch several evaluation jobs on a cluster in which I share the file system and I share the cache directory used by huggingface libraries. The evaluation jobs read the same *.csv files. If my jobs get all scheduled pretty much at the same time, there are all kinds of weird concurrency errors. Sometime it crashes silently. This time I got lucky that it crashed with a stack trace that I can share and maybe you get to the bottom of this. If you don't have a similar setup available, it may be hard to reproduce as you really need two jobs accessing the same file at the same time to see this type of bug.
## Steps to reproduce the bug
I'm running a modified version of `run_glue.py` script adapted to my use case. I've seen the same problem when running some glue datasets as well (so it's not specific to loading the datasets from csv files).
## Expected results
No crash, concurrent access to the (intermediate) files just fine.
## Actual results
Crashes due to races/concurrency bugs.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.3.2
- Platform: Linux-4.18.0-348.23.1.el8_5.x86_64-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyArrow version: 8.0.0
- Pandas version: 1.1.0
Stack trace that I just got with the crash (I've obfuscated some names, it should still be quite informative):
```
Running tokenizer on dataset: 0%| | 0/3 [00:00<?, ?ba/s]
Traceback (most recent call last):
File "../../src/models//run_*******.py", line 600, in <module>
main()
File "../../src/models//run_*******.py", line 444, in main
raw_datasets = raw_datasets.map(
File "/*******//envs/tr-crt/lib/python3.8/site-packages/datasets/dataset_dict.py", line 770, in map
{
File "/*******//envs/tr-crt/lib/python3.8/site-packages/datasets/dataset_dict.py", line 771, in <dictcomp>
k: dataset.map(
File "/*******//envs/tr-crt/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 2376, in map
return self._map_single(
File "/*******/envs/tr-crt/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 551, in wrapper
out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
File "/*******//envs/tr-crt/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 518, in wrapper
out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
File "/*******/envs/tr-crt/lib/python3.8/site-packages/datasets/fingerprint.py", line 458, in wrapper
out = func(self, *args, **kwargs)
File "/*******//envs/tr-crt/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 2776, in _map_single
buf_writer, writer, tmp_file = init_buffer_and_writer()
File "/*******//envs/tr-crt/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 2696, in init_buffer_and_writer
tmp_file = tempfile.NamedTemporaryFile("wb", dir=os.path.dirname(cache_file_name), delete=False)
File "/*******//envs/tr-crt/lib/python3.8/tempfile.py", line 541, in NamedTemporaryFile
(fd, name) = _mkstemp_inner(dir, prefix, suffix, flags, output_type)
File "/*******//envs/tr-crt/lib/python3.8/tempfile.py", line 250, in _mkstemp_inner
fd = _os.open(file, flags, 0o600)
FileNotFoundError: [Errno 2] No such file or directory: '/*******/cache-transformers//transformers/csv/default-ef9cd184210742a7/0.0.0/51cce309a08df9c4d82ffd9363bbe090bf173197fc01a71b034e8594995a1a58/tmps8l6j5yc'
```
As I ran 100s of experiments last year for an empirical paper, I ran into this type of bugs several times. I found several bandaid/work-arounds, e.g., run one job first that caches the dataset => eliminate concurrency; OR use unique caches => eliminate concurrency (but increase storage space), etc. and it all works fine.
I'd like to help you fixing this bug as it's really annoying to always apply the work arounds. Let me know what other info from my side could help you figure out the issue.
Thanks for your help!
| 105 | Concurrency bug when using same cache among several jobs
## Describe the bug
I used to see this bug with an older version of the datasets. It seems to persist.
This is my concrete scenario: I launch several evaluation jobs on a cluster in which I share the file system and I share the cache directory used by huggingface libraries. The evaluation jobs read the same *.csv files. If my jobs get all scheduled pretty much at the same time, there are all kinds of weird concurrency errors. Sometime it crashes silently. This time I got lucky that it crashed with a stack trace that I can share and maybe you get to the bottom of this. If you don't have a similar setup available, it may be hard to reproduce as you really need two jobs accessing the same file at the same time to see this type of bug.
## Steps to reproduce the bug
I'm running a modified version of `run_glue.py` script adapted to my use case. I've seen the same problem when running some glue datasets as well (so it's not specific to loading the datasets from csv files).
## Expected results
No crash, concurrent access to the (intermediate) files just fine.
## Actual results
Crashes due to races/concurrency bugs.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.3.2
- Platform: Linux-4.18.0-348.23.1.el8_5.x86_64-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyArrow version: 8.0.0
- Pandas version: 1.1.0
Stack trace that I just got with the crash (I've obfuscated some names, it should still be quite informative):
```
Running tokenizer on dataset: 0%| | 0/3 [00:00<?, ?ba/s]
Traceback (most recent call last):
File "../../src/models//run_*******.py", line 600, in <module>
main()
File "../../src/models//run_*******.py", line 444, in main
raw_datasets = raw_datasets.map(
File "/*******//envs/tr-crt/lib/python3.8/site-packages/datasets/dataset_dict.py", line 770, in map
{
File "/*******//envs/tr-crt/lib/python3.8/site-packages/datasets/dataset_dict.py", line 771, in <dictcomp>
k: dataset.map(
File "/*******//envs/tr-crt/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 2376, in map
return self._map_single(
File "/*******/envs/tr-crt/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 551, in wrapper
out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
File "/*******//envs/tr-crt/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 518, in wrapper
out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
File "/*******/envs/tr-crt/lib/python3.8/site-packages/datasets/fingerprint.py", line 458, in wrapper
out = func(self, *args, **kwargs)
File "/*******//envs/tr-crt/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 2776, in _map_single
buf_writer, writer, tmp_file = init_buffer_and_writer()
File "/*******//envs/tr-crt/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 2696, in init_buffer_and_writer
tmp_file = tempfile.NamedTemporaryFile("wb", dir=os.path.dirname(cache_file_name), delete=False)
File "/*******//envs/tr-crt/lib/python3.8/tempfile.py", line 541, in NamedTemporaryFile
(fd, name) = _mkstemp_inner(dir, prefix, suffix, flags, output_type)
File "/*******//envs/tr-crt/lib/python3.8/tempfile.py", line 250, in _mkstemp_inner
fd = _os.open(file, flags, 0o600)
FileNotFoundError: [Errno 2] No such file or directory: '/*******/cache-transformers//transformers/csv/default-ef9cd184210742a7/0.0.0/51cce309a08df9c4d82ffd9363bbe090bf173197fc01a71b034e8594995a1a58/tmps8l6j5yc'
```
As I ran 100s of experiments last year for an empirical paper, I ran into this type of bugs several times. I found several bandaid/work-arounds, e.g., run one job first that caches the dataset => eliminate concurrency; OR use unique caches => eliminate concurrency (but increase storage space), etc. and it all works fine.
I'd like to help you fixing this bug as it's really annoying to always apply the work arounds. Let me know what other info from my side could help you figure out the issue.
Thanks for your help!
Hi! That's weird. It seems like the error points to the `mkstemp` function, but the official docs state the following:
```
There are no race conditions in the file’s creation, assuming that the platform properly implements the [os.O_EXCL](https://docs.python.org/3/library/os.html#os.O_EXCL) flag for [os.open()](https://docs.python.org/3/library/os.html#os.open)
```
So this could mean your platform doesn't support that flag.
~~Can you please check if wrapping the temp file creation (the line `tmp_file = tempfile.NamedTemporaryFile("wb", dir=os.path.dirname(cache_file_name), delete=False)` in `_map_single`) with the `multiprocess.Lock` fixes the issue?~~
Perhaps wrapping the temp file creation in `_map_single` with `filelock` could work:
```python
with FileLock(lock_path):
tmp_file = tempfile.NamedTemporaryFile("wb", dir=os.path.dirname(cache_file_name), delete=False)
```
Can you please check if that helps? | [
-0.4678846597671509,
0.1503218412399292,
-0.005129652097821236,
0.4096810817718506,
0.014813212677836418,
0.036131054162979126,
0.5157450437545776,
0.15018148720264435,
0.39099740982055664,
0.18011978268623352,
-0.11120054870843887,
-0.029217572882771492,
0.11454767733812332,
-0.14491401612758636,
-0.3257576525211334,
0.013401135802268982,
0.12037582695484161,
-0.2633410394191742,
-0.2686028778553009,
0.24171839654445648,
-0.1537720263004303,
0.20434258878231049,
0.13652268052101135,
-0.025007933378219604,
-0.4345141351222992,
-0.1382990926504135,
-0.3052884340286255,
0.3174075484275818,
0.43718579411506653,
-0.15950174629688263,
0.20950627326965332,
0.3544447720050812,
-0.13935911655426025,
0.7517841458320618,
-0.00011108969192719087,
0.05320693552494049,
0.26146405935287476,
0.15916411578655243,
-0.09092244505882263,
0.0017478615045547485,
0.038609519600868225,
-0.14928261935710907,
0.05819433182477951,
-0.18027661740779877,
0.08041642606258392,
0.4425884187221527,
0.09628479927778244,
-0.6347705721855164,
0.3579748272895813,
-0.291354775428772,
0.205060675740242,
0.5210047960281372,
-0.5041016936302185,
-0.0938679426908493,
0.2565509080886841,
-0.2280740886926651,
0.03653543442487717,
0.13517747819423676,
0.3880658447742462,
-0.3085578978061676,
-0.26665815711021423,
0.28553998470306396,
-0.30872607231140137,
0.28577834367752075,
-0.14031264185905457,
0.019529026001691818,
-0.31656262278556824,
-0.24331417679786682,
0.15608492493629456,
0.17136460542678833,
0.24527230858802795,
-0.3506942093372345,
-0.2757834196090698,
-0.39976516366004944,
-0.07206682860851288,
-0.29014596343040466,
0.13592061400413513,
0.2350204586982727,
0.14459741115570068,
0.0061020925641059875,
0.09204300493001938,
0.40588200092315674,
0.062303051352500916,
-0.16551677882671356,
0.4408777058124542,
-0.13503821194171906,
-0.024620331823825836,
0.1904796063899994,
0.18519145250320435,
0.21752355992794037,
-0.015207958407700062,
-0.16796359419822693,
-0.18866263329982758,
0.03125559538602829,
-0.5616867542266846,
0.24455487728118896,
-0.006162315607070923,
0.24706193804740906,
0.22182810306549072,
-0.07381431013345718,
-0.23357559740543365,
0.15058010816574097,
0.004177483730018139,
0.15521731972694397,
0.41331079602241516,
0.07011720538139343,
0.0024477317929267883,
-0.052151069045066833,
0.46357065439224243,
0.02660355158150196,
-0.3313453793525696,
-0.0035874024033546448,
0.1528206467628479,
-0.3348572254180908,
0.18188098073005676,
0.1258344054222107,
-0.07977277040481567,
-0.09087447822093964,
-0.14919009804725647,
0.1614747792482376,
-0.020753739401698112,
0.1987634152173996,
-0.11383607238531113,
0.45681193470954895,
-0.13885396718978882,
0.10634905844926834,
0.07356150448322296,
-0.025056742131710052,
-0.24462725222110748,
-0.03667272627353668,
-0.2723904252052307,
-0.04256599023938179,
-0.07684878259897232,
0.2398189902305603,
0.03320955112576485,
-0.272362619638443,
0.023661628365516663,
0.2146160751581192,
0.16977091133594513,
-0.33893775939941406,
0.12418176233768463,
-0.14675401151180267,
-0.15816479921340942,
0.02624446712434292,
0.10592691600322723,
0.40230849385261536,
-0.006926506757736206,
-0.10838247835636139,
-0.057427771389484406,
-0.15994858741760254,
-0.22212141752243042,
-0.2131197452545166,
0.22850942611694336,
0.11470483243465424,
-0.2903434634208679,
0.46706923842430115,
-0.17733189463615417,
0.07868370413780212,
0.41364648938179016,
-0.012821722775697708,
0.09153947234153748,
-0.02728680521249771,
-0.2367149293422699,
-0.2265627384185791,
-0.18795277178287506,
0.9042928814888,
-0.10758881270885468,
0.00013574957847595215,
0.03449532762169838,
-0.00032276473939418793,
-0.11845561116933823,
0.5342406630516052,
0.0017312295967712998,
-0.17176562547683716,
-0.24951550364494324,
0.20708860456943512,
-0.001076430082321167,
-0.3573736846446991,
-0.502188503742218,
0.3561863601207733,
-0.1627054661512375,
0.18914122879505157,
0.13824741542339325,
0.23455502092838287,
0.3462577760219574,
-0.20630279183387756,
0.000704839825630188,
0.242859348654747,
-0.07124793529510498,
0.2580616772174835,
-0.2955492436885834,
-0.24715134501457214,
0.08585254102945328,
0.056541021913290024,
-0.11416809260845184,
-0.40003085136413574,
-0.012830056250095367,
-0.4800626337528229,
0.16162735223770142,
-0.07957161962985992,
0.14041973650455475,
0.3356693983078003,
-0.09591871500015259,
0.30984562635421753,
0.25356391072273254,
-0.12747040390968323,
-0.65351402759552,
0.32244598865509033,
0.07598929852247238,
-0.2031552791595459,
0.1869896948337555,
-0.4111969470977783,
0.1257983148097992,
-0.042167555540800095,
-0.1825934201478958,
-0.17376363277435303,
0.0722283124923706,
0.11157340556383133,
0.04513247683644295,
0.2219827026128769,
0.020375404506921768,
0.7975556254386902,
0.0241819117218256,
0.06565903127193451,
-0.3885151147842407,
0.05591338127851486,
-0.14228560030460358,
-0.152291938662529,
-0.11714145541191101,
0.11016137152910233,
0.2917839288711548,
-0.27454811334609985,
-0.05284074693918228,
0.30395475029945374,
0.05673310533165932,
0.42962634563446045,
-0.20172810554504395,
0.09399809688329697,
0.2161044031381607,
0.3420024514198303,
-0.004838651046156883,
-0.15292690694332123,
0.09611738473176956,
-0.17365479469299316,
0.20592966675758362,
0.3424980044364929,
-0.19877679646015167,
0.16286364197731018,
-0.09802474081516266,
0.04867101460695267,
0.09636200964450836,
-0.029406713321805,
-0.06344057619571686,
0.238535076379776,
0.3677757680416107,
-0.10319218039512634,
0.2724713385105133,
0.1060219556093216,
-0.5314074754714966,
0.2475782036781311,
0.2839280962944031,
0.1565254032611847,
0.09272602945566177,
-0.28652089834213257,
-0.1468466818332672,
0.16374057531356812,
0.14130818843841553,
0.4625759422779083,
0.6119477152824402,
0.08029387146234512,
0.13626357913017273,
0.02989732287824154,
0.04262770712375641,
-0.1612885594367981,
-0.18509599566459656,
0.0439845435321331,
-0.03313580900430679,
0.14267843961715698,
0.1687747687101364,
0.09463082253932953,
-0.19860509037971497,
-0.10531251132488251,
-0.07571905851364136,
-0.11706535518169403,
-0.24987855553627014,
0.40111714601516724,
-0.19000276923179626,
-0.09739634394645691,
-0.24304434657096863,
0.03263666108250618,
-0.28494787216186523,
-0.1665436178445816,
-0.094520702958107,
0.5004811882972717,
-0.2843140959739685,
0.1802554577589035,
-0.10821060836315155,
0.4215199947357178,
-0.1844359189271927,
0.288786381483078,
-0.22443373501300812,
-0.2176138460636139,
-0.27126845717430115,
-0.0867466926574707,
0.4018886685371399,
0.16055701673030853,
0.29715123772621155,
0.173047736287117,
-0.29978442192077637,
-0.25341182947158813,
-0.0008585900068283081,
-0.09041133522987366,
-0.0443633571267128,
0.32398173213005066,
-0.011528074741363525,
-0.02588832378387451,
-0.02164606750011444,
-0.30938321352005005,
0.14734187722206116,
-0.21426242589950562,
-0.0740845575928688,
-0.09775660187005997,
-0.006282131187617779,
-0.08000452816486359,
-0.236997589468956,
-0.09730390459299088,
-0.2533910870552063,
-0.2727990448474884,
0.47301560640335083,
-0.3710137605667114,
0.04612380266189575,
-0.0707225576043129,
-0.26891931891441345,
-0.12522101402282715,
-0.029330911114811897,
-0.12067374587059021,
-0.4262770712375641,
-0.24378018081188202,
-0.07178983092308044,
-0.19212570786476135,
-0.38684847950935364,
-0.23447319865226746,
-0.17279663681983948,
0.11513377726078033,
-0.03636066988110542,
-0.3339371085166931,
-0.2752239406108856,
-0.11584827303886414,
0.04295709356665611,
0.040161971002817154,
0.07051511108875275,
0.17674723267555237,
-0.13549678027629852,
0.07761472463607788,
-0.14973273873329163,
-0.17501477897167206,
0.1562442183494568,
-0.09464255720376968,
0.047149840742349625,
0.002727242186665535,
0.2453642189502716,
0.1694868952035904,
0.5711836814880371,
0.3799665570259094,
-0.02745329961180687,
0.20226745307445526,
-0.057837456464767456,
0.5585039258003235,
0.00742630660533905,
-0.3639149069786072,
-0.0061783744022250175,
-0.24442875385284424,
-0.41395503282546997,
-0.00013639777898788452,
-0.020707685500383377,
-0.08912365883588791,
-0.11316072195768356,
-0.03543226420879364,
-0.10871382057666779,
-0.3583231270313263,
0.01036057248711586,
-0.15545420348644257,
-0.0058969780802726746,
0.09420076012611389,
0.03330779820680618,
-0.008697554469108582,
-0.1072017028927803,
0.24334999918937683,
0.38689106702804565,
0.0047875940799713135,
-0.06582611799240112,
-0.07251599431037903,
0.145462304353714,
-0.343904048204422,
0.4177054762840271,
0.11337432265281677,
0.2611898183822632,
-0.017228905111551285,
-0.0023921355605125427,
-0.08011876046657562,
-0.0680573582649231,
0.7840491533279419,
-0.21910034120082855,
0.10539296269416809,
0.11886264383792877,
-0.18173275887966156,
-0.30601027607917786,
-0.23612995445728302,
-0.09651823341846466,
0.1309216022491455,
0.3011299967765808,
0.31692442297935486,
-0.2656961679458618,
-0.06911949068307877,
-0.029262851923704147,
-0.10717488825321198,
-0.2204192578792572,
-0.3535498380661011,
-0.3158669173717499,
-0.05743991211056709,
0.001219235360622406,
0.30651187896728516,
0.03475716710090637,
-0.07847906649112701,
-0.4220675826072693,
-0.03227397799491882,
0.03239454701542854,
0.05686750262975693,
0.039752524346113205,
0.05599914863705635,
0.1878313422203064,
-0.2557308077812195,
0.41937243938446045,
0.2954222559928894,
-0.08659231662750244,
-0.024470938369631767,
0.2581430673599243,
-0.15963254868984222,
-0.04549802839756012,
0.03732438012957573,
0.11168951541185379,
0.2514858543872833,
0.5654951333999634,
-0.14427441358566284,
0.020616546273231506,
0.061013586819171906,
-0.17525614798069,
-0.11183908581733704,
-0.06379155814647675,
0.24632784724235535,
0.3241024613380432,
-0.050903771072626114,
-0.0976371243596077,
0.13248838484287262,
0.3369203209877014,
-0.18927191197872162,
0.4798862934112549,
-0.4249798059463501,
-0.0056581050157547,
0.3176047205924988,
-0.1952928900718689,
0.6905162930488586,
-0.1343243420124054,
0.1619771420955658,
0.15635532140731812,
-0.31948524713516235,
0.5689363479614258,
-0.12929147481918335,
0.3331183195114136,
-0.5878414511680603,
-0.4813464879989624,
0.06654307246208191,
-0.17658062279224396,
0.029378533363342285,
-0.01630350947380066,
0.033496927469968796,
0.3130043148994446,
0.21496929228305817,
0.17783306539058685,
-0.429774671792984,
0.013568662106990814,
-0.3322930335998535,
-0.24231761693954468,
-0.05408613383769989,
0.12735719978809357,
-0.16857755184173584,
0.2881806790828705,
-0.20554253458976746,
-0.029666893184185028,
0.11528736352920532,
-0.09990362823009491,
-0.3909999132156372,
0.11102821677923203,
-0.20892317593097687,
0.27544307708740234,
0.280148983001709,
0.02519119530916214,
-0.1339012086391449,
-0.09589408338069916,
0.20624937117099762,
-0.04389603063464165,
0.0181121788918972,
0.06716661900281906,
0.05806155875325203,
0.14404688775539398,
0.07256636023521423,
-0.18077677488327026,
0.2296685427427292,
0.13526663184165955,
-0.1970033347606659,
-0.1244971826672554,
0.013479049317538738,
-0.11115297675132751,
0.013144358992576599,
0.3662465810775757,
-0.050144366919994354,
-0.08446236699819565,
-0.15130414068698883,
0.14490610361099243,
0.06629833579063416,
-0.0583522766828537,
0.09522660076618195,
0.05774909630417824,
-0.12686116993427277,
0.39659228920936584,
-0.3205309510231018,
-0.19516780972480774,
-0.06163257732987404,
0.4133944511413574,
-0.11172638088464737,
-0.030885735526680946,
0.17937320470809937,
0.2596953511238098,
-0.21239745616912842,
-0.018892282620072365,
-0.22670409083366394,
0.25914761424064636,
-0.3278731107711792,
0.013553024269640446,
-0.3395105302333832,
-0.12550050020217896,
0.08510902523994446,
-0.005002092570066452,
0.17697979509830475,
-0.00044446438550949097,
-0.1681828498840332,
-0.3330603241920471,
-0.19531644880771637,
0.07876202464103699,
-0.13226065039634705,
0.30661001801490784,
0.19062954187393188,
-0.030126359313726425,
-0.16952639818191528,
0.18599705398082733,
-0.26185327768325806,
0.09906209260225296,
-0.2225247025489807,
-0.0387478768825531,
0.4825555086135864,
-0.18831384181976318,
0.14777681231498718,
0.09175533056259155,
-0.03400089964270592,
0.3616064190864563,
-0.33339911699295044,
-0.1541478931903839,
-0.17217588424682617,
0.11019265651702881,
-0.10884899646043777,
0.19340048730373383,
-0.13655303418636322,
-0.2455064207315445,
0.17921777069568634,
-0.24891263246536255,
0.3826332092285156,
0.22244375944137573,
-0.3365076184272766,
0.016493499279022217,
0.22505304217338562,
0.25165075063705444,
0.03672773391008377,
0.4078978896141052,
-0.09365673363208771,
-0.11036448180675507,
0.12676693499088287,
0.10335838794708252,
-0.0849950835108757,
0.07626660168170929,
-0.03874571621417999,
-0.14567402005195618,
0.08477004617452621,
0.16335955262184143,
0.117648646235466,
-0.19556070864200592,
-0.2629832625389099,
0.2562345564365387,
0.5744239091873169,
0.23784522712230682,
0.028905091807246208,
-0.12936346232891083,
0.05697420611977577,
0.12372477352619171,
0.02767995372414589,
-0.14813993871212006,
0.5179829597473145,
0.15003472566604614,
-0.047620974481105804,
0.31776610016822815,
0.3428199589252472,
-0.1062726378440857,
0.19738484919071198,
0.19986680150032043,
0.761158287525177,
-0.49627554416656494,
0.18059320747852325,
-0.35501888394355774,
0.03887846693396568,
0.09483832120895386,
0.30114108324050903,
0.06684623658657074,
0.2527691721916199,
0.004948139190673828,
0.13496285676956177,
0.014280447736382484,
0.025369254872202873,
-0.12206065654754639,
0.025716915726661682,
-0.5667111277580261,
-0.020760703831911087,
0.13825476169586182,
-0.04414713382720947,
0.1402541548013687,
-0.1013452410697937,
0.5648442506790161,
-0.44982457160949707,
-0.24947021901607513,
-0.17950239777565002,
0.18401594460010529,
-0.3183681070804596,
-0.0743057131767273,
0.6706662774085999,
-0.03318281099200249,
0.18030917644500732,
0.1071481853723526,
0.06579405069351196,
0.19154104590415955,
0.9453109502792358,
0.06685372442007065,
0.053754765540361404,
-0.2545989155769348,
-0.27296942472457886,
0.18547391891479492,
0.261474609375,
-0.15780878067016602,
0.16162750124931335,
0.11899527162313461,
-0.1557352989912033,
-0.18522347509860992,
0.3170548677444458,
0.5883162617683411,
0.15330711007118225,
0.02583438530564308,
-0.026553042232990265,
-0.02296406403183937,
0.2630615234375,
-0.1638159155845642,
0.2402127981185913,
-0.10061229765415192,
-0.34205615520477295,
0.1284056305885315,
0.10630707442760468,
-0.05637200549244881,
0.23217537999153137,
0.10086221992969513,
0.2123626321554184,
-0.40977612137794495,
-0.09858139604330063,
-0.330077588558197,
-0.04431086778640747,
-0.16678887605667114,
0.14551809430122375,
-0.2680337429046631,
-0.07735224813222885,
0.2682023346424103,
-0.1070110872387886,
0.10857392102479935,
-0.2612128257751465,
0.08041898161172867,
0.16975681483745575,
0.36275291442871094,
0.39230436086654663,
0.04107482731342316,
-0.2692047655582428,
0.036399662494659424,
-0.4942101240158081,
0.3819143772125244,
-0.24867355823516846,
0.23881983757019043,
-0.1444755345582962,
0.3091128170490265,
-0.24745073914527893,
-0.09530261158943176,
0.41652846336364746,
0.15670529007911682,
-0.015401093289256096,
0.09904630482196808,
-0.5304205417633057,
-0.05160869285464287,
0.04210454225540161,
-0.528554379940033,
0.41331321001052856,
-0.30523309111595154,
0.07651852816343307,
0.06433965265750885,
-0.028317468240857124,
0.23369203507900238,
-0.04702363163232803,
-0.018102750182151794,
-0.04110129177570343,
0.34877583384513855,
0.09357459843158722,
0.12238425016403198,
0.21264469623565674,
-0.09708930552005768,
-0.38921013474464417,
-0.20630502700805664,
-0.06416831165552139,
0.004028148949146271,
-0.04780131205916405,
0.041508957743644714,
-0.4504455327987671,
-0.09062707424163818,
-0.2735308110713959,
0.051021087914705276,
0.23596139252185822,
-0.02472681738436222,
-0.12184900790452957,
0.018326738849282265,
-0.19428947567939758,
0.3431593179702759,
0.09669369459152222,
0.41108182072639465,
0.08434484899044037,
0.4292467534542084,
-0.1619112342596054,
-0.15469235181808472,
0.33170124888420105,
-0.467856764793396,
-0.28982213139533997,
-0.23751722276210785,
0.3488979935646057,
0.2584007978439331,
-0.24745485186576843,
-0.2825916111469269,
-0.1283278912305832,
0.09039554744958878,
0.007305113598704338,
-0.11170832812786102,
-0.04545937106013298,
-0.1790127158164978,
-0.05419490113854408,
0.02474440261721611,
-0.046357326209545135,
0.06749282777309418,
-0.29791852831840515,
0.557849109172821,
-0.24239295721054077
] |
https://github.com/huggingface/datasets/issues/4642 | Streaming issue for ccdv/pubmed-summarization | Thanks for reporting @lewtun.
I confirm there is an issue with streaming: it does not stream locally. | ### Link
https://huggingface.co/datasets/ccdv/pubmed-summarization
### Description
This was reported by a [user of AutoTrain Evaluate](https://huggingface.co/spaces/autoevaluate/model-evaluator/discussions/7). It seems like streaming doesn't work due to the way the dataset loading script is defined?
```
Status code: 400
Exception: FileNotFoundError
Message: https://huggingface.co/datasets/ccdv/pubmed-summarization/resolve/main/train.zip/train.txt
```
### Owner
No | 17 | Streaming issue for ccdv/pubmed-summarization
### Link
https://huggingface.co/datasets/ccdv/pubmed-summarization
### Description
This was reported by a [user of AutoTrain Evaluate](https://huggingface.co/spaces/autoevaluate/model-evaluator/discussions/7). It seems like streaming doesn't work due to the way the dataset loading script is defined?
```
Status code: 400
Exception: FileNotFoundError
Message: https://huggingface.co/datasets/ccdv/pubmed-summarization/resolve/main/train.zip/train.txt
```
### Owner
No
Thanks for reporting @lewtun.
I confirm there is an issue with streaming: it does not stream locally. | [
-0.5426284074783325,
-0.32878780364990234,
0.06800040602684021,
0.013990174978971481,
0.4679546356201172,
0.014805339276790619,
0.16895155608654022,
0.07700960338115692,
-0.048539482057094574,
0.04441846162080765,
0.024771463125944138,
0.03679649904370308,
0.05722812935709953,
0.30738145112991333,
0.28212642669677734,
-0.14926040172576904,
0.09900907427072525,
-0.015815362334251404,
-0.1891196072101593,
-0.08191457390785217,
0.14587166905403137,
0.09563058614730835,
-0.295895516872406,
-0.04793208837509155,
-0.17135462164878845,
0.17527277767658234,
-0.03659679740667343,
0.0350666269659996,
0.08982590585947037,
-0.25659698247909546,
0.09315827488899231,
0.5040892362594604,
0.300412118434906,
0.44584524631500244,
-0.0001245882158400491,
-0.019620589911937714,
0.3914145827293396,
-0.0835890993475914,
-0.16544891893863678,
-0.171456441283226,
0.07003564387559891,
0.1807134747505188,
0.4110175371170044,
0.04496396332979202,
0.09369712322950363,
-0.01695103570818901,
0.1837354302406311,
-0.4657035171985626,
0.48153167963027954,
0.13289496302604675,
0.06721800565719604,
0.1776953488588333,
-0.2649938762187958,
-0.0072647575289011,
-0.5716793537139893,
-0.010849125683307648,
0.04780776798725128,
0.704261839389801,
0.24577265977859497,
0.02007077820599079,
-0.2113952934741974,
0.22528678178787231,
0.010945005342364311,
-0.16243956983089447,
0.5425766110420227,
0.015292342752218246,
-0.2127523422241211,
-0.19181133806705475,
0.09653882682323456,
0.3487028479576111,
0.655305027961731,
-0.34260573983192444,
-0.21860231459140778,
-0.038783203810453415,
0.1134037896990776,
-0.34074485301971436,
0.20324042439460754,
0.12243841588497162,
-0.3245300054550171,
0.3287850618362427,
-0.5695856809616089,
-0.08995650708675385,
-0.439646452665329,
0.015425734221935272,
-0.014845587313175201,
-0.14471203088760376,
-0.1587776243686676,
0.0984092429280281,
0.28018319606781006,
0.21887800097465515,
0.009193787351250648,
-0.27624329924583435,
0.024797135964035988,
0.32600411772727966,
-0.23001380264759064,
-0.1898825466632843,
-0.16701561212539673,
0.10559751093387604,
-0.04185086116194725,
0.2637712359428406,
0.4312489330768585,
0.17821663618087769,
0.051096584647893906,
0.11413060873746872,
0.33058229088783264,
0.2983481287956238,
0.017572052776813507,
0.015353969298303127,
0.2740718722343445,
0.43608248233795166,
-0.17165128886699677,
-0.19921377301216125,
-0.2731313407421112,
0.09838778525590897,
-0.2144046276807785,
-0.27872422337532043,
-0.05518500879406929,
-0.1738366186618805,
-0.37441062927246094,
0.34052038192749023,
-0.19621628522872925,
0.04384109750390053,
0.0947008952498436,
0.5867471098899841,
-0.028622392565011978,
0.23584505915641785,
0.04317642003297806,
0.1913546770811081,
-0.20791515707969666,
-0.14356637001037598,
-0.17927420139312744,
-0.10418631136417389,
-0.25984758138656616,
0.13991540670394897,
0.05886753275990486,
-0.5913389325141907,
0.1382153481245041,
-0.21948648989200592,
0.39743566513061523,
-0.1600228250026703,
-0.3936498761177063,
-0.022839581593871117,
-0.00936397910118103,
0.12187449634075165,
0.18393997848033905,
0.1627170741558075,
0.23498331010341644,
0.1525055319070816,
-0.00429043173789978,
0.11398176848888397,
-0.10121151059865952,
-0.40240564942359924,
0.17921042442321777,
0.07419784367084503,
-0.3408351540565491,
-0.18083050847053528,
-0.07432738691568375,
0.3089000880718231,
-0.13225916028022766,
-0.1512589305639267,
-0.2719976305961609,
0.10089106112718582,
-0.2445826530456543,
-0.15864057838916779,
0.5094010233879089,
0.6582167148590088,
-0.49587756395339966,
-0.1690240502357483,
-0.240004763007164,
-0.026545032858848572,
0.24097171425819397,
0.2642415463924408,
-0.24626217782497406,
0.12493175268173218,
-0.18702088296413422,
0.13202551007270813,
0.41547560691833496,
-0.2748968005180359,
-0.32378876209259033,
0.7291362285614014,
-0.1329752504825592,
0.13742518424987793,
0.046990249305963516,
-0.030280735343694687,
-0.059859588742256165,
-0.09967464953660965,
0.06800802052021027,
0.030969735234975815,
0.0048182569444179535,
-0.08964470773935318,
-0.18838617205619812,
-0.06658884137868881,
-0.09060013294219971,
0.009310122579336166,
0.07542093098163605,
0.08724509924650192,
0.20871537923812866,
0.06533923000097275,
0.46398136019706726,
0.1965155154466629,
0.04162910580635071,
0.16761399805545807,
0.24330808222293854,
-0.001943334937095642,
-0.028175832703709602,
0.00010916963219642639,
-0.23967140913009644,
0.01872944086790085,
0.27076011896133423,
-0.415665864944458,
0.11661574244499207,
-0.14578355848789215,
-0.45070314407348633,
-0.01231901254504919,
-0.22046254575252533,
-0.1693294197320938,
-0.036231204867362976,
0.08882683515548706,
-0.06917247176170349,
0.033225465565919876,
-0.4539910554885864,
0.3424488604068756,
-0.4909684658050537,
-0.06816328316926956,
-0.052439454942941666,
0.18008162081241608,
0.053014595061540604,
-0.1244293600320816,
-0.21479465067386627,
0.06660452485084534,
-0.10938649624586105,
-0.04426934942603111,
-0.16325506567955017,
0.6602029800415039,
-0.4710017442703247,
0.6060941219329834,
0.1499238908290863,
-0.1082322746515274,
0.21096529066562653,
-0.544209361076355,
0.1182628646492958,
0.14515745639801025,
0.20541894435882568,
-0.0022640936076641083,
-0.4179607033729553,
0.09461071342229843,
-0.20246043801307678,
0.1767582893371582,
0.33647620677948,
0.018587740138173103,
0.29637411236763,
0.15985998511314392,
-0.26272091269493103,
-0.33548614382743835,
0.4464513957500458,
0.0019199978560209274,
0.4057118892669678,
-0.04263116419315338,
-0.5163919925689697,
0.055158067494630814,
0.08591096848249435,
0.012888133525848389,
-0.24020501971244812,
0.2556122839450836,
-0.23826417326927185,
-0.05301936715841293,
0.006199749186635017,
0.19949157536029816,
0.5717043280601501,
0.02434341236948967,
0.05068763345479965,
0.3987530469894409,
0.015489800833165646,
-0.4020346403121948,
0.17990148067474365,
0.05524251610040665,
-0.23490160703659058,
0.37183448672294617,
0.0314825102686882,
0.05609849840402603,
-0.3846249580383301,
0.06787942349910736,
0.06774777173995972,
0.002121029421687126,
-0.47015294432640076,
0.23242627084255219,
-0.4329901933670044,
-0.3148883879184723,
-0.4071073830127716,
0.011422647163271904,
0.030821727588772774,
-0.1644616723060608,
-0.14174160361289978,
0.38066786527633667,
-0.22412428259849548,
0.04495757073163986,
-0.2492809146642685,
0.25753405690193176,
-0.18601363897323608,
-0.02205890603363514,
0.04788070172071457,
0.0004954570904374123,
-0.274723082780838,
-0.03702646866440773,
0.22897310554981232,
-0.21232075989246368,
0.3501797914505005,
-0.15820026397705078,
-0.17670778930187225,
-0.08458349108695984,
-0.11722645908594131,
0.23819617927074432,
-0.058873049914836884,
0.21822640299797058,
-0.16293391585350037,
0.2216787040233612,
-0.3095245957374573,
-0.1463051736354828,
0.11630499362945557,
-0.22547751665115356,
0.008144238963723183,
0.05718977749347687,
0.36988121271133423,
-0.15187817811965942,
-0.25290027260780334,
-0.2971588671207428,
-0.21611593663692474,
-0.34694236516952515,
0.2269284874200821,
-0.14666558802127838,
-0.012274384498596191,
0.17189449071884155,
0.1975744366645813,
-0.04264039918780327,
-0.11111563444137573,
-0.06176573038101196,
-0.07456832379102707,
-0.27793586254119873,
0.34664663672447205,
-0.08798938244581223,
-0.5382382273674011,
0.1499304622411728,
0.13304074108600616,
0.09295329451560974,
0.23987752199172974,
-0.24500781297683716,
0.09652602672576904,
0.03476153686642647,
-0.2656296491622925,
0.17990544438362122,
-0.1893780380487442,
0.22802437841892242,
-0.4701177179813385,
0.18197983503341675,
-0.19162896275520325,
0.0770559310913086,
0.15373247861862183,
0.027321897447109222,
0.2502592206001282,
0.041172850877046585,
0.5482191443443298,
-0.051279231905937195,
0.8124176263809204,
0.49893277883529663,
-0.08717836439609528,
0.39697402715682983,
-0.09692095220088959,
0.47222620248794556,
-0.2007853090763092,
-0.16732603311538696,
0.06564594805240631,
-0.10206794738769531,
-0.2599775493144989,
0.46567094326019287,
0.1235148087143898,
-0.013422656804323196,
-0.33851414918899536,
0.18847618997097015,
-0.22484740614891052,
-0.21210478246212006,
0.1293754279613495,
-0.3390265703201294,
0.23255017399787903,
0.13873398303985596,
0.1489563286304474,
0.2924380600452423,
-0.29248055815696716,
-0.05272725597023964,
0.5644521713256836,
0.3714425265789032,
0.053311534225940704,
-0.21732807159423828,
-0.38339146971702576,
-0.5071600675582886,
0.21270114183425903,
-0.05578289553523064,
0.2501959204673767,
-0.4715375602245331,
-0.17698067426681519,
0.336467444896698,
-0.026462092995643616,
0.0945221558213234,
-0.14784690737724304,
0.04716236889362335,
0.04155885800719261,
-0.13034741580486298,
-0.19060777127742767,
-0.08851328492164612,
-0.036491427570581436,
-0.03222355619072914,
0.016226978972554207,
0.07255162298679352,
-0.28298771381378174,
-0.06867723166942596,
0.23264412581920624,
-0.14190098643302917,
-0.13791191577911377,
-0.3739742338657379,
-0.24008959531784058,
-0.009899761527776718,
-0.1540195792913437,
-0.22767221927642822,
0.141189306974411,
-0.006332875695079565,
-0.3403598964214325,
-0.0570884644985199,
0.338772714138031,
0.008051138371229172,
0.2144334614276886,
0.042450375854969025,
0.423164039850235,
0.027314331382513046,
0.3025484085083008,
0.3075679540634155,
0.22732821106910706,
0.1340075433254242,
0.45043516159057617,
0.2238416075706482,
-0.5408176779747009,
0.2716923654079437,
-0.16223882138729095,
0.3642995357513428,
0.5228646397590637,
-0.2118273824453354,
-0.09355396777391434,
0.6034613847732544,
-0.13878794014453888,
-0.3486267626285553,
0.40419691801071167,
0.4167337417602539,
-0.051076021045446396,
-0.07106652855873108,
-0.5683743953704834,
0.419335275888443,
-0.16151832044124603,
0.024810776114463806,
0.3219349980354309,
-0.1359102427959442,
-0.029620075598359108,
-0.039414435625076294,
-0.01633736491203308,
1.0978294610977173,
0.14191582798957825,
0.045081496238708496,
0.17920958995819092,
0.03891383111476898,
-0.11810629069805145,
-0.14341038465499878,
0.16652517020702362,
-0.47828513383865356,
-0.14953050017356873,
-0.12551601231098175,
0.008109305053949356,
0.12485367059707642,
0.013756297528743744,
-0.2595508098602295,
0.3188358247280121,
0.0865103006362915,
0.4512383043766022,
0.10218187421560287,
0.13726885616779327,
-0.4654850363731384,
-0.18220557272434235,
-0.25040626525878906,
-0.022480633109807968,
0.16309237480163574,
0.37156644463539124,
-0.16483169794082642,
-0.2094205617904663,
0.14939649403095245,
-0.09587250649929047,
-0.4188905358314514,
0.09744017571210861,
-0.030674125999212265,
-0.17792655527591705,
-0.009622905403375626,
-0.2306116372346878,
0.2080926150083542,
0.3586123585700989,
0.08048034459352493,
0.07496221363544464,
-0.30082210898399353,
0.2414565086364746,
-0.19242039322853088,
0.12146659195423126,
0.02374259941279888,
-0.0053445748053491116,
0.250381201505661,
-0.14771707355976105,
-0.07058428227901459,
0.05009593069553375,
-0.00610185693949461,
-0.3441624641418457,
0.16172465682029724,
-0.0952601432800293,
0.5456887483596802,
-0.2064637839794159,
-0.0853087306022644,
-0.044772326946258545,
-0.133528932929039,
-0.06650625914335251,
0.024882735684514046,
0.05306078493595123,
-0.037559010088443756,
-0.013642199337482452,
0.2364494800567627,
-0.14930012822151184,
0.007352471351623535,
0.5460192561149597,
0.03249623626470566,
-0.12529577314853668,
0.31770890951156616,
0.09075886011123657,
-0.21274876594543457,
-0.19393348693847656,
-0.1484084129333496,
-0.09680940955877304,
-0.44925299286842346,
0.047416068613529205,
0.022966565564274788,
-0.01525288075208664,
-0.014752754010260105,
0.1710212677717209,
-0.02342536300420761,
-0.14284253120422363,
-0.3167547583580017,
-0.30412665009498596,
-0.33944782614707947,
0.09421699494123459,
-0.20392173528671265,
-0.005501516163349152,
0.23069095611572266,
0.2597528398036957,
0.19064918160438538,
-0.037185534834861755,
-0.1915062814950943,
-0.26438549160957336,
0.20155984163284302,
-0.21765455603599548,
0.22253480553627014,
0.12995876371860504,
0.4379589557647705,
-0.0032286755740642548,
-0.06871743500232697,
0.34421586990356445,
-0.23597602546215057,
-0.035064827650785446,
0.0444045327603817,
0.23335127532482147,
0.019408177584409714,
-0.02877686358988285,
-0.11697215586900711,
-0.04105285555124283,
-0.31186923384666443,
-0.16826340556144714,
0.16796065866947174,
-0.0921565443277359,
0.10594342648983002,
-0.2556338310241699,
0.265619158744812,
0.39133256673812866,
-0.18178784847259521,
0.016608992591500282,
-0.05895811319351196,
0.5200784206390381,
-0.13740889728069305,
-0.22692450881004333,
-0.023769700899720192,
-0.14774882793426514,
-0.1352536678314209,
0.11860010027885437,
0.18587952852249146,
0.16257229447364807,
0.5075323581695557,
-0.16254977881908417,
0.20942550897598267,
-0.23140005767345428,
0.552398681640625,
0.5691523551940918,
-0.17191646993160248,
-0.2156306356191635,
0.184858500957489,
0.05140753835439682,
-0.1320183128118515,
0.11538593471050262,
-0.12453348934650421,
0.19677121937274933,
-0.08390103280544281,
0.041905537247657776,
0.21915054321289062,
-0.06973250955343246,
0.20941777527332306,
0.1630590856075287,
0.5902568697929382,
0.10809782147407532,
0.272825688123703,
0.49529463052749634,
0.17164629697799683,
0.468349426984787,
-0.14739324152469635,
0.1268143504858017,
0.03609459102153778,
-0.023263320326805115,
-0.18426916003227234,
-0.26939699053764343,
-0.03917993605136871,
0.2819439768791199,
-0.2306220829486847,
-0.5272412896156311,
-0.08786292374134064,
0.17259064316749573,
-0.2896507680416107,
0.43279531598091125,
0.16549678146839142,
0.5582776069641113,
-0.04942997172474861,
-0.0853767991065979,
-0.40519601106643677,
0.020261209458112717,
-0.09460853785276413,
-0.16852708160877228,
-0.22148758172988892,
-0.20878878235816956,
-0.11626851558685303,
0.31080150604248047,
0.11713337898254395,
0.2113870233297348,
0.09725867956876755,
0.00021868199110031128,
-0.14576022326946259,
-0.2740245759487152,
0.07929198443889618,
0.09514573216438293,
0.3126193583011627,
-0.1740831881761551,
0.33182013034820557,
0.03221487998962402,
0.3534614145755768,
0.5255352854728699,
0.19788296520709991,
0.15745210647583008,
0.17820194363594055,
0.1897098273038864,
0.08628269284963608,
0.09951312839984894,
0.10748879611492157,
0.185683473944664,
0.26740574836730957,
0.3284720480442047,
0.24688759446144104,
0.2700011134147644,
0.04310523718595505,
-0.07562278211116791,
0.5841072797775269,
-0.0022101476788520813,
0.5789728164672852,
-0.2965840995311737,
0.09166361391544342,
-0.08338475972414017,
0.18627291917800903,
-0.21878871321678162,
-0.13879600167274475,
-0.4651343524456024,
0.16254214942455292,
0.28013738989830017,
-0.1779239922761917,
0.02417939156293869,
-0.260845422744751,
0.002506902441382408,
0.2259821742773056,
0.6337580680847168,
0.2529025077819824,
-0.28210529685020447,
-0.10829056054353714,
-0.29281720519065857,
-0.6939239501953125,
0.33328548073768616,
0.32202374935150146,
0.18137682974338531,
-0.23959338665008545,
0.1254129558801651,
0.009731076657772064,
0.01537284255027771,
0.1407114565372467,
-0.014442207291722298,
-0.15173585712909698,
0.26128286123275757,
-0.015412716194987297,
-0.1661958247423172,
-0.325106680393219,
0.2326139509677887,
-0.2689647972583771,
-0.07505452632904053,
0.25278735160827637,
-0.10326534509658813,
-0.14790204167366028,
0.3769683837890625,
-0.20929831266403198,
-0.2912714183330536,
-0.12144395709037781,
0.31892532110214233,
-0.18648776412010193,
0.35866641998291016,
-0.08734720200300217,
0.12476988881826401,
-0.31924402713775635,
-0.11314483731985092,
-0.23409369587898254,
0.15262450277805328,
0.014182686805725098,
0.2380218207836151,
-0.09889228641986847,
0.050108764320611954,
-0.22404177486896515,
-0.016321510076522827,
0.09876246750354767,
-0.4452041983604431,
-0.19206035137176514,
-0.2279963493347168,
-0.04166979342699051,
0.15341347455978394,
0.32116904854774475,
0.3800605833530426,
-0.24447044730186462,
-0.15413549542427063,
-0.10856078565120697,
-0.30062180757522583,
0.5717465877532959,
-0.2690514922142029,
-0.11652204394340515,
-0.08783905953168869,
0.1336580216884613,
0.3453972041606903,
-0.054086536169052124,
-0.7799289226531982,
0.0767626091837883,
0.15207158029079437,
-0.18228259682655334,
0.137243390083313,
0.22377106547355652,
-0.27401697635650635,
-0.060508403927087784,
-0.08128024637699127,
0.07094481587409973,
0.17457106709480286,
-0.21694481372833252,
0.04051199182868004,
-0.3185652494430542
] |
https://github.com/huggingface/datasets/issues/4642 | Streaming issue for ccdv/pubmed-summarization | Oh, after investigation, the source of the issue is in the Hub dataset loading script.
I'm opening a PR on the Hub dataset. | ### Link
https://huggingface.co/datasets/ccdv/pubmed-summarization
### Description
This was reported by a [user of AutoTrain Evaluate](https://huggingface.co/spaces/autoevaluate/model-evaluator/discussions/7). It seems like streaming doesn't work due to the way the dataset loading script is defined?
```
Status code: 400
Exception: FileNotFoundError
Message: https://huggingface.co/datasets/ccdv/pubmed-summarization/resolve/main/train.zip/train.txt
```
### Owner
No | 23 | Streaming issue for ccdv/pubmed-summarization
### Link
https://huggingface.co/datasets/ccdv/pubmed-summarization
### Description
This was reported by a [user of AutoTrain Evaluate](https://huggingface.co/spaces/autoevaluate/model-evaluator/discussions/7). It seems like streaming doesn't work due to the way the dataset loading script is defined?
```
Status code: 400
Exception: FileNotFoundError
Message: https://huggingface.co/datasets/ccdv/pubmed-summarization/resolve/main/train.zip/train.txt
```
### Owner
No
Oh, after investigation, the source of the issue is in the Hub dataset loading script.
I'm opening a PR on the Hub dataset. | [
-0.5918276906013489,
-0.4391922652721405,
0.08316810429096222,
0.012977749109268188,
0.44625014066696167,
0.04814012348651886,
0.16453364491462708,
0.1028277724981308,
-0.033483345061540604,
0.005127079784870148,
-0.06253381818532944,
0.10899093002080917,
0.015544630587100983,
0.26808029413223267,
0.21950967609882355,
-0.08392643928527832,
0.12620635330677032,
0.027646973729133606,
-0.1299852728843689,
-0.004277952015399933,
0.12008163332939148,
0.0813668891787529,
-0.34742486476898193,
-0.052846163511276245,
-0.401085764169693,
0.14572937786579132,
0.021047936752438545,
0.11153116822242737,
0.06719374656677246,
-0.3331525921821594,
0.12293848395347595,
0.6084758043289185,
0.2471032738685608,
0.3009328544139862,
-0.00012042948947055265,
-0.034413523972034454,
0.43972253799438477,
-0.07320339977741241,
-0.1709756851196289,
-0.05498509109020233,
0.04642363637685776,
0.2586223781108856,
0.40153756737709045,
0.05956391245126724,
0.13279274106025696,
0.15617011487483978,
0.2265450656414032,
-0.20125427842140198,
0.44943177700042725,
0.13276758790016174,
0.10355952382087708,
0.19923049211502075,
-0.20958951115608215,
-0.08583782613277435,
-0.48514607548713684,
-0.15041041374206543,
0.07723435014486313,
0.6420432925224304,
0.2914697527885437,
0.07422055304050446,
-0.3003523349761963,
0.2229219675064087,
-0.03699231520295143,
-0.1284445971250534,
0.5096519589424133,
-0.044478751718997955,
-0.2314974069595337,
-0.24285417795181274,
0.06056094914674759,
0.3670029640197754,
0.5855029821395874,
-0.3860885500907898,
-0.1632431596517563,
-0.08090545237064362,
0.1137339249253273,
-0.350774884223938,
0.19437289237976074,
0.01398799940943718,
-0.2527626156806946,
0.2866958975791931,
-0.42003458738327026,
-0.10811636596918106,
-0.4085119068622589,
-0.09833422303199768,
-0.01841624081134796,
-0.08171086013317108,
-0.06921175867319107,
0.09641115367412567,
0.2127174735069275,
0.20238420367240906,
0.15244826674461365,
-0.3147266209125519,
-0.176102876663208,
0.24409472942352295,
-0.2835007309913635,
-0.2444850653409958,
-0.11020480841398239,
0.2546810507774353,
-0.05367955192923546,
0.40630900859832764,
0.35422229766845703,
0.273824542760849,
-0.02097417041659355,
0.10709445923566818,
0.2742978036403656,
0.22806307673454285,
0.04547558352351189,
0.06030885875225067,
0.3153344988822937,
0.4844636619091034,
-0.11547563970088959,
-0.19414666295051575,
-0.3229466676712036,
0.08450429886579514,
-0.2096923440694809,
-0.21177056431770325,
-0.0881776362657547,
-0.07969733327627182,
-0.49464505910873413,
0.3268991708755493,
-0.0469377376139164,
0.15907219052314758,
0.17644603550434113,
0.5805892944335938,
0.04889129474759102,
0.20248490571975708,
-0.0013058371841907501,
0.13996903598308563,
-0.25206851959228516,
-0.046196430921554565,
-0.20050373673439026,
-0.03292132541537285,
-0.223443865776062,
0.09987485408782959,
0.10935024917125702,
-0.5098845362663269,
0.06946468353271484,
-0.1616479754447937,
0.3891821503639221,
-0.2161267101764679,
-0.3481273055076599,
-0.08936335146427155,
-0.038168154656887054,
0.12018591165542603,
0.2664785385131836,
0.18061333894729614,
0.22187405824661255,
0.22339259088039398,
0.042853422462940216,
0.08747647702693939,
-0.20323583483695984,
-0.39748772978782654,
0.18728193640708923,
0.08894705772399902,
-0.4618995785713196,
-0.1427464485168457,
-0.20562797784805298,
0.30319464206695557,
-0.222805917263031,
-0.22441372275352478,
-0.26355352997779846,
0.07085399329662323,
-0.1698046773672104,
-0.14038042724132538,
0.3843546509742737,
0.6513082981109619,
-0.3087162375450134,
-0.1557425558567047,
-0.18722817301750183,
-0.031717006117105484,
0.1263245791196823,
0.1441435068845749,
-0.2414354383945465,
0.1328338086605072,
-0.19902783632278442,
0.21396563947200775,
0.3414261043071747,
-0.383819580078125,
-0.42294251918792725,
0.5211091041564941,
-0.1341278851032257,
0.22281695902347565,
0.04916584491729736,
0.026345474645495415,
0.007950101979076862,
-0.21510936319828033,
0.08342166990041733,
-0.14510202407836914,
0.10100139677524567,
-0.06342369318008423,
-0.1224094033241272,
-0.06277088820934296,
-0.1634533405303955,
0.00677252933382988,
0.08357022702693939,
0.025785334408283234,
0.15357299149036407,
0.3144831955432892,
0.49088433384895325,
0.14731980860233307,
0.07217471301555634,
0.17538101971149445,
0.21767756342887878,
-0.13802064955234528,
-0.0044716172851622105,
-0.08489804714918137,
-0.22373592853546143,
0.09975532442331314,
0.22091257572174072,
-0.35085904598236084,
0.10143130272626877,
-0.13990995287895203,
-0.45572736859321594,
-0.10249359160661697,
-0.222996786236763,
-0.18393801152706146,
0.025847632437944412,
-0.06149543821811676,
-0.14301542937755585,
-0.050757862627506256,
-0.40437042713165283,
0.519428014755249,
-0.4947669208049774,
-0.01749020256102085,
-0.11144775152206421,
0.36867567896842957,
0.1254395693540573,
-0.1444643884897232,
-0.10927383601665497,
0.12788990139961243,
-0.07331532984972,
0.02240527607500553,
-0.1051517128944397,
0.6036021709442139,
-0.37697944045066833,
0.681766927242279,
0.16262775659561157,
-0.15553618967533112,
0.21128161251544952,
-0.5503726005554199,
0.10040942579507828,
0.04248189926147461,
0.21023540198802948,
-0.020607899874448776,
-0.36372455954551697,
0.03257244825363159,
-0.2882350981235504,
0.08377900719642639,
0.3161003589630127,
0.042351849377155304,
0.31513315439224243,
0.13805893063545227,
-0.2910146117210388,
-0.3733973205089569,
0.42058858275413513,
0.13515734672546387,
0.22845013439655304,
-0.06144047528505325,
-0.34026581048965454,
0.046726301312446594,
0.2029266059398651,
0.06452427804470062,
-0.1681535542011261,
0.19925028085708618,
-0.32100000977516174,
-0.09629736095666885,
0.027455540373921394,
0.07000516355037689,
0.4609646201133728,
-0.023615315556526184,
0.0197913758456707,
0.44192102551460266,
-0.03250894695520401,
-0.4038202464580536,
0.26296159625053406,
0.11597777158021927,
-0.16634248197078705,
0.3420258164405823,
0.008831962011754513,
0.03582386299967766,
-0.46497032046318054,
-0.08991855382919312,
0.12337858229875565,
0.0029460275545716286,
-0.5063557028770447,
0.053197622299194336,
-0.33679693937301636,
-0.19067442417144775,
-0.2188379317522049,
-0.08247855305671692,
0.022531922906637192,
-0.2577497959136963,
-0.09336638450622559,
0.5427369475364685,
-0.08233843743801117,
0.08421077579259872,
-0.2014940083026886,
0.19315502047538757,
-0.11018543690443039,
0.039022982120513916,
0.03193407505750656,
-0.03545568510890007,
-0.14320078492164612,
0.01898932084441185,
0.09713293612003326,
-0.1131482943892479,
0.29193171858787537,
-0.2404046356678009,
-0.06624826788902283,
-0.1018102616071701,
-0.08830492198467255,
0.27739906311035156,
-0.17087465524673462,
0.0822552889585495,
-0.11533348262310028,
0.21581926941871643,
-0.24609746038913727,
-0.10172910243272781,
0.005824971944093704,
-0.1575562208890915,
0.06254691630601883,
0.1315603107213974,
0.2564269006252289,
-0.14188331365585327,
-0.12249904870986938,
-0.24828851222991943,
-0.11117307096719742,
-0.41757363080978394,
0.09374770522117615,
-0.12113159894943237,
-0.04292146861553192,
0.1514277309179306,
0.1037328764796257,
-0.06662081927061081,
-0.03214838355779648,
-0.12736168503761292,
-0.12432218343019485,
-0.24388961493968964,
0.35138893127441406,
-0.0969129353761673,
-0.4767446219921112,
0.20298534631729126,
0.12652121484279633,
0.11115714907646179,
0.16986797749996185,
-0.21779339015483856,
-0.09995289146900177,
0.10000336915254593,
-0.29950955510139465,
0.18054285645484924,
-0.2383364886045456,
0.22604241967201233,
-0.3787326514720917,
0.17957644164562225,
-0.178028404712677,
0.1350095570087433,
0.03983297199010849,
0.01664918102324009,
0.14902271330356598,
-0.034994423389434814,
0.4050469696521759,
-0.03864867612719536,
0.63853919506073,
0.7091010808944702,
0.048023492097854614,
0.35873064398765564,
-0.10686234384775162,
0.43056395649909973,
-0.20190826058387756,
-0.06543106585741043,
0.06391872465610504,
-0.14403653144836426,
-0.1433713585138321,
0.5224244594573975,
0.0850449800491333,
0.036681629717350006,
-0.24555586278438568,
0.15939262509346008,
-0.10012293606996536,
-0.2675028145313263,
0.06208343058824539,
-0.5285444855690002,
0.09734450280666351,
0.19257189333438873,
0.24066004157066345,
0.15323223173618317,
-0.359525591135025,
-0.06858615577220917,
0.4596235156059265,
0.3585076332092285,
-0.02108822576701641,
-0.1582714468240738,
-0.4023464620113373,
-0.6129997968673706,
0.18140122294425964,
-0.06256032735109329,
0.22385326027870178,
-0.37674930691719055,
-0.07443203777074814,
0.2802562713623047,
-0.03280676528811455,
0.11782287061214447,
-0.251414954662323,
0.15165308117866516,
0.0756482183933258,
-0.051665905863046646,
-0.2839500904083252,
-0.0959588885307312,
-0.16083195805549622,
0.11475484073162079,
-0.05575113371014595,
0.13508480787277222,
-0.3686258792877197,
-0.0018453479278832674,
0.23278148472309113,
-0.28101277351379395,
-0.1208607405424118,
-0.30554962158203125,
-0.22496765851974487,
0.006707187741994858,
-0.21095997095108032,
-0.17554154992103577,
0.2862391471862793,
0.03705195337533951,
-0.47244396805763245,
-0.13625653088092804,
0.31200236082077026,
-0.10737133771181107,
0.24395425617694855,
0.15142789483070374,
0.5092065334320068,
0.01956634223461151,
0.29701468348503113,
0.2548162341117859,
0.09952011704444885,
0.17560382187366486,
0.5440124273300171,
0.31521788239479065,
-0.5558844208717346,
0.3204982280731201,
-0.1787140667438507,
0.1840818226337433,
0.5489112138748169,
-0.1855955421924591,
-0.05585021525621414,
0.4399348795413971,
-0.08705592155456543,
-0.47174227237701416,
0.37551331520080566,
0.44734451174736023,
-0.022829633206129074,
-0.2853962779045105,
-0.4353248178958893,
0.460796058177948,
-0.11958518624305725,
0.012217603623867035,
0.27466368675231934,
0.003482215106487274,
-0.11729113757610321,
0.008823517709970474,
-0.03612617403268814,
1.0048867464065552,
0.2754586338996887,
0.058509644120931625,
0.15676045417785645,
0.01457255333662033,
-0.00869101844727993,
-0.2108299732208252,
0.1692158430814743,
-0.5107446312904358,
-0.2396397739648819,
-0.14720511436462402,
0.039197105914354324,
0.008349686861038208,
-0.025118403136730194,
-0.30760782957077026,
0.29535752534866333,
0.056960150599479675,
0.5775890350341797,
0.1041039302945137,
0.17617946863174438,
-0.6447924971580505,
-0.18497087061405182,
-0.1455424726009369,
0.007745470851659775,
0.141188383102417,
0.23807279765605927,
-0.20166239142417908,
-0.1569547951221466,
0.08674083650112152,
-0.15076002478599548,
-0.5050064325332642,
0.15472039580345154,
0.11612072587013245,
-0.1881200075149536,
-0.050910744816064835,
-0.10600923001766205,
0.24369290471076965,
0.31188836693763733,
0.1514347791671753,
0.046473532915115356,
-0.4133399724960327,
0.35173019766807556,
-0.2313728928565979,
0.10071808844804764,
0.034420374780893326,
0.026052795350551605,
0.2582577168941498,
-0.1443161517381668,
-0.11929935216903687,
0.08071605861186981,
0.03045777976512909,
-0.3172733187675476,
0.14693203568458557,
-0.08779720962047577,
0.4999465346336365,
-0.22025467455387115,
-0.040541213005781174,
-0.029063113033771515,
-0.21836620569229126,
-0.12757150828838348,
0.049072615802288055,
0.048969246447086334,
-0.12647785246372223,
0.14206498861312866,
0.22918646037578583,
-0.11399251222610474,
0.0731596052646637,
0.47908028960227966,
0.0931081771850586,
-0.09862931072711945,
0.3374393582344055,
0.07578836381435394,
-0.25775814056396484,
-0.21448323130607605,
-0.18046647310256958,
0.04363465681672096,
-0.5682503581047058,
0.13690082728862762,
0.052062444388866425,
-0.07112925499677658,
0.08568096160888672,
0.15051759779453278,
-0.079646036028862,
-0.03226535767316818,
-0.3491500914096832,
-0.2953248620033264,
-0.3084670901298523,
0.14803361892700195,
-0.23080860078334808,
0.11911191046237946,
0.17826959490776062,
0.23041932284832,
0.16210369765758514,
-0.07496552914381027,
-0.23147249221801758,
-0.1573430597782135,
0.1168246939778328,
-0.19587081670761108,
-0.04826711118221283,
0.023521525785326958,
0.37076324224472046,
-0.059573668986558914,
-0.03714648634195328,
0.4596370458602905,
-0.3145577609539032,
-0.04951608553528786,
-0.01471372414380312,
0.22495555877685547,
-0.003933914005756378,
-0.058001644909381866,
-0.1197565421462059,
0.08751361817121506,
-0.3153139352798462,
-0.2131199687719345,
0.28315266966819763,
0.01577051728963852,
0.1536044180393219,
-0.3067818284034729,
0.44724151492118835,
0.37243691086769104,
-0.20864509046077728,
0.04763245955109596,
-0.042163342237472534,
0.5586289167404175,
-0.25487020611763,
-0.15156467258930206,
-0.07075737416744232,
-0.0791589617729187,
-0.03868846967816353,
0.23300319910049438,
0.2672746181488037,
0.14362314343452454,
0.5081284046173096,
-0.10753707587718964,
0.28174617886543274,
-0.21544747054576874,
0.5145159959793091,
0.5811178684234619,
-0.18308229744434357,
-0.33978185057640076,
-0.012145211920142174,
0.06863179057836533,
-0.0954393520951271,
0.014524590224027634,
-0.14880862832069397,
0.14978675544261932,
-0.047715745866298676,
-0.0289045050740242,
0.27598533034324646,
-0.04822788015007973,
0.18871650099754333,
0.17489144206047058,
0.7416546940803528,
0.015730153769254684,
0.34293779730796814,
0.4643421173095703,
0.14908404648303986,
0.4265904724597931,
-0.10033651441335678,
0.04827180877327919,
0.023862875998020172,
0.18332935869693756,
-0.20045596361160278,
-0.14597661793231964,
0.08010663092136383,
0.2140526920557022,
-0.16619136929512024,
-0.428672730922699,
-0.24279354512691498,
0.17137673497200012,
-0.3225758373737335,
0.4191458821296692,
0.1626049280166626,
0.4122007489204407,
-0.08780961483716965,
0.01687103696167469,
-0.46630626916885376,
-0.06251353025436401,
-0.1699807047843933,
-0.2412397712469101,
-0.184196338057518,
-0.20048224925994873,
-0.17954927682876587,
0.22491255402565002,
0.04438186064362526,
0.1742503046989441,
-0.03577539324760437,
0.001514934003353119,
-0.1697205752134323,
-0.1959000825881958,
0.09246950596570969,
0.06510363519191742,
0.36989113688468933,
-0.20922274887561798,
0.27997422218322754,
0.07170387357473373,
0.3667316436767578,
0.6217355728149414,
0.13539639115333557,
0.2630266547203064,
0.04427333176136017,
0.09516514837741852,
0.09166854619979858,
0.2727338969707489,
0.10789810121059418,
0.22730407118797302,
0.2384800761938095,
0.41511911153793335,
0.3488234579563141,
0.1867200881242752,
0.09340188652276993,
-0.08117399364709854,
0.4521994888782501,
0.004635084420442581,
0.4752468466758728,
-0.207607701420784,
0.2091330587863922,
-0.10666929185390472,
0.21133339405059814,
-0.2088933140039444,
-0.1254897117614746,
-0.40722525119781494,
0.1314249038696289,
0.25814661383628845,
-0.219931960105896,
0.02096562460064888,
-0.23506541550159454,
0.028076551854610443,
0.17920371890068054,
0.6203896999359131,
0.2283501923084259,
-0.3274661600589752,
-0.0260542593896389,
-0.2693279981613159,
-0.6198045611381531,
0.4138460159301758,
0.39512690901756287,
0.06927817314863205,
-0.17269444465637207,
0.017231730744242668,
-0.07925780862569809,
-0.07667319476604462,
0.1448061168193817,
-0.07573824375867844,
-0.12693895399570465,
0.20215970277786255,
-0.06834602355957031,
-0.11117184162139893,
-0.17308162152767181,
0.1686847060918808,
-0.32251450419425964,
-0.061280183494091034,
0.2825627028942108,
0.04578886553645134,
-0.13506601750850677,
0.3510870337486267,
-0.23807427287101746,
-0.150480717420578,
-0.19528645277023315,
0.36696791648864746,
-0.2049933522939682,
0.42038872838020325,
-0.1128566712141037,
0.1902972161769867,
-0.3992716372013092,
-0.23689666390419006,
-0.23613235354423523,
0.013535458594560623,
0.06839601695537567,
0.2608693242073059,
0.006231766194105148,
0.02646169252693653,
-0.058855846524238586,
-0.1500328779220581,
0.038645707070827484,
-0.24950318038463593,
-0.32246270775794983,
-0.1918870508670807,
-0.051914624869823456,
0.2200959026813507,
0.24084977805614471,
0.38094913959503174,
-0.23119083046913147,
-0.09467548131942749,
0.02166879177093506,
-0.45109373331069946,
0.5968037843704224,
-0.11189375072717667,
-0.19706185162067413,
-0.13420458137989044,
0.17313794791698456,
0.3103223443031311,
-0.0668717622756958,
-0.745424747467041,
0.10448605567216873,
0.09967023879289627,
-0.21243542432785034,
0.01131177693605423,
0.25135400891304016,
-0.15249605476856232,
-0.08004006743431091,
-0.11727111041545868,
0.006675168871879578,
0.1871912181377411,
-0.22239546477794647,
0.09944765269756317,
-0.32119160890579224
] |
https://github.com/huggingface/datasets/issues/4641 | Dataset Viewer issue for kmfoda/booksum | Thanks for reporting, @lewtun.
It works locally in streaming mode:
```
{'bid': 27681,
'is_aggregate': True,
'source': 'cliffnotes',
'chapter_path': 'all_chapterized_books/27681-chapters/chapters_1_to_2.txt',
'summary_path': 'finished_summaries/cliffnotes/The Last of the Mohicans/section_1_part_0.txt',
'book_id': 'The Last of the Mohicans.chapters 1-2',
'summary_id': 'chapters 1-2',
'content': None,
'summary': '{"name": "Chapters 1-2", "url": "https://web.archive.org/web/20201101053205/https://www.cliffsnotes.com/literature/l/the-last-of-the-mohicans/summary-and-analysis/chapters-12", "summary": "Before any characters appear, the time and geography are made clear. Though it is the last war that England and France waged for a country that neither would retain, the wilderness between the forces still has to be...
```
I'm forcing the refresh of the preview. | ### Link
https://huggingface.co/datasets/kmfoda/booksum
### Description
A [user of AutoTrain Evaluate](https://huggingface.co/spaces/autoevaluate/model-evaluator/discussions/9) discovered this dataset cannot be streamed due to:
```
Status code: 400
Exception: ClientResponseError
Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/kmfoda/booksum/resolve/47953f583d6967f086cb16a2f4d2346e9834024d/test.csv')
```
I'm not sure why it says "Unauthorized" since it's just a bunch of CSV files in a repo
### Owner
No | 90 | Dataset Viewer issue for kmfoda/booksum
### Link
https://huggingface.co/datasets/kmfoda/booksum
### Description
A [user of AutoTrain Evaluate](https://huggingface.co/spaces/autoevaluate/model-evaluator/discussions/9) discovered this dataset cannot be streamed due to:
```
Status code: 400
Exception: ClientResponseError
Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/kmfoda/booksum/resolve/47953f583d6967f086cb16a2f4d2346e9834024d/test.csv')
```
I'm not sure why it says "Unauthorized" since it's just a bunch of CSV files in a repo
### Owner
No
Thanks for reporting, @lewtun.
It works locally in streaming mode:
```
{'bid': 27681,
'is_aggregate': True,
'source': 'cliffnotes',
'chapter_path': 'all_chapterized_books/27681-chapters/chapters_1_to_2.txt',
'summary_path': 'finished_summaries/cliffnotes/The Last of the Mohicans/section_1_part_0.txt',
'book_id': 'The Last of the Mohicans.chapters 1-2',
'summary_id': 'chapters 1-2',
'content': None,
'summary': '{"name": "Chapters 1-2", "url": "https://web.archive.org/web/20201101053205/https://www.cliffsnotes.com/literature/l/the-last-of-the-mohicans/summary-and-analysis/chapters-12", "summary": "Before any characters appear, the time and geography are made clear. Though it is the last war that England and France waged for a country that neither would retain, the wilderness between the forces still has to be...
```
I'm forcing the refresh of the preview. | [
-0.19831311702728271,
0.06330740451812744,
0.006858669221401215,
0.18694746494293213,
0.28380143642425537,
0.15722590684890747,
0.002605423331260681,
0.2719515860080719,
-0.1785537749528885,
-0.007660955190658569,
-0.34514591097831726,
0.28483718633651733,
0.1423894166946411,
-0.03379281610250473,
-0.01234916877001524,
-0.020669646561145782,
-0.05601372569799423,
-0.10234545171260834,
0.1138145700097084,
0.07614487409591675,
-0.032638926059007645,
-0.0934862419962883,
-0.24784493446350098,
-0.057764291763305664,
-0.10117538273334503,
-0.15333141386508942,
0.04050380736589432,
-0.05806484818458557,
-0.2204895317554474,
-0.42345812916755676,
0.08790318667888641,
0.43306639790534973,
0.4181893467903137,
0.44653981924057007,
-0.00012102878099540249,
0.1333514153957367,
0.23669616878032684,
0.011742128059267998,
-0.4994710683822632,
-0.023332953453063965,
0.11467523127794266,
0.07026772201061249,
0.2407739758491516,
-0.36926230788230896,
0.06296151876449585,
0.034784890711307526,
0.0884084701538086,
-0.6084691286087036,
0.5076783895492554,
0.4831673800945282,
0.10209736227989197,
0.1689029186964035,
-0.040581002831459045,
0.23248626291751862,
0.11983446031808853,
0.0902305394411087,
-0.22413505613803864,
0.3326443135738373,
0.06768125295639038,
0.21377316117286682,
-0.33711546659469604,
0.418806791305542,
-0.06946675479412079,
0.08525986224412918,
0.25999242067337036,
-0.22309152781963348,
-0.2091701328754425,
-0.1649640053510666,
0.270911306142807,
0.3146788477897644,
0.8450101613998413,
-0.22377502918243408,
-0.3780665695667267,
0.1044565811753273,
0.03777039796113968,
0.08695464581251144,
0.247054785490036,
0.4816701114177704,
-0.14800608158111572,
0.3099411725997925,
-0.522894024848938,
-0.0314791277050972,
-0.3407301902770996,
-0.005592763423919678,
-0.2842252254486084,
0.2751224637031555,
-0.14052611589431763,
0.10143229365348816,
0.15757450461387634,
-0.07662824541330338,
0.04187338054180145,
-0.16571493446826935,
-0.21393650770187378,
0.0731036365032196,
-0.31920909881591797,
-0.1244283989071846,
0.11412988603115082,
0.16346462070941925,
-0.07617919147014618,
0.2642003893852234,
0.33609646558761597,
0.29203274846076965,
-0.1393270641565323,
0.1255117952823639,
0.3354829251766205,
0.15847544372081757,
0.42250925302505493,
-0.015374798327684402,
0.5409889817237854,
0.4772832691669464,
-0.049959782510995865,
-0.10913126915693283,
-0.1243768185377121,
-0.23889411985874176,
-0.24334844946861267,
-0.13856914639472961,
0.4163680672645569,
-0.35823148488998413,
-0.3135702311992645,
0.5541882514953613,
-0.450096070766449,
0.00004561198875308037,
0.11530657112598419,
0.2682487666606903,
-0.30638980865478516,
0.09072539210319519,
0.0067156292498111725,
0.13509851694107056,
-0.034208476543426514,
-0.22451938688755035,
0.013004496693611145,
-0.21822737157344818,
-0.05001705512404442,
0.031102057546377182,
0.19738784432411194,
-0.3562231659889221,
0.09722860902547836,
-0.04040376469492912,
-0.10174228250980377,
-0.27353426814079285,
-0.20645834505558014,
-0.11185687780380249,
-0.16870853304862976,
0.3276183605194092,
0.33911871910095215,
0.033229514956474304,
0.1435941457748413,
0.1375967413187027,
0.009809039533138275,
0.16408821940422058,
0.021530888974666595,
-0.2548559904098511,
0.014580057933926582,
0.056937769055366516,
-0.24490360915660858,
-0.1222863495349884,
-0.22757452726364136,
0.16935721039772034,
-0.21141594648361206,
-0.18146832287311554,
0.17787960171699524,
0.2861541509628296,
-0.27046409249305725,
-0.0711962953209877,
0.16933844983577728,
0.5931157469749451,
-0.3753681480884552,
0.1486559957265854,
-0.283549040555954,
-0.09521917998790741,
0.07367794960737228,
0.08267103880643845,
-0.19778196513652802,
-0.028860442340373993,
-0.15958625078201294,
0.1137530505657196,
0.3652796149253845,
-0.12668076157569885,
-0.3957166373729706,
0.7121259570121765,
-0.12429417669773102,
0.12997302412986755,
0.2876623570919037,
-0.141444131731987,
0.09639975428581238,
0.09007576107978821,
0.11523473262786865,
-0.021857861429452896,
0.16048404574394226,
-0.11558528989553452,
-0.33162006735801697,
-0.23506855964660645,
0.12768781185150146,
0.1321944147348404,
0.08035799860954285,
0.050366029143333435,
0.37760046124458313,
-0.4380483329296112,
0.4789404571056366,
0.11076156795024872,
0.10474807769060135,
0.36564093828201294,
0.45868125557899475,
0.2642959952354431,
-0.10492967069149017,
-0.12796926498413086,
-0.3561001718044281,
0.10306554287672043,
0.22980090975761414,
-0.1714099943637848,
-0.23654280602931976,
-0.3703475594520569,
-0.3831520974636078,
-0.05145789310336113,
-0.38262951374053955,
-0.3211047649383545,
0.07496590912342072,
0.11582683026790619,
-0.24347162246704102,
0.3209409713745117,
0.067331463098526,
-0.2233605533838272,
-0.2192869931459427,
0.05008777976036072,
0.03290887176990509,
0.17261308431625366,
-0.100760318338871,
0.12872596085071564,
0.007053796201944351,
-0.036057472229003906,
0.29336491227149963,
0.054246269166469574,
-0.16803714632987976,
0.4577014148235321,
-0.08657066524028778,
0.4512016177177429,
0.2618701159954071,
0.012228846549987793,
0.06660950928926468,
-0.40169641375541687,
0.06041540950536728,
0.11445462703704834,
0.12203451991081238,
0.07035189121961594,
-0.5728057026863098,
0.46117281913757324,
0.08775487542152405,
0.0957973301410675,
-0.050992876291275024,
0.3736023008823395,
0.31248345971107483,
0.06051323190331459,
-0.13701806962490082,
-0.12799721956253052,
0.23425379395484924,
0.24143747985363007,
0.06046615168452263,
-0.03129103034734726,
-0.2574581205844879,
0.09548003226518631,
-0.04539019241929054,
0.028869111090898514,
-0.16176024079322815,
0.17932114005088806,
-0.166900634765625,
-0.0971875935792923,
0.2910531759262085,
-0.06062719225883484,
0.0805988609790802,
0.04444003477692604,
0.13138027489185333,
0.13831143081188202,
0.11966659128665924,
-0.15808144211769104,
0.15981213748455048,
0.19129255414009094,
-0.20003221929073334,
0.20339512825012207,
0.22751089930534363,
-0.03636251389980316,
-0.5542557835578918,
0.04323139414191246,
0.25797924399375916,
0.1812761276960373,
-0.19320784509181976,
0.18734169006347656,
-0.3245025873184204,
-0.19177180528640747,
-0.2759968936443329,
-0.19910520315170288,
-0.28141164779663086,
-0.3143063187599182,
-0.04625442624092102,
0.5915378928184509,
-0.1723690927028656,
0.17702911794185638,
-0.39585259556770325,
0.2828574776649475,
-0.0019184667617082596,
0.16171857714653015,
-0.247701033949852,
-0.299383282661438,
-0.2117684781551361,
0.011030860245227814,
0.48030298948287964,
-0.24553371965885162,
0.21799619495868683,
-0.07827624678611755,
0.136728435754776,
-0.6745288372039795,
-0.2707996070384979,
-0.06995752453804016,
-0.06035729497671127,
0.21822676062583923,
-0.2258746325969696,
0.18899664282798767,
-0.13240358233451843,
-0.2686731815338135,
0.09323220700025558,
0.002567864954471588,
-0.07294533401727676,
0.13483870029449463,
0.17166322469711304,
-0.11945004016160965,
0.013976667076349258,
-0.24658334255218506,
0.13721124827861786,
-0.35887834429740906,
0.2543282210826874,
-0.044460587203502655,
-0.06883619725704193,
0.05928228795528412,
0.1387161910533905,
0.08467108756303787,
0.17929117381572723,
0.14287643134593964,
-0.22018499672412872,
-0.42708125710487366,
0.3691418170928955,
-0.07546276599168777,
-0.4198342263698578,
0.3303327262401581,
0.1896759420633316,
0.09124401211738586,
0.2644956707954407,
-0.7805852890014648,
-0.03722349926829338,
-0.06444194167852402,
-0.009813055396080017,
0.07207582145929337,
-0.15993404388427734,
0.22474589943885803,
-0.10223730653524399,
0.07871461659669876,
0.018957272171974182,
-0.2153089940547943,
-0.11086166650056839,
0.1833292841911316,
0.04036001116037369,
-0.22527596354484558,
0.5088561177253723,
0.12399245798587799,
0.6707959771156311,
0.34292909502983093,
0.3793392479419708,
0.4550536870956421,
-0.18212097883224487,
0.5461741089820862,
0.17933067679405212,
-0.18681341409683228,
0.11204409599304199,
-0.44430479407310486,
-0.06485585868358612,
0.42956972122192383,
0.09104558080434799,
-0.31554779410362244,
-0.3128558099269867,
-0.08324165642261505,
-0.44719740748405457,
-0.48194608092308044,
-0.12900812923908234,
-0.37547218799591064,
0.18979725241661072,
0.18487131595611572,
0.3006768822669983,
-0.12007789313793182,
-0.2457031011581421,
0.09797075390815735,
0.5308557152748108,
0.02835150808095932,
0.07265442609786987,
-0.281121164560318,
0.08555791527032852,
-0.3713560998439789,
0.3731685280799866,
-0.03760391101241112,
0.43443605303764343,
-0.1534980982542038,
0.050704725086688995,
0.4777517318725586,
-0.13679008185863495,
0.5686037540435791,
-0.15434417128562927,
0.20543880760669708,
0.14483560621738434,
-0.10458530485630035,
-0.0510072186589241,
-0.10320012271404266,
-0.027330588549375534,
0.12357086688280106,
0.07593503594398499,
0.24470071494579315,
-0.13284462690353394,
0.04159078374505043,
0.0833095908164978,
-0.3415677547454834,
-0.21264101564884186,
-0.13403497636318207,
-0.2079828679561615,
-0.037475522607564926,
-0.2126237154006958,
0.08310786634683609,
0.07555682212114334,
0.07088116556406021,
-0.24875906109809875,
0.13086681067943573,
-0.027266984805464745,
-0.009702488780021667,
0.13774815201759338,
0.06580927968025208,
0.17987439036369324,
0.2055206596851349,
0.07730111479759216,
0.5273959636688232,
0.20066967606544495,
0.41063252091407776,
0.7816209197044373,
0.19879096746444702,
-0.515433132648468,
0.10946650803089142,
-0.14917467534542084,
0.15175451338291168,
0.4371015131473541,
-0.0738198533654213,
0.00589500367641449,
0.6415071487426758,
-0.06940144300460815,
-0.3374619483947754,
0.27586960792541504,
0.5030882954597473,
-0.0427405871450901,
-0.27937495708465576,
-0.5082055330276489,
0.36464741826057434,
-0.14294873178005219,
-0.0014755353331565857,
0.1513950526714325,
0.18519610166549683,
0.032744742929935455,
-0.12843653559684753,
0.21081426739692688,
1.0713998079299927,
0.19833354651927948,
0.0968046486377716,
0.12478186935186386,
-0.2986651659011841,
-0.07393473386764526,
-0.6121460199356079,
0.29951542615890503,
-0.20096725225448608,
-0.0029028235003352165,
-0.26130419969558716,
0.08358073234558105,
0.16968084871768951,
-0.23493613302707672,
-0.11353650689125061,
-0.20845159888267517,
0.21365807950496674,
0.49311500787734985,
0.06341607868671417,
-0.1091146394610405,
-0.43054646253585815,
0.011072421446442604,
-0.18966682255268097,
-0.005341753363609314,
-0.10991163551807404,
0.2448236346244812,
-0.08978582918643951,
-0.2523234486579895,
0.1843913495540619,
-0.19670970737934113,
-0.5027197003364563,
0.07636585831642151,
-0.13289512693881989,
0.14491772651672363,
-0.15674565732479095,
-0.3212851285934448,
0.29394832253456116,
0.6119180917739868,
-0.09653958678245544,
0.07285431027412415,
-0.3652719557285309,
0.1376577764749527,
0.11435872316360474,
-0.08352413028478622,
-0.04109155759215355,
0.0767802894115448,
0.2136576920747757,
-0.1523233950138092,
-0.14812049269676208,
0.22388911247253418,
0.026314690709114075,
-0.2432878613471985,
0.039912477135658264,
0.11634157598018646,
0.2996896505355835,
-0.5091806650161743,
0.10307897627353668,
-0.23489561676979065,
-0.11513672769069672,
-0.31251224875450134,
-0.010460473597049713,
-0.30654507875442505,
-0.01755302958190441,
-0.18744143843650818,
0.09430782496929169,
-0.14985492825508118,
-0.01965866982936859,
0.8614724278450012,
-0.020225293934345245,
0.18089409172534943,
0.4212251305580139,
0.17345529794692993,
-0.3455492854118347,
-0.17662787437438965,
0.003191448748111725,
-0.20623788237571716,
-0.3444972038269043,
0.07403692603111267,
0.015073347836732864,
0.05784521996974945,
-0.06918026506900787,
0.22864805161952972,
0.004133105278015137,
-0.19953298568725586,
-0.13517282903194427,
-0.4716733694076538,
-0.2810240387916565,
0.05662059783935547,
-0.126241073012352,
0.18767674267292023,
0.14021316170692444,
0.25559642910957336,
-0.047291599214076996,
0.05976841598749161,
-0.19824469089508057,
0.015474154613912106,
-0.0718812644481659,
-0.0790758728981018,
-0.22478275001049042,
-0.06537451595067978,
0.049405477941036224,
-0.016780979931354523,
-0.08278052508831024,
0.24363572895526886,
-0.23944634199142456,
-0.06302003562450409,
-0.21438394486904144,
0.22964873909950256,
0.294318288564682,
-0.23502930998802185,
-0.08589932322502136,
-0.36285388469696045,
-0.28737929463386536,
-0.01755201816558838,
-0.1496133655309677,
0.20356887578964233,
0.17996156215667725,
-0.21062085032463074,
0.27159497141838074,
0.250901997089386,
-0.37947148084640503,
-0.02011030539870262,
-0.13658303022384644,
0.2670731544494629,
0.03984040021896362,
-0.14811116456985474,
-0.13293680548667908,
-0.060299910604953766,
-0.021249521523714066,
0.07610922306776047,
0.22937001287937164,
0.15625017881393433,
0.26442232728004456,
-0.10658648610115051,
0.11417418718338013,
0.010061563923954964,
0.38678038120269775,
0.613943874835968,
-0.07271971553564072,
-0.21087107062339783,
0.2730989158153534,
0.0737665519118309,
-0.310642808675766,
-0.08636150509119034,
0.23542369902133942,
-0.16309981048107147,
0.09022444486618042,
-0.2120635211467743,
0.05445057526230812,
0.07405142486095428,
0.28699278831481934,
0.18420004844665527,
0.06033729389309883,
0.29262256622314453,
0.2554020285606384,
0.39292365312576294,
0.001341056078672409,
0.12589101493358612,
0.2044634371995926,
0.364850252866745,
0.17311953008174896,
0.1394570767879486,
-0.14429602026939392,
-0.25343284010887146,
0.08595691621303558,
0.2073766589164734,
-0.14918720722198486,
-0.5523756146430969,
0.19185128808021545,
-0.18507716059684753,
-0.25272440910339355,
0.28182458877563477,
0.034555647522211075,
0.27785739302635193,
-0.08656329661607742,
0.16481630504131317,
-0.6134260296821594,
0.0325937494635582,
-0.13207167387008667,
-0.01895052008330822,
-0.25393372774124146,
-0.3939459025859833,
0.06769035756587982,
0.36265650391578674,
-0.035929832607507706,
0.08264333754777908,
-0.16290247440338135,
-0.06790074706077576,
-0.2571977376937866,
-0.5656968355178833,
-0.030127689242362976,
-0.017999965697526932,
0.3951917588710785,
-0.2839318811893463,
0.1519000083208084,
0.29297471046447754,
0.18587836623191833,
0.306536465883255,
0.09259416908025742,
0.28779250383377075,
0.10543559491634369,
0.005362784489989281,
0.043847642838954926,
0.18692557513713837,
0.03654008358716965,
0.016850247979164124,
0.22847187519073486,
0.3009397089481354,
0.25648921728134155,
0.27779296040534973,
0.0390816330909729,
-0.11085820943117142,
0.38350313901901245,
-0.19947196543216705,
0.30679142475128174,
-0.16999797523021698,
-0.05788343399763107,
-0.10234297811985016,
-0.0786690041422844,
-0.09456571936607361,
-0.4129781424999237,
-0.13402538001537323,
0.014766544103622437,
-0.04555468633770943,
-0.08641068637371063,
0.06819614768028259,
-0.3104144036769867,
0.017605718225240707,
0.14262185990810394,
0.5081261992454529,
0.5303105115890503,
-0.27783358097076416,
-0.17207610607147217,
-0.1758536398410797,
-0.7798432111740112,
0.24062404036521912,
0.11273622512817383,
-0.08213350921869278,
0.22684532403945923,
-0.10961087048053741,
0.06685551255941391,
0.18429599702358246,
-0.022329509258270264,
-0.013118308037519455,
-0.15827849507331848,
0.2892317771911621,
-0.2801036536693573,
-0.1138770580291748,
0.0036977678537368774,
0.13508464395999908,
-0.28107506036758423,
-0.2533777058124542,
0.48829641938209534,
-0.02532903663814068,
-0.10248671472072601,
0.0019245818257331848,
-0.11803492903709412,
-0.1683201938867569,
-0.1916552484035492,
0.2817602753639221,
-0.16382642090320587,
0.23973236978054047,
0.09118721634149551,
0.1306728571653366,
-0.30404603481292725,
0.048990607261657715,
-0.2043333798646927,
-0.12090081721544266,
0.20323900878429413,
0.4680193066596985,
-0.056714899837970734,
-0.10288512706756592,
-0.12759487330913544,
0.48446035385131836,
0.2527954578399658,
0.007670465391129255,
-0.13441717624664307,
0.006215482950210571,
-0.13667365908622742,
0.10876079648733139,
0.18888647854328156,
0.43754374980926514,
0.015792924910783768,
0.09456741809844971,
-0.2921256422996521,
-0.5452927350997925,
0.638527512550354,
-0.5465348958969116,
-0.1942663937807083,
0.08446613699197769,
0.09668003022670746,
0.4473837912082672,
-0.07934960722923279,
-0.488311231136322,
0.21165874600410461,
0.27730876207351685,
-0.24605333805084229,
0.014512300491333008,
0.14655300974845886,
-0.2989843189716339,
0.02141600474715233,
-0.10862837731838226,
0.1418808102607727,
0.1577102541923523,
-0.054175134748220444,
0.06754849851131439,
-0.2776557207107544
] |
https://github.com/huggingface/datasets/issues/4637 | The "all" split breaks streaming | @albertvillanova Nice! Let me know if it's something I can fix my self; would love to contribtue! | ## Describe the bug
Not sure if this is a bug or just the way streaming works, but setting `streaming=True` did not work when setting `split="all"`
## Steps to reproduce the bug
The following works:
```python
ds = load_dataset('super_glue', 'wsc.fixed', split='all')
```
The following throws `ValueError: Bad split: all. Available splits: ['train', 'validation', 'test']`:
```python
ds = load_dataset('super_glue', 'wsc.fixed', split='all', streaming=True)
```
## Expected results
An iterator over all splits.
## Actual results
I had to do the following to achieve the desired result:
```python
from itertools import chain
ds = load_dataset('super_glue', 'wsc.fixed', streaming=True)
it = chain.from_iterable(ds.values())
```
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.3.2
- Platform: Linux-4.15.0-176-generic-x86_64-with-glibc2.31
- Python version: 3.10.5
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
| 17 | The "all" split breaks streaming
## Describe the bug
Not sure if this is a bug or just the way streaming works, but setting `streaming=True` did not work when setting `split="all"`
## Steps to reproduce the bug
The following works:
```python
ds = load_dataset('super_glue', 'wsc.fixed', split='all')
```
The following throws `ValueError: Bad split: all. Available splits: ['train', 'validation', 'test']`:
```python
ds = load_dataset('super_glue', 'wsc.fixed', split='all', streaming=True)
```
## Expected results
An iterator over all splits.
## Actual results
I had to do the following to achieve the desired result:
```python
from itertools import chain
ds = load_dataset('super_glue', 'wsc.fixed', streaming=True)
it = chain.from_iterable(ds.values())
```
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.3.2
- Platform: Linux-4.15.0-176-generic-x86_64-with-glibc2.31
- Python version: 3.10.5
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
@albertvillanova Nice! Let me know if it's something I can fix my self; would love to contribtue! | [
-0.43805015087127686,
-0.28562358021736145,
0.06437310576438904,
-0.004342071712017059,
0.1474832445383072,
-0.083074189722538,
0.2635285556316376,
0.20259639620780945,
0.15930144488811493,
-0.08981025218963623,
-0.1584620177745819,
0.17659145593643188,
0.17207029461860657,
0.20764705538749695,
-0.02377353236079216,
-0.11348919570446014,
0.09003760665655136,
0.25713956356048584,
-0.17349082231521606,
0.05843568593263626,
-0.2173282653093338,
0.039123401045799255,
-0.3731847405433655,
-0.3071672320365906,
-0.36522236466407776,
-0.005054822191596031,
-0.1748964786529541,
-0.003625825047492981,
0.13170985877513885,
-0.3382742702960968,
0.14604391157627106,
0.16839642822742462,
0.1047525629401207,
0.3160296678543091,
-0.00011813532910309732,
0.04912770539522171,
0.5106107592582703,
-0.10244043171405792,
-0.24704770743846893,
0.0907936692237854,
-0.47375282645225525,
-0.038661494851112366,
0.24072015285491943,
0.07541250437498093,
-0.1754690706729889,
0.18183328211307526,
-0.262694388628006,
-0.43642523884773254,
0.40963685512542725,
0.24855107069015503,
0.14005105197429657,
0.33625876903533936,
-0.09222082793712616,
0.023614121600985527,
0.0016237124800682068,
-0.3189801573753357,
-0.001342862844467163,
0.25299525260925293,
0.18114325404167175,
-0.09653434157371521,
-0.07599315792322159,
0.16559360921382904,
-0.16423624753952026,
0.15374520421028137,
0.17355427145957947,
-0.09832286089658737,
-0.44300103187561035,
-0.3366524279117584,
0.01144641824066639,
0.5195943713188171,
0.08657585084438324,
-0.05386730283498764,
-0.36607107520103455,
-0.2668890655040741,
-0.05059800669550896,
-0.47280460596084595,
0.09339315444231033,
0.4066316485404968,
-0.015051417984068394,
0.2071257084608078,
0.008188340812921524,
0.1580432802438736,
-0.025535594671964645,
0.1109209656715393,
-0.285676509141922,
0.6093912124633789,
-0.020919743925333023,
0.09998686611652374,
0.16222983598709106,
0.2921751141548157,
0.11454914510250092,
0.005914177745580673,
-0.2557664215564728,
-0.19019503891468048,
-0.5672663450241089,
-0.102298803627491,
-0.09527105838060379,
0.1677478849887848,
0.0054669566452503204,
0.08888915181159973,
0.14691531658172607,
-0.018628790974617004,
0.3433244228363037,
0.06730775535106659,
0.6433023810386658,
0.06975114345550537,
-0.23441731929779053,
0.2450283318758011,
0.32957953214645386,
0.15582811832427979,
0.015124551951885223,
-0.14025455713272095,
0.5000228881835938,
-0.015013203024864197,
-0.1792680323123932,
-0.14283999800682068,
0.25922030210494995,
0.08757129311561584,
-0.2202390730381012,
-0.16852474212646484,
-0.2860881984233856,
-0.16280719637870789,
0.17955051362514496,
0.29451966285705566,
-0.15499457716941833,
0.38879576325416565,
-0.39091116189956665,
0.42450201511383057,
-0.013679619878530502,
-0.2548252046108246,
-0.3147451877593994,
-0.0940529853105545,
-0.09890123456716537,
0.11892731487751007,
0.15858952701091766,
-0.5706725120544434,
0.09514855593442917,
0.2946668863296509,
-0.21593709290027618,
-0.14634686708450317,
-0.3978513181209564,
-0.0782260149717331,
0.29536983370780945,
0.3640330731868744,
0.31463003158569336,
0.2763644754886627,
0.23747219145298004,
-0.061639320105314255,
0.02544889599084854,
0.033659838140010834,
0.15191873908042908,
-0.3763848841190338,
0.16676069796085358,
0.1547408550977707,
-0.40083152055740356,
-0.10147728025913239,
-0.056693173944950104,
0.29245609045028687,
0.0892033502459526,
0.17858411371707916,
0.12552231550216675,
-0.0630384013056755,
-0.07713618874549866,
-0.08084918558597565,
0.21606546640396118,
0.37368783354759216,
-0.27656498551368713,
-0.08374880254268646,
0.027000408619642258,
0.050731781870126724,
0.434679239988327,
0.13735057413578033,
-0.09743548184633255,
-0.21643802523612976,
-0.035462189465761185,
0.2550477385520935,
0.1676696091890335,
0.14247159659862518,
-0.5678190588951111,
0.6467213034629822,
0.04417768865823746,
0.16892653703689575,
0.071443110704422,
-0.05893012508749962,
0.4841614365577698,
0.04882487282156944,
-0.18047571182250977,
0.4707890748977661,
-0.21340802311897278,
0.04636076092720032,
-0.3024222254753113,
-0.06654562056064606,
0.3180977702140808,
0.05910233035683632,
0.3148778975009918,
0.2276943325996399,
-0.050894416868686676,
0.05436348170042038,
0.44308024644851685,
0.15979333221912384,
0.06126135587692261,
-0.1382293850183487,
0.17201077938079834,
0.045657917857170105,
0.08364853262901306,
-0.3074783980846405,
-0.09545033425092697,
0.08179015666246414,
0.4082069396972656,
-0.08550961315631866,
-0.12652085721492767,
-0.10376854985952377,
-0.10138389468193054,
0.03024658001959324,
-0.22489188611507416,
-0.3563036620616913,
0.09457828104496002,
0.28688210248947144,
0.002881564199924469,
0.044694934040308,
-0.32204756140708923,
0.37503838539123535,
-0.0872139185667038,
0.1323266327381134,
-0.07822680473327637,
0.5099124312400818,
0.1375594586133957,
-0.29197072982788086,
0.056479305028915405,
0.009484149515628815,
0.23820233345031738,
-0.05255001038312912,
-0.3526840806007385,
0.6436124444007874,
-0.16706036031246185,
0.09091366827487946,
-0.46090254187583923,
-0.07914756238460541,
0.3110666871070862,
-0.5459033846855164,
-0.03116096742451191,
0.394019216299057,
0.04765307530760765,
-0.12922103703022003,
-0.10072749108076096,
0.19779783487319946,
-0.3966433107852936,
0.40451565384864807,
0.06962012499570847,
0.31277573108673096,
0.02461068145930767,
-0.18539419770240784,
-0.2334795594215393,
-0.03247174248099327,
0.02334832213819027,
-0.29948341846466064,
0.2181079238653183,
-0.19295771420001984,
-0.24962398409843445,
0.1687098890542984,
0.29131489992141724,
-0.04484103247523308,
0.03628423064947128,
-0.0923907682299614,
-0.37866583466529846,
-0.08252964913845062,
0.28124499320983887,
0.325551837682724,
0.5079211592674255,
0.1314525008201599,
0.27335381507873535,
-0.10766660422086716,
-0.0558352991938591,
-0.15098987519741058,
0.4015883803367615,
0.30740249156951904,
-0.14199598133563995,
0.05675215274095535,
0.03699606657028198,
-0.11386213451623917,
-0.4539596438407898,
0.17879952490329742,
-0.2296234518289566,
0.15621867775917053,
-0.1684272289276123,
0.19128064811229706,
-0.40010520815849304,
-0.13567498326301575,
0.026608413085341454,
-0.4144558906555176,
-0.02480967342853546,
-0.5402313470840454,
-0.1275111436843872,
0.323339581489563,
-0.09115953743457794,
0.3496190011501312,
-0.09649951756000519,
0.07483601570129395,
0.02420511655509472,
0.03149828314781189,
-0.1663443148136139,
-0.09038039296865463,
-0.1003565713763237,
0.04520081356167793,
0.1989046335220337,
0.005095360334962606,
0.03946013003587723,
0.34990158677101135,
-0.4442514181137085,
0.037394218146800995,
0.037327758967876434,
0.040601696819067,
-0.3160269260406494,
0.07950763404369354,
0.06957124173641205,
0.16101688146591187,
0.12321701645851135,
-0.3321166932582855,
0.18306785821914673,
-0.541637122631073,
0.2586391270160675,
0.270737886428833,
0.013997857458889484,
0.17089775204658508,
-0.1583501547574997,
-0.18211787939071655,
-0.32023146748542786,
-0.5059807896614075,
0.19162136316299438,
-0.20040079951286316,
-0.08269673585891724,
-0.09343218803405762,
0.10939379036426544,
-0.3086530864238739,
0.1368362158536911,
-0.21369627118110657,
-0.18449191749095917,
-0.11646248400211334,
0.30956315994262695,
-0.04519042745232582,
-0.37126633524894714,
-0.015075214207172394,
-0.22966058552265167,
0.003171425312757492,
0.07940632849931717,
-0.3068745732307434,
0.21813586354255676,
-0.41953346133232117,
-0.023680074140429497,
-0.005264885723590851,
0.1100100502371788,
0.035090185701847076,
-0.24384838342666626,
0.06942976266145706,
-0.2088751196861267,
-0.08124087750911713,
-0.055985040962696075,
-0.04954233765602112,
-0.011719681322574615,
0.08002293854951859,
0.2713879644870758,
0.2702876031398773,
0.5996662378311157,
0.2799975872039795,
0.1901848316192627,
0.2594531774520874,
-0.09273022413253784,
0.24058666825294495,
0.008376874029636383,
-0.5590890049934387,
0.0219363272190094,
-0.23311090469360352,
0.20167423784732819,
0.2170776128768921,
0.02253255993127823,
-0.3764817416667938,
-0.16763320565223694,
0.033335376530885696,
-0.08084969222545624,
-0.34399619698524475,
0.09471677988767624,
-0.17554785311222076,
-0.01729918271303177,
0.018515080213546753,
0.29454460740089417,
0.3324767053127289,
-0.2236388921737671,
-0.09466895461082458,
0.0690755546092987,
0.07938826084136963,
-0.05325871706008911,
-0.06887403130531311,
-0.09669000655412674,
-0.2841750383377075,
0.07352504134178162,
-0.11316029727458954,
0.5201963186264038,
0.06181589141488075,
-0.32994452118873596,
0.15724270045757294,
0.10530592501163483,
0.6719343662261963,
-0.24949060380458832,
-0.02880789339542389,
0.11331096291542053,
-0.20397056639194489,
-0.3484860062599182,
-0.05688372999429703,
-0.17125777900218964,
-0.061263307929039,
0.43386760354042053,
-0.055008962750434875,
-0.24936074018478394,
0.009732120670378208,
0.309743195772171,
-0.09049493074417114,
-0.017413023859262466,
-0.33601114153862,
-0.15558841824531555,
-0.11755406856536865,
0.05217858403921127,
0.0714002326130867,
0.2726688086986542,
0.167744979262352,
-0.2413264662027359,
-0.08513148874044418,
-0.1649211347103119,
-0.3397139310836792,
0.1488853543996811,
0.11811339855194092,
0.1248018890619278,
0.10414637625217438,
0.17748481035232544,
0.09183131158351898,
0.18191862106323242,
-0.12834593653678894,
0.43510040640830994,
0.15070615708827972,
0.10118213295936584,
0.06382611393928528,
0.1425057202577591,
0.189181387424469,
0.47131165862083435,
-0.1288028210401535,
0.05459025129675865,
0.26433849334716797,
0.19887349009513855,
-0.1687830537557602,
0.11994839459657669,
0.09353909641504288,
-0.06298643350601196,
-0.2579379081726074,
-0.3418280780315399,
0.49766018986701965,
0.052526649087667465,
0.05768933892250061,
0.5826786160469055,
0.07738114148378372,
-0.1430845409631729,
0.25467169284820557,
-0.07164626568555832,
0.8570702075958252,
0.29584628343582153,
-0.04971068724989891,
0.25472894310951233,
-0.19556905329227448,
0.5251848101615906,
-0.06582687050104141,
0.10091693699359894,
-0.22609354555606842,
-0.6348605751991272,
0.005404023453593254,
-0.12066693603992462,
0.04037152975797653,
-0.2751650810241699,
-0.4430762529373169,
0.4685977101325989,
-0.03318488597869873,
0.5782800316810608,
0.10194370150566101,
0.06817886233329773,
-0.40019527077674866,
-0.20820772647857666,
-0.21511709690093994,
0.08823401480913162,
-0.0060853511095047,
0.15927350521087646,
0.19239047169685364,
-0.3191976547241211,
0.3201487362384796,
-0.13627853989601135,
-0.5514072179794312,
0.12362680584192276,
-0.39943811297416687,
-0.11645697057247162,
-0.1477240025997162,
-0.2391909658908844,
-0.05633089318871498,
0.039273809641599655,
0.03656148165464401,
-0.002032708376646042,
-0.12317514419555664,
0.21093755960464478,
0.12477998435497284,
0.1544705480337143,
-0.033438462764024734,
0.23454973101615906,
0.1373601257801056,
0.08340548723936081,
-0.11137256771326065,
0.046457305550575256,
0.0538480281829834,
-0.09033335745334625,
0.04841497540473938,
0.29371410608291626,
0.11532045900821686,
-0.28029271960258484,
0.08754447102546692,
0.030035510659217834,
0.2771974503993988,
-0.5586684346199036,
0.11589202284812927,
-0.03860598802566528,
-0.2692692279815674,
0.4245091676712036,
-0.3320850729942322,
-0.1289643794298172,
-0.5031554698944092,
0.3616260290145874,
-0.022809762507677078,
0.16733114421367645,
0.15865959227085114,
0.12395767867565155,
-0.25680261850357056,
-0.15925897657871246,
-0.020948544144630432,
-0.2104380875825882,
-0.35847529768943787,
0.19190308451652527,
-0.38227561116218567,
-0.07374992221593857,
-0.19382506608963013,
-0.04033169522881508,
0.03508945554494858,
0.3391158878803253,
-0.17171108722686768,
-0.14319296181201935,
-0.11431966722011566,
-0.0683216005563736,
0.07061800360679626,
0.21136078238487244,
-0.40336039662361145,
0.2514510452747345,
0.013152623549103737,
0.35710853338241577,
-0.27886927127838135,
-0.09113384038209915,
0.08467765152454376,
-0.026242025196552277,
-0.028762605041265488,
-0.025969184935092926,
0.40171903371810913,
-0.04969862103462219,
0.10435189306735992,
0.2482294887304306,
0.0782441794872284,
-0.18590733408927917,
-0.15343643724918365,
0.1304398477077484,
0.31198957562446594,
-0.29494962096214294,
-0.16405873000621796,
-0.050051674246788025,
-0.30444857478141785,
-0.1735413819551468,
0.2162303775548935,
-0.0033660344779491425,
-0.0045985206961631775,
0.31354743242263794,
0.5923029780387878,
-0.028916135430336,
-0.12946125864982605,
-0.06347872316837311,
-0.14627473056316376,
0.2734648585319519,
0.024030523374676704,
0.20759811997413635,
0.1761167347431183,
-0.06706412136554718,
-0.3482173681259155,
-0.09867332130670547,
-0.0753050148487091,
0.126510888338089,
0.45526620745658875,
-0.21659304201602936,
-0.2292301505804062,
-0.10602304339408875,
0.6238956451416016,
0.5291640758514404,
0.18459917604923248,
-0.02861153893172741,
0.04025311768054962,
0.18409964442253113,
-0.11872462183237076,
-0.019934657961130142,
0.10290127992630005,
0.2906162440776825,
0.24520954489707947,
0.3542400598526001,
0.12176311016082764,
-0.27371054887771606,
-0.1589178889989853,
0.1357955038547516,
0.37080901861190796,
-0.05929312855005264,
0.413311243057251,
0.6302427649497986,
-0.12038807570934296,
0.12317383289337158,
-0.03606686741113663,
0.0560634508728981,
0.07199409604072571,
-0.04228539764881134,
-0.060489825904369354,
0.26300951838493347,
-0.03386927396059036,
-0.2762424051761627,
-0.00001576542854309082,
-0.18799138069152832,
-0.20950175821781158,
0.07019342482089996,
-0.4028432369232178,
0.1335727870464325,
0.011634260416030884,
0.4027199149131775,
-0.444176584482193,
-0.2872924208641052,
-0.06159161031246185,
0.08115655183792114,
0.02427079901099205,
-0.08727933466434479,
0.024611573666334152,
-0.02950475737452507,
-0.25643616914749146,
0.14453795552253723,
0.2627529203891754,
-0.09022952616214752,
0.46310850977897644,
0.07442552596330643,
-0.037312403321266174,
-0.43975239992141724,
-0.03449392318725586,
0.09283037483692169,
0.2586480975151062,
-0.2339451014995575,
-0.06917598098516464,
0.11923839151859283,
0.1628907024860382,
0.1342700719833374,
0.21604467928409576,
0.30914488434791565,
0.06565000861883163,
-0.1403399258852005,
0.0608561672270298,
0.17460989952087402,
-0.18848904967308044,
0.042972322553396225,
0.19298774003982544,
0.11794351041316986,
0.12702809274196625,
0.2904948592185974,
0.1376119703054428,
-0.13627216219902039,
0.47748664021492004,
-0.13223595917224884,
0.31722861528396606,
-0.3327743709087372,
0.47410547733306885,
0.16846950352191925,
0.06353793293237686,
-0.017226938158273697,
-0.17800432443618774,
-0.28298574686050415,
0.17442800104618073,
0.20200560986995697,
-0.24881674349308014,
0.09767190366983414,
-0.11996690928936005,
0.041927535086870193,
0.08915290236473083,
0.34866663813591003,
0.06060422211885452,
0.13012444972991943,
-0.2734355628490448,
-0.07593351602554321,
-0.20459841191768646,
-0.0517476424574852,
-0.0718621164560318,
0.13651308417320251,
0.1403271108865738,
0.4067774713039398,
-0.129644513130188,
0.0779787227511406,
-0.024774447083473206,
0.08142749965190887,
-0.1989637166261673,
0.3796727955341339,
-0.06941362470388412,
-0.23724888265132904,
-0.18433891236782074,
0.21727828681468964,
-0.08430573344230652,
-0.2790968120098114,
0.16193950176239014,
-0.20354947447776794,
0.01366695761680603,
0.25562846660614014,
-0.2827673852443695,
0.1407349854707718,
-0.06641852110624313,
-0.02812640368938446,
0.34153303503990173,
0.10455338656902313,
-0.08991372585296631,
0.14676019549369812,
-0.4133976399898529,
-0.310105562210083,
-0.634583055973053,
-0.04641569405794144,
-0.05754702165722847,
0.47388312220573425,
0.030738526955246925,
-0.2902262806892395,
-0.37861886620521545,
0.2889615595340729,
0.13058029115200043,
0.07167410850524902,
-0.13215981423854828,
0.12325654178857803,
0.02622804045677185,
0.37987735867500305,
0.27182814478874207,
0.2049039900302887,
-0.38050562143325806,
0.15432626008987427,
-0.14838257431983948,
-0.558739423751831,
0.41677576303482056,
-0.4807002544403076,
-0.2465139478445053,
-0.14933647215366364,
0.14757244288921356,
0.6240326762199402,
0.17203150689601898,
-0.2498677372932434,
-0.0862785205245018,
0.2271125465631485,
-0.2747229039669037,
-0.18894349038600922,
0.22756846249103546,
0.27010419964790344,
0.11798897385597229,
-0.05787821114063263,
-0.2600691020488739,
0.37958794832229614,
-0.5127626061439514,
0.27729925513267517,
-0.33827197551727295
] |
https://github.com/huggingface/datasets/issues/4637 | The "all" split breaks streaming | @cakiki I was working on this but if you would like to contribute, go ahead. I will close my PR. ;)
For the moment I just pushed the test (to see if it impacts other tests). | ## Describe the bug
Not sure if this is a bug or just the way streaming works, but setting `streaming=True` did not work when setting `split="all"`
## Steps to reproduce the bug
The following works:
```python
ds = load_dataset('super_glue', 'wsc.fixed', split='all')
```
The following throws `ValueError: Bad split: all. Available splits: ['train', 'validation', 'test']`:
```python
ds = load_dataset('super_glue', 'wsc.fixed', split='all', streaming=True)
```
## Expected results
An iterator over all splits.
## Actual results
I had to do the following to achieve the desired result:
```python
from itertools import chain
ds = load_dataset('super_glue', 'wsc.fixed', streaming=True)
it = chain.from_iterable(ds.values())
```
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.3.2
- Platform: Linux-4.15.0-176-generic-x86_64-with-glibc2.31
- Python version: 3.10.5
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
| 36 | The "all" split breaks streaming
## Describe the bug
Not sure if this is a bug or just the way streaming works, but setting `streaming=True` did not work when setting `split="all"`
## Steps to reproduce the bug
The following works:
```python
ds = load_dataset('super_glue', 'wsc.fixed', split='all')
```
The following throws `ValueError: Bad split: all. Available splits: ['train', 'validation', 'test']`:
```python
ds = load_dataset('super_glue', 'wsc.fixed', split='all', streaming=True)
```
## Expected results
An iterator over all splits.
## Actual results
I had to do the following to achieve the desired result:
```python
from itertools import chain
ds = load_dataset('super_glue', 'wsc.fixed', streaming=True)
it = chain.from_iterable(ds.values())
```
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.3.2
- Platform: Linux-4.15.0-176-generic-x86_64-with-glibc2.31
- Python version: 3.10.5
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
@cakiki I was working on this but if you would like to contribute, go ahead. I will close my PR. ;)
For the moment I just pushed the test (to see if it impacts other tests). | [
-0.4182455837726593,
-0.2260851263999939,
0.06095176562666893,
-0.04782789200544357,
0.1342654675245285,
-0.06748978793621063,
0.32134050130844116,
0.24418754875659943,
0.1773902177810669,
-0.052293598651885986,
-0.17178554832935333,
0.2135753482580185,
0.14870859682559967,
0.17265383899211884,
0.005062236450612545,
-0.10720588266849518,
0.061388563364744186,
0.2308761328458786,
-0.18479683995246887,
0.09923718869686127,
-0.1928092986345291,
0.059459760785102844,
-0.3887813091278076,
-0.29728442430496216,
-0.3561750650405884,
-0.00043584592640399933,
-0.20553778111934662,
0.025670822709798813,
0.13488468527793884,
-0.345083087682724,
0.14403969049453735,
0.18743383884429932,
0.06259557604789734,
0.333304762840271,
-0.00011625709885265678,
0.07414884865283966,
0.48669445514678955,
-0.10671962052583694,
-0.2318653166294098,
0.10818705707788467,
-0.3937036693096161,
-0.0025706999003887177,
0.20354795455932617,
0.04341631382703781,
-0.22182118892669678,
0.17833900451660156,
-0.2379821389913559,
-0.39338767528533936,
0.39223557710647583,
0.2844395339488983,
0.15103064477443695,
0.34595975279808044,
-0.1771736890077591,
-0.024689842015504837,
0.029280703514814377,
-0.3330017328262329,
-0.0090425293892622,
0.28126829862594604,
0.15750357508659363,
-0.10297731310129166,
-0.12390290945768356,
0.18226774036884308,
-0.1278013437986374,
0.2128344178199768,
0.07220751792192459,
-0.07904136925935745,
-0.42833948135375977,
-0.29561883211135864,
-0.02946566790342331,
0.5458265542984009,
0.04361668601632118,
-0.0636226087808609,
-0.38892245292663574,
-0.24394449591636658,
-0.062352485954761505,
-0.4038657248020172,
0.06078251823782921,
0.40308332443237305,
-0.03977219760417938,
0.2079210728406906,
-0.02027091011404991,
0.20670075714588165,
-0.038818299770355225,
0.01672358810901642,
-0.3019002676010132,
0.5958729982376099,
0.0039969393983483315,
0.09817593544721603,
0.13494384288787842,
0.2942171096801758,
0.05508972704410553,
-0.012210104614496231,
-0.23012462258338928,
-0.1952950805425644,
-0.5536636114120483,
-0.13375037908554077,
-0.06986144930124283,
0.12315371632575989,
0.08629661798477173,
0.10763252526521683,
0.15621264278888702,
-0.013232920318841934,
0.3372403383255005,
0.04376736283302307,
0.5843249559402466,
0.12540559470653534,
-0.21360084414482117,
0.25675448775291443,
0.3240314722061157,
0.17290011048316956,
-0.0458594486117363,
-0.13241776823997498,
0.49806708097457886,
-0.02702677994966507,
-0.17049844563007355,
-0.14748403429985046,
0.26648926734924316,
0.05034392699599266,
-0.2296416163444519,
-0.17267562448978424,
-0.29736122488975525,
-0.12135942280292511,
0.1658032387495041,
0.35554563999176025,
-0.15160827338695526,
0.3804563879966736,
-0.3528333902359009,
0.42559224367141724,
-0.01996694691479206,
-0.2112301141023636,
-0.34922948479652405,
-0.03082011640071869,
-0.12420526146888733,
0.14166390895843506,
0.18963347375392914,
-0.5105101466178894,
0.13385725021362305,
0.22631719708442688,
-0.17470011115074158,
-0.11727554351091385,
-0.3508305251598358,
-0.04064399003982544,
0.330878347158432,
0.38374656438827515,
0.31648916006088257,
0.26164624094963074,
0.21017315983772278,
-0.08342988789081573,
0.012162275612354279,
-0.00278366357088089,
0.20837879180908203,
-0.37954825162887573,
0.2177414894104004,
0.17583253979682922,
-0.44530653953552246,
-0.06770797818899155,
0.016792751848697662,
0.2798632085323334,
0.05902436748147011,
0.15912936627864838,
0.09652705490589142,
-0.09206563979387283,
-0.04992825537919998,
-0.0706573873758316,
0.25603580474853516,
0.349873423576355,
-0.26527097821235657,
-0.10169877111911774,
0.05424404516816139,
0.05491633713245392,
0.4251152276992798,
0.14581480622291565,
-0.062087222933769226,
-0.20725762844085693,
-0.07244335114955902,
0.34060555696487427,
0.16408683359622955,
0.10135689377784729,
-0.5563211441040039,
0.649554967880249,
0.011762760579586029,
0.18301771581172943,
0.08296000957489014,
-0.1135009229183197,
0.46381092071533203,
0.02692204713821411,
-0.19893673062324524,
0.44787442684173584,
-0.23271048069000244,
0.0595378577709198,
-0.3775132894515991,
-0.03635920584201813,
0.3424304723739624,
0.07932010293006897,
0.29123327136039734,
0.15502014756202698,
-0.06010071188211441,
0.05150888115167618,
0.49125489592552185,
0.07983334362506866,
0.030385049059987068,
-0.1369647979736328,
0.1913316547870636,
-0.029132172465324402,
0.08492667227983475,
-0.3210524022579193,
-0.06800437718629837,
0.10627578943967819,
0.3944210410118103,
-0.03165706247091293,
-0.13550356030464172,
-0.1304720938205719,
-0.15462207794189453,
0.059095337986946106,
-0.22319675981998444,
-0.4016740322113037,
0.12006670236587524,
0.30889296531677246,
0.04712538793683052,
0.06537966430187225,
-0.2674242854118347,
0.3274271786212921,
-0.10340818762779236,
0.11847066879272461,
-0.06683520972728729,
0.4822104573249817,
0.09311312437057495,
-0.27259308099746704,
0.059989094734191895,
0.04087956249713898,
0.19315698742866516,
-0.07632787525653839,
-0.3453938364982605,
0.618093729019165,
-0.1404893696308136,
0.040148355066776276,
-0.40595173835754395,
-0.12018533051013947,
0.2971157133579254,
-0.5724577903747559,
-0.04584451764822006,
0.3284560441970825,
0.028209172189235687,
-0.11099869012832642,
-0.1356532871723175,
0.2526895999908447,
-0.358758807182312,
0.3765203654766083,
0.07554718852043152,
0.26383838057518005,
0.07509634643793106,
-0.222520649433136,
-0.2529791295528412,
-0.025365542620420456,
0.046799905598163605,
-0.2918795943260193,
0.2217971831560135,
-0.19820120930671692,
-0.26504960656166077,
0.16747398674488068,
0.30557015538215637,
-0.10692888498306274,
0.03981031849980354,
-0.11326204985380173,
-0.3922320306301117,
-0.12046942114830017,
0.2550889551639557,
0.3006149232387543,
0.5223637223243713,
0.13952283561229706,
0.32295092940330505,
-0.07227596640586853,
-0.10071484744548798,
-0.1725786328315735,
0.39298003911972046,
0.22751261293888092,
-0.1295846700668335,
0.08902359753847122,
0.035566333681344986,
-0.1346587985754013,
-0.45584702491760254,
0.21092310547828674,
-0.19818510115146637,
0.12384533137083054,
-0.18125350773334503,
0.17962953448295593,
-0.3765556216239929,
-0.07334586977958679,
0.030934643000364304,
-0.4073246121406555,
0.0390460230410099,
-0.5770460367202759,
-0.06204678863286972,
0.3034250736236572,
-0.13903750479221344,
0.37717124819755554,
-0.07727150619029999,
0.0767621248960495,
0.04895539581775665,
-0.013565128669142723,
-0.2042730301618576,
-0.11289478093385696,
-0.11493020504713058,
0.06594347953796387,
0.23083868622779846,
0.06589905172586441,
0.07891162484884262,
0.34497401118278503,
-0.41699540615081787,
0.0062353722751140594,
-0.023966100066900253,
0.049654148519039154,
-0.31597191095352173,
0.15090736746788025,
0.10876382142305374,
0.1432487815618515,
0.1555408537387848,
-0.33440732955932617,
0.17943356931209564,
-0.610839307308197,
0.21791575849056244,
0.2994125485420227,
0.03635920211672783,
0.16248518228530884,
-0.21198229491710663,
-0.2971325218677521,
-0.27767011523246765,
-0.47107014060020447,
0.17710018157958984,
-0.22194892168045044,
-0.11569833755493164,
-0.11473245918750763,
0.07735031843185425,
-0.2479695975780487,
0.11932423710823059,
-0.24006575345993042,
-0.20131580531597137,
-0.0875316709280014,
0.3013264536857605,
-0.08880709856748581,
-0.4056512713432312,
-0.036857977509498596,
-0.2898283004760742,
0.051515791565179825,
0.010798734612762928,
-0.3027435541152954,
0.15781362354755402,
-0.3630508780479431,
0.010886739939451218,
0.05255034565925598,
0.05700189992785454,
0.02675006538629532,
-0.27945640683174133,
0.049335114657878876,
-0.2008751928806305,
-0.06021706014871597,
-0.05645877867937088,
-0.042156681418418884,
-0.03140357881784439,
0.005158144980669022,
0.22948235273361206,
0.293590784072876,
0.5917434096336365,
0.2472344934940338,
0.17943905293941498,
0.2212674617767334,
-0.12438847869634628,
0.2695482671260834,
0.004426605999469757,
-0.48321810364723206,
0.041958145797252655,
-0.23562824726104736,
0.16494441032409668,
0.23304203152656555,
-0.028856605291366577,
-0.38526731729507446,
-0.09056791663169861,
0.09916754066944122,
-0.09541945159435272,
-0.38640934228897095,
0.08952820301055908,
-0.1874292641878128,
-0.07474004477262497,
0.06498730182647705,
0.2757015526294708,
0.30864185094833374,
-0.18221336603164673,
-0.060723040252923965,
0.06938453763723373,
0.0642096996307373,
-0.08328802138566971,
-0.10523505508899689,
-0.03706664964556694,
-0.3407646715641022,
0.09228350967168808,
-0.08150854706764221,
0.5089674592018127,
0.08256796002388,
-0.394516259431839,
0.13582012057304382,
0.012419560924172401,
0.6556841731071472,
-0.2658141553401947,
0.0233427956700325,
0.16605235636234283,
-0.20444658398628235,
-0.35642051696777344,
-0.08617124706506729,
-0.2595308721065521,
-0.1297275274991989,
0.439850389957428,
-0.052384644746780396,
-0.28907549381256104,
-0.011501959525048733,
0.29593920707702637,
-0.055345963686704636,
-0.008773908019065857,
-0.2837521731853485,
-0.17996391654014587,
-0.20135372877120972,
0.05321529507637024,
0.12253785133361816,
0.23200999200344086,
0.19009310007095337,
-0.2951981723308563,
-0.08152332901954651,
-0.15420232713222504,
-0.310404896736145,
0.12182757258415222,
0.16849854588508606,
0.16326364874839783,
0.08230636268854141,
0.2029924839735031,
0.06319722533226013,
0.1776358187198639,
-0.1359129399061203,
0.41359904408454895,
0.14976051449775696,
0.17905786633491516,
0.053159117698669434,
0.09786157310009003,
0.17145824432373047,
0.46978384256362915,
-0.14097468554973602,
0.013676263391971588,
0.20378154516220093,
0.21294598281383514,
-0.190719336271286,
0.2205159217119217,
0.09539487212896347,
-0.06701137870550156,
-0.21385908126831055,
-0.29542452096939087,
0.44880807399749756,
0.0620294027030468,
0.04782883822917938,
0.5825946927070618,
0.0350978784263134,
-0.14667455852031708,
0.30732715129852295,
-0.08132325857877731,
0.8279479146003723,
0.26035821437835693,
-0.04140561446547508,
0.3189527690410614,
-0.17017969489097595,
0.48611050844192505,
-0.09115824848413467,
0.10537748038768768,
-0.28016403317451477,
-0.6438377499580383,
0.03776833415031433,
-0.14088654518127441,
0.032949939370155334,
-0.23594070971012115,
-0.45669227838516235,
0.4480387568473816,
0.021161407232284546,
0.5378387570381165,
0.09328209608793259,
0.0936703085899353,
-0.37070468068122864,
-0.17121273279190063,
-0.220454603433609,
0.12288886308670044,
0.06322425603866577,
0.09721770882606506,
0.19771596789360046,
-0.30391204357147217,
0.28492650389671326,
-0.18174724280834198,
-0.4936921000480652,
0.17683830857276917,
-0.3642588257789612,
-0.1266092211008072,
-0.10137458145618439,
-0.20867712795734406,
-0.06472571194171906,
0.04120739549398422,
-0.018493101000785828,
0.011852875351905823,
-0.1196942925453186,
0.21985842287540436,
0.08368945866823196,
0.163937047123909,
0.015652012079954147,
0.16946804523468018,
0.22526387870311737,
0.0474395751953125,
-0.13146372139453888,
0.04183612018823624,
0.021138526499271393,
-0.10906544327735901,
0.12803038954734802,
0.27275407314300537,
0.086290642619133,
-0.3140411376953125,
0.08300048112869263,
0.06019486114382744,
0.2286718487739563,
-0.555406391620636,
0.13505972921848297,
-0.051515258848667145,
-0.36743634939193726,
0.4633713662624359,
-0.3003448247909546,
-0.1776648312807083,
-0.4726850092411041,
0.32068538665771484,
-0.04750176519155502,
0.21084415912628174,
0.14698073267936707,
0.11113275587558746,
-0.19490715861320496,
-0.20323243737220764,
-0.037233494222164154,
-0.11493989825248718,
-0.35164642333984375,
0.23133574426174164,
-0.37652936577796936,
-0.08542856574058533,
-0.16465632617473602,
0.005789987742900848,
0.05198771506547928,
0.33317139744758606,
-0.18154551088809967,
-0.1337505728006363,
-0.08265133202075958,
-0.032912351191043854,
0.06409648805856705,
0.28850191831588745,
-0.36182621121406555,
0.2913450598716736,
-0.024555040523409843,
0.3974992632865906,
-0.3060775399208069,
-0.061860837042331696,
-0.005665184929966927,
0.007579438388347626,
-0.06735609471797943,
-0.032852984964847565,
0.452757328748703,
-0.05548160523176193,
0.14236529171466827,
0.2678641676902771,
0.052455078810453415,
-0.22292238473892212,
-0.11613024771213531,
0.11899110674858093,
0.2995917797088623,
-0.2052263766527176,
-0.1264638602733612,
0.002139618620276451,
-0.2562170922756195,
-0.1722516566514969,
0.25922852754592896,
-0.04416315257549286,
-0.03831249475479126,
0.31323766708374023,
0.5545167326927185,
-0.03912578523159027,
-0.12341999262571335,
-0.053403712809085846,
-0.1813097596168518,
0.2574731707572937,
0.008037490770220757,
0.2124316394329071,
0.19210578501224518,
-0.0728178322315216,
-0.2549905776977539,
-0.11159803718328476,
-0.09075118601322174,
0.11660902202129364,
0.4170839488506317,
-0.18963143229484558,
-0.2503017485141754,
-0.13436532020568848,
0.6567007303237915,
0.5408604741096497,
0.15512315928936005,
-0.019506465643644333,
0.01238035224378109,
0.21887026727199554,
-0.16168701648712158,
-0.005154624581336975,
0.12966929376125336,
0.26658833026885986,
0.2815624177455902,
0.33697620034217834,
0.14301396906375885,
-0.22438234090805054,
-0.09574025869369507,
0.1505414843559265,
0.31740501523017883,
-0.032087910920381546,
0.37201154232025146,
0.6155073046684265,
-0.1523706465959549,
0.15220291912555695,
-0.032533399760723114,
-0.016001030802726746,
0.08807222545146942,
-0.04454798251390457,
-0.06341739743947983,
0.3205927014350891,
-0.12147990614175797,
-0.23599278926849365,
0.016163036227226257,
-0.16254721581935883,
-0.14201612770557404,
0.05955217033624649,
-0.4007100462913513,
0.12356923520565033,
-0.002214595675468445,
0.45870524644851685,
-0.45055869221687317,
-0.2757739722728729,
-0.09107314050197601,
0.10747331380844116,
0.03097332827746868,
-0.095384880900383,
0.0029653310775756836,
-0.04098718240857124,
-0.2933087646961212,
0.17581647634506226,
0.2606699466705322,
-0.044506706297397614,
0.467126727104187,
0.07082594931125641,
-0.03255964070558548,
-0.40961799025535583,
-0.02433260902762413,
0.07403257489204407,
0.21827882528305054,
-0.25756850838661194,
-0.06688123941421509,
0.14641565084457397,
0.15004366636276245,
0.172107994556427,
0.21580921113491058,
0.3418225347995758,
-0.0038416944444179535,
-0.18261034786701202,
0.025647036731243134,
0.14654451608657837,
-0.18551526963710785,
0.06189531832933426,
0.2013256996870041,
0.10956510901451111,
0.09924347698688507,
0.3418230712413788,
0.16498301923274994,
-0.1387072205543518,
0.451236754655838,
-0.13910295069217682,
0.23074595630168915,
-0.35019683837890625,
0.48200008273124695,
0.19457553327083588,
0.0713086947798729,
-0.060248903930187225,
-0.15444031357765198,
-0.2877174913883209,
0.1804475486278534,
0.17349998652935028,
-0.23871415853500366,
0.1278063952922821,
-0.09465331584215164,
0.05669202655553818,
0.09878624975681305,
0.3869064748287201,
0.020394299179315567,
0.13760855793952942,
-0.26369693875312805,
-0.08973357826471329,
-0.24246838688850403,
-0.010124757885932922,
-0.05228482559323311,
0.11757604777812958,
0.09789450466632843,
0.43061745166778564,
-0.0995241329073906,
0.06016026437282562,
-0.07188032567501068,
0.12408067286014557,
-0.20818303525447845,
0.340106338262558,
-0.12874452769756317,
-0.20586711168289185,
-0.2003045529127121,
0.17546312510967255,
-0.07307665795087814,
-0.31099334359169006,
0.14541733264923096,
-0.19915170967578888,
0.030887462198734283,
0.3020123243331909,
-0.2834632992744446,
0.15824255347251892,
-0.058551937341690063,
0.002841375768184662,
0.3275173008441925,
0.16576457023620605,
-0.09746401757001877,
0.1319117695093155,
-0.3990032374858856,
-0.3037957549095154,
-0.6078594326972961,
-0.09494342654943466,
-0.08284680545330048,
0.48390427231788635,
0.10126474499702454,
-0.27934300899505615,
-0.3314766585826874,
0.2823796570301056,
0.19062358140945435,
0.0728127732872963,
-0.10721097141504288,
0.1262727528810501,
0.018527179956436157,
0.3536229133605957,
0.2906171679496765,
0.23734217882156372,
-0.41805240511894226,
0.132848858833313,
-0.13778629899024963,
-0.5545478463172913,
0.423677921295166,
-0.46977806091308594,
-0.2591562569141388,
-0.1544036716222763,
0.13195820152759552,
0.5709220170974731,
0.10968367010354996,
-0.3053586483001709,
-0.10696873813867569,
0.21426402032375336,
-0.23144268989562988,
-0.1925370991230011,
0.23883037269115448,
0.3031160533428192,
0.1324421465396881,
-0.08146852254867554,
-0.22156363725662231,
0.35992342233657837,
-0.490756630897522,
0.19873912632465363,
-0.34829986095428467
] |
https://github.com/huggingface/datasets/issues/4637 | The "all" split breaks streaming | It impacted the test `test_generator_based_download_and_prepare` and I have fixed this.
So that you can copy the test I implemented in my PR and then implement a fix for this issue that passes the test `tests/test_builder.py::test_builder_as_streaming_dataset`. | ## Describe the bug
Not sure if this is a bug or just the way streaming works, but setting `streaming=True` did not work when setting `split="all"`
## Steps to reproduce the bug
The following works:
```python
ds = load_dataset('super_glue', 'wsc.fixed', split='all')
```
The following throws `ValueError: Bad split: all. Available splits: ['train', 'validation', 'test']`:
```python
ds = load_dataset('super_glue', 'wsc.fixed', split='all', streaming=True)
```
## Expected results
An iterator over all splits.
## Actual results
I had to do the following to achieve the desired result:
```python
from itertools import chain
ds = load_dataset('super_glue', 'wsc.fixed', streaming=True)
it = chain.from_iterable(ds.values())
```
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.3.2
- Platform: Linux-4.15.0-176-generic-x86_64-with-glibc2.31
- Python version: 3.10.5
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
| 35 | The "all" split breaks streaming
## Describe the bug
Not sure if this is a bug or just the way streaming works, but setting `streaming=True` did not work when setting `split="all"`
## Steps to reproduce the bug
The following works:
```python
ds = load_dataset('super_glue', 'wsc.fixed', split='all')
```
The following throws `ValueError: Bad split: all. Available splits: ['train', 'validation', 'test']`:
```python
ds = load_dataset('super_glue', 'wsc.fixed', split='all', streaming=True)
```
## Expected results
An iterator over all splits.
## Actual results
I had to do the following to achieve the desired result:
```python
from itertools import chain
ds = load_dataset('super_glue', 'wsc.fixed', streaming=True)
it = chain.from_iterable(ds.values())
```
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.3.2
- Platform: Linux-4.15.0-176-generic-x86_64-with-glibc2.31
- Python version: 3.10.5
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
It impacted the test `test_generator_based_download_and_prepare` and I have fixed this.
So that you can copy the test I implemented in my PR and then implement a fix for this issue that passes the test `tests/test_builder.py::test_builder_as_streaming_dataset`. | [
-0.5483454465866089,
-0.09624467045068741,
0.050548192113637924,
0.002654552459716797,
0.19246035814285278,
-0.08195097744464874,
0.2807869613170624,
0.3349410891532898,
0.07637259364128113,
0.012204177677631378,
-0.130035400390625,
0.16125202178955078,
0.10651920735836029,
0.21073760092258453,
0.08298288285732269,
-0.14375434815883636,
0.04492438584566116,
0.26981353759765625,
-0.1781245470046997,
0.19247953593730927,
-0.18373936414718628,
0.0708555057644844,
-0.3232622444629669,
-0.24891863763332367,
-0.31342950463294983,
0.02124115079641342,
-0.13867305219173431,
0.02764228731393814,
0.0012241452932357788,
-0.41831210255622864,
0.11458145081996918,
0.3016744554042816,
0.07221002131700516,
0.30125629901885986,
-0.00011452618491603062,
0.11933451890945435,
0.47525060176849365,
-0.11010793596506119,
-0.3794364631175995,
0.07470668852329254,
-0.3580840229988098,
0.046792685985565186,
0.09028371423482895,
0.11059985309839249,
-0.2085774838924408,
0.07231774926185608,
-0.20689837634563446,
-0.278395414352417,
0.41238516569137573,
0.3419833779335022,
0.16356313228607178,
0.3688427209854126,
-0.05493118613958359,
-0.03958655893802643,
0.03019910305738449,
-0.3022971749305725,
-0.024249505251646042,
0.28384092450141907,
0.19773927330970764,
-0.05833924561738968,
-0.1529880166053772,
0.1605987548828125,
-0.12328711897134781,
0.27182793617248535,
0.09690079092979431,
-0.10393141955137253,
-0.28061169385910034,
-0.33878445625305176,
-0.030887149274349213,
0.5182944536209106,
0.049231644719839096,
-0.09221024066209793,
-0.4004456698894501,
-0.29953163862228394,
-0.055923085659742355,
-0.4018262028694153,
0.062437549233436584,
0.3892970681190491,
-0.16844719648361206,
0.17979104816913605,
-0.08486930280923843,
0.12213753163814545,
-0.06489508599042892,
-0.05936858057975769,
-0.26340943574905396,
0.5008352994918823,
-0.028351467102766037,
0.06298685818910599,
0.1198849081993103,
0.32120281457901,
0.17502723634243011,
-0.07448455691337585,
-0.256462037563324,
-0.18453779816627502,
-0.5073662996292114,
-0.1147480309009552,
-0.0173075869679451,
0.11442597955465317,
0.1407756209373474,
0.15812112390995026,
0.12017499655485153,
-0.02210775390267372,
0.33700311183929443,
0.02713075652718544,
0.48773473501205444,
0.14519500732421875,
-0.15267136693000793,
0.19989381730556488,
0.2293372005224228,
0.2724587023258209,
-0.06223050132393837,
-0.135166734457016,
0.41096898913383484,
-0.10629472136497498,
-0.1845443993806839,
-0.10837429016828537,
0.21394968032836914,
0.07273072004318237,
-0.2542382478713989,
-0.1958191990852356,
-0.2027912139892578,
-0.1428212821483612,
0.1713416427373886,
0.37286826968193054,
-0.15533220767974854,
0.35191580653190613,
-0.35271453857421875,
0.4176727533340454,
-0.022394217550754547,
-0.2951262593269348,
-0.317965030670166,
-0.0872340053319931,
-0.13862048089504242,
0.14520606398582458,
0.20505185425281525,
-0.5302814245223999,
0.19964270293712616,
0.21126972138881683,
-0.15221090614795685,
-0.1480439007282257,
-0.22124147415161133,
0.061685312539339066,
0.28119876980781555,
0.41839346289634705,
0.32943326234817505,
0.20944330096244812,
0.1442294418811798,
-0.10852424800395966,
0.02015414834022522,
0.02873673290014267,
0.1874637007713318,
-0.4322974979877472,
0.26517078280448914,
0.20977094769477844,
-0.47540342807769775,
-0.02225378155708313,
-0.002041928470134735,
0.2043185830116272,
0.06421898305416107,
0.09147779643535614,
0.017440423369407654,
-0.12735015153884888,
-0.061141204088926315,
-0.07787144929170609,
0.30072373151779175,
0.34684818983078003,
-0.2559131979942322,
-0.11416284739971161,
0.022560976445674896,
0.006774207577109337,
0.4199216961860657,
0.07675041258335114,
-0.08012471348047256,
-0.09339118748903275,
-0.08893729746341705,
0.21644414961338043,
0.31893017888069153,
0.16351819038391113,
-0.52071213722229,
0.6581790447235107,
-0.0003242194652557373,
0.15962393581867218,
0.11079586297273636,
-0.19250160455703735,
0.42555660009384155,
-0.01996423304080963,
-0.21480944752693176,
0.4298405647277832,
-0.2997869849205017,
0.09703151136636734,
-0.3958296775817871,
-0.0627085492014885,
0.2822745442390442,
0.08735010027885437,
0.30143359303474426,
0.18350160121917725,
-0.14078140258789062,
0.05324804037809372,
0.45359382033348083,
0.0339665487408638,
0.06518573313951492,
-0.16745132207870483,
0.1258970946073532,
-0.1072455644607544,
0.04586666449904442,
-0.2825503349304199,
-0.1126314029097557,
0.1673884093761444,
0.24111980199813843,
-0.037000954151153564,
-0.17871801555156708,
-0.09480349719524384,
-0.22901350259780884,
0.09357118606567383,
-0.24528096616268158,
-0.40565481781959534,
0.12254013121128082,
0.3190576434135437,
0.09696066379547119,
-0.023714829236268997,
-0.30186429619789124,
0.2505859434604645,
-0.11736700683832169,
0.12041046470403671,
-0.04778532311320305,
0.4038659334182739,
0.02358846738934517,
-0.30356070399284363,
0.10562458634376526,
-0.010515712201595306,
0.13878127932548523,
-0.0885332003235817,
-0.3310815691947937,
0.6031908988952637,
-0.15654724836349487,
0.06938685476779938,
-0.3607776165008545,
-0.14246897399425507,
0.2846378684043884,
-0.4873230457305908,
-0.019455311819911003,
0.25966423749923706,
0.009690767154097557,
-0.08797171711921692,
-0.06821433454751968,
0.2839883863925934,
-0.3745064437389374,
0.34658828377723694,
0.12730181217193604,
0.24043980240821838,
0.10943828523159027,
-0.14610029757022858,
-0.17444849014282227,
-0.02598930522799492,
0.0629921406507492,
-0.20468173921108246,
0.2843269109725952,
-0.16652554273605347,
-0.2119106650352478,
0.21949540078639984,
0.3563135266304016,
-0.12221848964691162,
-0.09962969273328781,
-0.10776137560606003,
-0.41413936018943787,
-0.1801666021347046,
0.182277113199234,
0.37349840998649597,
0.5302284359931946,
0.09514161199331284,
0.3345261216163635,
-0.031040029600262642,
-0.08735515922307968,
-0.2401590496301651,
0.44693076610565186,
0.15441547334194183,
-0.13488411903381348,
0.16481302678585052,
-0.010287735611200333,
-0.18076924979686737,
-0.49999573826789856,
0.2311559021472931,
-0.09690578281879425,
0.16968610882759094,
-0.1765751838684082,
0.172922283411026,
-0.29456743597984314,
-0.0038090460002422333,
-0.03802449628710747,
-0.3972424268722534,
0.001828506588935852,
-0.5441023707389832,
-0.0050997063517570496,
0.3251720070838928,
-0.1506243795156479,
0.3563302755355835,
0.024030275642871857,
0.055285632610321045,
0.026078185066580772,
-0.010067472234368324,
-0.2329174131155014,
-0.14488491415977478,
-0.13184893131256104,
0.09303119778633118,
0.3214995563030243,
0.02479841746389866,
0.15013180673122406,
0.2424776703119278,
-0.40783149003982544,
0.0018821395933628082,
0.036029696464538574,
0.09101823717355728,
-0.2578818202018738,
0.22706818580627441,
0.13741296529769897,
0.16492235660552979,
0.2463819533586502,
-0.36107584834098816,
0.1797029972076416,
-0.586322546005249,
0.19423656165599823,
0.28106963634490967,
0.04108881950378418,
0.14840401709079742,
-0.23500129580497742,
-0.3423541784286499,
-0.20110861957073212,
-0.46598634123802185,
0.1092727780342102,
-0.1462235003709793,
-0.08208508789539337,
-0.11620008200407028,
0.13839605450630188,
-0.2825835943222046,
0.12702441215515137,
-0.21508166193962097,
-0.21284499764442444,
-0.17734317481517792,
0.29017817974090576,
-0.1443677395582199,
-0.37643346190452576,
-0.05246414244174957,
-0.2952422499656677,
0.15625225007534027,
0.04643885791301727,
-0.25304216146469116,
0.2521108090877533,
-0.30193424224853516,
0.05405327305197716,
0.1197308897972107,
0.011509574949741364,
0.040506262332201004,
-0.15990819036960602,
0.04718436300754547,
-0.1999654471874237,
0.06394089758396149,
-0.05064275115728378,
-0.07081481069326401,
0.01920304447412491,
0.053686656057834625,
0.1958918273448944,
0.21189409494400024,
0.7353177070617676,
0.26220449805259705,
0.09943871200084686,
0.19437463581562042,
-0.10282259434461594,
0.24614952504634857,
-0.03656557947397232,
-0.36449483036994934,
0.0643976703286171,
-0.22797968983650208,
0.1470392495393753,
0.23870807886123657,
-0.01505383662879467,
-0.2766786217689514,
-0.10786285251379013,
0.2572733163833618,
-0.056889671832323074,
-0.422118216753006,
0.10353769361972809,
-0.23654013872146606,
-0.0015799328684806824,
0.10392053425312042,
0.30273544788360596,
0.2543070614337921,
-0.1469489336013794,
-0.059672851115465164,
0.04181152209639549,
0.1777038723230362,
-0.11848881840705872,
-0.03926791623234749,
-0.012628319673240185,
-0.4035302698612213,
0.03987816721200943,
-0.009597797878086567,
0.39835673570632935,
0.10024404525756836,
-0.3357255458831787,
0.13181237876415253,
-0.04331524670124054,
0.6015129685401917,
-0.32423916459083557,
0.012148581445217133,
0.192597433924675,
-0.1328825205564499,
-0.25920048356056213,
-0.09928780049085617,
-0.2170223891735077,
-0.13311532139778137,
0.32201865315437317,
-0.08540508151054382,
-0.3321744501590729,
-0.07851339131593704,
0.29535219073295593,
0.011254796758294106,
-0.04170021042227745,
-0.25988197326660156,
-0.18791563808918,
-0.2208266258239746,
-0.008997805416584015,
0.07155992835760117,
0.18387453258037567,
0.2139672487974167,
-0.38283753395080566,
-0.0823097676038742,
-0.10673490166664124,
-0.1831042468547821,
0.05661563575267792,
0.2043491005897522,
0.16065669059753418,
0.07602770626544952,
0.21347267925739288,
0.06184858828783035,
0.08064500987529755,
-0.07306619733572006,
0.36774829030036926,
0.1530453860759735,
0.21180032193660736,
0.04060922935605049,
0.06889232248067856,
0.08289999514818192,
0.46690547466278076,
-0.1833522468805313,
-0.0046480149030685425,
0.1818922907114029,
0.2114584594964981,
-0.25509190559387207,
0.2644942104816437,
0.14607521891593933,
-0.14633110165596008,
-0.1304977834224701,
-0.3863944113254547,
0.47164496779441833,
0.05553789809346199,
0.024080291390419006,
0.5955668091773987,
-0.031507089734077454,
-0.12121282517910004,
0.26072967052459717,
-0.0465623214840889,
0.781167209148407,
0.26091018319129944,
-0.07009236514568329,
0.3569476008415222,
-0.20928455889225006,
0.4245225489139557,
-0.16876539587974548,
0.11956419050693512,
-0.3266722559928894,
-0.6399930119514465,
0.04537186026573181,
-0.1460040658712387,
0.05726127699017525,
-0.15103235840797424,
-0.4214537739753723,
0.41402846574783325,
0.06838808953762054,
0.5535315871238708,
0.1495809257030487,
0.1344635784626007,
-0.4483470320701599,
-0.15739552676677704,
-0.18954741954803467,
0.12866224348545074,
0.05115262791514397,
0.11260239779949188,
0.17051348090171814,
-0.3189886808395386,
0.33220767974853516,
-0.11951353400945663,
-0.49334609508514404,
0.17470401525497437,
-0.35773128271102905,
-0.20190700888633728,
-0.09007807075977325,
-0.18303179740905762,
-0.018408287316560745,
0.07358556240797043,
-0.002190433442592621,
0.03125455975532532,
-0.14181508123874664,
0.27811411023139954,
0.04362466186285019,
0.19768236577510834,
0.03784060478210449,
0.17258979380130768,
0.2583771347999573,
-0.013813145458698273,
-0.10057355463504791,
0.06760750710964203,
-0.06971914321184158,
0.0015505366027355194,
0.09686359763145447,
0.1570947766304016,
0.12752115726470947,
-0.35299864411354065,
0.10427777469158173,
-0.00015820562839508057,
0.19984491169452667,
-0.5368452072143555,
0.14965152740478516,
-0.07472454011440277,
-0.42370665073394775,
0.401214063167572,
-0.34967511892318726,
-0.14318974316120148,
-0.4104352295398712,
0.26507568359375,
0.0009273551404476166,
0.20584622025489807,
0.17040415108203888,
0.04136669263243675,
-0.1371631622314453,
-0.22640705108642578,
-0.0607958659529686,
-0.11539055407047272,
-0.41607537865638733,
0.28569990396499634,
-0.2660713791847229,
-0.09317761659622192,
-0.14030978083610535,
0.10201749950647354,
0.057180069386959076,
0.34267857670783997,
-0.1477130651473999,
-0.06407726556062698,
-0.1201324462890625,
-0.13526733219623566,
0.05190306529402733,
0.28754663467407227,
-0.35377660393714905,
0.24477460980415344,
0.010766921564936638,
0.45151859521865845,
-0.32502439618110657,
-0.10743844509124756,
0.004061127081513405,
0.05997158959507942,
-0.15207968652248383,
-0.03348571062088013,
0.39049032330513,
-0.022235270589590073,
0.1378609985113144,
0.20465481281280518,
-0.051872171461582184,
-0.22337830066680908,
-0.08850564062595367,
0.12000105530023575,
0.2774791419506073,
-0.19024623930454254,
-0.09530092030763626,
0.07501951605081558,
-0.2668868899345398,
-0.14838704466819763,
0.2744510769844055,
-0.21744787693023682,
-0.0252825990319252,
0.26496607065200806,
0.5549389123916626,
0.026792023330926895,
-0.20096907019615173,
-0.0012369044125080109,
-0.20985066890716553,
0.34382760524749756,
0.009349523112177849,
0.22296753525733948,
0.18698275089263916,
-0.11494282633066177,
-0.2488829642534256,
-0.09041775017976761,
-0.06977111101150513,
0.11918680369853973,
0.5366044640541077,
-0.18288850784301758,
-0.24608245491981506,
-0.17857028543949127,
0.6697512865066528,
0.6411187052726746,
0.187607079744339,
-0.04432889074087143,
0.0191451795399189,
0.22637635469436646,
-0.14475131034851074,
-0.00997103750705719,
0.10304519534111023,
0.2088305652141571,
0.2627287209033966,
0.25674211978912354,
0.1927279233932495,
-0.26190656423568726,
-0.07266341149806976,
0.1930522322654724,
0.3102232813835144,
-0.04647044837474823,
0.3330436944961548,
0.6901789903640747,
-0.09498859941959381,
0.21828724443912506,
0.012025301344692707,
-0.06871922314167023,
0.0826999768614769,
-0.06985931098461151,
-0.1511414647102356,
0.3265184164047241,
-0.17207035422325134,
-0.23777899146080017,
0.005244940519332886,
-0.14266161620616913,
-0.08365866541862488,
0.10013285279273987,
-0.3787268400192261,
0.12206581234931946,
0.029275372624397278,
0.4809102416038513,
-0.45013076066970825,
-0.2622365653514862,
-0.1189328208565712,
0.17025408148765564,
0.02864863909780979,
-0.14265798032283783,
-0.0978654995560646,
-0.10142357647418976,
-0.3793511688709259,
0.25276798009872437,
0.2490510493516922,
-0.0300893634557724,
0.43150877952575684,
0.08348935842514038,
-0.018764488399028778,
-0.3860933482646942,
0.01048605889081955,
0.07086769491434097,
0.18128249049186707,
-0.3439422845840454,
-0.02395164780318737,
0.18301722407341003,
0.1300712525844574,
0.14503899216651917,
0.2163553088903427,
0.40148666501045227,
0.005546096712350845,
-0.23564684391021729,
-0.0188206247985363,
0.1638176441192627,
-0.15996362268924713,
0.008841386064887047,
0.15202867984771729,
0.06117758899927139,
0.08138082176446915,
0.35781916975975037,
0.17308223247528076,
-0.14266647398471832,
0.3042778968811035,
-0.07781349122524261,
0.16386209428310394,
-0.3095256984233856,
0.45860254764556885,
0.2146729975938797,
0.003932766616344452,
-0.08367142081260681,
-0.1353071630001068,
-0.2885968089103699,
0.1826181709766388,
0.16696393489837646,
-0.26147696375846863,
0.12658482789993286,
-0.09010051190853119,
0.0664919838309288,
0.13194188475608826,
0.5057941675186157,
0.01874363049864769,
0.08872668445110321,
-0.3321267068386078,
-0.1969388723373413,
-0.2779165506362915,
-0.027317501604557037,
0.01704646646976471,
0.16749078035354614,
0.10217481851577759,
0.3809884190559387,
-0.12752777338027954,
0.07251664996147156,
-0.19626010954380035,
0.15488235652446747,
-0.16546373069286346,
0.44600722193717957,
-0.15627308189868927,
-0.20199131965637207,
-0.21191172301769257,
0.1393616944551468,
-0.1291363537311554,
-0.3322070240974426,
0.18071091175079346,
-0.26220375299453735,
0.03572685271501541,
0.3294590711593628,
-0.26298993825912476,
0.25017476081848145,
-0.10395500063896179,
0.004108034074306488,
0.30525705218315125,
0.16553819179534912,
-0.14065320789813995,
0.11069986969232559,
-0.3525278568267822,
-0.2353055328130722,
-0.6019099950790405,
-0.12204340845346451,
-0.07225310802459717,
0.47120949625968933,
0.15688706934452057,
-0.20180608332157135,
-0.4488324224948883,
0.29558271169662476,
0.25324350595474243,
0.09616002440452576,
-0.14774931967258453,
0.0742463618516922,
-0.053215138614177704,
0.3389722406864166,
0.40770843625068665,
0.18089881539344788,
-0.392762154340744,
0.12300080060958862,
-0.23226787149906158,
-0.5128966569900513,
0.39304661750793457,
-0.38592857122421265,
-0.2732793688774109,
-0.14642244577407837,
0.13747373223304749,
0.5382977724075317,
0.0767095535993576,
-0.3343012034893036,
-0.0308481827378273,
0.21427230536937714,
-0.24752384424209595,
-0.16301102936267853,
0.25435128808021545,
0.3576480746269226,
0.18004870414733887,
-0.0823049321770668,
-0.13247454166412354,
0.32980823516845703,
-0.48280638456344604,
0.12638704478740692,
-0.35893118381500244
] |
https://github.com/huggingface/datasets/issues/4637 | The "all" split breaks streaming | Hi @cakiki are you still interested in working on this? Are you planning to open a PR? | ## Describe the bug
Not sure if this is a bug or just the way streaming works, but setting `streaming=True` did not work when setting `split="all"`
## Steps to reproduce the bug
The following works:
```python
ds = load_dataset('super_glue', 'wsc.fixed', split='all')
```
The following throws `ValueError: Bad split: all. Available splits: ['train', 'validation', 'test']`:
```python
ds = load_dataset('super_glue', 'wsc.fixed', split='all', streaming=True)
```
## Expected results
An iterator over all splits.
## Actual results
I had to do the following to achieve the desired result:
```python
from itertools import chain
ds = load_dataset('super_glue', 'wsc.fixed', streaming=True)
it = chain.from_iterable(ds.values())
```
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.3.2
- Platform: Linux-4.15.0-176-generic-x86_64-with-glibc2.31
- Python version: 3.10.5
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
| 17 | The "all" split breaks streaming
## Describe the bug
Not sure if this is a bug or just the way streaming works, but setting `streaming=True` did not work when setting `split="all"`
## Steps to reproduce the bug
The following works:
```python
ds = load_dataset('super_glue', 'wsc.fixed', split='all')
```
The following throws `ValueError: Bad split: all. Available splits: ['train', 'validation', 'test']`:
```python
ds = load_dataset('super_glue', 'wsc.fixed', split='all', streaming=True)
```
## Expected results
An iterator over all splits.
## Actual results
I had to do the following to achieve the desired result:
```python
from itertools import chain
ds = load_dataset('super_glue', 'wsc.fixed', streaming=True)
it = chain.from_iterable(ds.values())
```
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.3.2
- Platform: Linux-4.15.0-176-generic-x86_64-with-glibc2.31
- Python version: 3.10.5
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
Hi @cakiki are you still interested in working on this? Are you planning to open a PR? | [
-0.4597511291503906,
-0.2987728416919708,
0.057182516902685165,
0.010309368371963501,
0.14496049284934998,
-0.09658189862966537,
0.2634126842021942,
0.201195627450943,
0.1692957729101181,
-0.07788252830505371,
-0.20090919733047485,
0.18641847372055054,
0.15866528451442719,
0.2373228222131729,
-0.019450001418590546,
-0.13173621892929077,
0.0788603350520134,
0.25141286849975586,
-0.16409292817115784,
0.046731650829315186,
-0.20869426429271698,
0.0098767951130867,
-0.36957263946533203,
-0.29285216331481934,
-0.3541836738586426,
-0.048634931445121765,
-0.20471186935901642,
-0.011393420398235321,
0.09245354682207108,
-0.3331524133682251,
0.14356909692287445,
0.2129623144865036,
0.14029256999492645,
0.3522481620311737,
-0.00011595083924476057,
0.0668749064207077,
0.4844779372215271,
-0.10909976065158844,
-0.2446243315935135,
0.1148647665977478,
-0.4509618282318115,
-0.03662630915641785,
0.1974208950996399,
0.0373842790722847,
-0.1867433488368988,
0.17166617512702942,
-0.24997220933437347,
-0.41647177934646606,
0.4408947825431824,
0.2301483154296875,
0.15719446539878845,
0.33926504850387573,
-0.09519435465335846,
0.0021156405564397573,
-0.005079060792922974,
-0.34028011560440063,
-0.01896374300122261,
0.26589837670326233,
0.1666637808084488,
-0.10768785327672958,
-0.07216904312372208,
0.19216279685497284,
-0.15918304026126862,
0.1605183631181717,
0.13580858707427979,
-0.07927492260932922,
-0.4043479263782501,
-0.3185727596282959,
-0.015866786241531372,
0.5327003598213196,
0.07611840963363647,
-0.08705136924982071,
-0.3915606141090393,
-0.2727297842502594,
-0.058013539761304855,
-0.47699475288391113,
0.06463155895471573,
0.4078810513019562,
-0.031305257230997086,
0.218278169631958,
0.008581222034990788,
0.18533414602279663,
-0.037504538893699646,
0.08552849292755127,
-0.2786214351654053,
0.5943666696548462,
-0.012485538609325886,
0.09845376759767532,
0.18200328946113586,
0.27289143204689026,
0.1271008551120758,
-0.04736104607582092,
-0.20719394087791443,
-0.18076711893081665,
-0.5653953552246094,
-0.12121288478374481,
-0.06695804744958878,
0.18592989444732666,
0.01330750435590744,
0.10684801638126373,
0.12348448485136032,
-0.025649860501289368,
0.35056325793266296,
0.06692446023225784,
0.6334997415542603,
0.09159576892852783,
-0.2633254826068878,
0.2699098587036133,
0.32152724266052246,
0.16322465240955353,
0.006071317940950394,
-0.11899418383836746,
0.4872322976589203,
-0.017712241038680077,
-0.18997246026992798,
-0.14505785703659058,
0.2791632413864136,
0.10301405191421509,
-0.23458847403526306,
-0.1615995466709137,
-0.27823105454444885,
-0.16059571504592896,
0.17772218585014343,
0.3199789822101593,
-0.16824887692928314,
0.4168543517589569,
-0.3691170811653137,
0.36985528469085693,
-0.020370684564113617,
-0.2238205075263977,
-0.3371181786060333,
-0.03825511783361435,
-0.12991192936897278,
0.1344459056854248,
0.13784901797771454,
-0.5521054863929749,
0.07148747891187668,
0.2777656614780426,
-0.21842224895954132,
-0.10806486755609512,
-0.3925820291042328,
-0.09289905428886414,
0.3104884922504425,
0.34914857149124146,
0.3031834065914154,
0.21221326291561127,
0.23756562173366547,
-0.12524639070034027,
-0.007227614521980286,
-0.026899240911006927,
0.18519288301467896,
-0.3816818594932556,
0.14995920658111572,
0.17566007375717163,
-0.4146476984024048,
-0.08120781928300858,
-0.0341009721159935,
0.3043881952762604,
0.06285728514194489,
0.1977752447128296,
0.11772992461919785,
-0.06277171522378922,
-0.05739212408661842,
-0.08544737100601196,
0.215396910905838,
0.40134578943252563,
-0.2638656795024872,
-0.08607656508684158,
0.07431625574827194,
0.03443547338247299,
0.43613260984420776,
0.15542849898338318,
-0.08018507808446884,
-0.21116796135902405,
-0.0455922931432724,
0.22991780936717987,
0.15477456152439117,
0.10491161048412323,
-0.5836000442504883,
0.6313011646270752,
0.01691792905330658,
0.1394187957048416,
0.1269463449716568,
-0.07115153223276138,
0.49061763286590576,
0.0329115130007267,
-0.19877737760543823,
0.46430283784866333,
-0.2600458562374115,
0.005737734958529472,
-0.34827592968940735,
-0.046177938580513,
0.30262845754623413,
0.07001602649688721,
0.31795406341552734,
0.20341233909130096,
-0.058400221168994904,
0.07165848463773727,
0.47155261039733887,
0.14408056437969208,
0.06377512961626053,
-0.12044528126716614,
0.1829703152179718,
0.04044310003519058,
0.07717427611351013,
-0.33486858010292053,
-0.07573991268873215,
0.07963144034147263,
0.40792757272720337,
-0.060356996953487396,
-0.12801873683929443,
-0.12880781292915344,
-0.148280531167984,
0.07817859947681427,
-0.22770611941814423,
-0.34307149052619934,
0.12324036657810211,
0.3237869143486023,
0.04923271760344505,
0.02574770525097847,
-0.34791433811187744,
0.3905401825904846,
-0.13236016035079956,
0.11574046313762665,
-0.07508164644241333,
0.49213117361068726,
0.10547617822885513,
-0.2762666940689087,
0.07468823343515396,
0.06352460384368896,
0.23255088925361633,
-0.06134835258126259,
-0.29915353655815125,
0.6196826100349426,
-0.18201887607574463,
0.06606084853410721,
-0.37678956985473633,
-0.07018651068210602,
0.30519333481788635,
-0.5576393008232117,
-0.022628264501690865,
0.31165435910224915,
0.0581958144903183,
-0.11566675454378128,
-0.1282256841659546,
0.23627890646457672,
-0.39014700055122375,
0.3987642824649811,
0.09603475034236908,
0.26992055773735046,
0.03952730447053909,
-0.20715013146400452,
-0.20512409508228302,
-0.003857649862766266,
0.025446491315960884,
-0.2602244019508362,
0.2628629505634308,
-0.1848292201757431,
-0.28398120403289795,
0.19300076365470886,
0.3000480532646179,
-0.08423738181591034,
0.007198110222816467,
-0.11825742572546005,
-0.3856908679008484,
-0.08673661947250366,
0.2928878366947174,
0.31017428636550903,
0.47671663761138916,
0.1584959775209427,
0.2884824573993683,
-0.08141858130693436,
-0.10280265659093857,
-0.13498611748218536,
0.4044231176376343,
0.2682502865791321,
-0.14871704578399658,
0.093471959233284,
0.03231128305196762,
-0.10759242624044418,
-0.46642735600471497,
0.14279426634311676,
-0.23385509848594666,
0.1425623595714569,
-0.12617772817611694,
0.18121200799942017,
-0.37903815507888794,
-0.154231458902359,
0.02902230992913246,
-0.3983161449432373,
0.03849286213517189,
-0.5263491272926331,
-0.1042194664478302,
0.3123127520084381,
-0.08606533706188202,
0.3656046986579895,
-0.07815553992986679,
0.06799475848674774,
0.021362638100981712,
0.0516158789396286,
-0.20562228560447693,
-0.1255471110343933,
-0.10925278812646866,
0.06584589183330536,
0.23306609690189362,
-0.003930975217372179,
0.11008967459201813,
0.36162078380584717,
-0.4143335223197937,
0.021448248997330666,
0.0126076340675354,
0.0868876725435257,
-0.2886894941329956,
0.08217485249042511,
0.09813231229782104,
0.17578212916851044,
0.13619470596313477,
-0.3506476879119873,
0.18365725874900818,
-0.5263750553131104,
0.2377777397632599,
0.25465062260627747,
-0.008876577019691467,
0.1417395919561386,
-0.13696733117103577,
-0.23218899965286255,
-0.34352558851242065,
-0.4949145019054413,
0.19793492555618286,
-0.18914364278316498,
-0.07932339608669281,
-0.10769376158714294,
0.1065690666437149,
-0.26171812415122986,
0.16309872269630432,
-0.21635371446609497,
-0.20896367728710175,
-0.09067311882972717,
0.3034735321998596,
-0.04031619429588318,
-0.36262011528015137,
-0.02416904643177986,
-0.2771323323249817,
0.00008105486631393433,
0.04911625757813454,
-0.29780352115631104,
0.17067523300647736,
-0.3839784860610962,
0.012577682733535767,
0.037442296743392944,
0.14467893540859222,
0.06651462614536285,
-0.219887375831604,
0.04349370300769806,
-0.19463855028152466,
-0.08945174515247345,
-0.09320632368326187,
-0.06021994352340698,
-0.011613532900810242,
0.062197525054216385,
0.27801528573036194,
0.2928426265716553,
0.6313526034355164,
0.27261221408843994,
0.15424089133739471,
0.2617158889770508,
-0.10236593335866928,
0.260365754365921,
0.03189225122332573,
-0.5323690176010132,
0.010475540533661842,
-0.23064902424812317,
0.17913660407066345,
0.22561806440353394,
0.010336771607398987,
-0.36793622374534607,
-0.14886842668056488,
0.09356699883937836,
-0.10388875752687454,
-0.34460991621017456,
0.06748471409082413,
-0.14064469933509827,
-0.027173452079296112,
0.03720167651772499,
0.26230213046073914,
0.28845614194869995,
-0.20492643117904663,
-0.0809067040681839,
0.05952361226081848,
0.087870754301548,
-0.05343430116772652,
-0.10004661232233047,
-0.072245754301548,
-0.3020821809768677,
0.09122361242771149,
-0.10826454311609268,
0.4817054569721222,
0.0802868902683258,
-0.35689622163772583,
0.15002892911434174,
0.05389680713415146,
0.6543459892272949,
-0.27208924293518066,
-0.024787023663520813,
0.15284231305122375,
-0.20323261618614197,
-0.3242931067943573,
-0.044683076441287994,
-0.19725267589092255,
-0.0802752748131752,
0.4259127080440521,
-0.05456109344959259,
-0.3160022795200348,
-0.02281874418258667,
0.31322187185287476,
-0.08855227380990982,
-0.04165976867079735,
-0.32673460245132446,
-0.14009538292884827,
-0.18902358412742615,
0.021778283640742302,
0.11037997901439667,
0.2579481899738312,
0.1996082216501236,
-0.2412085384130478,
-0.0917646735906601,
-0.17864099144935608,
-0.31694599986076355,
0.17154815793037415,
0.13843268156051636,
0.1311367154121399,
0.12323186546564102,
0.17893633246421814,
0.06366237252950668,
0.21501104533672333,
-0.11179058253765106,
0.451381653547287,
0.13152803480625153,
0.1155494749546051,
0.06677068024873734,
0.12139566242694855,
0.17358048260211945,
0.5058842301368713,
-0.1033887043595314,
0.0363706611096859,
0.27474161982536316,
0.2343197464942932,
-0.17365454137325287,
0.13670597970485687,
0.0449984148144722,
-0.08009479939937592,
-0.2745852470397949,
-0.34436750411987305,
0.4905080199241638,
0.06328780949115753,
0.00903940200805664,
0.5634981393814087,
0.08853175491094589,
-0.10569201409816742,
0.2742322087287903,
-0.046181611716747284,
0.9420046210289001,
0.22656583786010742,
-0.07085463404655457,
0.2816927134990692,
-0.19264854490756989,
0.5582091212272644,
-0.12856267392635345,
0.07101857662200928,
-0.24312537908554077,
-0.6379748582839966,
-0.001912776380777359,
-0.11944927275180817,
0.03906554728746414,
-0.23821546137332916,
-0.42790380120277405,
0.4588608741760254,
0.010433651506900787,
0.5514957904815674,
0.1273554265499115,
0.11257846653461456,
-0.400003045797348,
-0.1905023604631424,
-0.25961795449256897,
0.11397171020507812,
0.03543281555175781,
0.13285504281520844,
0.15571850538253784,
-0.3554821014404297,
0.31595170497894287,
-0.13911226391792297,
-0.5405627489089966,
0.10608930140733719,
-0.4189443588256836,
-0.13208375871181488,
-0.13036887347698212,
-0.25682494044303894,
-0.1317414939403534,
0.07818139344453812,
0.039854224771261215,
-0.04521072283387184,
-0.10524190962314606,
0.20356228947639465,
0.12785381078720093,
0.13983643054962158,
-0.033499576151371,
0.19325198233127594,
0.2012207955121994,
0.052333518862724304,
-0.10933977365493774,
0.07920005172491074,
0.05787699669599533,
-0.1094469502568245,
0.06343579292297363,
0.29253286123275757,
0.14046800136566162,
-0.29551517963409424,
0.12641769647598267,
0.04936908558011055,
0.22109636664390564,
-0.5343648195266724,
0.13170650601387024,
-0.06102079153060913,
-0.2969999611377716,
0.43795108795166016,
-0.3167623281478882,
-0.13866618275642395,
-0.4983985126018524,
0.33779218792915344,
0.017728665843605995,
0.19194790720939636,
0.11069231480360031,
0.13109052181243896,
-0.2755168676376343,
-0.17781293392181396,
-0.08258090913295746,
-0.20223847031593323,
-0.37019288539886475,
0.1962803453207016,
-0.3477357029914856,
-0.10558947175741196,
-0.1774795949459076,
-0.006237957626581192,
0.07612919062376022,
0.3235507607460022,
-0.16912247240543365,
-0.1520913541316986,
-0.10063150525093079,
-0.06157916784286499,
0.05490198731422424,
0.2301016002893448,
-0.35071858763694763,
0.2765457034111023,
-0.012186938896775246,
0.38801413774490356,
-0.31173720955848694,
-0.11731128394603729,
0.007479360327124596,
-0.031697314232587814,
-0.007645964622497559,
-0.03580458462238312,
0.387787401676178,
-0.03706784173846245,
0.13709771633148193,
0.26320409774780273,
0.04869121313095093,
-0.2181115448474884,
-0.13842470943927765,
0.13122352957725525,
0.31527891755104065,
-0.26354122161865234,
-0.17470890283584595,
-0.025971969589591026,
-0.2848868668079376,
-0.17101095616817474,
0.2073395699262619,
-0.02097942866384983,
-0.017689071595668793,
0.2743171155452728,
0.573996901512146,
-0.01965036243200302,
-0.14609432220458984,
-0.08853573352098465,
-0.11743032932281494,
0.30956727266311646,
0.021920297294855118,
0.2188764214515686,
0.2066606879234314,
-0.08171296864748001,
-0.31326332688331604,
-0.11507878452539444,
-0.020703189074993134,
0.07557647675275803,
0.46852317452430725,
-0.20249073207378387,
-0.2496701031923294,
-0.08017715066671371,
0.6488677263259888,
0.5433951616287231,
0.1631176471710205,
-0.011563497595489025,
0.04185597971081734,
0.20988528430461884,
-0.16486257314682007,
-0.006614271085709333,
0.09687893092632294,
0.2713035047054291,
0.246830552816391,
0.3360441029071808,
0.1420796513557434,
-0.25275200605392456,
-0.12570029497146606,
0.1451382040977478,
0.3502790927886963,
-0.10203291475772858,
0.36799362301826477,
0.6222063302993774,
-0.10156996548175812,
0.14755305647850037,
-0.005544943735003471,
0.043874021619558334,
0.08229432255029678,
-0.07351936399936676,
-0.07726269215345383,
0.2650558650493622,
-0.0735442265868187,
-0.21859776973724365,
0.021162867546081543,
-0.18180213868618011,
-0.17299823462963104,
0.06763045489788055,
-0.35852953791618347,
0.11354423314332962,
-0.008751258254051208,
0.40597981214523315,
-0.40644118189811707,
-0.25518080592155457,
-0.06028483062982559,
0.11855894327163696,
0.01085839606821537,
-0.08526438474655151,
0.0005594901740550995,
-0.034588608890771866,
-0.2722906470298767,
0.17760643362998962,
0.25986427068710327,
-0.09899961948394775,
0.4794979691505432,
0.07444732636213303,
-0.013974756002426147,
-0.44151952862739563,
-0.021895822137594223,
0.09243930131196976,
0.27854105830192566,
-0.2627313733100891,
-0.05371718853712082,
0.1512456238269806,
0.14071084558963776,
0.12389618158340454,
0.22389331459999084,
0.2900283634662628,
0.04970306158065796,
-0.1827019900083542,
0.08252590894699097,
0.17270901799201965,
-0.19944444298744202,
0.027006033807992935,
0.18398354947566986,
0.09923940896987915,
0.13455165922641754,
0.29638540744781494,
0.16024662554264069,
-0.15183623135089874,
0.4631187319755554,
-0.17516788840293884,
0.26706504821777344,
-0.32488352060317993,
0.46481600403785706,
0.20248949527740479,
0.06506652384996414,
-0.015228815376758575,
-0.14776688814163208,
-0.28976285457611084,
0.1744350641965866,
0.17978240549564362,
-0.2565644085407257,
0.1105397567152977,
-0.13387177884578705,
0.05532589554786682,
0.08349332213401794,
0.32743343710899353,
0.07433068752288818,
0.1626114547252655,
-0.27865681052207947,
-0.0733904242515564,
-0.2045089453458786,
-0.04515483230352402,
-0.08986455202102661,
0.052575670182704926,
0.12063280493021011,
0.4500090479850769,
-0.10383465141057968,
0.09076949954032898,
-0.07207395136356354,
0.09696980565786362,
-0.2117992639541626,
0.3996194005012512,
-0.09378445148468018,
-0.2151925414800644,
-0.19610019028186798,
0.21914803981781006,
-0.05853378027677536,
-0.33046433329582214,
0.1485925018787384,
-0.2158142477273941,
0.0324244424700737,
0.25587040185928345,
-0.253043532371521,
0.158196821808815,
-0.04984534531831741,
-0.005436703562736511,
0.33826372027397156,
0.13979169726371765,
-0.1211734339594841,
0.15393802523612976,
-0.405391126871109,
-0.2895509600639343,
-0.654737114906311,
-0.03403949737548828,
-0.062382202595472336,
0.4470392167568207,
0.03612135350704193,
-0.30573830008506775,
-0.3457334637641907,
0.2747267484664917,
0.1607334017753601,
0.09095538407564163,
-0.13018745183944702,
0.1058860719203949,
0.0026244521141052246,
0.37260350584983826,
0.2825624942779541,
0.22447308897972107,
-0.3730637729167938,
0.1529119461774826,
-0.15075214207172394,
-0.5516411662101746,
0.410686194896698,
-0.5000773072242737,
-0.24581845104694366,
-0.12048551440238953,
0.13699553906917572,
0.6123246550559998,
0.14788144826889038,
-0.26139160990715027,
-0.08628285676240921,
0.23143866658210754,
-0.24808096885681152,
-0.20446394383907318,
0.23566082119941711,
0.2858334183692932,
0.12580886483192444,
-0.0676283910870552,
-0.24948221445083618,
0.34547990560531616,
-0.5122072100639343,
0.22628772258758545,
-0.37177735567092896
] |
https://github.com/huggingface/datasets/issues/4637 | The "all" split breaks streaming | Hi @albertvillanova ! Sorry it took so long; I wanted to spend this weekend working on it. | ## Describe the bug
Not sure if this is a bug or just the way streaming works, but setting `streaming=True` did not work when setting `split="all"`
## Steps to reproduce the bug
The following works:
```python
ds = load_dataset('super_glue', 'wsc.fixed', split='all')
```
The following throws `ValueError: Bad split: all. Available splits: ['train', 'validation', 'test']`:
```python
ds = load_dataset('super_glue', 'wsc.fixed', split='all', streaming=True)
```
## Expected results
An iterator over all splits.
## Actual results
I had to do the following to achieve the desired result:
```python
from itertools import chain
ds = load_dataset('super_glue', 'wsc.fixed', streaming=True)
it = chain.from_iterable(ds.values())
```
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.3.2
- Platform: Linux-4.15.0-176-generic-x86_64-with-glibc2.31
- Python version: 3.10.5
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
| 17 | The "all" split breaks streaming
## Describe the bug
Not sure if this is a bug or just the way streaming works, but setting `streaming=True` did not work when setting `split="all"`
## Steps to reproduce the bug
The following works:
```python
ds = load_dataset('super_glue', 'wsc.fixed', split='all')
```
The following throws `ValueError: Bad split: all. Available splits: ['train', 'validation', 'test']`:
```python
ds = load_dataset('super_glue', 'wsc.fixed', split='all', streaming=True)
```
## Expected results
An iterator over all splits.
## Actual results
I had to do the following to achieve the desired result:
```python
from itertools import chain
ds = load_dataset('super_glue', 'wsc.fixed', streaming=True)
it = chain.from_iterable(ds.values())
```
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.3.2
- Platform: Linux-4.15.0-176-generic-x86_64-with-glibc2.31
- Python version: 3.10.5
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
Hi @albertvillanova ! Sorry it took so long; I wanted to spend this weekend working on it. | [
-0.4426620304584503,
-0.27027595043182373,
0.06749042868614197,
-0.007208004593849182,
0.1603326052427292,
-0.07714968919754028,
0.2840169370174408,
0.212457537651062,
0.17918071150779724,
-0.06354288756847382,
-0.19622531533241272,
0.19929417967796326,
0.1826690137386322,
0.20186986029148102,
-0.031250547617673874,
-0.12147693336009979,
0.07571553438901901,
0.24479447305202484,
-0.19032809138298035,
0.05518350005149841,
-0.21259154379367828,
0.045776814222335815,
-0.36601728200912476,
-0.3039581775665283,
-0.38225090503692627,
0.0032256506383419037,
-0.19819553196430206,
-0.00461992621421814,
0.12629474699497223,
-0.3204081952571869,
0.14233167469501495,
0.16226062178611755,
0.11688928306102753,
0.31538161635398865,
-0.00011642949539236724,
0.07202449440956116,
0.48641908168792725,
-0.10679108649492264,
-0.2205369472503662,
0.08759202063083649,
-0.4432790279388428,
-0.03475530073046684,
0.22071316838264465,
0.05100344866514206,
-0.1812446415424347,
0.18097850680351257,
-0.25036317110061646,
-0.3999044597148895,
0.4420554041862488,
0.24063819646835327,
0.1518743485212326,
0.34102386236190796,
-0.11217057704925537,
-0.0073250215500593185,
0.00443597137928009,
-0.3448070287704468,
0.0032633747905492783,
0.26590821146965027,
0.14357507228851318,
-0.08630026131868362,
-0.09198028594255447,
0.17895613610744476,
-0.16121233999729156,
0.17098131775856018,
0.1329847276210785,
-0.07337433844804764,
-0.42392852902412415,
-0.31716200709342957,
-0.009874187409877777,
0.5394309163093567,
0.06334903836250305,
-0.05527268350124359,
-0.35701411962509155,
-0.2525416612625122,
-0.04941637068986893,
-0.44540369510650635,
0.06437400728464127,
0.41227003931999207,
-0.016344469040632248,
0.21212290227413177,
0.017262514680624008,
0.1946292221546173,
-0.02408338338136673,
0.07330287992954254,
-0.2942146062850952,
0.6021974086761475,
-0.017290577292442322,
0.11150798201560974,
0.17292366921901703,
0.29167449474334717,
0.09942078590393066,
-0.011376496404409409,
-0.22203058004379272,
-0.1843624711036682,
-0.5597245097160339,
-0.12276457250118256,
-0.09194890409708023,
0.15193332731723785,
0.022506382316350937,
0.07092252373695374,
0.14103487133979797,
-0.008092548698186874,
0.3589737117290497,
0.07051117718219757,
0.6369310021400452,
0.05607515200972557,
-0.2537679374217987,
0.24985696375370026,
0.3242086172103882,
0.1386399269104004,
-0.015711626037955284,
-0.1576194167137146,
0.49124160408973694,
-0.01454003807157278,
-0.17290103435516357,
-0.14932647347450256,
0.2623826265335083,
0.0950980931520462,
-0.22790314257144928,
-0.17610672116279602,
-0.26032981276512146,
-0.15915577113628387,
0.1780434101819992,
0.31764689087867737,
-0.16193386912345886,
0.38630571961402893,
-0.38453465700149536,
0.411001980304718,
-0.007716787979006767,
-0.22614189982414246,
-0.3364173471927643,
-0.07166333496570587,
-0.105544313788414,
0.12114590406417847,
0.15364956855773926,
-0.5613501071929932,
0.10456381738185883,
0.2762008607387543,
-0.2173994928598404,
-0.14044882357120514,
-0.38923022150993347,
-0.08330060541629791,
0.31063875555992126,
0.35233452916145325,
0.3306514322757721,
0.25527113676071167,
0.24375247955322266,
-0.08788663893938065,
0.030345119535923004,
0.012539181858301163,
0.1551111340522766,
-0.36058351397514343,
0.15920881927013397,
0.1654648333787918,
-0.3805611729621887,
-0.08908350765705109,
-0.03353368490934372,
0.28806930780410767,
0.08217434585094452,
0.18354752659797668,
0.09927302598953247,
-0.07030754536390305,
-0.0701451227068901,
-0.07881960272789001,
0.21115662157535553,
0.3586505055427551,
-0.27046865224838257,
-0.09376584738492966,
0.05806555226445198,
0.0473402664065361,
0.43528318405151367,
0.14536888897418976,
-0.08784229308366776,
-0.22308698296546936,
-0.05355140566825867,
0.29299211502075195,
0.15833726525306702,
0.1321500837802887,
-0.5537375807762146,
0.6546486020088196,
0.020644329488277435,
0.13587342202663422,
0.07920753955841064,
-0.051634155213832855,
0.4970618784427643,
0.03000013343989849,
-0.19337594509124756,
0.4664275050163269,
-0.23096045851707458,
0.037593066692352295,
-0.3102797865867615,
-0.0380321741104126,
0.31165438890457153,
0.06818641722202301,
0.3059222996234894,
0.21336868405342102,
-0.0515056774020195,
0.06599337607622147,
0.4694356620311737,
0.14460955560207367,
0.06149443984031677,
-0.11865057051181793,
0.1663181632757187,
0.045053426176309586,
0.09634632617235184,
-0.3182251453399658,
-0.08573129028081894,
0.07594916224479675,
0.40667012333869934,
-0.07755133509635925,
-0.14231082797050476,
-0.12182020395994186,
-0.13182416558265686,
0.03605931997299194,
-0.2389398068189621,
-0.3470601737499237,
0.11635854840278625,
0.29503920674324036,
0.030547115951776505,
0.043615978211164474,
-0.31341859698295593,
0.3592210114002228,
-0.09670393168926239,
0.13870660960674286,
-0.06971916556358337,
0.5174106955528259,
0.10164721310138702,
-0.28569093346595764,
0.0630037859082222,
0.0277540385723114,
0.24508115649223328,
-0.0507160909473896,
-0.3330609202384949,
0.6286345720291138,
-0.1640499085187912,
0.05876174569129944,
-0.4364607334136963,
-0.10435731709003448,
0.3067481815814972,
-0.5476811528205872,
-0.029087716713547707,
0.3537558317184448,
0.05798240751028061,
-0.12893569469451904,
-0.10757186263799667,
0.20933803915977478,
-0.37753233313560486,
0.40584197640419006,
0.07532475888729095,
0.28949350118637085,
0.026984812691807747,
-0.2036612331867218,
-0.21526221930980682,
-0.038222625851631165,
-0.010740716010332108,
-0.29039618372917175,
0.23078639805316925,
-0.19379515945911407,
-0.2601747214794159,
0.182839035987854,
0.3318619430065155,
-0.06831976771354675,
0.02869299426674843,
-0.10786508768796921,
-0.3954494297504425,
-0.06722566485404968,
0.27113980054855347,
0.32854610681533813,
0.4917891025543213,
0.14152207970619202,
0.29996398091316223,
-0.09189681708812714,
-0.07962363213300705,
-0.1466854214668274,
0.3847057521343231,
0.2861174941062927,
-0.13366574048995972,
0.07818863540887833,
0.02552422136068344,
-0.11283586174249649,
-0.46156448125839233,
0.18007926642894745,
-0.2338189333677292,
0.1386936902999878,
-0.12292063236236572,
0.1852601319551468,
-0.4045116901397705,
-0.13665008544921875,
0.0188125167042017,
-0.4045315384864807,
0.006904482841491699,
-0.565001368522644,
-0.1194789707660675,
0.32345718145370483,
-0.10781711339950562,
0.3610454201698303,
-0.07070575654506683,
0.03658497333526611,
0.04281069338321686,
0.050478387624025345,
-0.16539990901947021,
-0.10700666159391403,
-0.10224608331918716,
0.05544112250208855,
0.20488528907299042,
0.016147492453455925,
0.04888425022363663,
0.35139089822769165,
-0.4121057987213135,
0.027284543961286545,
0.03042244166135788,
0.0685407742857933,
-0.3393191695213318,
0.07118207961320877,
0.0855216532945633,
0.17747896909713745,
0.11880822479724884,
-0.3411296606063843,
0.19896532595157623,
-0.5572289228439331,
0.24314704537391663,
0.2889419496059418,
0.028952518478035927,
0.14934629201889038,
-0.1629331260919571,
-0.21480226516723633,
-0.3176088035106659,
-0.5003199577331543,
0.17510654032230377,
-0.20246769487857819,
-0.08309440314769745,
-0.11945893615484238,
0.11046719551086426,
-0.2693939805030823,
0.13045893609523773,
-0.22501814365386963,
-0.18682348728179932,
-0.1017303541302681,
0.322050005197525,
-0.057041216641664505,
-0.38898590207099915,
-0.0018597394227981567,
-0.25031930208206177,
0.015072710812091827,
0.03183334320783615,
-0.293337881565094,
0.18393588066101074,
-0.40660539269447327,
-0.01726951077580452,
0.02212408371269703,
0.14164882898330688,
0.042158279567956924,
-0.24436500668525696,
0.05366034060716629,
-0.2031134068965912,
-0.07451562583446503,
-0.06720765680074692,
-0.047867678105831146,
-0.032629333436489105,
0.04566384106874466,
0.2569485306739807,
0.29350605607032776,
0.591381311416626,
0.25585049390792847,
0.18387390673160553,
0.2581557333469391,
-0.11064786463975906,
0.2591944932937622,
0.00859338790178299,
-0.5313705801963806,
0.01157723180949688,
-0.23831844329833984,
0.21015290915966034,
0.22084105014801025,
0.016355734318494797,
-0.3750036656856537,
-0.14575248956680298,
0.05656998232007027,
-0.09963224828243256,
-0.36276713013648987,
0.0792805477976799,
-0.1412150114774704,
-0.04383610188961029,
0.04953305050730705,
0.2858557105064392,
0.31753605604171753,
-0.20544084906578064,
-0.08056899905204773,
0.05834322050213814,
0.06948374211788177,
-0.054747600108385086,
-0.08394463360309601,
-0.07876820117235184,
-0.3054889142513275,
0.08057177066802979,
-0.10872440040111542,
0.4788721799850464,
0.08675442636013031,
-0.37252485752105713,
0.1465521603822708,
0.07081261277198792,
0.6740729212760925,
-0.24415330588817596,
-0.021152637898921967,
0.13030144572257996,
-0.19599966704845428,
-0.3498118221759796,
-0.05815240368247032,
-0.18720801174640656,
-0.08955927193164825,
0.43786168098449707,
-0.061694830656051636,
-0.28293377161026,
-0.010129748843610287,
0.295813649892807,
-0.07744855433702469,
-0.02312532812356949,
-0.3287051022052765,
-0.14318165183067322,
-0.15287074446678162,
0.045357927680015564,
0.0750950276851654,
0.25894561409950256,
0.17850258946418762,
-0.2529662847518921,
-0.09770642966032028,
-0.16382025182247162,
-0.3426389992237091,
0.13851651549339294,
0.13005958497524261,
0.14926651120185852,
0.11100521683692932,
0.1743193417787552,
0.0591583177447319,
0.20017109811306,
-0.12451581656932831,
0.43468600511550903,
0.14767493307590485,
0.12421540915966034,
0.0645810216665268,
0.09675486385822296,
0.1675512194633484,
0.46429938077926636,
-0.12315194308757782,
0.03653213754296303,
0.25871801376342773,
0.20892976224422455,
-0.16535048186779022,
0.13434715569019318,
0.07582447677850723,
-0.0737285241484642,
-0.24513061344623566,
-0.3238289952278137,
0.48484325408935547,
0.05240125581622124,
0.058555394411087036,
0.5569789409637451,
0.07994038611650467,
-0.10908278822898865,
0.27975088357925415,
-0.09629721194505692,
0.8485994935035706,
0.27337151765823364,
-0.05305786058306694,
0.279109925031662,
-0.1769540011882782,
0.5301384329795837,
-0.057223182171583176,
0.08156154304742813,
-0.24506352841854095,
-0.6293331384658813,
0.009931882843375206,
-0.10980214178562164,
0.030523452907800674,
-0.24180375039577484,
-0.43486306071281433,
0.45855042338371277,
-0.001972705125808716,
0.5450756549835205,
0.09354372322559357,
0.07398832589387894,
-0.40426772832870483,
-0.2114471197128296,
-0.22078192234039307,
0.10558174550533295,
0.018079128116369247,
0.1282041072845459,
0.1977163851261139,
-0.3365168571472168,
0.322865754365921,
-0.14999493956565857,
-0.5166974663734436,
0.1415342390537262,
-0.3788377344608307,
-0.10801562666893005,
-0.11756764352321625,
-0.21717175841331482,
-0.10700266063213348,
0.03568936139345169,
0.033966388553380966,
-0.01781085506081581,
-0.10660131275653839,
0.1985812485218048,
0.1161792129278183,
0.13560709357261658,
-0.04957639053463936,
0.19882845878601074,
0.16177013516426086,
0.06745211780071259,
-0.11406382918357849,
0.04691217839717865,
0.06278067082166672,
-0.10498125106096268,
0.08863672614097595,
0.3037203550338745,
0.09652309119701385,
-0.28642985224723816,
0.09150618314743042,
0.0431600920855999,
0.23550638556480408,
-0.5537632703781128,
0.12421917915344238,
-0.05060291290283203,
-0.30617502331733704,
0.4369567334651947,
-0.32623177766799927,
-0.12932896614074707,
-0.49566999077796936,
0.34926456212997437,
-0.0022027231752872467,
0.1686820387840271,
0.128091499209404,
0.13753104209899902,
-0.24658218026161194,
-0.16882410645484924,
-0.05461449548602104,
-0.1875115931034088,
-0.3528900444507599,
0.2034992128610611,
-0.37884631752967834,
-0.056862302124500275,
-0.17957091331481934,
-0.016833942383527756,
0.01966015249490738,
0.33106881380081177,
-0.178369402885437,
-0.14249351620674133,
-0.10882049798965454,
-0.05814798176288605,
0.0842335969209671,
0.22982750833034515,
-0.36461055278778076,
0.2786763608455658,
0.0006288252770900726,
0.3704230487346649,
-0.2963215112686157,
-0.06567882746458054,
0.04313776642084122,
-0.005060136318206787,
-0.03524412959814072,
-0.04728762060403824,
0.40802210569381714,
-0.0434059239923954,
0.12311318516731262,
0.2671644687652588,
0.06310391426086426,
-0.20759087800979614,
-0.14236648380756378,
0.11707856506109238,
0.3218139410018921,
-0.2628309428691864,
-0.16632699966430664,
-0.03058895841240883,
-0.2998288869857788,
-0.17214398086071014,
0.24643275141716003,
-0.010730480775237083,
-0.02818477153778076,
0.3110125660896301,
0.5774429440498352,
-0.019104093313217163,
-0.1163962185382843,
-0.08757904171943665,
-0.15069660544395447,
0.28538498282432556,
0.03146255016326904,
0.20106351375579834,
0.18521836400032043,
-0.06255200505256653,
-0.3192693591117859,
-0.11673159152269363,
-0.06287746131420135,
0.08958279341459274,
0.46651551127433777,
-0.2181067317724228,
-0.257693886756897,
-0.1031198501586914,
0.6418462991714478,
0.5343624353408813,
0.1874423325061798,
-0.028846748173236847,
0.03397534042596817,
0.20171043276786804,
-0.1431492567062378,
-0.013424971140921116,
0.1204315572977066,
0.2874910533428192,
0.26139357686042786,
0.33665981888771057,
0.13272066414356232,
-0.2496982216835022,
-0.1411508321762085,
0.1537790298461914,
0.3467690348625183,
-0.06617960333824158,
0.39270177483558655,
0.6208739280700684,
-0.11172986775636673,
0.13319210708141327,
-0.03274273872375488,
0.0518675222992897,
0.08209510892629623,
-0.05196358263492584,
-0.07645862549543381,
0.28374046087265015,
-0.06979963183403015,
-0.26679542660713196,
0.010386794805526733,
-0.1979507952928543,
-0.1784910261631012,
0.06373424828052521,
-0.3977547287940979,
0.11585113406181335,
-0.01153254508972168,
0.40440496802330017,
-0.4193645417690277,
-0.27510690689086914,
-0.06024377793073654,
0.10844206809997559,
0.006860550493001938,
-0.09506958723068237,
0.017126265913248062,
-0.025309793651103973,
-0.2729562520980835,
0.16027940809726715,
0.285910040140152,
-0.08221378922462463,
0.47305840253829956,
0.057614393532276154,
-0.027446851134300232,
-0.43515682220458984,
-0.03479035198688507,
0.08232226967811584,
0.23510321974754333,
-0.2339361310005188,
-0.06975612789392471,
0.14410217106342316,
0.15987572073936462,
0.14118775725364685,
0.20508629083633423,
0.29926881194114685,
0.040084682404994965,
-0.15678228437900543,
0.06198987364768982,
0.1705320030450821,
-0.2004607915878296,
0.04125862196087837,
0.1893453598022461,
0.10359424352645874,
0.1225922703742981,
0.3217042088508606,
0.1512327641248703,
-0.1429249793291092,
0.4684191942214966,
-0.15299096703529358,
0.3038266599178314,
-0.31065085530281067,
0.4653037190437317,
0.18175914883613586,
0.07158670574426651,
-0.04104650765657425,
-0.16041985154151917,
-0.31293126940727234,
0.1612662822008133,
0.18646982312202454,
-0.26629966497421265,
0.102442666888237,
-0.14257457852363586,
0.052337177097797394,
0.07571546733379364,
0.3335343897342682,
0.07154138386249542,
0.13639608025550842,
-0.2672845721244812,
-0.07640088349580765,
-0.19703176617622375,
-0.036737628281116486,
-0.08608764410018921,
0.11707127094268799,
0.11152728646993637,
0.4434421956539154,
-0.12634730339050293,
0.07916150987148285,
-0.03936208784580231,
0.09977918118238449,
-0.197925865650177,
0.3813808262348175,
-0.08065459877252579,
-0.2219042032957077,
-0.18798263370990753,
0.1952052116394043,
-0.07604917138814926,
-0.2891859710216522,
0.1586986631155014,
-0.209217369556427,
0.031622663140296936,
0.2621614336967468,
-0.2681390345096588,
0.12941531836986542,
-0.06498151272535324,
-0.009076535701751709,
0.34177979826927185,
0.09892579913139343,
-0.10360829532146454,
0.1516294926404953,
-0.409458726644516,
-0.30040135979652405,
-0.6283443570137024,
-0.06124120205640793,
-0.04322833940386772,
0.48427334427833557,
0.04643947631120682,
-0.28142115473747253,
-0.3578863739967346,
0.2783639132976532,
0.141038179397583,
0.08483526110649109,
-0.10960094630718231,
0.12381463497877121,
0.017891094088554382,
0.3748858571052551,
0.2767322361469269,
0.2120634913444519,
-0.3786483108997345,
0.15555232763290405,
-0.12843577563762665,
-0.5712189078330994,
0.40936294198036194,
-0.4727683663368225,
-0.26941978931427,
-0.1530238538980484,
0.11708518117666245,
0.6126785278320312,
0.16155822575092316,
-0.2629394233226776,
-0.07126704603433609,
0.21254584193229675,
-0.25303685665130615,
-0.19930914044380188,
0.22729367017745972,
0.28201380372047424,
0.1118713766336441,
-0.06049458682537079,
-0.25500252842903137,
0.38394686579704285,
-0.521327555179596,
0.24439001083374023,
-0.35054951906204224
] |
https://github.com/huggingface/datasets/issues/4635 | Dataset Viewer issue for vadis/sv-ident | Thanks for reporting, @e-tornike
Some context:
- #4527
The dataset loads locally in streaming mode:
```python
In [2]: from datasets import load_dataset; ds = load_dataset("vadis/sv-ident", split="validation", streaming=True); item = next(iter(ds)); item
Using custom data configuration default
Out[2]:
{'sentence': 'Im Falle von Umweltbelastungen kann selten eindeutig entschieden werden, ob Unbedenklichkeitswerte bereits erreicht oder überschritten sind, die die menschliche Gesundheit oder andere Wohlfahrts»güter« beeinträchtigen.',
'is_variable': 0,
'variable': [],
'research_data': [],
'doc_id': '51971',
'uuid': 'ee3d7f88-1a3e-4a59-997f-e986b544a604',
'lang': 'de'}
``` | ### Link
https://huggingface.co/datasets/vadis/sv-ident/viewer/default/validation
### Description
Error message when loading validation split in the viewer:
```
Status code: 400
Exception: Status400Error
Message: The split cache is empty.
```
### Owner
_No response_ | 75 | Dataset Viewer issue for vadis/sv-ident
### Link
https://huggingface.co/datasets/vadis/sv-ident/viewer/default/validation
### Description
Error message when loading validation split in the viewer:
```
Status code: 400
Exception: Status400Error
Message: The split cache is empty.
```
### Owner
_No response_
Thanks for reporting, @e-tornike
Some context:
- #4527
The dataset loads locally in streaming mode:
```python
In [2]: from datasets import load_dataset; ds = load_dataset("vadis/sv-ident", split="validation", streaming=True); item = next(iter(ds)); item
Using custom data configuration default
Out[2]:
{'sentence': 'Im Falle von Umweltbelastungen kann selten eindeutig entschieden werden, ob Unbedenklichkeitswerte bereits erreicht oder überschritten sind, die die menschliche Gesundheit oder andere Wohlfahrts»güter« beeinträchtigen.',
'is_variable': 0,
'variable': [],
'research_data': [],
'doc_id': '51971',
'uuid': 'ee3d7f88-1a3e-4a59-997f-e986b544a604',
'lang': 'de'}
``` | [
-0.34343400597572327,
-0.09418442845344543,
-0.013141758739948273,
0.3741164207458496,
0.16894757747650146,
0.10632995516061783,
0.28053799271583557,
0.47733598947525024,
0.11510291695594788,
0.11659540235996246,
-0.17207522690296173,
-0.06304945796728134,
0.10673781484365463,
0.003729095682501793,
-0.14617986977100372,
-0.05221191793680191,
-0.22083884477615356,
0.3575853407382965,
0.21152518689632416,
0.0689464807510376,
-0.10353676229715347,
0.14396734535694122,
-0.2582351863384247,
-0.2540355920791626,
-0.02065487578511238,
-0.12807635962963104,
0.1821189820766449,
0.12450432032346725,
-0.11453739553689957,
-0.5721436142921448,
0.167592853307724,
0.12770766019821167,
0.17223308980464935,
0.5674443244934082,
-0.00011836023622890934,
0.12491655349731445,
0.39700376987457275,
-0.1331162005662918,
-0.20376019179821014,
-0.06214095652103424,
-0.4418169856071472,
-0.1397305130958557,
0.06405581533908844,
-0.10756715387105942,
-0.2584573030471802,
-0.2736562490463257,
-0.2298610955476761,
-0.5569791793823242,
0.3581804633140564,
0.3712104260921478,
0.09793564677238464,
0.10601120442152023,
0.18243393301963806,
-0.054323118180036545,
-0.08412466198205948,
0.05401497334241867,
-0.13617092370986938,
0.013653532601892948,
0.07110574096441269,
0.3705752491950989,
-0.006152704358100891,
0.5854498147964478,
0.11553069949150085,
0.16103306412696838,
-0.03185856342315674,
-0.15681439638137817,
-0.13863429427146912,
-0.2635650038719177,
0.29281187057495117,
0.2960240840911865,
0.9612888097763062,
0.11389562487602234,
-0.23040549457073212,
-0.05833261460065842,
-0.08985655754804611,
-0.3640303611755371,
0.200100839138031,
0.4537612795829773,
-0.11897356808185577,
0.34188327193260193,
-0.1867998242378235,
0.008670870214700699,
-0.30239954590797424,
-0.12483489513397217,
-0.3391307294368744,
0.12134343385696411,
0.014454895630478859,
-0.025704175233840942,
0.3105257749557495,
-0.07045011222362518,
0.5538607835769653,
0.08769693970680237,
-0.3920415937900543,
0.08335669338703156,
-0.7430511713027954,
-0.16808085143566132,
-0.06392466276884079,
0.028689663857221603,
-0.04768699035048485,
0.22007927298545837,
0.14939597249031067,
0.15663033723831177,
0.021840039640665054,
-0.00674264132976532,
0.3397682011127472,
0.3829566240310669,
0.1551249474287033,
0.5654149055480957,
0.08048402518033981,
0.01885487139225006,
0.08924466371536255,
-0.1513088047504425,
0.020724870264530182,
-0.2903329133987427,
0.10102415084838867,
0.12035529315471649,
0.17023734748363495,
-0.2675133943557739,
-0.42618128657341003,
0.40248391032218933,
-0.5715874433517456,
-0.011275967583060265,
0.29986846446990967,
0.34781473875045776,
-0.08161293715238571,
0.4406782388687134,
-0.0813894122838974,
-0.04840049892663956,
-0.20931701362133026,
-0.3749479353427887,
-0.12549206614494324,
-0.07860420644283295,
-0.08627867698669434,
-0.1850167065858841,
0.2968771457672119,
-0.28178465366363525,
0.1251300722360611,
-0.2383698672056198,
0.05838323384523392,
-0.0378459170460701,
0.18557339906692505,
-0.45137783885002136,
0.4118529260158539,
0.4655679166316986,
0.19078724086284637,
-0.03737473115324974,
0.18833458423614502,
-0.16034871339797974,
-0.002092011272907257,
0.22404363751411438,
-0.140468031167984,
-0.4061625897884369,
-0.06758107990026474,
0.21449518203735352,
-0.2124321609735489,
0.11559818685054779,
0.3262137472629547,
0.09457793831825256,
0.0145382359623909,
-0.27370312809944153,
-0.18046465516090393,
-0.045219436287879944,
-0.10730835795402527,
0.006266642361879349,
0.36245888471603394,
0.6805989146232605,
-0.6634848117828369,
-0.060030728578567505,
-0.32079222798347473,
-0.1641145646572113,
0.12404633313417435,
0.3392762839794159,
-0.01047538872808218,
0.21286463737487793,
-0.2392713576555252,
0.1576450765132904,
0.2587852478027344,
-0.2775644063949585,
-0.628725528717041,
0.5394842624664307,
-0.11489088833332062,
0.09692354500293732,
0.3921574354171753,
-0.0760374516248703,
0.7301452159881592,
-0.11551090329885483,
0.1704152226448059,
-0.04245228320360184,
-0.16711997985839844,
0.04175181686878204,
-0.3911445438861847,
-0.04328937083482742,
0.24489165842533112,
0.13283298909664154,
0.39636120200157166,
-0.2881160378456116,
0.17566940188407898,
0.05081799253821373,
0.18084391951560974,
-0.01094592735171318,
0.2721536159515381,
0.21472333371639252,
0.3568005859851837,
0.16551139950752258,
0.276946485042572,
-0.13540607690811157,
-0.3314044177532196,
0.07885954529047012,
0.20377561450004578,
-0.19073334336280823,
0.12392441183328629,
-0.16133522987365723,
-0.5074732899665833,
0.0016693957149982452,
-0.45883211493492126,
-0.32326623797416687,
0.09080702066421509,
0.04469463229179382,
0.10414548218250275,
-0.07637426257133484,
-0.1340290606021881,
0.3635846972465515,
0.1671546846628189,
0.13858811557292938,
0.04337192326784134,
0.20642492175102234,
-0.1399313062429428,
-0.08444128930568695,
-0.1463603526353836,
0.19903779029846191,
0.34314677119255066,
-0.10906204581260681,
-0.2057991623878479,
0.46514633297920227,
0.3554067313671112,
0.02623969316482544,
0.18651536107063293,
-0.1433514505624771,
0.2797592282295227,
-0.44026070833206177,
0.16325519979000092,
0.3710384964942932,
0.19898994266986847,
0.002600841224193573,
-0.46213123202323914,
-0.027777642011642456,
-0.4429638087749481,
0.1224062591791153,
-0.15620766580104828,
0.22284042835235596,
0.3752448558807373,
-0.048679620027542114,
-0.07778794318437576,
-0.4792148172855377,
0.3101895749568939,
-0.29839426279067993,
0.294724702835083,
-0.20427444577217102,
-0.36032846570014954,
0.004246257245540619,
0.03029017336666584,
-0.017393061891198158,
-0.04887619614601135,
-0.05943773686885834,
-0.2549547255039215,
-0.020540591329336166,
0.15020623803138733,
0.23327885568141937,
0.3704095184803009,
0.12833388149738312,
0.04354226961731911,
-0.13564983010292053,
0.3397558629512787,
-0.1829625964164734,
0.22312545776367188,
-0.030955590307712555,
-0.26545655727386475,
0.44381147623062134,
-0.1532747447490692,
-0.014171709306538105,
-0.2716417610645294,
0.22046533226966858,
0.31051525473594666,
0.09169894456863403,
-0.37983202934265137,
-0.22799241542816162,
-0.28125447034835815,
0.0511833056807518,
-0.17994850873947144,
-0.3499138057231903,
0.022603264078497887,
-0.2601211667060852,
0.08665308356285095,
0.1443764716386795,
-0.011152582243084908,
0.36073294281959534,
-0.15618324279785156,
-0.046962037682533264,
0.1999279260635376,
-0.038331687450408936,
-0.12725761532783508,
-0.2232184261083603,
-0.049038149416446686,
0.0616314522922039,
0.06550954282283783,
0.07769867777824402,
0.23694901168346405,
-0.17334792017936707,
0.10980382561683655,
-0.4717696011066437,
-0.35602328181266785,
0.14646153151988983,
-0.030594848096370697,
0.19789822399616241,
0.06083710491657257,
0.1298789083957672,
0.28574538230895996,
0.047908201813697815,
0.02734154835343361,
0.06012339144945145,
-0.02634136937558651,
0.016479961574077606,
0.09343264251947403,
0.04595879837870598,
-0.05697913467884064,
-0.32489198446273804,
-0.33030250668525696,
-0.5375683903694153,
-0.05500520020723343,
-0.15096081793308258,
0.06344398856163025,
-0.3422127366065979,
0.016416169703006744,
-0.12846024334430695,
0.1988079696893692,
-0.19811923801898956,
-0.23538850247859955,
-0.08867592364549637,
0.28771865367889404,
-0.3833416998386383,
-0.2840707302093506,
0.36559727787971497,
0.09647435694932938,
0.21398121118545532,
0.13066887855529785,
-0.2750939726829529,
0.25678500533103943,
-0.13356991112232208,
0.13906659185886383,
-0.13552437722682953,
-0.2495582550764084,
0.571723997592926,
0.03752739727497101,
0.1029718816280365,
-0.04689247906208038,
-0.04110770672559738,
-0.1080753281712532,
-0.2316361665725708,
0.20452964305877686,
-0.1542661488056183,
0.22420355677604675,
0.2037748247385025,
0.7267209887504578,
0.38361161947250366,
0.15564708411693573,
0.23976899683475494,
0.2106902301311493,
0.38258475065231323,
-0.22134476900100708,
-0.5553997755050659,
0.15842801332473755,
0.008866623044013977,
-0.05313817039132118,
0.18977756798267365,
-0.013208383694291115,
-0.29615989327430725,
-0.16369804739952087,
-0.2040686458349228,
-0.571461021900177,
-0.2700546383857727,
0.08150552958250046,
-0.3333366811275482,
0.4891369938850403,
0.012240126729011536,
0.2559314966201782,
-0.11973837018013,
-0.006519137881696224,
-0.13872644305229187,
0.4442352056503296,
0.20249789953231812,
0.014464288018643856,
-0.08551207184791565,
0.1450008600950241,
-0.10578613728284836,
0.23656406998634338,
-0.06841179728507996,
0.02310090884566307,
-0.19092589616775513,
-0.11588974297046661,
0.11792287230491638,
-0.18471479415893555,
0.6223201751708984,
-0.19785836338996887,
0.30236732959747314,
0.09549470245838165,
0.03019910305738449,
0.19297711551189423,
-0.07652608305215836,
0.05236632749438286,
-0.13104435801506042,
0.06459084153175354,
-0.0056191906332969666,
-0.338039755821228,
-0.1090022549033165,
0.4585513174533844,
-0.28788283467292786,
-0.21886961162090302,
-0.2523331344127655,
0.014067526906728745,
0.15733474493026733,
-0.21339894831180573,
0.08381795883178711,
-0.09203126281499863,
0.21975843608379364,
-0.035576991736888885,
0.13957875967025757,
-0.3167382478713989,
-0.1937059760093689,
0.0592336505651474,
0.1946018785238266,
0.44211000204086304,
-0.23934690654277802,
0.3419117033481598,
0.41246429085731506,
0.1534331738948822,
0.29504841566085815,
0.4394506812095642,
0.11732172966003418,
-0.4826866388320923,
0.09931783378124237,
-0.14972180128097534,
0.000026494264602661133,
0.1401316374540329,
-0.1009870320558548,
-0.19358867406845093,
0.06535358726978302,
0.28085434436798096,
-0.30153706669807434,
0.2533752918243408,
0.1784888505935669,
-0.04257965087890625,
-0.2600696384906769,
-0.4199985861778259,
-0.000370614230632782,
0.039814550429582596,
-0.0791907086968422,
-0.052329301834106445,
0.28889957070350647,
-0.19980786740779877,
-0.10151892900466919,
0.17794325947761536,
0.6946170330047607,
0.32622337341308594,
-0.12274526059627533,
0.14837311208248138,
-0.4013007879257202,
-0.22259676456451416,
-0.3450329303741455,
0.13348990678787231,
-0.27885448932647705,
-0.2737565040588379,
-0.17914293706417084,
0.035530660301446915,
0.43872806429862976,
-0.03539340943098068,
-0.3004361093044281,
0.07821274548768997,
0.1859036535024643,
0.23976600170135498,
0.07065404951572418,
0.08552742004394531,
-0.14420266449451447,
-0.1829776167869568,
0.17345452308654785,
0.10306964814662933,
-0.25015008449554443,
0.011292556300759315,
-0.05836610123515129,
-0.07801579684019089,
0.11536061763763428,
-0.2781869173049927,
-0.4925755262374878,
0.07258345186710358,
-0.13743874430656433,
0.0902680903673172,
-0.2814677655696869,
-0.48798686265945435,
0.10948571562767029,
0.1161784678697586,
0.10525745153427124,
0.2925621271133423,
-0.19898134469985962,
0.43090105056762695,
0.2049824297428131,
-0.05414673686027527,
-0.06787215173244476,
-0.03252343833446503,
0.33803802728652954,
-0.03811709210276604,
-0.29768651723861694,
0.12090900540351868,
-0.20292533934116364,
-0.12745550274848938,
-0.04840341955423355,
0.1860731840133667,
0.15109960734844208,
-0.4334356486797333,
0.04686329886317253,
-0.08603551983833313,
-0.031918205320835114,
-0.02712416648864746,
0.08742575347423553,
-0.00640501081943512,
-0.3225037455558777,
0.02566859871149063,
-0.29680895805358887,
-0.07313142716884613,
-0.09397287666797638,
0.2626129388809204,
0.10083959996700287,
-0.002871345728635788,
0.47300419211387634,
-0.10451254993677139,
-0.1495552659034729,
-0.35514605045318604,
0.17802190780639648,
0.03383101150393486,
-0.37945711612701416,
0.2264997661113739,
-0.09026595950126648,
-0.2995637357234955,
0.22896099090576172,
0.02611859142780304,
0.03951568156480789,
0.02742518112063408,
-0.30410492420196533,
-0.41190794110298157,
-0.028338301926851273,
0.005342625081539154,
-0.36132559180259705,
0.21319180727005005,
0.0641493946313858,
-0.03581615909934044,
-0.03842973709106445,
0.09846080839633942,
-0.2667546272277832,
0.052798688411712646,
-0.10321883857250214,
0.25960928201675415,
-0.0900905579328537,
-0.41633835434913635,
0.15542204678058624,
-0.24517753720283508,
0.04582364857196808,
0.15881827473640442,
-0.1285257786512375,
-0.16343671083450317,
-0.03522488474845886,
0.15687808394432068,
0.04282595217227936,
0.138528972864151,
-0.21666637063026428,
0.004797833040356636,
-0.2646738886833191,
-0.06498540937900543,
0.185835063457489,
-0.04453666880726814,
0.027033858001232147,
0.18946857750415802,
0.18740947544574738,
0.14510494470596313,
-0.3197441101074219,
0.2600861191749573,
0.04123518988490105,
0.30683770775794983,
-0.22810161113739014,
0.11476559937000275,
-0.22302570939064026,
0.0610135942697525,
-0.22944770753383636,
0.27730193734169006,
0.36690396070480347,
-0.07072669267654419,
0.5851750373840332,
-0.31180691719055176,
0.27688491344451904,
0.13942770659923553,
0.36190128326416016,
0.19974826276302338,
0.0450918935239315,
-0.04780144244432449,
0.20263230800628662,
0.17556244134902954,
-0.2586866617202759,
-0.05322276055812836,
0.11019304394721985,
-0.07947124540805817,
0.23927271366119385,
0.10690479725599289,
0.03927633538842201,
-0.01439908891916275,
0.15310832858085632,
0.24920830130577087,
0.6618969440460205,
-0.24236540496349335,
0.46120738983154297,
0.5882044434547424,
-0.1752719134092331,
0.12559808790683746,
0.04758378863334656,
-0.04336060956120491,
0.07943110167980194,
0.523784339427948,
-0.23599132895469666,
0.21341463923454285,
0.1982996165752411,
0.26889365911483765,
0.0633372887969017,
-0.33453986048698425,
-0.158744677901268,
-0.08944247663021088,
-0.24609678983688354,
0.25338470935821533,
-0.017764948308467865,
-0.097541444003582,
-0.22178615629673004,
-0.10670138150453568,
-0.4376130998134613,
0.03583335131406784,
-0.15072846412658691,
0.2101989984512329,
-0.43485167622566223,
-0.047376371920108795,
-0.23953001201152802,
0.06486621499061584,
0.1678861677646637,
0.0961240902543068,
0.0071585774421691895,
-0.02774941921234131,
-0.14835278689861298,
-0.09476833790540695,
-0.06647983193397522,
0.2744934558868408,
0.12945429980754852,
-0.4514545500278473,
0.1729392111301422,
0.3652150630950928,
-0.16983215510845184,
0.2732539474964142,
0.38996294140815735,
0.29631537199020386,
0.2586316466331482,
-0.24228665232658386,
-0.04390362650156021,
0.10872644186019897,
-0.2616744339466095,
0.05547159165143967,
0.16670875251293182,
-0.02570272982120514,
0.2946217954158783,
0.33526140451431274,
0.07637592405080795,
-0.165328711271286,
0.3128640949726105,
-0.17159484326839447,
0.40954646468162537,
-0.34748461842536926,
-0.027723468840122223,
0.03427852317690849,
-0.08537560701370239,
-0.17750486731529236,
-0.2150895893573761,
-0.43656986951828003,
0.17569918930530548,
0.02280290052294731,
0.17102587223052979,
0.1705334484577179,
-0.21471647918224335,
0.027038153260946274,
0.15927401185035706,
0.45411595702171326,
0.12137992680072784,
-0.517868161201477,
-0.2864736318588257,
-0.17568251490592957,
-0.6190140247344971,
0.13864769041538239,
-0.11934114992618561,
-0.01791347563266754,
0.05011411011219025,
0.13152490556240082,
-0.06649265438318253,
0.25779497623443604,
0.05453721433877945,
0.10970385372638702,
0.19301672279834747,
0.32982179522514343,
-0.2314082831144333,
-0.008029580116271973,
0.33879566192626953,
0.03807952255010605,
0.012922674417495728,
-0.4149338901042938,
0.24864229559898376,
0.176755890250206,
-0.014896191656589508,
0.2802385091781616,
-0.11065943539142609,
0.1526321917772293,
-0.14629806578159332,
-0.042442239820957184,
0.1451089084148407,
0.2085145264863968,
0.18346315622329712,
0.2657977342605591,
-0.2567748725414276,
0.06840399652719498,
-0.35264453291893005,
0.2320810854434967,
0.506393313407898,
0.615424394607544,
-0.1628115475177765,
-0.13962285220623016,
-0.14647231996059418,
0.04680205136537552,
-0.0997094213962555,
0.03604045510292053,
-0.19807647168636322,
0.050627537071704865,
-0.11266513168811798,
0.2282777726650238,
0.30059200525283813,
0.2594643533229828,
-0.03128175437450409,
0.010887185111641884,
-0.22855252027511597,
-0.5734051465988159,
0.1856735795736313,
-0.3714967370033264,
-0.12049303948879242,
-0.09368128329515457,
0.08394366502761841,
0.2677036225795746,
-0.050952911376953125,
-0.2922162413597107,
0.12467976659536362,
0.38355690240859985,
-0.16716918349266052,
0.03265765681862831,
-0.10509885847568512,
0.278133362531662,
-0.24422886967658997,
-0.13461537659168243,
0.09509213268756866,
0.4827878773212433,
-0.008242258802056313,
0.06058691814541817,
-0.048546478152275085
] |
https://github.com/huggingface/datasets/issues/4635 | Dataset Viewer issue for vadis/sv-ident | ~~I have forced the refresh of the split in the preview without success.~~
I have forced the refresh of the split in the preview, and now it works. | ### Link
https://huggingface.co/datasets/vadis/sv-ident/viewer/default/validation
### Description
Error message when loading validation split in the viewer:
```
Status code: 400
Exception: Status400Error
Message: The split cache is empty.
```
### Owner
_No response_ | 28 | Dataset Viewer issue for vadis/sv-ident
### Link
https://huggingface.co/datasets/vadis/sv-ident/viewer/default/validation
### Description
Error message when loading validation split in the viewer:
```
Status code: 400
Exception: Status400Error
Message: The split cache is empty.
```
### Owner
_No response_
~~I have forced the refresh of the split in the preview without success.~~
I have forced the refresh of the split in the preview, and now it works. | [
-0.3355334401130676,
-0.13491253554821014,
0.01818053051829338,
0.3520846366882324,
0.16705593466758728,
0.044746287167072296,
0.3111444115638733,
0.322045236825943,
0.08171223104000092,
0.19327129423618317,
-0.18516139686107635,
-0.07507125288248062,
0.1921989619731903,
-0.04237779974937439,
-0.2166096419095993,
0.020469192415475845,
-0.19313201308250427,
0.34906482696533203,
0.09669516235589981,
0.05737721920013428,
-0.021289123222231865,
0.11158984154462814,
-0.26797252893447876,
-0.2084733098745346,
-0.05972234904766083,
0.0022786613553762436,
0.13714918494224548,
0.04794479161500931,
-0.17368091642856598,
-0.5974992513656616,
0.25184303522109985,
0.1496422290802002,
0.1187075823545456,
0.5408777594566345,
-0.00011918173549929634,
0.1384628564119339,
0.4684232473373413,
-0.026948828250169754,
-0.09348241984844208,
0.0007214993238449097,
-0.46515870094299316,
-0.09172652661800385,
0.03332137316465378,
0.01923736184835434,
-0.31814008951187134,
-0.2762991487979889,
-0.064152792096138,
-0.30150508880615234,
0.4045565128326416,
0.24140837788581848,
0.07935280352830887,
0.10660633444786072,
0.30267223715782166,
-0.16861464083194733,
-0.11115168780088425,
0.2778957784175873,
-0.15004862844944,
0.043425772339105606,
0.07675641775131226,
0.2967681288719177,
-0.0029556676745414734,
0.5116681456565857,
0.31823110580444336,
0.07659630477428436,
0.06535802036523819,
-0.1195232942700386,
-0.11874278634786606,
-0.194881409406662,
0.249339759349823,
0.22072595357894897,
1.0540932416915894,
0.26019972562789917,
-0.23099642992019653,
0.03178476542234421,
-0.1323183923959732,
-0.2678493559360504,
0.31202927231788635,
0.29214727878570557,
-0.04709721356630325,
0.34261319041252136,
-0.23559047281742096,
0.05180353298783302,
-0.2577977776527405,
-0.2608543038368225,
-0.2704509198665619,
-0.0039107054471969604,
0.02500120922923088,
0.02951584756374359,
0.43994641304016113,
-0.10022442042827606,
0.45051732659339905,
0.09084464609622955,
-0.5640859007835388,
0.10596536099910736,
-0.6685323119163513,
-0.18955761194229126,
-0.14818570017814636,
0.0020564422011375427,
0.031308285892009735,
0.19260770082473755,
-0.06987582892179489,
0.17738717794418335,
-0.0679439976811409,
0.0861237645149231,
0.33664458990097046,
0.3681642711162567,
0.33701884746551514,
0.5934562087059021,
0.16777491569519043,
-0.00193113274872303,
0.2010655254125595,
-0.08830142766237259,
-0.024890996515750885,
-0.28355249762535095,
0.033694881945848465,
0.049136970192193985,
0.02364545688033104,
-0.35048362612724304,
-0.41879186034202576,
0.34604302048683167,
-0.4641200602054596,
0.0001329905353486538,
0.2736116945743561,
0.3442774713039398,
-0.082260861992836,
0.29738444089889526,
-0.08165454864501953,
-0.08865360915660858,
-0.17207685112953186,
-0.3796069324016571,
-0.1043383777141571,
-0.1674698144197464,
-0.31159254908561707,
-0.23449069261550903,
0.3485501706600189,
-0.21282583475112915,
0.042381204664707184,
-0.1641136109828949,
-0.001482844352722168,
-0.019901877269148827,
0.11353981494903564,
-0.28589144349098206,
0.26922348141670227,
0.3910294771194458,
0.1759147047996521,
-0.07221150398254395,
0.1471317857503891,
-0.18083995580673218,
0.07783613353967667,
0.24055621027946472,
-0.09763694554567337,
-0.31112632155418396,
-0.03919611871242523,
0.16922403872013092,
-0.20327837765216827,
0.17592354118824005,
0.2646903693675995,
0.08292680233716965,
-0.0036250874400138855,
-0.2609001398086548,
-0.22902622818946838,
0.06947547197341919,
-0.026895076036453247,
0.12507925927639008,
0.3697545528411865,
0.6010640263557434,
-0.593618631362915,
-0.10416363179683685,
-0.30070221424102783,
-0.2787768542766571,
0.006150633096694946,
0.3868069648742676,
-0.05227312818169594,
0.024751227349042892,
-0.2969891428947449,
0.06268994510173798,
0.22769638895988464,
-0.21019330620765686,
-0.5259413719177246,
0.3296997845172882,
-0.1390143483877182,
-0.051547907292842865,
0.2743970453739166,
-0.11460256576538086,
0.6862578392028809,
-0.11020874232053757,
0.015759877860546112,
-0.27070724964141846,
-0.08992034196853638,
-0.010566724464297295,
-0.3837991952896118,
0.04013673961162567,
0.20640309154987335,
0.1578516811132431,
0.4722229540348053,
-0.17570433020591736,
0.18866804242134094,
-0.007722316309809685,
0.13760924339294434,
0.08612121641635895,
0.25946006178855896,
0.23332543671131134,
0.3870857357978821,
0.07465590536594391,
0.34228891134262085,
0.008906345814466476,
-0.30575278401374817,
0.08219129592180252,
0.059681832790374756,
-0.19003291428089142,
0.3438900411128998,
-0.17087212204933167,
-0.546920895576477,
-0.012552055530250072,
-0.35595178604125977,
-0.3034839630126953,
0.03817565739154816,
0.025604162365198135,
0.14078885316848755,
-0.10361368954181671,
-0.10506884753704071,
0.2196216583251953,
0.17835867404937744,
0.176399827003479,
0.06971272826194763,
0.19608452916145325,
-0.2582131326198578,
-0.0922345221042633,
-0.20758523046970367,
0.13485324382781982,
0.24334529042243958,
-0.14999984204769135,
-0.12376613169908524,
0.37323975563049316,
0.3087385892868042,
-0.10726688802242279,
0.3401360809803009,
-0.18524037301540375,
0.28430336713790894,
-0.46270349621772766,
0.041201747953891754,
0.12065839767456055,
0.07806625962257385,
0.012740865349769592,
-0.5351016521453857,
-0.06514342129230499,
-0.38298746943473816,
0.10157240927219391,
-0.29697906970977783,
0.31436964869499207,
0.35325661301612854,
-0.15578018128871918,
-0.0379154272377491,
-0.46237480640411377,
0.34525373578071594,
-0.19960451126098633,
0.1360853761434555,
-0.18758538365364075,
-0.3439875841140747,
0.031258389353752136,
-0.024295691400766373,
0.021713022142648697,
-0.06882145255804062,
-0.017845995724201202,
-0.20285028219223022,
0.026539459824562073,
0.15368542075157166,
0.02135612443089485,
0.23406890034675598,
0.1481654942035675,
-0.0797622948884964,
-0.20159514248371124,
0.32360392808914185,
-0.12826703488826752,
0.11501488089561462,
-0.10227227210998535,
-0.31201767921447754,
0.32856622338294983,
-0.09346950054168701,
-0.06389632821083069,
-0.29800915718078613,
0.32014331221580505,
0.399871826171875,
0.12938183546066284,
-0.35949626564979553,
-0.30114981532096863,
-0.14266526699066162,
0.11741472035646439,
-0.10875566303730011,
-0.24356646835803986,
-0.11291629076004028,
-0.2585676908493042,
0.21917259693145752,
0.2386186420917511,
0.06389658153057098,
0.46004602313041687,
0.025471750646829605,
0.08317546546459198,
0.13073492050170898,
0.28354373574256897,
-0.2023053765296936,
-0.28944453597068787,
-0.12236081808805466,
0.04674268141388893,
0.09143301099538803,
0.04183978959918022,
0.13509497046470642,
-0.2066975086927414,
0.20428137481212616,
-0.5130762457847595,
-0.4662649631500244,
0.18831108510494232,
-0.08517728000879288,
0.2497805953025818,
0.020163938403129578,
0.09353458881378174,
0.1593930572271347,
0.23351576924324036,
0.0312516875565052,
0.18651825189590454,
-0.1601158082485199,
0.0514034703373909,
0.09272054582834244,
-0.11034774780273438,
-0.11165471374988556,
-0.18759754300117493,
-0.11603700369596481,
-0.4734201729297638,
-0.012642182409763336,
-0.3041856586933136,
-0.016462258994579315,
-0.3819630742073059,
0.01733037456870079,
-0.1699242889881134,
0.06105384603142738,
-0.2509332299232483,
-0.29836490750312805,
-0.07607871294021606,
0.28599944710731506,
-0.41725611686706543,
-0.35018566250801086,
0.5063788890838623,
0.16242338716983795,
0.1519770324230194,
0.004767649807035923,
-0.25187626481056213,
0.18907207250595093,
-0.1380251944065094,
0.09847012162208557,
-0.06485387682914734,
-0.24054916203022003,
0.49867603182792664,
0.03884679079055786,
0.14642713963985443,
-0.002100810408592224,
-0.1355924755334854,
0.049179330468177795,
-0.30745503306388855,
0.2990599274635315,
-0.24121397733688354,
0.13167119026184082,
0.20641693472862244,
0.7438895106315613,
0.35197776556015015,
0.06580179929733276,
0.17747269570827484,
0.2984963059425354,
0.49585551023483276,
-0.148247629404068,
-0.5171323418617249,
0.25156939029693604,
0.11114156246185303,
0.0832580029964447,
0.0931244045495987,
0.013963473029434681,
-0.2611057758331299,
-0.148874893784523,
-0.16027551889419556,
-0.41999369859695435,
-0.26743218302726746,
-0.010596910491585732,
-0.32452669739723206,
0.36470165848731995,
0.10634678602218628,
0.271970272064209,
-0.053342558443546295,
-0.003096075262874365,
-0.10483326017856598,
0.503860354423523,
0.31546148657798767,
0.039739493280649185,
-0.2424919754266739,
0.1519130915403366,
-0.032944388687610626,
0.27737268805503845,
-0.1780090630054474,
0.010455609299242496,
-0.2625904977321625,
-0.04921568185091019,
0.1508338749408722,
-0.15980806946754456,
0.8241240978240967,
-0.04630615562200546,
0.2832407057285309,
-0.04224760830402374,
0.0769854485988617,
0.24919818341732025,
-0.12477666139602661,
0.24348869919776917,
-0.22525186836719513,
0.038280051201581955,
0.03987240791320801,
-0.4031504988670349,
-0.18223756551742554,
0.46877816319465637,
-0.4255165755748749,
-0.24230360984802246,
-0.24293234944343567,
0.04065631702542305,
0.23012450337409973,
-0.20874832570552826,
0.12063624709844589,
-0.21748685836791992,
0.13536275923252106,
-0.014284098520874977,
0.1612347960472107,
-0.37039870023727417,
-0.2631038427352905,
-0.07593059539794922,
0.21489374339580536,
0.4780907928943634,
-0.263801246881485,
0.4084322452545166,
0.5124900341033936,
0.14734399318695068,
0.38569334149360657,
0.29972511529922485,
0.0457158088684082,
-0.49771571159362793,
0.2299099564552307,
-0.255031555891037,
-0.013906724750995636,
0.059030160307884216,
-0.009031729772686958,
-0.25950542092323303,
-0.013996157795190811,
0.2734145522117615,
-0.27296215295791626,
0.2865561842918396,
0.1777910590171814,
0.018366023898124695,
-0.3861579895019531,
-0.2588474452495575,
-0.1186908707022667,
-0.00857443269342184,
-0.0584491565823555,
-0.05709882825613022,
0.39534837007522583,
-0.10188696533441544,
-0.16816572844982147,
0.18181568384170532,
0.7241170406341553,
0.28389546275138855,
-0.14978913962841034,
0.07551821321249008,
-0.33321595191955566,
-0.2351653128862381,
-0.2726977467536926,
0.18127742409706116,
-0.3898293673992157,
-0.339020699262619,
-0.1677294671535492,
0.019155938178300858,
0.398700088262558,
-0.02336985617876053,
-0.2286568433046341,
0.053655724972486496,
0.270429790019989,
0.24316991865634918,
0.02589564397931099,
0.07526803016662598,
-0.11084733158349991,
-0.10539712011814117,
0.300010085105896,
0.09206227958202362,
-0.19583959877490997,
0.15632230043411255,
-0.050083160400390625,
-0.09147831052541733,
0.10772760212421417,
-0.29675066471099854,
-0.5795445442199707,
0.06475427746772766,
0.07113897800445557,
0.03559763729572296,
-0.04914916679263115,
-0.36745333671569824,
0.22340691089630127,
0.09530050307512283,
0.25608760118484497,
0.36556223034858704,
-0.1904066652059555,
0.5113090872764587,
0.1559544801712036,
-0.12412959337234497,
-0.15383897721767426,
0.015282590873539448,
0.2124233841896057,
-0.03349440172314644,
-0.22483029961585999,
0.011586852371692657,
-0.22844970226287842,
-0.030254820361733437,
-0.18143916130065918,
0.19464051723480225,
-0.0085177943110466,
-0.41286563873291016,
0.2122413069009781,
-0.05401909351348877,
-0.012003490701317787,
-0.002991151064634323,
0.0790635347366333,
0.03917313739657402,
-0.22420847415924072,
0.03920874744653702,
-0.2596048414707184,
0.017327599227428436,
-0.026153266429901123,
0.2609206438064575,
-0.034066230058670044,
-0.14664195477962494,
0.4044441282749176,
-0.11733664572238922,
-0.1187041625380516,
-0.2967253625392914,
0.15085023641586304,
0.19692130386829376,
-0.49672529101371765,
0.21849368512630463,
-0.08814045041799545,
-0.34000757336616516,
0.3874669373035431,
0.05748073011636734,
0.048154789954423904,
-0.0477740541100502,
-0.17408859729766846,
-0.3437013626098633,
0.049373187124729156,
0.05014559626579285,
-0.42544281482696533,
0.24151796102523804,
0.0626164898276329,
-0.11708381772041321,
-0.07355116307735443,
0.07771672308444977,
-0.25011616945266724,
0.05562079697847366,
-0.11847721040248871,
0.2771705687046051,
-0.057069480419158936,
-0.47389110922813416,
0.17969807982444763,
-0.32666245102882385,
-0.014423084445297718,
0.2392672449350357,
-0.11741988360881805,
-0.0977039560675621,
-0.03368955850601196,
0.12973183393478394,
0.03754059225320816,
0.23965302109718323,
-0.2281479686498642,
0.14338330924510956,
-0.2806894779205322,
-0.004061655141413212,
0.08948661386966705,
-0.04949471354484558,
-0.10592052340507507,
0.021617211401462555,
0.16017195582389832,
0.11627880483865738,
-0.15374992787837982,
0.25309938192367554,
0.11678889393806458,
0.26309895515441895,
-0.20600935816764832,
0.0606764480471611,
-0.3069973289966583,
0.011997908353805542,
-0.1919342577457428,
0.3807987868785858,
0.35219693183898926,
-0.1282898187637329,
0.5441862344741821,
-0.2712334990501404,
0.2681994140148163,
0.11698385328054428,
0.3997611403465271,
0.15710914134979248,
0.13386106491088867,
0.001963317394256592,
0.3335382044315338,
0.13055476546287537,
-0.237216979265213,
-0.07991509139537811,
0.09010949730873108,
-0.026319395750761032,
0.1397349238395691,
0.04118464142084122,
-0.03967950493097305,
0.07066431641578674,
0.18293887376785278,
0.3025705814361572,
0.6449958086013794,
-0.27179038524627686,
0.4872417449951172,
0.5090770721435547,
-0.20827683806419373,
0.14210952818393707,
0.21241728961467743,
-0.12051969766616821,
0.08185295760631561,
0.373099684715271,
-0.265786349773407,
0.2202686369419098,
0.12815448641777039,
0.34256500005722046,
0.11255792528390884,
-0.3536728024482727,
-0.18161383271217346,
-0.04295654594898224,
-0.12235158681869507,
0.22595638036727905,
-0.0270160511136055,
0.04490308091044426,
-0.2047908753156662,
-0.22138617932796478,
-0.489083468914032,
0.1705554872751236,
-0.12273000925779343,
0.29349803924560547,
-0.5242279767990112,
-0.0637321025133133,
-0.2305240035057068,
0.11994564533233643,
0.1250269114971161,
0.12360795587301254,
0.0843653604388237,
-0.08844329416751862,
-0.16352154314517975,
-0.20820970833301544,
-0.11517984420061111,
0.35640621185302734,
0.11678812652826309,
-0.2991946041584015,
0.1887488067150116,
0.26637983322143555,
-0.26090919971466064,
0.3004973530769348,
0.47585681080818176,
0.2177034616470337,
0.20658431947231293,
-0.07225531339645386,
-0.0664454996585846,
0.044680751860141754,
-0.21425384283065796,
0.03926414996385574,
0.24880999326705933,
0.007540896534919739,
0.08319263160228729,
0.17783766984939575,
0.04278489202260971,
-0.13132062554359436,
0.2859518229961395,
-0.31272491812705994,
0.4620605409145355,
-0.2648475468158722,
-0.0946706011891365,
0.021881811320781708,
-0.10961106419563293,
-0.18049560487270355,
-0.1851710081100464,
-0.32124945521354675,
0.15243679285049438,
-0.06101808324456215,
0.22157756984233856,
0.05760528892278671,
-0.4013173282146454,
0.011792175471782684,
0.23748193681240082,
0.40223443508148193,
0.212261363863945,
-0.5908373594284058,
-0.2803203761577606,
-0.1318218857049942,
-0.5470508337020874,
0.1633869707584381,
-0.0660364031791687,
0.19106163084506989,
0.026812532916665077,
-0.04455573856830597,
-0.05650768429040909,
0.15598347783088684,
0.277883380651474,
0.10905255377292633,
0.31741636991500854,
0.4079652428627014,
-0.1870565414428711,
0.08220475912094116,
0.39789879322052,
-0.14428924024105072,
-0.008570767939090729,
-0.2874021530151367,
0.36350217461586,
0.30898791551589966,
-0.04812227934598923,
0.35338836908340454,
0.009204491972923279,
0.06601199507713318,
-0.1988949477672577,
-0.09357115626335144,
0.18601813912391663,
0.1451731026172638,
0.26885029673576355,
0.20300322771072388,
-0.2592986822128296,
-0.13376696407794952,
-0.36746206879615784,
0.11588805913925171,
0.5420766472816467,
0.5785226821899414,
-0.23097804188728333,
-0.13368256390094757,
-0.19443552196025848,
-0.10317332297563553,
-0.07349593937397003,
0.1549949049949646,
-0.20804773271083832,
0.05690028518438339,
-0.061061710119247437,
0.16711340844631195,
0.39017871022224426,
0.24354973435401917,
0.09458965063095093,
-0.07864563912153244,
-0.37417781352996826,
-0.4699321389198303,
0.12800076603889465,
-0.3406177759170532,
-0.1393880695104599,
-0.07857943326234818,
-0.016150489449501038,
0.2606312036514282,
-0.28783097863197327,
-0.2910546064376831,
0.0009689480066299438,
0.23174230754375458,
-0.06482540816068649,
0.10837644338607788,
-0.1883891373872757,
0.33897945284843445,
-0.2675420641899109,
-0.14244337379932404,
0.3049749732017517,
0.5767955780029297,
-0.061313122510910034,
0.14376674592494965,
0.021003130823373795
] |
https://github.com/huggingface/datasets/issues/4635 | Dataset Viewer issue for vadis/sv-ident | OK, thank you @e-tornike.
Apparently, after forcing the refresh, we just had to wait a little until it is effectively refreshed. | ### Link
https://huggingface.co/datasets/vadis/sv-ident/viewer/default/validation
### Description
Error message when loading validation split in the viewer:
```
Status code: 400
Exception: Status400Error
Message: The split cache is empty.
```
### Owner
_No response_ | 21 | Dataset Viewer issue for vadis/sv-ident
### Link
https://huggingface.co/datasets/vadis/sv-ident/viewer/default/validation
### Description
Error message when loading validation split in the viewer:
```
Status code: 400
Exception: Status400Error
Message: The split cache is empty.
```
### Owner
_No response_
OK, thank you @e-tornike.
Apparently, after forcing the refresh, we just had to wait a little until it is effectively refreshed. | [
-0.3959178626537323,
-0.13096179068088531,
0.004104197025299072,
0.2589777708053589,
0.19081778824329376,
0.049277231097221375,
0.30233871936798096,
0.3355978727340698,
0.09101089835166931,
0.1377878487110138,
-0.2060115486383438,
-0.0875963345170021,
0.2691800892353058,
-0.037942834198474884,
-0.19511733949184418,
0.007062185555696487,
-0.1156391128897667,
0.31390953063964844,
0.08968880027532578,
0.01211933046579361,
-0.028810426592826843,
0.09866027534008026,
-0.28355690836906433,
-0.23688741028308868,
-0.04159783199429512,
-0.032132379710674286,
0.07190843671560287,
0.10612212121486664,
-0.13503152132034302,
-0.631595253944397,
0.20532438158988953,
0.13813084363937378,
0.06808063387870789,
0.4994923770427704,
-0.00011112533684354275,
0.09633727371692657,
0.4106120467185974,
-0.013887942768633366,
-0.18706539273262024,
0.1329527646303177,
-0.46512314677238464,
-0.076371930539608,
0.04581320285797119,
0.006798848509788513,
-0.2657994329929352,
-0.2669910490512848,
-0.05965054780244827,
-0.2587926685810089,
0.3884009122848511,
0.21598415076732635,
0.167613685131073,
0.0975756123661995,
0.2409447580575943,
-0.19127625226974487,
-0.11922948807477951,
0.2464890480041504,
-0.10211724042892456,
0.03523707389831543,
0.07408583164215088,
0.3286035656929016,
-0.007304951548576355,
0.6350607872009277,
0.3116295337677002,
0.07877860963344574,
0.04869552329182625,
-0.06561141461133957,
-0.2063831388950348,
-0.10797791182994843,
0.25086596608161926,
0.1740160882472992,
0.9422436952590942,
0.2071552872657776,
-0.20395998656749725,
-0.016373828053474426,
-0.15736480057239532,
-0.3371634781360626,
0.27584928274154663,
0.24610070884227753,
-0.014661861583590508,
0.31997573375701904,
-0.10464642941951752,
0.00792127288877964,
-0.14018714427947998,
-0.24051596224308014,
-0.3096315860748291,
-0.05738291144371033,
0.01210084930062294,
-0.01653549075126648,
0.45150935649871826,
-0.08976676315069199,
0.30129164457321167,
0.16785481572151184,
-0.5292136073112488,
0.023274049162864685,
-0.6130573153495789,
-0.2037598341703415,
-0.08251408487558365,
0.009379863739013672,
0.03407496213912964,
0.16952894628047943,
0.0059007685631513596,
0.17585515975952148,
-0.09445446729660034,
0.08303367346525192,
0.3937874436378479,
0.35332003235816956,
0.26327967643737793,
0.5677445530891418,
0.2000921070575714,
-0.005294269882142544,
0.13579541444778442,
-0.09799826890230179,
0.060768187046051025,
-0.25925639271736145,
0.03266186639666557,
0.027391154319047928,
0.005362376570701599,
-0.33274808526039124,
-0.4650352895259857,
0.25831344723701477,
-0.31232723593711853,
-0.016012022271752357,
0.24513673782348633,
0.31595519185066223,
-0.11524005979299545,
0.3051471710205078,
-0.16626963019371033,
-0.1274559497833252,
-0.2005794495344162,
-0.37792354822158813,
-0.17506685853004456,
-0.12705294787883759,
-0.2818991243839264,
-0.2544775605201721,
0.3325071930885315,
-0.32701975107192993,
0.06153031438589096,
-0.15438872575759888,
-0.03743375837802887,
0.011713813990354538,
0.048313505947589874,
-0.2817724049091339,
0.31335321068763733,
0.34612101316452026,
0.16875405609607697,
-0.06057606637477875,
0.17478340864181519,
-0.09833982586860657,
0.1145327016711235,
0.15247872471809387,
-0.12766239047050476,
-0.2578831911087036,
-0.06768576055765152,
0.2605615556240082,
-0.11758469045162201,
0.15157893300056458,
0.3581790626049042,
0.12872314453125,
-0.029496096074581146,
-0.30393049120903015,
-0.24148011207580566,
0.042451709508895874,
-0.013409066945314407,
0.06680624186992645,
0.3593496084213257,
0.5871580243110657,
-0.5883284211158752,
-0.08814737200737,
-0.2704859972000122,
-0.26794928312301636,
-0.037483297288417816,
0.44257479906082153,
-0.07475220412015915,
-0.03154883533716202,
-0.28764060139656067,
0.09481002390384674,
0.18894991278648376,
-0.20368675887584686,
-0.4806157648563385,
0.32030871510505676,
-0.07129167765378952,
-0.06764732301235199,
0.25549736618995667,
-0.06562544405460358,
0.6847697496414185,
-0.12138662487268448,
0.09452333301305771,
-0.2438606172800064,
-0.1101275086402893,
0.051485612988471985,
-0.4046483337879181,
0.042181648313999176,
0.22257354855537415,
0.06839956343173981,
0.4071241319179535,
-0.21540486812591553,
0.20188166201114655,
0.04276846721768379,
0.17373064160346985,
0.06915247440338135,
0.173996239900589,
0.2585505247116089,
0.3278456926345825,
0.039029475301504135,
0.3471170961856842,
-0.06848950684070587,
-0.3268805742263794,
0.06226895749568939,
0.14343777298927307,
-0.17592476308345795,
0.39924532175064087,
-0.17069710791110992,
-0.5082879662513733,
-0.04760249704122543,
-0.31555938720703125,
-0.31758996844291687,
0.1294984668493271,
0.0851079598069191,
0.08163319528102875,
-0.10340604186058044,
-0.11656664311885834,
0.2082565724849701,
0.18762122094631195,
0.1810460090637207,
0.013072380796074867,
0.20749035477638245,
-0.3041098415851593,
-0.060993388295173645,
-0.19064496457576752,
0.08332835882902145,
0.23569852113723755,
-0.14797963201999664,
-0.09016738086938858,
0.41400107741355896,
0.3420831561088562,
-0.059041544795036316,
0.3254266083240509,
-0.19108550250530243,
0.24114055931568146,
-0.388154536485672,
0.06761667132377625,
0.1543516367673874,
0.06623893231153488,
0.05076347291469574,
-0.5452724695205688,
-0.07462827861309052,
-0.3788895010948181,
0.029403313994407654,
-0.19174204766750336,
0.2784169912338257,
0.3855206072330475,
-0.16748954355716705,
-0.040374740958213806,
-0.5349438190460205,
0.31188005208969116,
-0.1243818998336792,
0.01886209100484848,
-0.11280876398086548,
-0.35446736216545105,
0.10562047362327576,
0.10311385989189148,
0.05674739554524422,
-0.04445049911737442,
-0.029149450361728668,
-0.22532042860984802,
0.013503260910511017,
0.11165465414524078,
0.05038147047162056,
0.158735454082489,
0.19147954881191254,
-0.0007177293300628662,
-0.17003457248210907,
0.2551175057888031,
-0.14593730866909027,
0.10837171226739883,
-0.04383086413145065,
-0.3202674090862274,
0.3176523447036743,
-0.05618545413017273,
-0.06081051006913185,
-0.37828490138053894,
0.401802659034729,
0.38982316851615906,
0.11441197991371155,
-0.3020554184913635,
-0.23972439765930176,
-0.22460685670375824,
0.12674200534820557,
-0.17310994863510132,
-0.21157565712928772,
-0.17035382986068726,
-0.3035953640937805,
0.2802945673465729,
0.20844686031341553,
0.013767223805189133,
0.4640964865684509,
-0.014296101406216621,
0.10115248709917068,
0.08150705695152283,
0.2689143717288971,
-0.20212587714195251,
-0.2834171652793884,
-0.14829489588737488,
0.1151176244020462,
0.1503172367811203,
0.07395777106285095,
0.22752074897289276,
-0.19049067795276642,
0.17998744547367096,
-0.509339451789856,
-0.47829094529151917,
0.15153010189533234,
-0.08493413031101227,
0.15502524375915527,
0.08001349121332169,
0.06174347922205925,
0.11016419529914856,
0.18824289739131927,
0.04909510910511017,
0.059478484094142914,
-0.18789739906787872,
0.01858961582183838,
0.09168664366006851,
-0.058067914098501205,
-0.15621572732925415,
-0.2976333200931549,
-0.08404390513896942,
-0.46388760209083557,
-0.007842384278774261,
-0.24779123067855835,
-0.05888046324253082,
-0.33079278469085693,
-0.021108660846948624,
-0.24279600381851196,
0.06066107004880905,
-0.2874108552932739,
-0.37434688210487366,
-0.028166815638542175,
0.21415886282920837,
-0.4201993942260742,
-0.35702526569366455,
0.42291033267974854,
0.12014193832874298,
0.13362516462802887,
-0.0041723912581801414,
-0.23462454974651337,
0.16662952303886414,
-0.14115408062934875,
0.03876898065209389,
-0.05972769856452942,
-0.2608896791934967,
0.5093849897384644,
0.05191599205136299,
0.021411364898085594,
-0.017079830169677734,
-0.1428738236427307,
0.015480972826480865,
-0.218043714761734,
0.23490071296691895,
-0.3126237988471985,
0.10028872638940811,
0.26408421993255615,
0.6219380497932434,
0.25722843408584595,
-0.0006508082151412964,
0.11949309706687927,
0.22712545096874237,
0.5256239771842957,
-0.18277302384376526,
-0.541926383972168,
0.3356338143348694,
0.022864624857902527,
0.03051428496837616,
0.11867646872997284,
0.041712138801813126,
-0.18920446932315826,
-0.1346103847026825,
-0.09061318635940552,
-0.35146668553352356,
-0.28486111760139465,
0.05033566802740097,
-0.2806956470012665,
0.3944198191165924,
0.18228156864643097,
0.30397093296051025,
-0.1184823215007782,
-0.036744724959135056,
-0.07032585889101028,
0.4352229833602905,
0.24269697070121765,
-0.025669950991868973,
-0.30537813901901245,
0.15368957817554474,
0.00203154981136322,
0.2196151167154312,
-0.10291945189237595,
-0.055607110261917114,
-0.24086111783981323,
-0.1073572188615799,
0.13912056386470795,
-0.2001466453075409,
0.7749836444854736,
-0.0709788054227829,
0.26717281341552734,
0.032216522842645645,
0.1528029888868332,
0.2051773965358734,
-0.08214609324932098,
0.14053599536418915,
-0.3119046688079834,
0.09536239504814148,
0.007702454924583435,
-0.36781051754951477,
-0.16770440340042114,
0.5323565006256104,
-0.32012128829956055,
-0.2865341603755951,
-0.1125965416431427,
-0.05288911238312721,
0.19397538900375366,
-0.2537320852279663,
0.1379270702600479,
-0.141929492354393,
0.08466173708438873,
-0.0017760603222995996,
0.19096417725086212,
-0.3313889503479004,
-0.2952604591846466,
-0.10604007542133331,
0.2342044562101364,
0.4707212448120117,
-0.16333310306072235,
0.3825340270996094,
0.4611257314682007,
0.2612200975418091,
0.40045875310897827,
0.3238637447357178,
-0.03181545063853264,
-0.4221312403678894,
0.2406947910785675,
-0.19897964596748352,
-0.03819269686937332,
0.08937852829694748,
0.009004981257021427,
-0.2199769914150238,
-0.02881818637251854,
0.2748225927352905,
-0.23272505402565002,
0.2751486599445343,
0.21990370750427246,
0.05915088206529617,
-0.31764358282089233,
-0.21915827691555023,
-0.21374168992042542,
-0.030571527779102325,
-0.07854153215885162,
-0.015981093049049377,
0.3527330160140991,
-0.0316435843706131,
-0.18710339069366455,
0.15713705122470856,
0.7047027349472046,
0.2975805997848511,
-0.13776478171348572,
0.14761625230312347,
-0.3197327256202698,
-0.1603807508945465,
-0.22001920640468597,
0.24119888246059418,
-0.4002216160297394,
-0.31444960832595825,
-0.12178236246109009,
0.09793373942375183,
0.4104129672050476,
-0.05862899124622345,
-0.26929548382759094,
0.003902419237419963,
0.28720104694366455,
0.30777648091316223,
0.018421584740281105,
0.15431629121303558,
-0.09249021857976913,
-0.14698487520217896,
0.25361204147338867,
0.15819770097732544,
-0.13329529762268066,
0.13756036758422852,
-0.016607658937573433,
-0.08215141296386719,
0.21450427174568176,
-0.2994040250778198,
-0.5208168029785156,
0.06809264421463013,
0.1330215334892273,
0.10573238879442215,
-0.044560763984918594,
-0.3579486608505249,
0.0943225771188736,
0.0946953296661377,
0.33950275182724,
0.3215995132923126,
-0.15960150957107544,
0.5793301463127136,
0.07640035450458527,
-0.0990656241774559,
-0.122128926217556,
-0.03317733481526375,
0.27127954363822937,
-0.09247533977031708,
-0.247793048620224,
-0.0016364753246307373,
-0.1841314285993576,
-0.0751100704073906,
-0.2179306596517563,
0.19761446118354797,
0.023517072200775146,
-0.4037568271160126,
0.35816988348960876,
-0.019589953124523163,
-0.011337688192725182,
-0.1089508980512619,
0.1355937272310257,
0.012160301208496094,
-0.142698273062706,
0.05256424471735954,
-0.22812573611736298,
0.04395917057991028,
-0.07513472437858582,
0.30172237753868103,
0.05079444497823715,
-0.20824594795703888,
0.3999071419239044,
-0.13006636500358582,
-0.15323305130004883,
-0.3824689984321594,
0.11561385542154312,
0.151626855134964,
-0.36782264709472656,
0.19455046951770782,
-0.15921302139759064,
-0.31214669346809387,
0.4091039299964905,
0.062173277139663696,
0.029376370832324028,
0.012463033199310303,
-0.2177097350358963,
-0.31660395860671997,
0.038921333849430084,
0.04724106565117836,
-0.3700597286224365,
0.20025700330734253,
0.08243411779403687,
-0.10762369632720947,
-0.06963074952363968,
0.11194410175085068,
-0.3370538353919983,
0.06193014979362488,
-0.03960561752319336,
0.23866117000579834,
-0.1462055891752243,
-0.5093798041343689,
0.2089761346578598,
-0.3040567636489868,
0.08457206189632416,
0.2442162185907364,
-0.1339021623134613,
-0.17455285787582397,
-0.023089904338121414,
0.0876045823097229,
-0.03987259417772293,
0.26839059591293335,
-0.26002222299575806,
0.16402538120746613,
-0.23181474208831787,
-0.02835073322057724,
0.14743837714195251,
-0.10106213390827179,
-0.09051387012004852,
0.033918723464012146,
0.0714002251625061,
0.12007927149534225,
-0.015326574444770813,
0.17290930449962616,
0.07497304677963257,
0.27191948890686035,
-0.12702199816703796,
0.07340241968631744,
-0.33289533853530884,
-0.0012485012412071228,
-0.22416861355304718,
0.4147772490978241,
0.3343725800514221,
-0.031180627644062042,
0.4664230942726135,
-0.2982659339904785,
0.19395937025547028,
0.05094269663095474,
0.4513342082500458,
0.16757912933826447,
0.09979495406150818,
-0.016915734857320786,
0.3258914649486542,
0.22580887377262115,
-0.3148880898952484,
-0.08223763853311539,
0.12539230287075043,
-0.022089526057243347,
0.21982568502426147,
0.009039036929607391,
0.00878748670220375,
0.02481083571910858,
0.24594327807426453,
0.29800182580947876,
0.6647924184799194,
-0.32016974687576294,
0.45851168036460876,
0.5173360705375671,
-0.2450302392244339,
0.08659888803958893,
0.19041593372821808,
-0.17591047286987305,
0.1250411570072174,
0.44248682260513306,
-0.23612850904464722,
0.24608473479747772,
0.13883686065673828,
0.3218412399291992,
0.12051911652088165,
-0.30087795853614807,
-0.15320812165737152,
0.000042811036109924316,
-0.1556641161441803,
0.160785511136055,
-0.036784179508686066,
0.009265735745429993,
-0.2054346352815628,
-0.3310677409172058,
-0.5687365531921387,
0.17572255432605743,
-0.14623242616653442,
0.25936949253082275,
-0.5188091397285461,
-0.08215084671974182,
-0.16406068205833435,
0.14720124006271362,
0.14754070341587067,
0.1715610921382904,
0.1380499303340912,
-0.15054108202457428,
-0.22440321743488312,
-0.24617429077625275,
-0.12713205814361572,
0.23911044001579285,
0.14770928025245667,
-0.25924667716026306,
0.14051727950572968,
0.22391748428344727,
-0.23394936323165894,
0.3037378787994385,
0.45618340373039246,
0.16892161965370178,
0.1307753026485443,
0.0033194180577993393,
-0.1187920793890953,
-0.03463377058506012,
-0.21088936924934387,
-0.034218400716781616,
0.20717239379882812,
-0.01927744597196579,
0.13433906435966492,
0.2637360692024231,
0.12293601036071777,
-0.18269701302051544,
0.2609090209007263,
-0.264774888753891,
0.3759385645389557,
-0.2929074168205261,
-0.13364729285240173,
0.07139553129673004,
-0.062468282878398895,
-0.19542530179023743,
-0.13826090097427368,
-0.3274169862270355,
0.01461399719119072,
-0.0472973994910717,
0.1471516489982605,
0.08302808552980423,
-0.3827195167541504,
0.06247073411941528,
0.24929000437259674,
0.4585685729980469,
0.07882153987884521,
-0.6044943928718567,
-0.22180531919002533,
-0.2046695053577423,
-0.5553233623504639,
0.21356630325317383,
-0.13000176846981049,
0.14884278178215027,
-0.02533877268433571,
0.041152141988277435,
-0.02056199312210083,
0.19071878492832184,
0.24634835124015808,
0.10547561198472977,
0.22259213030338287,
0.2731170654296875,
-0.2674141824245453,
0.11135624349117279,
0.33800745010375977,
-0.1077280342578888,
0.022681821137666702,
-0.2925304174423218,
0.4120982885360718,
0.2520507872104645,
0.022544555366039276,
0.40377670526504517,
0.022921063005924225,
0.0508107952773571,
-0.16244535148143768,
-0.03657519817352295,
0.20385439693927765,
0.0876249298453331,
0.22447234392166138,
0.11885390430688858,
-0.2912008762359619,
-0.1983596831560135,
-0.3695332109928131,
0.16570033133029938,
0.5161989331245422,
0.545177698135376,
-0.2134123593568802,
-0.1299440562725067,
-0.17947892844676971,
-0.043468911200761795,
0.0007963962852954865,
0.17841939628124237,
-0.17063404619693756,
0.11419568210840225,
0.09451086074113846,
0.16559405624866486,
0.33373087644577026,
0.23410916328430176,
0.050564393401145935,
-0.1543438881635666,
-0.3104231655597687,
-0.4769822359085083,
0.1526988446712494,
-0.2807259261608124,
-0.1146412193775177,
-0.16431252658367157,
0.027821242809295654,
0.30077502131462097,
-0.2567100524902344,
-0.29842841625213623,
0.03292291611433029,
0.2402777075767517,
0.015194587409496307,
0.015374265611171722,
-0.18259590864181519,
0.2929699718952179,
-0.2696516215801239,
-0.09994424134492874,
0.20317710936069489,
0.530163049697876,
-0.11718945950269699,
0.21726927161216736,
0.08069335669279099
] |
https://github.com/huggingface/datasets/issues/4635 | Dataset Viewer issue for vadis/sv-ident | I'm closing this issue as it was solved after forcing the refresh of the split in the preview. | ### Link
https://huggingface.co/datasets/vadis/sv-ident/viewer/default/validation
### Description
Error message when loading validation split in the viewer:
```
Status code: 400
Exception: Status400Error
Message: The split cache is empty.
```
### Owner
_No response_ | 18 | Dataset Viewer issue for vadis/sv-ident
### Link
https://huggingface.co/datasets/vadis/sv-ident/viewer/default/validation
### Description
Error message when loading validation split in the viewer:
```
Status code: 400
Exception: Status400Error
Message: The split cache is empty.
```
### Owner
_No response_
I'm closing this issue as it was solved after forcing the refresh of the split in the preview. | [
-0.3871881663799286,
-0.13803379237651825,
0.004316709935665131,
0.3520898222923279,
0.1833469569683075,
0.01337248831987381,
0.32116201519966125,
0.35191860795021057,
0.07210017740726471,
0.1528877466917038,
-0.19447346031665802,
-0.023558838292956352,
0.1666756272315979,
-0.029064765200018883,
-0.22377550601959229,
0.019748423248529434,
-0.14861392974853516,
0.2967239022254944,
0.03426198288798332,
0.015768982470035553,
-0.05325403809547424,
0.11990691721439362,
-0.24587124586105347,
-0.15172946453094482,
-0.017643293365836143,
-0.05930076539516449,
0.15316574275493622,
0.04493442922830582,
-0.154399573802948,
-0.6072055697441101,
0.22122599184513092,
0.13295195996761322,
0.06897029280662537,
0.4882802367210388,
-0.00011317500320728868,
0.13207408785820007,
0.4144212603569031,
-0.015474850311875343,
-0.09082134068012238,
0.06216137111186981,
-0.5176506042480469,
-0.09846378117799759,
0.011046459898352623,
0.00782398134469986,
-0.3151611089706421,
-0.28938350081443787,
-0.0943760946393013,
-0.2955990433692932,
0.39075005054473877,
0.22929908335208893,
0.1406659632921219,
0.1331525593996048,
0.21139158308506012,
-0.17166204750537872,
-0.07362651079893112,
0.29788392782211304,
-0.1480095535516739,
-0.0332028791308403,
0.0568728893995285,
0.2781738340854645,
-0.014602161943912506,
0.5877906680107117,
0.3097892105579376,
0.0668548196554184,
0.009201191365718842,
-0.09868091344833374,
-0.11239049583673477,
-0.1926250457763672,
0.23247629404067993,
0.24010524153709412,
0.9907203316688538,
0.1802133023738861,
-0.21782603859901428,
-0.009651236236095428,
-0.10042040050029755,
-0.1846807599067688,
0.3055511713027954,
0.29542577266693115,
-0.08189335465431213,
0.2993984818458557,
-0.23578156530857086,
0.061373237520456314,
-0.2053491473197937,
-0.23472090065479279,
-0.2779996693134308,
-0.0370543897151947,
-0.0040219370275735855,
-0.0032860711216926575,
0.39510658383369446,
-0.13779348134994507,
0.34408676624298096,
0.0764535591006279,
-0.5676271915435791,
0.08280970901250839,
-0.632071316242218,
-0.2429596483707428,
-0.104772187769413,
-0.05447981506586075,
0.06746214628219604,
0.18668192625045776,
-0.024754121899604797,
0.1616452932357788,
-0.10578439384698868,
0.055710602551698685,
0.37801843881607056,
0.3187405467033386,
0.29831114411354065,
0.655368983745575,
0.1724473237991333,
-0.0141448974609375,
0.23634013533592224,
-0.08854057639837265,
0.03634608909487724,
-0.25932925939559937,
-0.017674777656793594,
0.01909361220896244,
0.06704384833574295,
-0.33462440967559814,
-0.5067666172981262,
0.3191339671611786,
-0.40019020438194275,
-0.0044561587274074554,
0.2812609076499939,
0.37087997794151306,
-0.09669425338506699,
0.25821641087532043,
-0.15459394454956055,
-0.08860960602760315,
-0.11889500916004181,
-0.30193108320236206,
-0.1598448008298874,
-0.13075722754001617,
-0.26336196064949036,
-0.23992393910884857,
0.3017617464065552,
-0.21597294509410858,
0.05928358435630798,
-0.1017589345574379,
-0.024072684347629547,
-0.002140890806913376,
0.11395047605037689,
-0.28537338972091675,
0.3039207458496094,
0.37775710225105286,
0.16369125247001648,
-0.07241705805063248,
0.11731895804405212,
-0.15969175100326538,
0.08071085065603256,
0.16679981350898743,
-0.12894457578659058,
-0.25703689455986023,
-0.060551851987838745,
0.24173425137996674,
-0.21940264105796814,
0.20266160368919373,
0.3047845959663391,
0.13043054938316345,
-0.01657959818840027,
-0.23087303340435028,
-0.2076529860496521,
0.03419698029756546,
-0.019674785435199738,
0.0849929079413414,
0.3401826024055481,
0.5577167272567749,
-0.5527731776237488,
-0.14050814509391785,
-0.2774551808834076,
-0.3392886221408844,
0.008593037724494934,
0.4031730592250824,
-0.07551311701536179,
0.02090604603290558,
-0.3045896589756012,
0.12508903443813324,
0.2501479983329773,
-0.19517147541046143,
-0.5384190678596497,
0.3962256908416748,
-0.11720682680606842,
-0.05133034288883209,
0.24451196193695068,
-0.09498773515224457,
0.7172951698303223,
-0.14081771671772003,
0.026077918708324432,
-0.24380894005298615,
-0.0645199790596962,
0.06325946003198624,
-0.3812236785888672,
0.037670351564884186,
0.2185402810573578,
0.170181006193161,
0.4242071211338043,
-0.25217732787132263,
0.1766788363456726,
0.05315759778022766,
0.12730664014816284,
0.0676964670419693,
0.20990876853466034,
0.24196307361125946,
0.376022607088089,
0.005096569657325745,
0.30578020215034485,
-0.060754336416721344,
-0.30532845854759216,
0.05676475912332535,
0.05321817100048065,
-0.18283803761005402,
0.35186976194381714,
-0.18921327590942383,
-0.5379207134246826,
0.030124297365546227,
-0.3395656943321228,
-0.3139795660972595,
0.11911125481128693,
0.03874275088310242,
0.052253108471632004,
-0.11306604743003845,
-0.09355813264846802,
0.20010273158550262,
0.17295785248279572,
0.1506700962781906,
0.06852050125598907,
0.18917952477931976,
-0.24712930619716644,
-0.042992208153009415,
-0.14259396493434906,
0.11977668106555939,
0.2202407419681549,
-0.14537712931632996,
-0.11765704303979874,
0.35890334844589233,
0.29147806763648987,
-0.06128986179828644,
0.31835681200027466,
-0.1835872083902359,
0.26105964183807373,
-0.44974714517593384,
0.07577862590551376,
0.13610681891441345,
0.07622601836919785,
0.012231625616550446,
-0.554891049861908,
-0.022431790828704834,
-0.3553149402141571,
0.041995178908109665,
-0.2639049291610718,
0.27998778223991394,
0.35951220989227295,
-0.16592921316623688,
-0.08019764721393585,
-0.536040186882019,
0.3366848826408386,
-0.13928307592868805,
0.13334956765174866,
-0.12873393297195435,
-0.30645841360092163,
0.0732290968298912,
0.07620325684547424,
0.010880112648010254,
-0.023376740515232086,
0.024128636345267296,
-0.2305835485458374,
0.02712775021791458,
0.1050279289484024,
0.04616808518767357,
0.24618488550186157,
0.15192900598049164,
-0.08327244222164154,
-0.15294277667999268,
0.29605230689048767,
-0.1880592703819275,
0.13435283303260803,
-0.09503571689128876,
-0.3292829990386963,
0.3573979437351227,
-0.04399285838007927,
-0.0633506253361702,
-0.32218804955482483,
0.3608400225639343,
0.36067357659339905,
0.12583886086940765,
-0.331808477640152,
-0.2688579857349396,
-0.17112894356250763,
0.12792029976844788,
-0.14596791565418243,
-0.20618793368339539,
-0.14619365334510803,
-0.2536199688911438,
0.26413244009017944,
0.16056376695632935,
-0.007343430072069168,
0.508819580078125,
0.03998346999287605,
0.055003806948661804,
0.09224740415811539,
0.2921771705150604,
-0.15425357222557068,
-0.2706972360610962,
-0.10433316975831985,
0.1018994003534317,
0.1062060296535492,
0.07058292627334595,
0.24009695649147034,
-0.18990671634674072,
0.16975896060466766,
-0.5247284173965454,
-0.4198816120624542,
0.1790498048067093,
-0.06363203376531601,
0.19894081354141235,
0.07927712053060532,
0.04241699352860451,
0.19701555371284485,
0.16823214292526245,
0.014091184362769127,
0.18135705590248108,
-0.18247707188129425,
0.041138824075460434,
0.06827551871538162,
-0.11345306038856506,
-0.11040596663951874,
-0.23130789399147034,
-0.14600691199302673,
-0.4462006092071533,
0.015123233199119568,
-0.2777850925922394,
-0.03411693871021271,
-0.3664614260196686,
-0.014906566590070724,
-0.18023382127285004,
0.04412040486931801,
-0.27119532227516174,
-0.370028018951416,
-0.03339357301592827,
0.24153822660446167,
-0.4037841856479645,
-0.37174129486083984,
0.4237328767776489,
0.12078715860843658,
0.13902157545089722,
0.0341174378991127,
-0.2259615957736969,
0.22989307343959808,
-0.12212809920310974,
0.10552807152271271,
-0.062093883752822876,
-0.2986904978752136,
0.5349776744842529,
0.006732042878866196,
0.08596273511648178,
-0.021889198571443558,
-0.09953281283378601,
0.030723415315151215,
-0.3001687526702881,
0.2719448208808899,
-0.28101298213005066,
0.12016721069812775,
0.21611028909683228,
0.6738950610160828,
0.37833482027053833,
0.0035908930003643036,
0.1256251335144043,
0.24240601062774658,
0.505995512008667,
-0.08466582745313644,
-0.5133460164070129,
0.2770560085773468,
0.11827655881643295,
0.0686546266078949,
0.12610045075416565,
-0.03008471056818962,
-0.26056113839149475,
-0.1146668940782547,
-0.14921331405639648,
-0.3282082676887512,
-0.271487832069397,
0.0387348048388958,
-0.30916649103164673,
0.38632136583328247,
0.13739342987537384,
0.30069833993911743,
-0.038354456424713135,
-0.019299158826470375,
-0.06901486217975616,
0.48229169845581055,
0.2532871961593628,
-0.039520878344774246,
-0.22697797417640686,
0.16877156496047974,
-0.046066440641880035,
0.22626182436943054,
-0.10743627697229385,
-0.008220993913710117,
-0.2836451232433319,
-0.07729355990886688,
0.1313537359237671,
-0.1708778291940689,
0.8138854503631592,
-0.09022677689790726,
0.2554425597190857,
0.02170553430914879,
0.10514518618583679,
0.18479041755199432,
-0.11715817451477051,
0.11012133955955505,
-0.21626578271389008,
0.058972958475351334,
0.11651960015296936,
-0.3593517541885376,
-0.19902481138706207,
0.5041666030883789,
-0.39926669001579285,
-0.23237399756908417,
-0.19525757431983948,
0.007931504398584366,
0.21811941266059875,
-0.2267242819070816,
0.16148068010807037,
-0.16667601466178894,
0.0889253169298172,
-0.03421328216791153,
0.14202487468719482,
-0.364101767539978,
-0.24297171831130981,
-0.07903929054737091,
0.29427072405815125,
0.4413076341152191,
-0.2605709433555603,
0.45783331990242004,
0.4529808461666107,
0.14899954199790955,
0.39240148663520813,
0.25446754693984985,
0.08455173671245575,
-0.4723004102706909,
0.24288415908813477,
-0.24703505635261536,
-0.050672970712184906,
0.07110071182250977,
-0.06094977259635925,
-0.24972736835479736,
-0.08088450878858566,
0.27535152435302734,
-0.2771363854408264,
0.31536176800727844,
0.24300602078437805,
0.05855146050453186,
-0.3663877844810486,
-0.22279416024684906,
-0.11133260279893875,
-0.009865453466773033,
-0.11235097795724869,
-0.0372132807970047,
0.31543266773223877,
-0.08270105719566345,
-0.18738260865211487,
0.22123578190803528,
0.6805242896080017,
0.3142966628074646,
-0.14952149987220764,
0.13106730580329895,
-0.284162700176239,
-0.23111625015735626,
-0.2537417709827423,
0.1579352170228958,
-0.3867170512676239,
-0.36588501930236816,
-0.14582787454128265,
0.02554958686232567,
0.4269427955150604,
-0.013267174363136292,
-0.22722619771957397,
0.003576260758563876,
0.32348376512527466,
0.340610146522522,
0.005629278719425201,
0.10313113033771515,
-0.09034828841686249,
-0.1625138819217682,
0.2398199588060379,
0.14474917948246002,
-0.21008487045764923,
0.14188767969608307,
-0.023343835026025772,
-0.09445441514253616,
0.1443769484758377,
-0.30211150646209717,
-0.5944390892982483,
0.12708833813667297,
0.11131593585014343,
0.06717189401388168,
-0.022820979356765747,
-0.34759289026260376,
0.22612600028514862,
0.14172787964344025,
0.2899230122566223,
0.3553667962551117,
-0.16621579229831696,
0.5442500114440918,
0.1113402396440506,
-0.07365228980779648,
-0.12930849194526672,
0.005200505256652832,
0.2377706915140152,
-0.09339480102062225,
-0.19581033289432526,
0.019270114600658417,
-0.18536975979804993,
0.0591544583439827,
-0.19311003386974335,
0.17223767936229706,
0.025799624621868134,
-0.4775944650173187,
0.24842919409275055,
-0.08561946451663971,
0.010418962687253952,
-0.042879946529865265,
0.12831056118011475,
0.004839316010475159,
-0.19035616517066956,
0.054271019995212555,
-0.213289275765419,
0.029083795845508575,
-0.04326566681265831,
0.2922590672969818,
0.021199729293584824,
-0.16166339814662933,
0.40169763565063477,
-0.17217417061328888,
-0.14992833137512207,
-0.3685202896595001,
0.20910191535949707,
0.16672073304653168,
-0.41839900612831116,
0.22585028409957886,
-0.13670384883880615,
-0.3683270215988159,
0.3512781262397766,
0.07334871590137482,
0.016465311869978905,
-0.08816426247358322,
-0.17919428646564484,
-0.3417084515094757,
0.055291131138801575,
0.03985327109694481,
-0.42457544803619385,
0.2389303296804428,
0.02677612006664276,
-0.0862620621919632,
-0.10314541310071945,
0.07095334678888321,
-0.3113030791282654,
0.011517873965203762,
-0.1265764832496643,
0.2173900157213211,
-0.08937978744506836,
-0.4696860611438751,
0.19809357821941376,
-0.3267810642719269,
0.06388227641582489,
0.2554304599761963,
-0.15332430601119995,
-0.16005390882492065,
-0.05882175266742706,
0.10105276852846146,
-0.000621747225522995,
0.24144597351551056,
-0.21923907101154327,
0.187691792845726,
-0.2829403281211853,
-0.02194909192621708,
0.140412837266922,
-0.061657391488552094,
-0.06794370710849762,
0.04167700558900833,
0.11179697513580322,
0.09864814579486847,
-0.1150367259979248,
0.2170732021331787,
0.07012106478214264,
0.2529171109199524,
-0.22112736105918884,
0.06333353370428085,
-0.30350175499916077,
-0.021126974374055862,
-0.2239341139793396,
0.38856691122055054,
0.3912382125854492,
-0.014651846140623093,
0.4844467043876648,
-0.2459796816110611,
0.233371764421463,
0.13324710726737976,
0.37828943133354187,
0.12879690527915955,
0.03577820956707001,
-0.01886734738945961,
0.3019203543663025,
0.19333115220069885,
-0.27899661660194397,
-0.10227059572935104,
0.12836229801177979,
-0.035902395844459534,
0.17140625417232513,
0.005110755562782288,
-0.044153712689876556,
0.10086843371391296,
0.2397536188364029,
0.30049431324005127,
0.6622072458267212,
-0.2855202555656433,
0.5116636753082275,
0.5552604794502258,
-0.2454671412706375,
0.15984465181827545,
0.1939937174320221,
-0.11049747467041016,
0.10574989020824432,
0.4341702461242676,
-0.25201937556266785,
0.23573964834213257,
0.12426525354385376,
0.32988443970680237,
0.15590181946754456,
-0.30743300914764404,
-0.15549331903457642,
-0.04461698234081268,
-0.1877395510673523,
0.23838797211647034,
-0.036255963146686554,
-0.01653185486793518,
-0.203969806432724,
-0.25487634539604187,
-0.5443935990333557,
0.18008260428905487,
-0.1633377969264984,
0.2577744126319885,
-0.512944221496582,
-0.06854891777038574,
-0.21816526353359222,
0.13765379786491394,
0.10091744363307953,
0.12710486352443695,
0.07332399487495422,
-0.09536540508270264,
-0.1396781951189041,
-0.19125011563301086,
-0.04040701687335968,
0.2993372082710266,
0.11939027905464172,
-0.29902902245521545,
0.17347300052642822,
0.21720758080482483,
-0.21483516693115234,
0.27007392048835754,
0.43259596824645996,
0.20880617201328278,
0.17379499971866608,
-0.02789761871099472,
-0.07943043857812881,
0.002921914681792259,
-0.21472790837287903,
0.03705720230937004,
0.23035073280334473,
-0.02398288995027542,
0.1322719305753708,
0.20940491557121277,
0.10748499631881714,
-0.15846741199493408,
0.24997954070568085,
-0.25127899646759033,
0.42219147086143494,
-0.2784690260887146,
-0.10916421562433243,
-0.04216565936803818,
-0.08870548009872437,
-0.17978043854236603,
-0.18228325247764587,
-0.23988544940948486,
0.07593580335378647,
-0.0397934727370739,
0.2416115403175354,
0.12011710554361343,
-0.37216615676879883,
0.055712535977363586,
0.25516995787620544,
0.44810155034065247,
0.07145620882511139,
-0.6286090612411499,
-0.24099713563919067,
-0.16907602548599243,
-0.5425475835800171,
0.17811410129070282,
-0.06786829233169556,
0.10317157208919525,
0.028462480753660202,
-0.055294036865234375,
-0.06519917398691177,
0.22769713401794434,
0.2416454255580902,
0.16008292138576508,
0.27725160121917725,
0.3379174768924713,
-0.22825904190540314,
0.03756803274154663,
0.32670390605926514,
-0.16935856640338898,
0.052385345101356506,
-0.30047160387039185,
0.3535558581352234,
0.32439807057380676,
-0.004662323743104935,
0.3234350085258484,
0.013995431363582611,
0.03569013997912407,
-0.21672716736793518,
-0.0870485007762909,
0.17440029978752136,
0.11786741018295288,
0.19653457403182983,
0.22490260004997253,
-0.21322974562644958,
-0.20460213720798492,
-0.3549289107322693,
0.1635264754295349,
0.5282429456710815,
0.5253584384918213,
-0.20137985050678253,
-0.12821155786514282,
-0.19642199575901031,
-0.12039703875780106,
-0.031855612993240356,
0.14059072732925415,
-0.22781045734882355,
0.06057000160217285,
0.02794526517391205,
0.1438974142074585,
0.3439757525920868,
0.24472007155418396,
0.05768933147192001,
-0.097406305372715,
-0.2736899256706238,
-0.526417076587677,
0.17883026599884033,
-0.3188871741294861,
-0.10315731167793274,
-0.0855838805437088,
-0.005356714129447937,
0.24598246812820435,
-0.3206236660480499,
-0.3000583052635193,
0.041712187230587006,
0.27838367223739624,
-0.07324308156967163,
0.07604989409446716,
-0.19693438708782196,
0.33134427666664124,
-0.27533650398254395,
-0.1349448710680008,
0.27397048473358154,
0.5174071788787842,
-0.08806527405977249,
0.23516914248466492,
0.04363219439983368
] |
https://github.com/huggingface/datasets/issues/4634 | Can't load the Hausa audio dataset | Could you provide the error details. It is difficult to debug otherwise. Also try other config. `ha` is not a valid. | common_voice_train = load_dataset("common_voice", "ha", split="train+validation") | 21 | Can't load the Hausa audio dataset
common_voice_train = load_dataset("common_voice", "ha", split="train+validation")
Could you provide the error details. It is difficult to debug otherwise. Also try other config. `ha` is not a valid. | [
-0.3964959979057312,
-0.23399190604686737,
-0.044343993067741394,
-0.006479017436504364,
0.4224725365638733,
0.0707465335726738,
0.4470020532608032,
0.18957611918449402,
0.10116265714168549,
0.20257815718650818,
-0.41158849000930786,
0.03215447813272476,
-0.029980450868606567,
0.18193531036376953,
-0.04684371128678322,
-0.30157527327537537,
0.03965238481760025,
0.15534353256225586,
0.0768231675028801,
-0.20922870934009552,
0.02715185284614563,
0.1985202133655548,
-0.2581523060798645,
0.23886394500732422,
-0.44612351059913635,
-0.05070614814758301,
0.25930386781692505,
0.08890607208013535,
-0.2810393273830414,
-0.2792721092700958,
0.140573650598526,
-0.1416870504617691,
0.17850202322006226,
0.4966178834438324,
-0.0000963017373578623,
0.03151450306177139,
0.4090424180030823,
-0.12452570348978043,
0.1509234607219696,
-0.14383943378925323,
-0.5387629270553589,
0.26065364480018616,
-0.2413628250360489,
0.10261983424425125,
-0.16647738218307495,
0.022071346640586853,
-0.0730501189827919,
-0.20398031175136566,
0.6086561679840088,
0.5353521704673767,
0.35030218958854675,
-0.09978760778903961,
-0.04794333130121231,
-0.2941988408565521,
0.1886599063873291,
0.027289431542158127,
-0.011039260774850845,
0.33082351088523865,
0.06072808802127838,
-0.10030320286750793,
0.08253463357686996,
0.13827989995479584,
0.05893252044916153,
-0.08248449862003326,
-0.09699035435914993,
-0.21319596469402313,
-0.025199927389621735,
-0.2999531626701355,
0.39934563636779785,
0.43352454900741577,
0.9247870445251465,
-0.08802241832017899,
-0.0815453976392746,
0.41642194986343384,
0.14106282591819763,
-0.07210657745599747,
0.15139997005462646,
0.2782938480377197,
-0.007629730738699436,
0.11228576302528381,
0.15057498216629028,
0.12165316939353943,
-0.09352192282676697,
0.038362570106983185,
0.042327672243118286,
0.09109468013048172,
-0.004874635487794876,
-0.15109854936599731,
0.23020651936531067,
-0.0697970986366272,
-0.004451300948858261,
0.27037471532821655,
-0.20606887340545654,
0.430205374956131,
-0.40053850412368774,
-0.006977114826440811,
-0.14893421530723572,
0.01951230689883232,
0.03852010518312454,
-0.2769709825515747,
0.24426043033599854,
0.15865465998649597,
0.10982795804738998,
0.20558509230613708,
0.25251635909080505,
0.02885865420103073,
0.23118233680725098,
-0.13871406018733978,
0.1426737904548645,
0.12183281034231186,
-0.1452481597661972,
-0.14937227964401245,
-0.2550436854362488,
-0.4864896833896637,
0.20310133695602417,
0.005614923313260078,
-0.04912595450878143,
-0.4571947753429413,
-0.19842350482940674,
-0.1360812783241272,
-0.19960418343544006,
-0.29621490836143494,
0.018040088936686516,
0.41707587242126465,
0.1468224972486496,
0.1497374176979065,
0.02621544897556305,
0.24248817563056946,
-0.1124575063586235,
-0.24826785922050476,
-0.23963341116905212,
0.259887158870697,
-0.2330807000398636,
-0.009658105671405792,
0.24596081674098969,
-0.13415218889713287,
0.2893458604812622,
-0.023277007043361664,
0.05523596331477165,
-0.32018348574638367,
0.08843666315078735,
-0.023882459849119186,
-0.2601430416107178,
0.14642544090747833,
0.1499139964580536,
-0.15538176894187927,
-0.03973716124892235,
0.02504853904247284,
-0.009833738207817078,
0.0534537136554718,
-0.17349910736083984,
-0.42395323514938354,
0.1116512268781662,
0.3462402820587158,
0.15615619719028473,
0.10099811851978302,
-0.0921054258942604,
0.12889464199543,
0.07725140452384949,
-0.26470711827278137,
-0.1322649121284485,
-0.10391806066036224,
-0.10735709965229034,
0.08543021231889725,
0.316819965839386,
0.04503946006298065,
-0.32085540890693665,
-0.1592923402786255,
0.11248871684074402,
-0.24172347784042358,
0.020165495574474335,
0.42785966396331787,
-0.2980200946331024,
0.3916865289211273,
-0.024183858186006546,
0.49437981843948364,
0.4133909046649933,
-0.41268178820610046,
-0.23178833723068237,
-0.06413529813289642,
0.1467568278312683,
-0.1507977992296219,
-0.14931222796440125,
-0.19842445850372314,
0.07301302999258041,
0.10145848989486694,
0.2932524085044861,
0.3492133617401123,
0.11867469549179077,
-0.0782231017947197,
-0.19984278082847595,
0.140334814786911,
-0.006614852696657181,
0.3204704821109772,
-0.02800549939274788,
0.03435851261019707,
0.07554878294467926,
0.22567231953144073,
0.48901456594467163,
-0.10966761410236359,
-0.08950259536504745,
0.1727737933397293,
0.36587679386138916,
-0.36286938190460205,
0.01350756362080574,
0.04645814001560211,
0.33300697803497314,
-0.012479452416300774,
-0.24431708455085754,
0.19515493512153625,
0.2917557656764984,
-0.07122347503900528,
-0.37244319915771484,
-0.1596967875957489,
-0.36424124240875244,
-0.03437365964055061,
0.24217280745506287,
-0.04138500988483429,
-0.11561399698257446,
-0.017016945406794548,
-0.12334093451499939,
0.1659131795167923,
0.03505139797925949,
-0.20778894424438477,
-0.35094234347343445,
0.1954086273908615,
-0.27429619431495667,
0.06517086923122406,
0.2843948304653168,
0.14638936519622803,
0.1486084759235382,
0.03611588850617409,
-0.3368012309074402,
0.2856830656528473,
0.024930497631430626,
0.17575743794441223,
-0.41754746437072754,
0.04614700376987457,
0.03715496137738228,
-0.5848634243011475,
0.115984708070755,
-0.09009727835655212,
0.08195656538009644,
-0.18297460675239563,
-0.008967429399490356,
0.11350087076425552,
-0.11360004544258118,
-0.19551876187324524,
0.009166628122329712,
-0.04992755129933357,
0.41666990518569946,
-0.12247137725353241,
-0.1085202693939209,
0.07013116776943207,
0.23931767046451569,
-0.40578600764274597,
0.24756820499897003,
0.05603637546300888,
-0.19997583329677582,
-0.4051216244697571,
0.5677658319473267,
-0.1180378645658493,
-0.0237438827753067,
-0.024736270308494568,
-0.12393415719270706,
-0.09272785484790802,
0.24112293124198914,
-0.11808852851390839,
0.3080616593360901,
0.12411022186279297,
-0.11287890374660492,
0.03832779824733734,
-0.06601361185312271,
-0.10229001939296722,
0.12635645270347595,
-0.2264368087053299,
0.22146913409233093,
0.41221320629119873,
-0.04285223037004471,
-0.07829993218183517,
-0.5033018589019775,
-0.015295997262001038,
-0.0196913443505764,
0.1150028184056282,
-0.2718490660190582,
-0.09213521331548691,
-0.01582259312272072,
0.3041875660419464,
-0.0694836899638176,
-0.12207486480474472,
-0.20292754471302032,
0.023156529292464256,
0.2519131898880005,
0.005503728985786438,
0.04652438685297966,
0.31912556290626526,
-0.02987806871533394,
0.07952126860618591,
-0.037315525114536285,
0.033393241465091705,
-0.015616901218891144,
0.047368381172418594,
-0.1898387372493744,
0.19148072600364685,
0.14376258850097656,
0.23378166556358337,
-0.04372113198041916,
-0.09336332976818085,
0.04763535410165787,
0.24643996357917786,
0.042810484766960144,
0.09202222526073456,
0.05073818564414978,
0.08006610721349716,
-0.19726157188415527,
0.23934273421764374,
0.02435143291950226,
-0.2021474540233612,
0.21165777742862701,
-0.1774366945028305,
-0.12282945215702057,
0.21832838654518127,
-0.11358291655778885,
-0.14728018641471863,
0.06394211947917938,
-0.6685217618942261,
-0.289970725774765,
-0.433293879032135,
0.013857629150152206,
-0.3209436535835266,
-0.08485381305217743,
0.07716117799282074,
0.18090280890464783,
0.000616531353443861,
0.044039856642484665,
0.2372729480266571,
-0.37865158915519714,
-0.258711576461792,
0.3783193826675415,
-0.19795852899551392,
-0.33828553557395935,
0.06640976667404175,
0.03615211695432663,
0.7649134993553162,
-0.1024879738688469,
-0.3285634517669678,
0.16615037620067596,
0.1728440523147583,
-0.20013615489006042,
-0.21210423111915588,
-0.1500273197889328,
0.30085235834121704,
0.09987860172986984,
-0.09502820670604706,
-0.127336785197258,
-0.168221578001976,
0.18040841817855835,
0.15214380621910095,
0.2951659560203552,
-0.13287025690078735,
0.23085585236549377,
-0.17761008441448212,
0.608219563961029,
-0.07763178646564484,
-0.08856622874736786,
0.291698694229126,
0.0477052740752697,
-0.03470127657055855,
-0.14282435178756714,
-0.19055013358592987,
0.10451658070087433,
0.04637966305017471,
0.053284578025341034,
0.25156867504119873,
-0.03255568444728851,
-0.23787857592105865,
-0.25493788719177246,
-0.19146326184272766,
0.017116013914346695,
-0.15764638781547546,
0.08786824345588684,
-0.2563749849796295,
0.010523274540901184,
-0.00333319790661335,
0.11647961288690567,
0.172480970621109,
0.08502952009439468,
0.29258257150650024,
0.1511467695236206,
-0.06473646312952042,
0.07528828084468842,
-0.3187638521194458,
-0.23455214500427246,
-0.23988187313079834,
0.09554355591535568,
-0.13827475905418396,
0.42914459109306335,
-0.3089299201965332,
-0.0026796087622642517,
0.010969586670398712,
-0.029427174478769302,
0.4264712333679199,
-0.353567898273468,
0.13091354072093964,
0.19408325850963593,
0.24737003445625305,
0.16537699103355408,
-0.025739500299096107,
-0.11609980463981628,
-0.12654249370098114,
0.24127133190631866,
0.1568300724029541,
-0.12069481611251831,
0.07509394735097885,
-0.16300104558467865,
0.12944406270980835,
-0.16469401121139526,
-0.33432909846305847,
-0.3414211869239807,
-0.12233028560876846,
-0.23627670109272003,
0.017246820032596588,
0.13701531291007996,
0.20775048434734344,
-0.1066884845495224,
-0.031208530068397522,
0.0977460965514183,
-0.059263721108436584,
0.3036762475967407,
0.2653043270111084,
0.22156178951263428,
-0.10762981325387955,
0.21491765975952148,
0.1671867072582245,
0.24786093831062317,
0.04949730262160301,
0.5963207483291626,
0.003017216920852661,
-0.30437415838241577,
-0.01790652424097061,
-0.24946649372577667,
0.2793697714805603,
0.048903509974479675,
0.08580128848552704,
-0.028382636606693268,
0.2194652110338211,
-0.014339141547679901,
0.023067940026521683,
0.27206936478614807,
0.218668594956398,
0.18804579973220825,
-0.39493897557258606,
-0.10710939019918442,
0.2574712634086609,
-0.011718478985130787,
-0.03319695591926575,
0.35446304082870483,
-0.07784084975719452,
-0.08578839153051376,
0.39775675535202026,
-0.1915791928768158,
0.8763328194618225,
-0.04333554208278656,
0.03665127605199814,
-0.03726257383823395,
-0.13123072683811188,
-0.34039750695228577,
-0.3928132653236389,
0.08143630623817444,
-0.25191235542297363,
-0.1422295868396759,
-0.02529957704246044,
-0.05483013764023781,
0.11691094934940338,
0.45527029037475586,
-0.39380019903182983,
0.16337916254997253,
0.00910767912864685,
0.0861642062664032,
-0.027443354949355125,
0.2908298671245575,
0.16468322277069092,
-0.16537854075431824,
-0.2466544210910797,
0.24689829349517822,
-0.058087870478630066,
0.18015415966510773,
-0.014096945524215698,
-0.17828014492988586,
0.19621232151985168,
-0.2648788094520569,
0.00865229219198227,
0.32384416460990906,
-0.24982140958309174,
-0.07380195707082748,
0.12638762593269348,
-0.16551828384399414,
0.3034949004650116,
0.1708204299211502,
0.001420244574546814,
0.3016326427459717,
-0.26382213830947876,
0.3727482557296753,
0.2215551733970642,
-0.05025877431035042,
-0.33607861399650574,
0.06499996036291122,
0.3180496394634247,
-0.16850900650024414,
-0.5983735918998718,
0.211521714925766,
-0.14820528030395508,
-0.16086435317993164,
0.09528651833534241,
-0.08688727021217346,
0.03536001592874527,
-0.3447851538658142,
-0.1330694705247879,
0.011539369821548462,
0.07611049711704254,
-0.12117995321750641,
0.3077840805053711,
0.07198930531740189,
-0.3950427770614624,
0.13822594285011292,
0.28684714436531067,
-0.05450966954231262,
-0.05172053351998329,
0.2803505063056946,
-0.0846983790397644,
-0.0633527860045433,
0.5447418689727783,
-0.002139519900083542,
0.04866037517786026,
-0.37385332584381104,
-0.32616811990737915,
0.3514886498451233,
-0.3629639148712158,
-0.24208693206310272,
0.20570503175258636,
-0.31377285718917847,
-0.033719949424266815,
-0.030561741441488266,
0.10539893060922623,
-0.06400813907384872,
0.1718008816242218,
-0.3100280165672302,
-0.40901070833206177,
0.15552616119384766,
0.16755856573581696,
0.31817176938056946,
-0.16874247789382935,
0.1703803986310959,
0.10445469617843628,
0.3294726610183716,
-0.45506247878074646,
0.0103860879316926,
-0.11577529460191727,
0.13498958945274353,
-0.25049474835395813,
-0.2258005142211914,
-0.002671138383448124,
-0.012813879176974297,
0.3227235674858093,
0.18981188535690308,
-0.17460152506828308,
-0.31251877546310425,
0.03936804458498955,
0.10426149517297745,
0.1638888120651245,
0.1328953355550766,
0.028410617262125015,
0.039222218096256256,
-0.3589668273925781,
-0.088106170296669,
0.0060968417674303055,
0.028786316514015198,
-0.08133675158023834,
0.06658929586410522,
0.196809783577919,
-0.02965499460697174,
-0.19467602670192719,
-0.16534584760665894,
0.006585761904716492,
-0.10039570927619934,
0.06181475892663002,
-0.10453413426876068,
0.046671025454998016,
-0.14450660347938538,
-0.3065200448036194,
0.13610440492630005,
0.2441306710243225,
-0.03461718559265137,
0.049192193895578384,
-0.1664448231458664,
0.1399175375699997,
0.010106842964887619,
0.2250678986310959,
0.1358593851327896,
-0.23804321885108948,
0.22297514975070953,
0.15994757413864136,
0.36602982878685,
-0.3212306797504425,
-0.13326887786388397,
-0.15397456288337708,
-0.2128833830356598,
-0.04890007898211479,
-0.13474002480506897,
0.2506901025772095,
-0.10856668651103973,
0.09704400599002838,
-0.020117375999689102,
0.050659917294979095,
-0.3686089515686035,
0.043526384979486465,
0.072117879986763,
-0.3825395703315735,
0.057393621653318405,
0.19561688601970673,
-0.048609744757413864,
0.032929785549640656,
0.2907075881958008,
-0.4374582767486572,
0.17108967900276184,
0.060810938477516174,
0.11065491288900375,
-0.06142730265855789,
-0.3867505192756653,
-0.24060915410518646,
0.28796231746673584,
-0.18036150932312012,
0.022151462733745575,
0.13393785059452057,
0.24669933319091797,
-0.1131727322936058,
-0.2913937270641327,
-0.27897214889526367,
-0.1762264221906662,
-0.17677927017211914,
-0.009537909179925919,
-0.13677331805229187,
-0.134396493434906,
-0.2684507369995117,
-0.04095447435975075,
0.22612330317497253,
0.24076518416404724,
0.15640416741371155,
0.08841880410909653,
-0.10520613193511963,
-0.016562210395932198,
0.11243040859699249,
0.15534767508506775,
0.034095630049705505,
-0.06153911352157593,
0.33825448155403137,
-0.002406276762485504,
-0.15635553002357483,
0.6046135425567627,
0.003297640010714531,
0.28482261300086975,
0.0932718813419342,
-0.08484476804733276,
0.2597765028476715,
-0.0947858989238739,
-0.05710948258638382,
0.23259952664375305,
0.41319477558135986,
0.3986744284629822,
0.15523067116737366,
0.26066282391548157,
0.2809858024120331,
-0.23277486860752106,
0.04296266660094261,
-0.06256358325481415,
0.22126682102680206,
-0.13622556626796722,
0.1675007939338684,
-0.13775694370269775,
-0.17193332314491272,
-0.4440927505493164,
-0.031830452382564545,
-0.4139220416545868,
0.04800601303577423,
0.18786005675792694,
0.02408033236861229,
0.22523662447929382,
-0.3271319270133972,
0.14839449524879456,
-0.21310706436634064,
0.3802186846733093,
0.10129581391811371,
0.21408700942993164,
-0.09133634716272354,
-0.015452474355697632,
-0.6307135224342346,
0.14378546178340912,
0.07608413696289062,
0.0892288088798523,
-0.1523568034172058,
-0.07461423426866531,
0.27043765783309937,
-0.04094712436199188,
0.23560452461242676,
-0.19298473000526428,
-0.028240803629159927,
-0.03422728180885315,
-0.34585514664649963,
-0.02266227826476097,
0.10656917095184326,
0.35668355226516724,
-0.07359971851110458,
-0.35413113236427307,
0.06629550457000732,
0.06512291729450226,
0.1884777545928955,
0.0984213575720787,
-0.36252927780151367,
-0.046658821403980255,
0.13379248976707458,
0.16617175936698914,
0.03588687255978584,
0.40446481108665466,
-0.33725181221961975,
0.3010242283344269,
0.03865037113428116,
-0.12935012578964233,
-0.1791657954454422,
-0.08335445076227188,
0.2407495379447937,
0.510789155960083,
0.03523623198270798,
0.13991110026836395,
-0.22404740750789642,
0.12459635734558105,
-0.17558270692825317,
-0.14780355989933014,
-0.3384517729282379,
0.06356308609247208,
0.08247963339090347,
0.01572805643081665,
0.0879797711968422,
0.021353594958782196,
-0.19490692019462585,
-0.15297742187976837,
-0.3157534599304199,
-0.13855890929698944,
0.6015392541885376,
-0.17018470168113708,
-0.2647303342819214,
-0.13763107359409332,
0.30381137132644653,
0.011263459920883179,
0.025452058762311935,
-0.5302786231040955,
0.2750576436519623,
0.14784136414527893,
-0.05757122486829758,
-0.07504197955131531,
0.25851771235466003,
-0.11221177875995636,
0.1276804804801941,
0.006026178598403931,
0.28663143515586853,
0.18673554062843323,
0.04253596067428589,
-0.0468183271586895,
-0.19798745214939117
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.